efficient-shell 7.11.1 → 7.13.2

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 (48) hide show
  1. package/dist/{Browser-HQSYADOK.js → Browser-K57UUI7M.js} +15 -15
  2. package/dist/Calculator-DICFEP4L.js +29 -0
  3. package/dist/ConfirmDialog-JMQI6CGW.js +1 -0
  4. package/dist/{CurrencyConverter-SAIDT4WN.js → CurrencyConverter-CSXJ4T4P.js} +8 -8
  5. package/dist/{Documents-YFYTJGI3.js → Documents-MZ7BEGNG.js} +5 -5
  6. package/dist/{Files-FUOFGLH4.js → Files-P4PB4GMS.js} +80 -80
  7. package/dist/{Notepad-U5PUVVNQ.js → Notepad-7QFTPWIM.js} +10 -10
  8. package/dist/PomodoroTimer-MYTQX74U.js +91 -0
  9. package/dist/{Preview-GB65GSM3.js → Preview-K62QJSSB.js} +28 -28
  10. package/dist/Sidebar-PYURV2S2.js +44 -0
  11. package/dist/{Spreadsheet-2BFHRSTA.js → Spreadsheet-LEDD423O.js} +11 -11
  12. package/dist/{Stock-EP2SB76N.js → Stock-3H2PR3XA.js} +7 -7
  13. package/dist/{Weather-62FA6T6O.js → Weather-LQOFFWMT.js} +17 -17
  14. package/dist/{WorldClock-C3A6PZYM.js → WorldClock-TJCZHIL2.js} +4 -4
  15. package/dist/apps/index.js +1 -1
  16. package/dist/bin/ui-check.js +1 -1
  17. package/dist/brand.css +1 -1
  18. package/dist/chunk-6ZLZP6GV.js +1023 -0
  19. package/dist/{chunk-YMWCZKUN.js → chunk-A7TXAKTX.js} +4 -4
  20. package/dist/{chunk-THM35LAN.js → chunk-AEAPCPOG.js} +107 -107
  21. package/dist/{chunk-Y56GRZ2Q.js → chunk-E3FQXACV.js} +1 -1
  22. package/dist/{chunk-SSFONNV7.js → chunk-ERJTO4DO.js} +1 -1
  23. package/dist/{chunk-MFDZYZZX.js → chunk-GNCH3JEH.js} +7 -7
  24. package/dist/{chunk-GGSG7HSD.js → chunk-HDGFEYPU.js} +1 -1
  25. package/dist/{chunk-ICN533ML.js → chunk-IQDY2YFN.js} +10 -10
  26. package/dist/{chunk-NGUH7T5V.js → chunk-JTNKC4CR.js} +1 -1
  27. package/dist/chunk-OESIYQSY.js +1 -0
  28. package/dist/{chunk-UJL5J7GX.js → chunk-OV7F663H.js} +4 -4
  29. package/dist/chunk-PM4GMFN3.js +1 -0
  30. package/dist/{chunk-KSLOSQKN.js → chunk-QBXX5A7U.js} +15 -15
  31. package/dist/{chunk-KPFDT626.js → chunk-YNKJZKFF.js} +3 -3
  32. package/dist/{index-CRqXW8tD.d.ts → index-CGgt7t0J.d.ts} +71 -7
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.js +631 -631
  35. package/dist/map/index.js +3 -3
  36. package/dist/markdown/index.js +6 -6
  37. package/dist/page-tabs/index.js +5 -5
  38. package/dist/telemetry/index.js +1 -1
  39. package/dist/ui/index.d.ts +1 -1
  40. package/dist/ui/index.js +1 -1
  41. package/dist/ui.css +48 -24
  42. package/package.json +1 -1
  43. package/dist/Calculator-HFF54RNH.js +0 -29
  44. package/dist/ConfirmDialog-6LAVAGDE.js +0 -1
  45. package/dist/PomodoroTimer-AV3YE2WJ.js +0 -91
  46. package/dist/Sidebar-3IB3YIWC.js +0 -44
  47. package/dist/chunk-GIRABDNU.js +0 -1
  48. package/dist/chunk-TJJ5JPZ2.js +0 -1016
