@selvajs/selva 4.21.0-beta.27 → 4.21.0-beta.29

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.
Files changed (142) hide show
  1. package/build/adapter-node.js +1 -1
  2. package/build/client/_app/immutable/assets/0.K3A9pxsi.css +2 -0
  3. package/build/client/_app/immutable/assets/0.K3A9pxsi.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.K3A9pxsi.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{Nv1S5RTq.js → B1rj67tr.js} +1 -1
  6. package/build/client/_app/immutable/chunks/B1rj67tr.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/B1rj67tr.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/{DEthS42j.js → Bb1oceVC.js} +1 -1
  9. package/build/client/_app/immutable/chunks/Bb1oceVC.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/Bb1oceVC.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/{aBYenH6-.js → BiZjzEFQ.js} +1 -1
  12. package/build/client/_app/immutable/chunks/BiZjzEFQ.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/BiZjzEFQ.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/{B7agp_uZ.js → BkNEmllz.js} +1 -1
  15. package/build/client/_app/immutable/chunks/BkNEmllz.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/BkNEmllz.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/D84pURUQ.js +6087 -0
  18. package/build/client/_app/immutable/chunks/D84pURUQ.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/D84pURUQ.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/DkJ8E57s.js +1 -0
  21. package/build/client/_app/immutable/chunks/DkJ8E57s.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/DkJ8E57s.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/{Bs2bQTgl.js → NZEnWod8.js} +1 -1
  24. package/build/client/_app/immutable/chunks/NZEnWod8.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/NZEnWod8.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/X50T9_JI.js +1 -0
  27. package/build/client/_app/immutable/chunks/X50T9_JI.js.br +1 -0
  28. package/build/client/_app/immutable/chunks/X50T9_JI.js.gz +0 -0
  29. package/build/client/_app/immutable/entry/{app.DrB4p41y.js → app.BRh-p7zn.js} +2 -2
  30. package/build/client/_app/immutable/entry/app.BRh-p7zn.js.br +0 -0
  31. package/build/client/_app/immutable/entry/app.BRh-p7zn.js.gz +0 -0
  32. package/build/client/_app/immutable/nodes/{1.DmBjtFLw.js → 1.D8PGvwGl.js} +1 -1
  33. package/build/client/_app/immutable/nodes/1.D8PGvwGl.js.br +0 -0
  34. package/build/client/_app/immutable/nodes/1.D8PGvwGl.js.gz +0 -0
  35. package/build/client/_app/immutable/nodes/{15.CEROqZ8B.js → 15.DYrqOXo_.js} +1 -1
  36. package/build/client/_app/immutable/nodes/15.DYrqOXo_.js.br +0 -0
  37. package/build/client/_app/immutable/nodes/15.DYrqOXo_.js.gz +0 -0
  38. package/build/client/_app/immutable/nodes/{2.Dstc2B2E.js → 2.BIMWgs8C.js} +1 -1
  39. package/build/client/_app/immutable/nodes/2.BIMWgs8C.js.br +0 -0
  40. package/build/client/_app/immutable/nodes/2.BIMWgs8C.js.gz +0 -0
  41. package/build/client/_app/immutable/nodes/{20.B8bN-AYw.js → 20.CyD18Rlt.js} +1 -1
  42. package/build/client/_app/immutable/nodes/20.CyD18Rlt.js.br +0 -0
  43. package/build/client/_app/immutable/nodes/20.CyD18Rlt.js.gz +0 -0
  44. package/build/client/_app/immutable/nodes/21.GfKFOpXV.js +1 -0
  45. package/build/client/_app/immutable/nodes/21.GfKFOpXV.js.br +1 -0
  46. package/build/client/_app/immutable/nodes/21.GfKFOpXV.js.gz +0 -0
  47. package/build/client/_app/immutable/nodes/{25.DbMk0htM.js → 25.C9PK5T2d.js} +1 -1
  48. package/build/client/_app/immutable/nodes/25.C9PK5T2d.js.br +0 -0
  49. package/build/client/_app/immutable/nodes/25.C9PK5T2d.js.gz +0 -0
  50. package/build/client/_app/immutable/nodes/{3.GtVSkcEP.js → 3.B2ccxsh5.js} +1 -1
  51. package/build/client/_app/immutable/nodes/3.B2ccxsh5.js.br +0 -0
  52. package/build/client/_app/immutable/nodes/3.B2ccxsh5.js.gz +0 -0
  53. package/build/client/_app/immutable/nodes/{5.CA3-Q2Yj.js → 5.B293bMJb.js} +1 -1
  54. package/build/client/_app/immutable/nodes/5.B293bMJb.js.br +1 -0
  55. package/build/client/_app/immutable/nodes/5.B293bMJb.js.gz +0 -0
  56. package/build/client/_app/immutable/nodes/{6.DXhDcOvi.js → 6.CE7P3U7c.js} +1 -1
  57. package/build/client/_app/immutable/nodes/6.CE7P3U7c.js.br +0 -0
  58. package/build/client/_app/immutable/nodes/6.CE7P3U7c.js.gz +0 -0
  59. package/build/client/_app/immutable/nodes/{7.B-g8F3Ul.js → 7.DhehW04u.js} +1 -1
  60. package/build/client/_app/immutable/nodes/7.DhehW04u.js.br +0 -0
  61. package/build/client/_app/immutable/nodes/7.DhehW04u.js.gz +0 -0
  62. package/build/client/_app/version.json +1 -1
  63. package/build/client/_app/version.json.br +0 -0
  64. package/build/client/_app/version.json.gz +0 -0
  65. package/build/server/.vite/manifest.json +1 -1
  66. package/build/server/_app/immutable/assets/_layout.K3A9pxsi.css +2 -0
  67. package/build/server/chunks/instance.js +3 -3
  68. package/build/server/chunks/internal.js +1 -1
  69. package/build/server/chunks/localeContext.svelte.js +2 -0
  70. package/build/server/chunks/localeContext.svelte.js.map +1 -1
  71. package/build/server/chunks/package.js +1 -1
  72. package/build/server/chunks/package.js.map +1 -1
  73. package/build/server/chunks/update-outcome.js +7 -0
  74. package/build/server/chunks/update-outcome.js.map +1 -1
  75. package/build/server/entries/endpoints/api/admin/system/update/_server.ts.js +24 -0
  76. package/build/server/entries/endpoints/api/admin/system/update/_server.ts.js.map +1 -1
  77. package/build/server/entries/pages/library/_guid_/_page.svelte.js +125 -79
  78. package/build/server/entries/pages/library/_guid_/_page.svelte.js.map +1 -1
  79. package/build/server/manifest-full.js +1 -1
  80. package/build/server/manifest.js +1 -1
  81. package/build/server/nodes/0.js +2 -2
  82. package/build/server/nodes/1.js +1 -1
  83. package/build/server/nodes/15.js +1 -1
  84. package/build/server/nodes/2.js +1 -1
  85. package/build/server/nodes/20.js +1 -1
  86. package/build/server/nodes/21.js +1 -1
  87. package/build/server/nodes/25.js +1 -1
  88. package/build/server/nodes/3.js +1 -1
  89. package/build/server/nodes/5.js +1 -1
  90. package/build/server/nodes/6.js +1 -1
  91. package/build/server/nodes/7.js +1 -1
  92. package/build/server/server.js +1 -1
  93. package/package.json +5 -5
  94. package/build/client/_app/immutable/assets/0.Ct4dsf2W.css +0 -2
  95. package/build/client/_app/immutable/assets/0.Ct4dsf2W.css.br +0 -0
  96. package/build/client/_app/immutable/assets/0.Ct4dsf2W.css.gz +0 -0
  97. package/build/client/_app/immutable/chunks/B7agp_uZ.js.br +0 -0
  98. package/build/client/_app/immutable/chunks/B7agp_uZ.js.gz +0 -0
  99. package/build/client/_app/immutable/chunks/BEzPIk5e.js +0 -1
  100. package/build/client/_app/immutable/chunks/BEzPIk5e.js.br +0 -0
  101. package/build/client/_app/immutable/chunks/BEzPIk5e.js.gz +0 -0
  102. package/build/client/_app/immutable/chunks/BQZN0u9q.js +0 -1
  103. package/build/client/_app/immutable/chunks/BQZN0u9q.js.br +0 -1
  104. package/build/client/_app/immutable/chunks/BQZN0u9q.js.gz +0 -0
  105. package/build/client/_app/immutable/chunks/Bs2bQTgl.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/Bs2bQTgl.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/CLqXGk8r.js +0 -6085
  108. package/build/client/_app/immutable/chunks/CLqXGk8r.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/CLqXGk8r.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/DEthS42j.js.br +0 -0
  111. package/build/client/_app/immutable/chunks/DEthS42j.js.gz +0 -0
  112. package/build/client/_app/immutable/chunks/Nv1S5RTq.js.br +0 -0
  113. package/build/client/_app/immutable/chunks/Nv1S5RTq.js.gz +0 -0
  114. package/build/client/_app/immutable/chunks/aBYenH6-.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/aBYenH6-.js.gz +0 -0
  116. package/build/client/_app/immutable/entry/app.DrB4p41y.js.br +0 -0
  117. package/build/client/_app/immutable/entry/app.DrB4p41y.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/1.DmBjtFLw.js.br +0 -0
  119. package/build/client/_app/immutable/nodes/1.DmBjtFLw.js.gz +0 -0
  120. package/build/client/_app/immutable/nodes/15.CEROqZ8B.js.br +0 -0
  121. package/build/client/_app/immutable/nodes/15.CEROqZ8B.js.gz +0 -0
  122. package/build/client/_app/immutable/nodes/2.Dstc2B2E.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/2.Dstc2B2E.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/20.B8bN-AYw.js.br +0 -0
  125. package/build/client/_app/immutable/nodes/20.B8bN-AYw.js.gz +0 -0
  126. package/build/client/_app/immutable/nodes/21.SQ-lrVC6.js +0 -1
  127. package/build/client/_app/immutable/nodes/21.SQ-lrVC6.js.br +0 -0
  128. package/build/client/_app/immutable/nodes/21.SQ-lrVC6.js.gz +0 -0
  129. package/build/client/_app/immutable/nodes/25.DbMk0htM.js.br +0 -0
  130. package/build/client/_app/immutable/nodes/25.DbMk0htM.js.gz +0 -0
  131. package/build/client/_app/immutable/nodes/3.GtVSkcEP.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/3.GtVSkcEP.js.gz +0 -0
  133. package/build/client/_app/immutable/nodes/5.CA3-Q2Yj.js.br +0 -1
  134. package/build/client/_app/immutable/nodes/5.CA3-Q2Yj.js.gz +0 -0
  135. package/build/client/_app/immutable/nodes/6.DXhDcOvi.js.br +0 -0
  136. package/build/client/_app/immutable/nodes/6.DXhDcOvi.js.gz +0 -0
  137. package/build/client/_app/immutable/nodes/7.B-g8F3Ul.js.br +0 -0
  138. package/build/client/_app/immutable/nodes/7.B-g8F3Ul.js.gz +0 -0
  139. package/build/server/_app/immutable/assets/_layout.Ct4dsf2W.css +0 -2
  140. /package/build/client/_app/immutable/nodes/{0.BsaBi01M.js → 0.0aLY-peC.js} +0 -0
  141. /package/build/client/_app/immutable/nodes/{0.BsaBi01M.js.br → 0.0aLY-peC.js.br} +0 -0
  142. /package/build/client/_app/immutable/nodes/{0.BsaBi01M.js.gz → 0.0aLY-peC.js.gz} +0 -0
