efficient-shell 5.6.1 → 7.7.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 (119) hide show
  1. package/README.md +270 -64
  2. package/THIRD_PARTY_NOTICES.md +212 -0
  3. package/dist/Browser-56LX7FTE.js +43 -0
  4. package/dist/Calculator-GBKLJHM6.js +29 -0
  5. package/dist/ConfirmDialog-PS5BXNAT.js +1 -0
  6. package/dist/CurrencyConverter-ZXY7XNG6.js +21 -0
  7. package/dist/Documents-SVKR757H.js +52 -0
  8. package/dist/Files-KSHU7ROB.js +87 -0
  9. package/dist/Notepad-5GT2GUCJ.js +25 -0
  10. package/dist/PdfViewer-YVAWFZVH.js +1 -0
  11. package/dist/PomodoroTimer-GAGDQ4NF.js +91 -0
  12. package/dist/Preview-YDCDW5NE.js +182 -0
  13. package/dist/Sidebar-IH6WUPKT.js +44 -0
  14. package/dist/Spreadsheet-SYR23K4I.js +37 -0
  15. package/dist/Stock-LH5CR667.js +16 -0
  16. package/dist/{Weather-RWI6NKB2.js → Weather-MZGIPR2R.js} +35 -35
  17. package/dist/WorldClock-DLB2RRLI.js +32 -0
  18. package/dist/apps/index.js +1 -1
  19. package/dist/bin/ui-check.js +1 -1
  20. package/dist/brand.css +1 -1
  21. package/dist/chunk-2ALIPI3D.js +1 -0
  22. package/dist/{chunk-JXAAZGLJ.js → chunk-2R5RTN5T.js} +1 -1
  23. package/dist/chunk-43XFZY4K.js +5 -0
  24. package/dist/chunk-4JGNJYVL.js +10 -0
  25. package/dist/{chunk-7WC3EOFS.js → chunk-5TOLXFQ6.js} +1 -1
  26. package/dist/chunk-6SCHK75C.js +108 -0
  27. package/dist/chunk-7IQ3B77H.js +1 -0
  28. package/dist/{chunk-TFETN2GI.js → chunk-B4PGVDB6.js} +1 -1
  29. package/dist/chunk-BUGGBB5J.js +1 -0
  30. package/dist/chunk-CJHT4VTF.js +91 -0
  31. package/dist/chunk-CLFUF3BH.js +9 -0
  32. package/dist/chunk-CQ2DLPPS.js +3 -0
  33. package/dist/{chunk-X4FJ54PP.js → chunk-FIEA5CGB.js} +1 -1
  34. package/dist/chunk-G4CTTSAR.js +11 -0
  35. package/dist/{chunk-YIH6JLMV.js → chunk-HIRMYFOF.js} +2 -2
  36. package/dist/chunk-JKHXDQEI.js +24 -0
  37. package/dist/{chunk-KXAUDC3A.js → chunk-JQRIAZDP.js} +35 -35
  38. package/dist/chunk-KNUR2UEG.js +1 -0
  39. package/dist/{chunk-WWF2EQXF.js → chunk-KONXUO5I.js} +1 -1
  40. package/dist/chunk-M4MCXII7.js +6 -0
  41. package/dist/{chunk-CLPJDJH4.js → chunk-M4TRVJTO.js} +1 -1
  42. package/dist/chunk-MSGBGLGI.js +29 -0
  43. package/dist/chunk-N7JTY3LU.js +21 -0
  44. package/dist/chunk-NODT4F2C.js +13 -0
  45. package/dist/chunk-OXTM3XZI.js +1 -0
  46. package/dist/chunk-PJPK2ADX.js +1 -0
  47. package/dist/chunk-PT4Z3KIA.js +12 -0
  48. package/dist/chunk-QRCDQPJA.js +1 -0
  49. package/dist/{chunk-SKB6L53D.js → chunk-QUVE5JZZ.js} +11 -11
  50. package/dist/{chunk-N3A3GWJI.js → chunk-R2TPTM4O.js} +12 -12
  51. package/dist/{chunk-GG7AE6OC.js → chunk-RBKIYZ7H.js} +1 -1
  52. package/dist/chunk-RUHUTZN4.js +1 -0
  53. package/dist/chunk-TCYS67ND.js +1016 -0
  54. package/dist/{chunk-AFYQTVZO.js → chunk-UVBK6YSR.js} +1 -1
  55. package/dist/client-DLm3Fvbc.d.ts +65 -0
  56. package/dist/file-intake/index.js +1 -1
  57. package/dist/i18n/index.d.ts +1 -1
  58. package/dist/icons/efficient-looks.d.ts +1 -1
  59. package/dist/icons/efficient-looks.js +4 -4
  60. package/dist/icons/efficient.d.ts +3 -3
  61. package/dist/icons/efficient.js +3 -3
  62. package/dist/icons/index.d.ts +12 -12
  63. package/dist/icons/index.js +1 -1
  64. package/dist/{index-ZI6vl2Wq.d.ts → index-BkBsXpfV.d.ts} +468 -161
  65. package/dist/index.d.ts +6 -4
  66. package/dist/index.js +635 -639
  67. package/dist/locales/zh-Hans.d.ts +1 -1
  68. package/dist/locales/zh-Hans.js +1 -1
  69. package/dist/map/index.js +22 -22
  70. package/dist/markdown/index.js +6 -6
  71. package/dist/markup/index.d.ts +460 -36
  72. package/dist/markup/index.js +1 -1
  73. package/dist/page-tabs/index.js +5 -5
  74. package/dist/pdf/index.js +1 -1
  75. package/dist/{registry-J-TU7zKx.d.ts → registry-Dw6QO2Ch.d.ts} +12 -9
  76. package/dist/{strings-BVB64Nck.d.ts → strings-BQtq9300.d.ts} +22 -2
  77. package/dist/telemetry/index.d.ts +39 -0
  78. package/dist/telemetry/index.js +1 -0
  79. package/dist/ui/index.d.ts +4 -3
  80. package/dist/ui/index.js +1 -1
  81. package/dist/ui.css +110 -75
  82. package/package.json +7 -21
  83. package/dist/Browser-RXGEZ77D.js +0 -43
  84. package/dist/Calculator-MVPKTZZF.js +0 -29
  85. package/dist/ConfirmDialog-XOYCYFA7.js +0 -1
  86. package/dist/CurrencyConverter-2IGOOR3I.js +0 -21
  87. package/dist/Documents-YBLR7WVX.js +0 -52
  88. package/dist/Files-7XNR5IL2.js +0 -87
  89. package/dist/Notepad-ZQYQXV75.js +0 -25
  90. package/dist/PdfViewer-SQVMMA7B.js +0 -1
  91. package/dist/PomodoroTimer-XIUN4M73.js +0 -91
  92. package/dist/Preview-YCOA5JPP.js +0 -182
  93. package/dist/Sidebar-VI7E3EKI.js +0 -44
  94. package/dist/Spreadsheet-SRAUU3OA.js +0 -37
  95. package/dist/Stock-7EKOAQ7C.js +0 -16
  96. package/dist/WorldClock-CEHWDFEO.js +0 -32
  97. package/dist/chunk-3HJTOINK.js +0 -1
  98. package/dist/chunk-4SWPNARR.js +0 -5
  99. package/dist/chunk-5ABLFFC5.js +0 -24
  100. package/dist/chunk-6LTDJKIL.js +0 -138
  101. package/dist/chunk-F6B3J3GW.js +0 -6
  102. package/dist/chunk-HZZNJHRH.js +0 -1
  103. package/dist/chunk-IMMHJIV5.js +0 -29
  104. package/dist/chunk-OGXU7QFW.js +0 -12
  105. package/dist/chunk-P4CIOJHP.js +0 -3
  106. package/dist/chunk-RBDGN4YU.js +0 -9
  107. package/dist/chunk-RC2EG6P4.js +0 -1026
  108. package/dist/chunk-RL626E7Q.js +0 -13
  109. package/dist/chunk-RMJZOKHY.js +0 -10
  110. package/dist/chunk-SFCDHHQP.js +0 -1
  111. package/dist/chunk-TNBCUZVE.js +0 -1
  112. package/dist/chunk-VWBQ2P5G.js +0 -108
  113. package/dist/chunk-XWSWYMGM.js +0 -2
  114. package/dist/chunk-YGC7AX3X.js +0 -11
  115. package/dist/chunk-Z7D6Y5WA.js +0 -21
  116. package/dist/icons/heroicons.d.ts +0 -6
  117. package/dist/icons/heroicons.js +0 -1
  118. package/dist/icons/lucide.d.ts +0 -6
  119. package/dist/icons/lucide.js +0 -1
