@jarllyng/nostromo 3.6.0 → 3.8.0

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 (81) hide show
  1. package/dist/chunk-4NLMGH2S.cjs +3 -0
  2. package/dist/chunk-4NLMGH2S.cjs.map +1 -0
  3. package/dist/chunk-AYKNZARS.js +3 -0
  4. package/dist/chunk-AYKNZARS.js.map +1 -0
  5. package/dist/chunk-CGBIJDZX.cjs +3 -0
  6. package/dist/chunk-CGBIJDZX.cjs.map +1 -0
  7. package/dist/chunk-CT6LEOBW.js +3 -0
  8. package/dist/chunk-CT6LEOBW.js.map +1 -0
  9. package/dist/chunk-E3A4SP3X.cjs +3 -0
  10. package/dist/chunk-E3A4SP3X.cjs.map +1 -0
  11. package/dist/chunk-EZGTC7L3.js +3 -0
  12. package/dist/chunk-EZGTC7L3.js.map +1 -0
  13. package/dist/chunk-GCMMAUW3.js +3 -0
  14. package/dist/chunk-GCMMAUW3.js.map +1 -0
  15. package/dist/chunk-HEU5GFOV.js +3 -0
  16. package/dist/chunk-HEU5GFOV.js.map +1 -0
  17. package/dist/chunk-KCS3UL74.cjs +3 -0
  18. package/dist/chunk-KCS3UL74.cjs.map +1 -0
  19. package/dist/chunk-MIYL7YKU.cjs +3 -0
  20. package/dist/chunk-MIYL7YKU.cjs.map +1 -0
  21. package/dist/chunk-MM54MZBX.js +3 -0
  22. package/dist/chunk-MM54MZBX.js.map +1 -0
  23. package/dist/chunk-PZLBMQGI.cjs +3 -0
  24. package/dist/chunk-PZLBMQGI.cjs.map +1 -0
  25. package/dist/chunk-R4L5BZYI.cjs +3 -0
  26. package/dist/chunk-R4L5BZYI.cjs.map +1 -0
  27. package/dist/chunk-SZ34F6OZ.cjs +3 -0
  28. package/dist/chunk-SZ34F6OZ.cjs.map +1 -0
  29. package/dist/chunk-XYPJ2K22.js +3 -0
  30. package/dist/chunk-XYPJ2K22.js.map +1 -0
  31. package/dist/chunk-YCVOS3MT.js +3 -0
  32. package/dist/chunk-YCVOS3MT.js.map +1 -0
  33. package/dist/components/core/alert-dialog.cjs +3 -0
  34. package/dist/components/core/alert-dialog.cjs.map +1 -0
  35. package/dist/components/core/alert-dialog.d.cts +50 -0
  36. package/dist/components/core/alert-dialog.d.ts +50 -0
  37. package/dist/components/core/alert-dialog.js +3 -0
  38. package/dist/components/core/alert-dialog.js.map +1 -0
  39. package/dist/components/core/aspect-ratio.cjs +3 -0
  40. package/dist/components/core/aspect-ratio.cjs.map +1 -0
  41. package/dist/components/core/aspect-ratio.d.cts +24 -0
  42. package/dist/components/core/aspect-ratio.d.ts +24 -0
  43. package/dist/components/core/aspect-ratio.js +3 -0
  44. package/dist/components/core/aspect-ratio.js.map +1 -0
  45. package/dist/components/core/context-menu.cjs +3 -0
  46. package/dist/components/core/context-menu.cjs.map +1 -0
  47. package/dist/components/core/context-menu.d.cts +44 -0
  48. package/dist/components/core/context-menu.d.ts +44 -0
  49. package/dist/components/core/context-menu.js +3 -0
  50. package/dist/components/core/context-menu.js.map +1 -0
  51. package/dist/components/core/dropdown-menu.cjs +1 -1
  52. package/dist/components/core/dropdown-menu.js +1 -1
  53. package/dist/components/core/hover-card.cjs +3 -0
  54. package/dist/components/core/hover-card.cjs.map +1 -0
  55. package/dist/components/core/hover-card.d.cts +22 -0
  56. package/dist/components/core/hover-card.d.ts +22 -0
  57. package/dist/components/core/hover-card.js +3 -0
  58. package/dist/components/core/hover-card.js.map +1 -0
  59. package/dist/components/core/scroll-area.cjs +3 -0
  60. package/dist/components/core/scroll-area.cjs.map +1 -0
  61. package/dist/components/core/scroll-area.d.cts +26 -0
  62. package/dist/components/core/scroll-area.d.ts +26 -0
  63. package/dist/components/core/scroll-area.js +3 -0
  64. package/dist/components/core/scroll-area.js.map +1 -0
  65. package/dist/components/core/toggle.cjs +3 -0
  66. package/dist/components/core/toggle.cjs.map +1 -0
  67. package/dist/components/core/toggle.d.cts +33 -0
  68. package/dist/components/core/toggle.d.ts +33 -0
  69. package/dist/components/core/toggle.js +3 -0
  70. package/dist/components/core/toggle.js.map +1 -0
  71. package/dist/index.cjs +1 -1
  72. package/dist/index.cjs.map +1 -1
  73. package/dist/index.d.cts +12 -0
  74. package/dist/index.d.ts +12 -0
  75. package/dist/index.js +1 -1
  76. package/dist/index.js.map +1 -1
  77. package/package.json +61 -1
  78. package/dist/chunk-BX4VBLKZ.cjs +0 -3
  79. package/dist/chunk-BX4VBLKZ.cjs.map +0 -1
  80. package/dist/chunk-E44BBSLT.js +0 -3
  81. package/dist/chunk-E44BBSLT.js.map +0 -1
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkMIYL7YKU_cjs=require('./chunk-MIYL7YKU.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),o=require('react'),e=require('@radix-ui/react-dropdown-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var o__namespace=/*#__PURE__*/_interopNamespace(o);var e__namespace=/*#__PURE__*/_interopNamespace(e);var C=e__namespace.Root,S=e__namespace.Trigger,g=e__namespace.Group,k=e__namespace.Sub,x=e__namespace.RadioGroup,l=o__namespace.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.Content,{ref:i,sideOffset:n,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,t),...r})));l.displayName=e__namespace.Content.displayName;var M=o__namespace.forwardRef(({className:t,destructive:n,inset:r,...i},u)=>o__namespace.createElement(e__namespace.Item,{ref:u,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,r&&chunkMIYL7YKU_cjs.c,n&&chunkMIYL7YKU_cjs.g,t),...i}));M.displayName=e__namespace.Item.displayName;var D=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.CheckboxItem,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));D.displayName=e__namespace.CheckboxItem.displayName;var P=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.RadioItem,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));P.displayName=e__namespace.RadioItem.displayName;var R=o__namespace.forwardRef(({className:t,inset:n,...r},i)=>o__namespace.createElement(e__namespace.Label,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.d,n&&chunkMIYL7YKU_cjs.c,t),...r}));R.displayName=e__namespace.Label.displayName;var v=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Separator,{ref:r,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.e,t),...n}));v.displayName=e__namespace.Separator.displayName;function y({className:t,...n}){return o__namespace.createElement("span",{className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.f,t),...n})}y.displayName="DropdownMenuShortcut";var b=o__namespace.forwardRef(({className:t,inset:n,children:r,...i},u)=>o__namespace.createElement(e__namespace.SubTrigger,{ref:u,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,"data-[state=open]:bg-muted",n&&chunkMIYL7YKU_cjs.c,t),...i},r,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e__namespace.SubTrigger.displayName;var N=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.SubContent,{ref:r,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,t),...n})));N.displayName=e__namespace.SubContent.displayName;exports.a=C;exports.b=S;exports.c=g;exports.d=k;exports.e=x;exports.f=l;exports.g=M;exports.h=D;exports.i=P;exports.j=R;exports.k=v;exports.l=y;exports.m=b;exports.n=N;//# sourceMappingURL=chunk-4NLMGH2S.cjs.map
3
+ //# sourceMappingURL=chunk-4NLMGH2S.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","e","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuContent","o","className","sideOffset","props","ref","cn","menuSurface","DropdownMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","menuLabel","DropdownMenuSeparator","menuSeparator","DropdownMenuShortcut","menuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"4kBAwBA,IAAMA,CAAAA,CAAqCC,kBACrCC,CAAAA,CAA4CD,YAAA,CAAA,OAAA,CAC5CE,EAA0CF,YAAA,CAAA,KAAA,CAC1CG,CAAAA,CAAwCH,iBACxCI,CAAAA,CAA+CJ,YAAA,CAAA,UAAA,CAE/CK,EAA4BC,YAAA,CAAA,UAAA,CAGhC,CAAC,CAA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CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1BJ,2BAAuBN,YAAA,CAAA,MAAA,CAAtB,IAAA,CACCM,2BAAuBN,YAAA,CAAA,UAAA,CAAtB,CACC,IAAKU,CAAAA,CACL,SAAA,CAAWC,oBAAGC,mBAAAA,CAAaL,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAuB,WAAA,CACC7B,YAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-4NLMGH2S.cjs","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a as a$1,b as b$1,c,g as g$1,d as d$1,e as e$1,f}from'./chunk-XYPJ2K22.js';import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-context-menu';var S=e.Root,g=e.Trigger,w=e.Group,k=e.Sub,L=e.RadioGroup,l=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Portal,null,t.createElement(e.Content,{ref:i,className:a(a$1,n),...o})));l.displayName=e.Content.displayName;var M=t.forwardRef(({className:n,destructive:o,inset:i,...a$1},s)=>t.createElement(e.Item,{ref:s,className:a(b$1,i&&c,o&&g$1,n),...a$1}));M.displayName=e.Item.displayName;var P=t.forwardRef(({className:n,children:o,...i},a$1)=>t.createElement(e.CheckboxItem,{ref:a$1,className:a(b$1,c,n),...i},t.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t.createElement(e.ItemIndicator,null,t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},t.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),o));P.displayName=e.CheckboxItem.displayName;var R=t.forwardRef(({className:n,children:o,...i},a$1)=>t.createElement(e.RadioItem,{ref:a$1,className:a(b$1,c,n),...i},t.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t.createElement(e.ItemIndicator,null,t.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),o));R.displayName=e.RadioItem.displayName;var v=t.forwardRef(({className:n,inset:o,...i},a$1)=>t.createElement(e.Label,{ref:a$1,className:a(d$1,o&&c,n),...i}));v.displayName=e.Label.displayName;var d=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Separator,{ref:i,className:a(e$1,n),...o}));d.displayName=e.Separator.displayName;function y({className:n,...o}){return t.createElement("span",{className:a(f,n),...o})}y.displayName="ContextMenuShortcut";var b=t.forwardRef(({className:n,inset:o,children:i,...a$1},s)=>t.createElement(e.SubTrigger,{ref:s,className:a(b$1,"data-[state=open]:bg-muted",o&&c,n),...a$1},i,t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},t.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e.SubTrigger.displayName;var N=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Portal,null,t.createElement(e.SubContent,{ref:i,className:a(a$1,n),...o})));N.displayName=e.SubContent.displayName;export{S as a,g as b,w as c,k as d,L as e,l as f,M as g,P as h,R as i,v as j,d as k,y as l,b as m,N as n};//# sourceMappingURL=chunk-AYKNZARS.js.map
3
+ //# sourceMappingURL=chunk-AYKNZARS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/context-menu.tsx"],"names":["ContextMenu","ContextMenuTrigger","ContextMenuGroup","ContextMenuSub","ContextMenuRadioGroup","ContextMenuContent","className","props","ref","cn","menuSurface","ContextMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","ContextMenuCheckboxItem","children","ContextMenuRadioItem","ContextMenuLabel","menuLabel","ContextMenuSeparator","menuSeparator","ContextMenuShortcut","menuShortcut","ContextMenuSubTrigger","ContextMenuSubContent"],"mappings":"8LA4BA,IAAMA,EAAmC,CAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0C,UAC1CC,CAAAA,CAAwC,CAAA,CAAA,KAAA,CACxCC,EAAsC,CAAA,CAAA,GAAA,CACtCC,CAAAA,CAA6C,aAE7CC,CAAAA,CAA2B,CAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,SAArB,IAAA,CACC,CAAA,CAAA,aAAA,CAAsB,UAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CAAGC,IAAaJ,CAAS,CAAA,CACnC,GAAGC,CAAAA,CACN,CACF,CACD,EACDF,CAAAA,CAAmB,YAAmC,CAAA,CAAA,OAAA,CAAQ,WAAA,KASxDM,CAAAA,CAAwB,CAAA,CAAA,UAAA,CAG5B,CAAC,CAAE,SA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IAAME,EAA8B,CAAA,CAAA,UAAA,CAKlC,CAAC,CAAE,SAAA,CAAApB,CAAAA,CAAW,MAAAO,CAAAA,CAAO,QAAA,CAAAK,EAAU,GAAGX,GAAM,EAAGC,CAAAA,GAC3C,CAAA,CAAA,aAAA,CAAsB,aAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CACTK,IACA,4BAAA,CACAD,CAAAA,EAASE,EACTT,CACF,CAAA,CACC,GAAGC,GAAAA,CAAAA,CAEHW,CAAAA,CACD,gBAAC,KAAA,CAAA,CACC,OAAA,CAAQ,YACR,IAAA,CAAK,MAAA,CACL,UAAU,qBAAA,CACV,aAAA,CAAY,QAEZ,CAAA,CAAA,aAAA,CAAC,MAAA,CAAA,CACC,EAAE,cAAA,CACF,MAAA,CAAO,eACP,WAAA,CAAY,GAAA,CACZ,cAAc,OAAA,CACd,cAAA,CAAe,QACjB,CACF,CACF,CACD,EACDQ,CAAAA,CAAsB,YAAmC,CAAA,CAAA,UAAA,CAAW,WAAA,KAE9DC,CAAAA,CAA8B,CAAA,CAAA,UAAA,CAGlC,CAAC,CAAE,SAAA,CAAArB,EAAW,GAAGC,CAAM,EAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,SAArB,IAAA,CACC,CAAA,CAAA,aAAA,CAAsB,aAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CAAGC,IAAaJ,CAAS,CAAA,CACnC,GAAGC,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAsB,YAAmC,CAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-AYKNZARS.js","sourcesContent":["import * as React from \"react\";\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that opens on right-click, at the pointer.\n *\n * A separate primitive from `DropdownMenu` rather than a prop on it, because the\n * two are genuinely different: this one has no visible trigger, opens where the\n * pointer is, and on touch opens on long-press. Radix models them separately for\n * that reason. The styling is shared through menu-styles.ts so the two look like\n * the same menu, which is what a user expects.\n *\n * Worth saying out loud: a context menu must not be the only way to reach an\n * action. There is no affordance for it, it is awkward on touch, and a keyboard\n * user gets there only through the context-menu key. Put the same actions in a\n * `DropdownMenu` or a toolbar as well.\n */\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nexport interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof ContextMenuPrimitive.Item\n> {\n destructive?: boolean;\n inset?: boolean;\n}\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n ContextMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\";\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuSub,\n ContextMenuSubTrigger,\n ContextMenuSubContent,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react'),r=require('@radix-ui/react-scroll-area');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var r__namespace=/*#__PURE__*/_interopNamespace(r);var S=e__namespace.forwardRef(({className:i,children:l,orientation:o="vertical",viewportClassName:t,...m},n)=>e__namespace.createElement(r__namespace.Root,{ref:n,className:chunkITRGJNWL_cjs.a("relative overflow-hidden",i),...m},e__namespace.createElement(r__namespace.Viewport,{className:chunkITRGJNWL_cjs.a("h-full w-full rounded-[inherit]",t)},l),o!=="horizontal"&&e__namespace.createElement(c,{orientation:"vertical"}),o!=="vertical"&&e__namespace.createElement(c,{orientation:"horizontal"}),e__namespace.createElement(r__namespace.Corner,null)));S.displayName=r__namespace.Root.displayName;var c=e__namespace.forwardRef(({className:i,orientation:l="vertical",...o},t)=>e__namespace.createElement(r__namespace.ScrollAreaScrollbar,{ref:t,orientation:l,className:chunkITRGJNWL_cjs.a("flex touch-none select-none transition-colors",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",i),...o},e__namespace.createElement(r__namespace.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})));c.displayName=r__namespace.ScrollAreaScrollbar.displayName;exports.a=S;exports.b=c;//# sourceMappingURL=chunk-CGBIJDZX.cjs.map
3
+ //# sourceMappingURL=chunk-CGBIJDZX.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/scroll-area.tsx"],"names":["ScrollArea","e","className","children","orientation","viewportClassName","props","ref","r","cn","ScrollBar"],"mappings":"4hBA2BMA,CAAAA,CAAmBC,YAAA,CAAA,UAAA,CAIvB,CACE,CACE,SAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,UAAA,CACd,iBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,GAEAN,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,EACL,SAAA,CAAWE,mBAAAA,CAAG,0BAAA,CAA4BP,CAAS,CAAA,CAClD,GAAGI,CAAAA,CAAAA,CAEJL,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,QAAA,CAApB,CACC,SAAA,CAAWC,mBAAAA,CAAG,iCAAA,CAAmCJ,CAAiB,GAEjEF,CACH,CAAA,CACCC,CAAAA,GAAgB,YAAA,EAAgBH,YAAA,CAAA,aAAA,CAACS,CAAAA,CAAA,CAAU,WAAA,CAAY,UAAA,CAAW,CAAA,CAClEN,CAAAA,GAAgB,UAAA,EAAcH,YAAA,CAAA,aAAA,CAACS,CAAAA,CAAA,CAAU,WAAA,CAAY,YAAA,CAAa,CAAA,CACnET,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,MAAA,CAApB,IAA2B,CAC9B,CAEJ,EACAR,CAAAA,CAAW,WAAA,CAAkCQ,YAAA,CAAA,IAAA,CAAK,WAAA,CAElD,IAAME,EAAkBT,YAAA,CAAA,UAAA,CAGtB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,WAAA,CAAAE,CAAAA,CAAc,UAAA,CAAY,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GACpDN,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,mBAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,WAAA,CAAaH,CAAAA,CACb,SAAA,CAAWK,mBAAAA,CACT,+CAAA,CACAL,CAAAA,GAAgB,UAAA,EACd,oDAAA,CACFA,CAAAA,GAAgB,YAAA,EACd,sDAAA,CACFF,CACF,EACC,GAAGI,CAAAA,CAAAA,CAEJL,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,eAAA,CAApB,CAAoC,SAAA,CAAU,wCAAA,CAAyC,CAC1F,CACD,EACDE,CAAAA,CAAU,WAAA,CAAkCF,YAAA,CAAA,mBAAA,CAAoB,WAAA","file":"chunk-CGBIJDZX.cjs","sourcesContent":["import * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A scrollable region with scrollbars that look the same everywhere.\n *\n * Native scrollbars differ per platform and, on macOS with overlay scrollbars\n * on, are invisible until you scroll. That is fine for a page and awkward for a\n * panel inside one, where the absence of a scrollbar reads as \"there is nothing\n * more here\".\n *\n * Radix keeps native scrolling and native keyboard behaviour and only replaces\n * the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all\n * still work. Worth stating because scrollbar libraries that reimplement\n * scrolling itself usually break at least one of those.\n */\n\nexport interface ScrollAreaProps extends React.ComponentPropsWithoutRef<\n typeof ScrollAreaPrimitive.Root\n> {\n /** Which scrollbars to render. Defaults to vertical. */\n orientation?: \"vertical\" | \"horizontal\" | \"both\";\n /** Passed to the viewport, for a max height or a fixed size. */\n viewportClassName?: string;\n}\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n ScrollAreaProps\n>(\n (\n {\n className,\n children,\n orientation = \"vertical\",\n viewportClassName,\n ...props\n },\n ref,\n ) => (\n <ScrollAreaPrimitive.Root\n ref={ref}\n className={cn(\"relative overflow-hidden\", className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n className={cn(\"h-full w-full rounded-[inherit]\", viewportClassName)}\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n {orientation !== \"horizontal\" && <ScrollBar orientation=\"vertical\" />}\n {orientation !== \"vertical\" && <ScrollBar orientation=\"horizontal\" />}\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n ),\n);\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition-colors\",\n orientation === \"vertical\" &&\n \"h-full w-2.5 border-l border-l-transparent p-[1px]\",\n orientation === \"horizontal\" &&\n \"h-2.5 flex-col border-t border-t-transparent p-[1px]\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-full bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;\n\nexport { ScrollArea, ScrollBar };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a as a$1}from'./chunk-AVTJE2O2.js';import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-alert-dialog';var P=e.Root,y=e.Trigger,s=e.Portal,n=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i),...a$1}));n.displayName=e.Overlay.displayName;var c=t.forwardRef(({className:i,...a$1},o)=>t.createElement(s,null,t.createElement(n,null),t.createElement(e.Content,{ref:o,className:a("fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-background p-6 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",i),...a$1})));c.displayName=e.Content.displayName;function f({className:i,...a$1}){return t.createElement("div",{className:a("flex flex-col gap-2",i),...a$1})}f.displayName="AlertDialogHeader";function d({className:i,...a$1}){return t.createElement("div",{className:a("mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",i),...a$1})}d.displayName="AlertDialogFooter";var p=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Title,{ref:o,className:a("text-lg font-semibold text-foreground",i),...a$1}));p.displayName=e.Title.displayName;var g=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Description,{ref:o,className:a("text-sm text-muted-foreground",i),...a$1}));g.displayName=e.Description.displayName;var A=t.forwardRef(({className:i,variant:a$2="destructive",...o},m)=>t.createElement(e.Action,{ref:m,className:a(a$1({variant:a$2}),i),...o}));A.displayName=e.Action.displayName;var D=t.forwardRef(({className:i,...a$2},o)=>t.createElement(e.Cancel,{ref:o,className:a(a$1({variant:"outline"}),i),...a$2}));D.displayName=e.Cancel.displayName;export{P as a,y as b,s as c,n as d,c as e,f,d as g,p as h,g as i,A as j,D as k};//# sourceMappingURL=chunk-CT6LEOBW.js.map
3
+ //# sourceMappingURL=chunk-CT6LEOBW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/alert-dialog.tsx"],"names":["AlertDialog","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","className","props","ref","cn","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","variant","buttonVariants","AlertDialogCancel"],"mappings":"sJA2BA,IAAMA,CAAAA,CAAmC,CAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0C,CAAA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AA,CACnD,GAAGC,CAAAA,CACN,CACD,EACDQ,CAAAA,CAAkB,WAAA,CAAmC,CAAA,CAAA,MAAA,CAAO,WAAA,CAE5D,IAAMG,CAAAA,CAA0B,CAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAZ,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CAAGQ,GAAAA,CAAe,CAAE,OAAA,CAAS,SAAU,CAAC,CAAA,CAAGX,CAAS,CAAA,CAC9D,GAAGC,GAAAA,CACN,CACD,EACDW,CAAAA,CAAkB,WAAA,CAAmC,CAAA,CAAA,MAAA,CAAO,WAAA","file":"chunk-CT6LEOBW.js","sourcesContent":["import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\n/**\n * A modal that interrupts to confirm something consequential: delete, revoke,\n * overwrite.\n *\n * Not a variant of `Dialog`, and not a styling choice. Radix enforces three\n * differences, all verified rather than assumed:\n *\n * - `role=\"alertdialog\"`, so it is announced as one\n * - clicking outside does not dismiss it, so a confirmation cannot be lost by\n * missing the button\n * - focus starts on Cancel, not on the action, so a reflexive Enter cancels\n * rather than deletes\n *\n * Escape *does* close it. That is deliberate on Radix's part and correct: a\n * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to\n * be dismissible that way. Cancelling is the safe outcome here, so nothing is\n * lost by it.\n *\n * Reach for `Dialog` when the user opened it on purpose and can walk away, and\n * for this when the app is asking a question it needs answered.\n */\n\nconst AlertDialog = AlertDialogPrimitive.Root;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 \" +\n \"rounded-xl border border-border bg-background p-6 shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return <div className={cn(\"flex flex-col gap-2\", className)} {...props} />;\n}\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\nexport interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<\n typeof AlertDialogPrimitive.Action\n> {\n /**\n * Most alert dialogs confirm something destructive, so this defaults to the\n * destructive button rather than leaving every call site to remember.\n */\n variant?: \"default\" | \"destructive\";\n}\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n AlertDialogActionProps\n>(({ className, variant = \"destructive\", ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants({ variant }), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-hover-card');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var e__namespace=/*#__PURE__*/_interopNamespace(e);var f=e__namespace.Root,v=e__namespace.Trigger,m=t__namespace.forwardRef(({className:r,align:a="center",sideOffset:i=8,...d},n)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.Content,{ref:n,align:a,sideOffset:i,className:chunkITRGJNWL_cjs.a("z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})));m.displayName=e__namespace.Content.displayName;exports.a=f;exports.b=v;exports.c=m;//# sourceMappingURL=chunk-E3A4SP3X.cjs.map
3
+ //# sourceMappingURL=chunk-E3A4SP3X.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/hover-card.tsx"],"names":["HoverCard","e","HoverCardTrigger","HoverCardContent","t","className","align","sideOffset","props","ref","cn"],"mappings":"uhBAmBA,IAAMA,CAAAA,CAA+BC,YAAA,CAAA,IAAA,CAC/BC,CAAAA,CAAsCD,YAAA,CAAA,OAAA,CAEtCE,CAAAA,CAAyBC,wBAG7B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAQ,SAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,IAC5DL,YAAA,CAAA,aAAA,CAAoBH,YAAA,CAAA,MAAA,CAAnB,KACCG,YAAA,CAAA,aAAA,CAAoBH,YAAA,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKQ,CAAAA,CACL,KAAA,CAAOH,CAAAA,CACP,UAAA,CAAYC,CAAAA,CACZ,UAAWG,mBAAAA,CACT,qbAAA,CAMAL,CACF,CAAA,CACC,GAAGG,CAAAA,CACN,CACF,CACD,EACDL,CAAAA,CAAiB,WAAA,CAAiCF,YAAA,CAAA,OAAA,CAAQ,WAAA","file":"chunk-E3A4SP3X.cjs","sourcesContent":["import * as React from \"react\";\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A preview that appears on hover: a user card behind a mention, a repository\n * summary behind a link.\n *\n * Not a `Tooltip`. A tooltip labels something in a few words and is announced as\n * the element's description; a hover card holds real content, including links\n * you can move the pointer into.\n *\n * It opens on hover and on keyboard focus, but its content is not reachable by\n * keyboard beyond that, and it never opens on touch. So it has to stay\n * supplementary: everything inside must also be available somewhere else. Radix\n * marks it `aria-hidden` for that reason, which is correct and means a screen\n * reader will not see it at all.\n */\n\nconst HoverCard = HoverCardPrimitive.Root;\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 8, ...props }, ref) => (\n <HoverCardPrimitive.Portal>\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className,\n )}\n {...props}\n />\n </HoverCardPrimitive.Portal>\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName;\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';import*as p from'@radix-ui/react-toggle';import*as o from'@radix-ui/react-toggle-group';import {cva}from'class-variance-authority';var l=cva("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-muted data-[state=on]:text-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary"},size:{sm:"h-8 min-w-8 px-2",default:"h-9 min-w-9 px-2.5",lg:"h-10 min-w-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),u=e.forwardRef(({className:t,variant:r,size:i,...a$1},g)=>e.createElement(p.Root,{ref:g,className:a(l({variant:r,size:i}),t),...a$1}));u.displayName=p.Root.displayName;var m=e.createContext({size:"default",variant:"default"}),d=e.forwardRef(({className:t,variant:r,size:i,children:a$1,...g},n)=>e.createElement(o.Root,{ref:n,className:a("flex items-center gap-1",t),...g},e.createElement(m.Provider,{value:{variant:r,size:i}},a$1)));d.displayName=o.Root.displayName;var c=e.forwardRef(({className:t,variant:r,size:i,...a$1},g)=>{let n=e.useContext(m);return e.createElement(o.Item,{ref:g,className:a(l({variant:r??n.variant,size:i??n.size}),t),...a$1})});c.displayName=o.Item.displayName;export{l as a,u as b,d as c,c as d};//# sourceMappingURL=chunk-EZGTC7L3.js.map
3
+ //# sourceMappingURL=chunk-EZGTC7L3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/toggle.tsx"],"names":["toggleVariants","cva","Toggle","className","variant","size","props","ref","cn","ToggleGroupContext","ToggleGroup","children","ToggleGroupItem","group"],"mappings":"+LAcA,IAAMA,EAAiBC,GAAAA,CACrB,wXAAA,CAKA,CACE,QAAA,CAAU,CACR,QAAS,CACP,OAAA,CAAS,iBACT,OAAA,CACE,mFACJ,EACA,IAAA,CAAM,CACJ,GAAI,kBAAA,CACJ,OAAA,CAAS,qBACT,EAAA,CAAI,oBACN,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SAAA,CACT,KAAM,SACR,CACF,CACF,CAAA,CAOMC,CAAAA,CAAe,aAGnB,CAAC,CAAE,UAAAC,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,GAAGC,GAAM,CAAA,CAAGC,IACzC,CAAA,CAAA,aAAA,CAAiB,CAAA,CAAA,IAAA,CAAhB,CACC,GAAA,CAAKA,CAAAA,CACL,UAAWC,CAAAA,CAAGR,CAAAA,CAAe,CAAE,OAAA,CAAAI,CAAAA,CAAS,KAAAC,CAAK,CAAC,EAAGF,CAAS,CAAA,CACzD,GAAGG,GAAAA,CACN,CACD,EACDJ,CAAAA,CAAO,WAAA,CAA8B,OAAK,WAAA,CAO1C,IAAMO,EAA2B,CAAA,CAAA,aAAA,CAE/B,CAAE,KAAM,SAAA,CAAW,OAAA,CAAS,SAAU,CAAC,CAAA,CAanCC,CAAAA,CAAoB,aAGxB,CAAC,CAAE,UAAAP,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,SAAAM,GAAAA,CAAU,GAAGL,CAAM,CAAA,CAAGC,CAAAA,GACnD,gBAAsB,CAAA,CAAA,IAAA,CAArB,CACC,IAAKA,CAAAA,CACL,SAAA,CAAWC,EAAG,yBAAA,CAA2BL,CAAS,EACjD,GAAGG,CAAAA,CAAAA,CAEJ,gBAACG,CAAAA,CAAmB,QAAA,CAAnB,CAA4B,KAAA,CAAO,CAAE,QAAAL,CAAAA,CAAS,IAAA,CAAAC,CAAK,CAAA,CAAA,CACjDM,GACH,CACF,CACD,EACDD,EAAY,WAAA,CAAmC,CAAA,CAAA,IAAA,CAAK,WAAA,CAOpD,IAAME,CAAAA,CAAwB,CAAA,CAAA,UAAA,CAG5B,CAAC,CAAE,SAAA,CAAAT,EAAW,OAAA,CAAAC,CAAAA,CAAS,KAAAC,CAAAA,CAAM,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAAQ,CACjD,IAAMM,CAAAA,CAAc,aAAWJ,CAAkB,CAAA,CACjD,OACE,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,UAAWC,CAAAA,CACTR,CAAAA,CAAe,CACb,OAAA,CAASI,CAAAA,EAAWS,EAAM,OAAA,CAC1B,IAAA,CAAMR,GAAQQ,CAAAA,CAAM,IACtB,CAAC,CAAA,CACDV,CACF,EACC,GAAGG,GAAAA,CACN,CAEJ,CAAC,EACDM,CAAAA,CAAgB,WAAA,CAAmC,CAAA,CAAA,IAAA,CAAK,WAAA","file":"chunk-EZGTC7L3.js","sourcesContent":["import * as React from \"react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A button that stays pressed: bold in a toolbar, a filter chip, a view mode.\n *\n * Distinct from `Switch`, which is a form control with an on and an off state\n * and belongs next to a label. A toggle is a button, announces itself as one\n * with `aria-pressed`, and lives in a toolbar rather than a form.\n */\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors \" +\n \"hover:bg-muted hover:text-foreground \" +\n \"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background \" +\n \"disabled:pointer-events-none disabled:opacity-50 \" +\n \"data-[state=on]:bg-muted data-[state=on]:text-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary\",\n },\n size: {\n sm: \"h-8 min-w-8 px-2\",\n default: \"h-9 min-w-9 px-2.5\",\n lg: \"h-10 min-w-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nexport interface ToggleProps\n extends\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>,\n VariantProps<typeof toggleVariants> {}\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n ToggleProps\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n));\nToggle.displayName = TogglePrimitive.Root.displayName;\n\n/**\n * The group passes its variant and size down through context rather than\n * through cloned children, so an item can still override either one and a\n * consumer can wrap items in their own markup without the styling falling off.\n */\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({ size: \"default\", variant: \"default\" });\n\n/**\n * A type intersection, not `interface extends`. Radix's Root props are a\n * discriminated union of the single-select and multi-select shapes, and\n * extending it collapses the union: `children` disappears and neither `type`\n * variant is assignable. Intersecting distributes over the union and keeps both.\n */\nexport type ToggleGroupProps = React.ComponentPropsWithoutRef<\n typeof ToggleGroupPrimitive.Root\n> &\n VariantProps<typeof toggleVariants>;\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n ToggleGroupProps\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nexport interface ToggleGroupItemProps\n extends\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>,\n VariantProps<typeof toggleVariants> {}\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n ToggleGroupItemProps\n>(({ className, variant, size, ...props }, ref) => {\n const group = React.useContext(ToggleGroupContext);\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: variant ?? group.variant,\n size: size ?? group.size,\n }),\n className,\n )}\n {...props}\n />\n );\n});\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';import*as r from'@radix-ui/react-scroll-area';var S=e.forwardRef(({className:i,children:l,orientation:o="vertical",viewportClassName:t,...m},n)=>e.createElement(r.Root,{ref:n,className:a("relative overflow-hidden",i),...m},e.createElement(r.Viewport,{className:a("h-full w-full rounded-[inherit]",t)},l),o!=="horizontal"&&e.createElement(c,{orientation:"vertical"}),o!=="vertical"&&e.createElement(c,{orientation:"horizontal"}),e.createElement(r.Corner,null)));S.displayName=r.Root.displayName;var c=e.forwardRef(({className:i,orientation:l="vertical",...o},t)=>e.createElement(r.ScrollAreaScrollbar,{ref:t,orientation:l,className:a("flex touch-none select-none transition-colors",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",i),...o},e.createElement(r.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})));c.displayName=r.ScrollAreaScrollbar.displayName;export{S as a,c as b};//# sourceMappingURL=chunk-GCMMAUW3.js.map
3
+ //# sourceMappingURL=chunk-GCMMAUW3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/scroll-area.tsx"],"names":["ScrollArea","className","children","orientation","viewportClassName","props","ref","cn","ScrollBar"],"mappings":"8GA2BMA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAIvB,CACE,CACE,SAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,UAAA,CACd,iBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,GAEA,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,IAAA,CAApB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CAAG,0BAAA,CAA4BN,CAAS,CAAA,CAClD,GAAGI,CAAAA,CAAAA,CAEJ,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,QAAA,CAApB,CACC,SAAA,CAAWE,CAAAA,CAAG,iCAAA,CAAmCH,CAAiB,GAEjEF,CACH,CAAA,CACCC,CAAAA,GAAgB,YAAA,EAAgB,CAAA,CAAA,aAAA,CAACK,CAAAA,CAAA,CAAU,WAAA,CAAY,UAAA,CAAW,CAAA,CAClEL,CAAAA,GAAgB,UAAA,EAAc,CAAA,CAAA,aAAA,CAACK,CAAAA,CAAA,CAAU,WAAA,CAAY,YAAA,CAAa,CAAA,CACnE,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,MAAA,CAApB,IAA2B,CAC9B,CAEJ,EACAR,CAAAA,CAAW,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CAElD,IAAMQ,EAAkB,CAAA,CAAA,UAAA,CAGtB,CAAC,CAAE,SAAA,CAAAP,CAAAA,CAAW,WAAA,CAAAE,CAAAA,CAAc,UAAA,CAAY,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GACpD,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,mBAAA,CAApB,CACC,GAAA,CAAKA,CAAAA,CACL,WAAA,CAAaH,CAAAA,CACb,SAAA,CAAWI,CAAAA,CACT,+CAAA,CACAJ,CAAAA,GAAgB,UAAA,EACd,oDAAA,CACFA,CAAAA,GAAgB,YAAA,EACd,sDAAA,CACFF,CACF,EACC,GAAGI,CAAAA,CAAAA,CAEJ,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,eAAA,CAApB,CAAoC,SAAA,CAAU,wCAAA,CAAyC,CAC1F,CACD,EACDG,CAAAA,CAAU,WAAA,CAAkC,CAAA,CAAA,mBAAA,CAAoB,WAAA","file":"chunk-GCMMAUW3.js","sourcesContent":["import * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A scrollable region with scrollbars that look the same everywhere.\n *\n * Native scrollbars differ per platform and, on macOS with overlay scrollbars\n * on, are invisible until you scroll. That is fine for a page and awkward for a\n * panel inside one, where the absence of a scrollbar reads as \"there is nothing\n * more here\".\n *\n * Radix keeps native scrolling and native keyboard behaviour and only replaces\n * the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all\n * still work. Worth stating because scrollbar libraries that reimplement\n * scrolling itself usually break at least one of those.\n */\n\nexport interface ScrollAreaProps extends React.ComponentPropsWithoutRef<\n typeof ScrollAreaPrimitive.Root\n> {\n /** Which scrollbars to render. Defaults to vertical. */\n orientation?: \"vertical\" | \"horizontal\" | \"both\";\n /** Passed to the viewport, for a max height or a fixed size. */\n viewportClassName?: string;\n}\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n ScrollAreaProps\n>(\n (\n {\n className,\n children,\n orientation = \"vertical\",\n viewportClassName,\n ...props\n },\n ref,\n ) => (\n <ScrollAreaPrimitive.Root\n ref={ref}\n className={cn(\"relative overflow-hidden\", className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n className={cn(\"h-full w-full rounded-[inherit]\", viewportClassName)}\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n {orientation !== \"horizontal\" && <ScrollBar orientation=\"vertical\" />}\n {orientation !== \"vertical\" && <ScrollBar orientation=\"horizontal\" />}\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n ),\n);\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition-colors\",\n orientation === \"vertical\" &&\n \"h-full w-2.5 border-l border-l-transparent p-[1px]\",\n orientation === \"horizontal\" &&\n \"h-2.5 flex-col border-t border-t-transparent p-[1px]\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-full bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;\n\nexport { ScrollArea, ScrollBar };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-hover-card';var f=e.Root,v=e.Trigger,m=t.forwardRef(({className:r,align:a$1="center",sideOffset:i=8,...d},n)=>t.createElement(e.Portal,null,t.createElement(e.Content,{ref:n,align:a$1,sideOffset:i,className:a("z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})));m.displayName=e.Content.displayName;export{f as a,v as b,m as c};//# sourceMappingURL=chunk-HEU5GFOV.js.map
3
+ //# sourceMappingURL=chunk-HEU5GFOV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/hover-card.tsx"],"names":["HoverCard","HoverCardTrigger","HoverCardContent","className","align","sideOffset","props","ref","cn"],"mappings":"yGAmBA,IAAMA,CAAAA,CAA+B,CAAA,CAAA,IAAA,CAC/BC,CAAAA,CAAsC,CAAA,CAAA,OAAA,CAEtCC,CAAAA,CAAyB,aAG7B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,GAAAA,CAAQ,SAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,IAC5D,CAAA,CAAA,aAAA,CAAoB,CAAA,CAAA,MAAA,CAAnB,KACC,CAAA,CAAA,aAAA,CAAoB,CAAA,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKA,CAAAA,CACL,KAAA,CAAOH,GAAAA,CACP,UAAA,CAAYC,CAAAA,CACZ,UAAWG,CAAAA,CACT,qbAAA,CAMAL,CACF,CAAA,CACC,GAAGG,CAAAA,CACN,CACF,CACD,EACDJ,CAAAA,CAAiB,WAAA,CAAiC,CAAA,CAAA,OAAA,CAAQ,WAAA","file":"chunk-HEU5GFOV.js","sourcesContent":["import * as React from \"react\";\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A preview that appears on hover: a user card behind a mention, a repository\n * summary behind a link.\n *\n * Not a `Tooltip`. A tooltip labels something in a few words and is announced as\n * the element's description; a hover card holds real content, including links\n * you can move the pointer into.\n *\n * It opens on hover and on keyboard focus, but its content is not reachable by\n * keyboard beyond that, and it never opens on touch. So it has to stay\n * supplementary: everything inside must also be available somewhere else. Radix\n * marks it `aria-hidden` for that reason, which is correct and means a screen\n * reader will not see it at all.\n */\n\nconst HoverCard = HoverCardPrimitive.Root;\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 8, ...props }, ref) => (\n <HoverCardPrimitive.Portal>\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className,\n )}\n {...props}\n />\n </HoverCardPrimitive.Portal>\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName;\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkMIYL7YKU_cjs=require('./chunk-MIYL7YKU.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-context-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var e__namespace=/*#__PURE__*/_interopNamespace(e);var S=e__namespace.Root,g=e__namespace.Trigger,w=e__namespace.Group,k=e__namespace.Sub,L=e__namespace.RadioGroup,l=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.Content,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,n),...o})));l.displayName=e__namespace.Content.displayName;var M=t__namespace.forwardRef(({className:n,destructive:o,inset:i,...a},s)=>t__namespace.createElement(e__namespace.Item,{ref:s,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,i&&chunkMIYL7YKU_cjs.c,o&&chunkMIYL7YKU_cjs.g,n),...a}));M.displayName=e__namespace.Item.displayName;var P=t__namespace.forwardRef(({className:n,children:o,...i},a)=>t__namespace.createElement(e__namespace.CheckboxItem,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,n),...i},t__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t__namespace.createElement(e__namespace.ItemIndicator,null,t__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},t__namespace.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),o));P.displayName=e__namespace.CheckboxItem.displayName;var R=t__namespace.forwardRef(({className:n,children:o,...i},a)=>t__namespace.createElement(e__namespace.RadioItem,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,n),...i},t__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t__namespace.createElement(e__namespace.ItemIndicator,null,t__namespace.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),o));R.displayName=e__namespace.RadioItem.displayName;var v=t__namespace.forwardRef(({className:n,inset:o,...i},a)=>t__namespace.createElement(e__namespace.Label,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.d,o&&chunkMIYL7YKU_cjs.c,n),...i}));v.displayName=e__namespace.Label.displayName;var d=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Separator,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.e,n),...o}));d.displayName=e__namespace.Separator.displayName;function y({className:n,...o}){return t__namespace.createElement("span",{className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.f,n),...o})}y.displayName="ContextMenuShortcut";var b=t__namespace.forwardRef(({className:n,inset:o,children:i,...a},s)=>t__namespace.createElement(e__namespace.SubTrigger,{ref:s,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,"data-[state=open]:bg-muted",o&&chunkMIYL7YKU_cjs.c,n),...a},i,t__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},t__namespace.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e__namespace.SubTrigger.displayName;var N=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.SubContent,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,n),...o})));N.displayName=e__namespace.SubContent.displayName;exports.a=S;exports.b=g;exports.c=w;exports.d=k;exports.e=L;exports.f=l;exports.g=M;exports.h=P;exports.i=R;exports.j=v;exports.k=d;exports.l=y;exports.m=b;exports.n=N;//# sourceMappingURL=chunk-KCS3UL74.cjs.map
3
+ //# sourceMappingURL=chunk-KCS3UL74.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/context-menu.tsx"],"names":["ContextMenu","e","ContextMenuTrigger","ContextMenuGroup","ContextMenuSub","ContextMenuRadioGroup","ContextMenuContent","t","className","props","ref","cn","menuSurface","ContextMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","ContextMenuCheckboxItem","children","ContextMenuRadioItem","ContextMenuLabel","menuLabel","ContextMenuSeparator","men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MAAA,CAAO,eACP,WAAA,CAAY,GAAA,CACZ,cAAc,OAAA,CACd,cAAA,CAAe,QACjB,CACF,CACF,CACD,EACDqB,CAAAA,CAAsB,YAAmC3B,YAAA,CAAA,UAAA,CAAW,WAAA,KAE9D4B,CAAAA,CAA8BtB,YAAA,CAAA,UAAA,CAGlC,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBN,oBAArB,IAAA,CACCM,YAAA,CAAA,aAAA,CAAsBN,wBAArB,CACC,GAAA,CAAKS,EACL,SAAA,CAAWC,mBAAAA,CAAGC,oBAAaJ,CAAS,CAAA,CACnC,GAAGC,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAsB,YAAmC5B,YAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-KCS3UL74.cjs","sourcesContent":["import * as React from \"react\";\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that opens on right-click, at the pointer.\n *\n * A separate primitive from `DropdownMenu` rather than a prop on it, because the\n * two are genuinely different: this one has no visible trigger, opens where the\n * pointer is, and on touch opens on long-press. Radix models them separately for\n * that reason. The styling is shared through menu-styles.ts so the two look like\n * the same menu, which is what a user expects.\n *\n * Worth saying out loud: a context menu must not be the only way to reach an\n * action. There is no affordance for it, it is awkward on touch, and a keyboard\n * user gets there only through the context-menu key. Put the same actions in a\n * `DropdownMenu` or a toolbar as well.\n */\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nexport interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof ContextMenuPrimitive.Item\n> {\n destructive?: boolean;\n inset?: boolean;\n}\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n ContextMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\";\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuSub,\n ContextMenuSubTrigger,\n ContextMenuSubContent,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var t="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o="pl-8",d="px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",r="-mx-1 my-1 h-px bg-border",a="ml-auto text-xs tracking-widest text-muted-foreground",n="text-destructive focus:bg-destructive/10 focus:text-destructive";exports.a=t;exports.b=e;exports.c=o;exports.d=d;exports.e=r;exports.f=a;exports.g=n;//# sourceMappingURL=chunk-MIYL7YKU.cjs.map
3
+ //# sourceMappingURL=chunk-MIYL7YKU.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/menu-styles.ts"],"names":["menuSurface","menuItem","menuItemInset","menuLabel","menuSeparator","menuShortcut","menuDestructive"],"mappings":"aAcO,IAAMA,CAAAA,CACX,gcAAA,CAOWC,CAAAA,CACX,+NAAA,CAKWC,CAAAA,CAAgB,MAAA,CAEhBC,CAAAA,CACX,iFAAA,CAEWC,CAAAA,CAAgB,2BAAA,CAEhBC,CAAAA,CACX,uDAAA,CAEWC,CAAAA,CACX","file":"chunk-MIYL7YKU.cjs","sourcesContent":["/**\n * Class strings shared by `DropdownMenu` and `ContextMenu`.\n *\n * The two components wrap different Radix primitives, because a context menu\n * opens on right-click at the pointer and a dropdown opens from a trigger, and\n * Radix models those separately. But they are the same menu to look at, and a\n * user who learns one should recognise the other.\n *\n * These lived inside dropdown-menu.tsx. Copying them into context-menu.tsx\n * would have worked exactly until the first time someone adjusted the focus\n * colour in one file and not the other, which is the kind of drift nobody\n * notices in review and everybody notices on the page.\n */\n\nexport const menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nexport const menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\n/** Indent for items that sit beside checkbox or radio indicators. */\nexport const menuItemInset = \"pl-8\";\n\nexport const menuLabel =\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\";\n\nexport const menuSeparator = \"-mx-1 my-1 h-px bg-border\";\n\nexport const menuShortcut =\n \"ml-auto text-xs tracking-widest text-muted-foreground\";\n\nexport const menuDestructive =\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\";\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a as a$1,b as b$1,c,g as g$1,d,e as e$1,f}from'./chunk-XYPJ2K22.js';import {a}from'./chunk-AC2JBXHQ.js';import*as o from'react';import*as e from'@radix-ui/react-dropdown-menu';var C=e.Root,S=e.Trigger,g=e.Group,k=e.Sub,x=e.RadioGroup,l=o.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o.createElement(e.Portal,null,o.createElement(e.Content,{ref:i,sideOffset:n,className:a(a$1,t),...r})));l.displayName=e.Content.displayName;var M=o.forwardRef(({className:t,destructive:n,inset:r,...i},u)=>o.createElement(e.Item,{ref:u,className:a(b$1,r&&c,n&&g$1,t),...i}));M.displayName=e.Item.displayName;var D=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.CheckboxItem,{ref:i,className:a(b$1,c,t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));D.displayName=e.CheckboxItem.displayName;var P=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.RadioItem,{ref:i,className:a(b$1,c,t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));P.displayName=e.RadioItem.displayName;var R=o.forwardRef(({className:t,inset:n,...r},i)=>o.createElement(e.Label,{ref:i,className:a(d,n&&c,t),...r}));R.displayName=e.Label.displayName;var v=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Separator,{ref:r,className:a(e$1,t),...n}));v.displayName=e.Separator.displayName;function y({className:t,...n}){return o.createElement("span",{className:a(f,t),...n})}y.displayName="DropdownMenuShortcut";var b=o.forwardRef(({className:t,inset:n,children:r,...i},u)=>o.createElement(e.SubTrigger,{ref:u,className:a(b$1,"data-[state=open]:bg-muted",n&&c,t),...i},r,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e.SubTrigger.displayName;var N=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Portal,null,o.createElement(e.SubContent,{ref:r,className:a(a$1,t),...n})));N.displayName=e.SubContent.displayName;export{C as a,S as b,g as c,k as d,x as e,l as f,M as g,D as h,P as i,R as j,v as k,y as l,b as m,N as n};//# sourceMappingURL=chunk-MM54MZBX.js.map
3
+ //# sourceMappingURL=chunk-MM54MZBX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuContent","className","sideOffset","props","ref","cn","menuSurface","DropdownMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","menuLabel","DropdownMenuSeparator","menuSeparator","DropdownMenuShortcut","menuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"wLAwBA,IAAMA,CAAAA,CAAqC,OACrCC,CAAAA,CAA4C,CAAA,CAAA,OAAA,CAC5CC,EAA0C,CAAA,CAAA,KAAA,CAC1CC,CAAAA,CAAwC,MACxCC,CAAAA,CAA+C,CAAA,CAAA,UAAA,CAE/CC,EAA4B,CAAA,CAAA,UAAA,CAGhC,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,WAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,IAI1C,CAAA,CAAA,aAAA,CAAuB,CAAA,CAAA,MAAA,CAAtB,KACC,CAAA,CAAA,aAAA,CAAuB,CAAA,CAAA,OAAA,CAAtB,CACC,GAAA,CAAKA,CAAAA,CACL,WAAYF,CAAAA,CACZ,SAAA,CAAWG,EAAGC,GAAAA,CAAaL,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDH,EAAoB,WAAA,CAAoC,CAAA,CAAA,OAAA,CAAQ,YAWhE,IAAMO,CAAAA,CAAyB,aAG7B,CAAC,CAAE,UAAAN,CAAAA,CAAW,WAAA,CAAAO,EAAa,KAAA,CAAAC,CAAAA,CAAO,GAAGN,CAAM,CAAA,CAAGC,IAC9C,CAAA,CAAA,aAAA,CAAuB,CAAA,CAAA,IAAA,CAAtB,CACC,GAAA,CAAKA,CAAAA,CACL,UAAWC,CAAAA,CACTK,GAAAA,CACAD,GAASE,CAAAA,CACTH,CAAAA,EAAeI,IACfX,CACF,CAAA,CACC,GAAGE,CAAAA,CACN,CACD,EACDI,CAAAA,CAAiB,WAAA,CAAoC,OAAK,WAAA,CAE1D,IAAMM,EAAiC,CAAA,CAAA,UAAA,CAM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AAA,CAAK,OACL,SAAA,CAAU,qBAAA,CACV,cAAY,MAAA,CAAA,CAEZ,CAAA,CAAA,aAAA,CAAC,QACC,CAAA,CAAE,cAAA,CACF,OAAO,cAAA,CACP,WAAA,CAAY,IACZ,aAAA,CAAc,OAAA,CACd,eAAe,OAAA,CACjB,CACF,CACF,CACD,EACDQ,EAAuB,WAAA,CACC,CAAA,CAAA,UAAA,CAAW,YAEnC,IAAMC,CAAAA,CAA+B,aAGnC,CAAC,CAAE,UAAAtB,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1B,gBAAuB,CAAA,CAAA,MAAA,CAAtB,IAAA,CACC,gBAAuB,CAAA,CAAA,UAAA,CAAtB,CACC,IAAKA,CAAAA,CACL,SAAA,CAAWC,EAAGC,GAAAA,CAAaL,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAuB,WAAA,CACC,CAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-MM54MZBX.js","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunk5PVFLXPO_cjs=require('./chunk-5PVFLXPO.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-alert-dialog');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var e__namespace=/*#__PURE__*/_interopNamespace(e);var P=e__namespace.Root,y=e__namespace.Trigger,s=e__namespace.Portal,n=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Overlay,{ref:o,className:chunkITRGJNWL_cjs.a("fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i),...a}));n.displayName=e__namespace.Overlay.displayName;var c=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(s,null,t__namespace.createElement(n,null),t__namespace.createElement(e__namespace.Content,{ref:o,className:chunkITRGJNWL_cjs.a("fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-background p-6 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",i),...a})));c.displayName=e__namespace.Content.displayName;function f({className:i,...a}){return t__namespace.createElement("div",{className:chunkITRGJNWL_cjs.a("flex flex-col gap-2",i),...a})}f.displayName="AlertDialogHeader";function d({className:i,...a}){return t__namespace.createElement("div",{className:chunkITRGJNWL_cjs.a("mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",i),...a})}d.displayName="AlertDialogFooter";var p=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Title,{ref:o,className:chunkITRGJNWL_cjs.a("text-lg font-semibold text-foreground",i),...a}));p.displayName=e__namespace.Title.displayName;var g=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Description,{ref:o,className:chunkITRGJNWL_cjs.a("text-sm text-muted-foreground",i),...a}));g.displayName=e__namespace.Description.displayName;var A=t__namespace.forwardRef(({className:i,variant:a="destructive",...o},m)=>t__namespace.createElement(e__namespace.Action,{ref:m,className:chunkITRGJNWL_cjs.a(chunk5PVFLXPO_cjs.a({variant:a}),i),...o}));A.displayName=e__namespace.Action.displayName;var D=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Cancel,{ref:o,className:chunkITRGJNWL_cjs.a(chunk5PVFLXPO_cjs.a({variant:"outline"}),i),...a}));D.displayName=e__namespace.Cancel.displayName;exports.a=P;exports.b=y;exports.c=s;exports.d=n;exports.e=c;exports.f=f;exports.g=d;exports.h=p;exports.i=g;exports.j=A;exports.k=D;//# sourceMappingURL=chunk-PZLBMQGI.cjs.map
3
+ //# sourceMappingURL=chunk-PZLBMQGI.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/alert-dialog.tsx"],"names":["AlertDialog","e","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","t","className","props","ref","cn","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","variant","buttonVariants","AlertDialogCancel"],"mappings":"2kBA2BA,IAAMA,CAAAA,CAAmCC,YAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0CD,YAAA,CAAA,OAAA,CAC1CE,CAAAA,CAAyCF,YAAA,CAAA,MAAA,CAEzCG,CAAAA,CAA2BC,YAAA,CAAA,U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AAkB,WAAA,CAAmCd,YAAA,CAAA,MAAA,CAAO,WAAA,CAE5D,IAAMiB,CAAAA,CAA0Bb,YAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CAAGQ,mBAAAA,CAAe,CAAE,OAAA,CAAS,SAAU,CAAC,CAAA,CAAGX,CAAS,CAAA,CAC9D,GAAGC,CAAAA,CACN,CACD,EACDW,CAAAA,CAAkB,WAAA,CAAmCjB,YAAA,CAAA,MAAA,CAAO,WAAA","file":"chunk-PZLBMQGI.cjs","sourcesContent":["import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\n/**\n * A modal that interrupts to confirm something consequential: delete, revoke,\n * overwrite.\n *\n * Not a variant of `Dialog`, and not a styling choice. Radix enforces three\n * differences, all verified rather than assumed:\n *\n * - `role=\"alertdialog\"`, so it is announced as one\n * - clicking outside does not dismiss it, so a confirmation cannot be lost by\n * missing the button\n * - focus starts on Cancel, not on the action, so a reflexive Enter cancels\n * rather than deletes\n *\n * Escape *does* close it. That is deliberate on Radix's part and correct: a\n * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to\n * be dismissible that way. Cancelling is the safe outcome here, so nothing is\n * lost by it.\n *\n * Reach for `Dialog` when the user opened it on purpose and can walk away, and\n * for this when the app is asking a question it needs answered.\n */\n\nconst AlertDialog = AlertDialogPrimitive.Root;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 \" +\n \"rounded-xl border border-border bg-background p-6 shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return <div className={cn(\"flex flex-col gap-2\", className)} {...props} />;\n}\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\nexport interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<\n typeof AlertDialogPrimitive.Action\n> {\n /**\n * Most alert dialogs confirm something destructive, so this defaults to the\n * destructive button rather than leaving every call site to remember.\n */\n variant?: \"default\" | \"destructive\";\n}\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n AlertDialogActionProps\n>(({ className, variant = \"destructive\", ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants({ variant }), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var l=e__namespace.forwardRef(({ratio:i=1,className:a,style:o,children:r,...s},c)=>e__namespace.createElement("div",{ref:c,className:chunkITRGJNWL_cjs.a("relative w-full overflow-hidden",a),style:{aspectRatio:String(i),...o},...s},r));l.displayName="AspectRatio";exports.a=l;//# sourceMappingURL=chunk-R4L5BZYI.cjs.map
3
+ //# sourceMappingURL=chunk-R4L5BZYI.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/aspect-ratio.tsx"],"names":["AspectRatio","e","ratio","className","style","children","props","ref","cn"],"mappings":"4bAwBA,IAAMA,CAAAA,CAAoBC,wBACxB,CAAC,CAAE,MAAAC,CAAAA,CAAQ,CAAA,CAAG,UAAAC,CAAAA,CAAW,KAAA,CAAAC,EAAO,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,IACpDN,YAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,IAAKM,CAAAA,CAIL,SAAA,CAAWC,oBAAG,iCAAA,CAAmCL,CAAS,EAC1D,KAAA,CAAO,CAAE,YAAa,MAAA,CAAOD,CAAK,EAAG,GAAGE,CAAM,EAC7C,GAAGE,CAAAA,CAAAA,CAEHD,CACH,CAEJ,EACAL,EAAY,WAAA,CAAc,aAAA","file":"chunk-R4L5BZYI.cjs","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * Holds a box at a fixed ratio while its width is free: video embeds, image\n * grids, map panes.\n *\n * Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That\n * package exists for the padding-bottom trick browsers needed before the CSS\n * `aspect-ratio` property, and every browser this library supports has had it\n * for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A\n * dependency to set one CSS property would be a dependency to maintain, audit\n * and ship for nothing.\n */\n\nexport interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for\n * a photo. Written as a division rather than a string so the intent survives\n * in the source.\n */\n ratio?: number;\n}\n\nconst AspectRatio = React.forwardRef<HTMLDivElement, AspectRatioProps>(\n ({ ratio = 1, className, style, children, ...props }, ref) => (\n <div\n ref={ref}\n // `overflow-hidden` so an oversized child is cropped to the box rather\n // than spilling out of it, which is what a caller means by giving it a\n // ratio in the first place.\n className={cn(\"relative w-full overflow-hidden\", className)}\n style={{ aspectRatio: String(ratio), ...style }}\n {...props}\n >\n {children}\n </div>\n ),\n);\nAspectRatio.displayName = \"AspectRatio\";\n\nexport { AspectRatio };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react'),p=require('@radix-ui/react-toggle'),o=require('@radix-ui/react-toggle-group'),classVarianceAuthority=require('class-variance-authority');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var p__namespace=/*#__PURE__*/_interopNamespace(p);var o__namespace=/*#__PURE__*/_interopNamespace(o);var l=classVarianceAuthority.cva("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-muted data-[state=on]:text-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary"},size:{sm:"h-8 min-w-8 px-2",default:"h-9 min-w-9 px-2.5",lg:"h-10 min-w-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),u=e__namespace.forwardRef(({className:t,variant:r,size:i,...a},g)=>e__namespace.createElement(p__namespace.Root,{ref:g,className:chunkITRGJNWL_cjs.a(l({variant:r,size:i}),t),...a}));u.displayName=p__namespace.Root.displayName;var m=e__namespace.createContext({size:"default",variant:"default"}),d=e__namespace.forwardRef(({className:t,variant:r,size:i,children:a,...g},n)=>e__namespace.createElement(o__namespace.Root,{ref:n,className:chunkITRGJNWL_cjs.a("flex items-center gap-1",t),...g},e__namespace.createElement(m.Provider,{value:{variant:r,size:i}},a)));d.displayName=o__namespace.Root.displayName;var c=e__namespace.forwardRef(({className:t,variant:r,size:i,...a},g)=>{let n=e__namespace.useContext(m);return e__namespace.createElement(o__namespace.Item,{ref:g,className:chunkITRGJNWL_cjs.a(l({variant:r??n.variant,size:i??n.size}),t),...a})});c.displayName=o__namespace.Item.displayName;exports.a=l;exports.b=u;exports.c=d;exports.d=c;//# sourceMappingURL=chunk-SZ34F6OZ.cjs.map
3
+ //# sourceMappingURL=chunk-SZ34F6OZ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/toggle.tsx"],"names":["toggleVariants","cva","Toggle","e","className","variant","size","props","ref","p","cn","ToggleGroupContext","ToggleGroup","children","o","ToggleGroupItem","group"],"mappings":"2qBAcA,IAAMA,EAAiBC,0BAAAA,CACrB,wXAAA,CAKA,CACE,QAAA,CAAU,CACR,QAAS,CACP,OAAA,CAAS,iBACT,OAAA,CACE,mFACJ,EACA,IAAA,CAAM,CACJ,GAAI,kBAAA,CACJ,OAAA,CAAS,qBACT,EAAA,CAAI,oBACN,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SAAA,CACT,KAAM,SACR,CACF,CAC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AkB,CAAA,CACjD,OACER,YAAA,CAAA,aAAA,CAAsBW,YAAA,CAAA,IAAA,CAArB,CACC,GAAA,CAAKN,CAAAA,CACL,UAAWE,mBAAAA,CACTV,CAAAA,CAAe,CACb,OAAA,CAASK,CAAAA,EAAWW,EAAM,OAAA,CAC1B,IAAA,CAAMV,GAAQU,CAAAA,CAAM,IACtB,CAAC,CAAA,CACDZ,CACF,EACC,GAAGG,CAAAA,CACN,CAEJ,CAAC,EACDQ,CAAAA,CAAgB,WAAA,CAAmCD,YAAA,CAAA,IAAA,CAAK,WAAA","file":"chunk-SZ34F6OZ.cjs","sourcesContent":["import * as React from \"react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A button that stays pressed: bold in a toolbar, a filter chip, a view mode.\n *\n * Distinct from `Switch`, which is a form control with an on and an off state\n * and belongs next to a label. A toggle is a button, announces itself as one\n * with `aria-pressed`, and lives in a toolbar rather than a form.\n */\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors \" +\n \"hover:bg-muted hover:text-foreground \" +\n \"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background \" +\n \"disabled:pointer-events-none disabled:opacity-50 \" +\n \"data-[state=on]:bg-muted data-[state=on]:text-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary\",\n },\n size: {\n sm: \"h-8 min-w-8 px-2\",\n default: \"h-9 min-w-9 px-2.5\",\n lg: \"h-10 min-w-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nexport interface ToggleProps\n extends\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>,\n VariantProps<typeof toggleVariants> {}\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n ToggleProps\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n));\nToggle.displayName = TogglePrimitive.Root.displayName;\n\n/**\n * The group passes its variant and size down through context rather than\n * through cloned children, so an item can still override either one and a\n * consumer can wrap items in their own markup without the styling falling off.\n */\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({ size: \"default\", variant: \"default\" });\n\n/**\n * A type intersection, not `interface extends`. Radix's Root props are a\n * discriminated union of the single-select and multi-select shapes, and\n * extending it collapses the union: `children` disappears and neither `type`\n * variant is assignable. Intersecting distributes over the union and keeps both.\n */\nexport type ToggleGroupProps = React.ComponentPropsWithoutRef<\n typeof ToggleGroupPrimitive.Root\n> &\n VariantProps<typeof toggleVariants>;\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n ToggleGroupProps\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nexport interface ToggleGroupItemProps\n extends\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>,\n VariantProps<typeof toggleVariants> {}\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n ToggleGroupItemProps\n>(({ className, variant, size, ...props }, ref) => {\n const group = React.useContext(ToggleGroupContext);\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: variant ?? group.variant,\n size: size ?? group.size,\n }),\n className,\n )}\n {...props}\n />\n );\n});\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ var t="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o="pl-8",d="px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",r="-mx-1 my-1 h-px bg-border",a="ml-auto text-xs tracking-widest text-muted-foreground",n="text-destructive focus:bg-destructive/10 focus:text-destructive";export{t as a,e as b,o as c,d,r as e,a as f,n as g};//# sourceMappingURL=chunk-XYPJ2K22.js.map
3
+ //# sourceMappingURL=chunk-XYPJ2K22.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/menu-styles.ts"],"names":["menuSurface","menuItem","menuItemInset","menuLabel","menuSeparator","menuShortcut","menuDestructive"],"mappings":"AAcO,IAAMA,CAAAA,CACX,gcAAA,CAOWC,CAAAA,CACX,+NAAA,CAKWC,CAAAA,CAAgB,MAAA,CAEhBC,CAAAA,CACX,iFAAA,CAEWC,CAAAA,CAAgB,2BAAA,CAEhBC,CAAAA,CACX,uDAAA,CAEWC,CAAAA,CACX","file":"chunk-XYPJ2K22.js","sourcesContent":["/**\n * Class strings shared by `DropdownMenu` and `ContextMenu`.\n *\n * The two components wrap different Radix primitives, because a context menu\n * opens on right-click at the pointer and a dropdown opens from a trigger, and\n * Radix models those separately. But they are the same menu to look at, and a\n * user who learns one should recognise the other.\n *\n * These lived inside dropdown-menu.tsx. Copying them into context-menu.tsx\n * would have worked exactly until the first time someone adjusted the focus\n * colour in one file and not the other, which is the kind of drift nobody\n * notices in review and everybody notices on the page.\n */\n\nexport const menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nexport const menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\n/** Indent for items that sit beside checkbox or radio indicators. */\nexport const menuItemInset = \"pl-8\";\n\nexport const menuLabel =\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\";\n\nexport const menuSeparator = \"-mx-1 my-1 h-px bg-border\";\n\nexport const menuShortcut =\n \"ml-auto text-xs tracking-widest text-muted-foreground\";\n\nexport const menuDestructive =\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\";\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';var l=e.forwardRef(({ratio:i=1,className:a$1,style:o,children:r,...s},c)=>e.createElement("div",{ref:c,className:a("relative w-full overflow-hidden",a$1),style:{aspectRatio:String(i),...o},...s},r));l.displayName="AspectRatio";export{l as a};//# sourceMappingURL=chunk-YCVOS3MT.js.map
3
+ //# sourceMappingURL=chunk-YCVOS3MT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/core/aspect-ratio.tsx"],"names":["AspectRatio","ratio","className","style","children","props","ref","cn"],"mappings":"4DAwBA,IAAMA,CAAAA,CAAoB,aACxB,CAAC,CAAE,MAAAC,CAAAA,CAAQ,CAAA,CAAG,UAAAC,GAAAA,CAAW,KAAA,CAAAC,EAAO,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,IACpD,CAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,IAAKA,CAAAA,CAIL,SAAA,CAAWC,EAAG,iCAAA,CAAmCL,GAAS,EAC1D,KAAA,CAAO,CAAE,YAAa,MAAA,CAAOD,CAAK,EAAG,GAAGE,CAAM,EAC7C,GAAGE,CAAAA,CAAAA,CAEHD,CACH,CAEJ,EACAJ,EAAY,WAAA,CAAc,aAAA","file":"chunk-YCVOS3MT.js","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * Holds a box at a fixed ratio while its width is free: video embeds, image\n * grids, map panes.\n *\n * Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That\n * package exists for the padding-bottom trick browsers needed before the CSS\n * `aspect-ratio` property, and every browser this library supports has had it\n * for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A\n * dependency to set one CSS property would be a dependency to maintain, audit\n * and ship for nothing.\n */\n\nexport interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for\n * a photo. Written as a division rather than a string so the intent survives\n * in the source.\n */\n ratio?: number;\n}\n\nconst AspectRatio = React.forwardRef<HTMLDivElement, AspectRatioProps>(\n ({ ratio = 1, className, style, children, ...props }, ref) => (\n <div\n ref={ref}\n // `overflow-hidden` so an oversized child is cropped to the box rather\n // than spilling out of it, which is what a caller means by giving it a\n // ratio in the first place.\n className={cn(\"relative w-full overflow-hidden\", className)}\n style={{ aspectRatio: String(ratio), ...style }}\n {...props}\n >\n {children}\n </div>\n ),\n);\nAspectRatio.displayName = \"AspectRatio\";\n\nexport { AspectRatio };\n"]}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkPZLBMQGI_cjs=require('../../chunk-PZLBMQGI.cjs');require('../../chunk-5PVFLXPO.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"AlertDialog",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.a}});Object.defineProperty(exports,"AlertDialogAction",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.j}});Object.defineProperty(exports,"AlertDialogCancel",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.k}});Object.defineProperty(exports,"AlertDialogContent",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.e}});Object.defineProperty(exports,"AlertDialogDescription",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.i}});Object.defineProperty(exports,"AlertDialogFooter",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.g}});Object.defineProperty(exports,"AlertDialogHeader",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.f}});Object.defineProperty(exports,"AlertDialogOverlay",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.d}});Object.defineProperty(exports,"AlertDialogPortal",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.c}});Object.defineProperty(exports,"AlertDialogTitle",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.h}});Object.defineProperty(exports,"AlertDialogTrigger",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.b}});//# sourceMappingURL=alert-dialog.cjs.map
3
+ //# sourceMappingURL=alert-dialog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"alert-dialog.cjs"}
@@ -0,0 +1,50 @@
1
+ import * as React from 'react';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
+
4
+ /**
5
+ * A modal that interrupts to confirm something consequential: delete, revoke,
6
+ * overwrite.
7
+ *
8
+ * Not a variant of `Dialog`, and not a styling choice. Radix enforces three
9
+ * differences, all verified rather than assumed:
10
+ *
11
+ * - `role="alertdialog"`, so it is announced as one
12
+ * - clicking outside does not dismiss it, so a confirmation cannot be lost by
13
+ * missing the button
14
+ * - focus starts on Cancel, not on the action, so a reflexive Enter cancels
15
+ * rather than deletes
16
+ *
17
+ * Escape *does* close it. That is deliberate on Radix's part and correct: a
18
+ * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to
19
+ * be dismissible that way. Cancelling is the safe outcome here, so nothing is
20
+ * lost by it.
21
+ *
22
+ * Reach for `Dialog` when the user opened it on purpose and can walk away, and
23
+ * for this when the app is asking a question it needs answered.
24
+ */
25
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
26
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
27
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
28
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
+ declare function AlertDialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
31
+ declare namespace AlertDialogHeader {
32
+ var displayName: string;
33
+ }
34
+ declare function AlertDialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
35
+ declare namespace AlertDialogFooter {
36
+ var displayName: string;
37
+ }
38
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
39
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
40
+ interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action> {
41
+ /**
42
+ * Most alert dialogs confirm something destructive, so this defaults to the
43
+ * destructive button rather than leaving every call site to remember.
44
+ */
45
+ variant?: "default" | "destructive";
46
+ }
47
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
48
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
49
+
50
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
@@ -0,0 +1,50 @@
1
+ import * as React from 'react';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
+
4
+ /**
5
+ * A modal that interrupts to confirm something consequential: delete, revoke,
6
+ * overwrite.
7
+ *
8
+ * Not a variant of `Dialog`, and not a styling choice. Radix enforces three
9
+ * differences, all verified rather than assumed:
10
+ *
11
+ * - `role="alertdialog"`, so it is announced as one
12
+ * - clicking outside does not dismiss it, so a confirmation cannot be lost by
13
+ * missing the button
14
+ * - focus starts on Cancel, not on the action, so a reflexive Enter cancels
15
+ * rather than deletes
16
+ *
17
+ * Escape *does* close it. That is deliberate on Radix's part and correct: a
18
+ * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to
19
+ * be dismissible that way. Cancelling is the safe outcome here, so nothing is
20
+ * lost by it.
21
+ *
22
+ * Reach for `Dialog` when the user opened it on purpose and can walk away, and
23
+ * for this when the app is asking a question it needs answered.
24
+ */
25
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
26
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
27
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
28
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
+ declare function AlertDialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
31
+ declare namespace AlertDialogHeader {
32
+ var displayName: string;
33
+ }
34
+ declare function AlertDialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
35
+ declare namespace AlertDialogFooter {
36
+ var displayName: string;
37
+ }
38
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
39
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
40
+ interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action> {
41
+ /**
42
+ * Most alert dialogs confirm something destructive, so this defaults to the
43
+ * destructive button rather than leaving every call site to remember.
44
+ */
45
+ variant?: "default" | "destructive";
46
+ }
47
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
48
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
49
+
50
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ export{a as AlertDialog,j as AlertDialogAction,k as AlertDialogCancel,e as AlertDialogContent,i as AlertDialogDescription,g as AlertDialogFooter,f as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,h as AlertDialogTitle,b as AlertDialogTrigger}from'../../chunk-CT6LEOBW.js';import'../../chunk-AVTJE2O2.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=alert-dialog.js.map
3
+ //# sourceMappingURL=alert-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"alert-dialog.js"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ 'use strict';var chunkR4L5BZYI_cjs=require('../../chunk-R4L5BZYI.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"AspectRatio",{enumerable:true,get:function(){return chunkR4L5BZYI_cjs.a}});//# sourceMappingURL=aspect-ratio.cjs.map
3
+ //# sourceMappingURL=aspect-ratio.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"aspect-ratio.cjs"}