efficient-shell 7.67.0 → 7.68.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.
- package/README.md +7 -2
- package/dist/{Browser-YKQMCWJN.js → Browser-XAZW2RBR.js} +13 -13
- package/dist/Calculator-SVQZ6QZC.js +29 -0
- package/dist/ConfirmDialog-YVFPLUQH.js +1 -0
- package/dist/{CurrencyConverter-OLQEV6VI.js → CurrencyConverter-5IRMYEVS.js} +9 -9
- package/dist/{Documents-M57PJORE.js → Documents-VYOWUFGE.js} +16 -16
- package/dist/{Files-WAYK4MSJ.js → Files-26VNHCKX.js} +35 -35
- package/dist/{Notepad-T3SDT6Z6.js → Notepad-3IAEYS7R.js} +10 -10
- package/dist/PdfViewer-YELEO346.js +1 -0
- package/dist/{PomodoroTimer-U7AMOHMF.js → PomodoroTimer-RNKFOJLQ.js} +68 -68
- package/dist/{Preview-5Q3IKVGD.js → Preview-KLSNIWLJ.js} +55 -55
- package/dist/Sidebar-VLTBZW7T.js +43 -0
- package/dist/{Spreadsheet-K73I3IA5.js → Spreadsheet-OEXWZKTJ.js} +13 -13
- package/dist/{Stock-IJXUEGNO.js → Stock-E3ONHBLF.js} +3 -3
- package/dist/{Weather-W3PSYZMS.js → Weather-N6UO5AWR.js} +16 -16
- package/dist/{WorldClock-2HG7E4OT.js → WorldClock-JC7HTO47.js} +6 -6
- package/dist/ai/index.js +21 -21
- package/dist/apps/index.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/chunk-2EJRVQ3Y.js +1 -0
- package/dist/{chunk-2RSTAB74.js → chunk-2ZRX3NRH.js} +8 -8
- package/dist/{chunk-YZSQ572K.js → chunk-3NYPZO4K.js} +17 -17
- package/dist/{chunk-XUV6NWQ2.js → chunk-5MCD5KGU.js} +16 -16
- package/dist/{chunk-ZZWMAATC.js → chunk-6DPQAV2O.js} +10 -10
- package/dist/{chunk-6NI3V3WV.js → chunk-6I4ZV67D.js} +2 -2
- package/dist/{chunk-5YUIRGPU.js → chunk-7B2YKMAZ.js} +5 -5
- package/dist/{chunk-GOWDMYY4.js → chunk-CMPY5ROK.js} +4 -4
- package/dist/{chunk-64UADSI5.js → chunk-DAMBAXPA.js} +1 -1
- package/dist/chunk-DELNCIUK.js +2 -0
- package/dist/{chunk-BD54BNPH.js → chunk-DUCUZPU3.js} +10 -10
- package/dist/{chunk-Z5PBCZNS.js → chunk-E2G4YXZ4.js} +1 -1
- package/dist/{chunk-RWNNFCSA.js → chunk-EU4BCXGA.js} +1 -1
- package/dist/{chunk-2KJSKZDK.js → chunk-FFRODO6G.js} +1 -1
- package/dist/{chunk-DKNO37NW.js → chunk-FT2Q7FVO.js} +25 -25
- package/dist/{chunk-QMQDQE3W.js → chunk-GN5J7DL6.js} +2 -2
- package/dist/chunk-GODKUFB6.js +1 -0
- package/dist/{chunk-FX3LDKDB.js → chunk-JQ75A2QX.js} +98 -98
- package/dist/{chunk-SCXTNJBZ.js → chunk-L5X6V677.js} +1 -1
- package/dist/{chunk-QDQISPNZ.js → chunk-OKFO3XYS.js} +1 -1
- package/dist/{chunk-LJLP3HMD.js → chunk-PLILMC6A.js} +1 -1
- package/dist/{chunk-YWC7G2CN.js → chunk-R57S7SWU.js} +1 -1
- package/dist/{chunk-3E27HV76.js → chunk-RDLWLATO.js} +2 -2
- package/dist/{chunk-72FYG5AK.js → chunk-SLEWYXMY.js} +1 -1
- package/dist/{chunk-PPFMVR3U.js → chunk-WQCUNSQL.js} +19 -19
- package/dist/{chunk-C3DPVSYL.js → chunk-WWYIGAMX.js} +1 -1
- package/dist/chunk-XWW3SP5W.js +22 -0
- package/dist/{chunk-YIC644QO.js → chunk-YJIG2KT3.js} +3 -3
- package/dist/{chunk-UYIPX3GN.js → chunk-YMIHGT3B.js} +329 -329
- package/dist/file-intake/index.js +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/{index-B6kl2VTe.d.ts → index-Dr5yL2I_.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +215 -212
- package/dist/locales/zh-Hans.d.ts +1 -1
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +8 -8
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/{strings-C_0nDRsv.d.ts → strings-Dh85JfDa.d.ts} +8 -0
- package/dist/telemetry/index.js +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-LXSKGHZ5.js +0 -29
- package/dist/ConfirmDialog-CUGGS4GQ.js +0 -1
- package/dist/PdfViewer-CT6V2SKJ.js +0 -1
- package/dist/Sidebar-BFADXCPU.js +0 -43
- package/dist/chunk-G5GERM76.js +0 -2
- package/dist/chunk-GBP32PVK.js +0 -1
- package/dist/chunk-HDS3ISDZ.js +0 -21
- package/dist/chunk-VGNNRYAM.js +0 -1
package/dist/locales/zh-Hans.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{formatPlain as e,formatGrouped as o,formatFixed as t,formatPercent as a}from"../chunk-C3QOHMR6.js";var i=[],n=/^[A-Za-z0-9]/,r=/[A-Za-z0-9]$/,l=e=>n.test(e)?` ${e}`:e,s=e=>r.test(e)?`${e} `:e,d=e=>s(l(e));function c(i="zh-Hans"){const n=o=>e(o,i),r=e=>o(e,i),c=(e,o)=>t(e,o,i),p=(e,o)=>a(e,o,i);return{window:{minimize:"最小化",restore:"还原",maximize:"最大化",windowed:"向下还原",pinOnTop:"置顶",unpin:"取消置顶",close:"关闭",windowSuffix:"窗口",prev:"上一条",next:"下一条",snapLayouts:"贴靠布局",snapLeft:"贴靠到左半屏",snapRight:"贴靠到右半屏",snapTopLeft:"贴靠到左上角",snapTopRight:"贴靠到右上角",snapBottomLeft:"贴靠到左下角",snapBottomRight:"贴靠到右下角"},taskbar:{closeWindow:"关闭窗口",offscreenHint:"此窗口位于屏幕之外,点击即可移回",offscreenDot:"位于屏幕之外,点击即可移回此窗口",expose:"窗口概览:以缩略图显示所有打开的窗口",addToDesktop:"添加到桌面",removeFromDesktop:"从桌面移除",minimizeAllWindows:"全部最小化",restoreAllWindows:"全部还原",closeAllWindows:"全部关闭"},logout:{goodbye:"再见",seeYou:"下次再见"},about:{aboutPrefix:"关于",thisApp:"本应用",openSourceLicenses:"开源许可",whatsNew:"更新内容",noChangelog:"暂无更新日志。"},table:{empty:"暂无数据",loading:"加载中",selectAll:"选择全部行",selectRow:"选择此行"},select:{none:"— 无 —",noMatches:"无匹配项",allSelected:"已选择全部选项",clear:"清除所选",clearAll:"全部清除",changed:"已更改",selectedCount:e=>`已选 ${n(e)} 项`,remove:"移除",removeItem:e=>`移除${l(e)}`},notifications:{title:"通知",markAllRead:"全部标为已读",dnd:"勿扰模式",dndOn:"勿扰模式已开启",caughtUp:"全部已读",empty:"暂无通知",viewAll:"查看全部通知",byActor:e=>`由 ${e}`,cardLabel:"通知",dismiss:"关闭通知"},form:{errorSummaryTitle:"存在以下问题"},help:{title:"帮助",searchPlaceholder:"搜索帮助…",empty:"暂无帮助文章。",noResults:"没有符合搜索条件的文章。",loading:"加载中",pickArticle:"请从左侧选择一篇帮助文章。",noBody:"这篇文章暂无内容。",draft:"草稿",newArticle:"+ 新建",edit:"编辑"},update:{available:"有新版本可用。",refreshNow:"立即刷新"},pageTabs:{label:"已打开的页面",close:"关闭",closeTab:e=>`关闭${l(e)}`,closeOthers:"关闭其他标签页",closeRight:"关闭右侧标签页",closeAll:"关闭全部标签页",unsaved:"有未保存的更改",copy:e=>`复制${l(e)}`,copied:"已复制",tabMenu:"窗口菜单",discardTitle:"放弃未保存的更改?",discardOne:"此页面有尚未保存的更改。仍要关闭吗?",discardMany:"个页面有尚未保存的更改。仍要关闭吗?",discardCount:e=>`有 ${n(e)} 个页面的更改尚未保存。仍要关闭吗?`,discardConfirm:"放弃并关闭",keepEditing:"继续编辑"},dialog:{close:"关闭",cancel:"取消",ok:"确定",confirmTitle:"确认",destructiveTitle:"确认操作",destructiveCancel:"返回",destructiveConfirm:"删除",typeToConfirm:e=>`请输入 ${e} 以确认:`,promptTitle:"请输入内容"},calendar:{previousMonth:"上个月",nextMonth:"下个月",previousYear:"上一年",nextYear:"下一年",previousYears:"上一组年份",nextYears:"下一组年份",monthPanel:"选择月份",yearPanel:"选择年份",chooseMonth:e=>`选择月份,当前为${l(e)}`,chooseYear:e=>`选择年份,当前为 ${e} 年`},datePicker:{placeholder:"选择日期",dialog:"选择日期",clear:"清除",today:"今天",required:"必填"},dateRange:{placeholder:"日期范围",clearRange:"清除日期范围",dialog:"日期范围",from:"从",to:"至",start:"开始日期",end:"结束日期",fromOnly:e=>`自 ${e} 起`,toOnly:e=>`截至 ${e}`,range:(e,o)=>`${e} 至 ${o}`,required:"必填",last2Weeks:"过去 2 周",lastMonth:"上个月",last3Months:"过去 3 个月",last6Months:"过去 6 个月",last12Months:"过去 12 个月",lastHeading:"过去",last2WeeksShort:"2 周",lastMonthShort:"上个月",last3MonthsShort:"3 个月",last6MonthsShort:"6 个月",last12MonthsShort:"12 个月",custom:"自定义",clear:"清除",cancel:"取消",apply:"应用"},pagination:{label:"分页",first:"第一页",previous:"上一页",next:"下一页",last:"最后一页"},list:{selected:e=>`已选 ${n(e)} 项`,selectedNotShown:(e,o)=>`已选 ${n(e)} 项,${n(o)} 项未显示`,allLoaded:(e,o)=>`已加载全部 ${r(e)} ${o}`,count:(e,o)=>`共 ${r(e)} ${o}`,loadedOf:(e,o,t)=>`已加载 ${r(e)} / ${r(o)} ${t}`,loadingMore:"正在加载更多",loadError:"无法加载此列表",loadErrorMessage:"获取这些记录时出错。请检查网络连接后重试。",retry:"重试"},kanban:{loading:"加载中",empty:"暂无条目。",dropHere:"拖放到此处",addItem:"添加条目"},files:{attach:"添加附件",drop:"松开即可添加附件",remove:e=>`移除${l(e)}`,chooseMany:"选择文件",chooseOne:"选择文件",dragMany:"或拖放到此处",dragOne:"或拖放到此处",notAccepted:(e,o)=>`${s(e)}的文件类型不受支持${o?`(${o})`:""}`,tooLarge:(e,o,t)=>`${s(e)}大小为 ${o},上限为 ${t}`,tooMany:(e,o)=>`未添加${l(e)}:最多只能添加 ${n(o)} 个文件`,bytes:e=>`${n(e)} B`,kilobytes:e=>`${n(e)} KB`,megabytes:e=>`${c(e,1)} MB`},media:{uploadImage:"上传图片",uploadVideo:"上传视频",uploadFile:"上传文件",upload:"上传媒体",cta:"从媒体库选择或上传",replace:"替换",remove:"移除",uploading:"上传中",cover:"封面",add:"添加",addMedia:"添加媒体",empty:"暂无媒体。",removeItem:e=>`移除${l(e)}`,reorder:(e,o,t)=>`${e},第 ${n(o)} 项,共 ${n(t)} 项。使用方向键调整顺序。`,image:"图片",video:"视频",changeImage:"更换图片",changeVideo:"更换视频",focus:"图片焦点"},brandAsset:{save:(e,o)=>`保存${l(o)}`,remove:(e,o)=>`移除${l(o)}`,discard:"放弃更改",saveFailed:(e,o)=>`无法保存${l(o)}。`,removeFailed:(e,o)=>`无法移除${l(o)}。`,region:(e,o)=>`${s(o)}的${e}`,usedFor:e=>`用于${l(e)}。`,previews:e=>`${s(e)}预览`,preview:"预览",alt:(e,o)=>`${s(e)}${o}`},copy:{copy:"复制",copyLabel:e=>`复制${l(e)}`,copied:"已复制",copyValue:e=>`复制${l(e)}`,copiedValue:"已复制!",copiedLabel:e=>`已复制${l(e)}`,failed:"无法复制到剪贴板"},keypad:{backspace:"退格",enter:"确认"},banner:{dismiss:"关闭"},transfer:{uploading:"上传中",error:"出错",retry:"重试",dismiss:"关闭",cancel:"取消",cancelVerb:e=>`取消${l(String(e).replace(/中$/,""))}`},badge:{remove:"移除",removeItem:e=>`移除${l(e)}`},breadcrumbs:{label:"面包屑导航",hidden:"已隐藏的层级"},emptyState:{message:"暂无内容。"},errors:{notFound:"找不到页面",notFoundBody:"您访问的页面不存在或已被移动。",forbidden:"访问被拒绝",forbiddenBody:"您没有查看此页面的权限。",noAccess:"您无权访问此内容",serverError:"出错了",serverErrorBody:"发生意外错误,请重试。",retry:"重试",details:"错误详情"},search:{placeholder:"搜索…",escBadge:"ESC",searching:"搜索中",noResults:"未找到结果。",minChars:e=>`请至少输入 ${n(e)} 个字符再搜索…`,navigate:"切换",open:"打开",close:"关闭",enterKey:"Enter",escKey:"Esc",recent:"最近",favorites:"收藏",actions:"操作",listLabel:"搜索结果",groupCount:(e,o)=>`${n(e)}${o?"+":""}`,groupLabel:(e,o,t)=>`${e},${n(o)}${t?"+":""} 项`,seeAll:e=>`查看全部${l(e)}`,searchFailed:"搜索失败,请检查网络连接后重试。",partialFailure:"部分结果未能加载。",tabKey:"Tab",nextGroup:"下一组"},grid:{selectAll:"全选",insertRowAbove:"在上方插入行",insertRowBelow:"在下方插入行",deleteRow:e=>`删除第 ${e} 行`,insertColumnLeft:"在左侧插入列",insertColumnRight:"在右侧插入列",deleteColumn:e=>`删除${d(e)}列`,resize:"拖动调整大小 · 双击自动适应",fill:"拖动填充"},sidebar:{resize:"拖动调整大小 · 双击重置",sections:"栏目",closeSections:"关闭栏目"},resizeHandle:{label:"调整面板大小",hint:"拖动调整大小 · 双击重置"},number:{increase:"增加",decrease:"减少"},slider:{value:e=>`${s(e)}数值`},accordion:{changed:e=>`已更改 ${e} 项`},settingView:{auto:"自动",edited:"已在此视图中更改",resetName:e=>`重置${l(e)}`,inheritName:e=>`${s(e)}继承上级布局`,inheritParentLayout:"继承上级布局",backToDefault:"恢复为网站默认值",backToAuto:"恢复为自动",backTo:e=>`恢复为${l(e)}`,tip:(e,o)=>`${e}(${o})`},displayChips:{shown:"显示中",hidden:"已隐藏",shownHint:"显示中 · 点击隐藏",hiddenHint:"已隐藏 · 点击显示"},corners:{radius:"圆角半径",unit:"px",radiusMark:"R"},iconPicker:{button:(e,o)=>`${e}:${o}`},iconNames:{none:"无","arrow-right":"箭头","arrow-long-right":"长箭头","arrow-up-right":"右上箭头","chevron-right":"尖括号",external:"外部链接",cart:"购物车",bag:"购物袋",tag:"标签",email:"邮件",location:"位置",play:"播放",download:"下载",search:"搜索",car:"汽车"},widths:{column:e=>`第 ${e} 栏`,divider:(e,o)=>`第 ${e} 栏和第 ${o} 栏之间的分隔线`,dividerValue:(e,o,t,a)=>`第 ${e} 栏 ${p(o,0)},第 ${t} 栏 ${p(a,0)}`,dragHint:"拖动来调整栏宽",hint:(e,o)=>`输入宽度,或拖动分隔线。每栏不少于 ${p(o,0)}。`,reset:"恢复等宽"},color:{swatch:(e,o)=>`${e}:${o}`,none:"无",panel:e=>`${s(e)}选择器`,square:"饱和度和亮度",squareValue:(e,o)=>`饱和度 ${p(e,0)},亮度 ${p(o,0)}`,hue:"色相",opacity:e=>`${s(e)}不透明度`,hex:e=>`${s(e)}十六进制色值`,presets:"预设",clear:"无颜色"},imageFocus:{picture:(e,o)=>`${e}:${o}`,hint:"拖动图片上的圆点,或用方向键移动。按住 Shift 可移动更多。",noImage:"请先选择图片,目前还没有可设置焦点的图片。"},link:{linkType:"链接类型",address:"链接地址",addressPlaceholder:"链接(本站页面 /… 或 https://…)",unsafe:"请使用网址(https://…)、本站页面(/…)、mailto: 或 tel:。",unavailable:e=>`${e}(不可用)`,filter:"筛选",noFilter:"不筛选(全部产品)",value:"值",filterHint:"筛选项来自产品类型。只列出本站目录中有的值。",title:"链接",apply:"应用",cancel:"取消",remove:"移除",addLink:"添加链接",text:e=>`${s(e)}文字`,linkOf:(e,o)=>`${s(e)}链接:${o||"无"}`},textToolbar:{formatting:"格式",bold:"粗体",italic:"斜体",underline:"下划线",strike:"删除线",color:"颜色",link:"链接",sup:"上标",sub:"下标",code:"代码",alignment:"对齐",alignLeft:"左对齐",alignCenter:"居中",alignRight:"右对齐",alignJustify:"两端对齐",bullet:"项目符号列表",number:"编号列表",quote:"引用",letterCase:"大小写",caseNone:"常规",caseUpper:"大写",caseLower:"小写"},tree:{empty:"暂无内容",dropHere:"拖放到此处",dragHint:"拖动以移动",moveHint:"按 Alt+向上键或 Alt+向下键可移动此项",insertHere:"在此处插入"},layout:{desktop:"桌面",sidebar:"侧边栏",switchToDesktop:"切换到桌面模式",switchToSidebar:"切换到侧边栏模式",collapseSidebar:"收起侧边栏",expandSidebar:"展开侧边栏",goHome:"返回主页",resizeSidebar:"调整侧边栏宽度",search:"搜索…",navLabel:"主菜单",openWindows:"已打开的窗口",pageResult:"页面",accountMenu:e=>`${s(e)}的账户菜单`,profile:"个人资料",notifications:"通知",reportIssue:"建议与问题反馈",signOut:"退出登录",signOutTitle:"退出登录",signOutMessage:"您确定要退出登录吗?重新登录后将重新打开所有窗口。",openMenu:"打开菜单",closeMenu:"关闭菜单",openTabs:"已打开的标签页",getTheApp:e=>`获取 ${e} 应用`,openApp:"打开",dismiss:"不再显示",deviceUsesSidebar:"此设备始终使用侧边栏布局。在电脑上登录时,您的选择仍然有效。",largerScreensOnly:"仅限较大屏幕",usedOnThisDevice:"此设备正在使用",back:"返回"},markdown:{screenshot:"截图"},severity:{success:"正常",warning:"警告",danger:"严重",unrecognised:e=>`未识别的严重级别${l(e)}`},meter:{noData:"无数据",warningAt:e=>`警告 ≥ ${n(e)}`,criticalAt:e=>`严重 ≥ ${n(e)}`,noReading:"无读数",noBudget:"无预算",ofBudget:e=>`预算的 ${e}`,budget:"预算",pace:"此刻应达到",hoursMinutes:(e,o)=>`${n(e)} 小时 ${n(o)} 分`,minutesSeconds:(e,o)=>`${n(e)} 分 ${n(o)} 秒`,seconds:e=>`${n(e)} 秒`},charts:{showTable:"以表格显示数据",loading:"正在加载图表数据",noData:"此时间段内无数据。",windowStart:"时间段起点",windowEnd:"时间段终点",window:(e,o,t)=>`时间段:正在显示 ${e} 至 ${o},共 ${n(t)} 个区间`,overIntervals:(e,o)=>`${e.join("、")},共 ${n(o)} 个区间`,acrossCategories:(e,o)=>`${e.join("、")},共 ${n(o)} 个类别`,acrossMeasures:(e,o)=>`${e.join("、")},共 ${n(o)} 项指标`,breakdown:(e,o)=>`${s(e)}的构成,共 ${n(o)} 个部分`,funnel:(e,o,t)=>`漏斗图,共 ${n(e)} 个阶段,从${d(o)}到${l(t)}`,radialTrack:e=>`${n(e)} 个类别,以同心环占比显示`,radialCycle:e=>`${n(e)} 个类别,按环形周期排列`,tableFrom:"来源",tableTo:"去向",tableItem:"项目",tableLevel:"层级",tableSeries:"系列",inBucket:e=>`此区间内共 ${e}`,inCategory:e=>`此类别内共 ${e}`,value:"数值",share:"占比",count:"数量",flow:"流量",totalFlow:"总流量",throughput:"通过量",open:"开盘",high:"最高",low:"最低",close:"收盘",maximum:"最大值",q3:"Q3",median:"中位数",q1:"Q1",minimum:"最小值",distribution:"分布",fiveNumber:(e,o)=>`${e}:${n(o)} 个类别的五数概括`,outliers:e=>`${n(e)} 个离群值超出须线范围`,price:"价格",ohlc:(e,o)=>`${e}:${n(o)} 个周期的开盘、最高、最低和收盘`,closedAbove:"收盘高于开盘",closedBelow:"收盘低于开盘",noFlows:"没有可绘制的流量。",chord:e=>`${n(e)} 个参与方之间的流量`,chordFolded:e=>`另有 ${n(e)} 个参与方归入"其他"`,noStages:"没有可绘制的阶段。",ofFirstStage:"占首阶段",droppedHere:"此处流失",intensity:"强度",noActivity:"此时间段内无活动。",heatmap:(e,o,t)=>`${e},${n(o)} 行 ${n(t)} 列`,countAxis:"数量",histogram:(e,o,t)=>`${e}:${n(t)} 个观测值,分为 ${n(o)} 组`,observations:"观测值",notEnough:"符合条件的请求不足,无法判断。",objectiveMet:e=>`已达到目标 ${e}`,objectiveMissed:e=>`未达到目标 ${e}`,nothingToPlot:"没有可绘制的数据。",nothingToCompare:"没有可比较的数据。",other:"其他",nothingToBreakDown:"没有可细分的数据。",range:"范围",rangeLabel:(e,o)=>`${e}:${n(o)} 个类别的最低值和最高值`,nothingToRank:"此时间段内没有可排名的数据。",emphasised:"(重点)",sankey:(e,o)=>`${n(e)} 个节点之间的流量,共 ${n(o)} 条连接`,noObservations:"此时间段内无观测值。",xAxis:"x",yAxis:"y",size:"大小",scatter:(e,o,t)=>`${e.join("、")}:${s(o)}与${d(t)}的关系`,outsideRange:e=>`${n(e)} 个点超出显示范围`,waterfall:(e,o,t)=>`瀑布图,共 ${n(e)} 步,从${d(o)}到${l(t)}`,balance:"余额",increase:"增加",decrease:"减少",runningTotal:"累计",sunburst:(e,o)=>`${s(e)}的层级构成,共 ${n(o)} 层`,treemap:e=>`矩形树图,共 ${n(e)} 项`,trendUp:"上升",trendDown:"下降",trendFlat:"持平"},timeline:{days:e=>`${r(e)} 天`,daysToToday:e=>`距今 ${r(e)} 天`,notReached:"尚未达成",next:"下一项",more:e=>`还有 ${n(e)} 项`,today:"今天",todayTitle:e=>`今天:${e}`,open:e=>`打开${l(e)}`,openButton:"打开",scrub:"拖动浏览时间线",alsoToCome:e=>`后续还有:${e.join("、")}`,start:e=>`开始 · ${e}`,events:(e,o)=>`${n(e)} 个事件 · ${o.join("、")}`,started:e=>`开始于 ${e}`,duration:e=>`${r(e)} 天`,reached:(e,o)=>`已达成 ${n(e)} / ${n(o)} 个里程碑`,milestones:e=>`${s(e)}里程碑`},production:{heading:"生产进度",start:"开始",estimated:"预计",estimatedCompletion:"预计完成",estDone:"预计完工",play:"播放",pause:"暂停",playTitle:"逐份报告播放时间线",backTo:e=>`返回${l(e)}`,showing:e=>`正在显示 ${e}`,overall:e=>`总体 ${p(e,0)}`,inStock:e=>`库存 ${r(e)} 件`,noReport:"尚未提交生产报告",leadTime:e=>`交货周期 ${r(e)} 天`,report:"生产报告",shipment:"发货",inspection:"检验",invoice:"发票",scrub:"拖动浏览生产时间线",label:(e,o)=>`生产报告和事件,${e} 至 ${o}`},containers:{items:e=>`${n(e)} 项`,pieces:e=>`${n(e)} 件`,split:(e,o)=>`(指令 ${n(e)} / 已装 ${n(o)})`,added:(e,o)=>`新增 ${n(e)} 项(${n(o)} 件)`,fill:(e,o)=>`${c(e,1)} / ${n(o)} m³`,total:"合计:",instructed:e=>`指令 ${c(e,2)} m³`,loaded:e=>`已装 ${c(e,2)} m³`,volume:e=>`${c(e,2)} m³`,noVolume:"体积:暂无(这些料号没有体积数据)"},toast:{notification:"通知",undo:"撤销"},map:{failed:"无法在此处绘制地图。列表中包含地图显示的全部内容。",approximate:e=>`${e},大致位置`,approximateTitle:e=>`${e}(大致位置)`,places:()=>"地点",group:(e,o)=>`此处有 ${n(e)} 个${l(o)}`,stops:e=>`第 ${e} 站`,closeBy:(e,o)=>`附近还有 ${n(e)} 个${l(o)},放大地图后显示`,spread:"点按以分开查看",cycle:"这些地点位于同一位置:点按查看下一个",fullScreen:"全屏",leaveFullScreen:"退出全屏",chosen:e=>`${e},已在地图上选中`,closeCard:"关闭",openRecord:"打开"},pdf:{previousPage:"上一页",nextPage:"下一页",pageOf:(e,o)=>`${n(e)} / ${n(o)}`,zoomOut:"缩小",zoomIn:"放大",zoom:"缩放",fitWidth:"适合宽度",fitPage:"适合页面",fit:"适应",fitHint:"适应窗格:随窗格大小变化,直到您手动缩放",print:"打印",download:"下载",email:"发送邮件",loading:"正在加载 PDF",loadFailed:"PDF 加载失败",allowPopups:"请允许弹出窗口以便打印"},loading:{label:"加载中"},language:{title:"语言",description:"菜单、标签和消息所使用的语言。",reloadNote:"更改语言后页面将重新加载。"},entityList:{open:"打开",copy:"复制",copyColumn:e=>`复制${l(e)}`,copyRows:e=>1===e?"复制此行":`复制 ${n(e)} 行`,exportSelected:"将所选导出为 CSV",selectAll:"全选",selectAllLoaded:e=>`全选已加载的 ${n(e)} 项`,clearSelection:"清除所选",refresh:"刷新",copiedText:"文本",copiedRows:e=>1===e?"该行":`${n(e)} 行`,exported:e=>`已导出 ${n(e)} 行。`,exportTruncated:(e,o)=>`仅导出了 ${n(o)} 行中的 ${n(e)} 行。服务器限制了本次导出,文件不完整。`,exportTruncatedUnknown:e=>`仅导出了 ${n(e)} 行中的一部分。服务器限制了本次导出,文件不完整。`,exportFailed:"CSV 导出失败。"},columns:{choose:"选择列",heading:"列",reset:"重置",saveDefault:"保存为所有用户的默认设置",savedDefault:"已保存为默认设置",select:"选择",selectDone:"完成",showSelection:"显示选择列",hideSelection:"隐藏选择列"},record:{loading:"正在加载记录",signInRequired:"需要登录",signInBody:"您的会话可能已过期。请重新登录以打开此记录。",notFound:"未找到记录",loadFailed:"无法加载记录",checkConnection:"请检查网络连接后重试。",rejected:"服务器拒绝了此请求。",retry:"重试"},password:{current:"当前密码",newPassword:"新密码",confirm:"确认密码",submit:"修改密码",submitting:"修改中",done:"完成",currentRequired:"请输入当前密码。",tooShort:e=>`新密码至少需要 ${n(e)} 个字符。`,mismatch:"两次输入的密码不一致。",failed:"修改密码失败。",changed:"您的密码已修改成功。"},pdfAction:{label:"PDF",loading:"加载中",preview:"预览",download:"下载",email:"通过邮件发送",downloaded:e=>`${s(e)}已下载。`,tookTooLong:e=>`${s(e)}加载时间过长,请重试。`,previewLoading:"正在加载 PDF",previewTookTooLong:"此文档加载时间过长。请关闭此窗口后重试。",previewFailed:"PDF 加载失败。"},undo:{undo:"撤销",redo:"重做",undoStep:(e,o)=>`撤销${l(e)}(${o})`,redoStep:(e,o)=>`重做${l(e)}(${o})`,nothingToUndo:"没有可撤销的操作",nothingToRedo:"没有可重做的操作"},sounds:{title:"声音",enable:"音效",autosave:"更改会自动保存",choice:(e,o)=>`${e}:${o}`,packClassic:"经典",packMinimal:"极简",packRetro:"复古",packSoft:"柔和",packArcade:"街机",packSilent:"静音",eventClick:"点击",eventSuccess:"成功",eventError:"错误",eventNotification:"通知",eventStartup:"启动",eventTimerDone:"计时结束",eventLogout:"退出登录"},serverStatus:{connected:"已连接",disconnected:"已断开",checking:"检测中",lastOkTitle:(e,o)=>`${e} · 上次正常 ${o}`,details:"服务器连接详情",lastPoll:e=>`上次轮询:${e}。`,lastFailure:e=>`上次失败:${e}。`,firstPoll:"首次轮询进行中",server:"服务器",protocol:"协议",browser:"浏览器",online:"在线",offline:"离线",lastOk:"上次正常",lastFail:"上次失败",latency:"延迟",poll:"轮询",pollEvery:e=>`每 ${n(e)} 秒`,session:"会话",user:"用户",notSignedIn:"未登录",role:"角色",build:"构建",app:"应用",userAgent:"用户代理",pingHint:"点击 ↻ 立即检测",refresh:"刷新"},bulkImport:{description:"可从电子表格粘贴、直接输入或上传 CSV。行无需按顺序排列,系统会自动匹配。列表中没有的值将添加到末尾。留空的字段不受影响。",lines:e=>`${n(e)} 行`,total:(e,o)=>`${e}:${o}`,clear:"清除",upload:"上传 CSV",importLines:e=>`导入 ${n(e)} 行`,importing:"导入中",importFailed:"导入失败。",enterAtLeastOne:(e,o)=>`请至少输入一个${l(o)||"值"}。`,allSkipped:"所有行均已跳过。",cancel:"取消",mapTitle:"将 CSV 列映射到字段",skip:"— 跳过 —",columnOption:(e,o)=>`第 ${n(e)} 列(例如 ${o})`,rowsDetected:e=>`检测到 ${n(e)} 行`,confirmMapping:"确认映射",duplicatesTitle:"检测到重复项",duplicatesFound:e=>`导入内容中有 ${n(e)} 个值出现了多次。请先选择每个值的处理方式,然后再继续。`,occurrences:e=>`出现 ${n(e)} 次`,keepFirst:"保留第一个",keepLast:"保留最后一个",keepAll:"全部保留",skipAll:"全部跳过",keptDropped:(e,o)=>`保留 ${n(e)} · 丢弃 ${n(o)}`,proceed:"继续",duplicatesMerged:e=>`有 ${n(e)} 个值出现了多次。每个值已合并为一行,数量已累加,请检查后再继续。`,mergedFrom:"合并自",mergedRows:e=>`${n(e)} 行`,mergeSummary:(e,o)=>`${n(e)} 个重复行 → 合并为 ${n(o)} 行`},preview:{windowTitle:e=>`${e} - 预览`,untitled:"未命名",open:"打开",formats:"PDF · DXF · 3D · 图片",dropHere:e=>`将文件拖放到此处,或点击${e}。`,supportedFormats:"支持的格式",formatPdf:"多页文档查看器",formatDxf:e=>`矢量 CAD 图纸(可选依赖 ${e})`,format3d:e=>`3D 模型(可选依赖 ${e})`,formatImage:"位图图片",dwgNote:"DWG 文件需先在服务器端转换为 PDF 或 DXF。",dropToOpen:"松开以打开",dwgUnsupported:"DWG 文件需要在服务器端转换。请先转换为 PDF 或 DXF。",unsupportedType:e=>e?`不支持的文件类型:.${e}`:"不支持的文件类型:未知",converting:"正在转换文件",download:"下载",email:"发送邮件",howToNavigate:"操作方法",stopMeasuring:"停止测量(Esc)",scrollToZoom:"滚动缩放",closePanel:"关闭",annotate:"标注",annotateHint:"标注此图片",view:"查看",viewHint:"返回查看器",copy:"复制",save:"保存",imageFailed:"图片加载失败。",downloadFailed:"下载失败:无法访问该文件。"},drawing:{loading:"正在加载图纸",notInstalled:"此应用未安装 dxf-viewer。",renderFailed:"DXF 渲染失败。",layers:"图层",layersHint:"切换图层可见性",allLayers:"全部",noLayers:"无",measure:"测量",measureHint:"测量距离:在图纸上点击两点,或在下方输入 DI / DIM",auto:"自动",autoHint:"自动:等同 AutoCAD 的 DIMLINEAR,测量两个拾取点之间 ΔX 与 ΔY 中较大的一个",horizontalHint:"水平:两个拾取点之间沿 X 轴的距离(AutoCAD DIMLINEAR 水平)",verticalHint:"垂直:两个拾取点之间沿 Y 轴的距离(AutoCAD DIMLINEAR 垂直)",point:"两点",pointHint:"两点:两个拾取点之间的直线(欧氏)距离(AutoCAD DIST)",fixX:"固定 Δx",fixY:"固定 Δy",fixHint:"将第二个拾取点在该轴上的坐标锁定为第一个拾取点加上此值(mm)。此时显示的测量值为正交方向的距离。",clearFixed:"清除固定距离",horizontalDistance:e=>"两个拾取点之间的水平距离(Δx)"+(e?":自动模式已判定为 X 轴":""),verticalDistance:e=>"两个拾取点之间的垂直距离(Δy)"+(e?":自动模式已判定为 Y 轴":""),straightDistance:"两个拾取点之间的直线距离",fit:"适应",fitHint:"使图纸适应视图",dragToPan:"拖动平移",fitToReset:"点“适应”重置",typeToMeasure:e=>`输入 ${e} 进行测量`,commandPlaceholder:"输入命令:DI、DIM、H、V、Z、LA(输入 ? 查看帮助)",commandHelp:"命令:DI 距离 · DIM/DLI 线性标注 · H / V 强制轴向 · <数值> 锁定 Δ · U 撤销拾取 · Z 适应 · LA 图层 · Esc 退出",echoDistance:(e,o,t)=>`距离 = ${e} ΔX = ${o} ΔY = ${t}`,echoLinear:(e,o)=>`线性标注 = ${e}(${o})`,echoLocked:(e,o,t,a)=>`${e} = ${o},${t} 锁定为 ${a}`,axisLocked:(e,o)=>`${e} 已锁定为 ${o},标签显示的是正交方向的距离`,fixedCleared:"已清除固定距离。",fixedNeedsAxis:"固定距离仅适用于 H 或 V 模式,请先输入 H 或 V。",echoDist:"DIST:点击两点;直线距离(按 Esc 退出)",echoDimLinear:"DIMLINEAR:点击两点;测量 ΔX 与 ΔY 中较大的一个(输入 H / V 可强制轴向)",echoHorizontal:"水平:两个拾取点之间的 ΔX",echoVertical:"垂直:两个拾取点之间的 ΔY",echoAuto:"自动(DIMLINEAR):沿两个拾取点的主轴方向测量",measureOn:"测量已开启,请点击两点。",measureOff:"测量已关闭。",pickRemoved:"已移除上一个拾取点。",zoomExtents:"已缩放至全图。",layersToggled:"已切换图层面板。",measurementCleared:"已清除测量结果。",readOnly:e=>`${e} 是绘图命令,而“预览”是只读查看器。测量命令:DI、DIM、H、V(输入 ? 查看帮助)`,unknownCommand:e=>`未知命令“${e}”,请尝试 DI、DIM、H、V、Z、LA(输入 ? 查看帮助)`,cancelled:"*取消*"},model:{loading:"正在加载 3D 模型",stepNote:"STEP 文件首次使用时需加载 OpenCascade WASM(约 5 MB)。",notInstalled:"此应用未安装 online-3d-viewer。安装后即可查看 3D 文件。",loadFailed:"3D 模型加载失败。",rootNode:"根节点",node:"节点",collapse:"收起",expand:"展开",fitToView:"适应视图",hide:"隐藏",show:"显示",isometric:"轴测",isometricView:"等轴测视图",top:"俯视",topView:"俯视图",front:"前视",frontView:"前视图",side:"侧视",sideView:"侧视图",perspective:"透视",orthographic:"正交",toPerspective:"切换到透视视图",toOrthographic:"切换到正交视图",snapshot:"将快照保存为 PNG",measureHint:"测量距离:在模型上点击两点",point:"两点",pointHint:"两点:测量两个拾取点之间的直线距离",perpendicularHint:"垂直:拾取两个面,测量它们之间的垂直间距",straightDistance:"两个拾取点之间的直线距离",perpendicularDistance:"两个拾取面之间的垂直距离",meshesHint:"显示或隐藏网格面板",displayHint:"显示或隐藏显示设置面板",downloadOriginal:"下载原始文件",meshes:"网格",readingModel:"正在读取模型",noStructure:"无可用结构",allVisible:"全部可见",hiddenCount:e=>`已隐藏 ${n(e)} 个`,dragToRotate:"拖动旋转",rightDragToPan:"右键拖动平移",display:"模型显示",backgroundColor:"背景颜色",showEdges:"显示边线",edgeColor:"边线颜色",edgeThreshold:"边线阈值",sectionView:"剖面视图",angle:"角度",axis:"轴",flipHint:"翻转剖切方向",flip:"翻转 →",flipped:"← 已翻转",position:"位置",resetDisplay:"恢复默认"},annotator:{toolSelect:"选择 / 移动",toolDraw:"画笔 / 手绘",toolRect:"矩形",toolEllipse:"椭圆",toolArrow:"箭头",toolMosaic:"马赛克",toolText:"文字",toolCrop:"裁剪",weight:"粗细",radius:"圆角",size:"大小",padding:"边距",fontSystem:"系统",fontSerif:"衬线",fontMono:"等宽",fontCursive:"手写",bold:"加粗",boldLetter:"B",italic:"斜体",italicLetter:"I",underline:"下划线",underlineLetter:"U",border:"边框",borderColor:"文本框边框颜色",addBorder:"添加边框",removeBorder:"移除边框",fill:"填充",fillColor:"文本框背景颜色",addFill:"添加背景填充",removeFill:"移除填充",add:"添加",zoomOut:"缩小",zoomIn:"放大",fit:"适应",fitHint:"适应区域",undo:"撤销",applyCrop:"应用裁剪",cancel:"取消",apply:"应用",hintSelected:"拖动可移动。拖动边角可调整大小。按 Delete / Backspace 可删除。点击外部可取消选择。",hintSelect:"点按形状即可选中。双击文字即可编辑。",hintText:"点击以放置文字标签。",hintCrop:"拖出一个矩形以设定裁剪区域。",hintDraw:"拖动以自由绘制。",hintShape:"在图片上拖动以绘制。",textPlaceholder:"输入后按 Enter…",loadFailed:"图片加载失败",exportFailed:"导出失败",clipboardUnsupported:"此浏览器不支持将图片复制到剪贴板",copyFailed:"复制失败",copied:"已复制到剪贴板",copyRefused:"复制失败(没有剪贴板权限?)"},attachment:{fallbackName:"附件",noLink:"此附件没有下载链接。",spreadsheetFailed:"无法打开电子表格,将改为直接打开文件。",workbookUnavailable:"此文件类型不支持电子表格预览,将改为直接打开文件。",noViewer:"没有可在此显示该文件的查看器,将在应用外打开。",loading:"正在加载文件",loadFailed:"文件加载失败。"},aboutApp:{title:e=>`关于${l(e)}`,version:e=>`版本 ${e}`,partOf:e=>`属于 ${e} 桌面环境`,shellVersion:e=>`外壳 v${e}`,spreadsheet:"多工作表电子表格编辑器,支持导入和导出 CSV / TSV。",notepad:"带颜色标记的便笺,支持清单、桌面便签和实体自动链接。",documents:"信纸版面的编辑器,适用于 Word 文档和纯文本文件,支持图片、列表和对齐。",preview:"PDF 文档、图片、DXF 图纸和 3D 模型的查看器,支持带对象捕捉的 CAD 式测量和类似 AutoCAD 的命令栏。",files:"个人文件管理器,支持文件夹、上传、配额、回收站和桌面快捷文件夹。",browser:"简洁的网页浏览器,带书签、历史记录和导航栏。"}}}var p=c;export{i as ZH_HANS_REVIEWED_SECTIONS,p as default,c as zhHansStrings};
|
|
1
|
+
import{formatPlain as e,formatGrouped as o,formatFixed as t,formatPercent as a}from"../chunk-C3QOHMR6.js";var i=[],n=/^[A-Za-z0-9]/,r=/[A-Za-z0-9]$/,l=e=>n.test(e)?` ${e}`:e,s=e=>r.test(e)?`${e} `:e,d=e=>s(l(e));function c(i="zh-Hans"){const n=o=>e(o,i),r=e=>o(e,i),c=(e,o)=>t(e,o,i),p=(e,o)=>a(e,o,i);return{window:{minimize:"最小化",restore:"还原",maximize:"最大化",windowed:"向下还原",pinOnTop:"置顶",unpin:"取消置顶",close:"关闭",windowSuffix:"窗口",prev:"上一条",next:"下一条",snapLayouts:"贴靠布局",snapLeft:"贴靠到左半屏",snapRight:"贴靠到右半屏",snapTopLeft:"贴靠到左上角",snapTopRight:"贴靠到右上角",snapBottomLeft:"贴靠到左下角",snapBottomRight:"贴靠到右下角"},taskbar:{closeWindow:"关闭窗口",offscreenHint:"此窗口位于屏幕之外,点击即可移回",offscreenDot:"位于屏幕之外,点击即可移回此窗口",expose:"窗口概览:以缩略图显示所有打开的窗口",addToDesktop:"添加到桌面",removeFromDesktop:"从桌面移除",minimizeAllWindows:"全部最小化",restoreAllWindows:"全部还原",closeAllWindows:"全部关闭"},logout:{goodbye:"再见",seeYou:"下次再见"},about:{aboutPrefix:"关于",thisApp:"本应用",openSourceLicenses:"开源许可",whatsNew:"更新内容",noChangelog:"暂无更新日志。"},table:{empty:"暂无数据",loading:"加载中",selectAll:"选择全部行",selectRow:"选择此行"},select:{none:"— 无 —",noMatches:"无匹配项",allSelected:"已选择全部选项",clear:"清除所选",clearAll:"全部清除",changed:"已更改",selectedCount:e=>`已选 ${n(e)} 项`,remove:"移除",removeItem:e=>`移除${l(e)}`},notifications:{title:"通知",markAllRead:"全部标为已读",dnd:"勿扰模式",dndOn:"勿扰模式已开启",caughtUp:"全部已读",empty:"暂无通知",viewAll:"查看全部通知",byActor:e=>`由 ${e}`,cardLabel:"通知",dismiss:"关闭通知"},form:{errorSummaryTitle:"存在以下问题"},help:{title:"帮助",searchPlaceholder:"搜索帮助…",empty:"暂无帮助文章。",noResults:"没有符合搜索条件的文章。",loading:"加载中",pickArticle:"请从左侧选择一篇帮助文章。",noBody:"这篇文章暂无内容。",draft:"草稿",newArticle:"+ 新建",edit:"编辑"},update:{available:"有新版本可用。",refreshNow:"立即刷新"},pageTabs:{label:"已打开的页面",close:"关闭",closeTab:e=>`关闭${l(e)}`,favorite:"已收藏",closeOthers:"关闭其他标签页",closeRight:"关闭右侧标签页",closeAll:"关闭全部标签页",unsaved:"有未保存的更改",copy:e=>`复制${l(e)}`,copied:"已复制",tabMenu:"窗口菜单",discardTitle:"放弃未保存的更改?",discardOne:"此页面有尚未保存的更改。仍要关闭吗?",discardMany:"个页面有尚未保存的更改。仍要关闭吗?",discardCount:e=>`有 ${n(e)} 个页面的更改尚未保存。仍要关闭吗?`,discardConfirm:"放弃并关闭",keepEditing:"继续编辑"},dialog:{close:"关闭",cancel:"取消",ok:"确定",confirmTitle:"确认",destructiveTitle:"确认操作",destructiveCancel:"返回",destructiveConfirm:"删除",typeToConfirm:e=>`请输入 ${e} 以确认:`,promptTitle:"请输入内容"},calendar:{previousMonth:"上个月",nextMonth:"下个月",previousYear:"上一年",nextYear:"下一年",previousYears:"上一组年份",nextYears:"下一组年份",monthPanel:"选择月份",yearPanel:"选择年份",chooseMonth:e=>`选择月份,当前为${l(e)}`,chooseYear:e=>`选择年份,当前为 ${e} 年`},datePicker:{placeholder:"选择日期",dialog:"选择日期",clear:"清除",today:"今天",required:"必填"},dateRange:{placeholder:"日期范围",clearRange:"清除日期范围",dialog:"日期范围",from:"从",to:"至",start:"开始日期",end:"结束日期",fromOnly:e=>`自 ${e} 起`,toOnly:e=>`截至 ${e}`,range:(e,o)=>`${e} 至 ${o}`,required:"必填",last2Weeks:"过去 2 周",lastMonth:"上个月",last3Months:"过去 3 个月",last6Months:"过去 6 个月",last12Months:"过去 12 个月",lastHeading:"过去",last2WeeksShort:"2 周",lastMonthShort:"上个月",last3MonthsShort:"3 个月",last6MonthsShort:"6 个月",last12MonthsShort:"12 个月",custom:"自定义",clear:"清除",cancel:"取消",apply:"应用"},pagination:{label:"分页",first:"第一页",previous:"上一页",next:"下一页",last:"最后一页"},list:{selected:e=>`已选 ${n(e)} 项`,selectedNotShown:(e,o)=>`已选 ${n(e)} 项,${n(o)} 项未显示`,allLoaded:(e,o)=>`已加载全部 ${r(e)} ${o}`,count:(e,o)=>`共 ${r(e)} ${o}`,loadedOf:(e,o,t)=>`已加载 ${r(e)} / ${r(o)} ${t}`,loadingMore:"正在加载更多",loadError:"无法加载此列表",loadErrorMessage:"获取这些记录时出错。请检查网络连接后重试。",retry:"重试"},kanban:{loading:"加载中",empty:"暂无条目。",dropHere:"拖放到此处",addItem:"添加条目"},files:{attach:"添加附件",drop:"松开即可添加附件",remove:e=>`移除${l(e)}`,chooseMany:"选择文件",chooseOne:"选择文件",dragMany:"或拖放到此处",dragOne:"或拖放到此处",notAccepted:(e,o)=>`${s(e)}的文件类型不受支持${o?`(${o})`:""}`,tooLarge:(e,o,t)=>`${s(e)}大小为 ${o},上限为 ${t}`,tooMany:(e,o)=>`未添加${l(e)}:最多只能添加 ${n(o)} 个文件`,bytes:e=>`${n(e)} B`,kilobytes:e=>`${n(e)} KB`,megabytes:e=>`${c(e,1)} MB`},media:{uploadImage:"上传图片",uploadVideo:"上传视频",uploadFile:"上传文件",upload:"上传媒体",cta:"从媒体库选择或上传",replace:"替换",remove:"移除",uploading:"上传中",cover:"封面",add:"添加",addMedia:"添加媒体",empty:"暂无媒体。",removeItem:e=>`移除${l(e)}`,reorder:(e,o,t)=>`${e},第 ${n(o)} 项,共 ${n(t)} 项。使用方向键调整顺序。`,image:"图片",video:"视频",changeImage:"更换图片",changeVideo:"更换视频",focus:"图片焦点"},brandAsset:{save:(e,o)=>`保存${l(o)}`,remove:(e,o)=>`移除${l(o)}`,discard:"放弃更改",saveFailed:(e,o)=>`无法保存${l(o)}。`,removeFailed:(e,o)=>`无法移除${l(o)}。`,region:(e,o)=>`${s(o)}的${e}`,usedFor:e=>`用于${l(e)}。`,previews:e=>`${s(e)}预览`,preview:"预览",alt:(e,o)=>`${s(e)}${o}`},copy:{copy:"复制",copyLabel:e=>`复制${l(e)}`,copied:"已复制",copyValue:e=>`复制${l(e)}`,copiedValue:"已复制!",copiedLabel:e=>`已复制${l(e)}`,failed:"无法复制到剪贴板"},keypad:{backspace:"退格",enter:"确认"},banner:{dismiss:"关闭"},transfer:{uploading:"上传中",error:"出错",retry:"重试",dismiss:"关闭",cancel:"取消",cancelVerb:e=>`取消${l(String(e).replace(/中$/,""))}`},badge:{remove:"移除",removeItem:e=>`移除${l(e)}`},breadcrumbs:{label:"面包屑导航",hidden:"已隐藏的层级"},emptyState:{message:"暂无内容。"},errors:{notFound:"找不到页面",notFoundBody:"您访问的页面不存在或已被移动。",forbidden:"访问被拒绝",forbiddenBody:"您没有查看此页面的权限。",noAccess:"您无权访问此内容",serverError:"出错了",serverErrorBody:"发生意外错误,请重试。",retry:"重试",details:"错误详情"},search:{placeholder:"搜索…",escBadge:"ESC",searching:"搜索中",noResults:"未找到结果。",minChars:e=>`请至少输入 ${n(e)} 个字符再搜索…`,navigate:"切换",open:"打开",close:"关闭",enterKey:"Enter",escKey:"Esc",recent:"最近",favorites:"收藏",actions:"操作",listLabel:"搜索结果",groupCount:(e,o)=>`${n(e)}${o?"+":""}`,groupLabel:(e,o,t)=>`${e},${n(o)}${t?"+":""} 项`,seeAll:e=>`查看全部${l(e)}`,searchFailed:"搜索失败,请检查网络连接后重试。",partialFailure:"部分结果未能加载。",tabKey:"Tab",nextGroup:"下一组"},grid:{selectAll:"全选",insertRowAbove:"在上方插入行",insertRowBelow:"在下方插入行",deleteRow:e=>`删除第 ${e} 行`,insertColumnLeft:"在左侧插入列",insertColumnRight:"在右侧插入列",deleteColumn:e=>`删除${d(e)}列`,resize:"拖动调整大小 · 双击自动适应",fill:"拖动填充"},sidebar:{resize:"拖动调整大小 · 双击重置",sections:"栏目",closeSections:"关闭栏目"},resizeHandle:{label:"调整面板大小",hint:"拖动调整大小 · 双击重置"},number:{increase:"增加",decrease:"减少"},slider:{value:e=>`${s(e)}数值`},accordion:{changed:e=>`已更改 ${e} 项`},settingView:{auto:"自动",edited:"已在此视图中更改",resetName:e=>`重置${l(e)}`,inheritName:e=>`${s(e)}继承上级布局`,inheritParentLayout:"继承上级布局",backToDefault:"恢复为网站默认值",backToAuto:"恢复为自动",backTo:e=>`恢复为${l(e)}`,tip:(e,o)=>`${e}(${o})`},displayChips:{shown:"显示中",hidden:"已隐藏",shownHint:"显示中 · 点击隐藏",hiddenHint:"已隐藏 · 点击显示"},corners:{radius:"圆角半径",unit:"px",radiusMark:"R"},iconPicker:{button:(e,o)=>`${e}:${o}`},iconNames:{none:"无","arrow-right":"箭头","arrow-long-right":"长箭头","arrow-up-right":"右上箭头","chevron-right":"尖括号",external:"外部链接",cart:"购物车",bag:"购物袋",tag:"标签",email:"邮件",location:"位置",play:"播放",download:"下载",search:"搜索",car:"汽车"},widths:{column:e=>`第 ${e} 栏`,divider:(e,o)=>`第 ${e} 栏和第 ${o} 栏之间的分隔线`,dividerValue:(e,o,t,a)=>`第 ${e} 栏 ${p(o,0)},第 ${t} 栏 ${p(a,0)}`,dragHint:"拖动来调整栏宽",hint:(e,o)=>`输入宽度,或拖动分隔线。每栏不少于 ${p(o,0)}。`,reset:"恢复等宽"},color:{swatch:(e,o)=>`${e}:${o}`,none:"无",panel:e=>`${s(e)}选择器`,square:"饱和度和亮度",squareValue:(e,o)=>`饱和度 ${p(e,0)},亮度 ${p(o,0)}`,hue:"色相",opacity:e=>`${s(e)}不透明度`,hex:e=>`${s(e)}十六进制色值`,presets:"预设",clear:"无颜色"},imageFocus:{picture:(e,o)=>`${e}:${o}`,hint:"拖动图片上的圆点,或用方向键移动。按住 Shift 可移动更多。",noImage:"请先选择图片,目前还没有可设置焦点的图片。"},link:{linkType:"链接类型",address:"链接地址",addressPlaceholder:"链接(本站页面 /… 或 https://…)",unsafe:"请使用网址(https://…)、本站页面(/…)、mailto: 或 tel:。",unavailable:e=>`${e}(不可用)`,filter:"筛选",noFilter:"不筛选(全部产品)",value:"值",filterHint:"筛选项来自产品类型。只列出本站目录中有的值。",title:"链接",apply:"应用",cancel:"取消",remove:"移除",addLink:"添加链接",text:e=>`${s(e)}文字`,linkOf:(e,o)=>`${s(e)}链接:${o||"无"}`},textToolbar:{formatting:"格式",bold:"粗体",italic:"斜体",underline:"下划线",strike:"删除线",color:"颜色",link:"链接",sup:"上标",sub:"下标",code:"代码",alignment:"对齐",alignLeft:"左对齐",alignCenter:"居中",alignRight:"右对齐",alignJustify:"两端对齐",bullet:"项目符号列表",number:"编号列表",quote:"引用",letterCase:"大小写",caseNone:"常规",caseUpper:"大写",caseLower:"小写"},tree:{empty:"暂无内容",dropHere:"拖放到此处",dragHint:"拖动以移动",moveHint:"按 Alt+向上键或 Alt+向下键可移动此项",insertHere:"在此处插入"},layout:{desktop:"桌面",sidebar:"侧边栏",switchToDesktop:"切换到桌面模式",switchToSidebar:"切换到侧边栏模式",collapseSidebar:"收起侧边栏",expandSidebar:"展开侧边栏",goHome:"返回主页",resizeSidebar:"调整侧边栏宽度",search:"搜索…",navLabel:"主菜单",openWindows:"已打开的窗口",favoriteApps:"收藏的应用",openFavorite:e=>`打开${l(e)}`,removeFavorite:"从收藏中移除",pageResult:"页面",accountMenu:e=>`${s(e)}的账户菜单`,profile:"个人资料",notifications:"通知",reportIssue:"建议与问题反馈",signOut:"退出登录",signOutTitle:"退出登录",signOutMessage:"您确定要退出登录吗?重新登录后将重新打开所有窗口。",openMenu:"打开菜单",closeMenu:"关闭菜单",openTabs:"已打开的标签页",getTheApp:e=>`获取 ${e} 应用`,openApp:"打开",dismiss:"不再显示",deviceUsesSidebar:"此设备始终使用侧边栏布局。在电脑上登录时,您的选择仍然有效。",largerScreensOnly:"仅限较大屏幕",usedOnThisDevice:"此设备正在使用",back:"返回"},markdown:{screenshot:"截图"},severity:{success:"正常",warning:"警告",danger:"严重",unrecognised:e=>`未识别的严重级别${l(e)}`},meter:{noData:"无数据",warningAt:e=>`警告 ≥ ${n(e)}`,criticalAt:e=>`严重 ≥ ${n(e)}`,noReading:"无读数",noBudget:"无预算",ofBudget:e=>`预算的 ${e}`,budget:"预算",pace:"此刻应达到",hoursMinutes:(e,o)=>`${n(e)} 小时 ${n(o)} 分`,minutesSeconds:(e,o)=>`${n(e)} 分 ${n(o)} 秒`,seconds:e=>`${n(e)} 秒`},charts:{showTable:"以表格显示数据",loading:"正在加载图表数据",noData:"此时间段内无数据。",windowStart:"时间段起点",windowEnd:"时间段终点",window:(e,o,t)=>`时间段:正在显示 ${e} 至 ${o},共 ${n(t)} 个区间`,overIntervals:(e,o)=>`${e.join("、")},共 ${n(o)} 个区间`,acrossCategories:(e,o)=>`${e.join("、")},共 ${n(o)} 个类别`,acrossMeasures:(e,o)=>`${e.join("、")},共 ${n(o)} 项指标`,breakdown:(e,o)=>`${s(e)}的构成,共 ${n(o)} 个部分`,funnel:(e,o,t)=>`漏斗图,共 ${n(e)} 个阶段,从${d(o)}到${l(t)}`,radialTrack:e=>`${n(e)} 个类别,以同心环占比显示`,radialCycle:e=>`${n(e)} 个类别,按环形周期排列`,tableFrom:"来源",tableTo:"去向",tableItem:"项目",tableLevel:"层级",tableSeries:"系列",inBucket:e=>`此区间内共 ${e}`,inCategory:e=>`此类别内共 ${e}`,value:"数值",share:"占比",count:"数量",flow:"流量",totalFlow:"总流量",throughput:"通过量",open:"开盘",high:"最高",low:"最低",close:"收盘",maximum:"最大值",q3:"Q3",median:"中位数",q1:"Q1",minimum:"最小值",distribution:"分布",fiveNumber:(e,o)=>`${e}:${n(o)} 个类别的五数概括`,outliers:e=>`${n(e)} 个离群值超出须线范围`,price:"价格",ohlc:(e,o)=>`${e}:${n(o)} 个周期的开盘、最高、最低和收盘`,closedAbove:"收盘高于开盘",closedBelow:"收盘低于开盘",noFlows:"没有可绘制的流量。",chord:e=>`${n(e)} 个参与方之间的流量`,chordFolded:e=>`另有 ${n(e)} 个参与方归入"其他"`,noStages:"没有可绘制的阶段。",ofFirstStage:"占首阶段",droppedHere:"此处流失",intensity:"强度",noActivity:"此时间段内无活动。",heatmap:(e,o,t)=>`${e},${n(o)} 行 ${n(t)} 列`,countAxis:"数量",histogram:(e,o,t)=>`${e}:${n(t)} 个观测值,分为 ${n(o)} 组`,observations:"观测值",notEnough:"符合条件的请求不足,无法判断。",objectiveMet:e=>`已达到目标 ${e}`,objectiveMissed:e=>`未达到目标 ${e}`,nothingToPlot:"没有可绘制的数据。",nothingToCompare:"没有可比较的数据。",other:"其他",nothingToBreakDown:"没有可细分的数据。",range:"范围",rangeLabel:(e,o)=>`${e}:${n(o)} 个类别的最低值和最高值`,nothingToRank:"此时间段内没有可排名的数据。",emphasised:"(重点)",sankey:(e,o)=>`${n(e)} 个节点之间的流量,共 ${n(o)} 条连接`,noObservations:"此时间段内无观测值。",xAxis:"x",yAxis:"y",size:"大小",scatter:(e,o,t)=>`${e.join("、")}:${s(o)}与${d(t)}的关系`,outsideRange:e=>`${n(e)} 个点超出显示范围`,waterfall:(e,o,t)=>`瀑布图,共 ${n(e)} 步,从${d(o)}到${l(t)}`,balance:"余额",increase:"增加",decrease:"减少",runningTotal:"累计",sunburst:(e,o)=>`${s(e)}的层级构成,共 ${n(o)} 层`,treemap:e=>`矩形树图,共 ${n(e)} 项`,trendUp:"上升",trendDown:"下降",trendFlat:"持平"},timeline:{days:e=>`${r(e)} 天`,daysToToday:e=>`距今 ${r(e)} 天`,notReached:"尚未达成",next:"下一项",more:e=>`还有 ${n(e)} 项`,today:"今天",todayTitle:e=>`今天:${e}`,open:e=>`打开${l(e)}`,openButton:"打开",scrub:"拖动浏览时间线",alsoToCome:e=>`后续还有:${e.join("、")}`,start:e=>`开始 · ${e}`,events:(e,o)=>`${n(e)} 个事件 · ${o.join("、")}`,started:e=>`开始于 ${e}`,duration:e=>`${r(e)} 天`,reached:(e,o)=>`已达成 ${n(e)} / ${n(o)} 个里程碑`,milestones:e=>`${s(e)}里程碑`},production:{heading:"生产进度",start:"开始",estimated:"预计",estimatedCompletion:"预计完成",estDone:"预计完工",play:"播放",pause:"暂停",playTitle:"逐份报告播放时间线",backTo:e=>`返回${l(e)}`,showing:e=>`正在显示 ${e}`,overall:e=>`总体 ${p(e,0)}`,inStock:e=>`库存 ${r(e)} 件`,noReport:"尚未提交生产报告",leadTime:e=>`交货周期 ${r(e)} 天`,report:"生产报告",shipment:"发货",inspection:"检验",invoice:"发票",scrub:"拖动浏览生产时间线",label:(e,o)=>`生产报告和事件,${e} 至 ${o}`},containers:{items:e=>`${n(e)} 项`,pieces:e=>`${n(e)} 件`,split:(e,o)=>`(指令 ${n(e)} / 已装 ${n(o)})`,added:(e,o)=>`新增 ${n(e)} 项(${n(o)} 件)`,fill:(e,o)=>`${c(e,1)} / ${n(o)} m³`,total:"合计:",instructed:e=>`指令 ${c(e,2)} m³`,loaded:e=>`已装 ${c(e,2)} m³`,volume:e=>`${c(e,2)} m³`,noVolume:"体积:暂无(这些料号没有体积数据)"},toast:{notification:"通知",undo:"撤销"},map:{failed:"无法在此处绘制地图。列表中包含地图显示的全部内容。",approximate:e=>`${e},大致位置`,approximateTitle:e=>`${e}(大致位置)`,places:()=>"地点",group:(e,o)=>`此处有 ${n(e)} 个${l(o)}`,stops:e=>`第 ${e} 站`,closeBy:(e,o)=>`附近还有 ${n(e)} 个${l(o)},放大地图后显示`,spread:"点按以分开查看",cycle:"这些地点位于同一位置:点按查看下一个",fullScreen:"全屏",leaveFullScreen:"退出全屏",chosen:e=>`${e},已在地图上选中`,closeCard:"关闭",openRecord:"打开"},pdf:{previousPage:"上一页",nextPage:"下一页",pageOf:(e,o)=>`${n(e)} / ${n(o)}`,zoomOut:"缩小",zoomIn:"放大",zoom:"缩放",fitWidth:"适合宽度",fitPage:"适合页面",fit:"适应",fitHint:"适应窗格:随窗格大小变化,直到您手动缩放",print:"打印",download:"下载",email:"发送邮件",loading:"正在加载 PDF",loadFailed:"PDF 加载失败",allowPopups:"请允许弹出窗口以便打印"},loading:{label:"加载中"},language:{title:"语言",description:"菜单、标签和消息所使用的语言。",reloadNote:"更改语言后页面将重新加载。"},entityList:{open:"打开",copy:"复制",copyColumn:e=>`复制${l(e)}`,copyRows:e=>1===e?"复制此行":`复制 ${n(e)} 行`,exportSelected:"将所选导出为 CSV",selectAll:"全选",selectAllLoaded:e=>`全选已加载的 ${n(e)} 项`,clearSelection:"清除所选",refresh:"刷新",copiedText:"文本",copiedRows:e=>1===e?"该行":`${n(e)} 行`,exported:e=>`已导出 ${n(e)} 行。`,exportTruncated:(e,o)=>`仅导出了 ${n(o)} 行中的 ${n(e)} 行。服务器限制了本次导出,文件不完整。`,exportTruncatedUnknown:e=>`仅导出了 ${n(e)} 行中的一部分。服务器限制了本次导出,文件不完整。`,exportFailed:"CSV 导出失败。"},columns:{choose:"选择列",heading:"列",reset:"重置",saveDefault:"保存为所有用户的默认设置",savedDefault:"已保存为默认设置",select:"选择",selectDone:"完成",showSelection:"显示选择列",hideSelection:"隐藏选择列"},record:{loading:"正在加载记录",signInRequired:"需要登录",signInBody:"您的会话可能已过期。请重新登录以打开此记录。",notFound:"未找到记录",loadFailed:"无法加载记录",checkConnection:"请检查网络连接后重试。",rejected:"服务器拒绝了此请求。",retry:"重试"},password:{current:"当前密码",newPassword:"新密码",confirm:"确认密码",submit:"修改密码",submitting:"修改中",done:"完成",currentRequired:"请输入当前密码。",tooShort:e=>`新密码至少需要 ${n(e)} 个字符。`,mismatch:"两次输入的密码不一致。",failed:"修改密码失败。",changed:"您的密码已修改成功。"},pdfAction:{label:"PDF",loading:"加载中",preview:"预览",download:"下载",email:"通过邮件发送",downloaded:e=>`${s(e)}已下载。`,tookTooLong:e=>`${s(e)}加载时间过长,请重试。`,previewLoading:"正在加载 PDF",previewTookTooLong:"此文档加载时间过长。请关闭此窗口后重试。",previewFailed:"PDF 加载失败。"},undo:{undo:"撤销",redo:"重做",undoStep:(e,o)=>`撤销${l(e)}(${o})`,redoStep:(e,o)=>`重做${l(e)}(${o})`,nothingToUndo:"没有可撤销的操作",nothingToRedo:"没有可重做的操作"},sounds:{title:"声音",enable:"音效",autosave:"更改会自动保存",choice:(e,o)=>`${e}:${o}`,packClassic:"经典",packMinimal:"极简",packRetro:"复古",packSoft:"柔和",packArcade:"街机",packSilent:"静音",eventClick:"点击",eventSuccess:"成功",eventError:"错误",eventNotification:"通知",eventStartup:"启动",eventTimerDone:"计时结束",eventLogout:"退出登录"},serverStatus:{connected:"已连接",disconnected:"已断开",checking:"检测中",lastOkTitle:(e,o)=>`${e} · 上次正常 ${o}`,details:"服务器连接详情",lastPoll:e=>`上次轮询:${e}。`,lastFailure:e=>`上次失败:${e}。`,firstPoll:"首次轮询进行中",server:"服务器",protocol:"协议",browser:"浏览器",online:"在线",offline:"离线",lastOk:"上次正常",lastFail:"上次失败",latency:"延迟",poll:"轮询",pollEvery:e=>`每 ${n(e)} 秒`,session:"会话",user:"用户",notSignedIn:"未登录",role:"角色",build:"构建",app:"应用",userAgent:"用户代理",pingHint:"点击 ↻ 立即检测",refresh:"刷新"},bulkImport:{description:"可从电子表格粘贴、直接输入或上传 CSV。行无需按顺序排列,系统会自动匹配。列表中没有的值将添加到末尾。留空的字段不受影响。",lines:e=>`${n(e)} 行`,total:(e,o)=>`${e}:${o}`,clear:"清除",upload:"上传 CSV",importLines:e=>`导入 ${n(e)} 行`,importing:"导入中",importFailed:"导入失败。",enterAtLeastOne:(e,o)=>`请至少输入一个${l(o)||"值"}。`,allSkipped:"所有行均已跳过。",cancel:"取消",mapTitle:"将 CSV 列映射到字段",skip:"— 跳过 —",columnOption:(e,o)=>`第 ${n(e)} 列(例如 ${o})`,rowsDetected:e=>`检测到 ${n(e)} 行`,confirmMapping:"确认映射",duplicatesTitle:"检测到重复项",duplicatesFound:e=>`导入内容中有 ${n(e)} 个值出现了多次。请先选择每个值的处理方式,然后再继续。`,occurrences:e=>`出现 ${n(e)} 次`,keepFirst:"保留第一个",keepLast:"保留最后一个",keepAll:"全部保留",skipAll:"全部跳过",keptDropped:(e,o)=>`保留 ${n(e)} · 丢弃 ${n(o)}`,proceed:"继续",duplicatesMerged:e=>`有 ${n(e)} 个值出现了多次。每个值已合并为一行,数量已累加,请检查后再继续。`,mergedFrom:"合并自",mergedRows:e=>`${n(e)} 行`,mergeSummary:(e,o)=>`${n(e)} 个重复行 → 合并为 ${n(o)} 行`},preview:{windowTitle:e=>`${e} - 预览`,untitled:"未命名",open:"打开",formats:"PDF · DXF · 3D · 图片",dropHere:e=>`将文件拖放到此处,或点击${e}。`,supportedFormats:"支持的格式",formatPdf:"多页文档查看器",formatDxf:e=>`矢量 CAD 图纸(可选依赖 ${e})`,format3d:e=>`3D 模型(可选依赖 ${e})`,formatImage:"位图图片",dwgNote:"DWG 文件需先在服务器端转换为 PDF 或 DXF。",dropToOpen:"松开以打开",dwgUnsupported:"DWG 文件需要在服务器端转换。请先转换为 PDF 或 DXF。",unsupportedType:e=>e?`不支持的文件类型:.${e}`:"不支持的文件类型:未知",converting:"正在转换文件",download:"下载",email:"发送邮件",howToNavigate:"操作方法",stopMeasuring:"停止测量(Esc)",scrollToZoom:"滚动缩放",closePanel:"关闭",annotate:"标注",annotateHint:"标注此图片",view:"查看",viewHint:"返回查看器",copy:"复制",save:"保存",imageFailed:"图片加载失败。",downloadFailed:"下载失败:无法访问该文件。"},drawing:{loading:"正在加载图纸",notInstalled:"此应用未安装 dxf-viewer。",renderFailed:"DXF 渲染失败。",layers:"图层",layersHint:"切换图层可见性",allLayers:"全部",noLayers:"无",measure:"测量",measureHint:"测量距离:在图纸上点击两点,或在下方输入 DI / DIM",auto:"自动",autoHint:"自动:等同 AutoCAD 的 DIMLINEAR,测量两个拾取点之间 ΔX 与 ΔY 中较大的一个",horizontalHint:"水平:两个拾取点之间沿 X 轴的距离(AutoCAD DIMLINEAR 水平)",verticalHint:"垂直:两个拾取点之间沿 Y 轴的距离(AutoCAD DIMLINEAR 垂直)",point:"两点",pointHint:"两点:两个拾取点之间的直线(欧氏)距离(AutoCAD DIST)",fixX:"固定 Δx",fixY:"固定 Δy",fixHint:"将第二个拾取点在该轴上的坐标锁定为第一个拾取点加上此值(mm)。此时显示的测量值为正交方向的距离。",clearFixed:"清除固定距离",horizontalDistance:e=>"两个拾取点之间的水平距离(Δx)"+(e?":自动模式已判定为 X 轴":""),verticalDistance:e=>"两个拾取点之间的垂直距离(Δy)"+(e?":自动模式已判定为 Y 轴":""),straightDistance:"两个拾取点之间的直线距离",fit:"适应",fitHint:"使图纸适应视图",dragToPan:"拖动平移",fitToReset:"点“适应”重置",typeToMeasure:e=>`输入 ${e} 进行测量`,commandPlaceholder:"输入命令:DI、DIM、H、V、Z、LA(输入 ? 查看帮助)",commandHelp:"命令:DI 距离 · DIM/DLI 线性标注 · H / V 强制轴向 · <数值> 锁定 Δ · U 撤销拾取 · Z 适应 · LA 图层 · Esc 退出",echoDistance:(e,o,t)=>`距离 = ${e} ΔX = ${o} ΔY = ${t}`,echoLinear:(e,o)=>`线性标注 = ${e}(${o})`,echoLocked:(e,o,t,a)=>`${e} = ${o},${t} 锁定为 ${a}`,axisLocked:(e,o)=>`${e} 已锁定为 ${o},标签显示的是正交方向的距离`,fixedCleared:"已清除固定距离。",fixedNeedsAxis:"固定距离仅适用于 H 或 V 模式,请先输入 H 或 V。",echoDist:"DIST:点击两点;直线距离(按 Esc 退出)",echoDimLinear:"DIMLINEAR:点击两点;测量 ΔX 与 ΔY 中较大的一个(输入 H / V 可强制轴向)",echoHorizontal:"水平:两个拾取点之间的 ΔX",echoVertical:"垂直:两个拾取点之间的 ΔY",echoAuto:"自动(DIMLINEAR):沿两个拾取点的主轴方向测量",measureOn:"测量已开启,请点击两点。",measureOff:"测量已关闭。",pickRemoved:"已移除上一个拾取点。",zoomExtents:"已缩放至全图。",layersToggled:"已切换图层面板。",measurementCleared:"已清除测量结果。",readOnly:e=>`${e} 是绘图命令,而“预览”是只读查看器。测量命令:DI、DIM、H、V(输入 ? 查看帮助)`,unknownCommand:e=>`未知命令“${e}”,请尝试 DI、DIM、H、V、Z、LA(输入 ? 查看帮助)`,cancelled:"*取消*"},model:{loading:"正在加载 3D 模型",stepNote:"STEP 文件首次使用时需加载 OpenCascade WASM(约 5 MB)。",notInstalled:"此应用未安装 online-3d-viewer。安装后即可查看 3D 文件。",loadFailed:"3D 模型加载失败。",rootNode:"根节点",node:"节点",collapse:"收起",expand:"展开",fitToView:"适应视图",hide:"隐藏",show:"显示",isometric:"轴测",isometricView:"等轴测视图",top:"俯视",topView:"俯视图",front:"前视",frontView:"前视图",side:"侧视",sideView:"侧视图",perspective:"透视",orthographic:"正交",toPerspective:"切换到透视视图",toOrthographic:"切换到正交视图",snapshot:"将快照保存为 PNG",measureHint:"测量距离:在模型上点击两点",point:"两点",pointHint:"两点:测量两个拾取点之间的直线距离",perpendicularHint:"垂直:拾取两个面,测量它们之间的垂直间距",straightDistance:"两个拾取点之间的直线距离",perpendicularDistance:"两个拾取面之间的垂直距离",meshesHint:"显示或隐藏网格面板",displayHint:"显示或隐藏显示设置面板",downloadOriginal:"下载原始文件",meshes:"网格",readingModel:"正在读取模型",noStructure:"无可用结构",allVisible:"全部可见",hiddenCount:e=>`已隐藏 ${n(e)} 个`,dragToRotate:"拖动旋转",rightDragToPan:"右键拖动平移",display:"模型显示",backgroundColor:"背景颜色",showEdges:"显示边线",edgeColor:"边线颜色",edgeThreshold:"边线阈值",sectionView:"剖面视图",angle:"角度",axis:"轴",flipHint:"翻转剖切方向",flip:"翻转 →",flipped:"← 已翻转",position:"位置",resetDisplay:"恢复默认"},annotator:{toolSelect:"选择 / 移动",toolDraw:"画笔 / 手绘",toolRect:"矩形",toolEllipse:"椭圆",toolArrow:"箭头",toolMosaic:"马赛克",toolText:"文字",toolCrop:"裁剪",weight:"粗细",radius:"圆角",size:"大小",padding:"边距",fontSystem:"系统",fontSerif:"衬线",fontMono:"等宽",fontCursive:"手写",bold:"加粗",boldLetter:"B",italic:"斜体",italicLetter:"I",underline:"下划线",underlineLetter:"U",border:"边框",borderColor:"文本框边框颜色",addBorder:"添加边框",removeBorder:"移除边框",fill:"填充",fillColor:"文本框背景颜色",addFill:"添加背景填充",removeFill:"移除填充",add:"添加",zoomOut:"缩小",zoomIn:"放大",fit:"适应",fitHint:"适应区域",undo:"撤销",applyCrop:"应用裁剪",cancel:"取消",apply:"应用",hintSelected:"拖动可移动。拖动边角可调整大小。按 Delete / Backspace 可删除。点击外部可取消选择。",hintSelect:"点按形状即可选中。双击文字即可编辑。",hintText:"点击以放置文字标签。",hintCrop:"拖出一个矩形以设定裁剪区域。",hintDraw:"拖动以自由绘制。",hintShape:"在图片上拖动以绘制。",textPlaceholder:"输入后按 Enter…",loadFailed:"图片加载失败",exportFailed:"导出失败",clipboardUnsupported:"此浏览器不支持将图片复制到剪贴板",copyFailed:"复制失败",copied:"已复制到剪贴板",copyRefused:"复制失败(没有剪贴板权限?)"},attachment:{fallbackName:"附件",noLink:"此附件没有下载链接。",spreadsheetFailed:"无法打开电子表格,将改为直接打开文件。",workbookUnavailable:"此文件类型不支持电子表格预览,将改为直接打开文件。",noViewer:"没有可在此显示该文件的查看器,将在应用外打开。",loading:"正在加载文件",loadFailed:"文件加载失败。"},aboutApp:{title:e=>`关于${l(e)}`,version:e=>`版本 ${e}`,partOf:e=>`属于 ${e} 桌面环境`,shellVersion:e=>`外壳 v${e}`,spreadsheet:"多工作表电子表格编辑器,支持导入和导出 CSV / TSV。",notepad:"带颜色标记的便笺,支持清单、桌面便签和实体自动链接。",documents:"信纸版面的编辑器,适用于 Word 文档和纯文本文件,支持图片、列表和对齐。",preview:"PDF 文档、图片、DXF 图纸和 3D 模型的查看器,支持带对象捕捉的 CAD 式测量和类似 AutoCAD 的命令栏。",files:"个人文件管理器,支持文件夹、上传、配额、回收站和桌面快捷文件夹。",browser:"简洁的网页浏览器,带书签、历史记录和导航栏。"}}}var p=c;export{i as ZH_HANS_REVIEWED_SECTIONS,p as default,c as zhHansStrings};
|
package/dist/map/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{Button_default as e}from"../chunk-G5GERM76.js";import"../chunk-3E27HV76.js";import{rootIsDark as t,ROOT_THEME_ATTRIBUTES as n}from"../chunk-7IQ3B77H.js";import"../chunk-FIEA5CGB.js";import"../chunk-K7PQXJO7.js";import{SpinnerRing as r}from"../chunk-2J6F4EE7.js";import"../chunk-D65T4H6J.js";import{Icon as o}from"../chunk-76DRQSJM.js";import{useShellStrings as a}from"../chunk-GBP32PVK.js";import"../chunk-C3QOHMR6.js";import{useRef as l,useState as s,useEffect as i,useCallback as c,useMemo as u,useSyncExternalStore as d}from"react";import{createPortal as p}from"react-dom";import{jsxs as m,jsx as h,Fragment as g}from"react/jsx-runtime";import{useQuery as f}from"@tanstack/react-query";var y="maplibregl-compact-show";function b(e){if(!e)return()=>{};const t=()=>!!e.classList.contains(y)&&(e.classList.remove(y),!0);if(t())return()=>{};const n=new MutationObserver(()=>{t()&&n.disconnect()});return n.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()}var x=20,v=12,w=480,k={center:[0,0],left:[x,0],right:[-20,0],top:[0,x],"top-left":[0,x],"top-right":[0,x],bottom:[0,-20],"bottom-left":[0,-20],"bottom-right":[0,-20]},N=(e,t=12)=>Math.max(0,Math.floor(e-t-v-x-10-16));function M(e,t,n,r=12){const o=e.y-x-r,a=n.height-e.y-x-v,l=t.height<=o||t.height>a&&o>=a,s=l?Math.max(0,t.height-o):-Math.max(0,t.height-a);let i="",c=0;return e.x-t.width/2<v?(i="-left",c=Math.max(0,v-e.x)):e.x+t.width/2>n.width-v&&(i="-right",c=-Math.max(0,e.x-(n.width-v))),{anchor:`${l?"bottom":"top"}${i}`,move:{x:c,y:s}}}var C="maplibre-gl-worker.mjs",L=e=>`/maplibre-gl/${e}/${C}`,E=null;function $(){return E??=Promise.all([import("maplibre-gl"),import("maplibre-gl/dist/maplibre-gl.css")]).then(([e])=>(e.setWorkerUrl(L(e.getVersion())),e)).catch(e=>{throw E=null,e}),E}var S=24,j=28,B=29;function A(e){const t=[...e].sort((e,t)=>e-t),n=[];for(let e=0;e<t.length;){let r=e;for(;r+1<t.length&&t[r+1]===t[r]+1;)r++;n.push(r===e?String(t[e]):`${t[e]}–${t[r]}`),e=r+1}return n.join(", ")}function z(e){const t=Math.max(j,12+8*e.length);return t+t%2}var R=(e,t,n,r)=>({left:e-n/2,top:t-r/2,right:e+n/2,bottom:t+r/2});function O(e,t){return e.left<t.right+1&&t.left<e.right+1&&e.top<t.bottom+1&&t.top<e.bottom+1}var F=e=>R(e.x,e.y,e.width,e.height);function T(e){for(let t=0;t<e.length;t++)for(let n=t+1;n<e.length;n++)if(O(F(e[t]),F(e[n])))return[e[t],e[n]];return null}function K(e,t=[]){const n=[],r=e=>t.some(t=>O(t,e));let o=e.filter(e=>null!==e.stop).sort((e,t)=>e.stop-t.stop).map(e=>({keys:[e.key],stops:[e.stop],x:e.x,y:e.y,width:j,height:j,under:0}));for(let e=T(o);e;e=T(o)){const[t,n]=e;t.keys.push(...n.keys),t.stops.push(...n.stops),t.stops.sort((e,t)=>e-t),t.width=z(A(t.stops)),o=o.filter(e=>e!==n)}o=o.filter(e=>!r(F(e))||(n.push(...e.keys),!1));const a=[];for(const t of e){if(null!==t.stop)continue;const e=R(t.x,t.y,S,S),l=o.find(t=>O(F(t),e));if(l||r(e)){n.push(t.key),l&&l.under++;continue}const s=a.find(t=>O(F(t),e));s?s.keys.push(t.key):a.push({keys:[t.key],stops:[],x:t.x,y:t.y,width:S,height:S,under:0})}return{groups:[...o,...a],hidden:n}}function W(e,t,n){let r=-1/0;for(const o of t){const t=Math.max(Math.abs(o.x-e.x),Math.abs(o.y-e.y));r=Math.max(r,0===t?1/0:n+Math.log2(29/t))}return r}function q(e){const t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:n}),()=>t.disconnect()}var H=t;var P=(...e)=>e.filter(Boolean).join(" "),_=/^(?:\d+|[xytrblse](?:-\d+)?|solid|dashed|dotted|double|hidden|none)$/;function I(e){return e.split(/\s+/).some(e=>{const t=e.search(/[[(]/),n=t<0?e:e.slice(0,t),r=e.slice(n.lastIndexOf(":")+1);return r.startsWith("border-")&&!_.test(r.slice(7))})}var D="ring-2 ring-gray-900 ring-offset-2",G={portal:{frame:e=>P("relative min-h-72 overflow-hidden rounded-lg border border-gray-200 bg-gray-100",e&&"[&_canvas]:cursor-crosshair"),fill:"absolute inset-0",box:"h-full w-full",failed:"absolute inset-0 grid place-items-center p-6 text-center text-sm text-gray-500",cardInline:"absolute bottom-3 left-3 right-3 z-10 max-h-[calc(100%-1.5rem)] max-w-md overflow-y-auto overscroll-contain",cardFloating:"w-[26rem] overflow-y-auto overscroll-contain",ring:"pointer-events-none rounded-full border-2 border-gray-900 bg-gray-900/15 shadow-[0_0_0_2px_var(--color-white,#fff)]",pinButton:(e,t)=>P("relative grid place-items-center rounded-full cursor-pointer",t&&(null!=e.stop?"h-7 w-7":"h-6 w-6")),pinMark:(e,t,n,r)=>{const o=t&&!r&&null==e.stop&&!e.dot;return P("grid place-items-center rounded-full border-2 font-semibold leading-none shadow-sm transition-transform motion-reduce:transition-none",!I(e.tone)&&"border-white",e.tone,e.dot?"h-4 w-4 opacity-80":null!=e.stop?"h-7 w-7 text-xs ring-2 ring-gray-900":o?"h-8 w-8 text-xs [&_svg]:h-4 [&_svg]:w-4":"h-6 w-6 text-2xs [&_svg]:h-3.5 [&_svg]:w-3.5",t&&(o?"ring-2 ring-gray-900 ring-offset-1":D),e.approximate&&"border-dashed opacity-80",e.faded&&!t&&"opacity-40",n&&"scale-125 opacity-100")},mark:e=>P("grid place-items-center border-2 px-0.5 text-xs font-semibold leading-none shadow-sm",e.stop?"h-7 min-w-7":"h-6 min-w-6",!I(e.tone??"")&&"border-white",e.tone??"bg-gray-900 text-white"),groupButton:"grid place-items-center rounded-full cursor-pointer",groupDisc:(e,t,n)=>P("grid place-items-center rounded-full border-2 border-gray-700 bg-white font-semibold leading-none text-gray-900 shadow-sm",e?"h-7 w-full px-1 text-xs ring-2 ring-gray-900":t?"h-5 w-5 text-3xs":"h-6 w-6 text-2xs",n&&D),badge:e=>P("absolute -right-2 -top-2 grid h-4 min-w-4 place-items-center rounded-full px-0.5 text-3xs font-semibold leading-none shadow",e??"bg-white text-gray-900"),iconHost:"contents"},site:{frame:e=>P("rosh-map-frame",e&&"rosh-map-frame--picking"),fill:"rosh-map-fill",box:"rosh-map-box",failed:"rosh-map-failed",cardInline:"rosh-map-card-inline",cardFloating:"rosh-map-card-floating",ring:"rosh-map-ring",pinButton:(e,t)=>P("rosh-map-target",t&&(null!=e.stop?"rosh-map-target--stop":"rosh-map-target--sized")),pinMark:(e,t,n,r)=>P("rosh-map-pin",e.dot?"rosh-map-pin--dot":null!=e.stop?"rosh-map-pin--stop":null,t&&!r&&null==e.stop&&!e.dot&&"rosh-map-pin--grown",t&&"rosh-map-pin--chosen",e.approximate&&"rosh-map-pin--approximate",e.faded&&!t&&"rosh-map-pin--faded",n&&"rosh-map-pin--pointed"),mark:e=>P("rosh-map-mark",e.stop&&"rosh-map-mark--stop"),groupButton:"rosh-map-target",groupDisc:(e,t,n)=>P("rosh-map-group",e?"rosh-map-group--stops":t?"rosh-map-group--dots":null,n&&"rosh-map-group--chosen"),badge:()=>"rosh-map-badge",iconHost:"rosh-map-icon"}},Z="routes",J=["routes-road","routes-estimate"];function Q(e){const t=document.createElement("span");t.style.display="none",t.style.color=e,document.body.appendChild(t);const n=getComputedStyle(t).color||"#2563eb";return t.remove(),V(n)}function V(e){const t=document.createElement("canvas").getContext("2d");if(!t)return"#2563eb";t.fillStyle="#2563eb",t.fillStyle=e,t.fillRect(0,0,1,1);const[n,r,o]=t.getImageData(0,0,1,1).data;return`rgb(${n}, ${r}, ${o})`}var U={light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark"},X={center:[30,20],zoom:1};var Y="http://www.w3.org/2000/svg",ee=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,te=(...e)=>e.filter(Boolean).join(" ");function ne(e){const t=document.createElementNS(Y,"svg");t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.setAttribute("stroke","currentColor"),t.setAttribute("stroke-width","2"),t.setAttribute("aria-hidden","true");for(const n of e){const e=document.createElementNS(Y,"path");e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("d",n),t.appendChild(e)}return t}function re(e,t){for(const[n,r]of Object.entries(t??{}))e.dataset[n]=r}function oe({pins:t,selectedKey:n,focus:r,onSelect:o,ariaLabel:u,className:g="",children:f,routes:y,fitTo:x,attribution:v,marks:w,groupCrowded:C=!1,noun:L,highlightKey:E=null,picking:B=!1,onPick:z,card:R,cardMinMapWidth:O=480,fullScreen:F,initialView:T=X,cooperativeGestures:P=!1,look:_="portal",theme:I}){const D=a().map,Y=l(null),oe=l(null),se=l(null),ie=l(null),ce=l([]),ue=l(/* @__PURE__ */new Map),de=l(/* @__PURE__ */new Map),pe=l(/* @__PURE__ */new Map),me=l(null),he=l(/* @__PURE__ */new Map),ge=l(""),[fe,ye]=s(!1),[be,xe]=s(!1),ve=d(q,H,()=>!1),we=I??(ve?"dark":"light"),ke=G[_],Ne=l({onSelect:o,onPick:z,picking:B,pins:t,selectedKey:n,highlightKey:E,groupCrowded:C,strings:D,noun:L,looks:ke});i(()=>{Ne.current={onSelect:o,onPick:z,picking:B,pins:t,selectedKey:n,highlightKey:E,groupCrowded:C,strings:D,noun:L,looks:ke}});const Me=c(()=>{const e=se.current,{pins:t,selectedKey:n}=Ne.current,r=n?t.find(e=>e.key===n):void 0;e&&r&&!e.getBounds().contains([r.lng,r.lat])&&e.easeTo({center:[r.lng,r.lat],duration:ee()?0:400})},[]),Ce=l(!1),Le=c((e,t)=>{const n=se.current,r=ie.current;if(!n||!r)return;const o=n.getZoom();if(o>=17.5){const t=e.indexOf(Ne.current.selectedKey??"");return void Ne.current.onSelect(e[(t+1)%e.length])}const a=e.map(e=>ue.current.get(e).pin),l=new r.LngLatBounds([a[0].lng,a[0].lat],[a[0].lng,a[0].lat]);for(const e of a)l.extend([e.lng,e.lat]);const s=a.map(e=>n.project([e.lng,e.lat])),i=Math.max(...s.map((e,t)=>W(e,s.filter((e,n)=>n!==t),o))),{clientWidth:c,clientHeight:u}=n.getContainer(),d=n.cameraForBounds(l,{padding:Math.min(64,c/4,u/4)})?.zoom??18,p=document.activeElement===t;Ce.current=!0,n.once("moveend",()=>{if(Ce.current=!1,!p)return;const e=a[0].key,t=ue.current.get(e)?.button,n=t&&"none"!==t.style.display?t:[...de.current.values()].find(t=>t.keys.includes(e))?.button;n?.focus({preventScroll:!0})}),n.easeTo({center:l.getCenter(),zoom:Math.min(18,Math.max(o+1,Math.min(d,i))),duration:ee()?0:600})},[]),Ee=c(()=>{const e=se.current,t=ie.current;if(!e||!t||!Y.current||Ce.current&&e.isMoving())return;const{selectedKey:n,highlightKey:r,groupCrowded:o,strings:a,noun:l,looks:s}=Ne.current;for(const[e,t]of ue.current){const a=s.pinMark(t.pin,e===n,e===r,o);t.mark.className!==a&&(t.mark.className=a);const l=e===n?"1":"";t.button.style.zIndex!==l&&(t.button.style.zIndex=l)}let i=null;if(o){const r=e.getContainer().getBoundingClientRect(),o=[...Y.current.querySelectorAll("a[href], button, input, select, textarea, summary, [role='button'], [tabindex]:not([tabindex='-1'])")].filter(e=>!e.closest("[data-pin], [data-pin-group], .maplibregl-canvas")).map(e=>{const t=e.getBoundingClientRect(),n=e.closest("[data-map-card]")?.getBoundingClientRect()??t;return{left:Math.max(t.left,n.left)-r.left,top:Math.max(t.top,n.top)-r.top,right:Math.min(t.right,n.right)-r.left,bottom:Math.min(t.bottom,n.bottom)-r.top}}).filter(e=>e.right>e.left&&e.bottom>e.top);i=K([...ue.current.values()].map(({pin:t})=>{const n=e.project([t.lng,t.lat]);return{key:t.key,x:n.x,y:n.y,stop:t.stop??null}}),o);const c=e=>(l??a.places)(e),u=e.getZoom()<17.5?a.spread:a.cycle,d=(e,t)=>{const n=t?"":"none";e.style.display!==n&&(e.style.display=n)},p=/* @__PURE__ */new Map;for(const r of i.groups){const o=r.under>0?a.closeBy(r.under,c(r.under)):null,l=1===r.keys.length?ue.current.get(r.keys[0]):null;if(l){d(l.button,!0),l.button.setAttribute("aria-label",o?`${l.name}; ${o}`:l.name),l.button.title=o?`${l.title}\n${o}`:l.title;continue}for(const e of r.keys)d(ue.current.get(e).button,!1);const i=r.keys.join(" ");let m=de.current.get(i);if(!m){const n=document.createElement("button");n.type="button",n.dataset.pinGroup="",n.className=s.groupButton,n.append(document.createElement("span"));const o=ue.current.get(r.keys[0]).pin,a={button:n,keys:r.keys,marker:new t.Marker({element:n,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)};n.addEventListener("click",e=>{e.stopPropagation(),Le(a.keys,n)}),m=a}m.keys=r.keys;const h=r.keys.map(e=>ue.current.get(e)),g=r.stops.length>0?A(r.stops):String(h.length),f=r.stops.length>0?a.stops(g):a.group(h.length,c(h.length));m.button.style.width=`${r.width}px`,m.button.style.height=`${r.height}px`,m.button.setAttribute("aria-label",`${f}: ${h.map(e=>e.pin.label).join("; ")}. ${u}${o?`; ${o}`:""}.`),m.button.title=[`${f}:`,...h.map(e=>e.title),...o?[o]:[],u].join("\n");const y=m.button.firstElementChild;y.textContent=g;const b=s.groupDisc(r.stops.length>0,h.every(e=>e.pin.dot),null!=n&&r.keys.includes(n));y.className!==b&&(y.className=b),p.set(i,m)}for(const e of i.hidden)d(ue.current.get(e).button,!1);for(const[e,t]of de.current)p.has(e)||t.marker.remove();de.current=p}if(me.current){const e=r&&i?i.groups.find(e=>e.keys.includes(r)&&e.keys.length>1):void 0,t=r?ue.current.get(r):void 0,n=r?pe.current.get(r):void 0,o=e?{at:ue.current.get(e.keys[0]).pin,width:e.width,height:e.height}:t?{at:t.pin,width:t.button.offsetWidth||(null!=t.pin.stop?j:S),height:t.button.offsetHeight||(null!=t.pin.stop?j:S)}:n?{at:n.mark,width:n.element.offsetWidth||j,height:n.element.offsetHeight||j}:null,a=me.current.getElement();a.style.display=o?"":"none",o&&(me.current.setLngLat([o.at.lng,o.at.lat]),a.style.width=`${o.width+22}px`,a.style.height=`${o.height+22}px`)}},[Le]);i(()=>{if(Ee(),!Y.current)return;const e=new ResizeObserver(()=>Ee());e.observe(Y.current);for(const t of Y.current.children)t.contains(oe.current)||e.observe(t);return()=>e.disconnect()}),i(()=>{let e=!1,t=null,n=null,r=()=>{};return(async()=>{try{const o=await $();if(e||!oe.current)return;ie.current=o,t=new o.Map({container:oe.current,style:U[we],center:T.center,zoom:T.zoom,attributionControl:v?{compact:!0,customAttribution:v}:{compact:!0},dragRotate:!1,pitchWithRotate:!1,touchPitch:!1,maxPitch:0,cooperativeGestures:"coarse"===P?window.matchMedia("(pointer: coarse)").matches:P}),t.touchZoomRotate.disableRotation(),t.keyboard.disableRotation(),t.addControl(new o.NavigationControl({showCompass:!1}),"top-right");const a=document.createElement("div");a.dataset.pinRing="",a.setAttribute("aria-hidden","true"),a.className=Ne.current.looks.ring,a.style.display="none",me.current=new o.Marker({element:a,anchor:"center"}).setLngLat(T.center).addTo(t),t.on("click",e=>{Ne.current.picking&&Ne.current.onPick?.({lat:e.lngLat.lat,lng:e.lngLat.lng})}),t.on("move",Ee),t.on("moveend",Ee),t.on("resize",Ee),t.on("error",e=>console.warn("[map]",e.error?.message)),r=b(oe.current.querySelector(".maplibregl-ctrl-attrib"));const l=t;n=new ResizeObserver(()=>{l.resize(),Me()}),n.observe(oe.current),se.current=t,ye(!0)}catch(t){console.error("[map] could not start",t),e||xe(!0)}})(),()=>{e=!0,n?.disconnect(),r(),ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),me.current?.remove(),me.current=null,t?.remove(),se.current=null}},[]);const $e=l(we);i(()=>{fe&&se.current&&$e.current!==we&&($e.current=we,se.current.setStyle(U[we]))},[fe,we]),i(()=>{const e=se.current,n=ie.current;if(!fe||!e||!n)return;ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),ue.current.clear(),pe.current.clear();for(const e of he.current.keys())t.some(t=>t.key===e)||he.current.delete(e);const r=Ne.current.strings;for(const o of t){const t=document.createElement("button");t.type="button",t.dataset.pin=o.key,t.className=ke.pinButton(o,C);const a=o.approximate?r.approximate(o.label):o.label,l=o.title??(o.approximate?r.approximateTitle(o.label):o.label);t.setAttribute("aria-label",a),t.title=l;const s=document.createElement("span");if(re(s,o.data),o.dot);else if(null!=o.iconNode){const e=he.current.get(o.key);e&&s.append(e)}else o.icon?.length?s.append(ne(o.icon)):s.textContent=null!=o.stop?String(o.stop):o.glyph;if(t.append(s),o.badge){const e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=ke.badge(o.badgeTone),e.textContent=o.badge,t.appendChild(e)}t.addEventListener("click",e=>{e.stopPropagation(),Ne.current.onSelect(o.key)}),ce.current.push(new n.Marker({element:t,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)),ue.current.set(o.key,{pin:o,button:t,mark:s,name:a,title:l})}for(const t of w??[]){const r=document.createElement("div");r.dataset.mapMark=t.key,re(r,t.data),r.className=ke.mark(t),r.textContent=t.text,r.title=t.title??t.label,r.setAttribute("role","img"),r.setAttribute("aria-label",t.label),ce.current.push(new n.Marker({element:r,anchor:"center"}).setLngLat([t.lng,t.lat]).addTo(e)),pe.current.set(t.key,{mark:t,element:r})}Ee()},[fe,t,w,C,Ee,_]),i(()=>{fe&&Ee()},[fe,n,E,Ee]),i(()=>{if(!fe||!n)return;const e=requestAnimationFrame(Me);return()=>cancelAnimationFrame(e)},[fe,n,Me]),i(()=>{const e=se.current,n=ie.current,r=x?[...t,...w??[]].filter(e=>x.includes(e.key)):t;if(!fe||!e||!n||0===r.length)return;const o=r.map(e=>`${e.key}@${e.lat},${e.lng}`).sort().join("|");if(ge.current===o)return;const a=""===ge.current;if(ge.current=o,1===r.length)return void e.jumpTo({center:[r[0].lng,r[0].lat],zoom:13});const l=new n.LngLatBounds([r[0].lng,r[0].lat],[r[0].lng,r[0].lat]);for(const e of r)l.extend([e.lng,e.lat]);e.fitBounds(l,{padding:48,maxZoom:14,animate:!a})},[fe,t,w,x]),i(()=>{const e=se.current;if(!fe||!e)return;const t=(y??[]).filter(e=>e.coordinates.length>=2),n=[...new Set(t.flatMap(e=>e.attribution?[e.attribution]:[]))].join(" · "),r=()=>{const r=function(){const e=document.createElement("span");e.className="text-blue-600",e.style.display="none",document.body.appendChild(e);const t=getComputedStyle(e).color||"#2563eb";return e.remove(),V(t)}(),o={type:"FeatureCollection",features:t.map(e=>({type:"Feature",properties:{key:e.key,estimate:e.estimate,faded:!!e.faded,color:e.color?Q(e.color):r},geometry:{type:"LineString",coordinates:e.coordinates}}))},a=["case",["get","faded"],.25,.85],l=["get","color"],s=e.getSource(Z);if(s&&(s.attribution||"")!==n){for(const t of J)e.getLayer(t)&&e.removeLayer(t);e.removeSource(Z)}const i=e.getSource(Z);i?i.setData(o):e.addSource(Z,{type:"geojson",data:o,...n?{attribution:n}:{}}),e.getLayer("routes-road")||e.addLayer({id:"routes-road",type:"line",source:Z,filter:["!",["get","estimate"]],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":4,"line-opacity":a}}),e.getLayer("routes-estimate")||e.addLayer({id:"routes-estimate",type:"line",source:Z,filter:["get","estimate"],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":3,"line-dasharray":[1.5,1.5],"line-opacity":a}})},o=()=>{try{r()}catch(e){console.debug("[map] routes wait for the style",e)}};return o(),e.on("style.load",o),e.once("idle",o),()=>{e.off("style.load",o),e.off("idle",o)}},[fe,y,we]),i(()=>{const e=se.current;if(!fe||!e||!r)return;const n=t.find(e=>e.key===r.key);if(!n)return;const o=e.getZoom(),a=C?W(e.project([n.lng,n.lat]),t.filter(e=>e.key!==n.key).map(t=>e.project([t.lng,t.lat])),o):-1/0,l={center:[n.lng,n.lat],zoom:Math.min(18,Math.max(o,13,a))};ee()?e.jumpTo(l):e.flyTo({...l,duration:600})},[fe,r?.n]);const[Se,je]=s(!1);i(()=>{const e=Y.current;if(!e)return;const t=()=>je(e.clientWidth<O);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[O]);const Be=n?t.find(e=>e.key===n)??null:null,Ae=Be?.key??null,ze=Be?.lng??0,Re=Be?.lat??0,Oe=fe&&!Se&&null!=R&&!!Be,[Fe,Te]=s(null);i(()=>{const e=se.current,t=ie.current;if(!(Oe&&e&&t&&Ae))return;const n=document.createElement("div");n.dataset.mapCard="",n.className=Ne.current.looks.cardFloating;const r=new t.Popup({anchor:"bottom",offset:k,className:"rosh-map-card",maxWidth:"none",closeButton:!1,closeOnClick:!1,closeOnMove:!1,focusAfterOpen:!1}).setLngLat([ze,Re]).setDOMContent(n).addTo(e),o=r.getElement(),a=o.querySelector(".maplibregl-popup-content");a&&Object.assign(a.style,{padding:"0",background:"transparent",borderRadius:"0",boxShadow:"none"});const l=o.querySelector(".maplibregl-popup-tip"),s=Ne.current.looks===G.site?"var(--rosh-map-pin, #111)":"var(--color-gray-600, #4b5563)";l&&Object.assign(l.style,{borderTopColor:s,borderBottomColor:s}),Te(n);let i=!1,c=!1;const u=(t=!0)=>{if(c)return;if(e.isMoving())return void(i||(i=!0,e.once("moveend",()=>{i=!1,u()})));const{clientWidth:o,clientHeight:a}=e.getContainer(),l=function(e,t){const n=e.getBoundingClientRect().top,r=[...e.querySelectorAll(".maplibregl-ctrl-top-left > *, .maplibregl-ctrl-top-right > *"),...t?.querySelectorAll(":scope > [data-map-control]")??[]];let o=0;for(const e of r){const t=e.getBoundingClientRect();t.height>0&&(o=Math.max(o,t.bottom-n))}return o}(e.getContainer(),Y.current)+8,s=`${N(a,l)}px`;n.style.maxHeight!==s&&(n.style.maxHeight=s);const d=r.getElement(),p=r.getLngLat(),{anchor:m,move:h}=M(e.project(p),{width:d.offsetWidth,height:d.offsetHeight},{width:o,height:a},l);r.options.anchor!==m&&(r.options.anchor=m,r.setLngLat(p)),!t||0===h.x&&0===h.y||e.panBy([-h.x,-h.y],{duration:ee()?0:250}),Ee()},d=new ResizeObserver(()=>u());d.observe(n);const p=()=>u(),m=()=>{i||u(!1)};e.on("resize",p),e.on("moveend",m);let h=!1;const g=ue.current,f=e=>{h=n.contains(e.target)};return document.addEventListener("focusin",f),()=>{if(c=!0,d.disconnect(),e.off("resize",p),e.off("moveend",m),document.removeEventListener("focusin",f),r.remove(),Te(null),h&&(!document.activeElement||document.activeElement===document.body)){const e=g.get(Ae)?.button;e&&"none"!==e.style.display&&e.focus({preventScroll:!0})}}},[Oe,Ae,ze,Re,Ee]);const Ke=F?.active??!1,We=l(F?.onChange);i(()=>{We.current=F?.onChange}),i(()=>{if(!F)return;const e=document.documentElement;Ke&&!document.fullscreenElement&&e.requestFullscreen&&e.requestFullscreen().catch(()=>{}),!Ke&&document.fullscreenElement&&document.exitFullscreen().catch(()=>{})},[Ke]);const qe=!!F;return i(()=>{if(!qe)return;const e=()=>{document.fullscreenElement||We.current?.(!1)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[qe]),/* @__PURE__ */m("div",{ref:Y,className:te(ke.frame(B),g),children:[
|
|
3
|
-
/* @__PURE__ */h("div",{className:ke.fill,children:/* @__PURE__ */h("div",{ref:oe,className:ke.box,role:"region","aria-label":u})}),be&&/* @__PURE__ */h("p",{className:ke.failed,children:
|
|
2
|
+
import{Button_default as e}from"../chunk-DELNCIUK.js";import"../chunk-RDLWLATO.js";import{rootIsDark as t,ROOT_THEME_ATTRIBUTES as n}from"../chunk-7IQ3B77H.js";import"../chunk-D65T4H6J.js";import"../chunk-FIEA5CGB.js";import"../chunk-K7PQXJO7.js";import{Icon as r}from"../chunk-76DRQSJM.js";import{useShellStrings as o}from"../chunk-2EJRVQ3Y.js";import"../chunk-C3QOHMR6.js";import{SpinnerRing as a}from"../chunk-2J6F4EE7.js";import{useRef as l,useState as s,useEffect as i,useCallback as c,useMemo as u,useSyncExternalStore as d}from"react";import{createPortal as p}from"react-dom";import{jsxs as m,jsx as h,Fragment as g}from"react/jsx-runtime";import{useQuery as f}from"@tanstack/react-query";var y="maplibregl-compact-show";function b(e){if(!e)return()=>{};const t=()=>!!e.classList.contains(y)&&(e.classList.remove(y),!0);if(t())return()=>{};const n=new MutationObserver(()=>{t()&&n.disconnect()});return n.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()}var x=20,v=12,w=480,k={center:[0,0],left:[x,0],right:[-20,0],top:[0,x],"top-left":[0,x],"top-right":[0,x],bottom:[0,-20],"bottom-left":[0,-20],"bottom-right":[0,-20]},N=(e,t=12)=>Math.max(0,Math.floor(e-t-v-x-10-16));function M(e,t,n,r=12){const o=e.y-x-r,a=n.height-e.y-x-v,l=t.height<=o||t.height>a&&o>=a,s=l?Math.max(0,t.height-o):-Math.max(0,t.height-a);let i="",c=0;return e.x-t.width/2<v?(i="-left",c=Math.max(0,v-e.x)):e.x+t.width/2>n.width-v&&(i="-right",c=-Math.max(0,e.x-(n.width-v))),{anchor:`${l?"bottom":"top"}${i}`,move:{x:c,y:s}}}var C="maplibre-gl-worker.mjs",L=e=>`/maplibre-gl/${e}/${C}`,E=null;function $(){return E??=Promise.all([import("maplibre-gl"),import("maplibre-gl/dist/maplibre-gl.css")]).then(([e])=>(e.setWorkerUrl(L(e.getVersion())),e)).catch(e=>{throw E=null,e}),E}var S=24,j=28,A=29;function B(e){const t=[...e].sort((e,t)=>e-t),n=[];for(let e=0;e<t.length;){let r=e;for(;r+1<t.length&&t[r+1]===t[r]+1;)r++;n.push(r===e?String(t[e]):`${t[e]}–${t[r]}`),e=r+1}return n.join(", ")}function z(e){const t=Math.max(j,12+8*e.length);return t+t%2}var R=(e,t,n,r)=>({left:e-n/2,top:t-r/2,right:e+n/2,bottom:t+r/2});function O(e,t){return e.left<t.right+1&&t.left<e.right+1&&e.top<t.bottom+1&&t.top<e.bottom+1}var T=e=>R(e.x,e.y,e.width,e.height);function F(e){for(let t=0;t<e.length;t++)for(let n=t+1;n<e.length;n++)if(O(T(e[t]),T(e[n])))return[e[t],e[n]];return null}function K(e,t=[]){const n=[],r=e=>t.some(t=>O(t,e));let o=e.filter(e=>null!==e.stop).sort((e,t)=>e.stop-t.stop).map(e=>({keys:[e.key],stops:[e.stop],x:e.x,y:e.y,width:j,height:j,under:0}));for(let e=F(o);e;e=F(o)){const[t,n]=e;t.keys.push(...n.keys),t.stops.push(...n.stops),t.stops.sort((e,t)=>e-t),t.width=z(B(t.stops)),o=o.filter(e=>e!==n)}o=o.filter(e=>!r(T(e))||(n.push(...e.keys),!1));const a=[];for(const t of e){if(null!==t.stop)continue;const e=R(t.x,t.y,S,S),l=o.find(t=>O(T(t),e));if(l||r(e)){n.push(t.key),l&&l.under++;continue}const s=a.find(t=>O(T(t),e));s?s.keys.push(t.key):a.push({keys:[t.key],stops:[],x:t.x,y:t.y,width:S,height:S,under:0})}return{groups:[...o,...a],hidden:n}}function W(e,t,n){let r=-1/0;for(const o of t){const t=Math.max(Math.abs(o.x-e.x),Math.abs(o.y-e.y));r=Math.max(r,0===t?1/0:n+Math.log2(29/t))}return r}function q(e){const t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:n}),()=>t.disconnect()}var _=t;var H=(...e)=>e.filter(Boolean).join(" "),I=/^(?:\d+|[xytrblse](?:-\d+)?|solid|dashed|dotted|double|hidden|none)$/;function D(e){return e.split(/\s+/).some(e=>{const t=e.search(/[[(]/),n=t<0?e:e.slice(0,t),r=e.slice(n.lastIndexOf(":")+1);return r.startsWith("border-")&&!I.test(r.slice(7))})}var P="ring-2 ring-gray-900 ring-offset-2",J={portal:{frame:e=>H("relative min-h-72 overflow-hidden rounded-lg border border-gray-200 bg-gray-100",e&&"[&_canvas]:cursor-crosshair"),fill:"absolute inset-0",box:"h-full w-full",failed:"absolute inset-0 grid place-items-center p-6 text-center text-sm text-gray-500",cardInline:"absolute bottom-3 left-3 right-3 z-10 max-h-[calc(100%-1.5rem)] max-w-md overflow-y-auto overscroll-contain",cardFloating:"w-[26rem] overflow-y-auto overscroll-contain",ring:"pointer-events-none rounded-full border-2 border-gray-900 bg-gray-900/15 shadow-[0_0_0_2px_var(--color-white,#fff)]",pinButton:(e,t)=>H("relative grid place-items-center rounded-full cursor-pointer",t&&(null!=e.stop?"h-7 w-7":"h-6 w-6")),pinMark:(e,t,n,r)=>{const o=t&&!r&&null==e.stop&&!e.dot;return H("grid place-items-center rounded-full border-2 font-semibold leading-none shadow-sm transition-transform motion-reduce:transition-none",!D(e.tone)&&"border-white",e.tone,e.dot?"h-4 w-4 opacity-80":null!=e.stop?"h-7 w-7 text-xs ring-2 ring-gray-900":o?"h-8 w-8 text-xs [&_svg]:h-4 [&_svg]:w-4":"h-6 w-6 text-2xs [&_svg]:h-3.5 [&_svg]:w-3.5",t&&(o?"ring-2 ring-gray-900 ring-offset-1":P),e.approximate&&"border-dashed opacity-80",e.faded&&!t&&"opacity-40",n&&"scale-125 opacity-100")},mark:e=>H("grid place-items-center border-2 px-0.5 text-xs font-semibold leading-none shadow-sm",e.stop?"h-7 min-w-7":"h-6 min-w-6",!D(e.tone??"")&&"border-white",e.tone??"bg-gray-900 text-white"),groupButton:"grid place-items-center rounded-full cursor-pointer",groupDisc:(e,t,n)=>H("grid place-items-center rounded-full border-2 border-gray-700 bg-white font-semibold leading-none text-gray-900 shadow-sm",e?"h-7 w-full px-1 text-xs ring-2 ring-gray-900":t?"h-5 w-5 text-3xs":"h-6 w-6 text-2xs",n&&P),badge:e=>H("absolute -right-2 -top-2 grid h-4 min-w-4 place-items-center rounded-full px-0.5 text-3xs font-semibold leading-none shadow",e??"bg-white text-gray-900"),iconHost:"contents"},site:{frame:e=>H("rosh-map-frame",e&&"rosh-map-frame--picking"),fill:"rosh-map-fill",box:"rosh-map-box",failed:"rosh-map-failed",cardInline:"rosh-map-card-inline",cardFloating:"rosh-map-card-floating",ring:"rosh-map-ring",pinButton:(e,t)=>H("rosh-map-target",t&&(null!=e.stop?"rosh-map-target--stop":"rosh-map-target--sized")),pinMark:(e,t,n,r)=>H("rosh-map-pin",e.dot?"rosh-map-pin--dot":null!=e.stop?"rosh-map-pin--stop":null,t&&!r&&null==e.stop&&!e.dot&&"rosh-map-pin--grown",t&&"rosh-map-pin--chosen",e.approximate&&"rosh-map-pin--approximate",e.faded&&!t&&"rosh-map-pin--faded",n&&"rosh-map-pin--pointed"),mark:e=>H("rosh-map-mark",e.stop&&"rosh-map-mark--stop"),groupButton:"rosh-map-target",groupDisc:(e,t,n)=>H("rosh-map-group",e?"rosh-map-group--stops":t?"rosh-map-group--dots":null,n&&"rosh-map-group--chosen"),badge:()=>"rosh-map-badge",iconHost:"rosh-map-icon"}},Q="routes",Z=["routes-road","routes-estimate"];function G(e){const t=document.createElement("span");t.style.display="none",t.style.color=e,document.body.appendChild(t);const n=getComputedStyle(t).color||"#2563eb";return t.remove(),U(n)}function U(e){const t=document.createElement("canvas").getContext("2d");if(!t)return"#2563eb";t.fillStyle="#2563eb",t.fillStyle=e,t.fillRect(0,0,1,1);const[n,r,o]=t.getImageData(0,0,1,1).data;return`rgb(${n}, ${r}, ${o})`}var V={light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark"},X={center:[30,20],zoom:1};var Y="http://www.w3.org/2000/svg",ee=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,te=(...e)=>e.filter(Boolean).join(" ");function ne(e){const t=document.createElementNS(Y,"svg");t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.setAttribute("stroke","currentColor"),t.setAttribute("stroke-width","2"),t.setAttribute("aria-hidden","true");for(const n of e){const e=document.createElementNS(Y,"path");e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("d",n),t.appendChild(e)}return t}function re(e,t){for(const[n,r]of Object.entries(t??{}))e.dataset[n]=r}function oe({pins:t,selectedKey:n,focus:r,onSelect:a,ariaLabel:u,className:g="",children:f,routes:y,fitTo:x,attribution:v,marks:w,groupCrowded:C=!1,noun:L,highlightKey:E=null,picking:A=!1,onPick:z,card:R,cardMinMapWidth:O=480,fullScreen:T,initialView:F=X,cooperativeGestures:H=!1,look:I="portal",theme:D}){const P=o().map,Y=l(null),oe=l(null),se=l(null),ie=l(null),ce=l([]),ue=l(/* @__PURE__ */new Map),de=l(/* @__PURE__ */new Map),pe=l(/* @__PURE__ */new Map),me=l(null),he=l(/* @__PURE__ */new Map),ge=l(""),[fe,ye]=s(!1),[be,xe]=s(!1),ve=d(q,_,()=>!1),we=D??(ve?"dark":"light"),ke=J[I],Ne=l({onSelect:a,onPick:z,picking:A,pins:t,selectedKey:n,highlightKey:E,groupCrowded:C,strings:P,noun:L,looks:ke});i(()=>{Ne.current={onSelect:a,onPick:z,picking:A,pins:t,selectedKey:n,highlightKey:E,groupCrowded:C,strings:P,noun:L,looks:ke}});const Me=c(()=>{const e=se.current,{pins:t,selectedKey:n}=Ne.current,r=n?t.find(e=>e.key===n):void 0;e&&r&&!e.getBounds().contains([r.lng,r.lat])&&e.easeTo({center:[r.lng,r.lat],duration:ee()?0:400})},[]),Ce=l(!1),Le=c((e,t)=>{const n=se.current,r=ie.current;if(!n||!r)return;const o=n.getZoom();if(o>=17.5){const t=e.indexOf(Ne.current.selectedKey??"");return void Ne.current.onSelect(e[(t+1)%e.length])}const a=e.map(e=>ue.current.get(e).pin),l=new r.LngLatBounds([a[0].lng,a[0].lat],[a[0].lng,a[0].lat]);for(const e of a)l.extend([e.lng,e.lat]);const s=a.map(e=>n.project([e.lng,e.lat])),i=Math.max(...s.map((e,t)=>W(e,s.filter((e,n)=>n!==t),o))),{clientWidth:c,clientHeight:u}=n.getContainer(),d=n.cameraForBounds(l,{padding:Math.min(64,c/4,u/4)})?.zoom??18,p=document.activeElement===t;Ce.current=!0,n.once("moveend",()=>{if(Ce.current=!1,!p)return;const e=a[0].key,t=ue.current.get(e)?.button,n=t&&"none"!==t.style.display?t:[...de.current.values()].find(t=>t.keys.includes(e))?.button;n?.focus({preventScroll:!0})}),n.easeTo({center:l.getCenter(),zoom:Math.min(18,Math.max(o+1,Math.min(d,i))),duration:ee()?0:600})},[]),Ee=c(()=>{const e=se.current,t=ie.current;if(!e||!t||!Y.current||Ce.current&&e.isMoving())return;const{selectedKey:n,highlightKey:r,groupCrowded:o,strings:a,noun:l,looks:s}=Ne.current;for(const[e,t]of ue.current){const a=s.pinMark(t.pin,e===n,e===r,o);t.mark.className!==a&&(t.mark.className=a);const l=e===n?"1":"";t.button.style.zIndex!==l&&(t.button.style.zIndex=l)}let i=null;if(o){const r=e.getContainer().getBoundingClientRect(),o=[...Y.current.querySelectorAll("a[href], button, input, select, textarea, summary, [role='button'], [tabindex]:not([tabindex='-1'])")].filter(e=>!e.closest("[data-pin], [data-pin-group], .maplibregl-canvas")).map(e=>{const t=e.getBoundingClientRect(),n=e.closest("[data-map-card]")?.getBoundingClientRect()??t;return{left:Math.max(t.left,n.left)-r.left,top:Math.max(t.top,n.top)-r.top,right:Math.min(t.right,n.right)-r.left,bottom:Math.min(t.bottom,n.bottom)-r.top}}).filter(e=>e.right>e.left&&e.bottom>e.top);i=K([...ue.current.values()].map(({pin:t})=>{const n=e.project([t.lng,t.lat]);return{key:t.key,x:n.x,y:n.y,stop:t.stop??null}}),o);const c=e=>(l??a.places)(e),u=e.getZoom()<17.5?a.spread:a.cycle,d=(e,t)=>{const n=t?"":"none";e.style.display!==n&&(e.style.display=n)},p=/* @__PURE__ */new Map;for(const r of i.groups){const o=r.under>0?a.closeBy(r.under,c(r.under)):null,l=1===r.keys.length?ue.current.get(r.keys[0]):null;if(l){d(l.button,!0),l.button.setAttribute("aria-label",o?`${l.name}; ${o}`:l.name),l.button.title=o?`${l.title}\n${o}`:l.title;continue}for(const e of r.keys)d(ue.current.get(e).button,!1);const i=r.keys.join(" ");let m=de.current.get(i);if(!m){const n=document.createElement("button");n.type="button",n.dataset.pinGroup="",n.className=s.groupButton,n.append(document.createElement("span"));const o=ue.current.get(r.keys[0]).pin,a={button:n,keys:r.keys,marker:new t.Marker({element:n,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)};n.addEventListener("click",e=>{e.stopPropagation(),Le(a.keys,n)}),m=a}m.keys=r.keys;const h=r.keys.map(e=>ue.current.get(e)),g=r.stops.length>0?B(r.stops):String(h.length),f=r.stops.length>0?a.stops(g):a.group(h.length,c(h.length));m.button.style.width=`${r.width}px`,m.button.style.height=`${r.height}px`,m.button.setAttribute("aria-label",`${f}: ${h.map(e=>e.pin.label).join("; ")}. ${u}${o?`; ${o}`:""}.`),m.button.title=[`${f}:`,...h.map(e=>e.title),...o?[o]:[],u].join("\n");const y=m.button.firstElementChild;y.textContent=g;const b=s.groupDisc(r.stops.length>0,h.every(e=>e.pin.dot),null!=n&&r.keys.includes(n));y.className!==b&&(y.className=b),p.set(i,m)}for(const e of i.hidden)d(ue.current.get(e).button,!1);for(const[e,t]of de.current)p.has(e)||t.marker.remove();de.current=p}if(me.current){const e=r&&i?i.groups.find(e=>e.keys.includes(r)&&e.keys.length>1):void 0,t=r?ue.current.get(r):void 0,n=r?pe.current.get(r):void 0,o=e?{at:ue.current.get(e.keys[0]).pin,width:e.width,height:e.height}:t?{at:t.pin,width:t.button.offsetWidth||(null!=t.pin.stop?j:S),height:t.button.offsetHeight||(null!=t.pin.stop?j:S)}:n?{at:n.mark,width:n.element.offsetWidth||j,height:n.element.offsetHeight||j}:null,a=me.current.getElement();a.style.display=o?"":"none",o&&(me.current.setLngLat([o.at.lng,o.at.lat]),a.style.width=`${o.width+22}px`,a.style.height=`${o.height+22}px`)}},[Le]);i(()=>{if(Ee(),!Y.current)return;const e=new ResizeObserver(()=>Ee());e.observe(Y.current);for(const t of Y.current.children)t.contains(oe.current)||e.observe(t);return()=>e.disconnect()}),i(()=>{let e=!1,t=null,n=null,r=()=>{};return(async()=>{try{const o=await $();if(e||!oe.current)return;ie.current=o,t=new o.Map({container:oe.current,style:V[we],center:F.center,zoom:F.zoom,attributionControl:v?{compact:!0,customAttribution:v}:{compact:!0},dragRotate:!1,pitchWithRotate:!1,touchPitch:!1,maxPitch:0,cooperativeGestures:"coarse"===H?window.matchMedia("(pointer: coarse)").matches:H}),t.touchZoomRotate.disableRotation(),t.keyboard.disableRotation(),t.addControl(new o.NavigationControl({showCompass:!1}),"top-right");const a=document.createElement("div");a.dataset.pinRing="",a.setAttribute("aria-hidden","true"),a.className=Ne.current.looks.ring,a.style.display="none",me.current=new o.Marker({element:a,anchor:"center"}).setLngLat(F.center).addTo(t),t.on("click",e=>{Ne.current.picking&&Ne.current.onPick?.({lat:e.lngLat.lat,lng:e.lngLat.lng})}),t.on("move",Ee),t.on("moveend",Ee),t.on("resize",Ee),t.on("error",e=>console.warn("[map]",e.error?.message)),r=b(oe.current.querySelector(".maplibregl-ctrl-attrib"));const l=t;n=new ResizeObserver(()=>{l.resize(),Me()}),n.observe(oe.current),se.current=t,ye(!0)}catch(t){console.error("[map] could not start",t),e||xe(!0)}})(),()=>{e=!0,n?.disconnect(),r(),ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),me.current?.remove(),me.current=null,t?.remove(),se.current=null}},[]);const $e=l(we);i(()=>{fe&&se.current&&$e.current!==we&&($e.current=we,se.current.setStyle(V[we]))},[fe,we]),i(()=>{const e=se.current,n=ie.current;if(!fe||!e||!n)return;ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),ue.current.clear(),pe.current.clear();for(const e of he.current.keys())t.some(t=>t.key===e)||he.current.delete(e);const r=Ne.current.strings;for(const o of t){const t=document.createElement("button");t.type="button",t.dataset.pin=o.key,t.className=ke.pinButton(o,C);const a=o.approximate?r.approximate(o.label):o.label,l=o.title??(o.approximate?r.approximateTitle(o.label):o.label);t.setAttribute("aria-label",a),t.title=l;const s=document.createElement("span");if(re(s,o.data),o.dot);else if(null!=o.iconNode){const e=he.current.get(o.key);e&&s.append(e)}else o.icon?.length?s.append(ne(o.icon)):s.textContent=null!=o.stop?String(o.stop):o.glyph;if(t.append(s),o.badge){const e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=ke.badge(o.badgeTone),e.textContent=o.badge,t.appendChild(e)}t.addEventListener("click",e=>{e.stopPropagation(),Ne.current.onSelect(o.key)}),ce.current.push(new n.Marker({element:t,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)),ue.current.set(o.key,{pin:o,button:t,mark:s,name:a,title:l})}for(const t of w??[]){const r=document.createElement("div");r.dataset.mapMark=t.key,re(r,t.data),r.className=ke.mark(t),r.textContent=t.text,r.title=t.title??t.label,r.setAttribute("role","img"),r.setAttribute("aria-label",t.label),ce.current.push(new n.Marker({element:r,anchor:"center"}).setLngLat([t.lng,t.lat]).addTo(e)),pe.current.set(t.key,{mark:t,element:r})}Ee()},[fe,t,w,C,Ee,I]),i(()=>{fe&&Ee()},[fe,n,E,Ee]),i(()=>{if(!fe||!n)return;const e=requestAnimationFrame(Me);return()=>cancelAnimationFrame(e)},[fe,n,Me]),i(()=>{const e=se.current,n=ie.current,r=x?[...t,...w??[]].filter(e=>x.includes(e.key)):t;if(!fe||!e||!n||0===r.length)return;const o=r.map(e=>`${e.key}@${e.lat},${e.lng}`).sort().join("|");if(ge.current===o)return;const a=""===ge.current;if(ge.current=o,1===r.length)return void e.jumpTo({center:[r[0].lng,r[0].lat],zoom:13});const l=new n.LngLatBounds([r[0].lng,r[0].lat],[r[0].lng,r[0].lat]);for(const e of r)l.extend([e.lng,e.lat]);e.fitBounds(l,{padding:48,maxZoom:14,animate:!a})},[fe,t,w,x]),i(()=>{const e=se.current;if(!fe||!e)return;const t=(y??[]).filter(e=>e.coordinates.length>=2),n=[...new Set(t.flatMap(e=>e.attribution?[e.attribution]:[]))].join(" · "),r=()=>{const r=function(){const e=document.createElement("span");e.className="text-blue-600",e.style.display="none",document.body.appendChild(e);const t=getComputedStyle(e).color||"#2563eb";return e.remove(),U(t)}(),o={type:"FeatureCollection",features:t.map(e=>({type:"Feature",properties:{key:e.key,estimate:e.estimate,faded:!!e.faded,color:e.color?G(e.color):r},geometry:{type:"LineString",coordinates:e.coordinates}}))},a=["case",["get","faded"],.25,.85],l=["get","color"],s=e.getSource(Q);if(s&&(s.attribution||"")!==n){for(const t of Z)e.getLayer(t)&&e.removeLayer(t);e.removeSource(Q)}const i=e.getSource(Q);i?i.setData(o):e.addSource(Q,{type:"geojson",data:o,...n?{attribution:n}:{}}),e.getLayer("routes-road")||e.addLayer({id:"routes-road",type:"line",source:Q,filter:["!",["get","estimate"]],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":4,"line-opacity":a}}),e.getLayer("routes-estimate")||e.addLayer({id:"routes-estimate",type:"line",source:Q,filter:["get","estimate"],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":3,"line-dasharray":[1.5,1.5],"line-opacity":a}})},o=()=>{try{r()}catch(e){console.debug("[map] routes wait for the style",e)}};return o(),e.on("style.load",o),e.once("idle",o),()=>{e.off("style.load",o),e.off("idle",o)}},[fe,y,we]),i(()=>{const e=se.current;if(!fe||!e||!r)return;const n=t.find(e=>e.key===r.key);if(!n)return;const o=e.getZoom(),a=C?W(e.project([n.lng,n.lat]),t.filter(e=>e.key!==n.key).map(t=>e.project([t.lng,t.lat])),o):-1/0,l={center:[n.lng,n.lat],zoom:Math.min(18,Math.max(o,13,a))};ee()?e.jumpTo(l):e.flyTo({...l,duration:600})},[fe,r?.n]);const[Se,je]=s(!1);i(()=>{const e=Y.current;if(!e)return;const t=()=>je(e.clientWidth<O);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[O]);const Ae=n?t.find(e=>e.key===n)??null:null,Be=Ae?.key??null,ze=Ae?.lng??0,Re=Ae?.lat??0,Oe=fe&&!Se&&null!=R&&!!Ae,[Te,Fe]=s(null);i(()=>{const e=se.current,t=ie.current;if(!(Oe&&e&&t&&Be))return;const n=document.createElement("div");n.dataset.mapCard="",n.className=Ne.current.looks.cardFloating;const r=new t.Popup({anchor:"bottom",offset:k,className:"rosh-map-card",maxWidth:"none",closeButton:!1,closeOnClick:!1,closeOnMove:!1,focusAfterOpen:!1}).setLngLat([ze,Re]).setDOMContent(n).addTo(e),o=r.getElement(),a=o.querySelector(".maplibregl-popup-content");a&&Object.assign(a.style,{padding:"0",background:"transparent",borderRadius:"0",boxShadow:"none"});const l=o.querySelector(".maplibregl-popup-tip"),s=Ne.current.looks===J.site?"var(--rosh-map-pin, #111)":"var(--color-gray-600, #4b5563)";l&&Object.assign(l.style,{borderTopColor:s,borderBottomColor:s}),Fe(n);let i=!1,c=!1;const u=(t=!0)=>{if(c)return;if(e.isMoving())return void(i||(i=!0,e.once("moveend",()=>{i=!1,u()})));const{clientWidth:o,clientHeight:a}=e.getContainer(),l=function(e,t){const n=e.getBoundingClientRect().top,r=[...e.querySelectorAll(".maplibregl-ctrl-top-left > *, .maplibregl-ctrl-top-right > *"),...t?.querySelectorAll(":scope > [data-map-control]")??[]];let o=0;for(const e of r){const t=e.getBoundingClientRect();t.height>0&&(o=Math.max(o,t.bottom-n))}return o}(e.getContainer(),Y.current)+8,s=`${N(a,l)}px`;n.style.maxHeight!==s&&(n.style.maxHeight=s);const d=r.getElement(),p=r.getLngLat(),{anchor:m,move:h}=M(e.project(p),{width:d.offsetWidth,height:d.offsetHeight},{width:o,height:a},l);r.options.anchor!==m&&(r.options.anchor=m,r.setLngLat(p)),!t||0===h.x&&0===h.y||e.panBy([-h.x,-h.y],{duration:ee()?0:250}),Ee()},d=new ResizeObserver(()=>u());d.observe(n);const p=()=>u(),m=()=>{i||u(!1)};e.on("resize",p),e.on("moveend",m);let h=!1;const g=ue.current,f=e=>{h=n.contains(e.target)};return document.addEventListener("focusin",f),()=>{if(c=!0,d.disconnect(),e.off("resize",p),e.off("moveend",m),document.removeEventListener("focusin",f),r.remove(),Fe(null),h&&(!document.activeElement||document.activeElement===document.body)){const e=g.get(Be)?.button;e&&"none"!==e.style.display&&e.focus({preventScroll:!0})}}},[Oe,Be,ze,Re,Ee]);const Ke=T?.active??!1,We=l(T?.onChange);i(()=>{We.current=T?.onChange}),i(()=>{if(!T)return;const e=document.documentElement;Ke&&!document.fullscreenElement&&e.requestFullscreen&&e.requestFullscreen().catch(()=>{}),!Ke&&document.fullscreenElement&&document.exitFullscreen().catch(()=>{})},[Ke]);const qe=!!T;return i(()=>{if(!qe)return;const e=()=>{document.fullscreenElement||We.current?.(!1)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[qe]),/* @__PURE__ */m("div",{ref:Y,className:te(ke.frame(A),g),children:[
|
|
3
|
+
/* @__PURE__ */h("div",{className:ke.fill,children:/* @__PURE__ */h("div",{ref:oe,className:ke.box,role:"region","aria-label":u})}),be&&/* @__PURE__ */h("p",{className:ke.failed,children:P.failed}),T&&/* @__PURE__ */h(e,{"data-map-control":"",variant:"secondary",size:"sm",className:"absolute left-3 top-3 z-10",onClick:()=>T.onChange(!T.active),leftIcon:/* @__PURE__ */h(le,{leave:T.active}),children:T.active?P.leaveFullScreen:P.fullScreen}),f,null!=R&&!Oe&&/* @__PURE__ */h("div",{"data-map-card":"",className:ke.cardInline,children:R}),Oe&&Te?p(R,Te):null,fe&&/* @__PURE__ */h(ae,{pins:t,hosts:he.current,hostClass:ke.iconHost})]})}function ae({pins:e,hosts:t,hostClass:n}){/* @__PURE__ */
|
|
4
4
|
return h(g,{children:e.map(e=>{if(null==e.iconNode||e.dot)return null;let r=t.get(e.key);return r||(r=document.createElement("span"),r.className=n,t.set(e.key,r)),p(e.iconNode,r,e.key)})})}function le({leave:e}){/* @__PURE__ */
|
|
5
|
-
return h(
|
|
6
|
-
/* @__PURE__ */h("span",{"aria-hidden":!0,className:`h-2.5 w-2.5 rounded-full ${fe(e,t)}`}),ye(e,t)]},e))})}function Ee({point:t,number:n,onOpen:
|
|
5
|
+
return h(r,e?{name:"collapse","aria-hidden":"true",className:"h-4 w-4",strokeWidth:2}:{name:"expand","aria-hidden":"true",className:"h-4 w-4",strokeWidth:2})}function se(){const[e,t]=s(null);return{highlightKey:e,pointAt:c(e=>{const n=()=>t(e),r=()=>t(t=>t===e?null:t);return{onMouseEnter:n,onMouseLeave:r,onFocus:n,onBlur:r}},[])}}var ie=3e3,ce=e=>!!e?.pending&&3e3,ue=e=>`${e.kind}:${e.id}`,de=e=>("located"===e.placement||"approximate"===e.placement)&&null!=e.lat&&null!=e.lng;function pe(e){switch(e){case"located":return null;case"approximate":return"Approximate: only the suburb or postcode matched";case"pending":return"Locating";case"not_found":return"Not on the map: address not found";case"failed":return"Not on the map: the map service could not be reached";case"no_address":return"Not on the map: no city or postcode"}}var me={importer:{label:"Importer",tone:"bg-sky-600 text-white"},dealer:{label:"Dealer",tone:"bg-purple-600 text-white"},retail:{label:"Retail",tone:"bg-green-600 text-white"},supplier:{label:"Supplier",tone:"bg-sky-600 text-white"},delivery_location:{label:"Delivery location",tone:"bg-amber-600 text-white"},warehouse:{label:"Warehouse",tone:"bg-amber-600 text-white"}},he=["importer","dealer","retail","supplier","delivery_location","warehouse"];function ge(e){return"supplier"===e.kind?"supplier":"customer"===e.kind?e.category||"importer":e.kind}var fe=(e,t=me)=>t[e]?.tone??"bg-gray-700 text-white",ye=(e,t=me)=>t[e]?.label??e,be=(e,t)=>fe(ge(e),t);function xe(e,t,n=me){return null!=t?String(t):(n[ge(e)]?.label??"").charAt(0).toUpperCase()}var ve=["delivery_location","warehouse"];function we(e,t=ve){const n=/* @__PURE__ */new Map;let r=0;for(const o of e)t.includes(o.kind)&&n.set(ue(o),++r);return n}function ke(e){const t={onMap:0,approximate:0,pending:0,off:0};for(const n of e)de(n)?(t.onMap+=1,"approximate"===n.placement&&(t.approximate+=1)):"pending"===n.placement?t.pending+=1:t.off+=1;return t}function Ne(e){const t=[`${e.onMap} on the map`];return e.approximate&&t.push(`${e.approximate} approximate`),e.pending&&t.push(`${e.pending} locating`),e.off&&t.push(`${e.off} not on the map`),t.join(" · ")}function Me(e){const t=[...new Set(e.filter(de).map(ge))];return[...he.filter(e=>t.includes(e)),...t.filter(e=>!he.includes(e))]}function Ce(e,t){return e.filter(e=>!de(e)&&"pending"!==e.placement).map(e=>{const n=t?.get(ue(e)),r=pe(e.placement)?.replace(/^Not on the map: /,"")??"";return{key:ue(e),text:`${null!=n?`${n}. `:""}${e.label}: ${r}`}})}function Le({categories:e,palette:t=me,floating:n=!0}){return e.length<2?null:/* @__PURE__ */h("div",{className:(n?"absolute left-3 top-3 z-10 ":"")+"flex flex-wrap gap-x-3 gap-y-1 rounded-lg border border-gray-200 bg-white px-3 py-2 text-xs text-gray-600 shadow-sm",children:e.map(e=>/* @__PURE__ */m("span",{className:"inline-flex items-center gap-2",children:[
|
|
6
|
+
/* @__PURE__ */h("span",{"aria-hidden":!0,className:`h-2.5 w-2.5 rounded-full ${fe(e,t)}`}),ye(e,t)]},e))})}function Ee({point:t,number:n,onOpen:a,onClose:l,palette:s=me}){const i=pe(t.placement),c=ge(t),u=o().map;/* @__PURE__ */
|
|
7
7
|
return m("section",{"aria-label":u.chosen(t.label),className:"absolute bottom-3 left-3 right-3 z-10 max-w-md space-y-2 rounded-lg border border-gray-200 bg-white p-3 shadow-(--elevation-panel)",children:[
|
|
8
8
|
/* @__PURE__ */m("div",{className:"flex items-start justify-between gap-2",children:[
|
|
9
9
|
/* @__PURE__ */m("div",{className:"min-w-0",children:[
|
|
10
10
|
/* @__PURE__ */m("h3",{className:"text-sm font-semibold text-gray-900 [overflow-wrap:anywhere]",children:[null!=n&&/* @__PURE__ */m("span",{className:"mr-1 text-gray-400",children:[n,"."]}),t.label,t.code&&/* @__PURE__ */h("span",{className:"ml-2 text-xs font-normal text-gray-400",children:t.code})]}),
|
|
11
11
|
/* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:s[c]?ye(c,s):t.category})]}),
|
|
12
|
-
/* @__PURE__ */h("button",{type:"button",onClick:l,"aria-label":u.closeCard,className:"rounded p-0.5 text-gray-400 hover:text-gray-600",children:/* @__PURE__ */h(
|
|
13
|
-
/* @__PURE__ */h("p",{className:"text-sm text-gray-700 [overflow-wrap:anywhere]",children:t.address||"—"}),i&&/* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:i}),t.matched&&"approximate"===t.placement&&/* @__PURE__ */m("p",{className:"text-xs text-gray-400 [overflow-wrap:anywhere]",children:["Placed at: ",t.matched]}),
|
|
12
|
+
/* @__PURE__ */h("button",{type:"button",onClick:l,"aria-label":u.closeCard,className:"rounded p-0.5 text-gray-400 hover:text-gray-600",children:/* @__PURE__ */h(r,{name:"close","aria-hidden":!0,className:"h-4 w-4",strokeWidth:2})})]}),
|
|
13
|
+
/* @__PURE__ */h("p",{className:"text-sm text-gray-700 [overflow-wrap:anywhere]",children:t.address||"—"}),i&&/* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:i}),t.matched&&"approximate"===t.placement&&/* @__PURE__ */m("p",{className:"text-xs text-gray-400 [overflow-wrap:anywhere]",children:["Placed at: ",t.matched]}),a&&/* @__PURE__ */h("div",{className:"flex justify-end",children:/* @__PURE__ */h(e,{variant:"secondary",size:"sm",onClick:a,children:u.openRecord})})]})}function $e(e,t,{staleTime:n}={}){return f({queryKey:e,queryFn:t,staleTime:n,refetchInterval:e=>ce(e.state.data)})}function Se({queryKey:e,queryFn:t,refreshSignal:n,onOpen:r,ariaLabel:o,title:c="Locations",palette:d=me,numbers:p,className:g="",mapClassName:f="min-h-[240px] flex-1"}){const{data:y,isError:b,refetch:x}=$e(e,t,{staleTime:0}),v=l(!1);i(()=>{v.current?x():v.current=!0},[n]);const[w,k]=s(null),N=u(()=>y?.points??[],[y]),M=u(()=>p??we(N),[p,N]),C=u(()=>N.filter(de).map(e=>({key:ue(e),label:e.label,lat:e.lat,lng:e.lng,glyph:xe(e,M.get(ue(e))??null,d),tone:be(e,d),approximate:"approximate"===e.placement})),[N,M,d]),L=u(()=>Ce(N,M),[N,M]),E=u(()=>Me(N),[N]),$=y?.pending??0,S=N.find(e=>ue(e)===w)??null,j=S&&r?r(S):null;/* @__PURE__ */
|
|
14
14
|
return m("section",{"aria-label":c,className:`flex min-w-0 flex-col ${g}`,children:[
|
|
15
15
|
/* @__PURE__ */m("div",{className:"flex min-h-[30px] items-center justify-between mb-2",children:[
|
|
16
16
|
/* @__PURE__ */h("h3",{className:"text-sm font-semibold text-gray-900",children:c}),y&&/* @__PURE__ */h("span",{className:"text-xs text-gray-500",children:Ne(ke(N))})]}),
|
|
17
|
-
/* @__PURE__ */m(oe,{pins:C,selectedKey:w,focus:null,onSelect:k,ariaLabel:
|
|
17
|
+
/* @__PURE__ */m(oe,{pins:C,selectedKey:w,focus:null,onSelect:k,ariaLabel:o,className:f,children:[
|
|
18
18
|
/* @__PURE__ */m("div",{className:"absolute left-3 top-3 z-10 flex max-w-[70%] flex-col items-start gap-2",children:[
|
|
19
19
|
/* @__PURE__ */h(Le,{categories:E,palette:d,floating:!1}),b&&/* @__PURE__ */m("div",{className:"flex items-center gap-2 rounded-lg border border-gray-200 bg-white px-3 min-h-8 py-1 text-xs text-gray-600 shadow-sm",children:["Couldn’t load the locations.",
|
|
20
20
|
/* @__PURE__ */h("button",{type:"button",onClick:()=>{x()},className:"font-medium text-blue-600 hover:text-blue-800 hover:underline",children:"Try again"})]}),!b&&($>0||L.length>0)&&/* @__PURE__ */m("div",{className:"max-w-full space-y-0.5 rounded-lg border border-gray-200 bg-white px-3 py-2 text-xs shadow-sm","aria-live":"polite",children:[$>0&&/* @__PURE__ */m("p",{className:"flex items-center gap-2 text-gray-500",children:[
|
|
21
|
-
/* @__PURE__ */h(
|
|
21
|
+
/* @__PURE__ */h(a,{}),"Locating ",$," address",1===$?"":"es"]}),L.slice(0,3).map(e=>/* @__PURE__ */h("p",{className:"truncate text-amber-700",title:e.text,children:e.text},e.key)),L.length>3&&/* @__PURE__ */m("p",{className:"text-gray-500",children:["+",L.length-3," more not on the map"]})]})]}),S&&/* @__PURE__ */h(Ee,{point:S,number:M.get(ue(S))??null,onOpen:j,onClose:()=>k(null),palette:d})]})]})}export{w as CARD_MIN_MAP_WIDTH,y as COMPACT_SHOW,oe as EntityMap,Se as LocationsMap,C as MAPLIBRE_WORKER_FILE,A as MAP_APART_PX,me as MAP_CATEGORIES,J as MAP_LOOKS,j as MAP_STOP_PX,S as MAP_TARGET_PX,Le as MapLegend,ie as PENDING_POLL_MS,ve as SECONDARY_KINDS,Ee as SelectedCard,N as cardMaxHeight,ye as categoryLabel,fe as categoryTone,b as foldAttributionOnce,de as isOnMap,K as layoutPins,Me as legendCategories,$ as loadMapLibre,we as locationNumbers,L as mapLibreWorkerUrl,ce as mapPointsRefetchInterval,Ce as offMapNotes,ge as pinCategory,xe as pinGlyph,be as pinTone,M as placeCard,pe as placementNote,ue as pointKey,B as stopsLabel,ke as summarize,Ne as summaryText,se as useMapHighlight,$e as useMapPoints,W as zoomApart};
|
package/dist/page-tabs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{TabStrip as e}from"../chunk-
|
|
3
|
-
return v(K.Provider,{value:le,children:e})}var x=l.Activity,
|
|
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(
|
|
5
|
-
return v("div",{className:t,children:e(r)},
|
|
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(
|
|
2
|
+
import{TabStrip as e}from"../chunk-XWW3SP5W.js";import{useShellLanguage as t}from"../chunk-SLEWYXMY.js";import"../chunk-OKFO3XYS.js";import"../chunk-YJIG2KT3.js";import{confirm as n}from"../chunk-3NYPZO4K.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-2EJRVQ3Y.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 N(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function j(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=w(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=w(n,e[0].key)}return n}(l,n)}function M(e){let t={...e,activeKey:null};return t.closing&&(t=w(t,t.closing)),t}function w(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 A(e,t){switch(t.type){case"visit":return j(e,t.entry,t.maxTabs);case"transient":return M(e);case"close":{let n=e;for(const e of t.keys)n=w(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 O=e=>`${e.pathname}${e.search}`;function C(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 S({children:e,resolve:l,pinned:c=[],storageKey:a,maxTabs:k=12,enabled:h=!0,confirmDiscard:g}){const F=m(),T=b(),I=i().pageTabs,w=y(),S=s(l);S.current=l;const x=d(e=>{const t=S.current(e);return t?{key:t.key??e.pathname,path:O(e),title:t.title}:null},[]),{language:L}=t(),[E,R]=f(A,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(C(e)),L);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:N(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},c.map(e=>x(C(e))).filter(e=>Boolean(e)));const n=h?x(F):null;return t=n?j(t,n,k):M(t),t}),B=s(E);B.current=E;const J=s(/* @__PURE__ */new Map),Y=h?x(F):null,$=Y?.key??null;r(()=>{if(!h)return;const e=x(F);e?(J.current.set(e.key,F),R({type:"visit",entry:e,maxTabs:k})):R({type:"transient"})},[F,h,k,x]),o(()=>{const e=new Set(E.tabs.map(e=>e.key));for(const t of J.current.keys())e.has(t)||J.current.delete(t)},[E.tabs]);const D=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)}(E,L),[E,L]);o(()=>{if(a)try{localStorage.setItem(a,D)}catch{}},[D,a]);const W=E.dirty.length>0;o(()=>{if(!W)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[W]);const P=s(/* @__PURE__ */new Map),Q=d((e,t)=>{let n=P.current.get(e);return void 0===n&&(n=P.current.size,P.current.set(e,n)),`${w}-page-${t}-${n}`},[w]),X=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]),H=d(()=>{const e=B.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),V=d((e,t,n)=>{const r=B.current,i=r.activeKey;if(!i||!e.includes(i))return void R({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??H()}R({type:"close",keys:e.filter(e=>e!==i),closing:i}),T(l)},[T,H]),G=d(async(e,t={})=>{const n=B.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&T(t.to),!1):!(!t.force&&B.current.dirty.includes(e)&&!await X([n]))&&(!!B.current.tabs.some(t=>t.key===e)&&(V([e],t.to),!0))},[X,V,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)}(B.current,e,t);const r=B.current.tabs.filter(e=>n.includes(e.key)&&B.current.dirty.includes(e.key));r.length&&!await X(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(B.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&V(n,void 0,"all"===e?null:t)},[X,V]),U=d(e=>{const t=B.current.tabs.find(t=>t.key===e);t&&e!==B.current.activeKey&&T(t.path)},[T]),Z=d((e,t)=>R({type:"title",key:e,title:t}),[]),q=d((e,t)=>R({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?E.tabs.filter(e=>e.key!==E.closing):[],[h,E.tabs,E.closing]),le=u(()=>({enabled:h,state:E,currentKey:$,resolve:l,keyFor:ne,locationFor:re,idFor:Q,activate:U,close:G,closeMany:z,setTitle:Z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[h,E,$,l,ne,re,Q,U,G,z,Z,q,_,te,ie]);/* @__PURE__ */
|
|
3
|
+
return v(K.Provider,{value:le,children:e})}var x=l.Activity,L=Boolean(x);function E({active:e,children:t}){return x?/* @__PURE__ */v(x,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */v(h,{children:t})}var R=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(E,{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)),B="\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)},B);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(R,{tabKey:n,active:i,location:s,render:e,className:t,panelId:a(n,"panel"),tabId:a(n,"tab")},n):null}),!l&&/* @__PURE__ */v(R,{tabKey:B,active:!0,location:r,render:e,className:t},B)]})}function Y({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(C(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 $={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function D(){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)}:$}function W(){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 P(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 Q(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 X(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,L as PAGE_TABS_PAUSE_HIDDEN,Y as PageTabBar,J as PageTabsOutlet,S as PageTabsProvider,C as parseTabPath,W as usePageTab,Q as usePageTabCopy,X as usePageTabDirty,P as usePageTabTitle,D as usePageTabs};
|
package/dist/pdf/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{lazy as r}from"react";var e=r(()=>import("../PdfViewer-
|
|
2
|
+
import{lazy as r}from"react";var e=r(()=>import("../PdfViewer-YELEO346.js"));export{e as PdfViewer};
|
|
@@ -124,6 +124,8 @@ interface ShellStrings {
|
|
|
124
124
|
/** The close button's whole label, when the word order is not
|
|
125
125
|
* "{close} {title}". Wins over `close` for the button when supplied. */
|
|
126
126
|
closeTab?: (title: string) => string;
|
|
127
|
+
/** The star after a favourite app's title (Sidebar layout's strip). */
|
|
128
|
+
favorite: string;
|
|
127
129
|
closeOthers: string;
|
|
128
130
|
closeRight: string;
|
|
129
131
|
closeAll: string;
|
|
@@ -709,6 +711,12 @@ interface ShellStrings {
|
|
|
709
711
|
navLabel: string;
|
|
710
712
|
/** The strip of open windows' accessible name. */
|
|
711
713
|
openWindows: string;
|
|
714
|
+
/** The favourite apps' launch icons: the group's accessible name, an
|
|
715
|
+
* icon's right-click menu (open it, take it off the favourites). Shared
|
|
716
|
+
* by the Desktop taskbar and the Sidebar layout's strip. */
|
|
717
|
+
favoriteApps: string;
|
|
718
|
+
openFavorite: (label: string) => string;
|
|
719
|
+
removeFavorite: string;
|
|
712
720
|
/** The tag on a page result in the search palette. */
|
|
713
721
|
pageResult: string;
|
|
714
722
|
/** The account menu at the foot of the rail. */
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-PLILMC6A.js";import"../chunk-GODKUFB6.js";import"../chunk-KNUR2UEG.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-B6kl2VTe.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-Dr5yL2I_.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';
|
|
5
5
|
export { ICON_NAMES, ICON_SET_FOR_THEME, Icon, IconName, IconProps, IconTone, THEME_ICON_SETS, ThemeIconSet, iconSetFor, isIconName, loadIconSet } from '../icons/index.js';
|
|
6
6
|
export { a as IconDrawing, I as IconSet, b as activeIconSet, i as iconSets, c as iconsVersion, r as registerIconSet, d as registerIcons, e as resolveIcon, s as setDefaultIconSet, f as setIconSet, g as subscribeIcons } from '../registry-IyW-xYGB.js';
|
|
7
|
-
export { D as DEFAULT_SHELL_STRINGS, a as ShellStrings, S as ShellStringsOverride, b as ShellStringsProvider, u as useShellLocale, c as useShellStrings } from '../strings-
|
|
7
|
+
export { D as DEFAULT_SHELL_STRINGS, a as ShellStrings, S as ShellStringsOverride, b as ShellStringsProvider, u as useShellLocale, c as useShellStrings } from '../strings-Dh85JfDa.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'react/jsx-runtime';
|