@@ -1,24 +0,0 @@
1
- import{toast_default as e}from"./chunk-3HJTOINK.js";import{ChevronLeftFallback as t,ChevronRightFallback as n,PrintFallback as r,DownloadFallback as a,EmailFallback as o}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{useShellStrings as l}from"./chunk-TNBCUZVE.js";import{createContext as s,useContext as c,useRef as d,useState as u,useEffect as m}from"react";import*as h from"pdfjs-dist";import{createPortal as p}from"react-dom";import{jsx as f,jsxs as g}from"react/jsx-runtime";function w(e,t,n){return new Error(`The response for ${e} is not a WebAssembly module (got ${function(e){if(0===e.length)return"an empty response";const t=Array.from(e.subarray(0,24)).map(e=>e>=32&&e<127?String.fromCharCode(e):".").join("");return`${e.length} bytes starting "${t}"`}(n)}). The bundler did not emit "${t}" as an asset, and the host answered with a fallback page instead of a 404. Serve pdfjs-dist/wasm/ yourself and point window.__REACT_OS_SHELL_PDF_WASM__ at it.`)}var y=s(null);function b({children:e}){const t=c(y);return t?p(e,t):
2
- /* @__PURE__ */f("div",{className:"flex shrink-0 flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 px-3 py-2 text-xs",children:e})}"undefined"==typeof window||h.GlobalWorkerOptions.workerSrc||(h.GlobalWorkerOptions.workerSrc=`https://unpkg.com/pdfjs-dist@${h.version}/build/pdf.worker.min.mjs`);var v={"jbig2.wasm":new URL("pdfjs-dist/wasm/jbig2.wasm",import.meta.url).href,"openjpeg.wasm":new URL("pdfjs-dist/wasm/openjpeg.wasm",import.meta.url).href},x=class{async fetch({kind:e,filename:t}){if("wasmUrl"!==e)throw new Error(`Ensure that the \`${e}\` API parameter is provided.`);const n=v[t];if(!n)throw new Error(`No bundled pdf.js wasm module for "${t}".`);const r=await fetch(n);if(!r.ok)throw new Error(`Unable to load wasm data at: ${n}`);const a=new Uint8Array(await r.arrayBuffer());if(!function(e){return e.length>=4&&0===e[0]&&97===e[1]&&115===e[2]&&109===e[3]}(a))throw w(n,t,a);return a}};function k(e){const t=e||("undefined"!=typeof window?window.__REACT_OS_SHELL_PDF_WASM__:void 0);return"string"==typeof t&&t?{wasmUrl:t.endsWith("/")?t:`${t}/`}:{BinaryDataFactory:x}}var C=[50,75,100,125,150,200,300,400];function N(e,t,n){const r=(t.width-40)/n.width,a="page"===e?Math.min(r,(t.height-40)/n.height):r;return Math.min(Math.max(a,.3),4)}function j({url:s,filename:c,fit:p="width",onDownload:w,onEmail:y,workerSrc:v,wasmUrl:x}){const j=l().pdf,M=d(null),E=d(null),W=d(null),[_,z]=u(null),[D,L]=u(1),[P,T]=u(0),[S,$]=u(1),[O,A]=u(!0),[U,H]=u(!0),F=d(j.loadFailed);F.current=j.loadFailed,m(()=>{let t=!1;return H(!0),L(1),v&&(h.GlobalWorkerOptions.workerSrc=v),h.getDocument({url:s,...k(x)}).promise.then(e=>{t||(z(e),T(e.numPages),H(!1))}).catch(()=>{t||(e.error(F.current),H(!1))}),()=>{t=!0}},[s,v,x]),m(()=>{if(!_||!O||!W.current)return;const e=()=>{const e=W.current;e&&_.getPage(D).then(t=>{if(!W.current)return;const n=t.getViewport({scale:1}),r=N(p,{width:e.clientWidth,height:e.clientHeight},{width:n.width,height:n.height});$(e=>Math.abs(e-r)<.005?e:r)})};e();const t=new ResizeObserver(e);return t.observe(W.current),()=>t.disconnect()},[_,D,O,p]),m(()=>{if(!_||!M.current)return;let e=!1,t=null,n=null;return _.getPage(D).then(r=>{if(e||!M.current)return;const a=r.getViewport({scale:S}),o=M.current;o.width=a.width,o.height=a.height,o.style.width=`${a.width}px`,o.style.height=`${a.height}px`;const i=o.getContext("2d");t=r.render({canvas:o,canvasContext:i,viewport:a}),t.promise.catch(()=>{});const l=E.current;l&&(l.replaceChildren(),l.style.setProperty("--total-scale-factor",String(a.scale)),n=new h.TextLayer({textContentSource:r.streamTextContent(),container:l,viewport:a}),n.render().then(()=>{if(e)return;const t=document.createElement("div");t.className="endOfContent",l.append(t)}).catch(()=>{}))}),()=>{e=!0,t?.cancel(),n?.cancel()}},[_,D,S]),m(()=>{const e=()=>E.current?.classList.remove("selecting");return window.addEventListener("pointerup",e),()=>window.removeEventListener("pointerup",e)},[]);const R="page"===p?j.fitPage:j.fitWidth,I="px-2 py-1 rounded hover:bg-gray-200 transition-colors text-gray-600 flex items-center gap-1";/* @__PURE__ */
3
- return g("div",{className:"flex flex-col h-full",children:[
4
- /* @__PURE__ */g(b,{children:[
5
- /* @__PURE__ */f("button",{type:"button","aria-label":j.previousPage,onClick:()=>L(e=>Math.max(1,e-1)),disabled:D<=1,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(i,{name:"chevron-left",fallback:t,className:"h-3.5 w-3.5",strokeWidth:2})}),
6
- /* @__PURE__ */f("span",{className:"text-gray-600 font-medium tabular-nums whitespace-nowrap",children:j.pageOf(D,P)}),
7
- /* @__PURE__ */f("button",{type:"button","aria-label":j.nextPage,onClick:()=>L(e=>Math.min(P,e+1)),disabled:D>=P,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(i,{name:"chevron-right",fallback:n,className:"h-3.5 w-3.5",strokeWidth:2})}),
8
- /* @__PURE__ */f("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
9
- /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomOut,title:j.zoomOut,onClick:()=>{A(!1),$(e=>Math.max(.3,Math.round(100*(e-.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"−"})}),
10
- /* @__PURE__ */g("select",{value:O?"fit":C.includes(Math.round(100*S))?Math.round(100*S):"custom",onChange:e=>{const t=e.target.value;"fit"!==t?"custom"!==t&&(A(!1),$(Number(t)/100)):A(!0)},className:"bg-transparent hover:bg-gray-200 rounded px-1 py-1 text-gray-600 tabular-nums cursor-pointer focus:outline-none focus:ring-1 focus:ring-blue-400","aria-label":j.zoom,title:j.zoom,children:[
11
- /* @__PURE__ */f("option",{value:"fit",children:R}),!O&&!C.includes(Math.round(100*S))&&/* @__PURE__ */g("option",{value:"custom",children:[Math.round(100*S),"%"]}),C.map(e=>/* @__PURE__ */g("option",{value:e,children:[e,"%"]},e))]}),
12
- /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomIn,title:j.zoomIn,onClick:()=>{A(!1),$(e=>Math.min(4,Math.round(100*(e+.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"+"})}),
13
- /* @__PURE__ */f("button",{type:"button",onClick:()=>A(!0),"aria-pressed":O,className:I+(O?" bg-gray-200 text-gray-900":""),title:j.fitHint,children:j.fit}),
14
- /* @__PURE__ */f("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
15
- /* @__PURE__ */g("button",{type:"button",onClick:()=>{if(!_)return;const t=window.open("","_blank");if(!t)return void e.error(j.allowPopups);const n=[];for(let e=1;e<=P;e++)n.push(_.getPage(e).then(e=>{const t=e.getViewport({scale:2}),n=document.createElement("canvas");return n.width=t.width,n.height=t.height,e.render({canvas:n,canvasContext:n.getContext("2d"),viewport:t}).promise.then(()=>n.toDataURL())}));Promise.all(n).then(e=>{var n;t.document.write(`<html><head><title>${n=c,n.replace(/[&<>"]/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[e]))}</title><style>@media print{body{margin:0}img{width:100%;page-break-after:always}}</style></head><body>`),t.document.write(e.map(e=>`<img src="${e}"/>`).join("")),t.document.write("</body></html>"),t.document.close(),setTimeout(()=>{t.print(),t.close()},300)})},className:I,children:[
16
- /* @__PURE__ */f(i,{name:"print",fallback:r,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.print]}),
17
- /* @__PURE__ */g("button",{type:"button",onClick:w??(()=>{const e=document.createElement("a");e.href=s,e.download=c,e.click()}),className:I,children:[
18
- /* @__PURE__ */f(i,{name:"download",fallback:a,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.download]}),y&&/* @__PURE__ */g("button",{type:"button",onClick:y,className:I,children:[
19
- /* @__PURE__ */f(i,{name:"email",fallback:o,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.email]})]}),
20
- /* @__PURE__ */f("div",{ref:W,className:"flex-1 overflow-auto bg-gray-100 outline-none",tabIndex:0,onWheel:e=>{if(!_)return;if(e.ctrlKey||e.metaKey)return;const t=W.current;if(!t)return;const n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight-1;e.deltaY>0&&r&&D<P?(e.preventDefault(),L(e=>Math.min(P,e+1)),requestAnimationFrame(()=>{W.current&&(W.current.scrollTop=0)})):e.deltaY<0&&n&&D>1&&(e.preventDefault(),L(e=>Math.max(1,e-1)),requestAnimationFrame(()=>{W.current&&(W.current.scrollTop=W.current.scrollHeight)}))},onKeyDown:e=>{if(!_)return;const t=(document.activeElement?.tagName||"").toLowerCase();"input"===t||"textarea"===t||document.activeElement?.isContentEditable||("PageDown"===e.key||"ArrowRight"===e.key?D<P&&(e.preventDefault(),L(e=>Math.min(P,e+1))):"PageUp"===e.key||"ArrowLeft"===e.key?D>1&&(e.preventDefault(),L(e=>Math.max(1,e-1))):"Home"===e.key?(e.preventDefault(),L(1)):"End"===e.key&&(e.preventDefault(),L(P)))},children:U?/* @__PURE__ */f("div",{className:"flex items-center justify-center h-full text-gray-500 text-sm",role:"status",children:j.loading}):/* @__PURE__ */g("div",{className:"min-h-full flex items-center justify-center p-4",children:[
21
- /* @__PURE__ */f("style",{children:'\n.preview-pdf-textlayer {\n position: absolute;\n inset: 0;\n overflow: clip;\n line-height: 1;\n text-align: initial;\n text-size-adjust: none;\n forced-color-adjust: none;\n transform-origin: 0 0;\n caret-color: CanvasText;\n --min-font-size: 1;\n --text-scale-factor: calc(var(--total-scale-factor, 1) * var(--min-font-size));\n --min-font-size-inv: calc(1 / var(--min-font-size));\n}\n.preview-pdf-textlayer :is(span, br) {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n transform-origin: 0% 0%;\n}\n.preview-pdf-textlayer > :not(.markedContent),\n.preview-pdf-textlayer .markedContent span:not(.markedContent) {\n z-index: 1;\n --font-height: 0;\n font-size: calc(var(--text-scale-factor) * var(--font-height));\n --scale-x: 1;\n --rotate: 0deg;\n transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));\n}\n.preview-pdf-textlayer .markedContent {\n display: contents;\n}\n.preview-pdf-textlayer span[role="img"] {\n user-select: none;\n cursor: default;\n}\n.preview-pdf-textlayer ::selection {\n background: rgba(0, 80, 255, 0.25);\n}\n.preview-pdf-textlayer br::selection {\n background: transparent;\n}\n.preview-pdf-textlayer .endOfContent {\n display: block;\n position: absolute;\n inset: 100% 0 0;\n z-index: 0;\n cursor: default;\n user-select: none;\n}\n.preview-pdf-textlayer.selecting .endOfContent {\n top: 0;\n}\n'}),
22
- /* @__PURE__ */g("div",{className:"relative shadow-lg rounded",children:[
23
- /* @__PURE__ */f("canvas",{ref:M,className:"block rounded"}),
24
- /* @__PURE__ */f("div",{ref:E,className:"preview-pdf-textlayer",onPointerDown:e=>e.currentTarget.classList.add("selecting")})]})]})})]})}export{b as PanelActions,j as PdfViewer,y as ToolbarSlotContext,N as fitScale,k as pdfWasmParams};
@@ -1,138 +0,0 @@
1
- import{jsx as n,jsxs as r}from"react/jsx-runtime";function o(r){/* @__PURE__ */
2
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"})})}function e(r){/* @__PURE__ */
3
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})})}function t(r){/* @__PURE__ */
4
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",d:"M12 5v14M5 12h14"})})}function i(o){/* @__PURE__ */
5
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
6
- /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"10"}),
7
- /* @__PURE__ */n("path",{strokeLinecap:"round",d:"M8 12h8M12 8v8"})]})}function l(r){/* @__PURE__ */
8
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75"})})}function c(r){/* @__PURE__ */
9
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18"})})}function u(r){/* @__PURE__ */
10
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3"})})}function d(r){/* @__PURE__ */
11
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14m0 0l-5-5m5 5l-5 5"})})}function a(r){/* @__PURE__ */
12
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M21 11.5l-8.5 8.5a5.5 5.5 0 0 1-7.8-7.8l9-9a3.5 3.5 0 0 1 5 5l-9 9a1.5 1.5 0 0 1-2.1-2.1l8-8"})})}function s(r){/* @__PURE__ */
13
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"})})}function h(r){/* @__PURE__ */
14
- return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"})})}function v(r){/* @__PURE__ */
15
- return n("svg",{viewBox:"0 0 24 24",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"})})}function k(r){/* @__PURE__ */
16
- return n("svg",{viewBox:"0 0 24 24",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0120.25 6v12A2.25 2.25 0 0118 20.25H6A2.25 2.25 0 013.75 18V6A2.25 2.25 0 016 3.75h1.5m9 0h-9"})})}function L(r){/* @__PURE__ */
17
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M3 6a1.5 1.5 0 0 1 1.5-1.5h1.1l.4-.9a1 1 0 0 1 .9-.6h6.2a1 1 0 0 1 .9.6l.4.9h1.1A1.5 1.5 0 0 1 18 6v8.5A1.5 1.5 0 0 1 16.5 16h-13A1.5 1.5 0 0 1 2 14.5V6Zm7.5 1.5a3.25 3.25 0 1 0 0 6.5 3.25 3.25 0 0 0 0-6.5Z"})})}function f(o){/* @__PURE__ */
18
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
19
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.827 6.175A2.31 2.31 0 015.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 00-1.134-.175 2.31 2.31 0 01-1.64-1.055l-.822-1.316a2.192 2.192 0 00-1.736-1.039 48.774 48.774 0 00-5.232 0 2.192 2.192 0 00-1.736 1.039l-.821 1.316z"}),
20
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12.75a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zM18.75 10.5h.008v.008h-.008V10.5z"})]})}function p(r){/* @__PURE__ */
21
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 20.25V15m5.25 5.25V9.75m5.25 10.5V4.5m5.25 15.75v-7.5"})})}function M(r){/* @__PURE__ */
22
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}function m(r){/* @__PURE__ */
23
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}function x(r){/* @__PURE__ */
24
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}function g(r){/* @__PURE__ */
25
- return n("svg",{viewBox:"0 0 12 12",fill:"none",...r,children:/* @__PURE__ */n("path",{d:"M2.5 6.5L5 9l4.5-5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function w(r){/* @__PURE__ */
26
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}function C(r){/* @__PURE__ */
27
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.7-9.3a1 1 0 00-1.4-1.4L9 10.6 7.7 9.3a1 1 0 00-1.4 1.4l2 2a1 1 0 001.4 0l4-4z",clipRule:"evenodd"})})}function B(r){/* @__PURE__ */
28
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5"})})}function j(r){/* @__PURE__ */
29
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 4.5l7.5 7.5-7.5 7.5m6-15l7.5 7.5-7.5 7.5"})})}function A(r){/* @__PURE__ */
30
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})}function V(r){/* @__PURE__ */
31
- return n("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 8l4 4 4-4",strokeLinecap:"round",strokeLinejoin:"round"})})}function z(r){/* @__PURE__ */
32
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 9l6 6 6-6"})})}function H(r){/* @__PURE__ */
33
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})}function y(r){/* @__PURE__ */
34
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})})}function R(r){/* @__PURE__ */
35
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})}function Z(r){/* @__PURE__ */
36
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})}function W(r){/* @__PURE__ */
37
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M7.21 14.77a.75.75 0 0 1 .02-1.06L11.168 10 7.23 6.29a.75.75 0 1 1 1.04-1.08l4.5 4.25a.75.75 0 0 1 0 1.08l-4.5 4.25a.75.75 0 0 1-1.06-.02Z",clipRule:"evenodd"})})}function S(r){/* @__PURE__ */
38
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 19V11a6 6 0 0 1 6-6h8"})})}function b(r){/* @__PURE__ */
39
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})})}function q(r){/* @__PURE__ */
40
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9l3.75-3.75L15.75 9M8.25 15l3.75 3.75L15.75 15"})})}function D(r){/* @__PURE__ */
41
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}function E(r){/* @__PURE__ */
42
- return n("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l8 8M14 6l-8 8"})})}function F(r){/* @__PURE__ */
43
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})}function G(r){/* @__PURE__ */
44
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l12 12M18 6L6 18"})})}function I(o){/* @__PURE__ */
45
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
46
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 5.636l-12.728 12.728M5.636 5.636l12.728 12.728"}),
47
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9 9 0 100-18 9 9 0 000 18z"})]})}function J(r){/* @__PURE__ */
48
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.7 7.3a1 1 0 00-1.4 1.4L8.6 10l-1.3 1.3a1 1 0 101.4 1.4L10 11.4l1.3 1.3a1 1 0 001.4-1.4L11.4 10l1.3-1.3a1 1 0 10-1.4-1.4L10 8.6 8.7 7.3z",clipRule:"evenodd"})})}function K(r){/* @__PURE__ */
49
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})})}function N(r){/* @__PURE__ */
50
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"})})}function O(r){/* @__PURE__ */
51
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function P(r){/* @__PURE__ */
52
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function Q(r){/* @__PURE__ */
53
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3M4 11h16M5 7h14a1 1 0 011 1v11a1 1 0 01-1 1H5a1 1 0 01-1-1V8a1 1 0 011-1z"})})}function T(r){/* @__PURE__ */
54
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}function U(r){/* @__PURE__ */
55
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})})}function X(r){/* @__PURE__ */
56
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})})}function Y(r){/* @__PURE__ */
57
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.75"})})}function $(r){/* @__PURE__ */
58
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"})})}function _(r){/* @__PURE__ */
59
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}function nn(r){/* @__PURE__ */
60
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"})})}function rn(r){/* @__PURE__ */
61
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})})}function on(r){/* @__PURE__ */
62
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}function en(r){/* @__PURE__ */
63
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-7.5-9L21 3m0 0v6m0-6L9.75 14.25"})})}function tn(o){/* @__PURE__ */
64
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
65
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),
66
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function ln(r){/* @__PURE__ */
67
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function cn(r){/* @__PURE__ */
68
- return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M2.25 7.125A2.25 2.25 0 014.5 4.875h4.504c.61 0 1.193.243 1.624.673l1.494 1.494a.75.75 0 00.53.22h7.098A2.25 2.25 0 0122 9.51v8.366A2.25 2.25 0 0119.75 20.125H4.25A2.25 2.25 0 012 17.875V7.125z"})})}function un(r){/* @__PURE__ */
69
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function dn(r){/* @__PURE__ */
70
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776"})})}function an(r){/* @__PURE__ */
71
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10.5v6m3-3H9m4.06-7.19l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function sn(o){/* @__PURE__ */
72
- return r("svg",{viewBox:"0 0 24 24",fill:"none",...o,children:[
73
- /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"10"}),
74
- /* @__PURE__ */n("path",{d:"M2 12h20"}),
75
- /* @__PURE__ */n("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]})}function hn(o){/* @__PURE__ */
76
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...o,children:[
77
- /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"9"}),
78
- /* @__PURE__ */n("path",{d:"M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z"})]})}function vn(o){/* @__PURE__ */
79
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
80
- /* @__PURE__ */n("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5"}),
81
- /* @__PURE__ */n("rect",{x:"13.5",y:"3.5",width:"7",height:"7",rx:"1.5"}),
82
- /* @__PURE__ */n("rect",{x:"3.5",y:"13.5",width:"7",height:"7",rx:"1.5"}),
83
- /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1.5"})]})}function kn(r){/* @__PURE__ */
84
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})})}function Ln(o){/* @__PURE__ */
85
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
86
- /* @__PURE__ */n("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1"}),
87
- /* @__PURE__ */n("rect",{x:"13.5",y:"3.5",width:"7",height:"7",rx:"1"}),
88
- /* @__PURE__ */n("rect",{x:"3.5",y:"13.5",width:"7",height:"7",rx:"1"}),
89
- /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1"})]})}function fn(r){/* @__PURE__ */
90
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}function pn(r){/* @__PURE__ */
91
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0l8.954 8.955M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})})}function Mn(r){/* @__PURE__ */
92
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"})})}function mn(r){/* @__PURE__ */
93
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"})})}function xn(r){/* @__PURE__ */
94
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})}function gn(r){/* @__PURE__ */
95
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9 9a1 1 0 012 0v4a1 1 0 11-2 0V9zm1-4a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function wn(r){/* @__PURE__ */
96
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75L2.25 12l4.179 2.25m0-4.5l5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0l4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0l-5.571 3-5.571-3"})})}function Cn(r){/* @__PURE__ */
97
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75h4.5v16.5h-4.5zM11.25 3.75h9v4.5h-9z"})})}function Bn(r){/* @__PURE__ */
98
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"})})}function jn(r){/* @__PURE__ */
99
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"})})}function An(r){/* @__PURE__ */
100
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})}function Vn(r){/* @__PURE__ */
101
- return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function zn(r){/* @__PURE__ */
102
- return n("svg",{viewBox:"0 0 24 24",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function Hn(o){/* @__PURE__ */
103
- return r("svg",{viewBox:"0 0 24 24",fill:"currentColor",...o,children:[
104
- /* @__PURE__ */n("circle",{cx:"12",cy:"5",r:"1.4"}),
105
- /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"1.4"}),
106
- /* @__PURE__ */n("circle",{cx:"12",cy:"19",r:"1.4"})]})}function yn(r){/* @__PURE__ */
107
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728L5.636 5.636m12.728 12.728L21 21M5.636 5.636L3 3m9 9a9 9 0 110-18 9 9 0 010 18z"})})}function Rn(r){/* @__PURE__ */
108
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})})}function Zn(o){/* @__PURE__ */
109
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
110
- /* @__PURE__ */n("path",{d:"M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"}),
111
- /* @__PURE__ */n("path",{d:"M14 3v5h5"})]})}function Wn(r){/* @__PURE__ */
112
- return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.5h2.3v7H2zM5.7 1.5H8v7H5.7z"})})}function Sn(r){/* @__PURE__ */
113
- return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.2 8.4 5 2 8.8z"})})}function bn(r){/* @__PURE__ */
114
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0110.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0l.229 2.523a1.125 1.125 0 01-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0021 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 00-1.913-.247M6.34 18H5.25A2.25 2.25 0 013 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 011.913-.247m10.5 0a48.536 48.536 0 00-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5zm-3 0h.008v.008H15V10.5z"})})}function qn(r){/* @__PURE__ */
115
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992V4.356M2.985 19.644v-4.992h4.992M3.05 9.348a9 9 0 0114.85-3.36L21.015 9.348m0 5.304a9 9 0 01-14.85 3.36l-3.115-3.36"})})}function Dn(r){/* @__PURE__ */
116
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h5M20 20v-5h-5M5.5 9A7 7 0 0 1 17 6.5M18.5 15A7 7 0 0 1 7 17.5"})})}function En(r){/* @__PURE__ */
117
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}function Fn(r){/* @__PURE__ */
118
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})}function Gn(r){/* @__PURE__ */
119
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M9 3.5a5.5 5.5 0 1 0 3.36 9.85l3.14 3.15a.75.75 0 1 0 1.06-1.06l-3.15-3.14A5.5 5.5 0 0 0 9 3.5ZM5 9a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",clipRule:"evenodd"})})}function In(o){/* @__PURE__ */
120
- return r("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...o,children:[
121
- /* @__PURE__ */n("circle",{cx:"9",cy:"9",r:"6"}),
122
- /* @__PURE__ */n("path",{d:"M14 14l3 3",strokeLinecap:"round"})]})}function Jn(o){/* @__PURE__ */
123
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
124
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z"}),
125
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function Kn(r){/* @__PURE__ */
126
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})})}function Nn(r){/* @__PURE__ */
127
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"})})}function On(r){/* @__PURE__ */
128
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})})}function Pn(o){/* @__PURE__ */
129
- return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
130
- /* @__PURE__ */n("path",{d:"M12 15V4"}),
131
- /* @__PURE__ */n("path",{d:"M8 8l4-4 4 4"}),
132
- /* @__PURE__ */n("path",{d:"M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3"})]})}function Qn(r){/* @__PURE__ */
133
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M7.5 7.5L12 3m0 0l4.5 4.5M12 3v13.5"})})}function Tn(r){/* @__PURE__ */
134
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})}function Un(r){/* @__PURE__ */
135
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0 3.75h.008M10.34 3.94l-8.4 14.55A1.5 1.5 0 003.24 21h17.52a1.5 1.5 0 001.3-2.51l-8.4-14.55a1.5 1.5 0 00-2.6 0z"})})}function Xn(r){/* @__PURE__ */
136
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M8.3 2.8a2 2 0 013.4 0l6 10A2 2 0 0116 16H4a2 2 0 01-1.7-3.2l6-10zM10 7a1 1 0 00-1 1v3a1 1 0 102 0V8a1 1 0 00-1-1zm0 7a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function Yn(r){/* @__PURE__ */
137
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75A2.25 2.25 0 016 4.5h12a2.25 2.25 0 012.25 2.25v10.5A2.25 2.25 0 0118 19.5H6a2.25 2.25 0 01-2.25-2.25V6.75z M3.75 9h16.5"})})}function $n(r){/* @__PURE__ */
138
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607zM10.5 7.5v6m3-3h-6"})})}export{o as AccountFallback,i as AddCircleFallback,e as AddFallback,t as AddFallbackB,l as AdjustFallback,c as ArrowLeftFallback,u as ArrowRightFallback,d as ArrowRightFallbackB,a as AttachFallback,s as BellFallback,h as BookmarkFallback,v as BookmarkFallbackB,k as BookmarkSquareFallback,L as CameraFallback,f as CameraFallbackB,p as ChartBarFallback,w as CheckCircleFallback,C as CheckCircleFallbackB,M as CheckFallback,m as CheckFallbackB,x as CheckFallbackC,g as CheckFallbackD,B as ChevronDoubleLeftFallback,j as ChevronDoubleRightFallback,A as ChevronDownFallback,V as ChevronDownFallbackB,z as ChevronDownFallbackC,H as ChevronLeftFallback,y as ChevronLeftFallbackB,R as ChevronRightFallback,Z as ChevronRightFallbackB,W as ChevronRightFallbackC,q as ChevronUpDownFallback,b as ChevronUpFallback,I as CloseCircleFallback,J as CloseCircleFallbackB,D as CloseFallback,E as CloseFallbackB,F as CloseFallbackC,G as CloseFallbackD,K as CodeFallback,N as CollapseFallback,O as CopyFallback,P as CopyFallbackB,S as CornerFallback,Q as DateFallback,T as DateFallbackB,U as DesktopFallback,X as DownloadFallback,Y as DuplicateFallback,$ as EditFallback,_ as EmailFallback,nn as ErrorFallback,rn as ExpandFallback,on as ExpandFallbackB,en as ExternalFallback,tn as EyeFallback,ln as EyeOffFallback,cn as FolderFallback,un as FolderFallbackB,dn as FolderOpenFallback,an as FolderPlusFallback,sn as GlobeFallback,hn as GlobeFallbackB,vn as GridFallback,kn as GridFallbackB,Ln as GridFallbackC,fn as HelpFallback,pn as HomeFallback,Mn as ImageFallback,mn as InboxFallback,xn as InfoFallback,gn as InfoFallbackB,wn as LayersFallback,Cn as LayoutFallback,Bn as LinkFallback,jn as LogoutFallback,An as MenuFallback,Vn as MoonFallback,zn as MoonFallbackB,Hn as MoreVerticalFallback,yn as NoSymbolFallback,Rn as PageFallback,Zn as PageFallbackB,Wn as PauseFallback,Sn as PlayFallback,bn as PrintFallback,qn as RefreshFallback,Dn as RefreshFallbackB,En as RemoveFallback,Fn as SearchFallback,Gn as SearchFallbackB,In as SearchFallbackC,Jn as SettingsFallback,Kn as StarFallback,Nn as StylesFallback,On as TrashFallback,Pn as UploadFallback,Qn as UploadFallbackB,Tn as WarningFallback,Un as WarningFallbackB,Xn as WarningFallbackC,Yn as WindowFallback,$n as ZoomInFallback};
@@ -1,6 +0,0 @@
1
- import{ChevronRightFallbackC as e}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{useShellStrings as t}from"./chunk-TNBCUZVE.js";import{Fragment as a}from"react";import{jsx as n,jsxs as s}from"react/jsx-runtime";var r=/* @__PURE__ */n(i,{name:"chevron-right",fallback:e,className:"h-3.5 w-3.5 shrink-0 text-gray-300","aria-hidden":!0}),l="inline-flex min-w-0 items-center gap-1 truncate rounded px-1 -mx-1 text-gray-500 transition-colors hover:text-gray-900 hover:underline rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]";function c({items:e,separator:i,maxItems:c=0,className:m}){const o=t().breadcrumbs;if(0===e.length)return null;const h=i??r,d=[],u=e.length-1;if(c>0&&e.length>c&&c>=2){const i=Math.max(1,c-1);d.push({kind:"item",item:e[0],isLast:!1}),d.push({kind:"ellipsis"});for(let t=e.length-i;t<=u;t++)d.push({kind:"item",item:e[t],isLast:t===u})}else e.forEach((e,i)=>d.push({kind:"item",item:e,isLast:i===u}));/* @__PURE__ */
2
- return n("nav",{"aria-label":o.label,className:`min-w-0 ${m??""}`,children:/* @__PURE__ */n("ol",{className:"flex items-center gap-1.5 text-sm",children:d.map((e,i)=>/* @__PURE__ */s(a,{children:[i>0&&/* @__PURE__ */n("li",{"aria-hidden":!0,className:"flex items-center",children:h}),
3
- /* @__PURE__ */n("li",{className:"flex min-w-0 items-center",children:"ellipsis"===e.kind?/* @__PURE__ */n("span",{className:"px-0.5 text-gray-400 select-none","aria-label":o.hidden,children:"…"}):e.isLast||!e.item.href&&!e.item.onClick?/* @__PURE__ */s("span",{"aria-current":e.isLast?"page":void 0,className:"inline-flex min-w-0 items-center gap-1 truncate "+(e.isLast?"font-medium text-gray-900":"text-gray-500"),children:[e.item.icon,
4
- /* @__PURE__ */n("span",{className:"truncate",children:e.item.label})]}):e.item.href?/* @__PURE__ */s("a",{href:e.item.href,onClick:e.item.onClick,className:l,children:[e.item.icon,
5
- /* @__PURE__ */n("span",{className:"truncate",children:e.item.label})]}):/* @__PURE__ */s("button",{type:"button",onClick:e.item.onClick,className:l,children:[e.item.icon,
6
- /* @__PURE__ */n("span",{className:"truncate",children:e.item.label})]})})]},i))})})}export{c as Breadcrumbs};
@@ -1 +0,0 @@
1
- function r(){try{const r=document.documentElement;return"dark"===r.getAttribute("data-theme")||r.classList.contains("dark")}catch{return!1}}var a=["data-theme","class"];function s(){try{const r=getComputedStyle(document.documentElement).getPropertyValue("--menu-opacity")?.trim();if(r)return parseFloat(r)}catch{}return.95}var t=r;function o(){try{return document.documentElement.classList.contains("rosh-reduce-transparency")}catch{return!1}}function e(r,a){return`color-mix(in srgb, ${r} ${+(Math.round(255*Math.min(1,Math.max(0,a)))/255*100).toFixed(4)}%, transparent)`}function n(r,a={}){const n=r??s();if(o()&&"light"===a.ink)return{background:"var(--rosh-glass-light-ink-surface)",border:"1px solid var(--rosh-glass-light-ink-solid-border)",boxShadow:"var(--rosh-glass-solid-shadow)"};if(o())return{background:"var(--rosh-glass-surface)",border:"1px solid var(--rosh-glass-solid-border)",boxShadow:"var(--rosh-glass-solid-shadow)"};const d="var(--rosh-glass-surface)",i="var(--rosh-glass-surface-mid)";return t()?{background:`linear-gradient(135deg in srgb, ${e(d,.85*n)} 0%, ${e(i,.75*n)} 50%, ${e(d,.85*n)} 100%)`,backdropFilter:"blur(40px) saturate(1.6)",WebkitBackdropFilter:"blur(40px) saturate(1.6)",border:"1px solid var(--rosh-glass-border)",boxShadow:"var(--rosh-glass-shadow)"}:{background:`linear-gradient(135deg in srgb, ${e(d,.85*n)} 0%, ${e(i,.65*n)} 50%, ${e(d,.75*n)} 100%)`,backdropFilter:"blur(40px) saturate(1.8)",WebkitBackdropFilter:"blur(40px) saturate(1.8)",border:"1px solid var(--rosh-glass-border)",boxShadow:"var(--rosh-glass-shadow)"}}function d(r){return o()?"var(--rosh-glass-surface)":e("var(--rosh-glass-surface)",.85*(r??s()))}var i="border-white/20",u="glass-input-bg";export{i as GLASS_DIVIDER,u as GLASS_INPUT_BG,a as ROOT_THEME_ATTRIBUTES,d as glassFill,n as glassStyle,r as rootIsDark};
@@ -1,29 +0,0 @@
1
- import{useDismissPopupsOnOpen as e}from"./chunk-AFYQTVZO.js";import{registerModalEscapeInterceptor as t,Z_LAYERS as n}from"./chunk-X4FJ54PP.js";import{CloseFallbackB as r,WarningFallback as o,CloseFallback as l}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{useShellStrings as a,splitAround as s}from"./chunk-TNBCUZVE.js";import{createContext as c,useEffect as d,useRef as u,useId as m,useContext as f,useState as b,useCallback as h}from"react";import{jsxs as g,jsx as p,Fragment as y}from"react/jsx-runtime";var x=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function v(e){return Array.from(e.querySelectorAll(x)).filter(e=>null!==e.offsetParent||e===document.activeElement)}var w=[];function N(e){const t=w.findIndex(t=>t!==e&&e.contains(t));-1===t?w.push(e):w.splice(t,0,e)}function k(e){const t=w.lastIndexOf(e);-1!==t&&w.splice(t,1)}var C=/* @__PURE__ */new WeakSet;function L(e){return v(e)}function E(e,t){d(()=>{if(!t)return;const n=e.current;return n?(C.add(n),N(n),()=>{k(n),C.delete(n)}):void 0},[e,t])}function P(e,t){const n=w.lastIndexOf(t),r=n>0?w[n-1]:-1===n?w[w.length-1]??null:null,o=v(r??e.ownerDocument.body).filter(n=>!t.contains(n)&&!e.contains(n)),l=o.find(t=>0!==(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING));return l||(r&&!C.has(r)?o[0]??null:null)}function j(e,t,n){d(()=>{if(!t)return;const r=e.current;if(!r)return;const o=document.activeElement,l=n?.current??v(r)[0]??r;l!==r||r.hasAttribute("tabindex")||r.setAttribute("tabindex","-1"),l.focus();const i=e=>{if("Tab"!==e.key)return;if(w[w.length-1]!==r)return;const t=v(r);if(0===t.length)return void e.preventDefault();const n=t[0],o=t[t.length-1],l=document.activeElement;!e.shiftKey||l!==n&&r.contains(l)?e.shiftKey||l!==o&&r.contains(l)||(e.preventDefault(),n.focus()):(e.preventDefault(),o.focus())};return N(r),document.addEventListener("keydown",i,!0),()=>{k(r),document.removeEventListener("keydown",i,!0),(r.contains(document.activeElement)||document.activeElement===document.body)&&o?.focus?.()}},[e,t,n])}var T=0,W=null;function D(e){d(()=>{if(!e)return;const t=document.body;if(0===T){W={overflow:t.style.overflow,paddingRight:t.style.paddingRight};const e=window.innerWidth-document.documentElement.clientWidth;t.style.overflow="hidden",e>0&&(t.style.paddingRight=`${e}px`)}return T+=1,()=>{0===(T-=1)&&W&&(t.style.overflow=W.overflow,t.style.paddingRight=W.paddingRight,W=null)}},[e])}var F={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-4xl"};function I({open:o,onClose:l,title:s,description:c,role:f="dialog",children:b,footer:h,blocking:y=!1,size:x="md",initialFocus:v,"aria-label":w,"aria-labelledby":N,"aria-describedby":k,className:C=""}){const L=u(null),E=m(),P=m(),T=!y&&!h,W=m(),I=a().dialog;return e(o),j(L,o,v),D(o),d(()=>{if(o)return t(()=>(y||l(),!0),()=>L.current)},[o,y,l]),o?/* @__PURE__ */g("div",{className:"fixed inset-0",style:{zIndex:n.overlay},role:"presentation",children:[
2
- /* @__PURE__ */p("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"}),
3
- /* @__PURE__ */p("div",{className:"fixed inset-0 flex items-center justify-center p-4",onClick:y?void 0:e=>{e.target===e.currentTarget&&l()},children:/* @__PURE__ */g("div",{ref:L,role:f,"aria-modal":"true","aria-labelledby":s?W:N,"aria-label":s||N?void 0:w,"aria-describedby":k??(c?P:b?E:void 0),className:`relative max-h-full w-full ${F[x]} overflow-y-auto overscroll-contain rounded-(--radius-card) bg-white p-6 shadow-xl ${C}`.trim(),children:[s&&/* @__PURE__ */p("h2",{id:W,className:(T?"pr-8 ":"")+"text-base font-semibold text-gray-900",children:s}),c&&/* @__PURE__ */p("p",{id:P,className:((s?"mt-1":T?"pr-8":"")+" text-sm text-gray-500").trim(),children:c}),b&&/* @__PURE__ */p("div",{id:E,className:"mt-2 text-sm text-gray-600",children:b}),h&&/* @__PURE__ */p("div",{className:"mt-6 flex flex-wrap justify-end gap-3",children:h}),T&&/* @__PURE__ */p("button",{type:"button",onClick:l,"aria-label":I.close,className:"absolute right-3 top-3 rounded-(--radius-control) p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */p(i,{name:"close",fallback:r,className:"h-5 w-5",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true"})})]})})]}):null}var O=c(()=>Promise.resolve(!1)),$=()=>f(O),A=()=>Promise.resolve(!1),K=e=>A(e),R=()=>Promise.resolve(!1),S=e=>R(e),M=()=>Promise.resolve(null),V=e=>M(e),z={danger:{icon:"text-red-600 bg-red-100",button:"bg-red-600 hover:bg-red-700 text-white"},warning:{icon:"text-yellow-600 bg-yellow-100",button:"bg-yellow-600 hover:bg-yellow-700 text-white"},info:{icon:"text-blue-600 bg-blue-100",button:"bg-blue-600 hover:bg-blue-700 text-white"}},G="bg-white text-gray-700 border border-gray-300 px-4 py-2 text-sm font-medium rounded-lg hover:bg-gray-50";function J(){/* @__PURE__ */
4
- return p(i,{name:"warning",fallback:o,className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function U(){/* @__PURE__ */
5
- return p(i,{name:"close",fallback:l,className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function X({children:e}){const[t,n]=b(!1),[r,o]=b({message:""}),[l,i]=b(0),c=u(),m=u(null),f=u(0),x=u([]),v=u(null),w=u(null),N=h(e=>{m.current=e.id,c.current=e.resolve,i(e.id),o(e.options),n(!0)},[]),k=h(e=>{const t="string"==typeof e?{message:e}:e;return new Promise(e=>{const n={id:++f.current,options:t,resolve:e};null===m.current?N(n):x.current.push(n)})},[N]),[C,L]=b(!1),[E,P]=b({message:""}),[j,T]=b(""),W=u(),D=h(e=>(P(e),T(""),L(!0),new Promise(e=>{W.current=e})),[]),[F,$]=b(!1),[K,S]=b({}),[V,X]=b(""),Y=u(),Z=h(e=>{const t="string"==typeof e?{message:e}:e;return S(t),X(t.defaultValue??""),$(!0),new Promise(e=>{Y.current=e})},[]);d(()=>{A=k,R=D,M=Z},[k,D,Z]);const _=(e,t)=>{if(m.current!==e)return;const r=c.current,o=x.current.shift();o?N(o):(m.current=null,c.current=void 0,n(!1)),r?.(t)},q=e=>{L(!1),T(""),W.current?.(e)},B=e=>{if(e){const e=V.trim();if(!e&&!K.allowEmpty)return $(!1),void Y.current?.(null);$(!1),Y.current?.(e)}else $(!1),Y.current?.(null)},Q=r.variant||(r.confirmLabel?.toLowerCase().includes("delete")||r.message.toLowerCase().includes("delete")?"danger":"info"),H=z[Q],ee=z["warning"===E.variant?"warning":"danger"],te=E.confirmWord,ne=null==te||j===te,re=a().dialog,[oe,le]=s(re.typeToConfirm);/* @__PURE__ */
6
- return g(O.Provider,{value:k,children:[e,
7
- /* @__PURE__ */p(I,{open:t,onClose:()=>_(l,!1),initialFocus:v,footer:/* @__PURE__ */g(y,{children:[
8
- /* @__PURE__ */p("button",{ref:v,type:"button",onClick:()=>_(l,!1),className:G,children:r.cancelLabel||re.cancel}),
9
- /* @__PURE__ */p("button",{type:"button",onClick:()=>_(l,!0),className:`px-4 py-2 text-sm font-medium rounded-lg ${H.button}`,children:r.confirmLabel||re.ok})]}),children:/* @__PURE__ */g("div",{className:"flex gap-4",children:[
10
- /* @__PURE__ */p("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${H.icon}`,children:/* @__PURE__ */p(J,{})}),
11
- /* @__PURE__ */g("div",{className:"flex-1",children:[
12
- /* @__PURE__ */p("h2",{className:"text-base font-semibold text-gray-900",children:r.title||re.confirmTitle}),
13
- /* @__PURE__ */p("p",{className:"mt-2 text-sm text-gray-600",children:r.message})]})]})}),
14
- /* @__PURE__ */g(I,{open:C,onClose:()=>q(!1),initialFocus:null!=te?void 0:w,footer:/* @__PURE__ */g(y,{children:[
15
- /* @__PURE__ */p("button",{ref:w,type:"button",onClick:()=>q(!1),className:G,children:E.cancelLabel||re.destructiveCancel}),
16
- /* @__PURE__ */p("button",{type:"button",onClick:()=>q(!0),disabled:!ne,className:`px-4 py-2 text-sm font-medium rounded-lg disabled:opacity-40 ${ee.button}`,children:te??E.confirmLabel??re.destructiveConfirm})]}),children:[
17
- /* @__PURE__ */p("button",{type:"button",onClick:()=>q(!1),"aria-label":re.close,className:"absolute right-4 top-4 rounded-md p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:/* @__PURE__ */p(U,{})}),
18
- /* @__PURE__ */g("div",{className:"flex gap-4",children:[
19
- /* @__PURE__ */p("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${ee.icon}`,children:/* @__PURE__ */p(J,{})}),
20
- /* @__PURE__ */g("div",{className:"flex-1",children:[
21
- /* @__PURE__ */p("h2",{className:"text-base font-semibold text-gray-900 pr-6",children:E.title||re.destructiveTitle}),
22
- /* @__PURE__ */p("p",{className:"mt-2 text-sm text-gray-600",children:E.message}),null!=te&&/* @__PURE__ */g(y,{children:[
23
- /* @__PURE__ */g("p",{className:"mt-3 text-sm text-gray-700",children:[oe,
24
- /* @__PURE__ */p("kbd",{className:"rounded border border-gray-300 bg-gray-50 px-1.5 py-0.5 text-xs font-bold text-red-600 font-mono",children:te}),le]}),
25
- /* @__PURE__ */p("input",{autoFocus:!0,type:"text",value:j,onChange:e=>T(e.target.value),onKeyDown:e=>{"Enter"===e.key&&j===te&&q(!0)},placeholder:te,className:"mt-2 w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:border-red-500"})]})]})]})]}),
26
- /* @__PURE__ */g(I,{open:F,onClose:()=>B(!1),title:K.title||re.promptTitle,footer:/* @__PURE__ */g(y,{children:[
27
- /* @__PURE__ */p("button",{type:"button",onClick:()=>B(!1),className:G,children:K.cancelLabel||re.cancel}),
28
- /* @__PURE__ */p("button",{type:"button",onClick:()=>B(!0),disabled:!K.allowEmpty&&!V.trim(),className:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 text-sm font-medium rounded-lg disabled:opacity-40",children:K.confirmLabel||re.ok})]}),children:[K.message&&/* @__PURE__ */p("p",{className:"text-sm text-gray-600",children:K.message}),
29
- /* @__PURE__ */p("input",{autoFocus:!0,type:"text",value:V,onChange:e=>X(e.target.value),onKeyDown:e=>{"Enter"===e.key?B(!0):"Escape"===e.key&&B(!1)},onFocus:e=>e.target.select(),placeholder:K.placeholder,className:"mt-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:border-blue-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-accent)]"})]})]})}export{X as ConfirmProvider,I as Dialog,K as confirm,S as confirmDestructive,L as focusableIn,V as prompt,P as stopAfter,$ as useConfirm,j as useFocusTrap,D as useScrollLock,E as useTabLayer};
@@ -1,12 +0,0 @@
1
- import{glassStyle as t,glassFill as e}from"./chunk-HZZNJHRH.js";import{registerModalEscapeInterceptor as o,escapeSurfaceAbove as i,onOverlayOpen as r,Z_LAYERS as n}from"./chunk-X4FJ54PP.js";import{useBrowserLayoutEffect as a}from"./chunk-D65T4H6J.js";import{forwardRef as l,useId as s,useState as h,useRef as c,useEffect as d,isValidElement as m,cloneElement as u}from"react";import{createPortal as f}from"react-dom";import{jsxs as g,jsx as p,Fragment as b}from"react/jsx-runtime";var x="aria-disabled:cursor-not-allowed aria-disabled:opacity-60",w="inline-flex items-center justify-center rounded-(--radius-control) font-medium transition-colors rosh-focus-ring focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-60 "+x,v={primary:"bg-blue-600 text-white shadow-sm hover:bg-blue-700 focus-visible:ring-[color:var(--rosh-focus-ring-strong)]",secondary:"border border-gray-300 bg-white text-gray-700 shadow-sm hover:bg-gray-50 focus-visible:ring-[color:var(--rosh-focus-ring)]",ghost:"text-gray-700 hover:bg-gray-100 focus-visible:ring-[color:var(--rosh-focus-ring)]","ghost-danger":"text-red-600 hover:bg-red-50 focus-visible:ring-[color:var(--rosh-focus-ring-invalid)]",danger:"bg-red-600 text-white shadow-sm hover:bg-red-700 focus-visible:ring-[color:var(--rosh-focus-ring-invalid-strong)]",link:"text-blue-600 underline-offset-4 hover:underline focus-visible:ring-[color:var(--rosh-focus-ring)]"},y={sm:"gap-1 px-2.5 py-1 text-xs",md:"gap-1.5 px-3 py-1.5 text-sm",lg:"gap-2 px-4 py-2.5 text-sm","touch-sm":"gap-1.5 h-11 px-4 text-base",touch:"gap-2 h-14 px-5 text-base","touch-lg":"gap-2 h-16 px-6 text-lg","touch-xl":"gap-3 h-20 px-8 text-2xl"},M="inline-flex items-center font-medium transition-colors rosh-focus-ring focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-60 "+x,N={sm:"gap-1 text-xs",md:"gap-1.5 text-sm",lg:"gap-2 text-sm","touch-sm":"gap-1.5 text-base",touch:"gap-2 text-base","touch-lg":"gap-2 text-lg","touch-xl":"gap-3 text-2xl"},W={sm:"h-6 w-6",md:"h-8 w-8",lg:"h-10 w-10","touch-sm":"h-11 w-11",touch:"h-14 w-14","touch-lg":"h-16 w-16","touch-xl":"h-20 w-20"};function k({variant:t="primary",size:e="md",block:o=!1,className:i=""}={}){const r="link"===t;return[r?M:w,v[t],r?N[e]:y[e],o?"w-full":"",i].filter(Boolean).join(" ")}function H({variant:t="ghost",size:e="md",pressed:o=!1,className:i=""}={}){const r=!o||"ghost"!==t&&"secondary"!==t?v[t]:"bg-blue-50 text-blue-700 hover:bg-blue-100 focus-visible:ring-[color:var(--rosh-focus-ring)]";return[w,r,W[e],"shrink-0 p-0",i].filter(Boolean).join(" ")}var C=448,B=240,R=8,j=()=>({left:0,right:window.innerWidth,top:0,bottom:window.innerHeight});function z(t){const e=j(),o=t?.closest?.("[data-modal-panel]");if(!o)return e;const i=o.getBoundingClientRect();return i.width<=0||i.height<=0?e:{left:Math.max(e.left,i.left),right:Math.min(e.right,i.right),top:Math.max(e.top,i.top),bottom:Math.min(e.bottom,i.bottom)}}var E=/* @__PURE__ */new Set(["hidden","clip","auto","scroll"]);var T={top:"bottom",bottom:"top",left:"right",right:"left"},F={top:["right","left"],bottom:["right","left"],left:["top","bottom"],right:["top","bottom"]};function L(t,e,o){return{top:t.top-o-(e.top+8),bottom:e.bottom-8-(t.bottom+o),left:t.left-o-(e.left+8),right:e.right-8-(t.right+o)}}var P=(t,e,o)=>Math.max(e,Math.min(t,o));function A(t,e,o){let i=NaN,r=NaN,n=NaN,a=NaN,l=NaN;const s=()=>{const e=t()?.getBoundingClientRect();if(!e)return!1;const s=o?o():NaN,h=e.left!==i||e.top!==r||e.right!==n||e.bottom!==a||s!==l&&!(Number.isNaN(s)&&Number.isNaN(l));return i=e.left,r=e.top,n=e.right,a=e.bottom,l=s,h};s();const h=()=>{s(),e()};let c=requestAnimationFrame(function t(){s()&&e(),c=requestAnimationFrame(t)});return window.addEventListener("scroll",h,!0),window.addEventListener("resize",h),()=>{cancelAnimationFrame(c),window.removeEventListener("scroll",h,!0),window.removeEventListener("resize",h)}}function D({trigger:t,menu:e,bounds:o,align:i,side:r}){const n=L(t,o,4),a="bottom"===r?"top":"bottom",l=e.height>n[r]&&(e.height<=n[a]||n[a]>n[r])?a:r,s=Math.max(Math.min(e.height,96),n[l]),h=Math.min(e.height,s),c=P("bottom"===l?t.bottom+4:t.top-4-h,o.top+8,o.bottom-8-h),d=Math.max(0,o.right-o.left-16),m=Math.min(e.width,d);return{left:P("start"===i?t.left:t.right-m,o.left+8,o.right-8-m),top:c,side:l,maxHeight:s,maxWidth:d}}function I(t,e,o={}){const{matchTriggerWidth:i=!1,preferredMaxWidth:r=C,preferredMaxHeight:n=B,popupRef:l}=o,[s,c]=h(null);return a(()=>{if(!e)return void c(null);const o=()=>{const e=t.current,o=e?.getBoundingClientRect();if(!o)return;const a=z(e),s=a.bottom-o.bottom-4-8,h=o.top-a.top-4-8,d=s<Math.min(n,160)&&h>s,m=Math.max(96,Math.min(n,d?h:s)),u=Math.max(0,a.right-a.left-16),f={minWidth:o.width,maxWidth:Math.min(r,u),maxHeight:m};if(i){const t=Math.min(o.width,u);f.width=t,f.maxWidth=t,f.left=Math.min(Math.max(a.left+8,o.left),a.right-8-t)}else if(l&&a.right-8-o.left<f.maxWidth&&Math.min(o.right,a.right-8)-a.left-8<f.maxWidth){const t=l.current?.offsetWidth??0,e=t>0?Math.min(t,f.maxWidth):f.maxWidth;f.left=Math.max(a.left+8,Math.min(o.left,a.right-8-e))}else if(a.right-8-o.left<f.maxWidth){const t=Math.min(o.right,a.right-8);f.right=window.innerWidth-t,f.maxWidth=Math.min(f.maxWidth,Math.max(0,t-a.left-8))}else f.left=Math.max(a.left+8,o.left);d?f.bottom=window.innerHeight-o.top+4:f.top=o.bottom+4,c(f)};return o(),A(()=>t.current,o,l?()=>l.current?.offsetWidth??NaN:void 0)},[e,t,i,r,n,l]),s}function J({point:t,menu:e,bounds:o}){const i={left:t.x,right:t.x,top:t.y,bottom:t.y},r=o.right-8-t.x,n=t.x-(o.left+8);return D({trigger:i,menu:e,bounds:o,align:e.width<=r||r>=n?"start":"end",side:"bottom"})}var S={top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"};function $({content:l,side:b="top",delay:x=200,children:w,className:v="relative inline-flex",describe:y=!0}){const[M,N]=h(!1),[W,k]=h(null),H=c(void 0),C=c(null),B=c(null),R=s(),D=c(!1),I=()=>{window.clearTimeout(H.current),D.current||(H.current=window.setTimeout(()=>N(!0),x))},J=()=>{window.clearTimeout(H.current),N(!1)},$=()=>{D.current=!0,J()},q=()=>{D.current=!1,J()};d(()=>()=>window.clearTimeout(H.current),[]),a(()=>{if(!M)return void k(null);const t=()=>{const t=C.current,e=B.current;if(!t||!e)return;const o=z(t),i=Math.max(0,o.right-o.left-16),r=Math.max(0,o.bottom-o.top-16);e.style.maxWidth=`${i}px`,e.style.maxHeight=`${r}px`;const n=e.getBoundingClientRect();if(n.width<=0||n.height<=0)return;const a=t.getBoundingClientRect();if(!function(t){const e=t.getBoundingClientRect();if(e.width<=0&&e.height<=0&&0===e.left&&0===e.top)return null;const o=j(),i={left:Math.max(o.left,e.left),right:Math.min(o.right,e.right),top:Math.max(o.top,e.top),bottom:Math.min(o.bottom,e.bottom)};let r=getComputedStyle(t).position;for(let e=t.parentElement;e&&e!==document.documentElement&&"fixed"!==r;e=e.parentElement){const t=getComputedStyle(e);if("absolute"===r&&"static"===t.position)continue;r=t.position;const o=E.has(t.overflowX),n=E.has(t.overflowY);if(!o&&!n)continue;const a=e.getBoundingClientRect();a.width<=0&&a.height<=0||(o&&(i.left=Math.max(i.left,a.left),i.right=Math.min(i.right,a.right)),n&&(i.top=Math.max(i.top,a.top),i.bottom=Math.min(i.bottom,a.bottom)))}return i.right>=i.left&&i.bottom>=i.top?i:null}(t))return void J();const l=function(t,e,o,i,r){const n=L(t,i,r),a=t=>n[t]-("top"===t||"bottom"===t?e.height:e.width),l=[o,T[o],...F[o]],s=l.find(t=>a(t)>=0)??l.reduce((t,e)=>a(e)>a(t)?e:t),h=(t.left+t.right)/2,c=(t.top+t.bottom)/2;let d,m;switch(s){case"top":d=h-e.width/2,m=t.top-r-e.height;break;case"bottom":d=h-e.width/2,m=t.bottom+r;break;case"left":d=t.left-r-e.width,m=c-e.height/2;break;case"right":d=t.right+r,m=c-e.height/2}return{side:s,left:P(d,i.left+8,i.right-8-e.width),top:P(m,i.top+8,i.bottom-8-e.height)}}(a,n,b,o,12),s=function(t,e,o,i,r){const{side:n,left:a,top:l}=e,s=a+o.width,h=l+o.height;if({top:t.top-h,bottom:l-t.bottom,left:t.left-s,right:a-t.right}[n]<r)return null;const c=(t,e,o)=>o<2*i?e+o/2:Math.max(e+i,Math.min(t,e+o-i)),d=(t.left+t.right)/2,m=(t.top+t.bottom)/2;switch(n){case"top":return{side:n,x:c(d,a,o.width),y:h};case"bottom":return{side:n,x:c(d,a,o.width),y:l};case"left":return{side:n,x:s,y:c(m,l,o.height)};case"right":return{side:n,x:a,y:c(m,l,o.height)}}}(a,l,n,16,6),h={anchor:{left:a.left,top:a.top,width:a.width,height:a.height},left:l.left-a.left,top:l.top-a.top,maxWidth:i,maxHeight:r,side:l.side,arrow:s&&{left:s.x-a.left,top:s.y-a.top}};k(t=>{return t&&(o=h,(e=t).anchor.left===o.anchor.left&&e.anchor.top===o.anchor.top&&e.anchor.width===o.anchor.width&&e.anchor.height===o.anchor.height&&e.left===o.left&&e.top===o.top&&e.maxWidth===o.maxWidth&&e.maxHeight===o.maxHeight&&e.side===o.side&&e.arrow?.left===o.arrow?.left&&e.arrow?.top===o.arrow?.top)?t:h;var e,o})};return t(),A(()=>C.current,t)},[M,b,l]),d(()=>{if(!M)return;const t=o(t=>"Escape"===t.key&&(J(),!i(C.current))),e=r(J);return()=>{t(),e()}},[M]);const X=M&&y?R:void 0,Z=m(w)?u(w,{"aria-describedby":[w.props["aria-describedby"],X].filter(Boolean).join(" ")||void 0}):w,Y=M?t():void 0,G=M?e():void 0;/* @__PURE__ */
2
- return g("span",{ref:C,className:v,"aria-describedby":m(w)?void 0:X,onMouseEnter:I,onMouseLeave:q,onFocus:I,onBlur:q,onPointerDown:$,onClick:$,children:[Z,M&&f(
3
- /* @__PURE__ */g("span",{className:"pointer-events-none fixed left-0 top-0",style:{zIndex:n.popup,...W?.anchor},children:[
4
- /* @__PURE__ */p("span",{ref:B,id:R,role:"tooltip",className:`pointer-events-none absolute z-[300] box-border w-max overflow-hidden whitespace-normal break-words text-start rounded-md px-2 py-1 text-xs text-gray-800 ${W?"":S[b]}`,style:{...Y,...W&&{left:W.left,top:W.top,maxWidth:W.maxWidth,maxHeight:W.maxHeight}},children:l}),(!W||W.arrow)&&
5
- /* @__PURE__ */p("span",{"aria-hidden":"true",className:"rosh-tooltip-arrow","data-side":W?.side??b,style:{background:G,"--rosh-tooltip-edge":Y?.border,...W?.arrow&&{left:W.arrow.left,top:W.arrow.top}}})]}),document.body)]})}var q=t=>!0===t||"true"===t;function X(t){t.preventDefault(),t.stopPropagation()}var Z=(t,e)=>[t,e].filter(Boolean).join(" ")||void 0;function Y({reason:t,id:e,block:o=!1,children:i}){/* @__PURE__ */
6
- return g(b,{children:[
7
- /* @__PURE__ */p($,{content:t,describe:!1,className:o?"relative flex w-full":"relative inline-flex",children:i}),
8
- /* @__PURE__ */p("span",{id:e,className:"sr-only",children:t})]})}function G(){/* @__PURE__ */
9
- return g("svg",{className:"h-3.5 w-3.5 animate-spin",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[
10
- /* @__PURE__ */p("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),
11
- /* @__PURE__ */p("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]})}var K=l(function({variant:t="primary",size:e="md",loading:o=!1,leftIcon:i,rightIcon:r,block:n=!1,disabled:a,type:l="button",children:h,className:c="",disabledReason:d,onClick:m,"aria-disabled":u,"aria-describedby":f,...b},x){const w=s(),v=a||o,y=null!=d&&""!==d,M=v&&y,N=!v&&q(u),W=N&&y,H=M||W?w:void 0,C=/* @__PURE__ */g("button",{ref:x,type:l,disabled:v,"aria-busy":o||void 0,"aria-disabled":!!N||u,"aria-describedby":Z(f,H),onClick:N?X:m,className:k({variant:t,size:e,block:n,className:c}),...b,children:[o?/* @__PURE__ */p(G,{}):i,h,!o&&r]});return W?/* @__PURE__ */p(Y,{reason:d,id:w,block:n,children:C}):M?/* @__PURE__ */g("span",{className:n?"flex w-full flex-col gap-1":"inline-flex flex-col items-start gap-1",children:[C,
12
- /* @__PURE__ */p("span",{id:H,className:"text-xs text-red-600",children:d})]}):C});export{K as Button_default,B as MENU_MAX_HEIGHT,Y as OffWithReason,C as POPUP_MAX_WIDTH,$ as Tooltip,R as VIEWPORT_MARGIN,k as buttonClasses,Z as describedByWith,A as followAnchor,H as iconButtonClasses,q as isAriaDisabled,J as placeAtPoint,D as placeMenu,z as popupBounds,X as swallowPress,I as useDropdownPosition};
@@ -1,3 +0,0 @@
1
- import{CheckFallbackC as e,CopyFallback as t}from"./chunk-6LTDJKIL.js";import{Icon as r}from"./chunk-XWSWYMGM.js";import{useShellStrings as o}from"./chunk-TNBCUZVE.js";import{useState as c,useRef as a,useEffect as i,useCallback as n}from"react";import{jsx as u}from"react/jsx-runtime";function m(e){const[t,r]=c(!1),o=a(void 0);i(()=>()=>clearTimeout(o.current),[]);return{copied:t,copy:n(t=>{t?.stopPropagation(),navigator.clipboard?.writeText(e).then(()=>{r(!0),clearTimeout(o.current),o.current=setTimeout(()=>r(!1),1500)},()=>{})},[e])}}function p({copied:o,className:c="w-4 h-4"}){/* @__PURE__ */
2
- return u(r,o?{name:"check",fallback:e,className:`${c} text-green-600`,"aria-hidden":"true"}:{name:"copy",fallback:t,className:c,"aria-hidden":"true"})}function s({text:e}){const{copied:t,copy:r}=m(e),c=o().copy;/* @__PURE__ */
3
- return u("button",{onClick:r,title:t?c.copiedValue:c.copyValue(e),className:"shrink-0 text-gray-400 hover:text-gray-600 transition-colors",children:/* @__PURE__ */u(p,{copied:t})})}export{s as CopyButton,p as CopyGlyph,m as useCopyText};
@@ -1,9 +0,0 @@
1
- import{VERSION as e}from"./chunk-SFCDHHQP.js";import{useWindowMenuItem as t,Modal as r}from"./chunk-VWBQ2P5G.js";import{navIcons as s}from"./chunk-DSSLOQDW.js";import{InfoFallback as o,WindowFallback as n}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{DEFAULT_SHELL_STRINGS as a,useShellStrings as m,splitAround as c}from"./chunk-TNBCUZVE.js";import{useState as l,useCallback as p,isValidElement as d,cloneElement as h}from"react";import{jsx as u,jsxs as f}from"react/jsx-runtime";var x=a.aboutApp,v={spreadsheet:{name:"Spreadsheets",version:"1.1.3",route:"/spreadsheet",description:x.spreadsheet},notepad:{name:"Notepad",version:"1.0.1",route:"/notepad",description:x.notepad},documents:{name:"Documents",version:"1.1.0",route:"/documents",description:x.documents},preview:{name:"Preview",version:"1.4.2",route:"/preview",description:x.preview},files:{name:"Files",version:"1.1.1",route:"/files",description:x.files},browser:{name:"Browser",version:"1.0.1",route:"/browser",description:x.browser}},w=/* @__PURE__ */u(i,{name:"info",fallback:o,className:"h-4 w-4 text-gray-400",strokeWidth:1.5}),g=/* @__PURE__ */u(i,{name:"window",fallback:n,className:"h-9 w-9",strokeWidth:1.5});function N({app:o}){const n=v[o],[i,a]=l(!1),x=p(()=>a(!0),[]),N=m().aboutApp,b=N.title(n.name);if(t(b,x,w),!i)return null;const y=s[n.route],k=d(y)?h(y,{className:"h-9 w-9"}):g,[j,S]=c(N.partOf);/* @__PURE__ */
2
- return u(r,{open:!0,onClose:()=>a(!1),title:b,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */f("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
3
- /* @__PURE__ */u("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:k}),
4
- /* @__PURE__ */u("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:n.name}),
5
- /* @__PURE__ */u("p",{className:"text-[11px] font-mono text-gray-400",children:N.version(n.version)}),
6
- /* @__PURE__ */u("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:N[o]}),
7
- /* @__PURE__ */f("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
8
- /* @__PURE__ */f("p",{className:"text-[11px] text-gray-500",children:[j,
9
- /* @__PURE__ */u("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),S]}),e&&/* @__PURE__ */u("p",{className:"mt-0.5 text-[10px] font-mono text-gray-400",children:N.shellVersion(e)})]})]})})}export{N as AboutApp,v as BUILTIN_APP_INFO};