@norskvideo/norsk-studio-built-ins 1.27.0-2025-07-09-d12abafa → 1.27.0-2025-07-11-977d50bc

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 (57) hide show
  1. package/client/info.js +284 -224
  2. package/client/output.autoCmaf/style.css +3 -0
  3. package/client/style.css +10 -0
  4. package/lib/input.file/info.d.ts +4 -0
  5. package/lib/input.file/info.js +18 -2
  6. package/lib/input.file/info.js.map +1 -1
  7. package/lib/input.file/inline-view.js +1 -1
  8. package/lib/input.file/inline-view.js.map +1 -1
  9. package/lib/input.file/runtime.d.ts +5 -1
  10. package/lib/input.file/runtime.js +40 -21
  11. package/lib/input.file/runtime.js.map +1 -1
  12. package/lib/input.file/types.d.ts +9 -0
  13. package/lib/input.file/types.source.yaml +20 -0
  14. package/lib/input.file/types.yaml +20 -0
  15. package/lib/output.autoCmaf/info.js +8 -0
  16. package/lib/output.autoCmaf/info.js.map +1 -1
  17. package/lib/output.autoCmaf/inline-view.js +4 -2
  18. package/lib/output.autoCmaf/inline-view.js.map +1 -1
  19. package/lib/output.autoCmaf/types.d.ts +1 -0
  20. package/lib/output.autoCmaf/types.yaml +5 -0
  21. package/lib/output.cmafPlaylist/info.js +3 -1
  22. package/lib/output.cmafPlaylist/info.js.map +1 -1
  23. package/lib/output.preview/info.js +1 -1
  24. package/lib/output.preview/info.js.map +1 -1
  25. package/lib/processor.browserOverlay/info.js +9 -1
  26. package/lib/processor.browserOverlay/info.js.map +1 -1
  27. package/lib/processor.fixedLadder/info.js +8 -0
  28. package/lib/processor.fixedLadder/info.js.map +1 -1
  29. package/lib/processor.videoDecoder/info.d.ts +2 -2
  30. package/lib/processor.videoDecoder/info.js +42 -11
  31. package/lib/processor.videoDecoder/info.js.map +1 -1
  32. package/lib/processor.videoDecoder/runtime.js +5 -1
  33. package/lib/processor.videoDecoder/runtime.js.map +1 -1
  34. package/lib/processor.videoDecoder/types.d.ts +12 -1
  35. package/lib/processor.videoDecoder/types.yaml +37 -5
  36. package/lib/processor.videoDecoder/views.d.ts +2 -0
  37. package/lib/processor.videoDecoder/views.js +18 -0
  38. package/lib/processor.videoDecoder/views.js.map +1 -0
  39. package/lib/processor.zoomTo/info.d.ts +0 -8
  40. package/lib/processor.zoomTo/info.js +0 -31
  41. package/lib/processor.zoomTo/info.js.map +1 -1
  42. package/lib/processor.zoomTo/runtime.d.ts +0 -4
  43. package/lib/processor.zoomTo/runtime.js +24 -24
  44. package/lib/processor.zoomTo/runtime.js.map +1 -1
  45. package/lib/processor.zoomTo/types.d.ts +0 -14
  46. package/lib/processor.zoomTo/types.yaml +2 -41
  47. package/lib/shared/cmaf.js +0 -9
  48. package/lib/shared/cmaf.js.map +1 -1
  49. package/lib/test/auto-cmaf.js +3 -1
  50. package/lib/test/auto-cmaf.js.map +1 -1
  51. package/lib/test/file-input.js +86 -0
  52. package/lib/test/file-input.js.map +1 -1
  53. package/lib/test/smart-source-switch.js +7 -7
  54. package/lib/test/smart-source-switch.js.map +1 -1
  55. package/lib/test/zoom-to.js +0 -4
  56. package/lib/test/zoom-to.js.map +1 -1
  57. package/package.json +3 -3
package/client/info.js CHANGED
@@ -47159,13 +47159,13 @@ var require_dist3 = __commonJS({
47159
47159
  });
47160
47160
  module.exports = __toCommonJS2(src_exports);
47161
47161
  var React3 = __toESM2(require_react());
47162
- var import_jsx_runtime53 = require_jsx_runtime();
47162
+ var import_jsx_runtime54 = require_jsx_runtime();
47163
47163
  function createContext2(rootComponentName, defaultContext) {
47164
47164
  const Context = React3.createContext(defaultContext);
47165
47165
  const Provider = (props) => {
47166
47166
  const { children, ...context } = props;
47167
47167
  const value = React3.useMemo(() => context, Object.values(context));
47168
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
47168
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
47169
47169
  };
47170
47170
  Provider.displayName = rootComponentName + "Provider";
47171
47171
  function useContext2(consumerName) {
@@ -47188,7 +47188,7 @@ var require_dist3 = __commonJS({
47188
47188
  const { scope, children, ...context } = props;
47189
47189
  const Context = scope?.[scopeName]?.[index3] || BaseContext;
47190
47190
  const value = React3.useMemo(() => context, Object.values(context));
47191
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
47191
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
47192
47192
  };
47193
47193
  Provider.displayName = rootComponentName + "Provider";
47194
47194
  function useContext2(consumerName, scope) {
@@ -47356,7 +47356,7 @@ var require_dist5 = __commonJS({
47356
47356
  module.exports = __toCommonJS2(src_exports);
47357
47357
  var React3 = __toESM2(require_react());
47358
47358
  var import_react_compose_refs = require_dist4();
47359
- var import_jsx_runtime53 = require_jsx_runtime();
47359
+ var import_jsx_runtime54 = require_jsx_runtime();
47360
47360
  var Slot = React3.forwardRef((props, forwardedRef) => {
47361
47361
  const { children, ...slotProps } = props;
47362
47362
  const childrenArray = React3.Children.toArray(children);
@@ -47372,9 +47372,9 @@ var require_dist5 = __commonJS({
47372
47372
  return child;
47373
47373
  }
47374
47374
  });
47375
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
47375
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
47376
47376
  }
47377
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
47377
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
47378
47378
  });
47379
47379
  Slot.displayName = "Slot";
47380
47380
  var SlotClone = React3.forwardRef((props, forwardedRef) => {
@@ -47391,7 +47391,7 @@ var require_dist5 = __commonJS({
47391
47391
  });
47392
47392
  SlotClone.displayName = "SlotClone";
47393
47393
  var Slottable = ({ children }) => {
47394
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children });
47394
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children });
47395
47395
  };
47396
47396
  function isSlottable(child) {
47397
47397
  return React3.isValidElement(child) && child.type === Slottable;
@@ -47477,7 +47477,7 @@ var require_dist6 = __commonJS({
47477
47477
  var import_react_context = require_dist3();
47478
47478
  var import_react_compose_refs = require_dist4();
47479
47479
  var import_react_slot = require_dist5();
47480
- var import_jsx_runtime53 = require_jsx_runtime();
47480
+ var import_jsx_runtime54 = require_jsx_runtime();
47481
47481
  function createCollection(name) {
47482
47482
  const PROVIDER_NAME = name + "CollectionProvider";
47483
47483
  const [createCollectionContext, createCollectionScope] = (0, import_react_context.createContextScope)(PROVIDER_NAME);
@@ -47489,7 +47489,7 @@ var require_dist6 = __commonJS({
47489
47489
  const { scope, children } = props;
47490
47490
  const ref = import_react18.default.useRef(null);
47491
47491
  const itemMap = import_react18.default.useRef(/* @__PURE__ */ new Map()).current;
47492
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
47492
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
47493
47493
  };
47494
47494
  CollectionProvider.displayName = PROVIDER_NAME;
47495
47495
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
@@ -47498,7 +47498,7 @@ var require_dist6 = __commonJS({
47498
47498
  const { scope, children } = props;
47499
47499
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
47500
47500
  const composedRefs = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, context.collectionRef);
47501
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_slot.Slot, { ref: composedRefs, children });
47501
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_slot.Slot, { ref: composedRefs, children });
47502
47502
  }
47503
47503
  );
47504
47504
  CollectionSlot.displayName = COLLECTION_SLOT_NAME;
@@ -47514,7 +47514,7 @@ var require_dist6 = __commonJS({
47514
47514
  context.itemMap.set(ref, { ref, ...itemData });
47515
47515
  return () => void context.itemMap.delete(ref);
47516
47516
  });
47517
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_slot.Slot, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
47517
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_slot.Slot, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
47518
47518
  }
47519
47519
  );
47520
47520
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
@@ -47581,11 +47581,11 @@ var require_dist7 = __commonJS({
47581
47581
  });
47582
47582
  module.exports = __toCommonJS2(src_exports);
47583
47583
  var React3 = __toESM2(require_react());
47584
- var import_jsx_runtime53 = require_jsx_runtime();
47584
+ var import_jsx_runtime54 = require_jsx_runtime();
47585
47585
  var DirectionContext = React3.createContext(void 0);
47586
47586
  var DirectionProvider = (props) => {
47587
47587
  const { dir, children } = props;
47588
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DirectionContext.Provider, { value: dir, children });
47588
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DirectionContext.Provider, { value: dir, children });
47589
47589
  };
