efficient-shell 7.62.0 → 7.63.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 (39) hide show
  1. package/dist/{Browser-F4MUAORU.js → Browser-2EWFLK6R.js} +14 -14
  2. package/dist/Calculator-XECRZGNK.js +29 -0
  3. package/dist/{CurrencyConverter-2KRM3NFL.js → CurrencyConverter-RT5WIUCM.js} +9 -9
  4. package/dist/{Documents-4O7TTUHG.js → Documents-AEYU2PZT.js} +19 -19
  5. package/dist/{Files-GXDMKGPZ.js → Files-FHHYHLPN.js} +45 -45
  6. package/dist/{Notepad-PGLADU6N.js → Notepad-OVG7P57T.js} +11 -11
  7. package/dist/{PomodoroTimer-WLVH3BFM.js → PomodoroTimer-S5I57YDE.js} +19 -19
  8. package/dist/{Preview-SL4HBPBL.js → Preview-4HUSONTN.js} +22 -22
  9. package/dist/{Sidebar-EJKBAFU4.js → Sidebar-7BYOIUQK.js} +26 -26
  10. package/dist/{Spreadsheet-MA5CAMIM.js → Spreadsheet-QBMJD2AP.js} +14 -14
  11. package/dist/{Stock-FCPI7TKU.js → Stock-APMSVB5J.js} +3 -3
  12. package/dist/{Weather-5VWETSF5.js → Weather-PHUSTWBQ.js} +15 -15
  13. package/dist/{WorldClock-G7CBN3J2.js → WorldClock-WQY6DN7N.js} +6 -6
  14. package/dist/apps/index.js +1 -1
  15. package/dist/bin/ui-check.js +1 -1
  16. package/dist/brand.css +1 -1
  17. package/dist/{chunk-4G4FU2ML.js → chunk-2RPTKZSC.js} +2 -2
  18. package/dist/{chunk-54ZASFCH.js → chunk-3G5E2R7F.js} +37 -37
  19. package/dist/{chunk-O5MZAN43.js → chunk-3NRCLNCH.js} +7 -7
  20. package/dist/{chunk-UUDDYDSC.js → chunk-AAHMUDUP.js} +2 -2
  21. package/dist/{chunk-N5REB25E.js → chunk-BVETBHYF.js} +1 -1
  22. package/dist/chunk-K3WWKV3D.js +1 -0
  23. package/dist/{chunk-DSSLOQDW.js → chunk-LHHIRTEG.js} +1 -1
  24. package/dist/{chunk-TFNELC3A.js → chunk-LW5XF5JD.js} +1 -1
  25. package/dist/{chunk-A2MMRPU4.js → chunk-MCHZT2FL.js} +1 -1
  26. package/dist/{chunk-XVHILN6Q.js → chunk-SYFDOMTA.js} +1 -1
  27. package/dist/{chunk-S2PS4IOT.js → chunk-TT6QOFWA.js} +1 -1
  28. package/dist/{chunk-CICDIRBN.js → chunk-WPXX6GY2.js} +1 -1
  29. package/dist/{index-Ci1RMKEn.d.ts → index-D16PP-U7.d.ts} +5 -5
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +100 -100
  32. package/dist/page-tabs/index.js +5 -5
  33. package/dist/telemetry/index.js +1 -1
  34. package/dist/ui/index.d.ts +1 -1
  35. package/dist/ui/index.js +1 -1
  36. package/dist/ui.css +1 -1
  37. package/package.json +1 -1
  38. package/dist/Calculator-PWG4G3MY.js +0 -29
  39. package/dist/chunk-YFK4COYT.js +0 -1
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import{TabStrip as e}from"../chunk-O5MZAN43.js";import{useShellLanguage as t}from"../chunk-RWIFSTEK.js";import"../chunk-MHGVLZYL.js";import"../chunk-YJIG2KT3.js";import{confirm as n}from"../chunk-UNBLH4EQ.js";import"../chunk-UVBK6YSR.js";import"../chunk-7IQ3B77H.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-FIEA5CGB.js";import"../chunk-K7PQXJO7.js";import"../chunk-76DRQSJM.js";import{useShellStrings as i}from"../chunk-W7W4JMOT.js";import"../chunk-C3QOHMR6.js";import*as l from"react";import{createContext as c,memo as a,useRef as s,useEffect as o,useMemo as u,useId as y,useCallback as d,useReducer as f,useState as p,useContext as k}from"react";import{useLocation as m,useNavigate as b}from"react-router-dom";import{jsx as v,Fragment as h,jsxs as g}from"react/jsx-runtime";var K=c(null),F=c(null),T=12;var I=(e,t)=>e.filter(e=>e!==t);function M(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function N(e,t,n=12){const r=e.clock+1;let i;i=e.tabs.find(e=>e.key===t.key)?e.tabs.map(e=>e.key===t.key?{...e,path:t.path,title:"page"===e.titleFrom?e.title:t.title||e.title,lastActive:r}:e):[...e.tabs,{key:t.key,path:t.path,title:t.title,titleFrom:"route",pinned:!1,lastActive:r}];let l={...e,tabs:i,activeKey:t.key,mounted:(c=e.mounted,a=t.key,c.includes(a)?c:[...c,a]),clock:r};var c,a;return l.closing&&l.closing!==t.key?l=A(l,l.closing):l.closing===t.key&&(l={...l,closing:null}),function(e,t){let n=e;for(;n.tabs.length>t;){const e=n.tabs.filter(e=>!e.pinned&&e.key!==n.activeKey&&!n.dirty.includes(e.key)&&e.key!==n.closing).sort((e,t)=>e.lastActive-t.lastActive);if(0===e.length)break;n=A(n,e[0].key)}return n}(l,n)}function j(e){let t={...e,activeKey:null};return t.closing&&(t=A(t,t.closing)),t}function A(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:I(e.mounted,t),dirty:I(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function w(e,t){switch(t.type){case"visit":return N(e,t.entry,t.maxTabs);case"transient":return j(e);case"close":{let n=e;for(const e of t.keys)n=A(n,e);return t.closing?function(e,t){return{...e,closing:t}}(n,t.closing):n}case"title":return function(e,t,n){const r=e.tabs.find(e=>e.key===t);return!r||!n||r.title===n&&"page"===r.titleFrom?e:{...e,tabs:e.tabs.map(e=>e.key===t?{...e,title:n,titleFrom:"page"}:e)}}(e,t.key,t.title);case"dirty":return function(e,t,n){return n===e.dirty.includes(t)?e:{...e,dirty:n?[...e.dirty,t]:I(e.dirty,t)}}(e,t.key,t.dirty)}}var C=e=>`${e.pathname}${e.search}`;function O(e){const t=e.indexOf("#"),n=t>=0?e.slice(t):"",r=t>=0?e.slice(0,t):e,i=r.indexOf("?");return{pathname:i>=0?r.slice(0,i):r,search:i>=0?r.slice(i):"",hash:n}}function L({children:e,resolve:l,pinned:c=[],storageKey:a,maxTabs:k=12,enabled:h=!0,confirmDiscard:g}){const F=m(),T=b(),I=i().pageTabs,A=y(),L=s(l);L.current=l;const x=d(e=>{const t=L.current(e);return t?{key:t.key??e.pathname,path:C(e),title:t.title}:null},[]),{language:S}=t(),[B,E]=f(w,void 0,()=>{const e=function(e,t,n){if(!e)return[];let r;try{r=JSON.parse(e)}catch{return[]}const i=r;if(!i||1!==i.v||!Array.isArray(i.tabs))return[];const l=Boolean(n&&"string"==typeof i.lang&&i.lang!==n),c=[];for(const e of i.tabs){if(!e||"string"!=typeof e.path||!e.path.startsWith("/")||e.path.startsWith("//"))continue;const n=e.path.indexOf("#"),r=n>=0?e.path.slice(0,n):e.path,i=t(r);if(!i||c.some(e=>e.key===i.key))continue;const a=!l&&"page"===e.titleFrom&&"string"==typeof e.title&&e.title;c.push({key:i.key,path:r,title:a||i.title,titleFrom:a?"page":"route",pinned:!1,lastActive:0})}return c}(function(e){if(!e)return null;try{return localStorage.getItem(e)}catch{return null}}(a),e=>x(O(e)),S);let t=function(e,t){const n=t.map(e=>e.key);let r=e.tabs.map(e=>({...e,pinned:n.includes(e.key)}));for(const e of t)r.some(t=>t.key===e.key)||(r=[...r,{key:e.key,path:e.path,title:e.title,titleFrom:"route",pinned:!0,lastActive:0}]);return{...e,tabs:M(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},c.map(e=>x(O(e))).filter(e=>Boolean(e)));const n=h?x(F):null;return t=n?N(t,n,k):j(t),t}),R=s(B);R.current=B;const J=s(/* @__PURE__ */new Map),$=h?x(F):null,D=$?.key??null;r(()=>{if(!h)return;const e=x(F);e?(J.current.set(e.key,F),E({type:"visit",entry:e,maxTabs:k})):E({type:"transient"})},[F,h,k,x]),o(()=>{const e=new Set(B.tabs.map(e=>e.key));for(const t of J.current.keys())e.has(t)||J.current.delete(t)},[B.tabs]);const H=u(()=>function(e,t){const n={v:1,...t?{lang:t}:{},tabs:e.tabs.filter(t=>t.key!==e.closing).map(({key:e,path:t,title:n,titleFrom:r})=>({key:e,path:t,title:n,titleFrom:r}))};return JSON.stringify(n)}(B,S),[B,S]);o(()=>{if(a)try{localStorage.setItem(a,H)}catch{}},[H,a]);const Q=B.dirty.length>0;o(()=>{if(!Q)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[Q]);const W=s(/* @__PURE__ */new Map),G=d((e,t)=>{let n=W.current.get(e);return void 0===n&&(n=W.current.size,W.current.set(e,n)),`${A}-page-${t}-${n}`},[A]),P=d(e=>g?g(e):n({title:I.discardTitle,message:1===e.length?I.discardOne:I.discardCount?.(e.length)??`${e.length} ${I.discardMany}`,confirmLabel:I.discardConfirm,cancelLabel:I.keepEditing,variant:"warning"}),[g,I]),V=d(()=>{const e=R.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),Y=d((e,t,n)=>{const r=R.current,i=r.activeKey;if(!i||!e.includes(i))return void E({type:"close",keys:e,closing:null});let l=t;if(!l){const t={...r,tabs:r.tabs.filter(t=>t.key===i||!e.includes(t.key))},c=n?r.tabs.find(t=>t.key===n&&!e.includes(t.key)):void 0;l=(c??function(e,t){const n=e.tabs.filter(n=>n.key!==e.closing||n.key===t),r=n.findIndex(e=>e.key===t);return r<0?null:n[r+1]??n[r-1]??null}(t,i))?.path??V()}E({type:"close",keys:e.filter(e=>e!==i),closing:i}),T(l)},[T,V]),U=d(async(e,t={})=>{const n=R.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&T(t.to),!1):!(!t.force&&R.current.dirty.includes(e)&&!await P([n]))&&(!!R.current.tabs.some(t=>t.key===e)&&(Y([e],t.to),!0))},[P,Y,T]),Z=d(async(e,t)=>{let n=function(e,t,n){const r=e.tabs.filter(e=>!e.pinned);if("all"===t)return r.map(e=>e.key);if("others"===t)return r.filter(e=>e.key!==n).map(e=>e.key);const i=e.tabs.findIndex(e=>e.key===n);return i<0?[]:e.tabs.slice(i+1).filter(e=>!e.pinned).map(e=>e.key)}(R.current,e,t);const r=R.current.tabs.filter(e=>n.includes(e.key)&&R.current.dirty.includes(e.key));r.length&&!await P(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(R.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&Y(n,void 0,"all"===e?null:t)},[P,Y]),z=d(e=>{const t=R.current.tabs.find(t=>t.key===e);t&&e!==R.current.activeKey&&T(t.path)},[T]),X=d((e,t)=>E({type:"title",key:e,title:t}),[]),q=d((e,t)=>E({type:"dirty",key:e,dirty:t}),[]),[_,ee]=p({}),te=d((e,t)=>{ee(n=>{if((n[e]??null)===t)return n;const r={...n};return t?r[e]=t:delete r[e],r})},[]),ne=d(e=>x(e)?.key??null,[x]),re=d(e=>J.current.get(e),[]),ie=u(()=>h?B.tabs.filter(e=>e.key!==B.closing):[],[h,B.tabs,B.closing]),le=u(()=>({enabled:h,state:B,currentKey:D,resolve:l,keyFor:ne,locationFor:re,idFor:G,activate:z,close:U,closeMany:Z,setTitle:X,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[h,B,D,l,ne,re,G,z,U,Z,X,q,_,te,ie]);/* @__PURE__ */
3
- return v(K.Provider,{value:le,children:e})}var x=l.Activity,S=Boolean(x);function B({active:e,children:t}){return x?/* @__PURE__ */v(x,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */v(h,{children:t})}var E=a(function({tabKey:e,active:t,location:n,render:i,className:l,panelId:c,tabId:a}){const y=s(null),d=s(t),f=s(/* @__PURE__ */new Map);r(()=>{const e=d.current;if(d.current=t,t&&!e)for(const[e,[t,n]]of f.current)e.isConnected?(e.scrollTop=t,e.scrollLeft=n):f.current.delete(e)},[t]),o(()=>{const e=y.current;if(!e)return;const t=e=>{if(!d.current)return;const t=e.target;t&&"number"==typeof t.scrollTop&&f.current.set(t,[t.scrollTop,t.scrollLeft])};return e.addEventListener("scroll",t,!0),()=>e.removeEventListener("scroll",t,!0)},[]);const p=u(()=>({key:e,activeRef:d}),[e]);/* @__PURE__ */
4
- return v("div",{ref:y,role:c?"tabpanel":void 0,id:c,"aria-labelledby":a,hidden:!t,style:t?void 0:{display:"none"},className:l,"data-page-tab":e,children:/* @__PURE__ */v(F.Provider,{value:p,children:/* @__PURE__ */v(B,{active:t,children:i(n)})})})},(e,t)=>e.active===t.active&&e.location===t.location&&e.className===t.className&&e.panelId===t.panelId&&e.tabId===t.tabId&&(!t.active||e.render===t.render)),R="\0transient";function J({children:e,frameClassName:t}){const n=k(K),r=m();if(!n||!n.enabled)/* @__PURE__ */
5
- return v("div",{className:t,children:e(r)},R);const{state:i,currentKey:l,locationFor:c,idFor:a}=n,s=i.tabs.filter(e=>i.mounted.includes(e.key)).map(e=>e.key);return l&&!s.includes(l)&&s.push(l),/* @__PURE__ */g(h,{children:[s.map(n=>{const i=n===l,s=i?r:c(n);return s?/* @__PURE__ */v(E,{tabKey:n,active:i,location:s,render:e,className:t,panelId:a(n,"panel"),tabId:a(n,"tab")},n):null}),!l&&/* @__PURE__ */v(E,{tabKey:R,active:!0,location:r,render:e,className:t},R)]})}function $({className:t,activeClassName:n,end:r}){const l=k(K),c=i().pageTabs;if(!l||!l.enabled)return null;const{visibleTabs:a,state:s,idFor:o,activate:u,close:y,closeMany:d,resolve:f}=l;/* @__PURE__ */
6
- return v(e,{tabs:a.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:s.dirty.includes(e.key),copy:l.copies[e.key],icon:f(O(e.path))?.icon})),activeKey:l.currentKey??null,idFor:o,panelMounted:e=>s.mounted.includes(e),onActivate:u,onClose:e=>{y(e)},onCloseMany:(e,t)=>{d(e,t)},label:c.label,className:t,activeClassName:n,end:r})}var D={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function H(){const e=k(K);return e&&e.enabled?{enabled:!0,tabs:e.visibleTabs,activeKey:e.currentKey,activate:e.activate,close:e.close,closeOthers:t=>e.closeMany("others",t),closeRight:t=>e.closeMany("right",t),closeAll:()=>e.closeMany("all",null)}:D}function Q(){const e=k(K),t=k(F),n=b();return{key:e?.enabled&&t?t.key:null,close:d(async(r={})=>e?.enabled&&t&&e.state.tabs.some(e=>e.key===t.key)?e.close(t.key,r):(r.to&&n(r.to),!1),[e,t,n])}}function W(e){const t=k(K),n=k(F),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function G(e){const t=k(K),n=k(F),r=t?.enabled?t.setCopy:void 0,i=n?.key;o(()=>{if(r&&i)return r(i,e||null),()=>r(i,null)},[r,i,e])}function P(e){const t=k(K),n=k(F),r=t?.enabled?t.setDirty:void 0;o(()=>{if(r&&n)return r(n.key,e),()=>{n.activeRef.current&&r(n.key,!1)}},[r,n,e])}export{T as DEFAULT_MAX_TABS,S as PAGE_TABS_PAUSE_HIDDEN,$ as PageTabBar,J as PageTabsOutlet,L as PageTabsProvider,O as parseTabPath,Q as usePageTab,G as usePageTabCopy,P as usePageTabDirty,W as usePageTabTitle,H as usePageTabs};
2
+ import{TabStrip as e}from"../chunk-3NRCLNCH.js";import{useShellLanguage as t}from"../chunk-RWIFSTEK.js";import"../chunk-MHGVLZYL.js";import"../chunk-YJIG2KT3.js";import{confirm as n}from"../chunk-UNBLH4EQ.js";import"../chunk-UVBK6YSR.js";import"../chunk-7IQ3B77H.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-FIEA5CGB.js";import"../chunk-K7PQXJO7.js";import"../chunk-76DRQSJM.js";import{useShellStrings as i}from"../chunk-W7W4JMOT.js";import"../chunk-C3QOHMR6.js";import*as l from"react";import{createContext as c,memo as a,useRef as s,useEffect as o,useMemo as u,useId as y,useCallback as d,useReducer as f,useState as p,useContext as k}from"react";import{useLocation as m,useNavigate as b}from"react-router-dom";import{jsx as v,Fragment as h,jsxs as g}from"react/jsx-runtime";var K=c(null),F=c(null),T=12;var N=(e,t)=>e.filter(e=>e!==t);function I(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function M(e,t,n=12){const r=e.clock+1;let i;i=e.tabs.find(e=>e.key===t.key)?e.tabs.map(e=>e.key===t.key?{...e,path:t.path,title:"page"===e.titleFrom?e.title:t.title||e.title,lastActive:r}:e):[...e.tabs,{key:t.key,path:t.path,title:t.title,titleFrom:"route",pinned:!1,lastActive:r}];let l={...e,tabs:i,activeKey:t.key,mounted:(c=e.mounted,a=t.key,c.includes(a)?c:[...c,a]),clock:r};var c,a;return l.closing&&l.closing!==t.key?l=C(l,l.closing):l.closing===t.key&&(l={...l,closing:null}),function(e,t){let n=e;for(;n.tabs.length>t;){const e=n.tabs.filter(e=>!e.pinned&&e.key!==n.activeKey&&!n.dirty.includes(e.key)&&e.key!==n.closing).sort((e,t)=>e.lastActive-t.lastActive);if(0===e.length)break;n=C(n,e[0].key)}return n}(l,n)}function j(e){let t={...e,activeKey:null};return t.closing&&(t=C(t,t.closing)),t}function C(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:N(e.mounted,t),dirty:N(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function w(e,t){switch(t.type){case"visit":return M(e,t.entry,t.maxTabs);case"transient":return j(e);case"close":{let n=e;for(const e of t.keys)n=C(n,e);return t.closing?function(e,t){return{...e,closing:t}}(n,t.closing):n}case"title":return function(e,t,n){const r=e.tabs.find(e=>e.key===t);return!r||!n||r.title===n&&"page"===r.titleFrom?e:{...e,tabs:e.tabs.map(e=>e.key===t?{...e,title:n,titleFrom:"page"}:e)}}(e,t.key,t.title);case"dirty":return function(e,t,n){return n===e.dirty.includes(t)?e:{...e,dirty:n?[...e.dirty,t]:N(e.dirty,t)}}(e,t.key,t.dirty)}}var A=e=>`${e.pathname}${e.search}`;function L(e){const t=e.indexOf("#"),n=t>=0?e.slice(t):"",r=t>=0?e.slice(0,t):e,i=r.indexOf("?");return{pathname:i>=0?r.slice(0,i):r,search:i>=0?r.slice(i):"",hash:n}}function O({children:e,resolve:l,pinned:c=[],storageKey:a,maxTabs:k=12,enabled:h=!0,confirmDiscard:g}){const F=m(),T=b(),N=i().pageTabs,C=y(),O=s(l);O.current=l;const x=d(e=>{const t=O.current(e);return t?{key:t.key??e.pathname,path:A(e),title:t.title}:null},[]),{language:R}=t(),[S,B]=f(w,void 0,()=>{const e=function(e,t,n){if(!e)return[];let r;try{r=JSON.parse(e)}catch{return[]}const i=r;if(!i||1!==i.v||!Array.isArray(i.tabs))return[];const l=Boolean(n&&"string"==typeof i.lang&&i.lang!==n),c=[];for(const e of i.tabs){if(!e||"string"!=typeof e.path||!e.path.startsWith("/")||e.path.startsWith("//"))continue;const n=e.path.indexOf("#"),r=n>=0?e.path.slice(0,n):e.path,i=t(r);if(!i||c.some(e=>e.key===i.key))continue;const a=!l&&"page"===e.titleFrom&&"string"==typeof e.title&&e.title;c.push({key:i.key,path:r,title:a||i.title,titleFrom:a?"page":"route",pinned:!1,lastActive:0})}return c}(function(e){if(!e)return null;try{return localStorage.getItem(e)}catch{return null}}(a),e=>x(L(e)),R);let t=function(e,t){const n=t.map(e=>e.key);let r=e.tabs.map(e=>({...e,pinned:n.includes(e.key)}));for(const e of t)r.some(t=>t.key===e.key)||(r=[...r,{key:e.key,path:e.path,title:e.title,titleFrom:"route",pinned:!0,lastActive:0}]);return{...e,tabs:I(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},c.map(e=>x(L(e))).filter(e=>Boolean(e)));const n=h?x(F):null;return t=n?M(t,n,k):j(t),t}),E=s(S);E.current=S;const J=s(/* @__PURE__ */new Map),$=h?x(F):null,D=$?.key??null;r(()=>{if(!h)return;const e=x(F);e?(J.current.set(e.key,F),B({type:"visit",entry:e,maxTabs:k})):B({type:"transient"})},[F,h,k,x]),o(()=>{const e=new Set(S.tabs.map(e=>e.key));for(const t of J.current.keys())e.has(t)||J.current.delete(t)},[S.tabs]);const H=u(()=>function(e,t){const n={v:1,...t?{lang:t}:{},tabs:e.tabs.filter(t=>t.key!==e.closing).map(({key:e,path:t,title:n,titleFrom:r})=>({key:e,path:t,title:n,titleFrom:r}))};return JSON.stringify(n)}(S,R),[S,R]);o(()=>{if(a)try{localStorage.setItem(a,H)}catch{}},[H,a]);const Q=S.dirty.length>0;o(()=>{if(!Q)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[Q]);const W=s(/* @__PURE__ */new Map),G=d((e,t)=>{let n=W.current.get(e);return void 0===n&&(n=W.current.size,W.current.set(e,n)),`${C}-page-${t}-${n}`},[C]),P=d(e=>g?g(e):n({title:N.discardTitle,message:1===e.length?N.discardOne:N.discardCount?.(e.length)??`${e.length} ${N.discardMany}`,confirmLabel:N.discardConfirm,cancelLabel:N.keepEditing,variant:"warning"}),[g,N]),V=d(()=>{const e=E.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),Y=d((e,t,n)=>{const r=E.current,i=r.activeKey;if(!i||!e.includes(i))return void B({type:"close",keys:e,closing:null});let l=t;if(!l){const t={...r,tabs:r.tabs.filter(t=>t.key===i||!e.includes(t.key))},c=n?r.tabs.find(t=>t.key===n&&!e.includes(t.key)):void 0;l=(c??function(e,t){const n=e.tabs.filter(n=>n.key!==e.closing||n.key===t),r=n.findIndex(e=>e.key===t);return r<0?null:n[r+1]??n[r-1]??null}(t,i))?.path??V()}B({type:"close",keys:e.filter(e=>e!==i),closing:i}),T(l)},[T,V]),U=d(async(e,t={})=>{const n=E.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&T(t.to),!1):!(!t.force&&E.current.dirty.includes(e)&&!await P([n]))&&(!!E.current.tabs.some(t=>t.key===e)&&(Y([e],t.to),!0))},[P,Y,T]),z=d(async(e,t)=>{let n=function(e,t,n){const r=e.tabs.filter(e=>!e.pinned);if("all"===t)return r.map(e=>e.key);if("others"===t)return r.filter(e=>e.key!==n).map(e=>e.key);const i=e.tabs.findIndex(e=>e.key===n);return i<0?[]:e.tabs.slice(i+1).filter(e=>!e.pinned).map(e=>e.key)}(E.current,e,t);const r=E.current.tabs.filter(e=>n.includes(e.key)&&E.current.dirty.includes(e.key));r.length&&!await P(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(E.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&Y(n,void 0,"all"===e?null:t)},[P,Y]),X=d(e=>{const t=E.current.tabs.find(t=>t.key===e);t&&e!==E.current.activeKey&&T(t.path)},[T]),Z=d((e,t)=>B({type:"title",key:e,title:t}),[]),q=d((e,t)=>B({type:"dirty",key:e,dirty:t}),[]),[_,ee]=p({}),te=d((e,t)=>{ee(n=>{if((n[e]??null)===t)return n;const r={...n};return t?r[e]=t:delete r[e],r})},[]),ne=d(e=>x(e)?.key??null,[x]),re=d(e=>J.current.get(e),[]),ie=u(()=>h?S.tabs.filter(e=>e.key!==S.closing):[],[h,S.tabs,S.closing]),le=u(()=>({enabled:h,state:S,currentKey:D,resolve:l,keyFor:ne,locationFor:re,idFor:G,activate:X,close:U,closeMany:z,setTitle:Z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[h,S,D,l,ne,re,G,X,U,z,Z,q,_,te,ie]);/* @__PURE__ */
3
+ return v(K.Provider,{value:le,children:e})}var x=l.Activity,R=Boolean(x);function S({active:e,children:t}){return x?/* @__PURE__ */v(x,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */v(h,{children:t})}var B=a(function({tabKey:e,active:t,location:n,render:i,className:l,panelId:c,tabId:a}){const y=s(null),d=s(t),f=s(/* @__PURE__ */new Map);r(()=>{const e=d.current;if(d.current=t,t&&!e)for(const[e,[t,n]]of f.current)e.isConnected?(e.scrollTop=t,e.scrollLeft=n):f.current.delete(e)},[t]),o(()=>{const e=y.current;if(!e)return;const t=e=>{if(!d.current)return;const t=e.target;t&&"number"==typeof t.scrollTop&&f.current.set(t,[t.scrollTop,t.scrollLeft])};return e.addEventListener("scroll",t,!0),()=>e.removeEventListener("scroll",t,!0)},[]);const p=u(()=>({key:e,activeRef:d}),[e]);/* @__PURE__ */
4
+ return v("div",{ref:y,role:c?"tabpanel":void 0,id:c,"aria-labelledby":a,hidden:!t,style:t?void 0:{display:"none"},className:l,"data-page-tab":e,children:/* @__PURE__ */v(F.Provider,{value:p,children:/* @__PURE__ */v(S,{active:t,children:i(n)})})})},(e,t)=>e.active===t.active&&e.location===t.location&&e.className===t.className&&e.panelId===t.panelId&&e.tabId===t.tabId&&(!t.active||e.render===t.render)),E="\0transient";function J({children:e,frameClassName:t}){const n=k(K),r=m();if(!n||!n.enabled)/* @__PURE__ */
5
+ return v("div",{className:t,children:e(r)},E);const{state:i,currentKey:l,locationFor:c,idFor:a}=n,s=i.tabs.filter(e=>i.mounted.includes(e.key)).map(e=>e.key);return l&&!s.includes(l)&&s.push(l),/* @__PURE__ */g(h,{children:[s.map(n=>{const i=n===l,s=i?r:c(n);return s?/* @__PURE__ */v(B,{tabKey:n,active:i,location:s,render:e,className:t,panelId:a(n,"panel"),tabId:a(n,"tab")},n):null}),!l&&/* @__PURE__ */v(B,{tabKey:E,active:!0,location:r,render:e,className:t},E)]})}function $({className:t,activeClassName:n,end:r}){const l=k(K),c=i().pageTabs;if(!l||!l.enabled)return null;const{visibleTabs:a,state:s,idFor:o,activate:u,close:y,closeMany:d,resolve:f}=l;/* @__PURE__ */
6
+ return v(e,{tabs:a.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:s.dirty.includes(e.key),copy:l.copies[e.key],icon:f(L(e.path))?.icon})),activeKey:l.currentKey??null,idFor:o,panelMounted:e=>s.mounted.includes(e),onActivate:u,onClose:e=>{y(e)},onCloseMany:(e,t)=>{d(e,t)},label:c.label,className:t,activeClassName:n,end:r})}var D={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function H(){const e=k(K);return e&&e.enabled?{enabled:!0,tabs:e.visibleTabs,activeKey:e.currentKey,activate:e.activate,close:e.close,closeOthers:t=>e.closeMany("others",t),closeRight:t=>e.closeMany("right",t),closeAll:()=>e.closeMany("all",null)}:D}function Q(){const e=k(K),t=k(F),n=b();return{key:e?.enabled&&t?t.key:null,close:d(async(r={})=>e?.enabled&&t&&e.state.tabs.some(e=>e.key===t.key)?e.close(t.key,r):(r.to&&n(r.to),!1),[e,t,n])}}function W(e){const t=k(K),n=k(F),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function G(e){const t=k(K),n=k(F),r=t?.enabled?t.setCopy:void 0,i=n?.key;o(()=>{if(r&&i)return r(i,e||null),()=>r(i,null)},[r,i,e])}function P(e){const t=k(K),n=k(F),r=t?.enabled?t.setDirty:void 0;o(()=>{if(r&&n)return r(n.key,e),()=>{n.activeRef.current&&r(n.key,!1)}},[r,n,e])}export{T as DEFAULT_MAX_TABS,R as PAGE_TABS_PAUSE_HIDDEN,$ as PageTabBar,J as PageTabsOutlet,O as PageTabsProvider,L as parseTabPath,Q as usePageTab,G as usePageTabCopy,P as usePageTabDirty,W as usePageTabTitle,H as usePageTabs};
@@ -1 +1 @@
1
- export{startClientTelemetry}from"../chunk-XVHILN6Q.js";import"../chunk-YFK4COYT.js";import"../chunk-KNUR2UEG.js";
1
+ export{startClientTelemetry}from"../chunk-SYFDOMTA.js";import"../chunk-K3WWKV3D.js";import"../chunk-KNUR2UEG.js";
@@ -1,4 +1,4 @@
1
- export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as AccordionTier, j as Align, k as AlignmentGrid, l as AlignmentGridProps, m as AlignmentPoint, n as AngleScale, o as AppUpdateBanner, p as AppUpdateBannerProps, q as AttachButton, r as AttachButtonProps, s as AttachmentDropZone, t as AttachmentDropZoneProps, u as AttachmentList, v as AttachmentListProps, w as AuthScreen, x as AuthScreenProps, y as Avatar, z as AvatarGroup, B as AvatarGroupProps, D as AvatarProps, E as AvatarSize, F as AvatarStatus, G as BORDER_LINE_STYLES, H as BORDER_WIDTHS, I as BackgroundVariant, J as BandScale, K as Banner, L as BannerEmphasis, M as BannerProps, N as BannerTone, O as BorderInput, Q as BorderInputProps, R as BorderLineStyle, T as BorderRole, U as BorderValue, V as Bounds, W as BoxPlotBox, X as BoxPlotChart, Y as BoxPlotChartProps, Z as BrandAssetEditor, _ as BrandAssetEditorProps, $ as BrandAssetPreview, a0 as BrandMark, a1 as BrandMarkProps, a2 as BrandMarkSlot, a3 as BrandMarkSurface, a4 as BrandMarkTreatment, a5 as BreadcrumbItem, a6 as Breadcrumbs, a7 as BreadcrumbsProps, a8 as BudgetBar, a9 as BudgetBarProps, aa as BudgetState, ab as Button, ac as ButtonClassesOptions, ad as ButtonProps, ae as ButtonSize, af as ButtonVariant, ag as CHART_INK, ah as CMD_A, ai as CMD_DOT, aj as CMD_ENTER, ak as CMD_K, al as CMD_S, am as COLUMN_COUNT_MAX, an as COLUMN_COUNT_WIDTHS, ao as COLUMN_SHARES_EQUAL, ap as COLUMN_SHARE_MIN, aq as CONTROL_HEIGHTS, ar as CORNERS, as as CORNERS_FOR_THEME, at as Calendar, au as CalendarMode, av as CalendarProps, aw as Candle, ax as CandlestickChart, ay as CandlestickChartProps, az as Card, aA as CardPadding, aB as CardProps, aC as CardTone, aD as CartesianPlot, aE as CartesianPlotProps, aF as CellStyle, aG as ChartBackgroundVariant, aH as ChartBrush, aI as ChartBrushProps, aJ as ChartCurve, aK as ChartDefs, aL as ChartDefsProps, aM as ChartDot, aN as ChartDotProps, aO as ChartDotVariant, aP as ChartFillVariant, aQ as ChartFrame, aR as ChartFrameProps, aS as ChartHighlightProvider, aT as ChartLegendEntry, aU as ChartLegendSwatch, aV as ChartRange, aW as ChartReferenceLine, aX as ChartRevealDirection, aY as ChartSkeleton, aZ as ChartSkeletonProps, a_ as ChartStatusTone, a$ as ChartStrokeVariant, b0 as ChartTooltip, b1 as ChartTooltipProps, b2 as ChartTooltipRow, b3 as ChatTemplate, b4 as Checkbox, b5 as CheckboxProps, b6 as CheckoutTemplate, b7 as ChordChart, b8 as ChordChartProps, b9 as ColorPicker, ba as ColorPickerPanel, bb as ColorPickerPanelProps, bc as ColorPickerProps, bd as ColorPreset, be as ColorSwatch, bf as ColorSwatchProps, bg as ColorSwatchSize, bh as ColoredBadge, bi as ColoredBadgeProps, bj as ColumnChart, bk as ColumnChartProps, C as ColumnDef, bl as ColumnSeries, bm as ColumnShares, bn as ComposerAttachments, bo as ComposerAttachmentsProps, bp as ConfirmProvider, bq as ContainerFillChart, br as ContainerFillChartProps, bs as ContainerFillItem, bt as ContextMenu, bu as ContextMenuPoint, bv as ContextMenuProps, bw as ContextMenuState, bx as ControlSize, by as CornerOption, bz as Corners, bA as CornersInput, bB as CornersInputProps, bC as CountBadge, bD as CountBadgeProps, bE as CountBadgeTone, bF as Curve, bG as DAY_MS, bH as DashboardTemplate, bI as DataTable, bJ as DataTableColumn, bK as DataTableColumnGroup, bL as DataTableHeader, bM as DataTablePage, bN as DataTableProps, bO as DataTableRowLink, bP as DataTableRowProps, bQ as DatePicker, bR as DatePickerProps, bS as DateRangePicker, bT as DateRangePickerProps, bU as DateTimePicker, bV as DateTimePickerProps, bW as DescriptionColumns, bX as DescriptionItem, bY as DescriptionList, bZ as DescriptionListProps, b_ as Dialog, b$ as DialogProps, c0 as DialogSize, c1 as DisplayChipItem, c2 as DisplayChips, c3 as DisplayChipsProps, c4 as Divider, c5 as DividerProps, c6 as DividerSpacing, c7 as Drawer, c8 as DrawerProps, c9 as DrawerSide, ca as DrawerSize, cb as DropdownMenu, cc as DropdownMenuAlign, cd as DropdownMenuCheckboxItem, ce as DropdownMenuDividerItem, cf as DropdownMenuEntry, cg as DropdownMenuFooterApi, ch as DropdownMenuItem, ci as DropdownMenuLabelItem, cj as DropdownMenuLinkItem, ck as DropdownMenuProps, cl as DropdownMenuRadioItem, cm as DropdownMenuSide, cn as DropdownMenuStatusItem, co as DropdownPositionOptions, cp as ELEVATION_LEVELS, cq as ENGLISH, cr as ENTER, cs as EditableGrid, ct as EditableGridProps, cu as ElevationLevel, cv as EmailTemplate, cw as EmptyState, cx as EmptyStateProps, cy as EmptyValue, cz as EmptyValueProps, cA as ErrorBoundary, cB as ErrorBoundaryProps, cC as ErrorPage, cD as ErrorPageProps, cE as FONT_WEIGHTS, cF as FileIntake, cG as FilePicker, cH as FilePickerProps, cI as FillVariant, cJ as FloatingBar, cK as FloatingBarAlign, cL as FloatingBarProps, cM as FloatingBarSide, cN as FontWeightRole, cO as FormError, cP as FormErrorSummary, cQ as FormErrorSummaryProps, cR as FormField, cS as FormFieldProps, cT as FormLayoutPage, cU as FunnelChart, cV as FunnelChartProps, cW as FunnelStage, cX as GLASS_DIVIDER, cZ as GROUP_COLORS, c_ as GROUP_COLORS_SOLID, c$ as GalleryTemplate, d0 as Gap, d1 as GlassOptions, d2 as GlobalSearch, d3 as GlobalSearchProps, d4 as Grid, d5 as GridCols, d6 as GridColumn, d7 as GridProps, d8 as HeatmapChart, d9 as HeatmapChartProps, da as HelpCenter, db as HelpCenterDoc, dc as HelpCenterProps, dd as HexInput, de as HistogramBin, df as HistogramChart, dg as HistogramChartProps, dh as Hsv, di as INPUT_BASE, dj as INPUT_SIZES, dk as IconButton, dl as IconButtonClassesOptions, dm as IconButtonProps, dn as IconPicker, dp as IconPickerOption, dq as IconPickerProps, dr as IconRail, ds as IconRailButton, dt as IconRailButtonProps, du as IconRailLabels, dv as IconRailLabelsShown, dw as IconRailOrientation, dx as IconRailProps, dy as ImageFocusPoint, dz as ImageFocusPointProps, dA as Inline, dB as InlineProps, dC as Input, dD as InputNumber, dE as InputNumberProps, dF as InputProps, dG as InputSize, dH as Justify, dI as Kanban, dJ as KanbanColumn, dK as KanbanProps, dL as Kbd, dM as KbdProps, dN as KbdSize, dO as KbdTone, dP as Label, dQ as LabelClassesOptions, dR as LabelProps, dS as LadderScale, dT as LanguagePanel, dU as LanguagePanelProps, dV as LanguageSelect, dW as LanguageSelectProps, dX as LinearScale, dY as LinkFilter, dZ as LinkFilterField, d_ as LinkKindChoice, d$ as LinkOption, e0 as LinkOptionGroup, e1 as LinkPicker, e2 as LinkPickerFieldProps, e3 as LinkPickerProps, e4 as LinkPickerWindowProps, e5 as LinkRules, e6 as LinkTarget, e7 as ListDrop, e8 as ListFooter, e9 as ListLoadError, ea as ListLoadErrorProps, eb as ListMove, ec as ListRow, ed as ListRowProps, ee as LoadingSpinner, ef as LoadingSpinnerProps, eg as MAX_FRACTION_DIGITS, eh as MENU_MAX_HEIGHT, ei as MOD, ej as MOTION, ek as MOTION_DURATIONS, el as Markdown, el as MarkdownLite, em as MarkdownLiteProps, em as MarkdownProps, en as MediaUploadField, eo as MediaUploadFieldProps, ep as MediaUploadGrid, eq as MediaUploadGridItem, er as MediaUploadGridProps, es as MenuAlign, et as MenuPlacement, eu as MenuPos, ev as MenuSide, ew as Meter, ex as MeterProps, ey as MetricBar, ez as MetricBarProps, eA as Milestone, eB as MilestoneKind, eC as MilestoneTimeline, eD as MilestoneTimelineProps, eE as MotionSpeed, eG as NEXT_CHUNK_PATH_PREFIX, eH as NativeSelect, eI as NiceAxis, eJ as NumericKeypad, eK as NumericKeypadProps, eL as OVERLAY_OPEN_EVENT, eM as PLACEHOLDER_INK, eN as POPUP_MAX_WIDTH, eO as POST_PRODUCTION_STATUSES, eP as PageHeader, eQ as PageHeaderProps, P as PaginatedResponse, eR as Pagination, eS as PaginationProps, eT as PaperclipGlyph, eU as Paragraph, eV as ParagraphProps, eW as PictureTileOption, eX as PictureTiles, eY as PictureTilesProps, eZ as PieChart, e_ as PieChartProps, e$ as PieSegment, f0 as PlotGeometry, f1 as Point, f2 as Popover, f3 as PopoverAlign, f4 as PopoverProps, f5 as PopoverRenderProps, f6 as PopoverSide, f7 as PopupMenu, f8 as PopupMenuDivider, f9 as PopupMenuItem, fa as PopupMenuItemProps, fb as PopupMenuLabel, fc as PopupMenuProps, fd as PopupSubmenu, fe as PopupSubmenuProps, ff as PortalBrandingContextValue, fg as PortalBrandingProvider, fh as PortalBrandingProviderProps, fi as ProductionTimeline, fj as ProductionTimelineProps, fk as ProductionTimelineSnapshot, fl as ProgressItem, fm as PublicPortal, fn as PublicPortalBranding, fo as RADAR_SERIES_CAP, fp as RADIUS_ROLES, fq as ROW_HEIGHTS, fr as RadarAxis, fs as RadarChart, ft as RadarChartProps, fu as RadarSeries, fv as RadialBarChart, fw as RadialBarChartProps, fx as RadialBarRow, fy as Radio, fz as RadioGroup, fA as RadioGroupOption, fB as RadioGroupOrientation, fC as RadioGroupProps, fD as RadioProps, fE as RadiusRole, fF as Range, fG as RangeChart, fH as RangeChartProps, fI as RangeRow, fJ as RankedBars, fK as RankedBarsProps, fL as RankedBarsRow, fM as ResizeHandle, fN as ResizeHandleOrientation, fO as ResizeHandleProps, fP as ResizeHandleSide, fQ as ResizeHandleStackSide, fR as ResolvedPortalBrandAsset, fS as Result, fT as ResultProps, fU as ResultStatus, fV as RevealDirection, fW as SCATTER_SERIES_CAP, fX as SERIES_SLOT_COUNT, fY as SERIES_VARS, fZ as SHELL_LANGUAGE_STORAGE_KEY, f_ as SHIFT, f$ as SPACING_ROLES, g0 as SPACING_SCALE, g1 as STAGES, g2 as STALE_CHUNK_RELOAD_COOLDOWN_MS, g3 as STALE_CHUNK_RELOAD_KEY, g4 as STATUS_VARS, g5 as SankeyChart, g6 as SankeyChartProps, g7 as SankeyLink, g8 as SankeyNode, g9 as ScatterChart, ga as ScatterChartProps, gb as ScatterPoint, gc as ScatterSeries, S as SearchConfig, gd as SearchListRoute, ge as SearchProvider, gf as SearchQuickAction, gg as SearchResponse, gh as SearchResult, gi as SearchableItem, gj as SearchableOption, gk as SearchableOptionGroup, gl as SearchableSelect, gm as SearchableSelectBaseProps, gn as SearchableSelectMultipleProps, go as SearchableSelectProps, gp as Segmented, gq as SegmentedOption, gr as SegmentedProps, gs as SegmentedSize, gt as Select, gu as SelectBaseProps, gv as SelectFooterAction, gw as SelectItem, gx as SelectMultipleProps, gy as SelectOption, gz as SelectOptionGroup, gA as SelectProps, gB as SemanticGroup, gC as SeriesSlots, gD as SettingReset, gE as SettingResetProps, gF as SettingResetView, gG as SettingRow, gH as SettingRowProps, gI as SettingViewState, gJ as SeverityTone, gM as ShellLanguage, gN as ShellLanguageProvider, gO as ShellLanguageState, gP as ShellPrefsAdapter, gQ as ShellPrefsProvider, gR as ShowWhen, gS as ShowWhenCheck, gT as ShowWhenContext, gU as ShowWhenProps, gV as ShowWhenRule, gW as ShowWhenValue, gX as Side, gY as SidebarActionButton, gZ as SidebarActionButtonProps, g_ as SidebarGroupLabel, g$ as SidebarGroupLabelProps, h0 as SidebarLayout, h1 as SidebarLayoutProps, h2 as SidebarNavGroup, h3 as SidebarNavGroupProps, h4 as SidebarNavItem, h5 as SidebarNavItemProps, h6 as SidesEachToggle, h7 as SidesInput, h8 as SidesInputProps, h9 as SidesValue, ha as Skeleton, hb as SkeletonProps, hc as SkeletonVariant, hd as Slider, he as SliderGroup, hf as SliderProps, hg as SliderSize, hh as Snippet, hi as SnippetProps, hj as SnippetSize, hk as SnippetVariant, a as SortState, hl as SortableList, hm as SortableListProps, hn as SortableListSpacing, ho as SpacingRole, hp as SpacingStep, hq as Sparkline, hr as SparklineProps, hs as SpinnerRing, ht as SpinnerRingProps, hu as SplitButton, hv as SplitButtonProps, hw as SplitButtonVariant, hx as Stack, hy as StackProps, hz as StaleChunkReloadOptions, hA as StatCard, hB as StatCardProps, hC as StatTile, hD as StatTileProps, hE as Statistic, hF as StatisticProps, hG as StatisticSize, hH as StatisticTone, hI as StatusBadge, hJ as StatusBadgeProvider, hK as StatusEmphasis, hL as StepChain, hM as StepChainItem, hN as StepChainItemProps, hO as StepChainProps, hP as StepChainStatus, hQ as StepItem, hR as Stepper, hS as StepperProps, hT as StrokeVariant, hU as SunburstChart, hV as SunburstChartProps, hW as SunburstNode, hX as Switch, hY as SwitchProps, hZ as SwitchSize, h_ as TYPE_SCALE, h$ as TabItem, i0 as Tabs, i1 as TabsProps, i2 as TagInput, i3 as TagInputOption, i4 as TagInputProps, i5 as TagInputTone, i6 as Text, i7 as TextLinkField, i8 as TextLinkFieldProps, i9 as TextProps, ia as TextSize, ib as TextTone, ic as TextToolbar, id as TextToolbarAlign, ie as TextToolbarCase, ig as TextToolbarMark, ih as TextToolbarProps, ii as TextWeight, ij as Textarea, ik as TextareaProps, il as Theme, im as TileButton, io as TileButtonProps, ip as TileSize, iq as TimeAgo, ir as TimeAgoProps, is as TimePicker, it as TimePickerProps, iu as TimeSeriesChart, iv as TimeSeriesChartProps, iw as TimeSeriesSeries, ix as TimelineMarker, iy as TimelineMarkerKind, iz as TimelineReport, iA as TimelineScrubProgress, iB as TimelineTrack, iC as TimelineTrackItem, iD as TimelineTrackKind, iE as TimelineTrackPending, iF as TimelineTrackPhase, iG as TimelineTrackPlayback, iH as TimelineTrackProps, iI as TimelineTrackThumb, iJ as Title, iK as TitleLevel, iL as TitleProps, iM as ToastAction, iN as ToastCloseReason, iO as ToastOptions, iP as ToastPlacement, iQ as ToastUndoableOptions, iR as Tooltip, iS as TooltipProps, iT as TopNav, iU as TopNavItem, iV as TopNavProps, iW as TransferProgress, iX as TransferProgressProps, iY as TransferProgressState, iZ as Tree, i_ as TreeDrop, i$ as TreeEmptySlot, j0 as TreeEmptySlotProps, j1 as TreeGroup, j2 as TreeGroupLabel, j3 as TreeGroupLabelProps, j4 as TreeGroupProps, j5 as TreeMove, j6 as TreeProps, j7 as TreeRow, j8 as TreeRowProps, j9 as TreeSeam, ja as TreeSeamProps, jb as TreemapChart, jc as TreemapChartProps, jd as TreemapItem, je as TreemapTile, jf as TypeStep, jg as UNDOABLE_MS, jh as UseAppUpdateOptions, ji as UseContextMenu, jj as UseProductionTimelineOpts, jk as VERSION, jl as VITE_PRELOAD_ERROR_EVENT, jm as WaterfallChart, jn as WaterfallChartProps, jo as WaterfallStep, jp as WidthsBar, jq as WidthsBarProps, jr as ZLayer, js as Z_LAYERS, jt as angleScale, ju as appendKey, jv as applyCorners, jw as applyIconSet, jx as applyThemePrefs, jy as arcPath, jz as areaBetween, jA as areaFrom, jB as assignSeriesSlots, jC as autoHighlightIndex, jD as backspace, jE as bandScale, jF as binValues, jG as borderSides, jH as borderStartEach, jI as budgetState, jJ as bumpPath, jK as buttonClasses, jL as calcOverall, jM as calcReportOverall, jN as colorFill, jO as colorSwatchClasses, jP as columnSharesWidths, jQ as confirm, jR as confirmDestructive, jS as cornersFor, jT as curvePath, jU as dashFor, jW as dismissPopups, jX as fillFor, jY as fillId, jZ as fmtSliderDate, j_ as fromDateKey, j$ as glassStyle, k0 as glowId, k1 as groundId, k2 as groupColors, k3 as hexToHsv, k4 as highlightOpacity, k5 as hsvToHex, k6 as iconButtonClasses, k7 as inputClasses, k8 as installStaleChunkReload, k9 as isMac, ka as isSeverityTone, kb as isShown, kc as isSpacingStep, kd as isStaleChunkError, kf as labelClasses, kg as ladderScale, kh as languageSelectWidth, ki as leavesContextMenuAlone, kj as linearPath, kk as linearScale, kl as logScale, km as maskId, kn as matchShellLanguage, ko as mediaFileName, kp as monotonePath, kq as niceAxis, kr as niceMax, ks as openGlobalSearch, kt as parseHexColor, ku as placeMenu, kv as polygonPoints, kw as popupBounds, kx as prompt, ky as pushRecentSearch, kz as radiusScale, kA as readSavedShellLanguage, kB as registerModalEscapeInterceptor, kC as resolveBrandMarkTreatment, kD as resolveColumnShares, kE as resolveColumnWidths, kF as resolveCorners, kG as resolvePortalBrandAsset, kH as resolveSeriesColor, kI as resolveSeriesColorWithin, kJ as resolveShellLanguage, kK as resolveTheme, kL as sanitizeRecentSearches, kM as saveShellLanguage, kN as seriesColor, kO as severityOf, kP as sidesStartEach, kQ as solidSurfaceStyle, kR as splinePath, kS as squarify, kT as stagger, kU as stepPath, kV as tabButtonId, kW as tabPanelId, kX as textToolbarRows, kY as textToolbarWindowColumns, kZ as toDateKey, k_ as toDayMs, k$ as toISODate, l0 as toast, l1 as toggleSeriesSlot, l2 as useAppUpdate, l3 as useClickOutside, l4 as useConfirm, l5 as useContextMenu, l6 as useDebouncedValue, l7 as useDropdownPosition, l8 as useFocusTrap, l9 as useHighlight, la as useInSettingRow, lb as useIsMobile, lc as useLocalStoragePrefs, ld as usePlotWidth, le as usePortalBranding, lf as useProductionTimeline, lg as useScrollLock, lh as useSettingAuto, li as useShellLanguage, lj as useShellPrefs, lk as useStatusLabel, ll as useTheme, lm as useTransferProgress } from '../index-Ci1RMKEn.js';
1
+ export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as AccordionTier, j as Align, k as AlignmentGrid, l as AlignmentGridProps, m as AlignmentPoint, n as AngleScale, o as AppUpdateBanner, p as AppUpdateBannerProps, q as AttachButton, r as AttachButtonProps, s as AttachmentDropZone, t as AttachmentDropZoneProps, u as AttachmentList, v as AttachmentListProps, w as AuthScreen, x as AuthScreenProps, y as Avatar, z as AvatarGroup, B as AvatarGroupProps, D as AvatarProps, E as AvatarSize, F as AvatarStatus, G as BORDER_LINE_STYLES, H as BORDER_WIDTHS, I as BackgroundVariant, J as BandScale, K as Banner, L as BannerEmphasis, M as BannerProps, N as BannerTone, O as BorderInput, Q as BorderInputProps, R as BorderLineStyle, T as BorderRole, U as BorderValue, V as Bounds, W as BoxPlotBox, X as BoxPlotChart, Y as BoxPlotChartProps, Z as BrandAssetEditor, _ as BrandAssetEditorProps, $ as BrandAssetPreview, a0 as BrandMark, a1 as BrandMarkProps, a2 as BrandMarkSlot, a3 as BrandMarkSurface, a4 as BrandMarkTreatment, a5 as BreadcrumbItem, a6 as Breadcrumbs, a7 as BreadcrumbsProps, a8 as BudgetBar, a9 as BudgetBarProps, aa as BudgetState, ab as Button, ac as ButtonClassesOptions, ad as ButtonProps, ae as ButtonSize, af as ButtonVariant, ag as CHART_INK, ah as CMD_A, ai as CMD_DOT, aj as CMD_ENTER, ak as CMD_K, al as CMD_S, am as COLUMN_COUNT_MAX, an as COLUMN_COUNT_WIDTHS, ao as COLUMN_SHARES_EQUAL, ap as COLUMN_SHARE_MIN, aq as CONTROL_HEIGHTS, ar as CORNERS, as as CORNERS_FOR_THEME, at as Calendar, au as CalendarMode, av as CalendarProps, aw as Candle, ax as CandlestickChart, ay as CandlestickChartProps, az as Card, aA as CardPadding, aB as CardProps, aC as CardTone, aD as CartesianPlot, aE as CartesianPlotProps, aF as CellStyle, aG as ChartBackgroundVariant, aH as ChartBrush, aI as ChartBrushProps, aJ as ChartCurve, aK as ChartDefs, aL as ChartDefsProps, aM as ChartDot, aN as ChartDotProps, aO as ChartDotVariant, aP as ChartFillVariant, aQ as ChartFrame, aR as ChartFrameProps, aS as ChartHighlightProvider, aT as ChartLegendEntry, aU as ChartLegendSwatch, aV as ChartRange, aW as ChartReferenceLine, aX as ChartRevealDirection, aY as ChartSkeleton, aZ as ChartSkeletonProps, a_ as ChartStatusTone, a$ as ChartStrokeVariant, b0 as ChartTooltip, b1 as ChartTooltipProps, b2 as ChartTooltipRow, b3 as ChatTemplate, b4 as Checkbox, b5 as CheckboxProps, b6 as CheckoutTemplate, b7 as ChordChart, b8 as ChordChartProps, b9 as ColorPicker, ba as ColorPickerPanel, bb as ColorPickerPanelProps, bc as ColorPickerProps, bd as ColorPreset, be as ColorSwatch, bf as ColorSwatchProps, bg as ColorSwatchSize, bh as ColoredBadge, bi as ColoredBadgeProps, bj as ColumnChart, bk as ColumnChartProps, C as ColumnDef, bl as ColumnSeries, bm as ColumnShares, bn as ComposerAttachments, bo as ComposerAttachmentsProps, bp as ConfirmProvider, bq as ContainerFillChart, br as ContainerFillChartProps, bs as ContainerFillItem, bt as ContextMenu, bu as ContextMenuPoint, bv as ContextMenuProps, bw as ContextMenuState, bx as ControlSize, by as CornerOption, bz as Corners, bA as CornersInput, bB as CornersInputProps, bC as CountBadge, bD as CountBadgeProps, bE as CountBadgeTone, bF as Curve, bG as DAY_MS, bH as DashboardTemplate, bI as DataTable, bJ as DataTableColumn, bK as DataTableColumnGroup, bL as DataTableHeader, bM as DataTablePage, bN as DataTableProps, bO as DataTableRowLink, bP as DataTableRowProps, bQ as DatePicker, bR as DatePickerProps, bS as DateRangePicker, bT as DateRangePickerProps, bU as DateTimePicker, bV as DateTimePickerProps, bW as DescriptionColumns, bX as DescriptionItem, bY as DescriptionList, bZ as DescriptionListProps, b_ as Dialog, b$ as DialogProps, c0 as DialogSize, c1 as DisplayChipItem, c2 as DisplayChips, c3 as DisplayChipsProps, c4 as Divider, c5 as DividerProps, c6 as DividerSpacing, c7 as Drawer, c8 as DrawerProps, c9 as DrawerSide, ca as DrawerSize, cb as DropdownMenu, cc as DropdownMenuAlign, cd as DropdownMenuCheckboxItem, ce as DropdownMenuDividerItem, cf as DropdownMenuEntry, cg as DropdownMenuFooterApi, ch as DropdownMenuItem, ci as DropdownMenuLabelItem, cj as DropdownMenuLinkItem, ck as DropdownMenuProps, cl as DropdownMenuRadioItem, cm as DropdownMenuSide, cn as DropdownMenuStatusItem, co as DropdownPositionOptions, cp as ELEVATION_LEVELS, cq as ENGLISH, cr as ENTER, cs as EditableGrid, ct as EditableGridProps, cu as ElevationLevel, cv as EmailTemplate, cw as EmptyState, cx as EmptyStateProps, cy as EmptyValue, cz as EmptyValueProps, cA as ErrorBoundary, cB as ErrorBoundaryProps, cC as ErrorPage, cD as ErrorPageProps, cE as FONT_WEIGHTS, cF as FileIntake, cG as FilePicker, cH as FilePickerProps, cI as FillVariant, cJ as FloatingBar, cK as FloatingBarAlign, cL as FloatingBarProps, cM as FloatingBarSide, cN as FontWeightRole, cO as FormError, cP as FormErrorSummary, cQ as FormErrorSummaryProps, cR as FormField, cS as FormFieldProps, cT as FormLayoutPage, cU as FunnelChart, cV as FunnelChartProps, cW as FunnelStage, cX as GLASS_DIVIDER, cZ as GROUP_COLORS, c_ as GROUP_COLORS_SOLID, c$ as GalleryTemplate, d0 as Gap, d1 as GlassOptions, d2 as GlobalSearch, d3 as GlobalSearchProps, d4 as Grid, d5 as GridCols, d6 as GridColumn, d7 as GridProps, d8 as HeatmapChart, d9 as HeatmapChartProps, da as HelpCenter, db as HelpCenterDoc, dc as HelpCenterProps, dd as HexInput, de as HistogramBin, df as HistogramChart, dg as HistogramChartProps, dh as Hsv, di as INPUT_BASE, dj as INPUT_SIZES, dk as IconButton, dl as IconButtonClassesOptions, dm as IconButtonProps, dn as IconPicker, dp as IconPickerOption, dq as IconPickerProps, dr as IconRail, ds as IconRailButton, dt as IconRailButtonProps, du as IconRailLabels, dv as IconRailLabelsShown, dw as IconRailOrientation, dx as IconRailProps, dy as ImageFocusPoint, dz as ImageFocusPointProps, dA as Inline, dB as InlineProps, dC as Input, dD as InputNumber, dE as InputNumberProps, dF as InputProps, dG as InputSize, dH as Justify, dI as Kanban, dJ as KanbanColumn, dK as KanbanProps, dL as Kbd, dM as KbdProps, dN as KbdSize, dO as KbdTone, dP as Label, dQ as LabelClassesOptions, dR as LabelProps, dS as LadderScale, dT as LanguagePanel, dU as LanguagePanelProps, dV as LanguageSelect, dW as LanguageSelectProps, dX as LinearScale, dY as LinkFilter, dZ as LinkFilterField, d_ as LinkKindChoice, d$ as LinkOption, e0 as LinkOptionGroup, e1 as LinkPicker, e2 as LinkPickerFieldProps, e3 as LinkPickerProps, e4 as LinkPickerWindowProps, e5 as LinkRules, e6 as LinkTarget, e7 as ListDrop, e8 as ListFooter, e9 as ListLoadError, ea as ListLoadErrorProps, eb as ListMove, ec as ListRow, ed as ListRowProps, ee as LoadingSpinner, ef as LoadingSpinnerProps, eg as MAX_FRACTION_DIGITS, eh as MENU_MAX_HEIGHT, ei as MOD, ej as MOTION, ek as MOTION_DURATIONS, el as Markdown, el as MarkdownLite, em as MarkdownLiteProps, em as MarkdownProps, en as MediaUploadField, eo as MediaUploadFieldProps, ep as MediaUploadGrid, eq as MediaUploadGridItem, er as MediaUploadGridProps, es as MenuAlign, et as MenuPlacement, eu as MenuPos, ev as MenuSide, ew as Meter, ex as MeterProps, ey as MetricBar, ez as MetricBarProps, eA as Milestone, eB as MilestoneKind, eC as MilestoneTimeline, eD as MilestoneTimelineProps, eE as MotionSpeed, eG as NEXT_CHUNK_PATH_PREFIX, eH as NativeSelect, eI as NiceAxis, eJ as NumericKeypad, eK as NumericKeypadProps, eL as OVERLAY_OPEN_EVENT, eM as PLACEHOLDER_INK, eN as POPUP_MAX_WIDTH, eO as POST_PRODUCTION_STATUSES, eP as PageHeader, eQ as PageHeaderProps, P as PaginatedResponse, eR as Pagination, eS as PaginationProps, eT as PaperclipGlyph, eU as Paragraph, eV as ParagraphProps, eW as PictureTileOption, eX as PictureTiles, eY as PictureTilesProps, eZ as PieChart, e_ as PieChartProps, e$ as PieSegment, f0 as PlotGeometry, f1 as Point, f2 as Popover, f3 as PopoverAlign, f4 as PopoverProps, f5 as PopoverRenderProps, f6 as PopoverSide, f7 as PopupMenu, f8 as PopupMenuDivider, f9 as PopupMenuItem, fa as PopupMenuItemProps, fb as PopupMenuLabel, fc as PopupMenuProps, fd as PopupSubmenu, fe as PopupSubmenuProps, ff as PortalBrandingContextValue, fg as PortalBrandingProvider, fh as PortalBrandingProviderProps, fi as ProductionTimeline, fj as ProductionTimelineProps, fk as ProductionTimelineSnapshot, fl as ProgressItem, fm as PublicPortal, fn as PublicPortalBranding, fo as RADAR_SERIES_CAP, fp as RADIUS_ROLES, fq as ROW_HEIGHTS, fr as RadarAxis, fs as RadarChart, ft as RadarChartProps, fu as RadarSeries, fv as RadialBarChart, fw as RadialBarChartProps, fx as RadialBarRow, fy as Radio, fz as RadioGroup, fA as RadioGroupOption, fB as RadioGroupOrientation, fC as RadioGroupProps, fD as RadioProps, fE as RadiusRole, fF as Range, fG as RangeChart, fH as RangeChartProps, fI as RangeRow, fJ as RankedBars, fK as RankedBarsProps, fL as RankedBarsRow, fM as ResizeHandle, fN as ResizeHandleOrientation, fO as ResizeHandleProps, fP as ResizeHandleSide, fQ as ResizeHandleStackSide, fR as ResolvedPortalBrandAsset, fS as Result, fT as ResultProps, fU as ResultStatus, fV as RevealDirection, fW as SCATTER_SERIES_CAP, fX as SERIES_SLOT_COUNT, fY as SERIES_VARS, fZ as SHELL_LANGUAGE_STORAGE_KEY, f_ as SHIFT, f$ as SPACING_ROLES, g0 as SPACING_SCALE, g1 as STAGES, g2 as STALE_CHUNK_RELOAD_COOLDOWN_MS, g3 as STALE_CHUNK_RELOAD_KEY, g4 as STATUS_VARS, g5 as SankeyChart, g6 as SankeyChartProps, g7 as SankeyLink, g8 as SankeyNode, g9 as ScatterChart, ga as ScatterChartProps, gb as ScatterPoint, gc as ScatterSeries, S as SearchConfig, gd as SearchListRoute, ge as SearchProvider, gf as SearchQuickAction, gg as SearchResponse, gh as SearchResult, gi as SearchableItem, gj as SearchableOption, gk as SearchableOptionGroup, gl as SearchableSelect, gm as SearchableSelectBaseProps, gn as SearchableSelectMultipleProps, go as SearchableSelectProps, gp as Segmented, gq as SegmentedOption, gr as SegmentedProps, gs as SegmentedSize, gt as Select, gu as SelectBaseProps, gv as SelectFooterAction, gw as SelectItem, gx as SelectMultipleProps, gy as SelectOption, gz as SelectOptionGroup, gA as SelectProps, gB as SemanticGroup, gC as SeriesSlots, gD as SettingReset, gE as SettingResetProps, gF as SettingResetView, gG as SettingRow, gH as SettingRowProps, gI as SettingViewState, gJ as SeverityTone, gM as ShellLanguage, gN as ShellLanguageProvider, gO as ShellLanguageState, gP as ShellPrefsAdapter, gQ as ShellPrefsProvider, gR as ShowWhen, gS as ShowWhenCheck, gT as ShowWhenContext, gU as ShowWhenProps, gV as ShowWhenRule, gW as ShowWhenValue, gX as Side, gY as SidebarActionButton, gZ as SidebarActionButtonProps, g_ as SidebarGroupLabel, g$ as SidebarGroupLabelProps, h0 as SidebarLayout, h1 as SidebarLayoutProps, h2 as SidebarNavGroup, h3 as SidebarNavGroupProps, h4 as SidebarNavItem, h5 as SidebarNavItemProps, h6 as SidesEachToggle, h7 as SidesInput, h8 as SidesInputProps, h9 as SidesValue, ha as Skeleton, hb as SkeletonProps, hc as SkeletonVariant, hd as Slider, he as SliderGroup, hf as SliderProps, hg as SliderSize, hh as Snippet, hi as SnippetProps, hj as SnippetSize, hk as SnippetVariant, a as SortState, hl as SortableList, hm as SortableListProps, hn as SortableListSpacing, ho as SpacingRole, hp as SpacingStep, hq as Sparkline, hr as SparklineProps, hs as SpinnerRing, ht as SpinnerRingProps, hu as SplitButton, hv as SplitButtonProps, hw as SplitButtonVariant, hx as Stack, hy as StackProps, hz as StaleChunkReloadOptions, hA as StatCard, hB as StatCardProps, hC as StatTile, hD as StatTileProps, hE as Statistic, hF as StatisticProps, hG as StatisticSize, hH as StatisticTone, hI as StatusBadge, hJ as StatusBadgeProvider, hK as StatusEmphasis, hL as StepChain, hM as StepChainItem, hN as StepChainItemProps, hO as StepChainProps, hP as StepChainStatus, hQ as StepItem, hR as Stepper, hS as StepperProps, hT as StrokeVariant, hU as SunburstChart, hV as SunburstChartProps, hW as SunburstNode, hX as Switch, hY as SwitchProps, hZ as SwitchSize, h_ as TYPE_SCALE, h$ as TabItem, i0 as Tabs, i1 as TabsProps, i2 as TagInput, i3 as TagInputOption, i4 as TagInputProps, i5 as TagInputTone, i6 as Text, i7 as TextLinkField, i8 as TextLinkFieldProps, i9 as TextProps, ia as TextSize, ib as TextTone, ic as TextToolbar, id as TextToolbarAlign, ie as TextToolbarCase, ig as TextToolbarMark, ih as TextToolbarProps, ii as TextWeight, ij as Textarea, ik as TextareaProps, il as Theme, im as TileButton, io as TileButtonProps, ip as TileSize, iq as TimeAgo, ir as TimeAgoProps, is as TimePicker, it as TimePickerProps, iu as TimeSeriesChart, iv as TimeSeriesChartProps, iw as TimeSeriesSeries, ix as TimelineMarker, iy as TimelineMarkerKind, iz as TimelineReport, iA as TimelineScrubProgress, iB as TimelineTrack, iC as TimelineTrackItem, iD as TimelineTrackKind, iE as TimelineTrackPending, iF as TimelineTrackPhase, iG as TimelineTrackPlayback, iH as TimelineTrackProps, iI as TimelineTrackThumb, iJ as Title, iK as TitleLevel, iL as TitleProps, iM as ToastAction, iN as ToastCloseReason, iO as ToastOptions, iP as ToastPlacement, iQ as ToastUndoableOptions, iR as Tooltip, iS as TooltipProps, iT as TopNav, iU as TopNavItem, iV as TopNavProps, iW as TransferProgress, iX as TransferProgressProps, iY as TransferProgressState, iZ as Tree, i_ as TreeDrop, i$ as TreeEmptySlot, j0 as TreeEmptySlotProps, j1 as TreeGroup, j2 as TreeGroupLabel, j3 as TreeGroupLabelProps, j4 as TreeGroupProps, j5 as TreeMove, j6 as TreeProps, j7 as TreeRow, j8 as TreeRowProps, j9 as TreeSeam, ja as TreeSeamProps, jb as TreemapChart, jc as TreemapChartProps, jd as TreemapItem, je as TreemapTile, jf as TypeStep, jg as UNDOABLE_MS, jh as UseAppUpdateOptions, ji as UseContextMenu, jj as UseProductionTimelineOpts, jk as VERSION, jl as VITE_PRELOAD_ERROR_EVENT, jm as WaterfallChart, jn as WaterfallChartProps, jo as WaterfallStep, jp as WidthsBar, jq as WidthsBarProps, jr as ZLayer, js as Z_LAYERS, jt as angleScale, ju as appendKey, jv as applyCorners, jw as applyIconSet, jx as applyThemePrefs, jy as arcPath, jz as areaBetween, jA as areaFrom, jB as assignSeriesSlots, jC as autoHighlightIndex, jD as backspace, jE as bandScale, jF as binValues, jG as borderSides, jH as borderStartEach, jI as budgetState, jJ as bumpPath, jK as buttonClasses, jL as calcOverall, jM as calcReportOverall, jN as colorFill, jO as colorSwatchClasses, jP as columnSharesWidths, jQ as confirm, jR as confirmDestructive, jS as cornersFor, jT as curvePath, jU as dashFor, jW as dismissPopups, jX as fillFor, jY as fillId, jZ as fmtSliderDate, j_ as fromDateKey, j$ as glassStyle, k0 as glowId, k1 as groundId, k2 as groupColors, k3 as hexToHsv, k4 as highlightOpacity, k5 as hsvToHex, k6 as iconButtonClasses, k7 as inputClasses, k8 as installStaleChunkReload, k9 as isMac, ka as isSeverityTone, kb as isShown, kc as isSpacingStep, kd as isStaleChunkError, kf as labelClasses, kg as ladderScale, kh as languageSelectWidth, ki as leavesContextMenuAlone, kj as linearPath, kk as linearScale, kl as logScale, km as maskId, kn as matchShellLanguage, ko as mediaFileName, kp as monotonePath, kq as niceAxis, kr as niceMax, ks as openGlobalSearch, kt as parseHexColor, ku as placeMenu, kv as polygonPoints, kw as popupBounds, kx as prompt, ky as pushRecentSearch, kz as radiusScale, kA as readSavedShellLanguage, kB as registerModalEscapeInterceptor, kC as resolveBrandMarkTreatment, kD as resolveColumnShares, kE as resolveColumnWidths, kF as resolveCorners, kG as resolvePortalBrandAsset, kH as resolveSeriesColor, kI as resolveSeriesColorWithin, kJ as resolveShellLanguage, kK as resolveTheme, kL as sanitizeRecentSearches, kM as saveShellLanguage, kN as seriesColor, kO as severityOf, kP as sidesStartEach, kQ as solidSurfaceStyle, kR as splinePath, kS as squarify, kT as stagger, kU as stepPath, kV as tabButtonId, kW as tabPanelId, kX as textToolbarRows, kY as textToolbarWindowColumns, kZ as toDateKey, k_ as toDayMs, k$ as toISODate, l0 as toast, l1 as toggleSeriesSlot, l2 as useAppUpdate, l3 as useClickOutside, l4 as useConfirm, l5 as useContextMenu, l6 as useDebouncedValue, l7 as useDropdownPosition, l8 as useFocusTrap, l9 as useHighlight, la as useInSettingRow, lb as useIsMobile, lc as useLocalStoragePrefs, ld as usePlotWidth, le as usePortalBranding, lf as useProductionTimeline, lg as useScrollLock, lh as useSettingAuto, li as useShellLanguage, lj as useShellPrefs, lk as useStatusLabel, ll as useTheme, lm as useTransferProgress } from '../index-D16PP-U7.js';
2
2
  export { C as CurrencyFormat, D as DATE_FORMAT_OPTIONS, a as DateFormatKey, E as EMPTY_VALUE, F as FOCAL_DEFAULT, b as FOCAL_NUDGE_COARSE, c as FOCAL_NUDGE_STEP, d as FocalPoint, e as FormatDateOptions, f as FormatMoneyOptions, T as TZ_AUTO, g as TimeAgoOptions, h as currencyDecimals, i as currencySymbol, j as firstDayOfWeek, k as focalFromRect, l as formatBytes, m as formatDate, n as formatDateTime, o as formatFocal, p as formatMoney, q as formatTime, r as getUserDateFormat, s as getUserTimezone, t as nudgeFocal, u as parseFocal, v as setCurrencyFormats, w as setUserDateFormat, x as setUserTimezone, y as syncTimezoneFromProfile, z as timeAgo } from '../index-CHufemKB.js';
3
3
  export { isSafeLinkHref } from '../markup/index.js';
4
4
  export { FileIntakeAlert, FileIntakeLimits, FileIntakeOptions, FileRejection, FileRejectionReason, acceptsFile, useFileIntake } from '../file-intake/index.js';
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{APP_UPDATE_POLL_MS,Accordion,AlignmentGrid,AppUpdateBanner,AttachButton,AttachmentDropZone,AttachmentList,AuthScreen,Avatar,AvatarGroup,BORDER_LINE_STYLES,BORDER_WIDTHS,BorderInput,BoxPlotChart,BrandAssetEditor,BudgetBar,CHART_INK,COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,CONTROL_HEIGHTS,CORNERS,CORNERS_FOR_THEME,Calendar,CandlestickChart,Card,CartesianPlot,ChartBrush,ChartDefs,ChartDot,ChartFrame,ChartHighlightProvider,ChartSkeleton,ChartTooltip,ChatTemplate,Checkbox_default as Checkbox,CheckoutTemplate,ChordChart,ColorPicker,ColorPickerPanel,ColorSwatch,ColumnChart,ComposerAttachments,ContainerFillChart,ContextMenu,CornersInput,CountBadge,DAY_MS,DashboardTemplate,DataTable,DataTablePage,DatePicker_default as DatePicker,DateRangePicker,DateTimePicker_default as DateTimePicker,DescriptionList,DisplayChips,Divider,Drawer,DropdownMenu,ELEVATION_LEVELS,EmailTemplate,EmptyState,EmptyValue,ErrorBoundary,ErrorPage,FONT_WEIGHTS,FilePicker_default as FilePicker,FloatingBar,FormErrorSummary,FormField,FormLayoutPage,FunnelChart,GalleryTemplate,Grid,HeatmapChart,HelpCenter,HexInput,HistogramChart,IconPicker,IconRail,IconRailButton,ImageFocusPoint,Inline,Input_default as Input,InputNumber_default as InputNumber,Kanban,Label,LanguagePanel,LanguageSelect,LinkPicker,ListFooter,ListLoadError,ListRow,MAX_FRACTION_DIGITS,MOTION,MOTION_DURATIONS,MediaUploadField,MediaUploadGrid,Meter,MetricBar,MilestoneTimeline,NativeSelect,NumericKeypad,POST_PRODUCTION_STATUSES,PageHeader,Pagination,PaperclipGlyph,Paragraph,PictureTiles,PieChart,Popover,PortalBrandingProvider,ProductionTimeline,RADAR_SERIES_CAP,RADIUS_ROLES,ROW_HEIGHTS,RadarChart,RadialBarChart,Radio_default as Radio,RadioGroup,RangeChart,RankedBars,SCATTER_SERIES_CAP,SERIES_SLOT_COUNT,SERIES_VARS,SPACING_ROLES,SPACING_SCALE,STAGES,STATUS_VARS,SankeyChart,ScatterChart,SearchableSelect,Segmented,Select_default as Select,SettingReset,SettingRow,ShowWhen,SidebarActionButton,SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidesEachToggle,SidesInput,Skeleton,Slider,SliderGroup,Snippet,SortableList,Sparkline,SplitButton_default as SplitButton,Stack,StatCard,StatTile,Statistic,Stepper,SunburstChart,Switch_default as Switch,TYPE_SCALE,Tabs,TagInput,Text,TextLinkField,TextToolbar,TileButton_default as TileButton,TimeAgo,TimePicker_default as TimePicker,TimeSeriesChart,TimelineTrack,Title,TopNav,TransferProgress,Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam,TreemapChart,WaterfallChart,WidthsBar,angleScale,appendKey,applyCorners,applyIconSet,applyThemePrefs,arcPath,areaBetween,areaFrom,assignSeriesSlots,autoHighlightIndex,backspace,bandScale,binValues,borderSides,borderStartEach,budgetState,bumpPath,calcOverall,calcReportOverall,colorFill,colorSwatchClasses,columnSharesWidths,cornersFor,curvePath,dashFor,fillFor,fillId,fmtSliderDate,fromKey as fromDateKey,glowId,groundId,hexToHsv,highlightOpacity,hsvToHex,isSeverityTone,isShown,isSpacingStep,labelClasses,ladderScale,languageSelectWidth,linearPath,linearScale,logScale,maskId,mediaFileName,monotonePath,niceAxis,niceMax,parseHexColor,polygonPoints,radiusScale,resolveColumnShares,resolveColumnWidths,resolveCorners,resolvePortalBrandAsset,resolveSeriesColor,resolveSeriesColorWithin,resolveTheme,seriesColor,severityOf,sidesStartEach,splinePath,squarify,stagger,stepPath,tabButtonId,tabPanelId,textToolbarRows,textToolbarWindowColumns,toKey as toDateKey,toDayMs,toISODate,toggleSeriesSlot,useAppUpdate,useClickOutside,useContextMenu,useDebouncedValue,useHighlight,useInSettingRow,usePlotWidth,usePortalBranding,useProductionTimeline,useSettingAuto,useTheme,useTransferProgress}from"../chunk-A2MMRPU4.js";export{Breadcrumbs}from"../chunk-UYKGVCZO.js";export{BrandMark,GlobalSearch,openGlobalSearch,pushRecent as pushRecentSearch,resolveBrandMarkTreatment,sanitizeRecent as sanitizeRecentSearches}from"../chunk-RUBR4GCW.js";export{EditableGrid}from"../chunk-OKPYIQ2Q.js";import"../chunk-BR22X7E5.js";export{ResizeHandle,SidebarLayout}from"../chunk-I33KGECT.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-RWIFSTEK.js";export{ICON_NAMES,ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,isIconName,loadIconSet}from"../chunk-CCWPP3YK.js";export{Banner,Markdown,Markdown as MarkdownLite,StepChain,StepChainItem,Textarea_default as Textarea}from"../chunk-C6IR6W7P.js";export{IconButton_default as IconButton}from"../chunk-EU4BCXGA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-CU3GY5Y2.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-BJ47M4AR.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ColoredBadge,ENTER,GROUP_COLORS,GROUP_COLORS_SOLID,Kbd,MOD,NEXT_CHUNK_PATH_PREFIX,Result,SHIFT,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,ShellPrefsProvider,StatusBadge,StatusBadgeProvider,VITE_PRELOAD_ERROR_EVENT,groupColors,installStaleChunkReload,isMac,isStaleChunkError,useIsMobile,useLocalStoragePrefs,useShellPrefs,useStatusLabel}from"../chunk-KYBZBZEP.js";import"../chunk-5A7MWTXX.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu,leavesContextMenuAlone}from"../chunk-YJIG2KT3.js";export{VERSION}from"../chunk-YFK4COYT.js";import"../chunk-KNUR2UEG.js";export{ConfirmProvider,Dialog,confirm,confirmDestructive,prompt,useConfirm,useFocusTrap,useScrollLock}from"../chunk-UNBLH4EQ.js";import"../chunk-UVBK6YSR.js";export{Button_default as Button}from"../chunk-DELNCIUK.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,Tooltip,placeMenu,popupBounds,useDropdownPosition}from"../chunk-RDLWLATO.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-7IQ3B77H.js";import"../chunk-D65T4H6J.js";export{OVERLAY_OPEN_EVENT,Z_LAYERS,dismissPopups,registerModalEscapeInterceptor}from"../chunk-FIEA5CGB.js";export{buttonClasses,iconButtonClasses}from"../chunk-K7PQXJO7.js";export{Icon,activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-76DRQSJM.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-JDS2IFBP.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-W7W4JMOT.js";import"../chunk-C3QOHMR6.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-AP2QEJXQ.js";export{DATE_FORMAT_OPTIONS,EMPTY_VALUE,TZ_AUTO,currencyDecimals,currencySymbol,firstDayOfWeek,formatBytes,formatDate,formatDateTime,formatMoney,formatTime,getUserDateFormat,getUserTimezone,setCurrencyFormats,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,timeAgo}from"../chunk-W32SKK3D.js";export{LoadingSpinner,SpinnerRing}from"../chunk-2J6F4EE7.js";
2
+ export{APP_UPDATE_POLL_MS,Accordion,AlignmentGrid,AppUpdateBanner,AttachButton,AttachmentDropZone,AttachmentList,AuthScreen,Avatar,AvatarGroup,BORDER_LINE_STYLES,BORDER_WIDTHS,BorderInput,BoxPlotChart,BrandAssetEditor,BudgetBar,CHART_INK,COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,CONTROL_HEIGHTS,CORNERS,CORNERS_FOR_THEME,Calendar,CandlestickChart,Card,CartesianPlot,ChartBrush,ChartDefs,ChartDot,ChartFrame,ChartHighlightProvider,ChartSkeleton,ChartTooltip,ChatTemplate,Checkbox_default as Checkbox,CheckoutTemplate,ChordChart,ColorPicker,ColorPickerPanel,ColorSwatch,ColumnChart,ComposerAttachments,ContainerFillChart,ContextMenu,CornersInput,CountBadge,DAY_MS,DashboardTemplate,DataTable,DataTablePage,DatePicker_default as DatePicker,DateRangePicker,DateTimePicker_default as DateTimePicker,DescriptionList,DisplayChips,Divider,Drawer,DropdownMenu,ELEVATION_LEVELS,EmailTemplate,EmptyState,EmptyValue,ErrorBoundary,ErrorPage,FONT_WEIGHTS,FilePicker_default as FilePicker,FloatingBar,FormErrorSummary,FormField,FormLayoutPage,FunnelChart,GalleryTemplate,Grid,HeatmapChart,HelpCenter,HexInput,HistogramChart,IconPicker,IconRail,IconRailButton,ImageFocusPoint,Inline,Input_default as Input,InputNumber_default as InputNumber,Kanban,Label,LanguagePanel,LanguageSelect,LinkPicker,ListFooter,ListLoadError,ListRow,MAX_FRACTION_DIGITS,MOTION,MOTION_DURATIONS,MediaUploadField,MediaUploadGrid,Meter,MetricBar,MilestoneTimeline,NativeSelect,NumericKeypad,POST_PRODUCTION_STATUSES,PageHeader,Pagination,PaperclipGlyph,Paragraph,PictureTiles,PieChart,Popover,PortalBrandingProvider,ProductionTimeline,RADAR_SERIES_CAP,RADIUS_ROLES,ROW_HEIGHTS,RadarChart,RadialBarChart,Radio_default as Radio,RadioGroup,RangeChart,RankedBars,SCATTER_SERIES_CAP,SERIES_SLOT_COUNT,SERIES_VARS,SPACING_ROLES,SPACING_SCALE,STAGES,STATUS_VARS,SankeyChart,ScatterChart,SearchableSelect,Segmented,Select_default as Select,SettingReset,SettingRow,ShowWhen,SidebarActionButton,SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidesEachToggle,SidesInput,Skeleton,Slider,SliderGroup,Snippet,SortableList,Sparkline,SplitButton_default as SplitButton,Stack,StatCard,StatTile,Statistic,Stepper,SunburstChart,Switch_default as Switch,TYPE_SCALE,Tabs,TagInput,Text,TextLinkField,TextToolbar,TileButton_default as TileButton,TimeAgo,TimePicker_default as TimePicker,TimeSeriesChart,TimelineTrack,Title,TopNav,TransferProgress,Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam,TreemapChart,WaterfallChart,WidthsBar,angleScale,appendKey,applyCorners,applyIconSet,applyThemePrefs,arcPath,areaBetween,areaFrom,assignSeriesSlots,autoHighlightIndex,backspace,bandScale,binValues,borderSides,borderStartEach,budgetState,bumpPath,calcOverall,calcReportOverall,colorFill,colorSwatchClasses,columnSharesWidths,cornersFor,curvePath,dashFor,fillFor,fillId,fmtSliderDate,fromKey as fromDateKey,glowId,groundId,hexToHsv,highlightOpacity,hsvToHex,isSeverityTone,isShown,isSpacingStep,labelClasses,ladderScale,languageSelectWidth,linearPath,linearScale,logScale,maskId,mediaFileName,monotonePath,niceAxis,niceMax,parseHexColor,polygonPoints,radiusScale,resolveColumnShares,resolveColumnWidths,resolveCorners,resolvePortalBrandAsset,resolveSeriesColor,resolveSeriesColorWithin,resolveTheme,seriesColor,severityOf,sidesStartEach,splinePath,squarify,stagger,stepPath,tabButtonId,tabPanelId,textToolbarRows,textToolbarWindowColumns,toKey as toDateKey,toDayMs,toISODate,toggleSeriesSlot,useAppUpdate,useClickOutside,useContextMenu,useDebouncedValue,useHighlight,useInSettingRow,usePlotWidth,usePortalBranding,useProductionTimeline,useSettingAuto,useTheme,useTransferProgress}from"../chunk-MCHZT2FL.js";export{Breadcrumbs}from"../chunk-UYKGVCZO.js";export{BrandMark,GlobalSearch,openGlobalSearch,pushRecent as pushRecentSearch,resolveBrandMarkTreatment,sanitizeRecent as sanitizeRecentSearches}from"../chunk-RUBR4GCW.js";export{EditableGrid}from"../chunk-OKPYIQ2Q.js";import"../chunk-BR22X7E5.js";export{ResizeHandle,SidebarLayout}from"../chunk-I33KGECT.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-RWIFSTEK.js";export{ICON_NAMES,ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,isIconName,loadIconSet}from"../chunk-CCWPP3YK.js";export{Banner,Markdown,Markdown as MarkdownLite,StepChain,StepChainItem,Textarea_default as Textarea}from"../chunk-C6IR6W7P.js";export{IconButton_default as IconButton}from"../chunk-EU4BCXGA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-CU3GY5Y2.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-BJ47M4AR.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ColoredBadge,ENTER,GROUP_COLORS,GROUP_COLORS_SOLID,Kbd,MOD,NEXT_CHUNK_PATH_PREFIX,Result,SHIFT,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,ShellPrefsProvider,StatusBadge,StatusBadgeProvider,VITE_PRELOAD_ERROR_EVENT,groupColors,installStaleChunkReload,isMac,isStaleChunkError,useIsMobile,useLocalStoragePrefs,useShellPrefs,useStatusLabel}from"../chunk-KYBZBZEP.js";import"../chunk-5A7MWTXX.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu,leavesContextMenuAlone}from"../chunk-YJIG2KT3.js";export{VERSION}from"../chunk-K3WWKV3D.js";import"../chunk-KNUR2UEG.js";export{ConfirmProvider,Dialog,confirm,confirmDestructive,prompt,useConfirm,useFocusTrap,useScrollLock}from"../chunk-UNBLH4EQ.js";import"../chunk-UVBK6YSR.js";export{Button_default as Button}from"../chunk-DELNCIUK.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,Tooltip,placeMenu,popupBounds,useDropdownPosition}from"../chunk-RDLWLATO.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-7IQ3B77H.js";import"../chunk-D65T4H6J.js";export{OVERLAY_OPEN_EVENT,Z_LAYERS,dismissPopups,registerModalEscapeInterceptor}from"../chunk-FIEA5CGB.js";export{buttonClasses,iconButtonClasses}from"../chunk-K7PQXJO7.js";export{Icon,activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-76DRQSJM.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-JDS2IFBP.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-W7W4JMOT.js";import"../chunk-C3QOHMR6.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-AP2QEJXQ.js";export{DATE_FORMAT_OPTIONS,EMPTY_VALUE,TZ_AUTO,currencyDecimals,currencySymbol,firstDayOfWeek,formatBytes,formatDate,formatDateTime,formatMoney,formatTime,getUserDateFormat,getUserTimezone,setCurrencyFormats,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,timeAgo}from"../chunk-W32SKK3D.js";export{LoadingSpinner,SpinnerRing}from"../chunk-2J6F4EE7.js";
package/dist/ui.css CHANGED
@@ -263,7 +263,7 @@
263
263
  it. The compact app bar is a different, smaller bar Lewis did not pick:
264
264
  it stays 32. */
265
265
  --row-height-menu: 2.25rem;
266
- --row-height-window-bar: 2.75rem;
266
+ --row-height-window-bar: 2rem;
267
267
  --row-height-compact-bar: var(--control-height-md);
268
268
  }
269
269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "7.62.0",
3
+ "version": "7.63.0",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1,29 +0,0 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-CICDIRBN.js";import{useWidgetSettings as n}from"./chunk-54ZASFCH.js";import"./chunk-DSSLOQDW.js";import"./chunk-MHGVLZYL.js";import"./chunk-KYBZBZEP.js";import"./chunk-5A7MWTXX.js";import"./chunk-YJIG2KT3.js";import"./chunk-KNUR2UEG.js";import"./chunk-UNBLH4EQ.js";import"./chunk-UVBK6YSR.js";import"./chunk-DELNCIUK.js";import"./chunk-RDLWLATO.js";import"./chunk-7IQ3B77H.js";import"./chunk-D65T4H6J.js";import"./chunk-FIEA5CGB.js";import"./chunk-K7PQXJO7.js";import{Icon as r}from"./chunk-76DRQSJM.js";import"./chunk-W7W4JMOT.js";import"./chunk-C3QOHMR6.js";import"./chunk-2J6F4EE7.js";import{useState as l,useRef as c,useCallback as i,useEffect as a}from"react";import{jsxs as o,Fragment as s,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function d(){const[d,m]=l("0"),[k,b]=l(null),[p,g]=l(null),[N,y]=l(!1),[x,f]=l(""),[v,C]=l([]),[$,j]=l(!1),[E,w]=l(()=>e(h)),[S,T]=l(!1),[B,L]=l(E),W=c(null);n(i(()=>{L({...E}),T(!0)},[E]));const D=i(e=>{f(""),m(t=>N||"0"===t?(y(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[N]),A=i(()=>{m("0"),b(null),g(null),y(!1)},[]),F=i((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),I=i(e=>{const t=parseFloat(d);if(null!==k&&p&&!N){const e=F(k,t,p);m(String(e)),b(e),C(n=>[`${k} ${p} ${t} = ${e}`,...n].slice(0,20))}else b(t);g(e),y(!0)},[d,k,p,N,F]),J=i(()=>{if(null===k||!p)return;const e=parseFloat(d),t=F(k,e,p),n=`${k} ${p} ${e} =`;C(e=>[`${n} ${t}`,...e].slice(0,20)),f(n),m(String(t)),b(null),g(null),y(!0)},[d,k,p,F]),O=i(()=>{m(e=>String(parseFloat(e)/100))},[]),R=i(()=>{m(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);a(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?D(e.key):"."===e.key?D("."):"+"===e.key?I("+"):"-"===e.key?I("-"):"*"===e.key?I("×"):"/"===e.key?(e.preventDefault(),I("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&W.current?.contains(e.target)&&e.preventDefault(),J()):"Escape"===e.key?A():"Backspace"===e.key?m(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&O())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[D,I,J,A,O]);const H="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",K=`${H} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,M=`${H} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,Q=`${H} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,U=`${H} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
2
- return o(s,{children:[
3
- /* @__PURE__ */o("div",{ref:W,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */o("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
5
- /* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:v.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(x||p&&null!==k)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:x||`${k} ${p} ${N?"":d}`}),
6
- /* @__PURE__ */o("div",{className:"flex items-center gap-2",children:[
7
- /* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(d),j(!0),setTimeout(()=>j(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,$?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
8
- /* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(d)})]})]}),
9
- /* @__PURE__ */o("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
10
- /* @__PURE__ */u("button",{onClick:A,className:Q,children:"AC"}),
11
- /* @__PURE__ */u("button",{onClick:R,className:Q,children:"+/−"}),
12
- /* @__PURE__ */u("button",{onClick:O,className:Q,children:"%"}),
13
- /* @__PURE__ */u("button",{onClick:()=>I("÷"),className:`${M} ${"÷"===p?"ring-2 ring-blue-400":""}`,children:"÷"}),
14
- /* @__PURE__ */u("button",{onClick:()=>D("7"),className:K,children:"7"}),
15
- /* @__PURE__ */u("button",{onClick:()=>D("8"),className:K,children:"8"}),
16
- /* @__PURE__ */u("button",{onClick:()=>D("9"),className:K,children:"9"}),
17
- /* @__PURE__ */u("button",{onClick:()=>I("×"),className:`${M} ${"×"===p?"ring-2 ring-blue-400":""}`,children:"×"}),
18
- /* @__PURE__ */u("button",{onClick:()=>D("4"),className:K,children:"4"}),
19
- /* @__PURE__ */u("button",{onClick:()=>D("5"),className:K,children:"5"}),
20
- /* @__PURE__ */u("button",{onClick:()=>D("6"),className:K,children:"6"}),
21
- /* @__PURE__ */u("button",{onClick:()=>I("-"),className:`${M} ${"-"===p?"ring-2 ring-blue-400":""}`,children:"−"}),
22
- /* @__PURE__ */u("button",{onClick:()=>D("1"),className:K,children:"1"}),
23
- /* @__PURE__ */u("button",{onClick:()=>D("2"),className:K,children:"2"}),
24
- /* @__PURE__ */u("button",{onClick:()=>D("3"),className:K,children:"3"}),
25
- /* @__PURE__ */u("button",{onClick:()=>I("+"),className:`${M} ${"+"===p?"ring-2 ring-blue-400":""}`,children:"+"}),
26
- /* @__PURE__ */u("button",{onClick:()=>D("0"),className:`${K} col-span-2`,children:"0"}),
27
- /* @__PURE__ */u("button",{onClick:()=>D("."),className:K,children:"."}),
28
- /* @__PURE__ */u("button",{onClick:J,className:U,children:"="})]})]}),
29
- /* @__PURE__ */u(t,{open:S,onClose:()=>T(!1),title:"Calculator Settings",appearance:B,onAppearanceChange:L,onSave:()=>{w(B),localStorage.setItem(h,JSON.stringify(B)),T(!1)}})]})}export{d as default};
@@ -1 +0,0 @@
1
- var r="7.62.0",a=r;export{a as APP_VERSION,r as VERSION};