@@ -1,8 +1,8 @@
1
- import{buttonClasses as t}from"./chunk-NGUH7T5V.js";import{solidSurfaceStyle as e}from"./chunk-7IQ3B77H.js";import{registerModalEscapeInterceptor as o,escapeSurfaceAbove as i,onOverlayOpen as r,Z_LAYERS as n}from"./chunk-FIEA5CGB.js";import{useBrowserLayoutEffect as a}from"./chunk-D65T4H6J.js";import{forwardRef as l,useId as h,useState as s,useRef as d,useEffect as c,isValidElement as m,cloneElement as f}from"react";import{createPortal as u}from"react-dom";import{jsxs as p,jsx as g,Fragment as b}from"react/jsx-runtime";var x=448,w=240,M=8,v=()=>({left:0,right:window.innerWidth,top:0,bottom:window.innerHeight});function N(t){const e=v(),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 y=/* @__PURE__ */new Set(["hidden","clip","auto","scroll"]);var W={top:"bottom",bottom:"top",left:"right",right:"left"},k={top:["right","left"],bottom:["right","left"],left:["top","bottom"],right:["top","bottom"]};function C(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 H=(t,e,o)=>Math.max(e,Math.min(t,o));function B(t,e,o){let i=NaN,r=NaN,n=NaN,a=NaN,l=NaN;const h=()=>{const e=t()?.getBoundingClientRect();if(!e)return!1;const h=o?o():NaN,s=e.left!==i||e.top!==r||e.right!==n||e.bottom!==a||h!==l&&!(Number.isNaN(h)&&Number.isNaN(l));return i=e.left,r=e.top,n=e.right,a=e.bottom,l=h,s};h();const s=()=>{h(),e()};let d=requestAnimationFrame(function t(){h()&&e(),d=requestAnimationFrame(t)});return window.addEventListener("scroll",s,!0),window.addEventListener("resize",s),()=>{cancelAnimationFrame(d),window.removeEventListener("scroll",s,!0),window.removeEventListener("resize",s)}}function E({trigger:t,menu:e,bounds:o,align:i,side:r}){const n=C(t,o,4),a="bottom"===r?"top":"bottom",l=e.height>n[r]&&(e.height<=n[a]||n[a]>n[r])?a:r,h=Math.max(Math.min(e.height,96),n[l]),s=Math.min(e.height,h),d=H("bottom"===l?t.bottom+4:t.top-4-s,o.top+8,o.bottom-8-s),c=Math.max(0,o.right-o.left-16),m=Math.min(e.width,c);return{left:H("start"===i?t.left:t.right-m,o.left+8,o.right-8-m),top:d,side:l,maxHeight:h,maxWidth:c}}function R(t,e,o={}){const{matchTriggerWidth:i=!1,preferredMaxWidth:r=x,preferredMaxHeight:n=w,popupRef:l}=o,[h,d]=s(null);return a(()=>{if(!e)return void d(null);const o=()=>{const e=t.current,o=e?.getBoundingClientRect();if(!o)return;const a=N(e),h=a.bottom-o.bottom-4-8,s=o.top-a.top-4-8,c=h<Math.min(n,160)&&s>h,m=Math.max(96,Math.min(n,c?s:h)),f=Math.max(0,a.right-a.left-16),u={minWidth:o.width,maxWidth:Math.min(r,f),maxHeight:m};if(i){const t=Math.min(o.width,f);u.width=t,u.maxWidth=t,u.left=Math.min(Math.max(a.left+8,o.left),a.right-8-t)}else if(l&&a.right-8-o.left<u.maxWidth&&Math.min(o.right,a.right-8)-a.left-8<u.maxWidth){const t=l.current?.offsetWidth??0,e=t>0?Math.min(t,u.maxWidth):u.maxWidth;u.left=Math.max(a.left+8,Math.min(o.left,a.right-8-e))}else if(a.right-8-o.left<u.maxWidth){const t=Math.min(o.right,a.right-8);u.right=window.innerWidth-t,u.maxWidth=Math.min(u.maxWidth,Math.max(0,t-a.left-8))}else u.left=Math.max(a.left+8,o.left);c?u.bottom=window.innerHeight-o.top+4:u.top=o.bottom+4,d(u)};return o(),B(()=>t.current,o,l?()=>l.current?.offsetWidth??NaN:void 0)},[e,t,i,r,n,l]),h}function z({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 E({trigger:i,menu:e,bounds:o,align:e.width<=r||r>=n?"start":"end",side:"bottom"})}var j={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 T({content:t,side:l="top",delay:b=200,children:x,className:w="relative inline-flex",describe:M=!0}){const[E,R]=s(!1),z=E&&!(null==t||!1===t||""===t),[T,F]=s(null),I=d(void 0),L=d(null),A=d(null),D=h(),S=d(!1),$=()=>{window.clearTimeout(I.current),S.current||(I.current=window.setTimeout(()=>R(!0),b))},q=()=>{window.clearTimeout(I.current),R(!1)},G=()=>{S.current=!0,q()},P=()=>{S.current=!1,q()};c(()=>()=>window.clearTimeout(I.current),[]),a(()=>{if(!z)return void F(null);const t=()=>{const t=L.current,e=A.current;if(!t||!e)return;const o=N(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=v(),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=y.has(t.overflowX),n=y.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 q();const h=function(t,e,o,i,r){const n=C(t,i,r),a=t=>n[t]-("top"===t||"bottom"===t?e.height:e.width),l=[o,W[o],...k[o]],h=l.find(t=>a(t)>=0)??l.reduce((t,e)=>a(e)>a(t)?e:t),s=(t.left+t.right)/2,d=(t.top+t.bottom)/2;let c,m;switch(h){case"top":c=s-e.width/2,m=t.top-r-e.height;break;case"bottom":c=s-e.width/2,m=t.bottom+r;break;case"left":c=t.left-r-e.width,m=d-e.height/2;break;case"right":c=t.right+r,m=d-e.height/2}return{side:h,left:H(c,i.left+8,i.right-8-e.width),top:H(m,i.top+8,i.bottom-8-e.height)}}(a,n,l,o,12),s=function(t,e,o,i,r){const{side:n,left:a,top:l}=e,h=a+o.width,s=l+o.height;if({top:t.top-s,bottom:l-t.bottom,left:t.left-h,right:a-t.right}[n]<r)return null;const d=(t,e,o)=>o<2*i?e+o/2:Math.max(e+i,Math.min(t,e+o-i)),c=(t.left+t.right)/2,m=(t.top+t.bottom)/2;switch(n){case"top":return{side:n,x:d(c,a,o.width),y:s};case"bottom":return{side:n,x:d(c,a,o.width),y:l};case"left":return{side:n,x:h,y:d(m,l,o.height)};case"right":return{side:n,x:a,y:d(m,l,o.height)}}}(a,h,n,16,6),d={anchor:{left:a.left,top:a.top,width:a.width,height:a.height},left:h.left-a.left,top:h.top-a.top,maxWidth:i,maxHeight:r,side:h.side,arrow:s&&{left:s.x-a.left,top:s.y-a.top}};F(t=>{return t&&(o=d,(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:d;var e,o})};return t(),B(()=>L.current,t)},[z,l,t]),c(()=>{if(!z)return;const t=o(t=>"Escape"===t.key&&(q(),!i(L.current))),e=r(q);return()=>{t(),e()}},[z]);const J=z&&M?D:void 0,Q=m(x)?f(x,{"aria-describedby":[x.props["aria-describedby"],J].filter(Boolean).join(" ")||void 0}):x,U=z?e():void 0;/* @__PURE__ */
2
- return p("span",{ref:L,className:w,"aria-describedby":m(x)?void 0:J,onMouseEnter:$,onMouseLeave:P,onFocus:$,onBlur:P,onPointerDown:G,onClick:G,children:[Q,z&&u(
1
+ import{buttonClasses as t}from"./chunk-JTNKC4CR.js";import{solidSurfaceStyle as e}from"./chunk-7IQ3B77H.js";import{registerModalEscapeInterceptor as o,escapeSurfaceAbove as i,onOverlayOpen as r,Z_LAYERS as n}from"./chunk-FIEA5CGB.js";import{useBrowserLayoutEffect as a}from"./chunk-D65T4H6J.js";import{forwardRef as l,useId as h,useState as s,useRef as d,useEffect as c,isValidElement as m,cloneElement as f}from"react";import{createPortal as u}from"react-dom";import{jsxs as p,jsx as g,Fragment as b}from"react/jsx-runtime";var x=448,w=240,M=8,v=()=>({left:0,right:window.innerWidth,top:0,bottom:window.innerHeight});function N(t){const e=v(),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 y=/* @__PURE__ */new Set(["hidden","clip","auto","scroll"]);var W={top:"bottom",bottom:"top",left:"right",right:"left"},k={top:["right","left"],bottom:["right","left"],left:["top","bottom"],right:["top","bottom"]};function C(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 H=(t,e,o)=>Math.max(e,Math.min(t,o));function B(t,e,o){let i=NaN,r=NaN,n=NaN,a=NaN,l=NaN;const h=()=>{const e=t()?.getBoundingClientRect();if(!e)return!1;const h=o?o():NaN,s=e.left!==i||e.top!==r||e.right!==n||e.bottom!==a||h!==l&&!(Number.isNaN(h)&&Number.isNaN(l));return i=e.left,r=e.top,n=e.right,a=e.bottom,l=h,s};h();const s=()=>{h(),e()};let d=requestAnimationFrame(function t(){h()&&e(),d=requestAnimationFrame(t)});return window.addEventListener("scroll",s,!0),window.addEventListener("resize",s),()=>{cancelAnimationFrame(d),window.removeEventListener("scroll",s,!0),window.removeEventListener("resize",s)}}function E({trigger:t,menu:e,bounds:o,align:i,side:r}){const n=C(t,o,4),a="bottom"===r?"top":"bottom",l=e.height>n[r]&&(e.height<=n[a]||n[a]>n[r])?a:r,h=Math.max(Math.min(e.height,96),n[l]),s=Math.min(e.height,h),d=H("bottom"===l?t.bottom+4:t.top-4-s,o.top+8,o.bottom-8-s),c=Math.max(0,o.right-o.left-16),m=Math.min(e.width,c);return{left:H("start"===i?t.left:t.right-m,o.left+8,o.right-8-m),top:d,side:l,maxHeight:h,maxWidth:c}}function R(t,e,o={}){const{matchTriggerWidth:i=!1,preferredMaxWidth:r=x,preferredMaxHeight:n=w,popupRef:l}=o,[h,d]=s(null);return a(()=>{if(!e)return void d(null);const o=()=>{const e=t.current,o=e?.getBoundingClientRect();if(!o)return;const a=N(e),h=a.bottom-o.bottom-4-8,s=o.top-a.top-4-8,c=h<Math.min(n,160)&&s>h,m=Math.max(96,Math.min(n,c?s:h)),f=Math.max(0,a.right-a.left-16),u={minWidth:o.width,maxWidth:Math.min(r,f),maxHeight:m};if(i){const t=Math.min(o.width,f);u.width=t,u.maxWidth=t,u.left=Math.min(Math.max(a.left+8,o.left),a.right-8-t)}else if(l&&a.right-8-o.left<u.maxWidth&&Math.min(o.right,a.right-8)-a.left-8<u.maxWidth){const t=l.current?.offsetWidth??0,e=t>0?Math.min(t,u.maxWidth):u.maxWidth;u.left=Math.max(a.left+8,Math.min(o.left,a.right-8-e))}else if(a.right-8-o.left<u.maxWidth){const t=Math.min(o.right,a.right-8);u.right=window.innerWidth-t,u.maxWidth=Math.min(u.maxWidth,Math.max(0,t-a.left-8))}else u.left=Math.max(a.left+8,o.left);c?u.bottom=window.innerHeight-o.top+4:u.top=o.bottom+4,d(u)};return o(),B(()=>t.current,o,l?()=>l.current?.offsetWidth??NaN:void 0)},[e,t,i,r,n,l]),h}function z({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 E({trigger:i,menu:e,bounds:o,align:e.width<=r||r>=n?"start":"end",side:"bottom"})}var j={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 T({content:t,side:l="top",delay:b=200,children:x,className:w="relative inline-flex",describe:M=!0}){const[E,R]=s(!1),z=E&&!(null==t||!1===t||""===t),[T,F]=s(null),I=d(void 0),L=d(null),A=d(null),D=h(),S=d(!1),$=()=>{window.clearTimeout(I.current),S.current||(I.current=window.setTimeout(()=>R(!0),b))},q=()=>{window.clearTimeout(I.current),R(!1)},J=()=>{S.current=!0,q()},P=()=>{S.current=!1,q()};c(()=>()=>window.clearTimeout(I.current),[]),a(()=>{if(!z)return void F(null);const t=()=>{const t=L.current,e=A.current;if(!t||!e)return;const o=N(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=v(),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=y.has(t.overflowX),n=y.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 q();const h=function(t,e,o,i,r){const n=C(t,i,r),a=t=>n[t]-("top"===t||"bottom"===t?e.height:e.width),l=[o,W[o],...k[o]],h=l.find(t=>a(t)>=0)??l.reduce((t,e)=>a(e)>a(t)?e:t),s=(t.left+t.right)/2,d=(t.top+t.bottom)/2;let c,m;switch(h){case"top":c=s-e.width/2,m=t.top-r-e.height;break;case"bottom":c=s-e.width/2,m=t.bottom+r;break;case"left":c=t.left-r-e.width,m=d-e.height/2;break;case"right":c=t.right+r,m=d-e.height/2}return{side:h,left:H(c,i.left+8,i.right-8-e.width),top:H(m,i.top+8,i.bottom-8-e.height)}}(a,n,l,o,12),s=function(t,e,o,i,r){const{side:n,left:a,top:l}=e,h=a+o.width,s=l+o.height;if({top:t.top-s,bottom:l-t.bottom,left:t.left-h,right:a-t.right}[n]<r)return null;const d=(t,e,o)=>o<2*i?e+o/2:Math.max(e+i,Math.min(t,e+o-i)),c=(t.left+t.right)/2,m=(t.top+t.bottom)/2;switch(n){case"top":return{side:n,x:d(c,a,o.width),y:s};case"bottom":return{side:n,x:d(c,a,o.width),y:l};case"left":return{side:n,x:h,y:d(m,l,o.height)};case"right":return{side:n,x:a,y:d(m,l,o.height)}}}(a,h,n,16,6),d={anchor:{left:a.left,top:a.top,width:a.width,height:a.height},left:h.left-a.left,top:h.top-a.top,maxWidth:i,maxHeight:r,side:h.side,arrow:s&&{left:s.x-a.left,top:s.y-a.top}};F(t=>{return t&&(o=d,(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:d;var e,o})};return t(),B(()=>L.current,t)},[z,l,t]),c(()=>{if(!z)return;const t=o(t=>"Escape"===t.key&&(q(),!i(L.current))),e=r(q);return()=>{t(),e()}},[z]);const G=z&&M?D:void 0,K=m(x)?f(x,{"aria-describedby":[x.props["aria-describedby"],G].filter(Boolean).join(" ")||void 0}):x,Q=z?e():void 0;/* @__PURE__ */
2
+ return p("span",{ref:L,className:w,"aria-describedby":m(x)?void 0:G,onMouseEnter:$,onMouseLeave:P,onFocus:$,onBlur:P,onPointerDown:J,onClick:J,children:[K,z&&u(
3
3
  /* @__PURE__ */p("span",{className:"pointer-events-none fixed left-0 top-0",style:{zIndex:n.hint,...T?.anchor},children:[
4
- /* @__PURE__ */g("span",{ref:A,id:D,role:"tooltip",className:`pointer-events-none absolute z-(--z-hint) box-border w-max overflow-hidden whitespace-normal break-words text-start rounded-md px-2 py-1 text-xs text-gray-800 ${T?"":j[l]}`,style:{...U,...T&&{left:T.left,top:T.top,maxWidth:T.maxWidth,maxHeight:T.maxHeight}},children:t}),(!T||T.arrow)&&
5
- /* @__PURE__ */g("span",{"aria-hidden":"true",className:"rosh-tooltip-arrow","data-side":T?.side??l,style:{background:U?.background,"--rosh-tooltip-edge":U?.border,...T?.arrow&&{left:T.arrow.left,top:T.arrow.top}}})]}),document.body)]})}var F=t=>!0===t||"true"===t;function I(t){t.preventDefault(),t.stopPropagation()}var L=(t,e)=>[t,e].filter(Boolean).join(" ")||void 0;function A({reason:t,id:e,block:o=!1,children:i}){/* @__PURE__ */
4
+ /* @__PURE__ */g("span",{ref:A,id:D,role:"tooltip",className:`pointer-events-none absolute z-(--z-hint) box-border w-max overflow-hidden whitespace-normal break-words text-start rounded-md px-2 py-1 text-xs text-gray-800 ${T?"":j[l]}`,style:{...Q,...T&&{left:T.left,top:T.top,maxWidth:T.maxWidth,maxHeight:T.maxHeight}},children:t}),(!T||T.arrow)&&
5
+ /* @__PURE__ */g("span",{"aria-hidden":"true",className:"rosh-tooltip-arrow","data-side":T?.side??l,style:{background:Q?.background,"--rosh-tooltip-edge":Q?.border,...T?.arrow&&{left:T.arrow.left,top:T.arrow.top}}})]}),document.body)]})}var F=t=>!0===t||"true"===t;function I(t){t.preventDefault(),t.stopPropagation()}var L=(t,e)=>[t,e].filter(Boolean).join(" ")||void 0;function A({reason:t,id:e,block:o=!1,children:i}){/* @__PURE__ */
6
6
  return p(b,{children:[
7
7
  /* @__PURE__ */g(T,{content:t,describe:!1,className:o?"relative flex w-full":"relative inline-flex",children:i}),
8
8
  /* @__PURE__ */g("span",{id:e,className:"sr-only",children:t})]})}function D(){/* @__PURE__ */