47590
47590
  function useDirection(localDir) {
47591
47591
  const globalDir = React3.useContext(DirectionContext);
@@ -47636,7 +47636,7 @@ var require_dist8 = __commonJS({
47636
47636
  var React3 = __toESM2(require_react());
47637
47637
  var ReactDOM2 = __toESM2(require_react_dom());
47638
47638
  var import_react_slot = require_dist5();
47639
- var import_jsx_runtime53 = require_jsx_runtime();
47639
+ var import_jsx_runtime54 = require_jsx_runtime();
47640
47640
  var NODES = [
47641
47641
  "a",
47642
47642
  "button",
@@ -47662,7 +47662,7 @@ var require_dist8 = __commonJS({
47662
47662
  if (typeof window !== "undefined") {
47663
47663
  window[Symbol.for("radix-ui")] = true;
47664
47664
  }
47665
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
47665
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
47666
47666
  });
47667
47667
  Node2.displayName = `Primitive.${node}`;
47668
47668
  return { ...primitive, [node]: Node2 };
@@ -47821,7 +47821,7 @@ var require_dist11 = __commonJS({
47821
47821
  var import_react_compose_refs = require_dist4();
47822
47822
  var import_react_use_callback_ref = require_dist9();
47823
47823
  var import_react_use_escape_keydown = require_dist10();
47824
- var import_jsx_runtime53 = require_jsx_runtime();
47824
+ var import_jsx_runtime54 = require_jsx_runtime();
47825
47825
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
47826
47826
  var CONTEXT_UPDATE = "dismissableLayer.update";
47827
47827
  var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
@@ -47916,7 +47916,7 @@ var require_dist11 = __commonJS({
47916
47916
  document.addEventListener(CONTEXT_UPDATE, handleUpdate);
47917
47917
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
47918
47918
  }, []);
47919
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
47919
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
47920
47920
  import_react_primitive.Primitive.div,
47921
47921
  {
47922
47922
  ...layerProps,
@@ -47950,7 +47950,7 @@ var require_dist11 = __commonJS({
47950
47950
  };
47951
47951
  }
47952
47952
  }, [context.branches]);
47953
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
47953
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
47954
47954
  });
47955
47955
  DismissableLayerBranch.displayName = BRANCH_NAME;
47956
47956
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -48152,7 +48152,7 @@ var require_dist13 = __commonJS({
48152
48152
  var import_react_compose_refs = require_dist4();
48153
48153
  var import_react_primitive = require_dist8();
48154
48154
  var import_react_use_callback_ref = require_dist9();
48155
- var import_jsx_runtime53 = require_jsx_runtime();
48155
+ var import_jsx_runtime54 = require_jsx_runtime();
48156
48156
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
48157
48157
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
48158
48158
  var EVENT_OPTIONS = { bubbles: false, cancelable: true };
@@ -48282,7 +48282,7 @@ var require_dist13 = __commonJS({
48282
48282
  },
48283
48283
  [loop, trapped, focusScope.paused]
48284
48284
  );
48285
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
48285
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
48286
48286
  });
48287
48287
  FocusScope.displayName = FOCUS_SCOPE_NAME;
48288
48288
  function focusFirst(candidates, { select = false } = {}) {
@@ -50642,11 +50642,11 @@ var require_dist16 = __commonJS({
50642
50642
  module.exports = __toCommonJS2(src_exports);
50643
50643
  var React3 = __toESM2(require_react());
50644
50644
  var import_react_primitive = require_dist8();
50645
- var import_jsx_runtime53 = require_jsx_runtime();
50645
+ var import_jsx_runtime54 = require_jsx_runtime();
50646
50646
  var NAME = "Arrow";
50647
50647
  var Arrow = React3.forwardRef((props, forwardedRef) => {
50648
50648
  const { children, width = 10, height = 5, ...arrowProps } = props;
50649
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
50649
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
50650
50650
  import_react_primitive.Primitive.svg,
50651
50651
  {
50652
50652
  ...arrowProps,
@@ -50655,7 +50655,7 @@ var require_dist16 = __commonJS({
50655
50655
  height,
50656
50656
  viewBox: "0 0 30 10",
50657
50657
  preserveAspectRatio: "none",
50658
- children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("polygon", { points: "0,0 30,0 15,10" })
50658
+ children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("polygon", { points: "0,0 30,0 15,10" })
50659
50659
  }
50660
50660
  );
50661
50661
  });
@@ -50795,7 +50795,7 @@ var require_dist18 = __commonJS({
50795
50795
  var import_react_use_callback_ref = require_dist9();
50796
50796
  var import_react_use_layout_effect = require_dist14();
50797
50797
  var import_react_use_size = require_dist17();
50798
- var import_jsx_runtime53 = require_jsx_runtime();
50798
+ var import_jsx_runtime54 = require_jsx_runtime();
50799
50799
  var SIDE_OPTIONS = ["top", "right", "bottom", "left"];
50800
50800
  var ALIGN_OPTIONS = ["start", "center", "end"];
50801
50801
  var POPPER_NAME = "Popper";
@@ -50804,7 +50804,7 @@ var require_dist18 = __commonJS({
50804
50804
  var Popper = (props) => {
50805
50805
  const { __scopePopper, children } = props;
50806
50806
  const [anchor, setAnchor] = React3.useState(null);
50807
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
50807
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
50808
50808
  };
50809
50809
  Popper.displayName = POPPER_NAME;
50810
50810
  var ANCHOR_NAME = "PopperAnchor";
@@ -50817,7 +50817,7 @@ var require_dist18 = __commonJS({
50817
50817
  React3.useEffect(() => {
50818
50818
  context.onAnchorChange(virtualRef?.current || ref.current);
50819
50819
  });
50820
- return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...anchorProps, ref: composedRefs });
50820
+ return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...anchorProps, ref: composedRefs });
50821
50821
  }
50822
50822
  );
50823
50823
  PopperAnchor.displayName = ANCHOR_NAME;
@@ -50911,7 +50911,7 @@ var require_dist18 = __commonJS({
50911
50911
  if (content)
50912
50912
  setContentZIndex(window.getComputedStyle(content).zIndex);
50913
50913
  }, [content]);
50914
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
50914
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
50915
50915
  "div",
50916
50916
  {
50917
50917
  ref: refs.setFloating,
@@ -50935,7 +50935,7 @@ var require_dist18 = __commonJS({
50935
50935
  }
50936
50936
  },
50937
50937
  dir: props.dir,
50938
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
50938
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
50939
50939
  PopperContentProvider,
50940
50940
  {
50941
50941
  scope: __scopePopper,
@@ -50944,7 +50944,7 @@ var require_dist18 = __commonJS({
50944
50944
  arrowX,
50945
50945
  arrowY,
50946
50946
  shouldHideArrow: cannotCenterArrow,
50947
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
50947
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
50948
50948
  import_react_primitive.Primitive.div,
50949
50949
  {
50950
50950
  "data-side": placedSide,
@@ -50981,7 +50981,7 @@ var require_dist18 = __commonJS({
50981
50981
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
50982
50982
  // doesn't report size as we'd expect on SVG elements.
50983
50983
  // it reports their bounding box which is effectively the largest path inside the SVG.
50984
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
50984
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
50985
50985
  "span",
50986
50986
  {
50987
50987
  ref: contentContext.onArrowChange,
@@ -51004,7 +51004,7 @@ var require_dist18 = __commonJS({
51004
51004
  }[contentContext.placedSide],
51005
51005
  visibility: contentContext.shouldHideArrow ? "hidden" : void 0
51006
51006
  },
51007
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
51007
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
51008
51008
  ArrowPrimitive.Root,
51009
51009
  {
51010
51010
  ...arrowProps,
@@ -51108,14 +51108,14 @@ var require_dist19 = __commonJS({
51108
51108
  var import_react_dom = __toESM2(require_react_dom());
51109
51109
  var import_react_primitive = require_dist8();
51110
51110
  var import_react_use_layout_effect = require_dist14();
51111
- var import_jsx_runtime53 = require_jsx_runtime();
51111
+ var import_jsx_runtime54 = require_jsx_runtime();
51112
51112
  var PORTAL_NAME = "Portal";
51113
51113
  var Portal = React3.forwardRef((props, forwardedRef) => {
51114
51114
  const { container: containerProp, ...portalProps } = props;
51115
51115
  const [mounted, setMounted] = React3.useState(false);
51116
51116
  (0, import_react_use_layout_effect.useLayoutEffect)(() => setMounted(true), []);
51117
51117
  const container = containerProp || mounted && globalThis?.document?.body;
51118
- return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
51118
+ return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
51119
51119
  });
51120
51120
  Portal.displayName = PORTAL_NAME;
51121
51121
  var Root = Portal;
@@ -51293,11 +51293,11 @@ var require_dist22 = __commonJS({
51293
51293
  module.exports = __toCommonJS2(src_exports);
51294
51294
  var React3 = __toESM2(require_react());
51295
51295
  var import_react_primitive = require_dist8();
51296
- var import_jsx_runtime53 = require_jsx_runtime();
51296
+ var import_jsx_runtime54 = require_jsx_runtime();
51297
51297
  var NAME = "VisuallyHidden";
51298
51298
  var VisuallyHidden = React3.forwardRef(
51299
51299
  (props, forwardedRef) => {
51300
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
51300
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
51301
51301
  import_react_primitive.Primitive.span,
51302
51302
  {
51303
51303
  ...props,
@@ -53456,7 +53456,7 @@ var require_dist23 = __commonJS({
53456
53456
  var import_react_visually_hidden = require_dist22();
53457
53457
  var import_aria_hidden = require_es5();
53458
53458
  var import_react_remove_scroll = require_es57();
53459
- var import_jsx_runtime53 = require_jsx_runtime();
53459
+ var import_jsx_runtime54 = require_jsx_runtime();
53460
53460
  var OPEN_KEYS = [" ", "Enter", "ArrowUp", "ArrowDown"];
53461
53461
  var SELECTION_KEYS = [" ", "Enter"];
53462
53462
  var SELECT_NAME = "Select";
@@ -53504,7 +53504,7 @@ var require_dist23 = __commonJS({
53504
53504
  const isFormControl = trigger ? form || !!trigger.closest("form") : true;
53505
53505
  const [nativeOptionsSet, setNativeOptionsSet] = React3.useState(/* @__PURE__ */ new Set());
53506
53506
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
53507
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
53507
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
53508
53508
  SelectProvider,
53509
53509
  {
53510
53510
  required,
@@ -53524,7 +53524,7 @@ var require_dist23 = __commonJS({
53524
53524
  triggerPointerDownPosRef,
53525
53525
  disabled,
53526
53526
  children: [
53527
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53527
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53528
53528
  SelectNativeOptionsProvider,
53529
53529
  {
53530
53530
  scope: props.__scopeSelect,
@@ -53541,7 +53541,7 @@ var require_dist23 = __commonJS({
53541
53541
  children
53542
53542
  }
53543
53543
  ) }),
53544
- isFormControl ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
53544
+ isFormControl ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
53545
53545
  BubbleSelect,
53546
53546
  {
53547
53547
  "aria-hidden": true,
@@ -53554,7 +53554,7 @@ var require_dist23 = __commonJS({
53554
53554
  disabled,
53555
53555
  form,
53556
53556
  children: [
53557
- value === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("option", { value: "" }) : null,
53557
+ value === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("option", { value: "" }) : null,
53558
53558
  Array.from(nativeOptionsSet)
53559
53559
  ]
53560
53560
  },
@@ -53595,7 +53595,7 @@ var require_dist23 = __commonJS({
53595
53595
  };
53596
53596
  }
53597
53597
  };
53598
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53598
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53599
53599
  import_react_primitive.Primitive.button,
53600
53600
  {
53601
53601
  type: "button",
@@ -53656,13 +53656,13 @@ var require_dist23 = __commonJS({
53656
53656
  (0, import_react_use_layout_effect.useLayoutEffect)(() => {
53657
53657
  onValueNodeHasChildrenChange(hasChildren);
53658
53658
  }, [onValueNodeHasChildrenChange, hasChildren]);
53659
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53659
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53660
53660
  import_react_primitive.Primitive.span,
53661
53661
  {
53662
53662
  ...valueProps,
53663
53663
  ref: composedRefs,
53664
53664
  style: { pointerEvents: "none" },
53665
- children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children: placeholder }) : children
53665
+ children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: placeholder }) : children
53666
53666
  }
53667
53667
  );
53668
53668
  }
@@ -53672,13 +53672,13 @@ var require_dist23 = __commonJS({
53672
53672
  var SelectIcon = React3.forwardRef(
53673
53673
  (props, forwardedRef) => {
53674
53674
  const { __scopeSelect, children, ...iconProps } = props;
53675
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "\u25BC" });
53675
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "\u25BC" });
53676
53676
  }
53677
53677
  );
53678
53678
  SelectIcon.displayName = ICON_NAME;
53679
53679
  var PORTAL_NAME = "SelectPortal";
53680
53680
  var SelectPortal = (props) => {
53681
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_portal.Portal, { asChild: true, ...props });
53681
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_portal.Portal, { asChild: true, ...props });
53682
53682
  };
53683
53683
  SelectPortal.displayName = PORTAL_NAME;
53684
53684
  var CONTENT_NAME = "SelectContent";
@@ -53692,11 +53692,11 @@ var require_dist23 = __commonJS({
53692
53692
  if (!context.open) {
53693
53693
  const frag = fragment;
53694
53694
  return frag ? ReactDOM2.createPortal(
53695
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { children: props.children }) }) }),
53695
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children: props.children }) }) }),
53696
53696
  frag
53697
53697
  ) : null;
53698
53698
  }
53699
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectContentImpl, { ...props, ref: forwardedRef });
53699
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectContentImpl, { ...props, ref: forwardedRef });
53700
53700
  }
53701
53701
  );
53702
53702
  SelectContent.displayName = CONTENT_NAME;
@@ -53855,7 +53855,7 @@ var require_dist23 = __commonJS({
53855
53855
  hideWhenDetached,
53856
53856
  avoidCollisions
53857
53857
  } : {};
53858
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53858
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53859
53859
  SelectContentProvider,
53860
53860
  {
53861
53861
  scope: __scopeSelect,
@@ -53871,7 +53871,7 @@ var require_dist23 = __commonJS({
53871
53871
  position,
53872
53872
  isPositioned,
53873
53873
  searchRef,
53874
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_remove_scroll.RemoveScroll, { as: import_react_slot.Slot, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53874
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_remove_scroll.RemoveScroll, { as: import_react_slot.Slot, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53875
53875
  import_react_focus_scope.FocusScope,
53876
53876
  {
53877
53877
  asChild: true,
@@ -53883,7 +53883,7 @@ var require_dist23 = __commonJS({
53883
53883
  context.trigger?.focus({ preventScroll: true });
53884
53884
  event.preventDefault();
53885
53885
  }),
53886
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53886
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53887
53887
  import_react_dismissable_layer.DismissableLayer,
53888
53888
  {
53889
53889
  asChild: true,
@@ -53892,7 +53892,7 @@ var require_dist23 = __commonJS({
53892
53892
  onPointerDownOutside,
53893
53893
  onFocusOutside: (event) => event.preventDefault(),
53894
53894
  onDismiss: () => context.onOpenChange(false),
53895
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
53895
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
53896
53896
  SelectPosition,
53897
53897
  {
53898
53898
  role: "listbox",
@@ -54071,14 +54071,14 @@ var require_dist23 = __commonJS({
54071
54071
  },
54072
54072
  [position, focusSelectedItem]
54073
54073
  );
54074
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54074
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54075
54075
  SelectViewportProvider,
54076
54076
  {
54077
54077
  scope: __scopeSelect,
54078
54078
  contentWrapper,
54079
54079
  shouldExpandOnScrollRef,
54080
54080
  onScrollButtonChange: handleScrollButtonChange,
54081
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54081
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54082
54082
  "div",
54083
54083
  {
54084
54084
  ref: setContentWrapper,
@@ -54088,7 +54088,7 @@ var require_dist23 = __commonJS({
54088
54088
  position: "fixed",
54089
54089
  zIndex: contentZIndex
54090
54090
  },
54091
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54091
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54092
54092
  import_react_primitive.Primitive.div,
54093
54093
  {
54094
54094
  ...popperProps,
@@ -54118,7 +54118,7 @@ var require_dist23 = __commonJS({
54118
54118
  ...popperProps
54119
54119
  } = props;
54120
54120
  const popperScope = usePopperScope(__scopeSelect);
54121
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54121
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54122
54122
  PopperPrimitive.Content,
54123
54123
  {
54124
54124
  ...popperScope,
@@ -54152,8 +54152,8 @@ var require_dist23 = __commonJS({
54152
54152
  const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
54153
54153
  const composedRefs = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, contentContext.onViewportChange);
54154
54154
  const prevScrollTopRef = React3.useRef(0);
54155
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
54156
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54155
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
54156
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54157
54157
  "style",
54158
54158
  {
54159
54159
  dangerouslySetInnerHTML: {
@@ -54162,7 +54162,7 @@ var require_dist23 = __commonJS({
54162
54162
  nonce
54163
54163
  }
54164
54164
  ),
54165
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54165
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54166
54166
  import_react_primitive.Primitive.div,
54167
54167
  {
54168
54168
  "data-radix-select-viewport": "",
@@ -54218,7 +54218,7 @@ var require_dist23 = __commonJS({
54218
54218
  (props, forwardedRef) => {
54219
54219
  const { __scopeSelect, ...groupProps } = props;
54220
54220
  const groupId = (0, import_react_id.useId)();
54221
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
54221
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
54222
54222
  }
54223
54223
  );
54224
54224
  SelectGroup.displayName = GROUP_NAME;
@@ -54227,7 +54227,7 @@ var require_dist23 = __commonJS({
54227
54227
  (props, forwardedRef) => {
54228
54228
  const { __scopeSelect, ...labelProps } = props;
54229
54229
  const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
54230
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
54230
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
54231
54231
  }
54232
54232
  );
54233
54233
  SelectLabel.displayName = LABEL_NAME;
@@ -54264,7 +54264,7 @@ var require_dist23 = __commonJS({
54264
54264
  "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
54265
54265
  );
54266
54266
  }
54267
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54267
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54268
54268
  SelectItemContextProvider,
54269
54269
  {
54270
54270
  scope: __scopeSelect,
@@ -54275,14 +54275,14 @@ var require_dist23 = __commonJS({
54275
54275
  onItemTextChange: React3.useCallback((node) => {
54276
54276
  setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
54277
54277
  }, []),
54278
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54278
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54279
54279
  Collection.ItemSlot,
54280
54280
  {
54281
54281
  scope: __scopeSelect,
54282
54282
  value,
54283
54283
  disabled,
54284
54284
  textValue,
54285
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54285
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54286
54286
  import_react_primitive.Primitive.div,
54287
54287
  {
54288
54288
  role: "option",
@@ -54356,7 +54356,7 @@ var require_dist23 = __commonJS({
54356
54356
  );
54357
54357
  const textContent = itemTextNode?.textContent;
54358
54358
  const nativeOption = React3.useMemo(
54359
- () => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
54359
+ () => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
54360
54360
  [itemContext.disabled, itemContext.value, textContent]
54361
54361
  );
54362
54362
  const { onNativeOptionAdd, onNativeOptionRemove } = nativeOptionsContext;
@@ -54364,8 +54364,8 @@ var require_dist23 = __commonJS({
54364
54364
  onNativeOptionAdd(nativeOption);
54365
54365
  return () => onNativeOptionRemove(nativeOption);
54366
54366
  }, [onNativeOptionAdd, onNativeOptionRemove, nativeOption]);
54367
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
54368
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
54367
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
54368
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
54369
54369
  itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? ReactDOM2.createPortal(itemTextProps.children, context.valueNode) : null
54370
54370
  ] });
54371
54371
  }
@@ -54376,7 +54376,7 @@ var require_dist23 = __commonJS({
54376
54376
  (props, forwardedRef) => {
54377
54377
  const { __scopeSelect, ...itemIndicatorProps } = props;
54378
54378
  const itemContext = useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect);
54379
- return itemContext.isSelected ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
54379
+ return itemContext.isSelected ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
54380
54380
  }
54381
54381
  );
54382
54382
  SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
@@ -54399,7 +54399,7 @@ var require_dist23 = __commonJS({
54399
54399
  return () => viewport.removeEventListener("scroll", handleScroll2);
54400
54400
  }
54401
54401
  }, [contentContext.viewport, contentContext.isPositioned]);
54402
- return canScrollUp ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54402
+ return canScrollUp ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54403
54403
  SelectScrollButtonImpl,
54404
54404
  {
54405
54405
  ...props,
@@ -54434,7 +54434,7 @@ var require_dist23 = __commonJS({
54434
54434
  return () => viewport.removeEventListener("scroll", handleScroll2);
54435
54435
  }
54436
54436
  }, [contentContext.viewport, contentContext.isPositioned]);
54437
- return canScrollDown ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54437
+ return canScrollDown ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54438
54438
  SelectScrollButtonImpl,
54439
54439
  {
54440
54440
  ...props,
@@ -54467,7 +54467,7 @@ var require_dist23 = __commonJS({
54467
54467
  const activeItem = getItems().find((item) => item.ref.current === document.activeElement);
54468
54468
  activeItem?.ref.current?.scrollIntoView({ block: "nearest" });
54469
54469
  }, [getItems]);
54470
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54470
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54471
54471
  import_react_primitive.Primitive.div,
54472
54472
  {
54473
54473
  "aria-hidden": true,
@@ -54495,7 +54495,7 @@ var require_dist23 = __commonJS({
54495
54495
  var SelectSeparator = React3.forwardRef(
54496
54496
  (props, forwardedRef) => {
54497
54497
  const { __scopeSelect, ...separatorProps } = props;
54498
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
54498
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
54499
54499
  }
54500
54500
  );
54501
54501
  SelectSeparator.displayName = SEPARATOR_NAME;
@@ -54506,7 +54506,7 @@ var require_dist23 = __commonJS({
54506
54506
  const popperScope = usePopperScope(__scopeSelect);
54507
54507
  const context = useSelectContext(ARROW_NAME, __scopeSelect);
54508
54508
  const contentContext = useSelectContentContext(ARROW_NAME, __scopeSelect);
54509
- return context.open && contentContext.position === "popper" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
54509
+ return context.open && contentContext.position === "popper" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
54510
54510
  }
54511
54511
  );
54512
54512
  SelectArrow.displayName = ARROW_NAME;
@@ -54533,7 +54533,7 @@ var require_dist23 = __commonJS({
54533
54533
  select.dispatchEvent(event);
54534
54534
  }
54535
54535
  }, [prevValue, value]);
54536
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_visually_hidden.VisuallyHidden, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("select", { ...selectProps, ref: composedRefs, defaultValue: value }) });
54536
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_visually_hidden.VisuallyHidden, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("select", { ...selectProps, ref: composedRefs, defaultValue: value }) });
54537
54537
  }
54538
54538
  );
54539
54539
  BubbleSelect.displayName = "BubbleSelect";
@@ -54917,7 +54917,7 @@ var require_dist25 = __commonJS({
54917
54917
  var import_react_use_controllable_state = require_dist20();
54918
54918
  var import_aria_hidden = require_es5();
54919
54919
  var import_react_remove_scroll = require_es57();
54920
- var import_jsx_runtime53 = require_jsx_runtime();
54920
+ var import_jsx_runtime54 = require_jsx_runtime();
54921
54921
  var POPOVER_NAME = "Popover";
54922
54922
  var [createPopoverContext, createPopoverScope] = (0, import_react_context.createContextScope)(POPOVER_NAME, [
54923
54923
  import_react_popper.createPopperScope
@@ -54941,7 +54941,7 @@ var require_dist25 = __commonJS({
54941
54941
  defaultProp: defaultOpen,
54942
54942
  onChange: onOpenChange
54943
54943
  });
54944
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54944
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54945
54945
  PopoverProvider,
54946
54946
  {
54947
54947
  scope: __scopePopover,
@@ -54970,7 +54970,7 @@ var require_dist25 = __commonJS({
54970
54970
  onCustomAnchorAdd();
54971
54971
  return () => onCustomAnchorRemove();
54972
54972
  }, [onCustomAnchorAdd, onCustomAnchorRemove]);
54973
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
54973
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
54974
54974
  }
54975
54975
  );
54976
54976
  PopoverAnchor.displayName = ANCHOR_NAME;
@@ -54981,7 +54981,7 @@ var require_dist25 = __commonJS({
54981
54981
  const context = usePopoverContext(TRIGGER_NAME, __scopePopover);
54982
54982
  const popperScope = usePopperScope(__scopePopover);
54983
54983
  const composedTriggerRef = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, context.triggerRef);
54984
- const trigger = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
54984
+ const trigger = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
54985
54985
  import_react_primitive.Primitive.button,
54986
54986
  {
54987
54987
  type: "button",
@@ -54994,7 +54994,7 @@ var require_dist25 = __commonJS({
54994
54994
  onClick: (0, import_primitive.composeEventHandlers)(props.onClick, context.onOpenToggle)
54995
54995
  }
54996
54996
  );
54997
- return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: trigger });
54997
+ return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: trigger });
54998
54998
  }
54999
54999
  );
55000
55000
  PopoverTrigger.displayName = TRIGGER_NAME;
@@ -55005,7 +55005,7 @@ var require_dist25 = __commonJS({
55005
55005
  var PopoverPortal = (props) => {
55006
55006
  const { __scopePopover, forceMount, children, container } = props;
55007
55007
  const context = usePopoverContext(PORTAL_NAME, __scopePopover);
55008
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_portal.Portal, { asChild: true, container, children }) }) });
55008
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_portal.Portal, { asChild: true, container, children }) }) });
55009
55009
  };
55010
55010
  PopoverPortal.displayName = PORTAL_NAME;
55011
55011
  var CONTENT_NAME = "PopoverContent";
@@ -55014,7 +55014,7 @@ var require_dist25 = __commonJS({
55014
55014
  const portalContext = usePortalContext(CONTENT_NAME, props.__scopePopover);
55015
55015
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
55016
55016
  const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);
55017
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
55017
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
55018
55018
  }
55019
55019
  );
55020
55020
  PopoverContent.displayName = CONTENT_NAME;
@@ -55029,7 +55029,7 @@ var require_dist25 = __commonJS({
55029
55029
  if (content)
55030
55030
  return (0, import_aria_hidden.hideOthers)(content);
55031
55031
  }, []);
55032
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_remove_scroll.RemoveScroll, { as: import_react_slot.Slot, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55032
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_remove_scroll.RemoveScroll, { as: import_react_slot.Slot, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55033
55033
  PopoverContentImpl,
55034
55034
  {
55035
55035
  ...props,
@@ -55065,7 +55065,7 @@ var require_dist25 = __commonJS({
55065
55065
  const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);
55066
55066
  const hasInteractedOutsideRef = React3.useRef(false);
55067
55067
  const hasPointerDownOutsideRef = React3.useRef(false);
55068
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55068
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55069
55069
  PopoverContentImpl,
55070
55070
  {
55071
55071
  ...props,
@@ -55119,7 +55119,7 @@ var require_dist25 = __commonJS({
55119
55119
  const context = usePopoverContext(CONTENT_NAME, __scopePopover);
55120
55120
  const popperScope = usePopperScope(__scopePopover);
55121
55121
  (0, import_react_focus_guards.useFocusGuards)();
55122
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55122
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55123
55123
  import_react_focus_scope.FocusScope,
55124
55124
  {
55125
55125
  asChild: true,
@@ -55127,7 +55127,7 @@ var require_dist25 = __commonJS({
55127
55127
  trapped: trapFocus,
55128
55128
  onMountAutoFocus: onOpenAutoFocus,
55129
55129
  onUnmountAutoFocus: onCloseAutoFocus,
55130
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55130
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55131
55131
  import_react_dismissable_layer.DismissableLayer,
55132
55132
  {
55133
55133
  asChild: true,
@@ -55137,7 +55137,7 @@ var require_dist25 = __commonJS({
55137
55137
  onPointerDownOutside,
55138
55138
  onFocusOutside,
55139
55139
  onDismiss: () => context.onOpenChange(false),
55140
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55140
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55141
55141
  PopperPrimitive.Content,
55142
55142
  {
55143
55143
  "data-state": getState(context.open),
@@ -55170,7 +55170,7 @@ var require_dist25 = __commonJS({
55170
55170
  (props, forwardedRef) => {
55171
55171
  const { __scopePopover, ...closeProps } = props;
55172
55172
  const context = usePopoverContext(CLOSE_NAME, __scopePopover);
55173
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
55173
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
55174
55174
  import_react_primitive.Primitive.button,
55175
55175
  {
55176
55176
  type: "button",
@@ -55187,7 +55187,7 @@ var require_dist25 = __commonJS({
55187
55187
  (props, forwardedRef) => {
55188
55188
  const { __scopePopover, ...arrowProps } = props;
55189
55189
  const popperScope = usePopperScope(__scopePopover);
55190
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });
55190
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });
55191
55191
  }
55192
55192
  );
55193
55193
  PopoverArrow.displayName = ARROW_NAME;
@@ -55413,13 +55413,13 @@ var require_dist28 = __commonJS({
55413
55413
  });
55414
55414
  module.exports = __toCommonJS2(index_exports);
55415
55415
  var React3 = __toESM2(require_react());
55416
- var import_jsx_runtime53 = require_jsx_runtime();
55416
+ var import_jsx_runtime54 = require_jsx_runtime();
55417
55417
  function createContext2(rootComponentName, defaultContext) {
55418
55418
  const Context = React3.createContext(defaultContext);
55419
55419
  const Provider = (props) => {
55420
55420
  const { children, ...context } = props;
55421
55421
  const value = React3.useMemo(() => context, Object.values(context));
55422
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
55422
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
55423
55423
  };
55424
55424
  Provider.displayName = rootComponentName + "Provider";
55425
55425
  function useContext2(consumerName) {
@@ -55442,7 +55442,7 @@ var require_dist28 = __commonJS({
55442
55442
  const { scope, children, ...context } = props;
55443
55443
  const Context = scope?.[scopeName]?.[index3] || BaseContext;
55444
55444
  const value = React3.useMemo(() => context, Object.values(context));
55445
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
55445
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
55446
55446
  };
55447
55447
  Provider.displayName = rootComponentName + "Provider";
55448
55448
  function useContext2(consumerName, scope) {
@@ -55901,7 +55901,7 @@ var require_dist34 = __commonJS({
55901
55901
  module.exports = __toCommonJS2(index_exports);
55902
55902
  var React3 = __toESM2(require_react());
55903
55903
  var import_react_compose_refs = require_dist27();
55904
- var import_jsx_runtime53 = require_jsx_runtime();
55904
+ var import_jsx_runtime54 = require_jsx_runtime();
55905
55905
  // @__NO_SIDE_EFFECTS__
55906
55906
  function createSlot(ownerName) {
55907
55907
  const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
@@ -55920,9 +55920,9 @@ var require_dist34 = __commonJS({
55920
55920
  return child;
55921
55921
  }
55922
55922
  });
55923
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
55923
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
55924
55924
  }
55925
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
55925
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
55926
55926
  });
55927
55927
  Slot2.displayName = `${ownerName}.Slot`;
55928
55928
  return Slot2;
@@ -55949,7 +55949,7 @@ var require_dist34 = __commonJS({
55949
55949
  // @__NO_SIDE_EFFECTS__
55950
55950
  function createSlottable(ownerName) {
55951
55951
  const Slottable2 = ({ children }) => {
55952
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children });
55952
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children });
55953
55953
  };
55954
55954
  Slottable2.displayName = `${ownerName}.Slottable`;
55955
55955
  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;
@@ -56039,7 +56039,7 @@ var require_dist35 = __commonJS({
56039
56039
  var React3 = __toESM2(require_react());
56040
56040
  var ReactDOM2 = __toESM2(require_react_dom());
56041
56041
  var import_react_slot = require_dist34();
56042
- var import_jsx_runtime53 = require_jsx_runtime();
56042
+ var import_jsx_runtime54 = require_jsx_runtime();
56043
56043
  var NODES = [
56044
56044
  "a",
56045
56045
  "button",
@@ -56067,7 +56067,7 @@ var require_dist35 = __commonJS({
56067
56067
  if (typeof window !== "undefined") {
56068
56068
  window[Symbol.for("radix-ui")] = true;
56069
56069
  }
56070
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
56070
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
56071
56071
  });
56072
56072
  Node2.displayName = `Primitive.${node}`;
56073
56073
  return { ...primitive, [node]: Node2 };
@@ -56226,7 +56226,7 @@ var require_dist38 = __commonJS({
56226
56226
  var import_react_compose_refs = require_dist27();
56227
56227
  var import_react_use_callback_ref = require_dist36();
56228
56228
  var import_react_use_escape_keydown = require_dist37();
56229
- var import_jsx_runtime53 = require_jsx_runtime();
56229
+ var import_jsx_runtime54 = require_jsx_runtime();
56230
56230
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
56231
56231
  var CONTEXT_UPDATE = "dismissableLayer.update";
56232
56232
  var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
@@ -56321,7 +56321,7 @@ var require_dist38 = __commonJS({
56321
56321
  document.addEventListener(CONTEXT_UPDATE, handleUpdate);
56322
56322
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
56323
56323
  }, []);
56324
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
56324
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
56325
56325
  import_react_primitive.Primitive.div,
56326
56326
  {
56327
56327
  ...layerProps,
@@ -56355,7 +56355,7 @@ var require_dist38 = __commonJS({
56355
56355
  };
56356
56356
  }
56357
56357
  }, [context.branches]);
56358
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
56358
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
56359
56359
  });
56360
56360
  DismissableLayerBranch.displayName = BRANCH_NAME;
56361
56361
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -56484,7 +56484,7 @@ var require_dist39 = __commonJS({
56484
56484
  var import_react_compose_refs = require_dist27();
56485
56485
  var import_react_primitive = require_dist35();
56486
56486
  var import_react_use_callback_ref = require_dist36();
56487
- var import_jsx_runtime53 = require_jsx_runtime();
56487
+ var import_jsx_runtime54 = require_jsx_runtime();
56488
56488
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
56489
56489
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
56490
56490
  var EVENT_OPTIONS = { bubbles: false, cancelable: true };
@@ -56614,7 +56614,7 @@ var require_dist39 = __commonJS({
56614
56614
  },
56615
56615
  [loop, trapped, focusScope.paused]
56616
56616
  );
56617
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
56617
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
56618
56618
  });
56619
56619
  FocusScope.displayName = FOCUS_SCOPE_NAME;
56620
56620
  function focusFirst(candidates, { select = false } = {}) {
@@ -56749,14 +56749,14 @@ var require_dist40 = __commonJS({
56749
56749
  var import_react_dom = __toESM2(require_react_dom());
56750
56750
  var import_react_primitive = require_dist35();
56751
56751
  var import_react_use_layout_effect = require_dist29();
56752
- var import_jsx_runtime53 = require_jsx_runtime();
56752
+ var import_jsx_runtime54 = require_jsx_runtime();
56753
56753
  var PORTAL_NAME = "Portal";
56754
56754
  var Portal = React3.forwardRef((props, forwardedRef) => {
56755
56755
  const { container: containerProp, ...portalProps } = props;
56756
56756
  const [mounted, setMounted] = React3.useState(false);
56757
56757
  (0, import_react_use_layout_effect.useLayoutEffect)(() => setMounted(true), []);
56758
56758
  const container = containerProp || mounted && globalThis?.document?.body;
56759
- return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
56759
+ return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
56760
56760
  });
56761
56761
  Portal.displayName = PORTAL_NAME;
56762
56762
  var Root = Portal;
@@ -57073,7 +57073,7 @@ var require_dist43 = __commonJS({
57073
57073
  var import_react_remove_scroll = require_es57();
57074
57074
  var import_aria_hidden = require_es5();
57075
57075
  var import_react_slot = require_dist34();
57076
- var import_jsx_runtime53 = require_jsx_runtime();
57076
+ var import_jsx_runtime54 = require_jsx_runtime();
57077
57077
  var DIALOG_NAME = "Dialog";
57078
57078
  var [createDialogContext, createDialogScope] = (0, import_react_context.createContextScope)(DIALOG_NAME);
57079
57079
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -57094,7 +57094,7 @@ var require_dist43 = __commonJS({
57094
57094
  onChange: onOpenChange,
57095
57095
  caller: DIALOG_NAME
57096
57096
  });
57097
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57097
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57098
57098
  DialogProvider,
57099
57099
  {
57100
57100
  scope: __scopeDialog,
@@ -57118,7 +57118,7 @@ var require_dist43 = __commonJS({
57118
57118
  const { __scopeDialog, ...triggerProps } = props;
57119
57119
  const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
57120
57120
  const composedTriggerRef = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, context.triggerRef);
57121
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57121
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57122
57122
  import_react_primitive.Primitive.button,
57123
57123
  {
57124
57124
  type: "button",
@@ -57141,7 +57141,7 @@ var require_dist43 = __commonJS({
57141
57141
  var DialogPortal = (props) => {
57142
57142
  const { __scopeDialog, forceMount, children, container } = props;
57143
57143
  const context = useDialogContext(PORTAL_NAME, __scopeDialog);
57144
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React3.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_portal.Portal, { asChild: true, container, children: child }) })) });
57144
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React3.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_portal.Portal, { asChild: true, container, children: child }) })) });
57145
57145
  };
57146
57146
  DialogPortal.displayName = PORTAL_NAME;
57147
57147
  var OVERLAY_NAME = "DialogOverlay";
@@ -57150,7 +57150,7 @@ var require_dist43 = __commonJS({
57150
57150
  const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
57151
57151
  const { forceMount = portalContext.forceMount, ...overlayProps } = props;
57152
57152
  const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
57153
- return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
57153
+ return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
57154
57154
  }
57155
57155
  );
57156
57156
  DialogOverlay.displayName = OVERLAY_NAME;
@@ -57162,7 +57162,7 @@ var require_dist43 = __commonJS({
57162
57162
  return (
57163
57163
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
57164
57164
  // ie. when `Overlay` and `Content` are siblings
57165
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_remove_scroll.RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57165
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_remove_scroll.RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57166
57166
  import_react_primitive.Primitive.div,
57167
57167
  {
57168
57168
  "data-state": getState(context.open),
@@ -57180,7 +57180,7 @@ var require_dist43 = __commonJS({
57180
57180
  const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
57181
57181
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
57182
57182
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
57183
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
57183
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
57184
57184
  }
57185
57185
  );
57186
57186
  DialogContent.displayName = CONTENT_NAME;
@@ -57194,7 +57194,7 @@ var require_dist43 = __commonJS({
57194
57194
  if (content)
57195
57195
  return (0, import_aria_hidden.hideOthers)(content);
57196
57196
  }, []);
57197
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57197
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57198
57198
  DialogContentImpl,
57199
57199
  {
57200
57200
  ...props,
@@ -57225,7 +57225,7 @@ var require_dist43 = __commonJS({
57225
57225
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
57226
57226
  const hasInteractedOutsideRef = React3.useRef(false);
57227
57227
  const hasPointerDownOutsideRef = React3.useRef(false);
57228
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57228
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57229
57229
  DialogContentImpl,
57230
57230
  {
57231
57231
  ...props,
@@ -57269,8 +57269,8 @@ var require_dist43 = __commonJS({
57269
57269
  const contentRef = React3.useRef(null);
57270
57270
  const composedRefs = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, contentRef);
57271
57271
  (0, import_react_focus_guards.useFocusGuards)();
57272
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
57273
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57272
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
57273
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57274
57274
  import_react_focus_scope.FocusScope,
57275
57275
  {
57276
57276
  asChild: true,
@@ -57278,7 +57278,7 @@ var require_dist43 = __commonJS({
57278
57278
  trapped: trapFocus,
57279
57279
  onMountAutoFocus: onOpenAutoFocus,
57280
57280
  onUnmountAutoFocus: onCloseAutoFocus,
57281
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57281
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57282
57282
  import_react_dismissable_layer.DismissableLayer,
57283
57283
  {
57284
57284
  role: "dialog",
@@ -57293,9 +57293,9 @@ var require_dist43 = __commonJS({
57293
57293
  )
57294
57294
  }
57295
57295
  ),
57296
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
57297
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TitleWarning, { titleId: context.titleId }),
57298
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
57296
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
57297
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TitleWarning, { titleId: context.titleId }),
57298
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
57299
57299
  ] })
57300
57300
  ] });
57301
57301
  }
@@ -57305,7 +57305,7 @@ var require_dist43 = __commonJS({
57305
57305
  (props, forwardedRef) => {
57306
57306
  const { __scopeDialog, ...titleProps } = props;
57307
57307
  const context = useDialogContext(TITLE_NAME, __scopeDialog);
57308
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
57308
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
57309
57309
  }
57310
57310
  );
57311
57311
  DialogTitle.displayName = TITLE_NAME;
@@ -57314,7 +57314,7 @@ var require_dist43 = __commonJS({
57314
57314
  (props, forwardedRef) => {
57315
57315
  const { __scopeDialog, ...descriptionProps } = props;
57316
57316
  const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
57317
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
57317
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
57318
57318
  }
57319
57319
  );
57320
57320
  DialogDescription.displayName = DESCRIPTION_NAME;
@@ -57323,7 +57323,7 @@ var require_dist43 = __commonJS({
57323
57323
  (props, forwardedRef) => {
57324
57324
  const { __scopeDialog, ...closeProps } = props;
57325
57325
  const context = useDialogContext(CLOSE_NAME, __scopeDialog);
57326
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
57326
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
57327
57327
  import_react_primitive.Primitive.button,
57328
57328
  {
57329
57329
  type: "button",
@@ -57923,13 +57923,13 @@ var require_dist47 = __commonJS({
57923
57923
  });
57924
57924
  module.exports = __toCommonJS2(index_exports);
57925
57925
  var React3 = __toESM2(require_react());
57926
- var import_jsx_runtime53 = require_jsx_runtime();
57926
+ var import_jsx_runtime54 = require_jsx_runtime();
57927
57927
  function createContext2(rootComponentName, defaultContext) {
57928
57928
  const Context = React3.createContext(defaultContext);
57929
57929
  const Provider = (props) => {
57930
57930
  const { children, ...context } = props;
57931
57931
  const value = React3.useMemo(() => context, Object.values(context));
57932
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
57932
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
57933
57933
  };
57934
57934
  Provider.displayName = rootComponentName + "Provider";
57935
57935
  function useContext2(consumerName) {
@@ -57952,7 +57952,7 @@ var require_dist47 = __commonJS({
57952
57952
  const { scope, children, ...context } = props;
57953
57953
  const Context = scope?.[scopeName]?.[index3] || BaseContext;
57954
57954
  const value = React3.useMemo(() => context, Object.values(context));
57955
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Context.Provider, { value, children });
57955
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Context.Provider, { value, children });
57956
57956
  };
57957
57957
  Provider.displayName = rootComponentName + "Provider";
57958
57958
  function useContext2(consumerName, scope) {
@@ -58426,7 +58426,7 @@ var require_dist53 = __commonJS({
58426
58426
  module.exports = __toCommonJS2(index_exports);
58427
58427
  var React3 = __toESM2(require_react());
58428
58428
  var import_react_compose_refs = require_dist52();
58429
- var import_jsx_runtime53 = require_jsx_runtime();
58429
+ var import_jsx_runtime54 = require_jsx_runtime();
58430
58430
  // @__NO_SIDE_EFFECTS__
58431
58431
  function createSlot(ownerName) {
58432
58432
  const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
@@ -58445,9 +58445,9 @@ var require_dist53 = __commonJS({
58445
58445
  return child;
58446
58446
  }
58447
58447
  });
58448
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
58448
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
58449
58449
  }
58450
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
58450
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
58451
58451
  });
58452
58452
  Slot2.displayName = `${ownerName}.Slot`;
58453
58453
  return Slot2;
@@ -58475,7 +58475,7 @@ var require_dist53 = __commonJS({
58475
58475
  // @__NO_SIDE_EFFECTS__
58476
58476
  function createSlottable(ownerName) {
58477
58477
  const Slottable2 = ({ children }) => {
58478
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children });
58478
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children });
58479
58479
  };
58480
58480
  Slottable2.displayName = `${ownerName}.Slottable`;
58481
58481
  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;
@@ -58566,7 +58566,7 @@ var require_dist54 = __commonJS({
58566
58566
  var React3 = __toESM2(require_react());
58567
58567
  var ReactDOM2 = __toESM2(require_react_dom());
58568
58568
  var import_react_slot = require_dist53();
58569
- var import_jsx_runtime53 = require_jsx_runtime();
58569
+ var import_jsx_runtime54 = require_jsx_runtime();
58570
58570
  var NODES = [
58571
58571
  "a",
58572
58572
  "button",
@@ -58594,7 +58594,7 @@ var require_dist54 = __commonJS({
58594
58594
  if (typeof window !== "undefined") {
58595
58595
  window[Symbol.for("radix-ui")] = true;
58596
58596
  }
58597
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
58597
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
58598
58598
  });
58599
58599
  Node2.displayName = `Primitive.${node}`;
58600
58600
  return { ...primitive, [node]: Node2 };
@@ -58753,7 +58753,7 @@ var require_dist57 = __commonJS({
58753
58753
  var import_react_compose_refs = require_dist46();
58754
58754
  var import_react_use_callback_ref = require_dist55();
58755
58755
  var import_react_use_escape_keydown = require_dist56();
58756
- var import_jsx_runtime53 = require_jsx_runtime();
58756
+ var import_jsx_runtime54 = require_jsx_runtime();
58757
58757
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
58758
58758
  var CONTEXT_UPDATE = "dismissableLayer.update";
58759
58759
  var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
@@ -58848,7 +58848,7 @@ var require_dist57 = __commonJS({
58848
58848
  document.addEventListener(CONTEXT_UPDATE, handleUpdate);
58849
58849
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
58850
58850
  }, []);
58851
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
58851
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
58852
58852
  import_react_primitive.Primitive.div,
58853
58853
  {
58854
58854
  ...layerProps,
@@ -58882,7 +58882,7 @@ var require_dist57 = __commonJS({
58882
58882
  };
58883
58883
  }
58884
58884
  }, [context.branches]);
58885
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
58885
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...props, ref: composedRefs });
58886
58886
  });
58887
58887
  DismissableLayerBranch.displayName = BRANCH_NAME;
58888
58888
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -59058,7 +59058,7 @@ var require_dist59 = __commonJS({
59058
59058
  var import_react_compose_refs = require_dist46();
59059
59059
  var import_react_primitive = require_dist54();
59060
59060
  var import_react_use_callback_ref = require_dist58();
59061
- var import_jsx_runtime53 = require_jsx_runtime();
59061
+ var import_jsx_runtime54 = require_jsx_runtime();
59062
59062
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
59063
59063
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
59064
59064
  var EVENT_OPTIONS = { bubbles: false, cancelable: true };
@@ -59188,7 +59188,7 @@ var require_dist59 = __commonJS({
59188
59188
  },
59189
59189
  [loop, trapped, focusScope.paused]
59190
59190
  );
59191
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
59191
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
59192
59192
  });
59193
59193
  FocusScope.displayName = FOCUS_SCOPE_NAME;
59194
59194
  function focusFirst(candidates, { select = false } = {}) {
@@ -59365,14 +59365,14 @@ var require_dist61 = __commonJS({
59365
59365
  var import_react_dom = __toESM2(require_react_dom());
59366
59366
  var import_react_primitive = require_dist54();
59367
59367
  var import_react_use_layout_effect = require_dist60();
59368
- var import_jsx_runtime53 = require_jsx_runtime();
59368
+ var import_jsx_runtime54 = require_jsx_runtime();
59369
59369
  var PORTAL_NAME = "Portal";
59370
59370
  var Portal = React3.forwardRef((props, forwardedRef) => {
59371
59371
  const { container: containerProp, ...portalProps } = props;
59372
59372
  const [mounted, setMounted] = React3.useState(false);
59373
59373
  (0, import_react_use_layout_effect.useLayoutEffect)(() => setMounted(true), []);
59374
59374
  const container = containerProp || mounted && globalThis?.document?.body;
59375
- return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
59375
+ return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
59376
59376
  });
59377
59377
  Portal.displayName = PORTAL_NAME;
59378
59378
  var Root = Portal;
@@ -59731,7 +59731,7 @@ var require_dist65 = __commonJS({
59731
59731
  var import_react_remove_scroll = require_es57();
59732
59732
  var import_aria_hidden = require_es5();
59733
59733
  var import_react_slot = require_dist53();
59734
- var import_jsx_runtime53 = require_jsx_runtime();
59734
+ var import_jsx_runtime54 = require_jsx_runtime();
59735
59735
  var DIALOG_NAME = "Dialog";
59736
59736
  var [createDialogContext, createDialogScope] = (0, import_react_context.createContextScope)(DIALOG_NAME);
59737
59737
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -59752,7 +59752,7 @@ var require_dist65 = __commonJS({
59752
59752
  onChange: onOpenChange,
59753
59753
  caller: DIALOG_NAME
59754
59754
  });
59755
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59755
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59756
59756
  DialogProvider,
59757
59757
  {
59758
59758
  scope: __scopeDialog,
@@ -59776,7 +59776,7 @@ var require_dist65 = __commonJS({
59776
59776
  const { __scopeDialog, ...triggerProps } = props;
59777
59777
  const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
59778
59778
  const composedTriggerRef = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, context.triggerRef);
59779
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59779
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59780
59780
  import_react_primitive.Primitive.button,
59781
59781
  {
59782
59782
  type: "button",
@@ -59799,7 +59799,7 @@ var require_dist65 = __commonJS({
59799
59799
  var DialogPortal = (props) => {
59800
59800
  const { __scopeDialog, forceMount, children, container } = props;
59801
59801
  const context = useDialogContext(PORTAL_NAME, __scopeDialog);
59802
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React3.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_portal.Portal, { asChild: true, container, children: child }) })) });
59802
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React3.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_portal.Portal, { asChild: true, container, children: child }) })) });
59803
59803
  };
59804
59804
  DialogPortal.displayName = PORTAL_NAME;
59805
59805
  var OVERLAY_NAME = "DialogOverlay";
@@ -59808,7 +59808,7 @@ var require_dist65 = __commonJS({
59808
59808
  const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
59809
59809
  const { forceMount = portalContext.forceMount, ...overlayProps } = props;
59810
59810
  const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
59811
- return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
59811
+ return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
59812
59812
  }
59813
59813
  );
59814
59814
  DialogOverlay.displayName = OVERLAY_NAME;
@@ -59820,7 +59820,7 @@ var require_dist65 = __commonJS({
59820
59820
  return (
59821
59821
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
59822
59822
  // ie. when `Overlay` and `Content` are siblings
59823
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_remove_scroll.RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59823
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_remove_scroll.RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59824
59824
  import_react_primitive.Primitive.div,
59825
59825
  {
59826
59826
  "data-state": getState(context.open),
@@ -59838,7 +59838,7 @@ var require_dist65 = __commonJS({
59838
59838
  const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
59839
59839
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
59840
59840
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
59841
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
59841
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_presence.Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
59842
59842
  }
59843
59843
  );
59844
59844
  DialogContent.displayName = CONTENT_NAME;
@@ -59852,7 +59852,7 @@ var require_dist65 = __commonJS({
59852
59852
  if (content)
59853
59853
  return (0, import_aria_hidden.hideOthers)(content);
59854
59854
  }, []);
59855
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59855
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59856
59856
  DialogContentImpl,
59857
59857
  {
59858
59858
  ...props,
@@ -59883,7 +59883,7 @@ var require_dist65 = __commonJS({
59883
59883
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
59884
59884
  const hasInteractedOutsideRef = React3.useRef(false);
59885
59885
  const hasPointerDownOutsideRef = React3.useRef(false);
59886
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59886
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59887
59887
  DialogContentImpl,
59888
59888
  {
59889
59889
  ...props,
@@ -59927,8 +59927,8 @@ var require_dist65 = __commonJS({
59927
59927
  const contentRef = React3.useRef(null);
59928
59928
  const composedRefs = (0, import_react_compose_refs.useComposedRefs)(forwardedRef, contentRef);
59929
59929
  (0, import_react_focus_guards.useFocusGuards)();
59930
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
59931
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59930
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
59931
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59932
59932
  import_react_focus_scope.FocusScope,
59933
59933
  {
59934
59934
  asChild: true,
@@ -59936,7 +59936,7 @@ var require_dist65 = __commonJS({
59936
59936
  trapped: trapFocus,
59937
59937
  onMountAutoFocus: onOpenAutoFocus,
59938
59938
  onUnmountAutoFocus: onCloseAutoFocus,
59939
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59939
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59940
59940
  import_react_dismissable_layer.DismissableLayer,
59941
59941
  {
59942
59942
  role: "dialog",
@@ -59951,9 +59951,9 @@ var require_dist65 = __commonJS({
59951
59951
  )
59952
59952
  }
59953
59953
  ),
59954
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
59955
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TitleWarning, { titleId: context.titleId }),
59956
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
59954
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
59955
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TitleWarning, { titleId: context.titleId }),
59956
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
59957
59957
  ] })
59958
59958
  ] });
59959
59959
  }
@@ -59963,7 +59963,7 @@ var require_dist65 = __commonJS({
59963
59963
  (props, forwardedRef) => {
59964
59964
  const { __scopeDialog, ...titleProps } = props;
59965
59965
  const context = useDialogContext(TITLE_NAME, __scopeDialog);
59966
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
59966
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
59967
59967
  }
59968
59968
  );
59969
59969
  DialogTitle.displayName = TITLE_NAME;
@@ -59972,7 +59972,7 @@ var require_dist65 = __commonJS({
59972
59972
  (props, forwardedRef) => {
59973
59973
  const { __scopeDialog, ...descriptionProps } = props;
59974
59974
  const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
59975
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_primitive.Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
59975
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_primitive.Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
59976
59976
  }
59977
59977
  );
59978
59978
  DialogDescription.displayName = DESCRIPTION_NAME;
@@ -59981,7 +59981,7 @@ var require_dist65 = __commonJS({
59981
59981
  (props, forwardedRef) => {
59982
59982
  const { __scopeDialog, ...closeProps } = props;
59983
59983
  const context = useDialogContext(CLOSE_NAME, __scopeDialog);
59984
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
59984
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
59985
59985
  import_react_primitive.Primitive.button,
59986
59986
  {
59987
59987
  type: "button",
@@ -69731,7 +69731,7 @@ var require_client_types = __commonJS({
69731
69731
  exports.simpleToMedia = simpleToMedia;
69732
69732
  exports.outputStreamComponents = outputStreamComponents;
69733
69733
  exports.inputMedia = inputMedia;
69734
- exports.discriminatedForm = discriminatedForm5;
69734
+ exports.discriminatedForm = discriminatedForm6;
69735
69735
  exports.mappingsToStreams = mappingsToStreams;
69736
69736
  exports.singleAvStreamMapping = singleAvStreamMapping;
69737
69737
  var document_1 = require_document();
@@ -69823,7 +69823,7 @@ var require_client_types = __commonJS({
69823
69823
  tooltip: "rgba(255, 255, 255, 0.9)"
69824
69824
  }
69825
69825
  };
69826
- function discriminatedForm5(setup) {
69826
+ function discriminatedForm6(setup) {
69827
69827
  const options = Object.keys(setup).map((k) => ({
69828
69828
  key: k,
69829
69829
  display: setup[k].display
@@ -69843,7 +69843,7 @@ var require_client_types = __commonJS({
69843
69843
  }
69844
69844
  };
69845
69845
  }
69846
- discriminatedForm5.kind = function(setup) {
69846
+ discriminatedForm6.kind = function(setup) {
69847
69847
  const options = Object.keys(setup).map((k) => ({
69848
69848
  key: k,
69849
69849
  display: setup[k].display
@@ -70144,7 +70144,7 @@ function InlineView({ state, config }) {
70144
70144
  return "text-gray-500 dark:text-gray-400";
70145
70145
  }
70146
70146
  };
70147
- return (0, import_jsx_runtime.jsxs)("div", { className: "file-input space-y-2", id: `file-input-${config.id}`, children: [(0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [(0, import_jsx_runtime.jsx)("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Status:" }), (0, import_jsx_runtime.jsx)("span", { className: cn("text-sm font-medium", getStatusColor(state.status)), children: state.status.charAt(0).toUpperCase() + state.status.slice(1) })] }), state.currentFile && (0, import_jsx_runtime.jsxs)("div", { className: "text-sm text-gray-700 dark:text-gray-300", children: [(0, import_jsx_runtime.jsx)("span", { className: "font-medium", children: "File:" }), " ", basename(state.currentFile)] }), state.error && (0, import_jsx_runtime.jsxs)("div", { className: "text-sm text-red-500 dark:text-red-400 bg-red-50 dark:bg-red-900/20 p-2 rounded", children: [(0, import_jsx_runtime.jsx)("span", { className: "font-medium", children: "Error:" }), " ", state.error] }), state.status === "idle" && !state.currentFile && (0, import_jsx_runtime.jsx)("div", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Ready to play files via API" })] });
70147
+ return (0, import_jsx_runtime.jsxs)("div", { className: "file-input space-y-2", id: `file-input-${config.id}`, children: [(0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [(0, import_jsx_runtime.jsx)("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Status:" }), (0, import_jsx_runtime.jsx)("span", { className: cn("text-sm font-medium", getStatusColor(state.status)), children: state.status.charAt(0).toUpperCase() + state.status.slice(1) })] }), state.currentFile && (0, import_jsx_runtime.jsxs)("div", { className: "text-sm text-gray-700 dark:text-gray-300", children: [(0, import_jsx_runtime.jsx)("span", { className: "font-medium", children: "File:" }), " ", basename(state.currentFile), state.isLooping && (0, import_jsx_runtime.jsx)("span", { className: "ml-2 text-xs text-blue-600 dark:text-blue-400", children: "(Looping)" })] }), state.error && (0, import_jsx_runtime.jsxs)("div", { className: "text-sm text-red-500 dark:text-red-400 bg-red-50 dark:bg-red-900/20 p-2 rounded", children: [(0, import_jsx_runtime.jsx)("span", { className: "font-medium", children: "Error:" }), " ", state.error] }), state.status === "idle" && !state.currentFile && (0, import_jsx_runtime.jsx)("div", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Ready to play files via API" })] });
70148
70148
  }
70149
70149
  var inline_view_default = InlineView;
70150
70150
 
@@ -70200,7 +70200,8 @@ function info_default({ defineComponent, mappingsToStreams, StreamMappingForm, v
70200
70200
  initialState: () => ({
70201
70201
  status: "idle",
70202
70202
  currentFile: null,
70203
- error: null
70203
+ error: null,
70204
+ isLooping: false
70204
70205
  }),
70205
70206
  handleEvent(ev, state) {
70206
70207
  const evType = ev.type;
@@ -70210,7 +70211,8 @@ function info_default({ defineComponent, mappingsToStreams, StreamMappingForm, v
70210
70211
  ...state,
70211
70212
  status: "playing",
70212
70213
  currentFile: ev.filePath,
70213
- error: null
70214
+ error: null,
70215
+ isLooping: ev.isLooping
70214
70216
  };
70215
70217
  case "playback-completed":
70216
70218
  return {
@@ -70257,6 +70259,20 @@ function info_default({ defineComponent, mappingsToStreams, StreamMappingForm, v
70257
70259
  type: "text",
70258
70260
  optional: true
70259
70261
  }
70262
+ },
70263
+ initialFilename: {
70264
+ help: "File to start playing automatically on component startup",
70265
+ hint: {
70266
+ type: "text",
70267
+ optional: true
70268
+ }
70269
+ },
70270
+ initialLoop: {
70271
+ help: "Whether to loop the initial file continuously",
70272
+ hint: {
70273
+ type: "boolean",
70274
+ optional: true
70275
+ }
70260
70276
  }
70261
70277
  }
70262
70278
  }
@@ -85830,6 +85846,8 @@ function InlineView6({ state, config }) {
85830
85846
  return;
85831
85847
  if (!showPreview)
85832
85848
  return;
85849
+ if (!config.allowPreview)
85850
+ return;
85833
85851
  if (import_hls2.default.isSupported()) {
85834
85852
  let widevineLicenseUrl;
85835
85853
  const headers = {};
@@ -85882,8 +85900,8 @@ function InlineView6({ state, config }) {
85882
85900
  } else if (previewVideo.current.canPlayType("application/vnd.apple.mpegurl")) {
85883
85901
  previewVideo.current.src = url;
85884
85902
  }
85885
- }, [config.__global?.ezdrmConfig?.pX, config.drmProvider, state.drmToken, url, showPreview]);
85886
- return (0, import_jsx_runtime14.jsxs)("div", { className: "cmaf-output", children: [state.enabled ? (0, import_jsx_runtime14.jsx)("div", { className: "active text-green-500 dark:text-green-300", children: "Output enabled" }) : (0, import_jsx_runtime14.jsx)("div", { className: "disabled text-gray-500 dark:text-gray-400", children: "Output disabled" }), (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-2", children: [(0, import_jsx_runtime14.jsx)("input", { type: "checkbox", id: `video-toggle-${id}`, checked: showPreview, onChange: (e) => setShowPreview(e.target.checked), className: "h-4 w-4" }), (0, import_jsx_runtime14.jsx)("label", { htmlFor: `video-toggle-${id}`, className: "text-sm", children: "Show Preview" })] }), !url ? (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, {}) : (0, import_jsx_runtime14.jsx)("div", { className: "mb-5", children: (0, import_jsx_runtime14.jsx)("video", { ref: previewVideo, autoPlay: true, muted: true, id: `${id}-video` }) })] });
85903
+ }, [config.__global?.ezdrmConfig?.pX, config.drmProvider, state.drmToken, url, showPreview, config.allowPreview]);
85904
+ return (0, import_jsx_runtime14.jsxs)("div", { className: "cmaf-output", children: [state.enabled ? (0, import_jsx_runtime14.jsx)("div", { className: "active text-green-500 dark:text-green-300", children: "Output enabled" }) : (0, import_jsx_runtime14.jsx)("div", { className: "disabled text-gray-500 dark:text-gray-400", children: "Output disabled" }), config.allowPreview && (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [(0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-2", children: [(0, import_jsx_runtime14.jsx)("input", { type: "checkbox", id: `video-toggle-${id}`, checked: showPreview, onChange: (e) => setShowPreview(e.target.checked), className: "h-4 w-4" }), (0, import_jsx_runtime14.jsx)("label", { htmlFor: `video-toggle-${id}`, className: "text-sm", children: "Show Preview" })] }), !url ? (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, {}) : (0, import_jsx_runtime14.jsx)("div", { className: "mb-5 preview-video", children: (0, import_jsx_runtime14.jsx)("video", { ref: previewVideo, autoPlay: true, muted: true, id: `${id}-video` }) })] })] });
85887
85905
  }
85888
85906
  var inline_view_default6 = InlineView6;
85889
85907
 
@@ -90016,16 +90034,18 @@ var SegmentFormEntry = {
90016
90034
  hint: {
90017
90035
  type: "numeric",
90018
90036
  defaultValue: 1,
90019
- validation: z.number().min(0.2).max(10),
90020
- global: {
90021
- constraint: "custom",
90022
- message: "Part duration must be less than segment duration",
90023
- validate: (cfg) => {
90024
- if (cfg.targetPartDuration < cfg.targetSegmentDuration)
90025
- return true;
90026
- return false;
90027
- }
90028
- }
90037
+ validation: z.number().min(0.2).max(10)
90038
+ // this is actually not something that works at the moment
90039
+ // global: {
90040
+ // constraint: 'custom',
90041
+ // message: "Part duration must be less than segment duration",
90042
+ // this
90043
+ // validate: (cfg) => {
90044
+ // if (cfg.targetPartDuration < cfg.targetSegmentDuration)
90045
+ // return true;
90046
+ // return false;
90047
+ // }
90048
+ // }
90029
90049
  }
90030
90050
  },
90031
90051
  integralSegmentDuration: {
@@ -90173,6 +90193,7 @@ function info_default9(R) {
90173
90193
  name: desc.config.name
90174
90194
  };
90175
90195
  },
90196
+ css: ["styles.css"],
90176
90197
  runtime: {
90177
90198
  initialState: () => ({
90178
90199
  enabled: true
@@ -90225,6 +90246,13 @@ function info_default9(R) {
90225
90246
  defaultValue: true
90226
90247
  }
90227
90248
  },
90249
+ allowPreview: {
90250
+ help: "Whether to allow the preview to be shown in the UI",
90251
+ hint: {
90252
+ type: "boolean",
90253
+ defaultValue: true
90254
+ }
90255
+ },
90228
90256
  segments: SegmentFormEntry,
90229
90257
  destinations: DestinationsFormEntry,
90230
90258
  pushMode: {
@@ -90500,7 +90528,7 @@ function info_default12(registration) {
90500
90528
  advanced: true,
90501
90529
  hint: {
90502
90530
  type: "text",
90503
- optional: true,
90531
+ defaultValue: "norsk.m3u8",
90504
90532
  validation: Z.string().min(1).max(50).optional()
90505
90533
  }
90506
90534
  },
@@ -90976,7 +91004,7 @@ function info_default16(R) {
90976
91004
  }
90977
91005
  },
90978
91006
  showPreview: { help: "Show video preview", hint: { type: "boolean", defaultValue: true } },
90979
- bufferDelayMs: { help: "How many milliseconds in the jitter buffer (WebRTC only)", hint: { type: "numeric", validation: JitterBuffer, defaultValue: 500 } },
91007
+ bufferDelayMs: { help: "How many milliseconds in the jitter buffer (WebRTC only)", hint: { type: "numeric", validation: JitterBuffer, defaultValue: 1e3 } },
90980
91008
  notes: {
90981
91009
  help: "Additional notes about this component",
90982
91010
  hint: { type: "text", optional: true }
@@ -92299,7 +92327,15 @@ function info_default28({ defineComponent, validation: { Z } }) {
92299
92327
  hardware: (0, import_config5.HardwareSelection)()
92300
92328
  },
92301
92329
  form: {
92302
- url: { help: "URL to render on top of the video", hint: { type: "text", validation: Z.string().url(), defaultValue: "" } },
92330
+ url: {
92331
+ help: "URL to render on top of the video",
92332
+ hint: {
92333
+ type: "text",
92334
+ validation: Z.string().url(),
92335
+ defaultValue: "",
92336
+ envOverride: true
92337
+ }
92338
+ },
92303
92339
  notes: { help: "Notes about this component", hint: { type: "text", optional: true } }
92304
92340
  }
92305
92341
  }
@@ -92466,6 +92502,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
92466
92502
  advanced: void 0,
92467
92503
  hint: {
92468
92504
  type: "select",
92505
+ optional: true,
92469
92506
  options: [
92470
92507
  { value: "baseline", display: "baseline" },
92471
92508
  { value: "main", display: "main" },
@@ -92590,6 +92627,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
92590
92627
  advanced: void 0,
92591
92628
  hint: {
92592
92629
  type: "select",
92630
+ optional: true,
92593
92631
  options: [
92594
92632
  { value: "none", display: "none" },
92595
92633
  { value: "vbr", display: "vbr" },
@@ -92643,6 +92681,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
92643
92681
  advanced: void 0,
92644
92682
  hint: {
92645
92683
  type: "select",
92684
+ optional: true,
92646
92685
  options: [
92647
92686
  { value: "main", display: "main" },
92648
92687
  { value: "main10", display: "main10" },
@@ -92831,6 +92870,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
92831
92870
  advanced: void 0,
92832
92871
  hint: {
92833
92872
  type: "select",
92873
+ optional: true,
92834
92874
  options: [
92835
92875
  { value: "baseline", display: "baseline" },
92836
92876
  { value: "main", display: "main" },
@@ -92966,6 +93006,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
92966
93006
  advanced: void 0,
92967
93007
  hint: {
92968
93008
  type: "select",
93009
+ optional: true,
92969
93010
  options: [
92970
93011
  { value: "main", display: "main" },
92971
93012
  { value: "main10", display: "main10" }
@@ -93124,6 +93165,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
93124
93165
  advanced: void 0,
93125
93166
  hint: {
93126
93167
  type: "select",
93168
+ optional: true,
93127
93169
  options: [
93128
93170
  { value: "main_420_8", display: "main_420_8" }
93129
93171
  ]
@@ -93345,6 +93387,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
93345
93387
  advanced: void 0,
93346
93388
  hint: {
93347
93389
  type: "select",
93390
+ optional: true,
93348
93391
  options: [
93349
93392
  { value: "baseline", display: "baseline" },
93350
93393
  { value: "main", display: "main" },
@@ -93454,6 +93497,7 @@ function info_default29({ defineComponent, common: { FrameRates } }) {
93454
93497
  advanced: void 0,
93455
93498
  hint: {
93456
93499
  type: "select",
93500
+ optional: true,
93457
93501
  options: [
93458
93502
  { value: "main", display: "main" },
93459
93503
  { value: "main10", display: "main10" }
@@ -95389,6 +95433,24 @@ function info_default37(R) {
95389
95433
 
95390
95434
  // build/processor.videoDecoder/info.js
95391
95435
  var import_FaFileVideo = __toESM(require_FaFileVideo());
95436
+ var import_client_types5 = __toESM(require_client_types());
95437
+
95438
+ // build/processor.videoDecoder/views.js
95439
+ var import_jsx_runtime50 = __toESM(require_jsx_runtime());
95440
+ function DecodeView(opts) {
95441
+ switch (opts.type) {
95442
+ case "software":
95443
+ return (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: "Software" });
95444
+ case "quadra":
95445
+ return (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: "Quadra" });
95446
+ case "nvidia":
95447
+ return (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: "Nvidia" });
95448
+ default:
95449
+ assertUnreachable13(opts);
95450
+ }
95451
+ }
95452
+
95453
+ // build/processor.videoDecoder/info.js
95392
95454
  function info_default38({ defineComponent }) {
95393
95455
  return defineComponent({
95394
95456
  identifier: "processor.videoDecoder",
@@ -95410,7 +95472,7 @@ function info_default38({ defineComponent }) {
95410
95472
  },
95411
95473
  display: ({ config }) => {
95412
95474
  const displayed = {
95413
- acceleration: config.mode
95475
+ acceleration: config.options?.type ?? "software"
95414
95476
  };
95415
95477
  return displayed;
95416
95478
  },
@@ -95419,16 +95481,45 @@ function info_default38({ defineComponent }) {
95419
95481
  },
95420
95482
  configForm: {
95421
95483
  form: {
95422
- mode: {
95484
+ options: {
95423
95485
  help: "Acceleration",
95424
95486
  hint: {
95425
- type: "select",
95426
- defaultValue: "software",
95427
- options: [
95428
- { display: "Software", value: "software" },
95429
- { display: "Quadra", value: "quadra" },
95430
- { display: "Nvidia", value: "nvidia" }
95431
- ]
95487
+ defaultValue: { type: "software", threadCount: 0, lowDelay: false },
95488
+ type: "form-pick",
95489
+ view: DecodeView,
95490
+ form: (0, import_client_types5.discriminatedForm)({
95491
+ software: {
95492
+ display: "Software",
95493
+ form: {
95494
+ lowDelay: {
95495
+ advanced: true,
95496
+ help: "Low Delay",
95497
+ hint: {
95498
+ type: "boolean",
95499
+ defaultValue: false,
95500
+ optional: true
95501
+ }
95502
+ },
95503
+ threadCount: {
95504
+ advanced: true,
95505
+ help: "Threads",
95506
+ hint: {
95507
+ type: "numeric",
95508
+ defaultValue: 0,
95509
+ optional: true
95510
+ }
95511
+ }
95512
+ }
95513
+ },
95514
+ quadra: {
95515
+ display: "Quadra",
95516
+ form: {}
95517
+ },
95518
+ nvidia: {
95519
+ display: "Nvidia",
95520
+ form: {}
95521
+ }
95522
+ })
95432
95523
  }
95433
95524
  },
95434
95525
  notes: { help: "Notes about this component", hint: { type: "text", optional: true } }
@@ -95442,7 +95533,7 @@ var import_config9 = __toESM(require_config());
95442
95533
  var import_util10 = __toESM(require_util());
95443
95534
 
95444
95535
  // build/processor.webRtcDuplex/fullscreen.js
95445
- var import_jsx_runtime50 = __toESM(require_jsx_runtime());
95536
+ var import_jsx_runtime51 = __toESM(require_jsx_runtime());
95446
95537
  var import_react16 = __toESM(require_react());
95447
95538
  var import_webrtc_client2 = __toESM(require_webrtc_client());
95448
95539
  var DuplexWhepClient = class extends NorskWhepClient {
@@ -95515,7 +95606,7 @@ function FullscreenView2({ state, config }) {
95515
95606
  }
95516
95607
  }
95517
95608
  }, [state.publishUrl, state.outputUrl, container, button, client, sender, config, state.videoAvailable]);
95518
- return (0, import_jsx_runtime50.jsxs)("div", { children: [(0, import_jsx_runtime50.jsx)("div", { id: "buttons", children: (0, import_jsx_runtime50.jsx)("button", { ref: button, type: "button", className: "text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800", onClick: () => void go(), id: "go", children: "Send/Receive" }) }), (0, import_jsx_runtime50.jsx)("div", { id: "error" }), (0, import_jsx_runtime50.jsx)("div", { id: "container", ref: container, className: "p-4 absolute h-full w-full" })] });
95609
+ return (0, import_jsx_runtime51.jsxs)("div", { children: [(0, import_jsx_runtime51.jsx)("div", { id: "buttons", children: (0, import_jsx_runtime51.jsx)("button", { ref: button, type: "button", className: "text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800", onClick: () => void go(), id: "go", children: "Send/Receive" }) }), (0, import_jsx_runtime51.jsx)("div", { id: "error" }), (0, import_jsx_runtime51.jsx)("div", { id: "container", ref: container, className: "p-4 absolute h-full w-full" })] });
95519
95610
  }
95520
95611
 
95521
95612
  // build/processor.webRtcDuplex/info.js
@@ -95638,10 +95729,6 @@ function info_default40({ defineComponent, validation: { Z } }) {
95638
95729
  currentOffsetY: 0,
95639
95730
  currentWidth: 100,
95640
95731
  currentHeight: 100,
95641
- targetOffsetX: 0,
95642
- targetOffsetY: 0,
95643
- targetWidth: 100,
95644
- targetHeight: 100,
95645
95732
  transitioning: false,
95646
95733
  hasInputVideo: false,
95647
95734
  inputVideoResolution: void 0,
@@ -95658,10 +95745,6 @@ function info_default40({ defineComponent, validation: { Z } }) {
95658
95745
  currentOffsetY: ev.currentOffsetY,
95659
95746
  currentWidth: ev.currentWidth,
95660
95747
  currentHeight: ev.currentHeight,
95661
- targetOffsetX: ev.targetOffsetX,
95662
- targetOffsetY: ev.targetOffsetY,
95663
- targetWidth: ev.targetWidth,
95664
- targetHeight: ev.targetHeight,
95665
95748
  transitioning: ev.transitioning
95666
95749
  };
95667
95750
  case "transition-complete":
@@ -95730,29 +95813,6 @@ function info_default40({ defineComponent, validation: { Z } }) {
95730
95813
  ]
95731
95814
  }
95732
95815
  },
95733
- transitionDurationMs: {
95734
- help: "Duration for zoom transitions in milliseconds",
95735
- hint: {
95736
- type: "numeric",
95737
- validation: Z.number().min(0).max(5e3),
95738
- defaultValue: 300,
95739
- optional: true
95740
- }
95741
- },
95742
- transitionEasing: {
95743
- help: "Easing function for smooth transitions",
95744
- hint: {
95745
- type: "select",
95746
- defaultValue: "ease_in_out",
95747
- options: [
95748
- { value: "linear", display: "Linear" },
95749
- { value: "ease_in", display: "Ease In" },
95750
- { value: "ease_out", display: "Ease Out" },
95751
- { value: "ease_in_out", display: "Ease In-Out" }
95752
- ],
95753
- optional: true
95754
- }
95755
- },
95756
95816
  notes: {
95757
95817
  help: "Notes about this component",
95758
95818
  hint: {
@@ -95769,7 +95829,7 @@ function assertUnreachable27(_) {
95769
95829
  }
95770
95830
 
95771
95831
  // build/util.stats.latency/inline-view.js
95772
- var import_jsx_runtime51 = __toESM(require_jsx_runtime());
95832
+ var import_jsx_runtime52 = __toESM(require_jsx_runtime());
95773
95833
  var import_react17 = __toESM(require_react());
95774
95834
 
95775
95835
  // ../../node_modules/chart.js/auto/auto.js
@@ -95839,19 +95899,19 @@ function InlineView20({ state, config: _2 }) {
95839
95899
  return;
95840
95900
  chartControl.data = makeData(state);
95841
95901
  }, [chartControl, makeData, state]);
95842
- return (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-50 dark:bg-gray-700 rounded", style: { width: "360px", height: "200px", padding: "10px" }, children: (0, import_jsx_runtime51.jsx)("canvas", { className: "bg-gray-50 dark:bg-gray-700 rounded", ref: chartContainer }) });
95902
+ return (0, import_jsx_runtime52.jsx)("div", { className: "bg-gray-50 dark:bg-gray-700 rounded", style: { width: "360px", height: "200px", padding: "10px" }, children: (0, import_jsx_runtime52.jsx)("canvas", { className: "bg-gray-50 dark:bg-gray-700 rounded", ref: chartContainer }) });
95843
95903
  }
95844
95904
  var inline_view_default20 = InlineView20;
95845
95905
 
95846
95906
  // build/util.stats.latency/source-node-selection.js
95847
- var import_jsx_runtime52 = __toESM(require_jsx_runtime());
95907
+ var import_jsx_runtime53 = __toESM(require_jsx_runtime());
95848
95908
  function SourceNodeSelection(props) {
95849
- return (0, import_jsx_runtime52.jsx)("div", { children: (0, import_jsx_runtime52.jsxs)("select", { defaultValue: props.defaultValue, className: `node-editor-select-input`, id: props.id, onChange: myOnChange, onBlur: myOnChange, children: [(0, import_jsx_runtime52.jsx)("option", { value: "", children: "---" }, "empty"), Object.values(props.latestDocument.components).map((o, i) => {
95909
+ return (0, import_jsx_runtime53.jsx)("div", { children: (0, import_jsx_runtime53.jsxs)("select", { defaultValue: props.defaultValue, className: `node-editor-select-input`, id: props.id, onChange: myOnChange, onBlur: myOnChange, children: [(0, import_jsx_runtime53.jsx)("option", { value: "", children: "---" }, "empty"), Object.values(props.latestDocument.components).map((o, i) => {
95850
95910
  if (o.id == props.id)
95851
- return (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {});
95911
+ return (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, {});
95852
95912
  if (o.info.category === "output")
95853
95913
  return;
95854
- return (0, import_jsx_runtime52.jsx)("option", { value: o.id, children: o.config.displayName }, i);
95914
+ return (0, import_jsx_runtime53.jsx)("option", { value: o.id, children: o.config.displayName }, i);
95855
95915
  })] }) });
95856
95916
  function myOnChange(e) {
95857
95917
  props.onChanged(e.target.value);