UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 3.19 kB
import{n as e}from"./rolldown-runtime-8BhlS34s.js";import{Gu as t,Pu as n,Wu as r,xu as i,yu as a,zu as o}from"./control-ui-core-CBJ5efDh.js";import{$n as s,Fr as c,Nr as l,er as u,jr as d}from"./control-ui-core-DtLivg_r.js";var f,p;function m(){return(m=e((()=>{t(),f={linkReader:{cachedPreview:`Cached details`,previewAriaLabel:`Preview: {title}`,newTab:`New reader tab`,openUrl:`Open URL`,closeTab:`Close {title}`,tabLimit:`Ten reader tabs are already open. Close a tab or open this item externally.`,invalidUrl:`Enter a URL supported by an enabled link reader.`,image:`Image`,openImage:`Open full-size image`,openImageTitle:`Open full-size image: {title}`,imageUnavailable:`Image unavailable: {title}`,commentPermalink:`Link to this comment`,reviewContext:`Show diff context`,replyContext:`View parent comment`,back:`Back`,forward:`Forward`,refresh:`Refresh item`,close:`Close link reader`,resize:`Resize link reader`,openExternal:`Open on {provider}`,openOriginal:`Open original`,byAuthor:`by {author}`,coAuthors:`Co-authors: {authors}`,description:`Description`,overview:`Overview`,navigation:`Document sections`,discussion:`Discussion`,checks:`Checks`,checksSuccess:`Checks passed`,checksFailure:`Checks failed`,checksPending:`Checks in progress`,checksNeutral:`Checks`,checksUnavailable:`Checks unavailable`,checkSuccess:`Passed`,checkFailure:`Failed`,checkPending:`In progress`,checkNeutral:`Neutral`,checksTruncated:`Some checks could not be shown. Open the source for the complete results.`,checksSource:`View all checks`,checksCommit:`Checks for commit {commit}`,filesShort:`Files`,noDescription:`No description provided.`,comments:`Comments`,noComments:`No comments yet.`,files:`Changed files`,noFiles:`No changed files.`,renamedFrom:`Renamed from {filename}`,diffLabel:`Diff for {filename}`,partial:`This view is incomplete. Open the original for the full item.`,bodyTruncated:`This text was shortened.`,commentsTruncated:`Some comments could not be shown. Open the original for the full conversation.`,filesTruncated:`Some files could not be shown. Open the original for the full changes.`,patchTruncated:`This diff was shortened. Open the original for the full patch.`,patchUnavailable:`No text diff available in this view. Open the original to inspect this file.`,unavailableTitle:`Could not load item`,previewUnavailable:`Could not load preview`,previewPullRequest:`PR #{number}`,previewIssue:`Issue #{number}`,unavailable:`Try again or open the original.`,disconnected:`This reader is unavailable on this connection. Reconnect or open the original.`,retry:`Retry`}},p=Object.assign(()=>Object.assign(r.linkReader,f.linkReader),{catalog:f})})))()}function h(e){return e instanceof u?a(e.message,o(`linkReader.unavailable`)):o(`linkReader.unavailable`)}function g(){return(g=e((()=>{s(),n(),i()})))()}function _(e,t){let n=typeof t==`string`?c(t,[e.reader]):null;return n!==null&&l(n)===l(e)}function v(e,t){if(typeof e!=`string`||!e.trim())return;let n=URL.parse(e,t);return n?.protocol===`https:`&&!n.username&&!n.password&&n.origin===URL.parse(t)?.origin?n.href:void 0}function y(){return(y=e((()=>{d()})))()}export{h as a,g as i,v as n,m as o,_ as r,p as s,y as t};