@@ -0,0 +1 @@
1
+ import{At as e,Et as t}from"./sphvlIzg.js";var n={en:{toolsMenu:`Viewer tools`,switchToOrthographic:`Orthographic camera`,switchToPerspective:`Perspective camera`,fitToView:`Fit to view`,views:`Views`,measure:`Measure`,grid:`Grid`,display:`Display`,edges:`Edges`,sceneManager:`Scene manager`,screenshot:`Screenshot`,fullscreen:`Fullscreen`,exitFullscreen:`Exit fullscreen`,viewTop:`Top`,viewFront:`Front`,viewRight:`Right`,viewBack:`Back`,viewLeft:`Left`,viewBottom:`Bottom`,viewIso:`Isometric`,lookTechnical:`Technical`,lookStudio:`Studio`,lookShowcase:`Showcase`,lookNight:`Night`,nightMode:`Night mode`,lookArctic:`Arctic`,lookXray:`X-Ray`,lookLineart:`Line Art`,lookWireframe:`Wireframe`,searchObjects:`Search objects...`,clearSearch:`Clear search`,expandLayer:`Expand layer`,collapseLayer:`Collapse layer`,expandAll:`Expand all`,collapseAll:`Collapse all`,showLayer:`Show layer`,hideLayer:`Hide layer`,showObject:`Show object`,hideObject:`Hide object`,noObjects:`No objects`,noResultsFor:`No results for "{query}"`,objectFallbackName:`Object`,noMetadata:`No metadata`,loadingSchema:`Loading…`,solveBlocked:`The definition stopped this solve. No results were produced.`,solveBlockedTitle:`Solve stopped`,solveMessagesTitle:`Solve messages`,solveMessagesDescription:`This solve reported the following. Continue to see the result.`,solveMessagesConfirm:`Continue`,solveMessagesDiscard:`Discard`,solveMessagesAbort:`Abort`,solveMessagesEscHint:`Esc aborts the solve`,solveMessagesDismiss:`Dismiss`,solveSolving:`Solving…`,solveDone:`Done`,solveStopped:`Stopped`,solveTimedOut:`The solve took longer than {seconds} s and was stopped.`,helpFor:`Help for {label}`,parametersTab:`Parameters`,moreTab:`More`,scrollTabsBack:`Previous tabs`,scrollTabsForward:`More tabs`,expandSidePanel:`Expand {side} panel`,panelSideLeft:`left`,panelSideRight:`right`,tabNoGroups:`This tab has no groups configured.`,solving:`Solving`,solvingEllipsis:`Solving...`,solvingSubtitle:`This can take a moment…`,pressToCalculate:`Press to calculate`,calculate:`Calculate`,upToDate:`Up to date`,moreActions:`More actions`,calculatesFirst:`Calculates first`,errorCountOne:`{count} error`,errorCountOther:`{count} errors`,warningCountOne:`{count} warning`,warningCountOther:`{count} warnings`,noteCountOne:`{count} note`,noteCountOther:`{count} notes`,lastSolveMessagesOne:`{count} message from the last solve`,lastSolveMessagesOther:`{count} messages from the last solve`,messagesTitle:`Messages`,copyright:`by {name} © {year}`,close:`Close`,toggleTheme:`Toggle theme`,errorTitle:`Error`,goHome:`Go Home`,selectOption:`Select an option...`,noOptionsYet:`No options available yet.`,minValue:`Minimum value is {min}`,maxValue:`Maximum value is {max}`,fineDragHint:`Hold Shift to drag finely`,maxLength:`Maximum {max} characters allowed`,invalidFormat:`Invalid format`,colorPick:`Choose color, currently {color}`,colorArea:`Saturation and brightness`,colorAreaValue:`Saturation {s}%, brightness {v}%`,colorHue:`Hue`,colorHex:`Hex color`,colorHexInvalid:`Enter a hex color such as #2f6fd6`,colorPresets:`Presets`,colorEyedropper:`Pick a color from the screen`,invalidPattern:`Invalid validation pattern configured`,geometryPickAnyOne:`Pick an object`,geometryPickAnyOther:`Pick objects`,geometryPicking:`Pick in the viewport, Esc to cancel`,geometryPickInPanel:`Pick in the Rhino panel`,geometryPickAgain:`Pick again`,geometryClear:`Clear`,geometryPickPointOne:`Pick a point`,geometryPickPointOther:`Pick points`,geometryPickPointCloudOne:`Pick a point cloud`,geometryPickPointCloudOther:`Pick point clouds`,geometryPickCurveOne:`Pick a curve`,geometryPickCurveOther:`Pick curves`,geometryPickLineOne:`Pick a line`,geometryPickLineOther:`Pick lines`,geometryPickPlaneOne:`Pick a plane`,geometryPickPlaneOther:`Pick planes`,geometryPickSurfaceOne:`Pick a surface`,geometryPickSurfaceOther:`Pick surfaces`,geometryPickPolysurfaceOne:`Pick a polysurface`,geometryPickPolysurfaceOther:`Pick polysurfaces`,geometryPickExtrusionOne:`Pick an extrusion`,geometryPickExtrusionOther:`Pick extrusions`,geometryPickMeshOne:`Pick a mesh`,geometryPickMeshOther:`Pick meshes`,geometryPickSubdOne:`Pick a SubD`,geometryPickSubdOther:`Pick SubDs`,geometryPickBlockOne:`Pick a block`,geometryPickBlockOther:`Pick blocks`,curveDrawPoint:`Point`,curveDrawLine:`Line`,curveDrawPolyline:`Polyline`,curveDrawCurve:`Curve`,curveImport:`Import`,curveEdit:`Edit points`,curveReset:`Reset`,curveUndo:`Undo`,curveDone:`Done`,curveHintDraw:`Click in the viewer. Enter finishes, Esc steps back.`,curveHintPoint:`Click in the viewer to place points. Done or Esc ends it.`,curveHintLine:`Click two points in the viewer. Type a length, or length<angle, and press Enter. Shift locks the angle.`,curveHintPolyline:`Click points in the viewer. Click the first point to close, the last one again or Enter to finish. Type a length for an exact segment.`,curveHintCurve:`Click control points in the viewer. Click the last one again or press Enter to finish.`,curveHintMove:`Click a point, then where it goes. Delete removes it, Esc puts it back.`,curveGrid:`Grid`,curveGridOff:`Off`,curveDimensions:`Dimensions`,curveShowInViewer:`Show in viewer`,curveNeedsSolve:`Available after the first solve.`,curveEmpty:`Nothing drawn yet`,curveCountOne:`{count} curve`,curveCountOther:`{count} curves`,curveCountLineOne:`{count} line`,curveCountLineOther:`{count} lines`,curveCountPointOne:`{count} point`,curveCountPointOther:`{count} points`,curveImportEmpty:`The file has nothing this input can take.`,curveImportSkippedOne:`{count} object was left out: this input does not take it.`,curveImportSkippedOther:`{count} objects were left out: this input does not take them.`,curveImportOverLimitOne:`This input takes one object: the first of {count} was imported.`,curveImportOverLimitOther:`This input takes {max} objects: the first {max} of {count} were imported.`,curveImportTooMany:`The file has more than {max} objects. Import a smaller selection.`,curveImportUnsupported:`Choose a DXF or 3DM file.`,curveImportFailed:`The file could not be read.`,curveEncodeFailed:`The curve could not be sent: the Rhino file library failed to load.`,fileModeUpload:`Upload`,fileModeUrl:`URL`,fileUrlLabel:`File URL`,fetchFile:`Fetch`,fetchingFile:`Fetching...`,fileUrlPublic:`URL must be publicly accessible (no login required).`,chooseFile:`Choose File or Drag & Drop`,acceptedFormats:`Accepted formats: {formats}`,uploadedFile:`Uploaded file ({ext})`,uploadedFileSize:`Uploaded file ({ext}, {size}MB)`,fileLoaded:`Loaded {ext} ({size} KB)`,urlInvalid:`Invalid URL — make sure it starts with https://`,urlProtocolUnsupported:`Only http:// and https:// URLs are supported.`,urlServerError:`Server returned {status}. Check the URL is correct and publicly accessible.`,fileFormatNotAccepted:`File format "{ext}" is not accepted. Allowed: {formats}`,fileTooLarge:`File too large: {size}MB (max {max}MB).`,fileTooLargeUseUpload:`Download it and use Upload instead.`,fileReadFailed:`Failed to read the downloaded file.`,urlUnreachable:`Could not reach "{host}" — the file may not exist, or the server does not allow browser access.`,urlUnreachableHint:`Check that the URL is correct and the file is publicly accessible. If the server requires login, download the file and use the Upload option instead.`,urlHintSharePoint:`SharePoint/OneDrive blocks browser access. Open the file in SharePoint, use "Download" to save it locally, then upload it here.`,urlHintGoogleDrive:`Google Drive blocks browser access. Use "Download" in Google Drive to save the file locally, then upload it here.`,urlHintDropbox:`Dropbox links may block browser access. Try changing "?dl=0" to "?dl=1" in the URL, or download and upload instead.`,unknownError:`Unknown error`,waitingForData:`Waiting for data...`,waitingForFiles:`Waiting for file data...`,fileCount:`{count} files`,duplicateFilesTitle:`Duplicate file names detected`,duplicatePathsOne:`The following path appears more than once:`,duplicatePathsOther:`The following paths appear more than once:`,duplicateFilesHint:`Rename outputs in your Grasshopper definition so each file has a unique name.`,downloadFile:`Download File`,downloadFiles:`Download {count} Files`,downloading:`Downloading...`,downloadFailed:`Download failed`,filesMadeOnDownload:`Made when you download`,download:`Download`,makingFiles:`Making files`,filesMadeIn:`Made in {seconds} s`,noFilesForInputs:`Nothing to download for these inputs.`,tryAgain:`Try again`,cancel:`Cancel`,copy:`Copy`,copied:`Copied!`,chartReceiving:`Receiving chart data...`,chartRenderFailed:`Failed to render chart`,downloadChartImage:`Download plot as image`,fullscreenUnavailable:`Fullscreen unavailable: {error}`,exitFullscreenFailed:`Exit fullscreen failed: {error}`,imageViewer:`image viewer`,imageLoading:`Loading image…`,imageUnsupported:`Unsupported image format: {ext}. Supported: {formats}`,imageUnknownFormat:`(unknown)`,imageDecodeFailed:`Couldn't decode {file}`,previousImage:`Previous image`,nextImage:`Next image`,zoomHint:`Hold Ctrl or ⌘ and scroll to zoom`,zoomIn:`Zoom in`,zoomOut:`Zoom out`,zoomFit:`Fit`,zoomActual:`Actual pixels`,downloadImage:`Download image`},de:{toolsMenu:`Viewer-Werkzeuge`,switchToOrthographic:`Orthografische Kamera`,switchToPerspective:`Perspektivische Kamera`,fitToView:`Ansicht anpassen`,views:`Ansichten`,measure:`Messen`,grid:`Raster`,display:`Darstellung`,edges:`Kanten`,sceneManager:`Szenen-Manager`,screenshot:`Screenshot`,fullscreen:`Vollbild`,exitFullscreen:`Vollbild beenden`,viewTop:`Oben`,viewFront:`Vorne`,viewRight:`Rechts`,viewBack:`Hinten`,viewLeft:`Links`,viewBottom:`Unten`,viewIso:`Isometrisch`,lookTechnical:`Technisch`,lookStudio:`Studio`,lookShowcase:`Präsentation`,lookNight:`Nacht`,nightMode:`Nachtmodus`,lookArctic:`Arktis`,lookXray:`Röntgen`,lookLineart:`Strichzeichnung`,lookWireframe:`Drahtgitter`,searchObjects:`Objekte suchen...`,clearSearch:`Suche löschen`,expandLayer:`Ebene aufklappen`,collapseLayer:`Ebene zuklappen`,expandAll:`Alle aufklappen`,collapseAll:`Alle zuklappen`,showLayer:`Ebene einblenden`,hideLayer:`Ebene ausblenden`,showObject:`Objekt einblenden`,hideObject:`Objekt ausblenden`,noObjects:`Keine Objekte`,noResultsFor:`Keine Ergebnisse für „{query}“`,objectFallbackName:`Objekt`,noMetadata:`Keine Metadaten`,loadingSchema:`Wird geladen…`,solveBlocked:`Die Definition hat diese Berechnung gestoppt. Es wurden keine Ergebnisse erzeugt.`,solveBlockedTitle:`Berechnung gestoppt`,solveMessagesTitle:`Meldungen zur Berechnung`,solveMessagesDescription:`Diese Berechnung hat Folgendes gemeldet. Weiter, um das Ergebnis zu sehen.`,solveMessagesConfirm:`Weiter`,solveMessagesDiscard:`Verwerfen`,solveMessagesAbort:`Abbrechen`,solveMessagesEscHint:`Esc bricht die Berechnung ab`,solveMessagesDismiss:`Schliessen`,solveSolving:`Berechnung läuft…`,solveDone:`Fertig`,solveStopped:`Abgebrochen`,solveTimedOut:`Die Berechnung dauerte länger als {seconds} s und wurde abgebrochen.`,helpFor:`Hilfe zu {label}`,parametersTab:`Parameter`,moreTab:`Mehr`,scrollTabsBack:`Vorherige Tabs`,scrollTabsForward:`Weitere Tabs`,expandSidePanel:`{side} Bereich aufklappen`,panelSideLeft:`Linken`,panelSideRight:`Rechten`,tabNoGroups:`Für diesen Tab sind keine Gruppen konfiguriert.`,solving:`Berechnung läuft`,solvingEllipsis:`Berechnung läuft...`,solvingSubtitle:`Das kann einen Moment dauern…`,pressToCalculate:`Berechnen`,calculate:`Berechnen`,upToDate:`Berechnet`,moreActions:`Weitere Aktionen`,calculatesFirst:`Berechnet zuerst`,errorCountOne:`{count} Fehler`,errorCountOther:`{count} Fehler`,warningCountOne:`{count} Warnung`,warningCountOther:`{count} Warnungen`,noteCountOne:`{count} Hinweis`,noteCountOther:`{count} Hinweise`,lastSolveMessagesOne:`{count} Meldung der letzten Berechnung`,lastSolveMessagesOther:`{count} Meldungen der letzten Berechnung`,messagesTitle:`Meldungen`,copyright:`von {name} © {year}`,close:`Schliessen`,toggleTheme:`Farbschema wechseln`,errorTitle:`Fehler`,goHome:`Zur Startseite`,selectOption:`Option wählen…`,noOptionsYet:`Noch keine Optionen verfügbar.`,minValue:`Der kleinste erlaubte Wert ist {min}`,maxValue:`Der grösste erlaubte Wert ist {max}`,fineDragHint:`Umschalttaste halten für feine Schritte`,maxLength:`Höchstens {max} Zeichen erlaubt`,invalidFormat:`Ungültiges Format`,colorPick:`Farbe wählen, aktuell {color}`,colorArea:`Sättigung und Helligkeit`,colorAreaValue:`Sättigung {s} %, Helligkeit {v} %`,colorHue:`Farbton`,colorHex:`Hex-Farbe`,colorHexInvalid:`Hex-Farbe eingeben, z. B. #2f6fd6`,colorPresets:`Vorgaben`,colorEyedropper:`Farbe vom Bildschirm aufnehmen`,invalidPattern:`Ungültiges Prüfmuster hinterlegt`,geometryPickAnyOne:`Objekt wählen`,geometryPickAnyOther:`Objekte wählen`,geometryPicking:`Im Ansichtsfenster wählen, Esc bricht ab`,geometryPickInPanel:`Im Rhino-Panel wählen`,geometryPickAgain:`Neu wählen`,geometryClear:`Leeren`,geometryPickPointOne:`Punkt wählen`,geometryPickPointOther:`Punkte wählen`,geometryPickPointCloudOne:`Punktwolke wählen`,geometryPickPointCloudOther:`Punktwolken wählen`,geometryPickCurveOne:`Kurve wählen`,geometryPickCurveOther:`Kurven wählen`,geometryPickLineOne:`Linie wählen`,geometryPickLineOther:`Linien wählen`,geometryPickPlaneOne:`Ebene wählen`,geometryPickPlaneOther:`Ebenen wählen`,geometryPickSurfaceOne:`Fläche wählen`,geometryPickSurfaceOther:`Flächen wählen`,geometryPickPolysurfaceOne:`Flächenverband wählen`,geometryPickPolysurfaceOther:`Flächenverbände wählen`,geometryPickExtrusionOne:`Extrusion wählen`,geometryPickExtrusionOther:`Extrusionen wählen`,geometryPickMeshOne:`Netz wählen`,geometryPickMeshOther:`Netze wählen`,geometryPickSubdOne:`SubD wählen`,geometryPickSubdOther:`SubDs wählen`,geometryPickBlockOne:`Block wählen`,geometryPickBlockOther:`Blöcke wählen`,curveDrawPoint:`Punkt`,curveDrawLine:`Linie`,curveDrawPolyline:`Polylinie`,curveDrawCurve:`Kurve`,curveImport:`Importieren`,curveEdit:`Punkte bearbeiten`,curveReset:`Zurücksetzen`,curveUndo:`Rückgängig`,curveDone:`Fertig`,curveHintDraw:`Im Viewer klicken. Enter beendet, Esc geht einen Schritt zurück.`,curveHintPoint:`Im Viewer klicken, um Punkte zu setzen. Fertig oder Esc beendet.`,curveHintLine:`Zwei Punkte im Viewer klicken. Länge oder Länge<Winkel tippen und Enter drücken. Shift rastet den Winkel.`,curveHintPolyline:`Punkte im Viewer klicken. Ersten Punkt klicken zum Schliessen, letzten erneut oder Enter zum Beenden. Länge tippen für ein exaktes Segment.`,curveHintCurve:`Kontrollpunkte im Viewer klicken. Letzten erneut klicken oder Enter zum Beenden.`,curveHintMove:`Punkt klicken, dann das Ziel. Entf löscht ihn, Esc setzt ihn zurück.`,curveGrid:`Raster`,curveGridOff:`Aus`,curveDimensions:`Bemassung`,curveShowInViewer:`Im Viewer anzeigen`,curveNeedsSolve:`Nach der ersten Berechnung verfügbar.`,curveEmpty:`Noch nichts gezeichnet`,curveCountOne:`{count} Kurve`,curveCountOther:`{count} Kurven`,curveCountLineOne:`{count} Linie`,curveCountLineOther:`{count} Linien`,curveCountPointOne:`{count} Punkt`,curveCountPointOther:`{count} Punkte`,curveImportEmpty:`Die Datei enthält nichts, was diese Eingabe annimmt.`,curveImportSkippedOne:`{count} Objekt ausgelassen: Diese Eingabe nimmt es nicht an.`,curveImportSkippedOther:`{count} Objekte ausgelassen: Diese Eingabe nimmt sie nicht an.`,curveImportOverLimitOne:`Diese Eingabe nimmt ein Objekt an: das erste von {count} wurde importiert.`,curveImportOverLimitOther:`Diese Eingabe nimmt {max} Objekte an: die ersten {max} von {count} wurden importiert.`,curveImportTooMany:`Die Datei enthält mehr als {max} Objekte. Eine kleinere Auswahl importieren.`,curveImportUnsupported:`Eine DXF- oder 3DM-Datei wählen.`,curveImportFailed:`Die Datei konnte nicht gelesen werden.`,curveEncodeFailed:`Die Kurve konnte nicht gesendet werden: Die Rhino-Dateibibliothek liess sich nicht laden.`,fileModeUpload:`Hochladen`,fileModeUrl:`URL`,fileUrlLabel:`Datei-URL`,fetchFile:`Abrufen`,fetchingFile:`Wird abgerufen…`,fileUrlPublic:`Die URL muss öffentlich erreichbar sein (ohne Anmeldung).`,chooseFile:`Datei wählen oder hierher ziehen`,acceptedFormats:`Erlaubte Formate: {formats}`,uploadedFile:`Hochgeladene Datei ({ext})`,uploadedFileSize:`Hochgeladene Datei ({ext}, {size} MB)`,fileLoaded:`{ext} geladen ({size} KB)`,urlInvalid:`Ungültige URL – sie muss mit https:// beginnen`,urlProtocolUnsupported:`Nur http://- und https://-URLs werden unterstützt.`,urlServerError:`Der Server antwortete mit {status}. Ist die URL korrekt und öffentlich erreichbar?`,fileFormatNotAccepted:`Dateiformat „{ext}“ ist nicht erlaubt. Erlaubt: {formats}`,fileTooLarge:`Datei zu gross: {size} MB (höchstens {max} MB).`,fileTooLargeUseUpload:`Datei herunterladen und stattdessen über „Hochladen“ einfügen.`,fileReadFailed:`Die heruntergeladene Datei konnte nicht gelesen werden.`,urlUnreachable:`„{host}“ ist nicht erreichbar – die Datei existiert vielleicht nicht, oder der Server erlaubt keinen Zugriff aus dem Browser.`,urlUnreachableHint:`Prüfen, ob die URL stimmt und die Datei öffentlich erreichbar ist. Verlangt der Server eine Anmeldung: Datei herunterladen und über „Hochladen“ einfügen.`,urlHintSharePoint:`SharePoint/OneDrive sperrt den Zugriff aus dem Browser. Datei in SharePoint öffnen, mit „Herunterladen“ lokal speichern und hier hochladen.`,urlHintGoogleDrive:`Google Drive sperrt den Zugriff aus dem Browser. Datei in Google Drive mit „Herunterladen“ lokal speichern und hier hochladen.`,urlHintDropbox:`Dropbox-Links sperren den Zugriff aus dem Browser oft. In der URL „?dl=0“ durch „?dl=1“ ersetzen oder die Datei herunterladen und hochladen.`,unknownError:`Unbekannter Fehler`,waitingForData:`Noch keine Daten`,waitingForFiles:`Noch keine Dateien`,fileCount:`{count} Dateien`,duplicateFilesTitle:`Doppelte Dateinamen`,duplicatePathsOne:`Dieser Pfad kommt mehrfach vor:`,duplicatePathsOther:`Diese Pfade kommen mehrfach vor:`,duplicateFilesHint:`Ausgaben in der Grasshopper-Definition umbenennen, damit jede Datei einen eindeutigen Namen hat.`,downloadFile:`Datei herunterladen`,downloadFiles:`{count} Dateien herunterladen`,downloading:`Wird heruntergeladen…`,downloadFailed:`Download fehlgeschlagen`,filesMadeOnDownload:`Wird beim Herunterladen erstellt`,download:`Herunterladen`,makingFiles:`Dateien werden erstellt`,filesMadeIn:`Erstellt in {seconds} s`,noFilesForInputs:`Für diese Eingaben gibt es nichts herunterzuladen.`,tryAgain:`Erneut versuchen`,cancel:`Abbrechen`,copy:`Kopieren`,copied:`Kopiert!`,chartReceiving:`Diagrammdaten werden empfangen…`,chartRenderFailed:`Diagramm konnte nicht dargestellt werden`,downloadChartImage:`Diagramm als Bild herunterladen`,fullscreenUnavailable:`Vollbild nicht verfügbar: {error}`,exitFullscreenFailed:`Vollbild konnte nicht beendet werden: {error}`,imageViewer:`Bildbetrachter`,imageLoading:`Bild wird geladen…`,imageUnsupported:`Bildformat nicht unterstützt: {ext}. Unterstützt: {formats}`,imageUnknownFormat:`(unbekannt)`,imageDecodeFailed:`{file} konnte nicht gelesen werden`,previousImage:`Vorheriges Bild`,nextImage:`Nächstes Bild`,zoomHint:`Zum Zoomen Strg oder ⌘ halten und scrollen`,zoomIn:`Vergrössern`,zoomOut:`Verkleinern`,zoomFit:`Einpassen`,zoomActual:`Originalgrösse`,downloadImage:`Bild herunterladen`}};function r(e){return n[e??`en`]??n.en}function i(e,t){if(!t)return e;let n={...e};for(let[e,r]of Object.entries(t))r!==void 0&&(n[e]=r);return n}function a(e,t){return e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e)}function o(e,t,n){return a(e===1?t:n,{count:e})}var s=Symbol(`viewer-locale-context`);function c(t,n){let a=l(),o={get locale(){return t()??a.locale},get messages(){let e=t();return i(e===void 0||e===a.locale?a.messages:r(e),n?.())}};return e(s,o),o}function l(){return t(s)??{get locale(){return`en`},get messages(){return r(`en`)}}}export{a as i,c as n,o as r,l as t};
@@ -1 +1 @@
1
- import{A as e,Ft as t,H as n,K as r,L as i,Lt as a,Ot as o,P as s,Pt as c,Q as l,St as u,T as d,U as f,V as p,a as m,dt as h,f as g,ft as _,kt as v,mt as y,n as b,ot as x,pt as S,t as C}from"./sphvlIzg.js";import{n as w}from"./Ca-1xMUo.js";import{t as T}from"./BbFMtSJ8.js";import{t as E}from"./BEzPIk5e.js";import{o as D}from"./CivEAG-M.js";import{n as O,t as k}from"./B8LXiPqe.js";import{t as A}from"./Bx2qumU5.js";import{t as j}from"./DIYaLgLs.js";var M=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),N=f(`<div><!></div>`);function P(e,n){v(n,!0);let r=C(n,`ref`,15,null),i=b(n,M);var c=N();g(c,e=>({"data-slot":`card-footer`,class:e,...i}),[()=>w(`px-6 [.border-t]:pt-6 flex items-center`,n.class)]);var l=h(c);s(l,()=>n.children??a),t(c),m(c,e=>r(e),()=>r()),p(e,c),o()}var F=f(`<div class="gap-4 flex flex-col items-center text-center"><div class="p-3 rounded-full bg-destructive/10"><!></div> <h1 class="text-3xl font-semibold"> </h1></div>`),I=f(`<p class="p-4 font-mono text-sm rounded-lg bg-muted break-all text-muted-foreground"> </p>`),L=f(`<div class="gap-4 flex flex-col"><!> <!></div>`),R=f(`<!> <!> <!>`,1),z=f(`<div class="p-4 flex min-h-dvh items-center justify-center bg-background"><!></div>`);function B(a,s){v(s,!0);let f=C(s,`status`,3,500),m=C(s,`homeLink`,3,`/`),g=E(),b=u(()=>g.messages);var w=z(),M=h(w);d(M,()=>O,(a,o)=>{o(a,{class:`max-w-md w-full`,children:(a,o)=>{var u=R(),g=_(u);d(g,()=>A,(e,n)=>{n(e,{children:(e,n)=>{var r=F(),a=h(r),o=h(a);D(o,{class:`size-8 text-destructive`}),t(a);var s=y(a,2),c=S(s,!0);t(r),x(()=>i(c,f())),p(e,r)},$$slots:{default:!0}})});var v=y(g,2);d(v,()=>k,(a,o)=>{o(a,{children:(a,o)=>{var c=L(),u=h(c);j(u,{tone:`danger`,get title(){return l(b).errorTitle},children:(t,a)=>{var o=n(),c=_(o),l=e=>{var t=r();x(()=>i(t,s.message)),p(e,t)};e(c,e=>{s.message&&e(l)}),p(t,o)},$$slots:{default:!0}});var d=y(u,2),f=e=>{var t=I(),n=S(t,!0);x(()=>i(n,s.details)),p(e,t)};e(d,e=>{s.details&&e(f)}),t(c),p(a,c)},$$slots:{default:!0}})});var C=y(v,2);d(C,()=>P,(e,t)=>{t(e,{children:(e,t)=>{T(e,{variant:`outline`,get href(){return m()},rel:`external`,class:`w-full`,children:(e,t)=>{c();var n=r();x(()=>i(n,l(b).goHome)),p(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})}),p(a,u)},$$slots:{default:!0}})}),t(w),p(a,w),o()}export{B as t};
1
+ import{A as e,Ft as t,H as n,K as r,L as i,Lt as a,Ot as o,P as s,Pt as c,Q as l,St as u,T as d,U as f,V as p,a as m,dt as h,f as g,ft as _,kt as v,mt as y,n as b,ot as x,pt as S,t as C}from"./sphvlIzg.js";import{n as w}from"./Ca-1xMUo.js";import{t as T}from"./BbFMtSJ8.js";import{t as E}from"./DkJ8E57s.js";import{o as D}from"./CivEAG-M.js";import{n as O,t as k}from"./B8LXiPqe.js";import{t as A}from"./Bx2qumU5.js";import{t as j}from"./DIYaLgLs.js";var M=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),N=f(`<div><!></div>`);function P(e,n){v(n,!0);let r=C(n,`ref`,15,null),i=b(n,M);var c=N();g(c,e=>({"data-slot":`card-footer`,class:e,...i}),[()=>w(`px-6 [.border-t]:pt-6 flex items-center`,n.class)]);var l=h(c);s(l,()=>n.children??a),t(c),m(c,e=>r(e),()=>r()),p(e,c),o()}var F=f(`<div class="gap-4 flex flex-col items-center text-center"><div class="p-3 rounded-full bg-destructive/10"><!></div> <h1 class="text-3xl font-semibold"> </h1></div>`),I=f(`<p class="p-4 font-mono text-sm rounded-lg bg-muted break-all text-muted-foreground"> </p>`),L=f(`<div class="gap-4 flex flex-col"><!> <!></div>`),R=f(`<!> <!> <!>`,1),z=f(`<div class="p-4 flex min-h-dvh items-center justify-center bg-background"><!></div>`);function B(a,s){v(s,!0);let f=C(s,`status`,3,500),m=C(s,`homeLink`,3,`/`),g=E(),b=u(()=>g.messages);var w=z(),M=h(w);d(M,()=>O,(a,o)=>{o(a,{class:`max-w-md w-full`,children:(a,o)=>{var u=R(),g=_(u);d(g,()=>A,(e,n)=>{n(e,{children:(e,n)=>{var r=F(),a=h(r),o=h(a);D(o,{class:`size-8 text-destructive`}),t(a);var s=y(a,2),c=S(s,!0);t(r),x(()=>i(c,f())),p(e,r)},$$slots:{default:!0}})});var v=y(g,2);d(v,()=>k,(a,o)=>{o(a,{children:(a,o)=>{var c=L(),u=h(c);j(u,{tone:`danger`,get title(){return l(b).errorTitle},children:(t,a)=>{var o=n(),c=_(o),l=e=>{var t=r();x(()=>i(t,s.message)),p(e,t)};e(c,e=>{s.message&&e(l)}),p(t,o)},$$slots:{default:!0}});var d=y(u,2),f=e=>{var t=I(),n=S(t,!0);x(()=>i(n,s.details)),p(e,t)};e(d,e=>{s.details&&e(f)}),t(c),p(a,c)},$$slots:{default:!0}})});var C=y(v,2);d(C,()=>P,(e,t)=>{t(e,{children:(e,t)=>{T(e,{variant:`outline`,get href(){return m()},rel:`external`,class:`w-full`,children:(e,t)=>{c();var n=r();x(()=>i(n,l(b).goHome)),p(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})}),p(a,u)},$$slots:{default:!0}})}),t(w),p(a,w),o()}export{B as t};
@@ -0,0 +1 @@
1
+ export{o as strToU8,s as zip}from"./D84pURUQ.js";
@@ -0,0 +1 @@
1
+ �export{o as strToU8,s as zip}from"./D84pURUQ.js";
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BsaBi01M.js","../chunks/sphvlIzg.js","../chunks/C1xbQMZF.js","../chunks/BJGlbpZ0.js","../chunks/BFJ8iwO4.js","./payload.DSmR2FwN.js","../chunks/Cyt8LZpN.js","../chunks/BHnRUwtv.js","../chunks/BQmUk61d.js","../assets/0.Ct4dsf2W.css","../nodes/1.DmBjtFLw.js","../chunks/Bs2bQTgl.js","../chunks/Ca-1xMUo.js","../chunks/BbFMtSJ8.js","../chunks/BEzPIk5e.js","../chunks/CivEAG-M.js","../chunks/B8LXiPqe.js","../chunks/Bx2qumU5.js","../chunks/DIYaLgLs.js","../nodes/2.Dstc2B2E.js","../chunks/85w20NVU.js","../chunks/CoLPPvYz.js","../chunks/rIQJtl5L.js","../chunks/DEthS42j.js","../chunks/Nv1S5RTq.js","../chunks/CoRMsLUN.js","../chunks/DNFu5yLd.js","../chunks/OznVWGiS.js","../chunks/C9yuuH4J.js","../chunks/Jlr_WNWs.js","../chunks/CXFC38jr.js","../chunks/D_-42ATH.js","../chunks/BuCeXb-q.js","../chunks/Rbl3OsBf.js","../chunks/aBYenH6-.js","../chunks/DtmJiR65.js","../chunks/DIOXhUNn.js","../chunks/CSy_25b1.js","../chunks/CBf5ToEX.js","../chunks/BUENW6k7.js","../chunks/B3e8ZKjr.js","../chunks/34Sd6e9o.js","../chunks/1VJx1aVI.js","../chunks/BkTC9VdY.js","../chunks/B7agp_uZ.js","../chunks/BmbAoXqr.js","../nodes/3.GtVSkcEP.js","../nodes/4.DPB_nXDo.js","../nodes/5.CA3-Q2Yj.js","../nodes/6.DXhDcOvi.js","../chunks/C0bsOHz0.js","../chunks/DqBxcKN2.js","../chunks/D-1_v2Lf.js","../chunks/ChEklEBB.js","../chunks/DBMBAz5L.js","../nodes/7.B-g8F3Ul.js","../chunks/lMQbJOeE.js","../assets/7.T1zeJ20D.css","../nodes/8.CeF7Yj23.js","../chunks/BCgmDXNw.js","../chunks/CUaHcctM.js","../nodes/9.Bk5Lntvs.js","../chunks/BPWrsj_h.js","../chunks/1AvDtYi1.js","../chunks/ByPYmSUR.js","../chunks/fJvE1weH.js","../chunks/Uzaejkud.js","../chunks/CdTxvcQ4.js","../chunks/CNij7yXO.js","../chunks/ag4k__EW.js","../nodes/10.B3aBLsAq.js","../chunks/B9-uqzXO.js","../chunks/B187F-XR.js","../chunks/Djv8qD_2.js","../chunks/CVl4suwo.js","../chunks/Dqc45la5.js","../chunks/DcS7V4T3.js","../chunks/BLG35vEW.js","../assets/select.CV-KWLNP.css","../chunks/ZGbF6Eux.js","../nodes/11.CnQVPSaL.js","../chunks/B7VqKSCZ.js","../chunks/DmlEI0uK.js","../chunks/CNkLk5_8.js","../chunks/CoB4qHba.js","../chunks/D6cAtf8B.js","../chunks/DqR8kuM6.js","../nodes/12.B7-VLcK9.js","../chunks/-MlIqmcL.js","../assets/DataTable.BjgXtTHK.css","../nodes/13.TEbI6lFx.js","../chunks/TZzCN567.js","../chunks/Cms9vBTq.js","../nodes/14.Dx84-S7G.js","../chunks/D6SQx3MR.js","../chunks/CK2nnbJa.js","../chunks/Cj9-pF71.js","../chunks/BVVRTJCQ.js","../nodes/15.CEROqZ8B.js","../chunks/gNgZDPHs.js","../chunks/nJUe9gXb.js","../chunks/DR4HRB4w.js","../nodes/16.C7nA7TCy.js","../chunks/Cv8bPnPc.js","../chunks/BvRGv1MX.js","../chunks/BFtd89gK.js","../nodes/17.0cv7e5IP.js","../chunks/hvudoNyJ.js","../nodes/18.PJQUQ85Q.js","../nodes/19.DRxrJE9N.js","../nodes/20.B8bN-AYw.js","../chunks/a5NclWb-.js","../chunks/DG4fF26P.js","../nodes/21.SQ-lrVC6.js","../chunks/CLqXGk8r.js","../chunks/CRzLMJPS.js","../chunks/BSN2qO1R.js","../chunks/Bct5vmEM.js","../chunks/DnJObvmm.js","../assets/21.VfhYpgTQ.css","../nodes/22.q4pJo1Ec.js","../nodes/24.DkL5kHzA.js","../nodes/25.DbMk0htM.js","../chunks/v0PYjZZ5.js","../nodes/26.7nAJpm5P.js","../nodes/27.BZljPb4_.js","../nodes/28.BUnWplt-.js","../nodes/29.DWokJWH0.js","../nodes/30.ForK2knd.js","../nodes/31.DEYw8Upz.js","../chunks/BrpXEGl0.js","../nodes/32.Bi8d2lf7.js","../nodes/33.CswdDR11.js","../nodes/34.DUW5te4K.js","../nodes/35.Dpj9Kp45.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"../chunks/CRzLMJPS.js";var t={},n=[()=>e(()=>import(`../nodes/0.BsaBi01M.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>e(()=>import(`../nodes/1.DmBjtFLw.js`),__vite__mapDeps([10,1,4,5,6,7,11,12,13,14,15,16,17,18]),import.meta.url),()=>e(()=>import(`../nodes/2.Dstc2B2E.js`),__vite__mapDeps([19,1,20,12,21,22,23,2,3,4,5,6,7,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]),import.meta.url),()=>e(()=>import(`../nodes/3.GtVSkcEP.js`),__vite__mapDeps([46,1,4,5,6,7,11,12,13,14,15,16,17,18]),import.meta.url),()=>e(()=>import(`../nodes/4.DPB_nXDo.js`),__vite__mapDeps([47,1]),import.meta.url),()=>e(()=>import(`../nodes/5.CA3-Q2Yj.js`),__vite__mapDeps([48,1,23,2,3,4,5,6,7,12,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40]),import.meta.url),()=>e(()=>import(`../nodes/6.DXhDcOvi.js`),__vite__mapDeps([49,1,4,5,6,7,12,50,51,22,52,53,23,2,3,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,54,42,43,44,45]),import.meta.url),()=>e(()=>import(`../nodes/7.B-g8F3Ul.js`),__vite__mapDeps([55,1,4,5,6,7,13,12,56,23,2,3,24,25,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,57]),import.meta.url),()=>e(()=>import(`../nodes/8.CeF7Yj23.js`),__vite__mapDeps([58,1,4,5,6,7,13,12,59,25,60,18,15]),import.meta.url),()=>e(()=>import(`../nodes/9.Bk5Lntvs.js`),__vite__mapDeps([61,1,40,5,6,4,7,12,13,20,42,62,30,63,16,64,17,65,8,66,67,25,27,3,68,32,69,56]),import.meta.url),()=>e(()=>import(`../nodes/10.B3aBLsAq.js`),__vite__mapDeps([70,1,13,12,71,72,41,73,35,74,3,25,26,27,75,33,76,77,78,59,63,79,60,16,17,65]),import.meta.url),()=>e(()=>import(`../nodes/11.CnQVPSaL.js`),__vite__mapDeps([80,1,3,40,5,6,4,12,13,71,75,81,82,83,42,84,62,63,85,60,16,8,66,67,25,27,68,32,86]),import.meta.url),()=>e(()=>import(`../nodes/12.B7-VLcK9.js`),__vite__mapDeps([87,1,20,12,63,85,16,88,89]),import.meta.url),()=>e(()=>import(`../nodes/13.TEbI6lFx.js`),__vite__mapDeps([90,1,40,5,6,4,13,12,21,82,91,25,26,27,3,71,92,60,77,68,59,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/14.Dx84-S7G.js`),__vite__mapDeps([93,1,40,5,6,4,12,13,94,82,28,29,62,35,91,25,26,27,3,71,92,60,77,68,59,95,31,63,85,96,16,8,88,89,66,67,32,97]),import.meta.url),()=>e(()=>import(`../nodes/15.CEROqZ8B.js`),__vite__mapDeps([98,1,25,40,5,6,4,7,12,13,26,27,3,72,15,99,22,100,83,73,67,68,32,76,77,91,71,92,60,95,31,63,101,35,16,64,17,65,18,39]),import.meta.url),()=>e(()=>import(`../nodes/16.C7nA7TCy.js`),__vite__mapDeps([102,1,40,5,6,4,12,13,71,72,82,92,3,25,26,27,60,73,62,30,35,91,77,68,63,85,16,8,18,15,66,67,32,103,104,97,105,38,37]),import.meta.url),()=>e(()=>import(`../nodes/17.0cv7e5IP.js`),__vite__mapDeps([106,1,4,5,6,7,107,12,18,15]),import.meta.url),()=>e(()=>import(`../nodes/18.PJQUQ85Q.js`),__vite__mapDeps([108,1]),import.meta.url),()=>e(()=>import(`../nodes/19.DRxrJE9N.js`),__vite__mapDeps([109,1,6,5,43]),import.meta.url),()=>e(()=>import(`../nodes/20.B8bN-AYw.js`),__vite__mapDeps([110,1,40,5,6,4,12,56,111,42,84,112,25,31,27,3,23,2,7,24,13,14,26,15,28,29,30,32,33,34,35,36,37,38,39,91,71,92,60,77,68,43,63,85,101,8]),import.meta.url),()=>e(()=>import(`../nodes/21.SQ-lrVC6.js`),__vite__mapDeps([113,114,115,1,2,3,25,40,5,6,4,7,12,24,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,71,104,75,72,45,116,117,100,92,60,42,74,76,77,78,59,95,112,96,8,18,118,86,119]),import.meta.url),()=>e(()=>import(`../nodes/22.q4pJo1Ec.js`),__vite__mapDeps([120,1,4,5,6,7,13,12,59,25,60,18,15,118]),import.meta.url),()=>e(()=>import(`../chunks/BvRk9kiK.js`),[],import.meta.url),()=>e(()=>import(`../nodes/24.DkL5kHzA.js`),__vite__mapDeps([121,1,4,5,6,7,13,12,91,25,26,27,3,71,92,60,77,68,79,18,15]),import.meta.url),()=>e(()=>import(`../nodes/25.DbMk0htM.js`),__vite__mapDeps([122,1,3,40,5,6,4,7,12,13,94,26,25,27,71,15,81,99,116,117,111,56,42,84,112,31,53,100,82,92,60,28,62,123,30,35,67,68,32,91,77,34,14,59,95,43,63,85,79,101,96,8,18,66,37,97,105]),import.meta.url),()=>e(()=>import(`../nodes/26.7nAJpm5P.js`),__vite__mapDeps([124,1,4,5,6,7,13,12,59,25,60,18,15]),import.meta.url),()=>e(()=>import(`../nodes/27.BZljPb4_.js`),__vite__mapDeps([125,1,20,12,51,30,63,16,17,65,69,56]),import.meta.url),()=>e(()=>import(`../nodes/28.BUnWplt-.js`),__vite__mapDeps([126,1,50,12,73,63,16,17,65]),import.meta.url),()=>e(()=>import(`../nodes/29.DWokJWH0.js`),__vite__mapDeps([127,1,40,5,6,4,7,13,12,82,42,84,62,91,25,26,27,3,71,92,60,77,68,63,85,79,16,64,17,65,8,66,67,32,86]),import.meta.url),()=>e(()=>import(`../nodes/30.ForK2knd.js`),__vite__mapDeps([128,1,40,5,6,4,12,13,99,107,92,3,25,26,27,60,62,123,35,91,71,77,68,63,85,16,64,17,65,8,66,67,32,103,104,72,97,105,36,37]),import.meta.url),()=>e(()=>import(`../nodes/31.DEYw8Upz.js`),__vite__mapDeps([129,1,40,5,6,4,13,12,130,51,82,62,67,25,27,3,68,32,91,26,71,92,60,77,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/32.Bi8d2lf7.js`),__vite__mapDeps([131,1,40,5,6,4,13,12,117,54,67,25,27,3,68,32,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/33.CswdDR11.js`),__vite__mapDeps([132,1,12,62,63,16,64,17,65]),import.meta.url),()=>e(()=>import(`../nodes/34.DUW5te4K.js`),__vite__mapDeps([133,1,40,5,6,4,13,12,130,53,62,67,25,27,3,68,32,63,85,60,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/35.Dpj9Kp45.js`),__vite__mapDeps([134,1,40,5,6,4,7,13,12,26,25,27,3,99,52,62,74,71,75,33,76,77,78,67,68,32,59,95,31,63,85,79,60,16,64,17,65,8,18,15,88,89,37]),import.meta.url)],r=[0,2,5,6],i={"/":[-8],"/accept-invite":[-9],"/admin":[-10,[2],[3]],"/admin/audit":[-11,[2],[3]],"/admin/compute":[-12,[2],[3]],"/admin/organizations":[-13,[2],[3]],"/admin/projects":[-14,[2],[3]],"/admin/projects/[id]":[-15,[2],[3]],"/admin/system":[-16,[2],[3]],"/admin/users":[-17,[2],[3]],"/auth/email/sent":[17],"/auth/email/start":[-19],"/docs/api":[-20],"/library":[-21,[4]],"/library/[guid]":[-22,[4]],"/login":[-23],"/logout":[23],"/oauth/authorize":[-25],"/projects":[-26,[5]],"/setup":[-27],"/team":[-28,[6]],"/team/activity":[28,[6]],"/team/compute":[-30,[6]],"/team/members":[-31,[6]],"/team/projects":[-32,[6]],"/team/reclaim":[-33,[6]],"/team/settings":[-34,[6]],"/team/shares":[-35,[6]],"/team/tokens":[-36,[6]]},a={handleError:(({kind:e,error:t})=>{e===`unknown`&&console.error(t)}),reroute:(()=>{}),transport:{}},o=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.decode])),s=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.encode])),c=!1,l=(e,t)=>o[e](t),u=()=>e(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{l as decode,o as decoders,i as dictionary,s as encoders,u as get_error_template,c as hash,a as hooks,t as matchers,n as nodes,r as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.0aLY-peC.js","../chunks/sphvlIzg.js","../chunks/C1xbQMZF.js","../chunks/BJGlbpZ0.js","../chunks/BFJ8iwO4.js","./payload.DSmR2FwN.js","../chunks/Cyt8LZpN.js","../chunks/BHnRUwtv.js","../chunks/BQmUk61d.js","../assets/0.K3A9pxsi.css","../nodes/1.D8PGvwGl.js","../chunks/NZEnWod8.js","../chunks/Ca-1xMUo.js","../chunks/BbFMtSJ8.js","../chunks/DkJ8E57s.js","../chunks/CivEAG-M.js","../chunks/B8LXiPqe.js","../chunks/Bx2qumU5.js","../chunks/DIYaLgLs.js","../nodes/2.BIMWgs8C.js","../chunks/85w20NVU.js","../chunks/CoLPPvYz.js","../chunks/rIQJtl5L.js","../chunks/Bb1oceVC.js","../chunks/B1rj67tr.js","../chunks/CoRMsLUN.js","../chunks/DNFu5yLd.js","../chunks/OznVWGiS.js","../chunks/C9yuuH4J.js","../chunks/Jlr_WNWs.js","../chunks/CXFC38jr.js","../chunks/D_-42ATH.js","../chunks/BuCeXb-q.js","../chunks/Rbl3OsBf.js","../chunks/BiZjzEFQ.js","../chunks/DtmJiR65.js","../chunks/DIOXhUNn.js","../chunks/CSy_25b1.js","../chunks/CBf5ToEX.js","../chunks/BUENW6k7.js","../chunks/B3e8ZKjr.js","../chunks/34Sd6e9o.js","../chunks/1VJx1aVI.js","../chunks/BkTC9VdY.js","../chunks/BkNEmllz.js","../chunks/BmbAoXqr.js","../nodes/3.B2ccxsh5.js","../nodes/4.DPB_nXDo.js","../nodes/5.B293bMJb.js","../nodes/6.CE7P3U7c.js","../chunks/C0bsOHz0.js","../chunks/DqBxcKN2.js","../chunks/D-1_v2Lf.js","../chunks/ChEklEBB.js","../chunks/DBMBAz5L.js","../nodes/7.DhehW04u.js","../chunks/lMQbJOeE.js","../assets/7.T1zeJ20D.css","../nodes/8.CeF7Yj23.js","../chunks/BCgmDXNw.js","../chunks/CUaHcctM.js","../nodes/9.Bk5Lntvs.js","../chunks/BPWrsj_h.js","../chunks/1AvDtYi1.js","../chunks/ByPYmSUR.js","../chunks/fJvE1weH.js","../chunks/Uzaejkud.js","../chunks/CdTxvcQ4.js","../chunks/CNij7yXO.js","../chunks/ag4k__EW.js","../nodes/10.B3aBLsAq.js","../chunks/B9-uqzXO.js","../chunks/B187F-XR.js","../chunks/Djv8qD_2.js","../chunks/CVl4suwo.js","../chunks/Dqc45la5.js","../chunks/DcS7V4T3.js","../chunks/BLG35vEW.js","../assets/select.CV-KWLNP.css","../chunks/ZGbF6Eux.js","../nodes/11.CnQVPSaL.js","../chunks/B7VqKSCZ.js","../chunks/DmlEI0uK.js","../chunks/CNkLk5_8.js","../chunks/CoB4qHba.js","../chunks/D6cAtf8B.js","../chunks/DqR8kuM6.js","../nodes/12.B7-VLcK9.js","../chunks/-MlIqmcL.js","../assets/DataTable.BjgXtTHK.css","../nodes/13.TEbI6lFx.js","../chunks/TZzCN567.js","../chunks/Cms9vBTq.js","../nodes/14.Dx84-S7G.js","../chunks/D6SQx3MR.js","../chunks/CK2nnbJa.js","../chunks/Cj9-pF71.js","../chunks/BVVRTJCQ.js","../nodes/15.DYrqOXo_.js","../chunks/gNgZDPHs.js","../chunks/nJUe9gXb.js","../chunks/DR4HRB4w.js","../nodes/16.C7nA7TCy.js","../chunks/Cv8bPnPc.js","../chunks/BvRGv1MX.js","../chunks/BFtd89gK.js","../nodes/17.0cv7e5IP.js","../chunks/hvudoNyJ.js","../nodes/18.PJQUQ85Q.js","../nodes/19.DRxrJE9N.js","../nodes/20.CyD18Rlt.js","../chunks/a5NclWb-.js","../chunks/DG4fF26P.js","../nodes/21.GfKFOpXV.js","../chunks/D84pURUQ.js","../chunks/CRzLMJPS.js","../chunks/BSN2qO1R.js","../chunks/Bct5vmEM.js","../chunks/DnJObvmm.js","../assets/21.VfhYpgTQ.css","../nodes/22.q4pJo1Ec.js","../nodes/24.DkL5kHzA.js","../nodes/25.C9PK5T2d.js","../chunks/v0PYjZZ5.js","../nodes/26.7nAJpm5P.js","../nodes/27.BZljPb4_.js","../nodes/28.BUnWplt-.js","../nodes/29.DWokJWH0.js","../nodes/30.ForK2knd.js","../nodes/31.DEYw8Upz.js","../chunks/BrpXEGl0.js","../nodes/32.Bi8d2lf7.js","../nodes/33.CswdDR11.js","../nodes/34.DUW5te4K.js","../nodes/35.Dpj9Kp45.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"../chunks/CRzLMJPS.js";var t={},n=[()=>e(()=>import(`../nodes/0.0aLY-peC.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>e(()=>import(`../nodes/1.D8PGvwGl.js`),__vite__mapDeps([10,1,4,5,6,7,11,12,13,14,15,16,17,18]),import.meta.url),()=>e(()=>import(`../nodes/2.BIMWgs8C.js`),__vite__mapDeps([19,1,20,12,21,22,23,2,3,4,5,6,7,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]),import.meta.url),()=>e(()=>import(`../nodes/3.B2ccxsh5.js`),__vite__mapDeps([46,1,4,5,6,7,11,12,13,14,15,16,17,18]),import.meta.url),()=>e(()=>import(`../nodes/4.DPB_nXDo.js`),__vite__mapDeps([47,1]),import.meta.url),()=>e(()=>import(`../nodes/5.B293bMJb.js`),__vite__mapDeps([48,1,23,2,3,4,5,6,7,12,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40]),import.meta.url),()=>e(()=>import(`../nodes/6.CE7P3U7c.js`),__vite__mapDeps([49,1,4,5,6,7,12,50,51,22,52,53,23,2,3,24,25,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,54,42,43,44,45]),import.meta.url),()=>e(()=>import(`../nodes/7.DhehW04u.js`),__vite__mapDeps([55,1,4,5,6,7,13,12,56,23,2,3,24,25,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,40,57]),import.meta.url),()=>e(()=>import(`../nodes/8.CeF7Yj23.js`),__vite__mapDeps([58,1,4,5,6,7,13,12,59,25,60,18,15]),import.meta.url),()=>e(()=>import(`../nodes/9.Bk5Lntvs.js`),__vite__mapDeps([61,1,40,5,6,4,7,12,13,20,42,62,30,63,16,64,17,65,8,66,67,25,27,3,68,32,69,56]),import.meta.url),()=>e(()=>import(`../nodes/10.B3aBLsAq.js`),__vite__mapDeps([70,1,13,12,71,72,41,73,35,74,3,25,26,27,75,33,76,77,78,59,63,79,60,16,17,65]),import.meta.url),()=>e(()=>import(`../nodes/11.CnQVPSaL.js`),__vite__mapDeps([80,1,3,40,5,6,4,12,13,71,75,81,82,83,42,84,62,63,85,60,16,8,66,67,25,27,68,32,86]),import.meta.url),()=>e(()=>import(`../nodes/12.B7-VLcK9.js`),__vite__mapDeps([87,1,20,12,63,85,16,88,89]),import.meta.url),()=>e(()=>import(`../nodes/13.TEbI6lFx.js`),__vite__mapDeps([90,1,40,5,6,4,13,12,21,82,91,25,26,27,3,71,92,60,77,68,59,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/14.Dx84-S7G.js`),__vite__mapDeps([93,1,40,5,6,4,12,13,94,82,28,29,62,35,91,25,26,27,3,71,92,60,77,68,59,95,31,63,85,96,16,8,88,89,66,67,32,97]),import.meta.url),()=>e(()=>import(`../nodes/15.DYrqOXo_.js`),__vite__mapDeps([98,1,25,40,5,6,4,7,12,13,26,27,3,72,15,99,22,100,83,73,67,68,32,76,77,91,71,92,60,95,31,63,101,35,16,64,17,65,18,39]),import.meta.url),()=>e(()=>import(`../nodes/16.C7nA7TCy.js`),__vite__mapDeps([102,1,40,5,6,4,12,13,71,72,82,92,3,25,26,27,60,73,62,30,35,91,77,68,63,85,16,8,18,15,66,67,32,103,104,97,105,38,37]),import.meta.url),()=>e(()=>import(`../nodes/17.0cv7e5IP.js`),__vite__mapDeps([106,1,4,5,6,7,107,12,18,15]),import.meta.url),()=>e(()=>import(`../nodes/18.PJQUQ85Q.js`),__vite__mapDeps([108,1]),import.meta.url),()=>e(()=>import(`../nodes/19.DRxrJE9N.js`),__vite__mapDeps([109,1,6,5,43]),import.meta.url),()=>e(()=>import(`../nodes/20.CyD18Rlt.js`),__vite__mapDeps([110,1,40,5,6,4,12,56,111,42,84,112,25,31,27,3,23,2,7,24,13,14,26,15,28,29,30,32,33,34,35,36,37,38,39,91,71,92,60,77,68,43,63,85,101,8]),import.meta.url),()=>e(()=>import(`../nodes/21.GfKFOpXV.js`),__vite__mapDeps([113,114,115,1,2,3,25,40,5,6,4,7,12,24,13,14,26,27,15,28,29,30,31,32,33,34,35,36,37,38,39,71,104,75,72,45,116,117,100,92,60,42,74,76,77,78,59,95,112,96,8,18,118,86,119]),import.meta.url),()=>e(()=>import(`../nodes/22.q4pJo1Ec.js`),__vite__mapDeps([120,1,4,5,6,7,13,12,59,25,60,18,15,118]),import.meta.url),()=>e(()=>import(`../chunks/BvRk9kiK.js`),[],import.meta.url),()=>e(()=>import(`../nodes/24.DkL5kHzA.js`),__vite__mapDeps([121,1,4,5,6,7,13,12,91,25,26,27,3,71,92,60,77,68,79,18,15]),import.meta.url),()=>e(()=>import(`../nodes/25.C9PK5T2d.js`),__vite__mapDeps([122,1,3,40,5,6,4,7,12,13,94,26,25,27,71,15,81,99,116,117,111,56,42,84,112,31,53,100,82,92,60,28,62,123,30,35,67,68,32,91,77,34,14,59,95,43,63,85,79,101,96,8,18,66,37,97,105]),import.meta.url),()=>e(()=>import(`../nodes/26.7nAJpm5P.js`),__vite__mapDeps([124,1,4,5,6,7,13,12,59,25,60,18,15]),import.meta.url),()=>e(()=>import(`../nodes/27.BZljPb4_.js`),__vite__mapDeps([125,1,20,12,51,30,63,16,17,65,69,56]),import.meta.url),()=>e(()=>import(`../nodes/28.BUnWplt-.js`),__vite__mapDeps([126,1,50,12,73,63,16,17,65]),import.meta.url),()=>e(()=>import(`../nodes/29.DWokJWH0.js`),__vite__mapDeps([127,1,40,5,6,4,7,13,12,82,42,84,62,91,25,26,27,3,71,92,60,77,68,63,85,79,16,64,17,65,8,66,67,32,86]),import.meta.url),()=>e(()=>import(`../nodes/30.ForK2knd.js`),__vite__mapDeps([128,1,40,5,6,4,12,13,99,107,92,3,25,26,27,60,62,123,35,91,71,77,68,63,85,16,64,17,65,8,66,67,32,103,104,72,97,105,36,37]),import.meta.url),()=>e(()=>import(`../nodes/31.DEYw8Upz.js`),__vite__mapDeps([129,1,40,5,6,4,13,12,130,51,82,62,67,25,27,3,68,32,91,26,71,92,60,77,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/32.Bi8d2lf7.js`),__vite__mapDeps([131,1,40,5,6,4,13,12,117,54,67,25,27,3,68,32,63,85,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/33.CswdDR11.js`),__vite__mapDeps([132,1,12,62,63,16,64,17,65]),import.meta.url),()=>e(()=>import(`../nodes/34.DUW5te4K.js`),__vite__mapDeps([133,1,40,5,6,4,13,12,130,53,62,67,25,27,3,68,32,63,85,60,16,8,88,89]),import.meta.url),()=>e(()=>import(`../nodes/35.Dpj9Kp45.js`),__vite__mapDeps([134,1,40,5,6,4,7,13,12,26,25,27,3,99,52,62,74,71,75,33,76,77,78,67,68,32,59,95,31,63,85,79,60,16,64,17,65,8,18,15,88,89,37]),import.meta.url)],r=[0,2,5,6],i={"/":[-8],"/accept-invite":[-9],"/admin":[-10,[2],[3]],"/admin/audit":[-11,[2],[3]],"/admin/compute":[-12,[2],[3]],"/admin/organizations":[-13,[2],[3]],"/admin/projects":[-14,[2],[3]],"/admin/projects/[id]":[-15,[2],[3]],"/admin/system":[-16,[2],[3]],"/admin/users":[-17,[2],[3]],"/auth/email/sent":[17],"/auth/email/start":[-19],"/docs/api":[-20],"/library":[-21,[4]],"/library/[guid]":[-22,[4]],"/login":[-23],"/logout":[23],"/oauth/authorize":[-25],"/projects":[-26,[5]],"/setup":[-27],"/team":[-28,[6]],"/team/activity":[28,[6]],"/team/compute":[-30,[6]],"/team/members":[-31,[6]],"/team/projects":[-32,[6]],"/team/reclaim":[-33,[6]],"/team/settings":[-34,[6]],"/team/shares":[-35,[6]],"/team/tokens":[-36,[6]]},a={handleError:(({kind:e,error:t})=>{e===`unknown`&&console.error(t)}),reroute:(()=>{}),transport:{}},o=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.decode])),s=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.encode])),c=!1,l=(e,t)=>o[e](t),u=()=>e(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{l as decode,o as decoders,i as dictionary,s as encoders,u as get_error_template,c as hash,a as hooks,t as matchers,n as nodes,r as server_loads};
@@ -1 +1 @@
1
- import{Ot as e,Q as t,St as n,kt as r}from"../chunks/sphvlIzg.js";import{n as i}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as a}from"../chunks/Bs2bQTgl.js";function o(o,s){r(s,!0);{let e=n(()=>i.error?.message);a(o,{get status(){return i.status},get message(){return t(e)}})}e()}export{o as component};
1
+ import{Ot as e,Q as t,St as n,kt as r}from"../chunks/sphvlIzg.js";import{n as i}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as a}from"../chunks/NZEnWod8.js";function o(o,s){r(s,!0);{let e=n(()=>i.error?.message);a(o,{get status(){return i.status},get message(){return t(e)}})}e()}export{o as component};
@@ -1,4 +1,4 @@
1
- import{A as e,D as t,Ft as n,G as r,H as i,J as a,K as o,L as s,Lt as c,Ot as l,P as u,Pt as d,Q as f,Rt as p,S as m,St as h,T as g,U as _,V as v,_t as y,a as b,dt as x,f as S,ft as C,ht as w,i as T,it as E,k as D,kt as O,l as k,lt as A,m as j,mt as M,n as N,ot as P,p as F,pt as I,q as L,r as R,st as z,t as B,tt as ee,u as te,v as V,x as H,yt as U}from"../chunks/sphvlIzg.js";import{a as W,c as G,d as K,f as q,n as ne,o as re,r as ie,s as J,t as Y,y as X}from"../chunks/CoRMsLUN.js";import{c as ae}from"../chunks/B3e8ZKjr.js";import{n as oe}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{n as se,r as Z}from"../chunks/Ca-1xMUo.js";import{t as ce}from"../chunks/BbFMtSJ8.js";import{o as le}from"../chunks/DNFu5yLd.js";import{t as ue}from"../chunks/B187F-XR.js";import{a as de,i as fe,r as pe}from"../chunks/CivEAG-M.js";import{t as me}from"../chunks/gNgZDPHs.js";import{t as he}from"../chunks/rIQJtl5L.js";import{t as ge}from"../chunks/nJUe9gXb.js";import{t as _e}from"../chunks/CNkLk5_8.js";import{t as ve}from"../chunks/Djv8qD_2.js";import{p as ye,q as be}from"../chunks/OznVWGiS.js";import{a as xe,c as Se,i as Ce,n as we,o as Te,r as Ee,s as De,t as Oe}from"../chunks/CdTxvcQ4.js";import{t as ke}from"../chunks/DcS7V4T3.js";import{t as Ae}from"../chunks/TZzCN567.js";import{i as je,n as Me,r as Ne,t as Pe}from"../chunks/CK2nnbJa.js";import{t as Fe}from"../chunks/1AvDtYi1.js";import{t as Ie}from"../chunks/DR4HRB4w.js";import{n as Le,t as Re}from"../chunks/B8LXiPqe.js";import{t as ze}from"../chunks/ByPYmSUR.js";import{t as Be}from"../chunks/Bx2qumU5.js";import{t as Ve}from"../chunks/fJvE1weH.js";import{t as He}from"../chunks/DIYaLgLs.js";import{t as Ue}from"../chunks/BUENW6k7.js";var We={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]]};We.node;var Ge=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ke(e,t){let n=N(t,Ge);Z(e,R(()=>n,{get icon(){return We}}))}var qe={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]]};qe.node;var Je=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ye(e,t){let n=N(t,Je);Z(e,R(()=>n,{get icon(){return qe}}))}var Xe={name:`circle-arrow-up`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],aliases:[`arrow-up-circle`]};Xe.node;var Ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qe(e,t){let n=N(t,Ze);Z(e,R(()=>n,{get icon(){return Xe}}))}var $e={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],aliases:[`x-circle`]};$e.node;var et=new Set([`$$slots`,`$$events`,`$$legacy`]);function tt(e,t){let n=N(t,et);Z(e,R(()=>n,{get icon(){return $e}}))}var nt={name:`flask-conical`,size:24,node:[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`}],[`path`,{d:`M6.453 15h11.094`}],[`path`,{d:`M8.5 2h7`}]]};nt.node;var rt=new Set([`$$slots`,`$$events`,`$$legacy`]);function it(e,t){let n=N(t,rt);Z(e,R(()=>n,{get icon(){return nt}}))}var at={name:`stethoscope`,size:24,node:[[`path`,{d:`M11 2v2`}],[`path`,{d:`M5 2v2`}],[`path`,{d:`M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M8 15a6 6 0 0 0 12 0v-3`}],[`circle`,{cx:`20`,cy:`10`,r:`2`}]]};at.node;var ot=new Set([`$$slots`,`$$events`,`$$legacy`]);function st(e,t){let n=N(t,ot);Z(e,R(()=>n,{get icon(){return at}}))}var ct=re({component:`switch`,parts:[`root`,`thumb`]}),lt=new be(`Switch.Root`),ut=class e{static create(t){return lt.set(new e(t))}opts;attachment;constructor(e){this.opts=e,this.attachment=K(e.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this)}#e(){this.opts.checked.current=!this.opts.checked.current}onkeydown(e){e.key!==`Enter`&&e.key!==` `||this.opts.disabled.current||(e.preventDefault(),this.#e())}onclick(e){this.opts.disabled.current||this.#e()}#t=h(()=>({"data-disabled":ne(this.opts.disabled.current),"data-state":G(this.opts.checked.current),"data-required":ne(this.opts.required.current)}));get sharedProps(){return f(this.#t)}set sharedProps(e){y(this.#t,e)}#n=h(()=>({checked:this.opts.checked.current}));get snippetProps(){return f(this.#n)}set snippetProps(e){y(this.#n,e)}#r=h(()=>({...this.sharedProps,id:this.opts.id.current,role:`switch`,disabled:W(this.opts.disabled.current),"aria-checked":J(this.opts.checked.current,!1),"aria-required":ie(this.opts.required.current),[ct.root]:``,onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment}));get props(){return f(this.#r)}set props(e){y(this.#r,e)}},dt=class e{static create(){return new e(lt.get())}root;#e=h(()=>this.root.opts.name.current!==void 0);get shouldRender(){return f(this.#e)}set shouldRender(e){y(this.#e,e)}constructor(e){this.root=e}#t=h(()=>({type:`checkbox`,name:this.root.opts.name.current,value:this.root.opts.value.current,checked:this.root.opts.checked.current,disabled:this.root.opts.disabled.current,required:this.root.opts.required.current}));get props(){return f(this.#t)}set props(e){y(this.#t,e)}},ft=class e{static create(t){return new e(t,lt.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=K(e.ref)}#e=h(()=>({checked:this.root.opts.checked.current}));get snippetProps(){return f(this.#e)}set snippetProps(e){y(this.#e,e)}#t=h(()=>({...this.root.sharedProps,id:this.opts.id.current,[ct.thumb]:``,...this.attachment}));get props(){return f(this.#t)}set props(e){y(this.#t,e)}};function pt(t,n){O(n,!0);let r=dt.create();var a=i(),o=C(a),s=e=>{ke(e,R(()=>r.props))};e(o,e=>{r.shouldRender&&e(s)}),v(t,a),l()}var mt=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`disabled`,`required`,`checked`,`value`,`name`,`type`,`onCheckedChange`]),ht=_(`<button><!></button>`),gt=_(`<!> <!>`,1);function _t(t,a){let o=r();O(a,!0);let s=B(a,`ref`,15,null),d=B(a,`id`,19,()=>Y(o)),p=B(a,`disabled`,3,!1),m=B(a,`required`,3,!1),g=B(a,`checked`,15,!1),_=B(a,`value`,3,`on`),y=B(a,`name`,3,void 0),b=B(a,`type`,3,`button`),w=B(a,`onCheckedChange`,3,ye),T=N(a,mt),E=ut.create({checked:X(()=>g(),e=>{g(e),w()?.(e)}),disabled:X(()=>p()??!1),required:X(()=>m()),value:X(()=>_()),name:X(()=>y()),id:X(()=>d()),ref:X(()=>s(),e=>s(e))}),D=h(()=>q(T,E.props,{type:b()}));var k=gt(),A=C(k),j=e=>{var t=i(),n=C(t);{let e=h(()=>({props:f(D),...E.snippetProps}));u(n,()=>a.child,()=>f(e))}v(e,t)},P=e=>{var t=ht();S(t,()=>({...f(D)}));var r=x(t);u(r,()=>a.children??c,()=>E.snippetProps),n(t),v(e,t)};e(A,e=>{a.child?e(j):e(P,-1)}),pt(M(A,2),{}),v(t,k),l()}var vt=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`]),yt=_(`<span><!></span>`);function bt(t,a){let o=r();O(a,!0);let s=B(a,`ref`,15,null),d=B(a,`id`,19,()=>Y(o)),p=N(a,vt),m=ft.create({id:X(()=>d()),ref:X(()=>s(),e=>s(e))}),g=h(()=>q(p,m.props));var _=i(),y=C(_),b=e=>{var t=i(),n=C(t);{let e=h(()=>({props:f(g),...m.snippetProps}));u(n,()=>a.child,()=>f(e))}v(e,t)},w=e=>{var t=yt();S(t,()=>({...f(g)}));var r=x(t);u(r,()=>a.children??c,()=>m.snippetProps),n(t),v(e,t)};e(y,e=>{a.child?e(b):e(w,-1)}),v(t,_),l()}var xt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`checked`]);function St(e,t){O(t,!0);let n=B(t,`ref`,15,null),r=B(t,`checked`,15,!1),a=N(t,xt);var o=i(),s=C(o);{let e=h(()=>se(`peer w-8 shadow-xs h-4.5 inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input`,t.class));g(s,()=>_t,(t,o)=>{o(t,R({"data-slot":`switch`,get class(){return f(e)}},()=>a,{get ref(){return n()},set ref(e){n(e)},get checked(){return r()},set checked(e){r(e)},children:(e,t)=>{var n=i(),r=C(n);{let e=h(()=>se(`size-4 data-[state=unchecked]:translate-x-0 data-[state=checked]:translate-x-3.5 pointer-events-none block rounded-full bg-background ring-0 transition-transform dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground`));g(r,()=>bt,(t,n)=>{n(t,{"data-slot":`switch-thumb`,get class(){return f(e)}})})}v(e,n)},$$slots:{default:!0}}))})}v(e,o),l()}function Q(e,t){let n=t.exec(e);return n?n[1]:void 0}function Ct(e){let t=String.raw`\d+\.\d+\.\d+[^\s]*`,n=new RegExp(String.raw`(?:Target \([^)]*\)|Available):\s*(${t})\s*(?:→|->)\s*(${t})`).exec(e);return{from:Q(e,/Current @selvajs\/selva:\s*v?(\d+\.\d+\.\d+[^\s]*)/)??n?.[1],to:Q(e,/New @selvajs\/selva:\s*v?(\d+\.\d+\.\d+[^\s]*)/)??n?.[2]}}function $(e,t){return e.includes(t)}function wt(e,t){let{from:n,to:r}=Ct(t);if(e===null)return{severity:`pending`,title:`Update in progress…`};if(e===6||$(t,`Manual recovery required`)||$(t,`manual intervention required`))return{severity:`critical`,title:`Update failed AND rollback failed — the app may be OFFLINE`,detail:"Both the new version and the rollback failed their health check. SSH into the server and run: `npx selva logs`, then `pm2 start ecosystem.config.cjs` from the deployment directory.",from:n,to:r};if(e===-2)return{severity:`critical`,title:`App did not come back online within 15 minutes`,detail:"The update may still be finishing in the background, or the new process is crash-looping. Check `npx selva logs`. Do not re-run the update until you have confirmed the current state.",from:n,to:r};if(e===4)return{severity:`critical`,title:`Update failed and the rollback could not reinstall — the app may be OFFLINE`,detail:"The previous version could not be restored from npm. SSH into the server and run `npx selva logs`; if the app is down, reinstall explicitly with `npm install --prefer-online @selvajs/cli@<version> @selvajs/selva@<version>` from the deployment directory.",from:n,to:r};if(e===3)return{severity:`critical`,title:`Update failed its health check and could not be rolled back automatically`,detail:"No prior version was recorded, so the previous build could not be restored. Check `npx selva logs` to confirm whether the app came back online.",from:n,to:r};if(e===143||e===130||e===129||$(t,`KILLED`))return{severity:`critical`,title:`Update was killed before it finished — nothing was installed`,detail:"The runner was terminated mid-update, most often by a systemd-supervised PM2 restarting its whole control group. The version on disk is unchanged. Check `npx selva logs` and confirm the app is online before retrying; if a global pm2 owns the daemon, reconcile that first.",from:n,to:r};if(e===9||$(t,`SYSTEMD_PM2`))return{severity:`warning`,title:`Update cancelled — PM2 needs a resync that only a shell can do safely. The app is untouched.`,detail:"This deployment's PM2 runs under systemd, where `pm2 update` restarts the unit and kills the update mid-run. Nothing was installed and the app is still serving. SSH in and run `./node_modules/.bin/pm2 update` from the deployment directory, then retry the update here.",from:n,to:r};if(e===11||$(t,`PM2_NAME_TAKEN`)){let e=Q(t,/PM2_NAME_TAKEN: pm2's '[^']*' runs from (\S+),/);return{severity:`warning`,title:`Update cancelled — another Selva install${e?` (${e})`:``} uses this install's PM2 app name. The app is untouched.`,detail:"PM2 finds an app by name, so this update would have stopped the other install and left this one running on replaced files. Nothing was installed. On the server, give this install its own `name` in its ecosystem.config.cjs, run `npx selva start` from its directory, then retry the update here.",from:n,to:r}}if(e===12||$(t,`NOT_STOPPED`))return{severity:`warning`,title:`Update cancelled — the app kept answering after PM2 stopped it. Nothing was installed.`,detail:"Either this install's PM2 does not run the process that is serving (another PM2 daemon, a systemd unit or a shell started it), or it did not exit. Updating would have replaced its files without restarting it. On the server, find what holds the port (`ss -ltnp`), stop it there, run `npx selva start` from the deployment directory, then retry.",from:n,to:r};if(e===10||$(t,`DATA_FORMAT:`)){let e=Q(t,/reads data format (\d+),/),i=Q(t,/this deployment is on format (\d+)\./);return{severity:`warning`,title:`Update cancelled — ${r??`the target version`} cannot read this deployment's data. The app is untouched.`,detail:(e&&i?`It reads data format ${e}; this deployment is on format ${i}. `:``)+`Installing it would leave stored data, such as Compute API keys, unreadable. Switch the release channel back to stay on the installed version. To go back anyway, follow "Going back to an older release" in the admin guide.`,from:n,to:r}}if(e===8||$(t,`PM2_SKEW`)){let e=Q(t,/daemon \(v(\d+\.\d+\.\d+)\)/),i=Q(t,/deployment's pm2 \(v(\d+\.\d+\.\d+)\)/);return{severity:`warning`,title:e&&i?`Update cancelled — a global PM2 (v${e}) owns the daemon, not this deployment's (v${i}). The app is untouched.`:`Update cancelled — a conflicting global PM2 owns the daemon. The app is untouched.`,detail:"Resyncing would have downgraded the daemon and dropped its process table, so the update stopped before taking the app down. On the server: `which -a pm2`, `pm2 -v`, `pm2 ping` — remove or align the global pm2, then retry.",from:n,to:r}}if($(t,`SCHEMA_SKEW`)){let e=Q(t,/expects database migration head (\S+?),/),i=Q(t,/this database is at (\S+?)\./),a=e&&i?` The database is at ${i}; ${r??`it`} needs ${e}.`:``,o=Q(t,/@selvajs\/supabase-provider@([\w.-]+)/)??($(t,`channel: beta`)?`beta`:`latest`);return{severity:`warning`,title:`Update rolled back — the database migrations for ${r??`the new version`} have not been applied.${a} The app is online${n?` on ${n}`:``}.`,detail:`Nothing is wrong with the new version. Selva does not apply migrations during an update, because they cannot be rolled back — auto-migrating and then rolling the code back would leave the app and database on different heads. Apply them on the server, then re-run this update: \`npm install --prefer-online @selvajs/supabase-provider@${o}\`, then \`npx selva-supabase\`, then \`npx supabase db push\`. The provider install is not optional — the migration SQL ships inside that package, and the update only moves @selvajs/cli and @selvajs/selva, so a sync without it copies nothing and the push reports "up to date" having done nothing. Retrying without this will fail in exactly the same way.`,from:n,to:r}}if($(t,`AT_REST_SECRETS`))return{severity:`warning`,title:`Update rolled back — stored compute server keys do not decrypt under this host's SELVA_AT_REST_KEY. The app is online${n?` on ${n}`:``}.`,detail:`This is a configuration problem on the server, not a fault in the new version, so retrying alone will fail identically. Re-enter the affected keys at /admin/compute, or restore the SELVA_AT_REST_KEY the values were encrypted with, then re-run the update.`,from:n,to:r};if(e===5||$(t,`Rolled back`))return{severity:`warning`,title:`Update failed — safely rolled back${n?` to ${n}`:``}. The app is online.`,detail:`The new version failed its health check, so the previous version was restored and is serving normally. Review the log below for why the new version failed before retrying.`,from:n,to:r};if($(t,`ENGINE_MISMATCH`)||$(t,`EBADENGINE`)){let e=Q(t,/requires Node ([^\s]+(?:\s*[<>=]+\s*[\d.]+)*)/),i=Q(t,/this host runs v?(\d+\.\d+\.\d+)/);return{severity:`warning`,title:i?`Updated${r?` to ${r}`:``}, but this release needs Node ${e??`(newer)`} — the host runs v${i}. Expect runtime failures.`:`Updated${r?` to ${r}`:``}, but this release requires a newer Node than the host provides. Expect runtime failures.`,detail:`npm installed it anyway (engine-strict is off) and the health check passed, but it does not exercise the newer APIs — routes that do will throw at request time. Upgrade Node on the server, then re-run the update.`,from:n,to:r}}return $(t,`PM2_RESYNC_NEEDED`)?{severity:`warning`,title:`Updated${r?` to ${r}`:``}, but the pm2 daemon still runs the old pm2.`,detail:"The app is online. On the server, run `npx pm2 update` in the deployment directory, let it finish, then check `npx pm2 list` shows the app online.",from:n,to:r}:$(t,`PM2_PIN_FAILED`)?{severity:`warning`,title:`Updated${r?` to ${r}`:``}, but pm2 stayed on the previous version.`,detail:"The app is online on the old pm2. On the server, run `npx selva migrate` in the deployment directory to move it to the pinned version.",from:n,to:r}:$(t,`npm cache may be stale`)||$(t,`No version change`)?{severity:`warning`,title:`No version change — npm installed the same version.`,detail:"Your npm cache may be stale. On the server: `npm cache clean --force`, remove node_modules + package-lock.json, then `npm install --prefer-online`.",from:n,to:r}:e===0?$(t,`Already on the`)||$(t,`Nothing to do`)?{severity:`info`,title:`Already up to date${n?` (${n})`:``} — nothing to install.`,detail:`No changes were made and the app was not restarted.`,from:n,to:r}:n&&r&&n!==r?{severity:`success`,title:`Updated ${n} → ${r}. The app is back online.`,from:n,to:r}:r?{severity:`success`,title:`Update complete — now on ${r}. The app is back online.`,from:n,to:r}:{severity:`success`,title:`Update completed and the app is back online.`,from:n,to:r}:{severity:`critical`,title:`Update failed (exit code ${e}).`,detail:"The update did not complete cleanly. Review the log below, and check `npx selva logs` to confirm whether the app is currently online.",from:n,to:r}}var Tt=_(`<span title="Currently installed @selvajs/selva version"> </span>`),Et=_(`Update @selvajs/* to the latest <span class="font-medium"> </span> release and restart`,1),Dt=_(`<div class="flex items-start justify-between gap-3"><!> <!></div> <!>`,1),Ot=_(`<div class="border-warning/40 bg-warning/10 text-warning flex items-center gap-2 rounded-md border px-3 py-2 text-sm" role="status"><!> <span> <span class="font-mono"> </span> → <span class="font-mono"> </span></span></div>`),kt=_(`<p class="text-muted-foreground text-sm"> <span class="font-mono"> </span>).</p>`),At=_(`<div class="border-destructive/40 bg-destructive/10 text-destructive flex items-start gap-2 rounded-md border px-3 py-3 text-sm" role="alert"><!> <div class="space-y-1"><p class="font-medium">Update blocked — <span class="font-mono"> </span> cannot read this deployment's
1
+ import{A as e,D as t,Ft as n,G as r,H as i,J as a,K as o,L as s,Lt as c,Ot as l,P as u,Pt as d,Q as f,Rt as p,S as m,St as h,T as g,U as _,V as v,_t as y,a as b,dt as x,f as S,ft as C,ht as w,i as T,it as E,k as D,kt as O,l as k,lt as A,m as j,mt as M,n as N,ot as P,p as F,pt as I,q as L,r as R,st as z,t as B,tt as ee,u as te,v as V,x as H,yt as U}from"../chunks/sphvlIzg.js";import{a as W,c as G,d as K,f as q,n as ne,o as re,r as ie,s as J,t as Y,y as X}from"../chunks/CoRMsLUN.js";import{c as ae}from"../chunks/B3e8ZKjr.js";import{n as oe}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{n as se,r as Z}from"../chunks/Ca-1xMUo.js";import{t as ce}from"../chunks/BbFMtSJ8.js";import{o as le}from"../chunks/DNFu5yLd.js";import{t as ue}from"../chunks/B187F-XR.js";import{a as de,i as fe,r as pe}from"../chunks/CivEAG-M.js";import{t as me}from"../chunks/gNgZDPHs.js";import{t as he}from"../chunks/rIQJtl5L.js";import{t as ge}from"../chunks/nJUe9gXb.js";import{t as _e}from"../chunks/CNkLk5_8.js";import{t as ve}from"../chunks/Djv8qD_2.js";import{p as ye,q as be}from"../chunks/OznVWGiS.js";import{a as xe,c as Se,i as Ce,n as we,o as Te,r as Ee,s as De,t as Oe}from"../chunks/CdTxvcQ4.js";import{t as ke}from"../chunks/DcS7V4T3.js";import{t as Ae}from"../chunks/TZzCN567.js";import{i as je,n as Me,r as Ne,t as Pe}from"../chunks/CK2nnbJa.js";import{t as Fe}from"../chunks/1AvDtYi1.js";import{t as Ie}from"../chunks/DR4HRB4w.js";import{n as Le,t as Re}from"../chunks/B8LXiPqe.js";import{t as ze}from"../chunks/ByPYmSUR.js";import{t as Be}from"../chunks/Bx2qumU5.js";import{t as Ve}from"../chunks/fJvE1weH.js";import{t as He}from"../chunks/DIYaLgLs.js";import{t as Ue}from"../chunks/BUENW6k7.js";var We={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]]};We.node;var Ge=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ke(e,t){let n=N(t,Ge);Z(e,R(()=>n,{get icon(){return We}}))}var qe={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]]};qe.node;var Je=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ye(e,t){let n=N(t,Je);Z(e,R(()=>n,{get icon(){return qe}}))}var Xe={name:`circle-arrow-up`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m16 12-4-4-4 4`}],[`path`,{d:`M12 16V8`}]],aliases:[`arrow-up-circle`]};Xe.node;var Ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qe(e,t){let n=N(t,Ze);Z(e,R(()=>n,{get icon(){return Xe}}))}var $e={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m15 9-6 6`}],[`path`,{d:`m9 9 6 6`}]],aliases:[`x-circle`]};$e.node;var et=new Set([`$$slots`,`$$events`,`$$legacy`]);function tt(e,t){let n=N(t,et);Z(e,R(()=>n,{get icon(){return $e}}))}var nt={name:`flask-conical`,size:24,node:[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`}],[`path`,{d:`M6.453 15h11.094`}],[`path`,{d:`M8.5 2h7`}]]};nt.node;var rt=new Set([`$$slots`,`$$events`,`$$legacy`]);function it(e,t){let n=N(t,rt);Z(e,R(()=>n,{get icon(){return nt}}))}var at={name:`stethoscope`,size:24,node:[[`path`,{d:`M11 2v2`}],[`path`,{d:`M5 2v2`}],[`path`,{d:`M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1`}],[`path`,{d:`M8 15a6 6 0 0 0 12 0v-3`}],[`circle`,{cx:`20`,cy:`10`,r:`2`}]]};at.node;var ot=new Set([`$$slots`,`$$events`,`$$legacy`]);function st(e,t){let n=N(t,ot);Z(e,R(()=>n,{get icon(){return at}}))}var ct=re({component:`switch`,parts:[`root`,`thumb`]}),lt=new be(`Switch.Root`),ut=class e{static create(t){return lt.set(new e(t))}opts;attachment;constructor(e){this.opts=e,this.attachment=K(e.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this)}#e(){this.opts.checked.current=!this.opts.checked.current}onkeydown(e){e.key!==`Enter`&&e.key!==` `||this.opts.disabled.current||(e.preventDefault(),this.#e())}onclick(e){this.opts.disabled.current||this.#e()}#t=h(()=>({"data-disabled":ne(this.opts.disabled.current),"data-state":G(this.opts.checked.current),"data-required":ne(this.opts.required.current)}));get sharedProps(){return f(this.#t)}set sharedProps(e){y(this.#t,e)}#n=h(()=>({checked:this.opts.checked.current}));get snippetProps(){return f(this.#n)}set snippetProps(e){y(this.#n,e)}#r=h(()=>({...this.sharedProps,id:this.opts.id.current,role:`switch`,disabled:W(this.opts.disabled.current),"aria-checked":J(this.opts.checked.current,!1),"aria-required":ie(this.opts.required.current),[ct.root]:``,onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment}));get props(){return f(this.#r)}set props(e){y(this.#r,e)}},dt=class e{static create(){return new e(lt.get())}root;#e=h(()=>this.root.opts.name.current!==void 0);get shouldRender(){return f(this.#e)}set shouldRender(e){y(this.#e,e)}constructor(e){this.root=e}#t=h(()=>({type:`checkbox`,name:this.root.opts.name.current,value:this.root.opts.value.current,checked:this.root.opts.checked.current,disabled:this.root.opts.disabled.current,required:this.root.opts.required.current}));get props(){return f(this.#t)}set props(e){y(this.#t,e)}},ft=class e{static create(t){return new e(t,lt.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=K(e.ref)}#e=h(()=>({checked:this.root.opts.checked.current}));get snippetProps(){return f(this.#e)}set snippetProps(e){y(this.#e,e)}#t=h(()=>({...this.root.sharedProps,id:this.opts.id.current,[ct.thumb]:``,...this.attachment}));get props(){return f(this.#t)}set props(e){y(this.#t,e)}};function pt(t,n){O(n,!0);let r=dt.create();var a=i(),o=C(a),s=e=>{ke(e,R(()=>r.props))};e(o,e=>{r.shouldRender&&e(s)}),v(t,a),l()}var mt=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`disabled`,`required`,`checked`,`value`,`name`,`type`,`onCheckedChange`]),ht=_(`<button><!></button>`),gt=_(`<!> <!>`,1);function _t(t,a){let o=r();O(a,!0);let s=B(a,`ref`,15,null),d=B(a,`id`,19,()=>Y(o)),p=B(a,`disabled`,3,!1),m=B(a,`required`,3,!1),g=B(a,`checked`,15,!1),_=B(a,`value`,3,`on`),y=B(a,`name`,3,void 0),b=B(a,`type`,3,`button`),w=B(a,`onCheckedChange`,3,ye),T=N(a,mt),E=ut.create({checked:X(()=>g(),e=>{g(e),w()?.(e)}),disabled:X(()=>p()??!1),required:X(()=>m()),value:X(()=>_()),name:X(()=>y()),id:X(()=>d()),ref:X(()=>s(),e=>s(e))}),D=h(()=>q(T,E.props,{type:b()}));var k=gt(),A=C(k),j=e=>{var t=i(),n=C(t);{let e=h(()=>({props:f(D),...E.snippetProps}));u(n,()=>a.child,()=>f(e))}v(e,t)},P=e=>{var t=ht();S(t,()=>({...f(D)}));var r=x(t);u(r,()=>a.children??c,()=>E.snippetProps),n(t),v(e,t)};e(A,e=>{a.child?e(j):e(P,-1)}),pt(M(A,2),{}),v(t,k),l()}var vt=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`]),yt=_(`<span><!></span>`);function bt(t,a){let o=r();O(a,!0);let s=B(a,`ref`,15,null),d=B(a,`id`,19,()=>Y(o)),p=N(a,vt),m=ft.create({id:X(()=>d()),ref:X(()=>s(),e=>s(e))}),g=h(()=>q(p,m.props));var _=i(),y=C(_),b=e=>{var t=i(),n=C(t);{let e=h(()=>({props:f(g),...m.snippetProps}));u(n,()=>a.child,()=>f(e))}v(e,t)},w=e=>{var t=yt();S(t,()=>({...f(g)}));var r=x(t);u(r,()=>a.children??c,()=>m.snippetProps),n(t),v(e,t)};e(y,e=>{a.child?e(b):e(w,-1)}),v(t,_),l()}var xt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`checked`]);function St(e,t){O(t,!0);let n=B(t,`ref`,15,null),r=B(t,`checked`,15,!1),a=N(t,xt);var o=i(),s=C(o);{let e=h(()=>se(`peer w-8 shadow-xs h-4.5 inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input`,t.class));g(s,()=>_t,(t,o)=>{o(t,R({"data-slot":`switch`,get class(){return f(e)}},()=>a,{get ref(){return n()},set ref(e){n(e)},get checked(){return r()},set checked(e){r(e)},children:(e,t)=>{var n=i(),r=C(n);{let e=h(()=>se(`size-4 data-[state=unchecked]:translate-x-0 data-[state=checked]:translate-x-3.5 pointer-events-none block rounded-full bg-background ring-0 transition-transform dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground`));g(r,()=>bt,(t,n)=>{n(t,{"data-slot":`switch-thumb`,get class(){return f(e)}})})}v(e,n)},$$slots:{default:!0}}))})}v(e,o),l()}function Q(e,t){let n=t.exec(e);return n?n[1]:void 0}function Ct(e){let t=String.raw`\d+\.\d+\.\d+[^\s]*`,n=new RegExp(String.raw`(?:Target \([^)]*\)|Available):\s*(${t})\s*(?:→|->)\s*(${t})`).exec(e);return{from:Q(e,/Current @selvajs\/selva:\s*v?(\d+\.\d+\.\d+[^\s]*)/)??n?.[1],to:Q(e,/New @selvajs\/selva:\s*v?(\d+\.\d+\.\d+[^\s]*)/)??n?.[2]}}function $(e,t){return e.includes(t)}function wt(e,t){let{from:n,to:r}=Ct(t);if(e===null)return{severity:`pending`,title:`Update in progress…`};if(e===6||$(t,`Manual recovery required`)||$(t,`manual intervention required`))return{severity:`critical`,title:`Update failed AND rollback failed — the app may be OFFLINE`,detail:"Both the new version and the rollback failed their health check. SSH into the server and run: `npx selva logs`, then `pm2 start ecosystem.config.cjs` from the deployment directory.",from:n,to:r};if(e===-2)return{severity:`critical`,title:`App did not come back online within 15 minutes`,detail:"The update may still be finishing in the background, or the new process is crash-looping. Check `npx selva logs`. Do not re-run the update until you have confirmed the current state.",from:n,to:r};if(e===4)return{severity:`critical`,title:`Update failed and the rollback could not reinstall — the app may be OFFLINE`,detail:"The previous version could not be restored from npm. SSH into the server and run `npx selva logs`; if the app is down, reinstall explicitly with `npm install --prefer-online @selvajs/cli@<version> @selvajs/selva@<version>` from the deployment directory.",from:n,to:r};if(e===3)return{severity:`critical`,title:`Update failed its health check and could not be rolled back automatically`,detail:"No prior version was recorded, so the previous build could not be restored. Check `npx selva logs` to confirm whether the app came back online.",from:n,to:r};if(e===143||e===130||e===129||$(t,`KILLED`))return{severity:`critical`,title:`Update was killed before it finished — nothing was installed`,detail:"The runner was terminated mid-update, most often by a systemd-supervised PM2 restarting its whole control group. The version on disk is unchanged. Check `npx selva logs` and confirm the app is online before retrying; if a global pm2 owns the daemon, reconcile that first.",from:n,to:r};if(e===9||$(t,`SYSTEMD_PM2`))return{severity:`warning`,title:`Update cancelled — PM2 needs a resync that only a shell can do safely. The app is untouched.`,detail:"This deployment's PM2 runs under systemd, where `pm2 update` restarts the unit and kills the update mid-run. Nothing was installed and the app is still serving. SSH in and run `./node_modules/.bin/pm2 update` from the deployment directory, then retry the update here.",from:n,to:r};if(e===11||$(t,`PM2_NAME_TAKEN`)){let e=Q(t,/PM2_NAME_TAKEN: pm2's '[^']*' runs from (\S+),/);return{severity:`warning`,title:`Update cancelled — another Selva install${e?` (${e})`:``} uses this install's PM2 app name. The app is untouched.`,detail:"PM2 finds an app by name, so this update would have stopped the other install and left this one running on replaced files. Nothing was installed. On the server, give this install its own `name` in its ecosystem.config.cjs, run `npx selva start` from its directory, then retry the update here.",from:n,to:r}}if(e===13||$(t,`NOT_DOWNLOADABLE`))return{severity:`warning`,title:`Update cancelled — npm does not serve ${r??`the new version`} yet. The app is untouched.`,detail:`A release just published is listed on npm a few minutes before its files can be downloaded. Nothing was stopped or installed. Retry the update in a few minutes.`,from:n,to:r};if(e===12||$(t,`NOT_STOPPED`))return{severity:`warning`,title:`Update cancelled — the app kept answering after PM2 stopped it. Nothing was installed.`,detail:"Either this install's PM2 does not run the process that is serving (another PM2 daemon, a systemd unit or a shell started it), or it did not exit. Updating would have replaced its files without restarting it. On the server, find what holds the port (`ss -ltnp`), stop it there, run `npx selva start` from the deployment directory, then retry.",from:n,to:r};if(e===10||$(t,`DATA_FORMAT:`)){let e=Q(t,/reads data format (\d+),/),i=Q(t,/this deployment is on format (\d+)\./);return{severity:`warning`,title:`Update cancelled — ${r??`the target version`} cannot read this deployment's data. The app is untouched.`,detail:(e&&i?`It reads data format ${e}; this deployment is on format ${i}. `:``)+`Installing it would leave stored data, such as Compute API keys, unreadable. Switch the release channel back to stay on the installed version. To go back anyway, follow "Going back to an older release" in the admin guide.`,from:n,to:r}}if(e===8||$(t,`PM2_SKEW`)){let e=Q(t,/daemon \(v(\d+\.\d+\.\d+)\)/),i=Q(t,/deployment's pm2 \(v(\d+\.\d+\.\d+)\)/);return{severity:`warning`,title:e&&i?`Update cancelled — a global PM2 (v${e}) owns the daemon, not this deployment's (v${i}). The app is untouched.`:`Update cancelled — a conflicting global PM2 owns the daemon. The app is untouched.`,detail:"Resyncing would have downgraded the daemon and dropped its process table, so the update stopped before taking the app down. On the server: `which -a pm2`, `pm2 -v`, `pm2 ping` — remove or align the global pm2, then retry.",from:n,to:r}}if($(t,`SCHEMA_SKEW`)){let e=Q(t,/expects database migration head (\S+?),/),i=Q(t,/this database is at (\S+?)\./),a=e&&i?` The database is at ${i}; ${r??`it`} needs ${e}.`:``,o=Q(t,/@selvajs\/supabase-provider@([\w.-]+)/)??($(t,`channel: beta`)?`beta`:`latest`);return{severity:`warning`,title:`Update rolled back — the database migrations for ${r??`the new version`} have not been applied.${a} The app is online${n?` on ${n}`:``}.`,detail:`Nothing is wrong with the new version. Selva does not apply migrations during an update, because they cannot be rolled back — auto-migrating and then rolling the code back would leave the app and database on different heads. Apply them on the server, then re-run this update: \`npm install --prefer-online @selvajs/supabase-provider@${o}\`, then \`npx selva-supabase\`, then \`npx supabase db push\`. The provider install is not optional — the migration SQL ships inside that package, and the update only moves @selvajs/cli and @selvajs/selva, so a sync without it copies nothing and the push reports "up to date" having done nothing. Retrying without this will fail in exactly the same way.`,from:n,to:r}}if($(t,`AT_REST_SECRETS`))return{severity:`warning`,title:`Update rolled back — stored compute server keys do not decrypt under this host's SELVA_AT_REST_KEY. The app is online${n?` on ${n}`:``}.`,detail:`This is a configuration problem on the server, not a fault in the new version, so retrying alone will fail identically. Re-enter the affected keys at /admin/compute, or restore the SELVA_AT_REST_KEY the values were encrypted with, then re-run the update.`,from:n,to:r};if(e===5||$(t,`Rolled back`))return{severity:`warning`,title:`Update failed — safely rolled back${n?` to ${n}`:``}. The app is online.`,detail:`The new version failed its health check, so the previous version was restored and is serving normally. Review the log below for why the new version failed before retrying.`,from:n,to:r};if($(t,`ENGINE_MISMATCH`)||$(t,`EBADENGINE`)){let e=Q(t,/requires Node ([^\s]+(?:\s*[<>=]+\s*[\d.]+)*)/),i=Q(t,/this host runs v?(\d+\.\d+\.\d+)/);return{severity:`warning`,title:i?`Updated${r?` to ${r}`:``}, but this release needs Node ${e??`(newer)`} — the host runs v${i}. Expect runtime failures.`:`Updated${r?` to ${r}`:``}, but this release requires a newer Node than the host provides. Expect runtime failures.`,detail:`npm installed it anyway (engine-strict is off) and the health check passed, but it does not exercise the newer APIs — routes that do will throw at request time. Upgrade Node on the server, then re-run the update.`,from:n,to:r}}return $(t,`PM2_RESYNC_NEEDED`)?{severity:`warning`,title:`Updated${r?` to ${r}`:``}, but the pm2 daemon still runs the old pm2.`,detail:"The app is online. On the server, run `npx pm2 update` in the deployment directory, let it finish, then check `npx pm2 list` shows the app online.",from:n,to:r}:$(t,`PM2_PIN_FAILED`)?{severity:`warning`,title:`Updated${r?` to ${r}`:``}, but pm2 stayed on the previous version.`,detail:"The app is online on the old pm2. On the server, run `npx selva migrate` in the deployment directory to move it to the pinned version.",from:n,to:r}:$(t,`npm cache may be stale`)||$(t,`No version change`)?{severity:`warning`,title:`No version change — npm installed the same version.`,detail:"Your npm cache may be stale. On the server: `npm cache clean --force`, remove node_modules + package-lock.json, then `npm install --prefer-online`.",from:n,to:r}:e===0?$(t,`Already on the`)||$(t,`Nothing to do`)?{severity:`info`,title:`Already up to date${n?` (${n})`:``} — nothing to install.`,detail:`No changes were made and the app was not restarted.`,from:n,to:r}:n&&r&&n!==r?{severity:`success`,title:`Updated ${n} → ${r}. The app is back online.`,from:n,to:r}:r?{severity:`success`,title:`Update complete — now on ${r}. The app is back online.`,from:n,to:r}:{severity:`success`,title:`Update completed and the app is back online.`,from:n,to:r}:{severity:`critical`,title:`Update failed (exit code ${e}).`,detail:"The update did not complete cleanly. Review the log below, and check `npx selva logs` to confirm whether the app is currently online.",from:n,to:r}}var Tt=_(`<span title="Currently installed @selvajs/selva version"> </span>`),Et=_(`Update @selvajs/* to the latest <span class="font-medium"> </span> release and restart`,1),Dt=_(`<div class="flex items-start justify-between gap-3"><!> <!></div> <!>`,1),Ot=_(`<div class="border-warning/40 bg-warning/10 text-warning flex items-center gap-2 rounded-md border px-3 py-2 text-sm" role="status"><!> <span> <span class="font-mono"> </span> → <span class="font-mono"> </span></span></div>`),kt=_(`<p class="text-muted-foreground text-sm"> <span class="font-mono"> </span>).</p>`),At=_(`<div class="border-destructive/40 bg-destructive/10 text-destructive flex items-start gap-2 rounded-md border px-3 py-3 text-sm" role="alert"><!> <div class="space-y-1"><p class="font-medium">Update blocked — <span class="font-mono"> </span> cannot read this deployment's
2
2
  data</p> <p class="text-muted-foreground text-xs"> </p></div></div>`),jt=_(`<button type="button" class="text-muted-foreground hover:text-foreground text-xs underline underline-offset-2">Override anyway (advanced)</button>`),Mt=_(`<div class="space-y-2"><label class="text-muted-foreground block text-xs" for="node-override">Type <span class="text-foreground font-mono"> </span> to confirm you accept
3
3
  a deployment that may fail under real traffic:</label> <input id="node-override" class="border-input bg-background w-full rounded-md border px-2 py-1 font-mono text-xs" autocomplete="off" spellcheck="false"/></div>`),Nt=_(`<div class="border-destructive/40 bg-destructive/10 space-y-3 rounded-md border px-3 py-3 text-sm" role="alert"><div class="text-destructive flex items-start gap-2"><!> <div class="space-y-1"><p class="font-medium">Update blocked — this release needs a newer Node</p> <p class="text-muted-foreground text-xs"><span class="font-mono"> </span> requires Node <span class="font-mono"> </span>, but this host runs <span class="font-mono"> </span>. npm installs it anyway
4
4
  and the health check still passes, so a failed update would <span class="font-medium">not</span> roll back automatically. Upgrade Node on the server
@@ -1 +1 @@
1
- import{H as e,Lt as t,Ot as n,P as r,Q as i,St as a,V as o,ft as s,kt as c}from"../chunks/sphvlIzg.js";import{t as l}from"../chunks/85w20NVU.js";import{t as u}from"../chunks/CoLPPvYz.js";import{t as d}from"../chunks/rIQJtl5L.js";import{t as f}from"../chunks/DEthS42j.js";import{t as p}from"../chunks/34Sd6e9o.js";import{t as m}from"../chunks/1VJx1aVI.js";import{t as h}from"../chunks/C9yuuH4J.js";import{t as g}from"../chunks/CXFC38jr.js";import{t as _}from"../chunks/BkTC9VdY.js";import{t as v}from"../chunks/B7agp_uZ.js";function y(y,b){c(b,!0);let x=e=>b.data.platformPermissions.includes(`instance_admin`)||b.data.platformPermissions.includes(e)?!0:b.data.orgPermissions.includes(e),S=a(()=>[{href:`/admin`,label:`General`,icon:d,show:!0},{href:`/admin/organizations`,label:`Organizations`,icon:l,match:`prefix`,show:x(`instance_admin`)&&b.data.tenancy!==`single`},{href:`/admin/projects`,label:`Projects`,icon:u,match:`prefix`,show:x(`instance_admin`)&&b.data.platformProjectsEnabled},{href:`/admin/users`,label:`Users`,icon:g,match:`prefix`,show:x(`manage_instance_users`)},{href:`/admin/compute`,label:`Compute`,icon:m,match:`prefix`,show:x(`manage_compute`)},{href:`/admin/system`,label:`System`,icon:h,match:`prefix`,show:x(`manage_updates`)},{href:`/admin/audit`,label:`Audit log`,icon:p,match:`prefix`,show:x(`instance_admin`)&&b.data.auditAvailable}].filter(e=>e.show));f(y,{sidenav:e=>{v(e,{get items(){return i(S)},eyebrow:`Platform`,border:!1})},children:(n,i)=>{_(n,{children:(n,i)=>{var a=e(),c=s(a);r(c,()=>b.children??t),o(n,a)},$$slots:{default:!0}})},$$slots:{sidenav:!0,default:!0}}),n()}export{y as component};
1
+ import{H as e,Lt as t,Ot as n,P as r,Q as i,St as a,V as o,ft as s,kt as c}from"../chunks/sphvlIzg.js";import{t as l}from"../chunks/85w20NVU.js";import{t as u}from"../chunks/CoLPPvYz.js";import{t as d}from"../chunks/rIQJtl5L.js";import{t as f}from"../chunks/Bb1oceVC.js";import{t as p}from"../chunks/34Sd6e9o.js";import{t as m}from"../chunks/1VJx1aVI.js";import{t as h}from"../chunks/C9yuuH4J.js";import{t as g}from"../chunks/CXFC38jr.js";import{t as _}from"../chunks/BkTC9VdY.js";import{t as v}from"../chunks/BkNEmllz.js";function y(y,b){c(b,!0);let x=e=>b.data.platformPermissions.includes(`instance_admin`)||b.data.platformPermissions.includes(e)?!0:b.data.orgPermissions.includes(e),S=a(()=>[{href:`/admin`,label:`General`,icon:d,show:!0},{href:`/admin/organizations`,label:`Organizations`,icon:l,match:`prefix`,show:x(`instance_admin`)&&b.data.tenancy!==`single`},{href:`/admin/projects`,label:`Projects`,icon:u,match:`prefix`,show:x(`instance_admin`)&&b.data.platformProjectsEnabled},{href:`/admin/users`,label:`Users`,icon:g,match:`prefix`,show:x(`manage_instance_users`)},{href:`/admin/compute`,label:`Compute`,icon:m,match:`prefix`,show:x(`manage_compute`)},{href:`/admin/system`,label:`System`,icon:h,match:`prefix`,show:x(`manage_updates`)},{href:`/admin/audit`,label:`Audit log`,icon:p,match:`prefix`,show:x(`instance_admin`)&&b.data.auditAvailable}].filter(e=>e.show));f(y,{sidenav:e=>{v(e,{get items(){return i(S)},eyebrow:`Platform`,border:!1})},children:(n,i)=>{_(n,{children:(n,i)=>{var a=e(),c=s(a);r(c,()=>b.children??t),o(n,a)},$$slots:{default:!0}})},$$slots:{sidenav:!0,default:!0}}),n()}export{y as component};
@@ -1,2 +1,2 @@
1
- import{A as e,D as t,Ft as n,H as r,J as i,L as a,Ot as o,Pt as s,Q as c,St as l,U as u,V as d,_ as f,_t as p,dt as m,ft as h,kt as g,m as _,mt as v,n as y,ot as b,pt as x,q as S,r as C,t as w,v as T,y as E,yt as D}from"../chunks/sphvlIzg.js";import{r as O,s as k}from"../chunks/B3e8ZKjr.js";import{r as A}from"../chunks/Ca-1xMUo.js";import{t as j}from"../chunks/lMQbJOeE.js";import{a as M,c as N,o as P,s as F,t as I}from"../chunks/a5NclWb-.js";import{t as L}from"../chunks/DEthS42j.js";import{t as R}from"../chunks/CoB4qHba.js";import{t as z}from"../chunks/DtmJiR65.js";import{t as B}from"../chunks/TZzCN567.js";import{t as V}from"../chunks/BkTC9VdY.js";import{t as ee}from"../chunks/1AvDtYi1.js";import{t as H}from"../chunks/D6cAtf8B.js";import{t as te}from"../chunks/DR4HRB4w.js";import{n as ne}from"../chunks/BQmUk61d.js";var U={name:`funnel`,size:24,node:[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`}]],aliases:[`filter`]};U.node;var W=new Set([`$$slots`,`$$events`,`$$legacy`]);function re(e,t){let n=y(t,W);A(e,C(()=>n,{get icon(){return U}}))}var G=u(`<button type="button"><!></button>`);function K(e,t){g(t,!0);let r=w(t,`busy`,3,!1),a=w(t,`variant`,3,`overlay`);var s=G(),u=m(s);{let e=l(()=>t.starred?`fill-current`:``);R(u,{get class(){return`h-3.5 w-3.5 ${c(e)??``}`}})}n(s),b(()=>{_(s,`title`,t.starred?`Unstar`:`Star`),_(s,`aria-label`,t.starred?`Unstar definition`:`Star definition`),_(s,`aria-pressed`,t.starred),s.disabled=r(),T(s,1,E(a()===`overlay`?`absolute top-2 right-2 flex h-7 w-7 items-center justify-center rounded-full backdrop-blur-sm transition-all disabled:opacity-60 ${t.starred?`bg-amber-400/90 text-white`:`bg-black/40 text-white opacity-0 group-hover:opacity-100 hover:bg-black/55 pointer-coarse:opacity-100`}`:`flex h-7 w-7 items-center justify-center rounded-full transition-colors disabled:opacity-60 ${t.starred?`text-amber-500 hover:bg-amber-50`:`text-muted-foreground hover:text-foreground hover:bg-hover`}`))}),i(`click`,s,e=>{e.stopPropagation(),e.preventDefault(),t.onToggle()}),d(e,s),o()}S([`click`]);var q=u(`<div class="flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md"><img alt="" class="h-full w-full object-cover"/></div>`),J=u(`<div class="tool-cover-fallback flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md"><span class="text-faint-foreground text-base font-semibold"> </span></div>`),Y=u(`<p class="text-muted-foreground truncate text-[12px]"> </p>`),X=u(`<span class="bg-muted text-muted-foreground rounded-sm px-1.5 py-px font-mono text-[10.5px]"> </span>`),Z=u(`<button type="button"><!> <div class="min-w-0"><p class="truncate text-[13.5px] font-semibold"> </p> <!></div> <div class="hidden flex-wrap items-center gap-1 sm:flex"><!></div> <span class="text-muted-foreground hidden font-mono text-[12px] sm:inline"> </span> <div class="flex items-center justify-end gap-1"><!> <!></div></button>`),Q=u(`<div class="border-border bg-card overflow-hidden rounded-xl border"></div>`);function ie(s,u){g(u,!0);var p=Q();t(p,23,()=>u.records,e=>e.guid,(o,s,p)=>{var g=Z(),y=m(g),S=e=>{var t=q(),n=x(t);b(()=>_(n,`src`,c(s).coverImage)),d(e,t)},C=e=>{let t=l(()=>P(c(s).guid));var r=J();let i;var o=m(r),u=x(o,!0);n(r),b(e=>{i=f(r,``,i,{"--tool-h1":c(t).h1,"--tool-h2":c(t).h2}),a(u,e)},[()=>F(c(s).displayName)]),d(e,r)};e(y,e=>{c(s).coverImage?e(S):e(C,-1)});var w=v(y,2),E=m(w),D=x(E,!0),O=v(E,2),k=e=>{var t=Y(),n=x(t,!0);b(()=>a(n,c(s).description)),d(e,t)};e(O,e=>{c(s).description&&e(k)}),n(w);var A=v(w,2),M=m(A),N=e=>{var n=r(),i=h(n);t(i,16,()=>c(s).tags.slice(0,3),e=>e,(e,t)=>{var n=X(),r=x(n);b(()=>a(r,`#${t??``}`)),d(e,n)}),d(e,n)};e(M,e=>{c(s).tags?.length&&e(N)}),n(A);var I=v(A,2),L=x(I,!0),R=v(I,2),z=m(R);{let e=l(()=>u.starredIds.has(c(s).guid)),t=l(()=>u.starBusyGuid===c(s).guid);K(z,{get starred(){return c(e)},get busy(){return c(t)},variant:`chip`,onToggle:()=>u.onToggleStar(c(s).guid)})}var B=v(z,2);j(B,{class:`text-muted-foreground h-3.5 w-3.5 opacity-0 transition-opacity group-hover:opacity-100 pointer-coarse:opacity-100`}),n(R),n(g),b(e=>{g.disabled=u.loadingGuid===c(s).guid,T(g,1,`hover:bg-hover group grid w-full items-center gap-4 px-4 py-3 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60
1
+ import{A as e,D as t,Ft as n,H as r,J as i,L as a,Ot as o,Pt as s,Q as c,St as l,U as u,V as d,_ as f,_t as p,dt as m,ft as h,kt as g,m as _,mt as v,n as y,ot as b,pt as x,q as S,r as C,t as w,v as T,y as E,yt as D}from"../chunks/sphvlIzg.js";import{r as O,s as k}from"../chunks/B3e8ZKjr.js";import{r as A}from"../chunks/Ca-1xMUo.js";import{t as j}from"../chunks/lMQbJOeE.js";import{a as M,c as N,o as P,s as F,t as I}from"../chunks/a5NclWb-.js";import{t as L}from"../chunks/Bb1oceVC.js";import{t as R}from"../chunks/CoB4qHba.js";import{t as z}from"../chunks/DtmJiR65.js";import{t as B}from"../chunks/TZzCN567.js";import{t as V}from"../chunks/BkTC9VdY.js";import{t as ee}from"../chunks/1AvDtYi1.js";import{t as H}from"../chunks/D6cAtf8B.js";import{t as te}from"../chunks/DR4HRB4w.js";import{n as ne}from"../chunks/BQmUk61d.js";var U={name:`funnel`,size:24,node:[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`}]],aliases:[`filter`]};U.node;var W=new Set([`$$slots`,`$$events`,`$$legacy`]);function re(e,t){let n=y(t,W);A(e,C(()=>n,{get icon(){return U}}))}var G=u(`<button type="button"><!></button>`);function K(e,t){g(t,!0);let r=w(t,`busy`,3,!1),a=w(t,`variant`,3,`overlay`);var s=G(),u=m(s);{let e=l(()=>t.starred?`fill-current`:``);R(u,{get class(){return`h-3.5 w-3.5 ${c(e)??``}`}})}n(s),b(()=>{_(s,`title`,t.starred?`Unstar`:`Star`),_(s,`aria-label`,t.starred?`Unstar definition`:`Star definition`),_(s,`aria-pressed`,t.starred),s.disabled=r(),T(s,1,E(a()===`overlay`?`absolute top-2 right-2 flex h-7 w-7 items-center justify-center rounded-full backdrop-blur-sm transition-all disabled:opacity-60 ${t.starred?`bg-amber-400/90 text-white`:`bg-black/40 text-white opacity-0 group-hover:opacity-100 hover:bg-black/55 pointer-coarse:opacity-100`}`:`flex h-7 w-7 items-center justify-center rounded-full transition-colors disabled:opacity-60 ${t.starred?`text-amber-500 hover:bg-amber-50`:`text-muted-foreground hover:text-foreground hover:bg-hover`}`))}),i(`click`,s,e=>{e.stopPropagation(),e.preventDefault(),t.onToggle()}),d(e,s),o()}S([`click`]);var q=u(`<div class="flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md"><img alt="" class="h-full w-full object-cover"/></div>`),J=u(`<div class="tool-cover-fallback flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md"><span class="text-faint-foreground text-base font-semibold"> </span></div>`),Y=u(`<p class="text-muted-foreground truncate text-[12px]"> </p>`),X=u(`<span class="bg-muted text-muted-foreground rounded-sm px-1.5 py-px font-mono text-[10.5px]"> </span>`),Z=u(`<button type="button"><!> <div class="min-w-0"><p class="truncate text-[13.5px] font-semibold"> </p> <!></div> <div class="hidden flex-wrap items-center gap-1 sm:flex"><!></div> <span class="text-muted-foreground hidden font-mono text-[12px] sm:inline"> </span> <div class="flex items-center justify-end gap-1"><!> <!></div></button>`),Q=u(`<div class="border-border bg-card overflow-hidden rounded-xl border"></div>`);function ie(s,u){g(u,!0);var p=Q();t(p,23,()=>u.records,e=>e.guid,(o,s,p)=>{var g=Z(),y=m(g),S=e=>{var t=q(),n=x(t);b(()=>_(n,`src`,c(s).coverImage)),d(e,t)},C=e=>{let t=l(()=>P(c(s).guid));var r=J();let i;var o=m(r),u=x(o,!0);n(r),b(e=>{i=f(r,``,i,{"--tool-h1":c(t).h1,"--tool-h2":c(t).h2}),a(u,e)},[()=>F(c(s).displayName)]),d(e,r)};e(y,e=>{c(s).coverImage?e(S):e(C,-1)});var w=v(y,2),E=m(w),D=x(E,!0),O=v(E,2),k=e=>{var t=Y(),n=x(t,!0);b(()=>a(n,c(s).description)),d(e,t)};e(O,e=>{c(s).description&&e(k)}),n(w);var A=v(w,2),M=m(A),N=e=>{var n=r(),i=h(n);t(i,16,()=>c(s).tags.slice(0,3),e=>e,(e,t)=>{var n=X(),r=x(n);b(()=>a(r,`#${t??``}`)),d(e,n)}),d(e,n)};e(M,e=>{c(s).tags?.length&&e(N)}),n(A);var I=v(A,2),L=x(I,!0),R=v(I,2),z=m(R);{let e=l(()=>u.starredIds.has(c(s).guid)),t=l(()=>u.starBusyGuid===c(s).guid);K(z,{get starred(){return c(e)},get busy(){return c(t)},variant:`chip`,onToggle:()=>u.onToggleStar(c(s).guid)})}var B=v(z,2);j(B,{class:`text-muted-foreground h-3.5 w-3.5 opacity-0 transition-opacity group-hover:opacity-100 pointer-coarse:opacity-100`}),n(R),n(g),b(e=>{g.disabled=u.loadingGuid===c(s).guid,T(g,1,`hover:bg-hover group grid w-full items-center gap-4 px-4 py-3 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60
2
2
  grid-cols-[40px_minmax(0,1fr)_auto] sm:grid-cols-[40px_minmax(0,1.7fr)_minmax(0,1fr)_90px_36px] ${c(p)<u.records.length-1?`border-border border-b`:``}`),a(D,c(s).displayName),a(L,e)},[()=>c(s).solveCount>0?`${c(s).solveCount.toLocaleString()} runs`:`—`]),i(`click`,g,()=>u.onOpen(c(s).guid)),d(o,g)}),n(p),d(s,p),o()}S([`click`]);var ae=u(`<span class="bg-primary text-primary-foreground rounded-full px-1.5 py-px font-mono text-[10px]"> </span>`),oe=u(`<button type="button"><!> Filters <!></button>`),se=u(`<button type="button" class="text-muted-foreground hover:text-foreground inline-flex h-9 items-center gap-1 rounded-md px-2 text-xs transition-colors"><!> Clear</button>`),ce=u(`<div class="space-y-1.5"><label class="text-muted-foreground text-xs font-medium" for="filter-project">Project</label> <!></div>`),le=u(`<div class="space-y-1.5"><label class="text-muted-foreground text-xs font-medium" for="filter-category">Category</label> <!></div>`),ue=u(`<div class="space-y-1.5"><label class="text-muted-foreground text-xs font-medium" for="filter-tag">Tag</label> <!></div>`),de=u(`<div class="border-border bg-card rounded-md border p-4"><div class="grid gap-4 sm:grid-cols-3"><!> <!> <!></div></div>`),fe=u(`<button style="grid-template-columns: minmax(0, 1fr) auto auto"><span class="truncate font-medium"> </span> <span class="text-muted-foreground font-mono text-xs"> </span> <span class="flex items-center gap-1 text-xs font-medium opacity-0 transition-opacity group-hover:opacity-100 pointer-coarse:opacity-100"><span class="hidden sm:inline">Resume</span> <!></span></button>`),pe=u(`<section><div class="mb-3 flex items-baseline justify-between"><span class="text-muted-foreground text-xs font-medium tracking-wider uppercase">Recent runs</span> <span class="text-muted-foreground text-xs">Resume where you left off</span></div> <div class="border-border bg-card overflow-hidden rounded-md border"></div></section>`),me=u(`<div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"></div>`),he=u(`<button class="text-muted-foreground hover:text-foreground text-xs underline underline-offset-2">Clear all filters</button>`),ge=u(`<div class="space-y-6"><!> <div class="flex flex-wrap items-center gap-2"><div class="min-w-60 flex-1"><!></div> <!> <!></div> <!> <!> <!></div>`);function $(u,f){g(f,!0);let _=D(``),y=D(null),S=D(null),C=D(null),w=D(`grid`),E=D(null),A=D(null),P=D(!1),F=l(()=>new Set(f.data.starredRecords.map(e=>e.guid))),R=l(()=>[...f.data.starredRecords,...f.data.records]),U=l(()=>new Set(c(R).map(e=>e.projectId))),W=l(()=>Object.values(f.data.projects).filter(e=>c(U).has(e.id))),G=l(()=>Array.from(new Set(c(R).map(e=>e.category).filter(e=>!!e))).sort()),K=l(()=>Array.from(new Set(c(R).flatMap(e=>e.tags??[]))).sort());function q(e){return f.data.projects[e]?.name??``}function J(e){return f.data.projectMap[e]?.visibility}function Y(e){if(c(y)&&e.projectId!==c(y)||c(S)&&e.category!==c(S)||c(C)&&!(e.tags??[]).includes(c(C)))return!1;if(c(_).trim()){let t=c(_).toLowerCase();if(![e.displayName,e.description,e.category,...e.tags??[]].filter(Boolean).join(` `).toLowerCase().includes(t))return!1}return!0}let X=l(()=>c(R).filter(Y)),Z=l(()=>[c(y),c(S),c(C)].filter(e=>e!==null).length),Q=l(()=>c(_).trim()!==``||c(Z)>0);function $(e){p(E,e,!0),O(`/library/${e}`).catch(()=>{p(E,null)})}async function _e(e){p(A,e,!0);let t=c(F).has(e);try{let n=await fetch(`/api/v1/me/starred/${e}`,{method:t?`DELETE`:`PUT`});if(!n.ok)throw Error(`${n.status}`);await k()}catch{ne.error(t?`Failed to unstar`:`Failed to star`)}finally{p(A,null)}}function ve(){p(_,``),p(y,null),p(S,null),p(C,null),p(P,!1)}L(u,{children:(o,u)=>{V(o,{children:(o,u)=>{var g=ge(),D=m(g);{let e=e=>{N(e,{get mode(){return c(w)},onChange:e=>p(w,e,!0)})},t=l(()=>`${c(X).length} tool${c(X).length===1?``:`s`}${c(W).length>0?` across ${c(W).length} project${c(W).length===1?``:`s`}`:``}.`);ee(D,{eyebrow:`Workspace`,title:`Library`,get description(){return c(t)},actions:e,$$slots:{actions:!0}})}var O=v(D,2),k=m(O),L=m(k);te(L,{placeholder:`Search tools, descriptions, tags…`,clearable:!0,class:`h-9 rounded-md text-sm`,get value(){return c(_)},set value(e){p(_,e,!0)}}),n(k);var R=v(k,2),V=t=>{var r=oe(),o=m(r);re(o,{class:`h-3.5 w-3.5`});var s=v(o,2),l=e=>{var t=ae(),n=x(t,!0);b(()=>a(n,c(Z))),d(e,t)};e(s,e=>{c(Z)>0&&e(l)}),n(r),b(()=>T(r,1,`relative inline-flex h-9 items-center gap-1.5 rounded-md border px-3 text-sm transition-colors ${c(P)||c(Z)>0?`border-border bg-selected text-foreground`:`border-input bg-background text-foreground hover:bg-hover`}`)),i(`click`,r,()=>p(P,!c(P))),d(t,r)};e(R,e=>{(c(G).length>0||c(K).length>0||c(W).length>1)&&e(V)});var ne=v(R,2),U=e=>{var t=se(),r=m(t);z(r,{class:`h-3 w-3`}),s(),n(t),i(`click`,t,ve),d(e,t)};e(ne,e=>{c(Q)&&e(U)}),n(O);var Y=v(O,2),ye=t=>{var r=de(),i=m(r),a=m(i),o=e=>{var t=ce(),r=v(m(t),2);{let e=l(()=>[{id:``,label:`All projects`},...c(W).map(e=>({id:e.id,label:e.name}))]),t=l(()=>c(y)??``);B(r,{id:`filter-project`,get items(){return c(e)},get value(){return c(t)},onChange:e=>p(y,e||null,!0),size:`sm`})}n(t),d(e,t)};e(a,e=>{c(W).length>1&&e(o)});var s=v(a,2),u=e=>{var t=le(),r=v(m(t),2);{let e=l(()=>[{id:``,label:`All categories`},...c(G).map(e=>({id:e,label:e}))]),t=l(()=>c(S)??``);B(r,{id:`filter-category`,get items(){return c(e)},get value(){return c(t)},onChange:e=>p(S,e||null,!0),size:`sm`})}n(t),d(e,t)};e(s,e=>{c(G).length>0&&e(u)});var f=v(s,2),h=e=>{var t=ue(),r=v(m(t),2);{let e=l(()=>[{id:``,label:`All tags`},...c(K).map(e=>({id:e,label:`#${e}`}))]),t=l(()=>c(C)??``);B(r,{id:`filter-tag`,get items(){return c(e)},get value(){return c(t)},onChange:e=>p(C,e||null,!0),size:`sm`})}n(t),d(e,t)};e(f,e=>{c(K).length>0&&e(h)}),n(i),n(r),d(t,r)};e(Y,e=>{c(P)&&e(ye)});var be=v(Y,2),xe=e=>{var r=pe(),o=v(m(r),2);t(o,23,()=>f.data.recentRuns.slice(0,5),e=>e.runId,(e,t,r)=>{var o=fe(),s=m(o),l=x(s,!0),u=v(s,2),p=x(u,!0),h=v(u,2),g=v(m(h),2);j(g,{class:`h-3 w-3`}),n(h),n(o),b((e,n)=>{o.disabled=c(E)===c(t).definitionId,T(o,1,e),a(l,c(t).definitionName),a(p,n)},[()=>`group hover:bg-hover grid w-full items-center gap-4 px-4 py-3 text-left text-sm transition-colors disabled:cursor-not-allowed disabled:opacity-60 ${c(r)<Math.min(f.data.recentRuns.length,5)-1?`border-border border-b`:``}`,()=>M(c(t).timestamp)]),i(`click`,o,()=>$(c(t).definitionId)),d(e,o)}),n(o),n(r),d(e,r)};e(be,e=>{f.data.recentRuns.length>0&&!c(Q)&&e(xe)});var Se=v(be,2),Ce=i=>{var a=r(),o=h(a),s=e=>{var r=me();t(r,21,()=>c(X),e=>e.guid,(e,t)=>{{let n=l(()=>c(F).has(c(t).guid)),r=l(()=>c(E)===c(t).guid),i=l(()=>c(A)===c(t).guid),a=l(()=>c(W).length>1?q(c(t).projectId):void 0),o=l(()=>c(W).length>1?J(c(t).projectId):void 0);I(e,{get record(){return c(t)},get starred(){return c(n)},get loading(){return c(r)},get starBusy(){return c(i)},get projectName(){return c(a)},get projectVisibility(){return c(o)},onOpen:e=>$(e.guid),onToggleStar:_e})}}),n(r),d(e,r)},u=e=>{ie(e,{get records(){return c(X)},get starredIds(){return c(F)},get loadingGuid(){return c(E)},get starBusyGuid(){return c(A)},onOpen:$,onToggleStar:_e})};e(o,e=>{c(w)===`grid`?e(s):e(u,-1)}),d(i,a)},we=e=>{H(e,{size:`lg`,title:`No tools match your filters`,actions:e=>{var t=he();i(`click`,t,ve),d(e,t)},$$slots:{actions:!0}})},Te=e=>{H(e,{size:`lg`,title:`No tools available yet`,description:`Ask an admin to publish a Grasshopper definition.`})};e(Se,e=>{c(X).length>0?e(Ce):c(Q)?e(we,1):e(Te,-1)}),n(g),d(o,g)},$$slots:{default:!0}})},$$slots:{default:!0}}),o()}S([`click`]);export{$ as component};
@@ -0,0 +1 @@
1
+ export{t as component}from"../chunks/D84pURUQ.js";
@@ -0,0 +1 @@
1
+ ��export{t as component}from"../chunks/D84pURUQ.js";
@@ -1,4 +1,4 @@
1
- import{A as e,Ct as t,D as n,E as r,Ft as i,H as a,J as o,K as s,L as c,O as l,Ot as u,P as d,Pt as f,Q as p,S as m,St as h,T as g,U as _,V as v,Y as y,_ as b,_t as x,a as S,bt as C,dt as w,ft as T,ht as E,it as D,k as O,kt as k,lt as A,m as j,mt as M,n as N,ot as P,p as F,pt as I,q as L,r as R,s as z,st as B,t as V,u as H,ut as U,v as W,yt as G}from"../chunks/sphvlIzg.js";import{n as K}from"../chunks/BJGlbpZ0.js";import{r as q,s as J}from"../chunks/B3e8ZKjr.js";import{n as ee}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{r as Y}from"../chunks/Ca-1xMUo.js";import{t as X}from"../chunks/BbFMtSJ8.js";import{t as te}from"../chunks/D6SQx3MR.js";import{o as ne}from"../chunks/DNFu5yLd.js";import{t as re}from"../chunks/B9-uqzXO.js";import{a as ie,r as ae}from"../chunks/CivEAG-M.js";import{t as Z}from"../chunks/B7VqKSCZ.js";import{t as oe}from"../chunks/gNgZDPHs.js";import{c as se,d as ce,f as le,l as ue,m as de,p as fe,u as pe}from"../chunks/BSN2qO1R.js";import{t as me}from"../chunks/Bct5vmEM.js";import{c as he,i as ge,n as _e,o as ve,r as ye,s as be,t as xe}from"../chunks/a5NclWb-.js";import{t as Se}from"../chunks/ChEklEBB.js";import{t as Ce}from"../chunks/nJUe9gXb.js";import{t as we}from"../chunks/DmlEI0uK.js";import{o as Te}from"../chunks/Cms9vBTq.js";import{t as Ee}from"../chunks/C9yuuH4J.js";import{t as De}from"../chunks/BPWrsj_h.js";import{t as Oe}from"../chunks/v0PYjZZ5.js";import{t as ke}from"../chunks/CXFC38jr.js";import{t as Ae}from"../chunks/DtmJiR65.js";import{a as je,c as Me,i as Ne,n as Pe,o as Fe,r as Ie,s as Le,t as Re}from"../chunks/CdTxvcQ4.js";import{t as ze}from"../chunks/TZzCN567.js";import{a as Be,i as Ve,n as He,r as Ue,t as We}from"../chunks/aBYenH6-.js";import{t as Q}from"../chunks/BCgmDXNw.js";import{i as Ge,n as Ke,r as qe,t as Je}from"../chunks/CK2nnbJa.js";import{t as Ye}from"../chunks/BkTC9VdY.js";import{t as Xe}from"../chunks/1AvDtYi1.js";import{t as Ze}from"../chunks/D6cAtf8B.js";import{t as Qe}from"../chunks/ZGbF6Eux.js";import{t as $e}from"../chunks/CUaHcctM.js";import{t as et}from"../chunks/DR4HRB4w.js";import{t as tt}from"../chunks/Cj9-pF71.js";import{n as $}from"../chunks/BQmUk61d.js";import{t as nt}from"../chunks/DIYaLgLs.js";import{t as rt}from"../chunks/Uzaejkud.js";import{a as it,i as at,n as ot,r as st,t as ct}from"../chunks/CSy_25b1.js";import{n as lt,t as ut}from"../chunks/BVVRTJCQ.js";import{t as dt}from"../chunks/BFtd89gK.js";var ft={name:`cloud-upload`,size:24,node:[[`path`,{d:`M12 13v8`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m8 17 4-4 4 4`}]],aliases:[`upload-cloud`]};ft.node;var pt=new Set([`$$slots`,`$$events`,`$$legacy`]);function mt(e,t){let n=N(t,pt);Y(e,R(()=>n,{get icon(){return ft}}))}var ht={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]]};ht.node;var gt=new Set([`$$slots`,`$$events`,`$$legacy`]);function _t(e,t){let n=N(t,gt);Y(e,R(()=>n,{get icon(){return ht}}))}var vt={name:`folder-plus`,size:24,node:[[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]]};vt.node;var yt=new Set([`$$slots`,`$$events`,`$$legacy`]);function bt(e,t){let n=N(t,yt);Y(e,R(()=>n,{get icon(){return vt}}))}var xt={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]]};xt.node;var St=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ct(e,t){let n=N(t,St);Y(e,R(()=>n,{get icon(){return xt}}))}var wt={name:`list-plus`,size:24,node:[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M18 9v6`}],[`path`,{d:`M21 12h-6`}]]};wt.node;var Tt=new Set([`$$slots`,`$$events`,`$$legacy`]);function Et(e,t){let n=N(t,Tt);Y(e,R(()=>n,{get icon(){return wt}}))}var Dt={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],aliases:[`edit-3`]};Dt.node;var Ot=new Set([`$$slots`,`$$events`,`$$legacy`]);function kt(e,t){let n=N(t,Ot);Y(e,R(()=>n,{get icon(){return Dt}}))}var At={name:`share-2`,size:24,node:[[`circle`,{cx:`18`,cy:`5`,r:`3`}],[`circle`,{cx:`6`,cy:`12`,r:`3`}],[`circle`,{cx:`18`,cy:`19`,r:`3`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`}]]};At.node;var jt=new Set([`$$slots`,`$$events`,`$$legacy`]);function Mt(e,t){let n=N(t,jt);Y(e,R(()=>n,{get icon(){return At}}))}var Nt=_(`<div role="button" tabindex="-1" class="inset-0 fixed z-50 bg-overlay"></div> <div><!></div>`,1);function Pt(e,t){k(t,!0);let n=V(t,`width`,3,`w-125`),r=V(t,`ariaLabel`,3,`Close drawer`);function a(e){e.key===`Escape`&&t.onClose()}var s=Nt();y(`keydown`,U,a);var c=T(s),l=M(c,2),f=w(l);d(f,()=>t.children),i(l),P(()=>{j(c,`aria-label`,r()),W(l,1,`animate-in slide-in-from-right-4 top-0 right-0 fixed z-50 flex h-full max-w-full border-border bg-raised ${n()??``} flex-col overflow-y-auto border-l duration-150`)}),o(`click`,c,function(...e){t.onClose?.apply(this,e)}),o(`keydown`,c,a),v(e,s),u()}L([`click`,`keydown`]);var Ft=_(`<!> <span class="sm:inline hidden"> </span>`,1),It=_(`<div class="gap-2 sm:flex-row sm:items-center flex flex-col"><input type="file" accept="image/*" class="h-10 px-3 py-2 text-sm file:text-sm file:font-medium flex flex-1 rounded-md border border-input bg-field file:border-0 file:bg-transparent focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50"/> <!></div>`),Lt=_(`<div class="space-y-2"><div class="gap-1 p-0.5 flex rounded-md border"><!> <!></div> <!></div>`);function Rt(t,n){k(n,!0);let r=V(n,`mode`,3,`url`),a=V(n,`value`,3,``),l=V(n,`disabled`,3,!1),d=V(n,`isUploading`,3,!1),m=V(n,`hasFile`,3,!1),g=V(n,`inputRef`,15);var _=Lt(),y=w(_),b=w(y);{let e=h(()=>r()===`upload`?`ghost`:`default`);X(b,{size:`sm`,get variant(){return p(e)},onclick:()=>n.onModeChange?.(`url`),class:`h-7 text-xs flex-1`,children:(e,t)=>{f();var n=s(`URL`);v(e,n)},$$slots:{default:!0}})}var x=M(b,2);{let e=h(()=>r()===`upload`?`default`:`ghost`);X(x,{size:`sm`,get variant(){return p(e)},onclick:()=>n.onModeChange?.(`upload`),class:`h-7 text-xs flex-1`,children:(e,t)=>{f();var n=s(`Upload File`);v(e,n)},$$slots:{default:!0}})}i(y);var C=M(y,2),E=e=>{var t=It(),r=w(t);S(r,e=>g(e),()=>g());var a=M(r,2);{let e=h(()=>l()||!m()||d());X(a,{size:`sm`,get disabled(){return p(e)},get onclick(){return n.onUpload},class:`shrink-0`,children:(e,t)=>{var n=Ft(),r=T(n);pe(r,{class:`mr-2 h-4 w-4`});var i=M(r,2),a=I(i,!0);P(()=>c(a,d()?`Uploading…`:`Upload`)),v(e,n)},$$slots:{default:!0}})}i(t),P(()=>r.disabled=l()),o(`change`,r,function(...e){n.onFileSelected?.apply(this,e)}),v(e,t)},D=e=>{$e(e,{type:`text`,get value(){return a()},get disabled(){return l()},oninput:e=>n.onUrlChange?.(e.target.value),placeholder:`https://...`})};e(C,e=>{r()===`upload`?e(E):e(D,-1)}),i(_),v(t,_),u()}L([`change`]);var zt={breaking:`Breaking`,notable:`Changes`,cosmetic:`Cosmetic`};function Bt(e){let t=[];for(let n of[`breaking`,`notable`,`cosmetic`]){let r=e.changes.filter(e=>e.impact===n).map(Vt);r.length&&t.push(`### ${zt[n]}\n\n${r.join(`
1
+ import{A as e,Ct as t,D as n,E as r,Ft as i,H as a,J as o,K as s,L as c,O as l,Ot as u,P as d,Pt as f,Q as p,S as m,St as h,T as g,U as _,V as v,Y as y,_ as b,_t as x,a as S,bt as C,dt as w,ft as T,ht as E,it as D,k as O,kt as k,lt as A,m as j,mt as M,n as N,ot as P,p as F,pt as I,q as L,r as R,s as z,st as B,t as V,u as H,ut as U,v as W,yt as G}from"../chunks/sphvlIzg.js";import{n as K}from"../chunks/BJGlbpZ0.js";import{r as q,s as J}from"../chunks/B3e8ZKjr.js";import{n as ee}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{r as Y}from"../chunks/Ca-1xMUo.js";import{t as X}from"../chunks/BbFMtSJ8.js";import{t as te}from"../chunks/D6SQx3MR.js";import{o as ne}from"../chunks/DNFu5yLd.js";import{t as re}from"../chunks/B9-uqzXO.js";import{a as ie,r as ae}from"../chunks/CivEAG-M.js";import{t as Z}from"../chunks/B7VqKSCZ.js";import{t as oe}from"../chunks/gNgZDPHs.js";import{c as se,d as ce,f as le,l as ue,m as de,p as fe,u as pe}from"../chunks/BSN2qO1R.js";import{t as me}from"../chunks/Bct5vmEM.js";import{c as he,i as ge,n as _e,o as ve,r as ye,s as be,t as xe}from"../chunks/a5NclWb-.js";import{t as Se}from"../chunks/ChEklEBB.js";import{t as Ce}from"../chunks/nJUe9gXb.js";import{t as we}from"../chunks/DmlEI0uK.js";import{o as Te}from"../chunks/Cms9vBTq.js";import{t as Ee}from"../chunks/C9yuuH4J.js";import{t as De}from"../chunks/BPWrsj_h.js";import{t as Oe}from"../chunks/v0PYjZZ5.js";import{t as ke}from"../chunks/CXFC38jr.js";import{t as Ae}from"../chunks/DtmJiR65.js";import{a as je,c as Me,i as Ne,n as Pe,o as Fe,r as Ie,s as Le,t as Re}from"../chunks/CdTxvcQ4.js";import{t as ze}from"../chunks/TZzCN567.js";import{a as Be,i as Ve,n as He,r as Ue,t as We}from"../chunks/BiZjzEFQ.js";import{t as Q}from"../chunks/BCgmDXNw.js";import{i as Ge,n as Ke,r as qe,t as Je}from"../chunks/CK2nnbJa.js";import{t as Ye}from"../chunks/BkTC9VdY.js";import{t as Xe}from"../chunks/1AvDtYi1.js";import{t as Ze}from"../chunks/D6cAtf8B.js";import{t as Qe}from"../chunks/ZGbF6Eux.js";import{t as $e}from"../chunks/CUaHcctM.js";import{t as et}from"../chunks/DR4HRB4w.js";import{t as tt}from"../chunks/Cj9-pF71.js";import{n as $}from"../chunks/BQmUk61d.js";import{t as nt}from"../chunks/DIYaLgLs.js";import{t as rt}from"../chunks/Uzaejkud.js";import{a as it,i as at,n as ot,r as st,t as ct}from"../chunks/CSy_25b1.js";import{n as lt,t as ut}from"../chunks/BVVRTJCQ.js";import{t as dt}from"../chunks/BFtd89gK.js";var ft={name:`cloud-upload`,size:24,node:[[`path`,{d:`M12 13v8`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}],[`path`,{d:`m8 17 4-4 4 4`}]],aliases:[`upload-cloud`]};ft.node;var pt=new Set([`$$slots`,`$$events`,`$$legacy`]);function mt(e,t){let n=N(t,pt);Y(e,R(()=>n,{get icon(){return ft}}))}var ht={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]]};ht.node;var gt=new Set([`$$slots`,`$$events`,`$$legacy`]);function _t(e,t){let n=N(t,gt);Y(e,R(()=>n,{get icon(){return ht}}))}var vt={name:`folder-plus`,size:24,node:[[`path`,{d:`M12 10v6`}],[`path`,{d:`M9 13h6`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]]};vt.node;var yt=new Set([`$$slots`,`$$events`,`$$legacy`]);function bt(e,t){let n=N(t,yt);Y(e,R(()=>n,{get icon(){return vt}}))}var xt={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]]};xt.node;var St=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ct(e,t){let n=N(t,St);Y(e,R(()=>n,{get icon(){return xt}}))}var wt={name:`list-plus`,size:24,node:[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M18 9v6`}],[`path`,{d:`M21 12h-6`}]]};wt.node;var Tt=new Set([`$$slots`,`$$events`,`$$legacy`]);function Et(e,t){let n=N(t,Tt);Y(e,R(()=>n,{get icon(){return wt}}))}var Dt={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],aliases:[`edit-3`]};Dt.node;var Ot=new Set([`$$slots`,`$$events`,`$$legacy`]);function kt(e,t){let n=N(t,Ot);Y(e,R(()=>n,{get icon(){return Dt}}))}var At={name:`share-2`,size:24,node:[[`circle`,{cx:`18`,cy:`5`,r:`3`}],[`circle`,{cx:`6`,cy:`12`,r:`3`}],[`circle`,{cx:`18`,cy:`19`,r:`3`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`}]]};At.node;var jt=new Set([`$$slots`,`$$events`,`$$legacy`]);function Mt(e,t){let n=N(t,jt);Y(e,R(()=>n,{get icon(){return At}}))}var Nt=_(`<div role="button" tabindex="-1" class="inset-0 fixed z-50 bg-overlay"></div> <div><!></div>`,1);function Pt(e,t){k(t,!0);let n=V(t,`width`,3,`w-125`),r=V(t,`ariaLabel`,3,`Close drawer`);function a(e){e.key===`Escape`&&t.onClose()}var s=Nt();y(`keydown`,U,a);var c=T(s),l=M(c,2),f=w(l);d(f,()=>t.children),i(l),P(()=>{j(c,`aria-label`,r()),W(l,1,`animate-in slide-in-from-right-4 top-0 right-0 fixed z-50 flex h-full max-w-full border-border bg-raised ${n()??``} flex-col overflow-y-auto border-l duration-150`)}),o(`click`,c,function(...e){t.onClose?.apply(this,e)}),o(`keydown`,c,a),v(e,s),u()}L([`click`,`keydown`]);var Ft=_(`<!> <span class="sm:inline hidden"> </span>`,1),It=_(`<div class="gap-2 sm:flex-row sm:items-center flex flex-col"><input type="file" accept="image/*" class="h-10 px-3 py-2 text-sm file:text-sm file:font-medium flex flex-1 rounded-md border border-input bg-field file:border-0 file:bg-transparent focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none disabled:opacity-50"/> <!></div>`),Lt=_(`<div class="space-y-2"><div class="gap-1 p-0.5 flex rounded-md border"><!> <!></div> <!></div>`);function Rt(t,n){k(n,!0);let r=V(n,`mode`,3,`url`),a=V(n,`value`,3,``),l=V(n,`disabled`,3,!1),d=V(n,`isUploading`,3,!1),m=V(n,`hasFile`,3,!1),g=V(n,`inputRef`,15);var _=Lt(),y=w(_),b=w(y);{let e=h(()=>r()===`upload`?`ghost`:`default`);X(b,{size:`sm`,get variant(){return p(e)},onclick:()=>n.onModeChange?.(`url`),class:`h-7 text-xs flex-1`,children:(e,t)=>{f();var n=s(`URL`);v(e,n)},$$slots:{default:!0}})}var x=M(b,2);{let e=h(()=>r()===`upload`?`default`:`ghost`);X(x,{size:`sm`,get variant(){return p(e)},onclick:()=>n.onModeChange?.(`upload`),class:`h-7 text-xs flex-1`,children:(e,t)=>{f();var n=s(`Upload File`);v(e,n)},$$slots:{default:!0}})}i(y);var C=M(y,2),E=e=>{var t=It(),r=w(t);S(r,e=>g(e),()=>g());var a=M(r,2);{let e=h(()=>l()||!m()||d());X(a,{size:`sm`,get disabled(){return p(e)},get onclick(){return n.onUpload},class:`shrink-0`,children:(e,t)=>{var n=Ft(),r=T(n);pe(r,{class:`mr-2 h-4 w-4`});var i=M(r,2),a=I(i,!0);P(()=>c(a,d()?`Uploading…`:`Upload`)),v(e,n)},$$slots:{default:!0}})}i(t),P(()=>r.disabled=l()),o(`change`,r,function(...e){n.onFileSelected?.apply(this,e)}),v(e,t)},D=e=>{$e(e,{type:`text`,get value(){return a()},get disabled(){return l()},oninput:e=>n.onUrlChange?.(e.target.value),placeholder:`https://...`})};e(C,e=>{r()===`upload`?e(E):e(D,-1)}),i(_),v(t,_),u()}L([`change`]);var zt={breaking:`Breaking`,notable:`Changes`,cosmetic:`Cosmetic`};function Bt(e){let t=[];for(let n of[`breaking`,`notable`,`cosmetic`]){let r=e.changes.filter(e=>e.impact===n).map(Vt);r.length&&t.push(`### ${zt[n]}\n\n${r.join(`
2
2
  `)}`)}return t.join(`
3
3
 
4
4
  `)}function Vt(e){return e.change===`changed`?`- ${e.kind===`settings`?e.label:`${Ht(e.kind)} **${e.label}**`}: ${e.details.join(`; `)}`:`- ${Ht(e.change)} ${e.kind} **${e.label}**`}function Ht(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ut(e){switch(e.kind){case`missingPlugin`:return`${e.plugin} ${e.version} is not installed on the Compute server: its components are dropped and solves miss their outputs.`;case`unloaded`:{let t=`${e.count>1?`${e.count}× `:``}${e.component}`;if(!e.plugin)return`${t} did not load on the Compute server: no plugin it has provides it, so solves skip it and miss what it computes.`;let n=e.version&&e.serverVersion&&e.version!==e.serverVersion?` The file was saved with ${e.plugin} ${e.version}; the server runs ${e.serverVersion}, which lacks it.`:``;return`${t} (${e.plugin}) did not load on the Compute server, so solves skip it and miss what it computes.${n} Install a ${e.plugin} release that has it.`}case`pluginVersion`:return`Saved with ${e.plugin} ${e.version}; the Compute server runs ${e.serverVersion}.`;case`obsolete`:return`${e.count>1?`${e.count}× `:``}${e.component}${e.plugin?` (${e.plugin})`:``} is obsolete. Open and re-save the file in Grasshopper to upgrade it.`;case`secret`:return`${e.in===`script`?`Script`:`Value`} "${e.label}" looks like it holds a secret (${e.rules.join(`, `)}). Anyone who can download the file can read it.`}}function Wt(e){let t=[];for(let n of e.plugins)t.push(n.change===`added`?`- Uses ${n.plugin} ${n.after}`:n.change===`removed`?`- No longer uses ${n.plugin}`:`- ${n.plugin} ${n.before} → ${n.after}`);let n=(e,t)=>e.map(e=>`${t}${e.count>1?`${e.count} `:``}${e.name}`).join(`, `);e.components.added.length&&t.push(`- Components added: ${n(e.components.added,`+`)}`),e.components.removed.length&&t.push(`- Components removed: ${n(e.components.removed,`−`)}`);for(let n of e.scripts)t.push(n.change===`changed`?`- Script **${n.label}** edited (+${n.linesAdded} −${n.linesRemoved} lines)`:`- Script **${n.label}** ${n.change}`);for(let n of e.values){let e=e=>e===null?`(hidden)`:`\`${Gt(e)}\``;t.push(`- **${n.label}** ${e(n.before)} → ${e(n.after)}`)}return e.wires.changed&&!t.length&&t.push(`- Wiring changed`),t.join(`
@@ -1 +1 @@
1
- import{Ft as e,Ot as t,Q as n,St as r,U as i,V as a,dt as o,kt as s}from"../chunks/sphvlIzg.js";import{n as c}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as l}from"../chunks/Bs2bQTgl.js";var u=i(`<div class="px-6 py-6"><!></div>`);function d(i,d){s(d,!0);var f=u(),p=o(f);{let e=r(()=>c.error?.message);l(p,{get status(){return c.status},get message(){return n(e)}})}e(f),a(i,f),t()}export{d as component};
1
+ import{Ft as e,Ot as t,Q as n,St as r,U as i,V as a,dt as o,kt as s}from"../chunks/sphvlIzg.js";import{n as c}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as l}from"../chunks/NZEnWod8.js";var u=i(`<div class="px-6 py-6"><!></div>`);function d(i,d){s(d,!0);var f=u(),p=o(f);{let e=r(()=>c.error?.message);l(p,{get status(){return c.status},get message(){return n(e)}})}e(f),a(i,f),t()}export{d as component};
@@ -1 +1 @@
1
- import{H as e,Lt as t,P as n,V as r,ft as i}from"../chunks/sphvlIzg.js";import{t as a}from"../chunks/DEthS42j.js";function o(o,s){a(o,{mode:`fixed`,children:(a,o)=>{var c=e(),l=i(c);n(l,()=>s.children??t),r(a,c)},$$slots:{default:!0}})}export{o as component};
1
+ import{H as e,Lt as t,P as n,V as r,ft as i}from"../chunks/sphvlIzg.js";import{t as a}from"../chunks/Bb1oceVC.js";function o(o,s){a(o,{mode:`fixed`,children:(a,o)=>{var c=e(),l=i(c);n(l,()=>s.children??t),r(a,c)},$$slots:{default:!0}})}export{o as component};
@@ -0,0 +1 @@
1
+ @dͶio����O?���O�ŪW�MdH ������咴�! �]��O'�!�Q��y�`��>�TUs�G���U����PM�5D�ڷh���K&TJ(��g�s��d��`�M%�'����c��q . �p<a��ө@��M.J�t8+~砩K�������r
@@ -1 +1 @@
1
- import{A as e,Ft as t,H as n,L as r,Lt as i,Ot as a,P as o,Q as s,St as c,U as l,V as u,dt as d,ft as f,kt as p,mt as m,n as h,ot as g,pt as _,r as v}from"../chunks/sphvlIzg.js";import{n as y}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{r as b}from"../chunks/Ca-1xMUo.js";import{t as x}from"../chunks/C0bsOHz0.js";import{t as S}from"../chunks/DqBxcKN2.js";import{t as C}from"../chunks/rIQJtl5L.js";import{t as w}from"../chunks/D-1_v2Lf.js";import{t as T}from"../chunks/ChEklEBB.js";import{t as E}from"../chunks/DEthS42j.js";import{t as D}from"../chunks/DBMBAz5L.js";import{t as O}from"../chunks/1VJx1aVI.js";import{t as k}from"../chunks/CXFC38jr.js";import{t as A}from"../chunks/BkTC9VdY.js";import{t as j}from"../chunks/B7agp_uZ.js";var M={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`}],[`path`,{d:`M12 19H3`}],[`path`,{d:`M14 3v4`}],[`path`,{d:`M16 17v4`}],[`path`,{d:`M21 12h-9`}],[`path`,{d:`M21 19h-5`}],[`path`,{d:`M21 5h-7`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M8 12H3`}]]};M.node;var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){let n=h(t,N);b(e,v(()=>n,{get icon(){return M}}))}var F=l(`<p class="text-muted-foreground truncate font-mono text-[10px]"> </p>`),I=l(`<div class="border-border bg-selected flex items-center gap-2 rounded-md border px-2.5 py-2"><span class="bg-primary/15 text-primary flex h-6 w-6 shrink-0 items-center justify-center rounded-sm font-mono text-[11px] font-semibold"> </span> <div class="min-w-0 flex-1"><p class="truncate text-sm leading-tight font-medium"> </p> <!></div></div>`);function L(l,h){p(h,!0);let v=c(()=>h.data.ctx?.orgPermissions??[]),b=e=>s(v).includes(e),M=c(()=>!!y.data.flags?.enableSharing),N=c(()=>[{href:`/team`,label:`General`,icon:C,show:!0},{href:`/team/members`,label:`Members & roles`,icon:k,match:`prefix`,show:b(`manage_org_members`)},{href:`/team/projects`,label:`Projects`,icon:S,match:`prefix`,show:b(`manage_projects`)},{href:`/team/reclaim`,label:`Reclaim`,icon:D,match:`prefix`,show:b(`manage_org_members`)},{href:`/team/activity`,label:`Activity`,icon:x,match:`prefix`,show:!0},{href:`/team/shares`,label:`Share links`,icon:T,match:`prefix`,show:s(M)&&b(`manage_definitions`)},{href:`/team/tokens`,label:`API tokens`,icon:w,match:`prefix`,show:!!h.data.ctx?.mayHoldApiTokens},{href:`/team/compute`,label:`Compute`,icon:O,match:`prefix`,show:b(`manage_org_compute`)},{href:`/team/settings`,label:`Settings`,icon:P,match:`prefix`,show:b(`manage_org_members`)}].filter(e=>e.show)),L=c(()=>!!h.data.org&&h.data.org.slug!==h.data.org.name.toLowerCase().replace(/\s+/g,`-`));function R(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0].toUpperCase()).join(``)}E(l,{sidenav:i=>{j(i,{get items(){return s(N)},eyebrow:`Organization`,border:!1,header:i=>{var a=n(),o=f(a),c=n=>{var i=I(),a=d(i),o=_(a,!0),c=m(a,2),l=d(c),f=_(l,!0),p=m(l,2),v=e=>{var t=F(),n=_(t,!0);g(()=>r(n,h.data.org.slug)),u(e,t)};e(p,e=>{s(L)&&e(v)}),t(c),t(i),g(e=>{r(o,e),r(f,h.data.org.name)},[()=>R(h.data.org.name)]),u(n,i)};e(o,e=>{h.data.org&&e(c)}),u(i,a)},$$slots:{header:!0}})},children:(e,t)=>{A(e,{children:(e,t)=>{var r=n(),a=f(r);o(a,()=>h.children??i),u(e,r)},$$slots:{default:!0}})},$$slots:{sidenav:!0,default:!0}}),a()}export{L as component};
1
+ import{A as e,Ft as t,H as n,L as r,Lt as i,Ot as a,P as o,Q as s,St as c,U as l,V as u,dt as d,ft as f,kt as p,mt as m,n as h,ot as g,pt as _,r as v}from"../chunks/sphvlIzg.js";import{n as y}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{r as b}from"../chunks/Ca-1xMUo.js";import{t as x}from"../chunks/C0bsOHz0.js";import{t as S}from"../chunks/DqBxcKN2.js";import{t as C}from"../chunks/rIQJtl5L.js";import{t as w}from"../chunks/D-1_v2Lf.js";import{t as T}from"../chunks/ChEklEBB.js";import{t as E}from"../chunks/Bb1oceVC.js";import{t as D}from"../chunks/DBMBAz5L.js";import{t as O}from"../chunks/1VJx1aVI.js";import{t as k}from"../chunks/CXFC38jr.js";import{t as A}from"../chunks/BkTC9VdY.js";import{t as j}from"../chunks/BkNEmllz.js";var M={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`}],[`path`,{d:`M12 19H3`}],[`path`,{d:`M14 3v4`}],[`path`,{d:`M16 17v4`}],[`path`,{d:`M21 12h-9`}],[`path`,{d:`M21 19h-5`}],[`path`,{d:`M21 5h-7`}],[`path`,{d:`M8 10v4`}],[`path`,{d:`M8 12H3`}]]};M.node;var N=new Set([`$$slots`,`$$events`,`$$legacy`]);function P(e,t){let n=h(t,N);b(e,v(()=>n,{get icon(){return M}}))}var F=l(`<p class="text-muted-foreground truncate font-mono text-[10px]"> </p>`),I=l(`<div class="border-border bg-selected flex items-center gap-2 rounded-md border px-2.5 py-2"><span class="bg-primary/15 text-primary flex h-6 w-6 shrink-0 items-center justify-center rounded-sm font-mono text-[11px] font-semibold"> </span> <div class="min-w-0 flex-1"><p class="truncate text-sm leading-tight font-medium"> </p> <!></div></div>`);function L(l,h){p(h,!0);let v=c(()=>h.data.ctx?.orgPermissions??[]),b=e=>s(v).includes(e),M=c(()=>!!y.data.flags?.enableSharing),N=c(()=>[{href:`/team`,label:`General`,icon:C,show:!0},{href:`/team/members`,label:`Members & roles`,icon:k,match:`prefix`,show:b(`manage_org_members`)},{href:`/team/projects`,label:`Projects`,icon:S,match:`prefix`,show:b(`manage_projects`)},{href:`/team/reclaim`,label:`Reclaim`,icon:D,match:`prefix`,show:b(`manage_org_members`)},{href:`/team/activity`,label:`Activity`,icon:x,match:`prefix`,show:!0},{href:`/team/shares`,label:`Share links`,icon:T,match:`prefix`,show:s(M)&&b(`manage_definitions`)},{href:`/team/tokens`,label:`API tokens`,icon:w,match:`prefix`,show:!!h.data.ctx?.mayHoldApiTokens},{href:`/team/compute`,label:`Compute`,icon:O,match:`prefix`,show:b(`manage_org_compute`)},{href:`/team/settings`,label:`Settings`,icon:P,match:`prefix`,show:b(`manage_org_members`)}].filter(e=>e.show)),L=c(()=>!!h.data.org&&h.data.org.slug!==h.data.org.name.toLowerCase().replace(/\s+/g,`-`));function R(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0].toUpperCase()).join(``)}E(l,{sidenav:i=>{j(i,{get items(){return s(N)},eyebrow:`Organization`,border:!1,header:i=>{var a=n(),o=f(a),c=n=>{var i=I(),a=d(i),o=_(a,!0),c=m(a,2),l=d(c),f=_(l,!0),p=m(l,2),v=e=>{var t=F(),n=_(t,!0);g(()=>r(n,h.data.org.slug)),u(e,t)};e(p,e=>{s(L)&&e(v)}),t(c),t(i),g(e=>{r(o,e),r(f,h.data.org.name)},[()=>R(h.data.org.name)]),u(n,i)};e(o,e=>{h.data.org&&e(c)}),u(i,a)},$$slots:{header:!0}})},children:(e,t)=>{A(e,{children:(e,t)=>{var r=n(),a=f(r);o(a,()=>h.children??i),u(e,r)},$$slots:{default:!0}})},$$slots:{sidenav:!0,default:!0}}),a()}export{L as component};
@@ -1 +1 @@
1
- import{A as e,D as t,Ft as n,L as r,Ot as i,Pt as a,Q as o,S as s,St as c,U as l,V as u,W as d,_ as f,dt as p,ft as m,kt as h,lt as g,m as _,mt as v,ot as y,pt as b,rt as x,v as S}from"../chunks/sphvlIzg.js";import{n as C}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as w}from"../chunks/BbFMtSJ8.js";import{t as T}from"../chunks/lMQbJOeE.js";import{t as E}from"../chunks/DEthS42j.js";var D=d(`<path pathLength="1" fill="none" stroke="currentColor" stroke-width="1.25" class="wire svelte-1uha8ag"></path><path pathLength="1" fill="none" stroke-width="1.75" stroke-linecap="round"></path><rect width="32" height="16" rx="4" class="node fill-background stroke-current svelte-1uha8ag"></rect>`,1),O=d(`<circle r="3.5" class="node fill-background stroke-current svelte-1uha8ag" style="--d: 1100ms"></circle>`),k=d(`<g class="svelte-1uha8ag"><!><!></g>`),A=l(`<p class="text-muted-foreground mt-3 text-base text-balance svelte-1uha8ag"> </p>`),j=l(`Sign in <!>`,1),M=l(`<div class="relative isolate flex min-h-[80vh] w-full items-center justify-center overflow-hidden svelte-1uha8ag"><svg aria-hidden="true" viewBox="0 0 1400 700" class="text-faint-foreground pointer-events-none absolute top-1/2 left-1/2 -z-10 hidden h-175 w-350 max-w-none -translate-x-1/2 -translate-y-1/2 mask-[linear-gradient(90deg,transparent,#000_14%,#000_86%,transparent)] md:block svelte-1uha8ag"></svg> <div class="flex w-full max-w-xl flex-col items-center px-4 text-center svelte-1uha8ag"><img src="/favicon/favicon.svg" alt="" class="rise size-20 drop-shadow-md dark:filter-[drop-shadow(0_0_0.5px_oklch(1_0_0/0.45))] svelte-1uha8ag" style="--d: 0ms"/> <h1 class="rise mt-6 text-5xl font-bold tracking-tighter sm:text-6xl svelte-1uha8ag" style="--d: 100ms"> </h1> <!> <!></div></div>`);function N(l,d){h(d,!0);let N=c(()=>C.data.branding),P=[{y:320,dur:11,delay:2},{y:350,dur:13.5,delay:4.5},{y:380,dur:9.5,delay:6.5}],F=({x:e,y:t,port:n},r)=>({x:e,y:t,port:n,jitter:r%3*.12,d:`M-10,${t} H${e} C${e+190},${t} 420,${P[n].y} 580,${P[n].y}`}),I=[{x:200,y:110,port:0},{x:110,y:235,port:0},{x:250,y:350,port:1},{x:130,y:465,port:2},{x:210,y:590,port:2}].map(F),L=[{y:90,port:0},{y:185,port:0},{y:270,port:1},{y:350,port:1},{y:430,port:1},{y:515,port:2},{y:610,port:2}].map((e,t)=>F({x:190,...e},t)),R=[{out:!1,wires:I},{out:!0,wires:L}];s(`1uha8ag`,e=>{x(()=>{g.title=o(N).name??``})}),E(l,{showSignIn:!1,children:(i,s)=>{var c=M(),l=p(c);t(l,21,()=>R,e=>e.out,(e,r)=>{var i=k(),a=p(i);t(a,19,()=>o(r).wires,e=>e.d,(e,t,n)=>{var i=D(),a=m(i),s=v(a);let c;var l=v(s);y(()=>{_(a,`d`,o(t).d),f(a,`--d: ${300+o(n)*110}ms`),_(s,`d`,o(t).d),c=S(s,0,`pulse svelte-1uha8ag`,null,c,{out:o(r).out}),f(s,`--dur: ${P[o(t).port].dur??``}s; --d: ${P[o(t).port].delay+(o(r).out?o(t).jitter:0)}s`),_(l,`x`,o(t).x-16),_(l,`y`,o(t).y-8),f(l,`--d: ${200+o(n)*110}ms`)}),u(e,i)});var s=v(a);t(s,17,()=>P,e=>e.y,(e,t)=>{var n=O();_(n,`cx`,580),y(()=>_(n,`cy`,o(t).y)),u(e,n)}),n(i),y(()=>_(i,`transform`,o(r).out?`translate(1400 0) scale(-1 1)`:void 0)),u(e,i)}),n(l);var d=v(l,2),h=v(p(d),2),g=b(h,!0),x=v(h,2),C=e=>{var t=A(),n=b(t,!0);y(()=>r(n,o(N).tagline)),u(e,t)};e(x,e=>{o(N).tagline&&e(C)});var E=v(x,2);w(E,{href:`/login`,size:`lg`,class:`rise group mt-8`,style:`--d: 200ms`,children:(e,t)=>{a();var n=j(),r=v(m(n));T(r,{class:`ml-1 h-4 w-4 transition-transform group-hover:translate-x-0.5`}),u(e,n)},$$slots:{default:!0}}),n(d),n(c),y(()=>r(g,o(N).name)),u(i,c)},$$slots:{default:!0}}),i()}export{N as component};
1
+ import{A as e,D as t,Ft as n,L as r,Ot as i,Pt as a,Q as o,S as s,St as c,U as l,V as u,W as d,_ as f,dt as p,ft as m,kt as h,lt as g,m as _,mt as v,ot as y,pt as b,rt as x,v as S}from"../chunks/sphvlIzg.js";import{n as C}from"../chunks/BFJ8iwO4.js";import"../chunks/BHnRUwtv.js";import{t as w}from"../chunks/BbFMtSJ8.js";import{t as T}from"../chunks/lMQbJOeE.js";import{t as E}from"../chunks/Bb1oceVC.js";var D=d(`<path pathLength="1" fill="none" stroke="currentColor" stroke-width="1.25" class="wire svelte-1uha8ag"></path><path pathLength="1" fill="none" stroke-width="1.75" stroke-linecap="round"></path><rect width="32" height="16" rx="4" class="node fill-background stroke-current svelte-1uha8ag"></rect>`,1),O=d(`<circle r="3.5" class="node fill-background stroke-current svelte-1uha8ag" style="--d: 1100ms"></circle>`),k=d(`<g class="svelte-1uha8ag"><!><!></g>`),A=l(`<p class="text-muted-foreground mt-3 text-base text-balance svelte-1uha8ag"> </p>`),j=l(`Sign in <!>`,1),M=l(`<div class="relative isolate flex min-h-[80vh] w-full items-center justify-center overflow-hidden svelte-1uha8ag"><svg aria-hidden="true" viewBox="0 0 1400 700" class="text-faint-foreground pointer-events-none absolute top-1/2 left-1/2 -z-10 hidden h-175 w-350 max-w-none -translate-x-1/2 -translate-y-1/2 mask-[linear-gradient(90deg,transparent,#000_14%,#000_86%,transparent)] md:block svelte-1uha8ag"></svg> <div class="flex w-full max-w-xl flex-col items-center px-4 text-center svelte-1uha8ag"><img src="/favicon/favicon.svg" alt="" class="rise size-20 drop-shadow-md dark:filter-[drop-shadow(0_0_0.5px_oklch(1_0_0/0.45))] svelte-1uha8ag" style="--d: 0ms"/> <h1 class="rise mt-6 text-5xl font-bold tracking-tighter sm:text-6xl svelte-1uha8ag" style="--d: 100ms"> </h1> <!> <!></div></div>`);function N(l,d){h(d,!0);let N=c(()=>C.data.branding),P=[{y:320,dur:11,delay:2},{y:350,dur:13.5,delay:4.5},{y:380,dur:9.5,delay:6.5}],F=({x:e,y:t,port:n},r)=>({x:e,y:t,port:n,jitter:r%3*.12,d:`M-10,${t} H${e} C${e+190},${t} 420,${P[n].y} 580,${P[n].y}`}),I=[{x:200,y:110,port:0},{x:110,y:235,port:0},{x:250,y:350,port:1},{x:130,y:465,port:2},{x:210,y:590,port:2}].map(F),L=[{y:90,port:0},{y:185,port:0},{y:270,port:1},{y:350,port:1},{y:430,port:1},{y:515,port:2},{y:610,port:2}].map((e,t)=>F({x:190,...e},t)),R=[{out:!1,wires:I},{out:!0,wires:L}];s(`1uha8ag`,e=>{x(()=>{g.title=o(N).name??``})}),E(l,{showSignIn:!1,children:(i,s)=>{var c=M(),l=p(c);t(l,21,()=>R,e=>e.out,(e,r)=>{var i=k(),a=p(i);t(a,19,()=>o(r).wires,e=>e.d,(e,t,n)=>{var i=D(),a=m(i),s=v(a);let c;var l=v(s);y(()=>{_(a,`d`,o(t).d),f(a,`--d: ${300+o(n)*110}ms`),_(s,`d`,o(t).d),c=S(s,0,`pulse svelte-1uha8ag`,null,c,{out:o(r).out}),f(s,`--dur: ${P[o(t).port].dur??``}s; --d: ${P[o(t).port].delay+(o(r).out?o(t).jitter:0)}s`),_(l,`x`,o(t).x-16),_(l,`y`,o(t).y-8),f(l,`--d: ${200+o(n)*110}ms`)}),u(e,i)});var s=v(a);t(s,17,()=>P,e=>e.y,(e,t)=>{var n=O();_(n,`cx`,580),y(()=>_(n,`cy`,o(t).y)),u(e,n)}),n(i),y(()=>_(i,`transform`,o(r).out?`translate(1400 0) scale(-1 1)`:void 0)),u(e,i)}),n(l);var d=v(l,2),h=v(p(d),2),g=b(h,!0),x=v(h,2),C=e=>{var t=A(),n=b(t,!0);y(()=>r(n,o(N).tagline)),u(e,t)};e(x,e=>{o(N).tagline&&e(C)});var E=v(x,2);w(E,{href:`/login`,size:`lg`,class:`rise group mt-8`,style:`--d: 200ms`,children:(e,t)=>{a();var n=j(),r=v(m(n));T(r,{class:`ml-1 h-4 w-4 transition-transform group-hover:translate-x-0.5`}),u(e,n)},$$slots:{default:!0}}),n(d),n(c),y(()=>r(g,o(N).name)),u(i,c)},$$slots:{default:!0}}),i()}export{N as component};
@@ -1 +1 @@
1
- {"version":"1795255483257"}
1
+ {"version":"1795259991020"}
Binary file
Binary file
@@ -1680,7 +1680,7 @@
1680
1680
  "_toast-state.svelte.js"
1681
1681
  ],
1682
1682
  "css": [
1683
- "_app/immutable/assets/_layout.Ct4dsf2W.css"
1683
+ "_app/immutable/assets/_layout.K3A9pxsi.css"
1684
1684
  ],
1685
1685
  "assets": [
1686
1686
  "_app/immutable/assets/hanken-grotesk-vietnamese-wght-normal.CHiFlh_0.woff2",