@teammy/server 0.2.23 → 0.2.24
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/LICENSE +21 -0
- package/README.md +11 -7
- package/dist/main.js +20331 -13329
- package/dist/native-pi-entry.js +755 -19
- package/dist/project-pi-entry.js +758 -22
- package/dist/runtime/en/shared/system.md +9 -0
- package/dist/runtime/en/shared/tools.json +22 -0
- package/dist/runtime/en/workflows/directory-analysis/prompt.md +11 -0
- package/dist/runtime/en/workflows/file-summary/prompt.md +7 -0
- package/dist/runtime/en/workflows/session-handoff/prompt.md +31 -0
- package/dist/runtime/en/workflows/session-overview/prompt.md +26 -0
- package/dist/runtime/en/workflows/task-bootstrap/prompt.md +84 -0
- package/dist/runtime/shared/system.md +1 -1
- package/dist/runtime/workflows/session-handoff/prompt.md +1 -1
- package/dist/runtime/workflows/session-overview/prompt.md +1 -1
- package/dist/web/THIRD-PARTY-LICENSES.md +2025 -0
- package/dist/web/assets/Assistant-BeWIo88A.js +1 -0
- package/dist/web/assets/{Computers-BtcIsnDD.css → Computers-BJKv9oJv.css} +1 -1
- package/dist/web/assets/Computers-CEBC9xd4.js +14 -0
- package/dist/web/assets/Conversation-BMA0djTl.js +1 -0
- package/dist/web/assets/Dashboard-DtNpBYI5.js +1 -0
- package/dist/web/assets/Files-C-00txBh.js +1 -0
- package/dist/web/assets/Help-C5yLJzSE.js +2392 -0
- package/dist/web/assets/MessageComposer-D7ml-LaD.js +1 -0
- package/dist/web/assets/MessageComposer-DqcbXBIG.css +1 -0
- package/dist/web/assets/ResourceLibrary-Ceon9f0i.js +6 -0
- package/dist/web/assets/TerminalPane-CZYb0vIG.js +22 -0
- package/dist/web/assets/WorkspaceTree-C2sVptdG.js +1 -0
- package/dist/web/assets/file-links-CQ6ShuxD.js +1 -0
- package/dist/web/assets/index-B9gF6reY.css +1 -0
- package/dist/web/assets/index-BCj5CDtq.js +40 -0
- package/dist/web/assets/project-links-BwYckk7L.js +105 -0
- package/dist/web/assets/workflow-DR-M8YZx.svg +111 -0
- package/dist/web/downloads/teammy-inbox-skill.zip +0 -0
- package/dist/web/downloads/teammy-skill.zip +0 -0
- package/dist/web/index.html +4 -4
- package/dist/web/notification-worker.js +2 -10
- package/node_modules/i18next/LICENSE +21 -0
- package/node_modules/i18next/README.md +77 -0
- package/node_modules/i18next/dist/cjs/i18next.js +2495 -0
- package/node_modules/i18next/dist/esm/i18next.js +2505 -0
- package/node_modules/i18next/dist/esm/package.json +1 -0
- package/node_modules/i18next/dist/umd/i18next.js +2501 -0
- package/node_modules/i18next/dist/umd/i18next.min.js +1 -0
- package/node_modules/i18next/i18next.js +2501 -0
- package/node_modules/i18next/i18next.min.js +1 -0
- package/node_modules/i18next/index.d.mts +71 -0
- package/node_modules/i18next/index.d.ts +739 -0
- package/node_modules/i18next/package.json +125 -0
- package/node_modules/i18next/typescript/helpers.d.ts +73 -0
- package/node_modules/i18next/typescript/options.d.ts +871 -0
- package/node_modules/i18next/typescript/t.d.ts +1449 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +150 -0
- package/node_modules/jose/dist/types/index.d.ts +55 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +25 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +40 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +25 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +46 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +29 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +51 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +10 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +15 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +17 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +94 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +21 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +23 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +26 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +41 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +31 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +38 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +57 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +21 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +21 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +36 -0
- package/node_modules/jose/dist/types/key/export.d.ts +19 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +33 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +30 -0
- package/node_modules/jose/dist/types/key/import.d.ts +67 -0
- package/node_modules/jose/dist/types/types.d.ts +802 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +9 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +10 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +182 -0
- package/node_modules/jose/dist/webapi/index.js +70 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +7 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +26 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +15 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +35 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +41 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +105 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +30 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +55 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +60 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +103 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +20 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +8 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +23 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +12 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +58 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +42 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +13 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +42 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +19 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +34 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +13 -0
- package/node_modules/jose/dist/webapi/key/export.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +36 -0
- package/node_modules/jose/dist/webapi/key/import.js +53 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +138 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +75 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +90 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +41 -0
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +116 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +190 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +75 -0
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +74 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +46 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +89 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +150 -0
- package/node_modules/jose/dist/webapi/lib/key.js +157 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +15 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +9 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +195 -0
- package/node_modules/jose/dist/webapi/lib/validate.js +122 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +16 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +33 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +19 -0
- package/node_modules/jose/dist/webapi/util/errors.js +109 -0
- package/node_modules/jose/package.json +134 -0
- package/node_modules/oauth4webapi/LICENSE.md +21 -0
- package/node_modules/oauth4webapi/README.md +104 -0
- package/node_modules/oauth4webapi/build/index.d.ts +3046 -0
- package/node_modules/oauth4webapi/build/index.js +2530 -0
- package/node_modules/oauth4webapi/build/index.js.map +1 -0
- package/node_modules/oauth4webapi/package.json +112 -0
- package/node_modules/openid-client/LICENSE.md +21 -0
- package/node_modules/openid-client/README.md +258 -0
- package/node_modules/openid-client/build/index.d.ts +2478 -0
- package/node_modules/openid-client/build/index.js +1347 -0
- package/node_modules/openid-client/build/index.js.map +1 -0
- package/node_modules/openid-client/build/passport.d.ts +258 -0
- package/node_modules/openid-client/build/passport.js +264 -0
- package/node_modules/openid-client/build/passport.js.map +1 -0
- package/node_modules/openid-client/package.json +130 -0
- package/package.json +5 -1
- package/dist/web/assets/Assistant-Dks48Y5w.js +0 -1
- package/dist/web/assets/Computers-CaCzZeCc.js +0 -13
- package/dist/web/assets/Conversation-kAMzKADw.js +0 -1
- package/dist/web/assets/Dashboard-ComNJNOg.js +0 -1
- package/dist/web/assets/Dropdown-DGFI68Vd.js +0 -55
- package/dist/web/assets/Files-Blsq_C-B.js +0 -1
- package/dist/web/assets/Help-BM23uS-t.js +0 -1079
- package/dist/web/assets/Markdown-CXnZDm5J.js +0 -29
- package/dist/web/assets/MessageComposer-BoOgfyPA.js +0 -1
- package/dist/web/assets/MessageComposer-hKEluJsT.css +0 -1
- package/dist/web/assets/ResourceLibrary-C12_47kE.js +0 -6
- package/dist/web/assets/TerminalPane-BTRM-36z.js +0 -22
- package/dist/web/assets/WorkspaceTree-Co7XG2RG.js +0 -1
- package/dist/web/assets/file-links-CoVqmrXg.js +0 -1
- package/dist/web/assets/index-CeKzFsxV.css +0 -1
- package/dist/web/assets/index-mhJ33-bH.js +0 -10
- package/dist/web/assets/task-links-BE36-8mc.js +0 -1
- /package/dist/web/assets/{Dropdown-ktgqMqAD.css → project-links-ktgqMqAD.css} +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||ee}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||ee}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var te=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function re(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ie(e,t){return re(e.type,t,e.props)}function w(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function T(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ae=/\/+/g;function oe(e,t){return typeof e==`object`&&e&&e.key!=null?T(``+e.key):t.toString(36)}function se(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(S,S):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function E(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,E(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+oe(e,0):a,te(o)?(i=``,c!=null&&(i=c.replace(ae,`$&/`)+`/`),E(o,r,i,``,function(e){return e})):o!=null&&(w(o)&&(o=ie(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ae,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(te(e))for(var u=0;u<e.length;u++)a=e[u],s=l+oe(a,u),c+=E(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+oe(a,u++),c+=E(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return E(se(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ce(e,t,n){if(e==null)return e;var r=[],i=0;return E(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function le(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ue=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function de(e){var t=C.T,n={};n.types=t===null?null:t.types,C.T=n;try{var r=e(),i=C.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(S,ue)}catch(e){ue(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),C.T=t}}function fe(e){var t=C.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else de(fe.bind(null,e))}var pe={map:ce,forEach:function(e,t,n){ce(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ce(e,function(){t++}),t},toArray:function(e){return ce(e,function(e){return e})||[]},only:function(e){if(!w(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=pe,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},e.addTransitionType=fe,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ne.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return re(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ne.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return re(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=w,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:le}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=de,e.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},e.use=function(e){return C.H.use(e)},e.useActionState=function(e,t,n){return C.H.useActionState(e,t,n)},e.useCallback=function(e,t){return C.H.useCallback(e,t)},e.useContext=function(e){return C.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return C.H.useEffect(e,t)},e.useEffectEvent=function(e){return C.H.useEffectEvent(e)},e.useId=function(){return C.H.useId()},e.useImperativeHandle=function(e,t,n){return C.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return C.H.useMemo(e,t)},e.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return C.H.useReducer(e,t,n)},e.useRef=function(e){return C.H.useRef(e)},e.useState=function(e){return C.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return C.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return C.H.useTransition()},e.version=`19.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=l(d()),p=e=>typeof e==`string`,m=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},h=e=>e==null?``:String(e),ee=e=>p(e)&&/^[A-Za-z0-9_@.-]{1,128}$/.test(e)&&!e.includes(`..`)&&![`__proto__`,`constructor`,`prototype`].includes(e),g=e=>e?.callbackApi??e?.constructor?.callbackApi,_=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},v=/###/g,y=e=>e&&e.includes(`###`)?e.replace(v,`.`):e,b=e=>!e||p(e),x=(e,t,n)=>{let r=p(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(b(e))return{};let t=y(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return b(e)?{}:{obj:e,k:y(r[i])}},te=(e,t,n)=>{let{obj:r,k:i}=x(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=x(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=x(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},S=(e,t,n,r)=>{let{obj:i,k:a}=x(e,t,Object);Object.prototype.hasOwnProperty.call(i,a)&&i[a]||(i[a]=[]),i[a].push(n)},C=(e,t)=>{let{obj:n,k:r}=x(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},ne=(e,t,n)=>{let r=C(e,n);return r===void 0?C(t,n):r},re=e=>typeof e!=`object`||!e||e instanceof String,ie=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?re(e[r])||re(t[r])?n&&(e[r]=t[r]):ie(e[r],t[r],n):e[r]=t[r]);return e},w=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),T={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},ae=e=>p(e)?e.replace(/[&<>"']/g,e=>T[e]):e,oe=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},se=[` `,`,`,`?`,`!`,`;`],E=new oe(20),ce=(e,t,n)=>{t||=``,n||=``;let r=se.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=E.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},le=(e,t,n=`.`)=>{if(!e)return;if(e[t]||!n)return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],typeof t!=`function`&&a!==`__proto__`||Object.prototype.hasOwnProperty.call(i,a)||(t=void 0),t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},ue=e=>e?.replace(/_/g,`-`),de={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},fe=class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||de,this.options=t,this.debug=t.debug,this.seen=new Set}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}once(e,t,...n){return!this.debug||this.seen.has(e)||this.seen.size>=1e3?null:(this.seen.add(e),this[t](...n))}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>p(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),p(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},pe=new fe,me=new WeakSet,he=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){(typeof e==`string`?e.split(` `):[e]).forEach(e=>{this.observers[e]&&(t?(this.observers[e].delete(t),me.has(t)&&this.observers[e].forEach((n,r)=>{r.listener===t&&this.observers[e].delete(r)})):delete this.observers[e])})}once(e,t){let n=(...r)=>{this.off(e,n),t(...r)};return n.listener=t,me.add(t),this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},ge=new WeakSet,_e=(e,...t)=>{if(t.some(e=>!p(e)))throw TypeError(`${e}: pass language, namespace${e===`addResource`?` and key`:``} as separate strings; the dotted form ('en.translation.key') was removed in i18next v27`)},ve=class extends he{constructor(e,t={ns:[`translation`],defaultNS:`translation`},n=pe){super(),this.data=e||{},this.options=t,this.logger=n.create(`resourceStore`),this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o=[e,t];n&&(Array.isArray(n)?o.push(...n):p(n)&&i?o.push(...n.split(i)):o.push(n));let s=C(this.data,o);return s!=null||!a||!p(n)?s:le(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){_e(`addResource`,e,t,n);let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),this.addNamespaces(t),te(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){_e(`addResources`,e,t),Object.keys(n||{}).forEach(r=>{r!==`__proto__`&&r!==`constructor`&&this.addResource(e,t,r,n[r],{silent:!0})}),r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){_e(`addResourceBundle`,e,t);let o=[e,t];this.addNamespaces(t);let s=C(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?ie(s,n,i):s={...s,...n},te(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return ge.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&ge.add(n),!0)})}toJSON(){return this.data}},ye=Symbol(`i18next/PATH_KEY`);function be(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===ye?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function xe(e,t){let{[ye]:n}=e(be()),r=t?.keySeparator||`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var Se=e=>!p(e)&&typeof e!=`boolean`&&typeof e!=`number`,Ce=class e extends he{constructor(e,t={}){super(),_([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`,`postProcessors`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=(e.logger||pe).create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=Se(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ce(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:p(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r===!1?n:r)}return{key:e,namespaces:p(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=xe(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?xe(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let m=this.resolve(t,i),h=m?.res,ee=m?.usedKey||s,g=m?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!p(i.count),x=e.hasDefaultValue(i),te=b?this.pluralResolver.getSuffix(d,i.count,i):``,S=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,C=b&&!i.ordinal&&i.count===0,ne=this.options.pluralSeparator,re=i.defaultValue??(b?i[`defaultValue${i.ordinal?`${ne}ordinal${ne}`:ne}other`]:void 0),ie=i[`defaultValue${te}`]??i[`defaultValue${S}`]??re,w=(C?i[`defaultValue${ne}zero`]:void 0)??ie,T=h;y&&!h&&x&&(T=w);let ae=Se(T),oe=Object.prototype.toString.apply(T),se=y&&T&&ae&&!_.includes(oe)&&!(p(v)&&Array.isArray(T)),E=se&&!i.returnObjects&&!this.options.returnObjects;if(E&&this.options.returnedObjectHandler){let e=this.options.returnedObjectHandler(ee,T,{...i,ns:c});return a?(m.res=e,m.usedParams=this.getUsedParamsDetails(i),m):e}if(E&&this.logger.warn(`accessing an object - but returnObjects options is not enabled!`),se&&!E){if(o){let e=Array.isArray(T),t=e?[]:{},n=e?g:ee;for(let e in T)if(Object.prototype.hasOwnProperty.call(T,e)){let r=`${n}${o}${e}`;t[e]=x&&!h?this.translate(r,{...i,defaultValue:Se(w)?w[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=T[e])}h=t}}else if(y&&p(v)&&Array.isArray(h))h=h.join(v),h&&=this.extendTranslation(h,t,i,m,r);else{let e=!1,n=!1;E&&(h=void 0),!this.isValidLookup(h)&&x&&!(E&&Se(w))&&(e=!0,h=w),!this.isValidLookup(h)&&!(e&&h===``)&&(n=!0,h=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,c=x&&w!==h&&this.options.updateMissing;if(!E&&(n||e||c)){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?w:h),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==h?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i,void 0,this.utils?.hasLoadedNamespace),this.emit(`missingKey`,e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i),r=i[`defaultValue${ne}zero`];C&&r!=null&&!t.includes(`${ne}zero`)&&t.push(`${ne}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]??(t===te?ie:re)??w)})}):n(e,s,w))}h=this.extendTranslation(h,t,i,m,r),n&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?h:void 0,i))}return a?(m.res=h,m.usedParams=this.getUsedParamsDetails(i),m):h}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=p(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.includes(this.interpolator.nestingPrefixText)?e.match(this.interpolator.nestingRegexp):null;o=t&&t.length}let s=n.replace&&!p(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.includes(this.interpolator.nestingPrefixText)?e.match(this.interpolator.nestingRegexp):null,r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=p(a)?[a]:a;if(e!=null&&o?.length&&n.applyPostProcessor!==!1){let i=this.options?.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n;o.forEach(n=>{let r=this.postProcessors?.[n];r?e=r.process(e,t,i,this)??e:this.logger.once(`postProcess:${n}`,`warn`,`postProcess: '${n}' is not registered on this i18next instance; call use() with it on this instance`)})}return e}resolve(e,t={}){let n,r,i,a,o;return p(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?xe(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!p(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(p(t.context)||typeof t.context==`number`)&&t.context!==``,m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${m[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${m.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),m.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}if(u){let n=`${t.ordinal?i:this.options.pluralSeparator}other`;e!==n&&(f&&o.unshift(`${c}${this.options.contextSeparator||`_`}${t.context}${n}`),o.unshift(c+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!p(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},we=class{constructor(e,t=pe){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=t.create(`languageUtils`),this.resolveHierarchyCache={},this.formattedCodes=new Map}clearCache(){this.resolveHierarchyCache={},this.formattedCodes.clear()}getScriptPartFromCode(e){if(e=ue(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=ue(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(!p(e))return e;let t=this.formattedCodes.get(e);return t===void 0&&(t=this.formatUncached(e),this.formattedCodes.size>=1e3&&this.formattedCodes.clear(),this.formattedCodes.set(e,t)),t}formatUncached(e){let t=e.includes(`-`);if(t||this.options.cleanCode!==!1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}if(n&&(t||n.toLowerCase()===e.toLowerCase()))return this.options.lowerCaseLng?n.toLowerCase():n;if(n)return e.toLowerCase()}return this.options.lowerCaseLng||this.options.cleanCode&&!t?e.toLowerCase():e}isSupportedCode(e){if((this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length)return!0;if(!Array.isArray(this.supportedLngs))return this.supportedLngs.includes(e);let t=this.formatLanguageCode(e);return this.supportedLngs.some(e=>this.formatLanguageCode(e)===t)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.map(e=>this.formatLanguageCode(e)).find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!(!e.includes(`-`)||r.includes(`-`)||e.slice(0,e.indexOf(`-`))!==r))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),p(e)&&(e=[e]),Array.isArray(e))return e;let n=t=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;if(!t)return n(`default`)||[];let r=n(t);return r||=n(this.getScriptPartFromCode(t)),r||=n(this.formatLanguageCode(t)),r||=n(this.getLanguagePartFromCode(t)),r||=n(`default`),r||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||p(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=p(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return p(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):p(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(Object.keys(this.resolveHierarchyCache).length>=1e3&&(this.resolveHierarchyCache={}),this.resolveHierarchyCache[s]=l,l.slice())}},Te={zero:0,one:1,two:2,few:3,many:4,other:5},Ee={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},De=class{constructor(e,t={},n=pe){this.languageUtils=e,this.options=t,this.logger=n.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=ue(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),Ee;if(!e.match(/-|_/))return Ee;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return Object.keys(this.pluralRulesCache).length>=1e3&&(this.pluralRulesCache={}),this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>Te[e]-Te[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},Oe=(e,t,n,r=`.`,i=!0)=>{let a=ne(e,t,n);return a==null&&i&&p(n)&&(a=le(e,n,r),a===void 0&&(a=le(t,n,r))),a},ke=e=>h(e).replace(/["'\\&<>\u0000-\u001f]/g,e=>`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`),Ae=class{constructor(e={},t=pe){this.logger=t.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,suffix:a,formatSeparator:o,unescapeSuffix:s,unescapePrefix:c,nestingPrefix:l,nestingSuffix:u,nestingOptionsSeparator:d,maxReplaces:f,alwaysFormat:p}=e.interpolation;this.escape=t===void 0?ae:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?w(i):`{{`,this.suffix=a?w(a):`}}`,this.formatSeparator=o||`,`,this.unescapePrefix=s?``:c?w(c):`-`,this.unescapeSuffix=this.unescapePrefix?``:s?w(s):``,this.prefixText=i||`{{`,this.nestingPrefixText=l||`$t(`,this.nestingPrefix=w(l||`$t(`),this.nestingSuffix=w(u||`)`),this.nestingOptionsSeparator=d||`,`,this.maxReplaces=f||1e3,this.alwaysFormat=p!==void 0&&p,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r,i){let a,o,s,c=e,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(!e.includes(this.formatSeparator)){let i=Oe(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(Oe(t,l,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{-/.test(e)&&this.logger.warn(`nesting options string contains a variable inserted unescaped with {{- }}: if its value is attacker-controlled it can inject additional nesting options (e.g. redirect lng/ns). Use {{var}} there, which is escaped for the options, or sanitise untrusted input before passing it to t().`);let d=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;if(p(e)&&!e.includes(this.prefixText))return e;if(!i&&(i=e=>this.escapeValue?this.escape(e):e,p(e)&&e.includes(this.nestingPrefixText))){let a=new RegExp(this.nestingRegexp),o=RegExp(`${w(this.nestingOptionsSeparator)}[ ]*{`),s=``,c=0,l;for(;l=a.exec(e);){let a=l.index+this.nestingPrefixText.length,u=o.exec(l[1]),d=u?a+u.index+u[0].length-1:-1,f=a+l[1].lastIndexOf(`}`)+1;d!==-1&&f>d&&!e.startsWith(this.prefixText,d)&&(s+=this.interpolate(e.slice(c,d),t,n,r,i)+e.slice(d,f),c=f)}if(c)return s+this.interpolate(e.slice(c),t,n,r,i)}let m=[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:i}],ee=[],g=0;return m.forEach(t=>{for(s=0;a=t.regex.exec(e);){let n=a.index-g,i=ee.find(([e,t])=>n>=e&&n<t);if(i){t.regex.lastIndex=i[1]+g;continue}let l=a[1].trim();if(o=u(l),o===void 0){if(typeof d==`function`){let t=d(e,a,r);o=p(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,l.split(this.formatSeparator)[0].trim()))o=``;else if(f){this.logger.debug&&this.logger.once(`${c}\u0000${a[0]}`,`warn`,`missed to pass in variable ${l} for interpolating ${c}`),o=a[0];continue}else this.logger.warn(`missed to pass in variable ${l} for interpolating ${e}`),o=``}else!p(o)&&!this.useRawValueToEscape&&(o=h(o));let m=h(t.safeValue(o));if(e=e.slice(0,a.index)+m+e.slice(a.index+a[0].length),f?(t.regex===this.regexpUnescape?ee.push([a.index,a.index+m.length]):g+=m.length-a[0].length,t.regex.lastIndex+=m.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let r=this.nestingOptionsSeparator;if(!e.includes(r))return e;let i=e.split(RegExp(`${w(r)}[ ]*{`)),o=`{${i[1]}`;e=i[0];let s,c=e=>{s=this.interpolate(o,t,n.lng,n,e);let r=s.match(/'/g),i=s.match(/"/g);return((r?.length??0)%2==0&&!i||(i?.length??0)%2!=0)&&(s=s.replace(/'/g,`"`)),JSON.parse(s)};try{let e=c(ke),n=this.escapeValue?Object.keys(e).filter(e=>e.startsWith(`defaultValue`)||e===`joinArrays`):[];if(n.length){let t=c(e=>ke(this.escape(e)));n.forEach(n=>{e[n]=t[n]})}a=t?{...t,...e}:e}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${s}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e};if(p(e)&&!e.includes(this.nestingPrefixText))return e;let s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!p(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!p(i))return i;p(i)||(i=h(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+h(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},je=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Me=1e3,Ne=e=>{let t=new Map;return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o;try{o=r+JSON.stringify(a)}catch{return e(ue(r),i)(n)}let s=t.get(o);return s||(s=e(ue(r),i),t.size>=Me&&t.delete(t.keys().next().value),t.set(o,s)),s(n)}},Pe=e=>(t,n,r)=>e(ue(n),r)(t),Fe=class{constructor(e={}){this.logger=pe.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){e?.logger?.create&&(this.logger=e.logger.create(`formatter`)),this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Ne:Pe;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ne(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=je(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Ie=1e3,Le=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Re=class extends he{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=(n.logger||pe).create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.failed=new Set,this.queue=[],this.backend?.init?.(n,r.backend,r),this.callbackApi=g(this.backend),this.backend&&this.callbackApi===void 0&&(this.backend.read||this.backend.create)&&this.logger.deprecate(`backend: set callbackApi to declare the calling convention (true: read(language, namespace, callback) and create(languages, namespace, key, fallbackValue, callback, options); false: both return a promise or a value); guessing it from the number of parameters is deprecated`)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:!n.reload&&this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];if(t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0),this.failed.delete(e),t&&(this.failed.add(e),this.failed.size>Ie)){let e=this.failed.values().next().value;this.failed.delete(e),this.state[e]<1&&delete this.state[e]}let o={},s=[];if(this.queue.forEach(n=>{if(S(n.loaded,[i],a),Le(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done){Object.keys(n.loaded).forEach(e=>{Object.prototype.hasOwnProperty.call(o,e)||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0;try{n.errors.length?n.callback(n.errors):n.callback()}catch(e){s.push(e)}}}),this.queue=this.queue.filter(e=>!e.done),this.emit(`loaded`,o),s.length)throw s[0]}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(this.callbackApi===!1||this.callbackApi===void 0&&s.length===2){let n;try{n=s(e,t)}catch(e){o(e);return}n&&typeof n.then==`function`?n.then(e=>o(null,e),o):o(null,n)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{},s=this.newestCloneHasLoadedNamespace||this.services?.utils?.hasLoadedNamespace){if(s&&!s(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(this.callbackApi===!1||this.callbackApi===void 0&&c.length<6)try{let i;i=this.callbackApi===!1||c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},ze=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:!1,fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!1,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),p(e[1])&&(t.defaultValue=e[1]),p(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Be=e=>(p(e.ns)&&(e.ns=[e.ns]),p(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),p(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),Ve=()=>{},He=e=>{let t=ze(),n={...t,...e};return n.interpolation={...t.interpolation,...e.interpolation},typeof n.overloadTranslationOptionHandler!=`function`&&(n.overloadTranslationOptionHandler=t.overloadTranslationOptionHandler),n},Ue=e=>{let t=[].concat(e.supportedLngs||[],e.preload||[]);t.push(...Object.keys(e.resources||{}));let n=e.fallbackLng;return p(n)||Array.isArray(n)?t.push(...[].concat(n)):n&&typeof n==`object`&&Object.keys(n).forEach(e=>{e!=="default"&&t.push(e),t.push(...[].concat(n[e]))}),t},We=(e,t)=>!p(t)||ee(t)||e.configuredLngs?.has(t)?!1:(e.logger.once(`lng:${t}`,`warn`,`refused the language code '${t.slice(0,64)}' from lng, changeLanguage(), the language detector or loadLanguages(): it is not configured and has other characters than letters, digits, '-', '_', '@' and '.' (or '..', or more than 128). List it in supportedLngs to use it`),!0),Ge=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},D=class e extends he{constructor(e={},t){if(super(),this.userOptions=Be(e),this.options=He(this.userOptions),this.services={postProcessors:Object.create(null)},this.logger=new fe(null,this.options),this.modules={external:[]},Ge(this),t&&!this.isInitialized&&!e.isClone){if(!this.userOptions.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(p(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0])),Be(e);let n={...this.userOptions,...e};this.options=He({...this.options,...e}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator),this.options.isClone||(this.configuredLngs=new Set([...this.configuredLngs||[],...Ue(n)]));let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.logger.init(r(this.modules.logger),this.options);let{logger:e}=this;this.pendingWarnings?.forEach(e=>this.logger.warn(e)),this.pendingWarnings=void 0;let t;t=this.modules.formatter?this.modules.formatter:Fe;let n=new we(this.options,e);this.store=new ve(this.options.resources,this.options,e);let i=this.services;i.logger=e,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new De(n,{prepend:this.options.pluralSeparator},e),t&&(i.formatter=r(t),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Ae(this.options,e),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this),reloadResources:this.reloadResources.bind(this)},i.backendConnector=new Re(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options),i.languageDetector.async&&g(i.languageDetector)===void 0&&this.logger.deprecate(`languageDetector: set callbackApi to declare how the async detect() answers (true: detect(callback); false: detect() returns a promise); guessing it from the number of parameters is deprecated`)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Ce(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Ve,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=m(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Ve){let n=t,r=p(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=m();if(typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),!e){let t=Object.keys(this.services.backendConnector.state).map(e=>e.split(`|`)[0]);e=[...new Set([...this.languages||[],...t])].filter(e=>e!==`cimode`)}return t||=this.options.ns,n||=Ve,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);let t=t=>{if(this.modules[t]&&this.modules[t]!==e){let e=`use: this ${t} replaces the ${t} passed to an earlier use() call; only one ${t} is used per instance`;this.isInitializing||this.isInitialized?this.logger.warn(e):(this.pendingWarnings=this.pendingWarnings||[]).push(e)}this.modules[t]=e};return e.type===`backend`&&t(`backend`),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&t(`languageDetector`),e.type===`i18nFormat`&&t(`i18nFormat`),e.type===`postProcessor`&&(this.services.postProcessors[e.name]=e),e.type===`formatter`&&t(`formatter`),e.type===`3rdParty`&&this.modules.external.push(e),this}hydrate(e,t){return this.options.isClone?this:this.services.resourceStore?(e&&!this.initializedStoreOnce&&(this.services.resourceStore.data=e,Object.values(e).forEach(e=>{Object.keys(e).forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)})}),this.initializedStoreOnce=!0,this.isInitialized=!0),t&&!this.initializedLanguageOnce&&(this.changeLanguage(t),this.initializedLanguageOnce=!0),this):(this.logger.warn(`hydrate: call init() first, the instance has no resource store yet`),this)}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=m();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let{supportedLngs:n}=this.options;if(t&&!n){let e=[].concat(t).filter(e=>!We(this,e));e.length<[].concat(t).length&&(t=e)}let a=p(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(a)?a:this.services.languageUtils.getBestMatchFromCodes(p(t)?[t]:t);n&&We(this,o)&&(o=this.services.languageUtils.getBestMatchFromCodes([])),o&&(this.language||r(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{i(e,o)})};if(!e&&this.services.languageDetector&&!this.services.languageDetector.async)a(this.services.languageDetector.detect());else if(!e&&this.services.languageDetector&&this.services.languageDetector.async){let e=g(this.services.languageDetector);e===!1||e===void 0&&this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a)}else a(e);return n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=xe(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=xe(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=xe(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return p(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?this.translator.translate(...e):(this.logger.warn(`t: called before init(); returning an empty string`),``)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e,this.translator?.options&&(this.translator.options.defaultNS=e)}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=m();return!this.options.ns||!this.services.backendConnector?(t&&t(),Promise.resolve()):(p(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n)}loadLanguages(e,t){let n=m();p(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&!We(this,e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`ltr`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new we(ze());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Ve){let r=t.forkResourceStore;r&&(t={...t},delete t.forkResourceStore);let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if(a.logger=t.debug!==void 0||t.prefix!==void 0?this.logger.clone(t):this.logger,[`store`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.postProcessors=Object.create(this.services.postProcessors),a.services.utils={...a.services.utils,hasLoadedNamespace:a.hasLoadedNamespace.bind(a),reloadResources:a.reloadResources.bind(a)},r){let e=t=>{let n=Array.isArray(t)?[...t]:{...t};return Object.keys(n).forEach(t=>{n[t]&&typeof n[t]==`object`&&(n[t]=e(n[t]))}),n};a.store=new ve(e(this.store.data),i,this.logger),a.services.resourceStore=a.store}if(t.interpolation){let e={...ze().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new Ae(n,this.logger)}return a.configuredLngs=new Set([...this.configuredLngs||[],...Ue(t)]),a.translator=new Ce(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.newestCloneHasLoadedNamespace=a.hasLoadedNamespace.bind(a),a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance(),Ke=D.createInstance;D.dir,D.init,D.loadResources,D.reloadResources,D.use,D.changeLanguage,D.getFixedT,D.t,D.exists,D.setDefaultNamespace,D.hasLoadedNamespace,D.loadNamespaces,D.loadLanguages;var qe=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);nt(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},Je=new WeakMap,Ye=new Set,Xe=(e,t,n,r)=>{if(nt(n)){let t=Ye,r=e?.services?.logger||e;if(rt(r)&&(t=Je.get(r),t||Je.set(r,t=new Set)),t.has(n))return;t.add(n)}qe(e,t,n,r)},Ze=()=>{try{return!1}catch{return!1}},Qe=(e,t)=>()=>{e.isInitialized?t():e.once(`initialized`,()=>t())},$e=(e,t,n)=>{e.loadNamespaces(t,Qe(e,n))},et=(e,t,n,r)=>{if(nt(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return $e(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Qe(e,r))},tt=(e,t,n={})=>!t.languages||!t.languages.length?(Xe(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),nt=e=>typeof e==`string`,rt=e=>typeof e==`object`&&!!e,it=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,at={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":`\xA0`," ":`\xA0`,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`…`,"…":`…`,"/":`/`,"/":`/`},ot=e=>at[e],st={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:e=>e.replace(it,ot),transDefaultProps:void 0},ct=()=>st,lt,ut=()=>lt,dt=(0,f.createContext)(),ft=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},pt=(e,t)=>{if(nt(t))return t;if(rt(t)&&nt(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},mt=e=>`${e.language}|${e.resolvedLanguage}|${e.languages?.join(`,`)}`,ht=e=>new Proxy(e,{get:(e,t)=>t===`__original`?e:Reflect.get(e,t)}),gt={t:pt,ready:!1},_t=()=>()=>{},vt=(e,{bindI18n:t,bindI18nStore:n},r)=>(t&&e.on(t,r),n&&e.store.on(n,r),()=>{t&&e.off(t,r),n&&e.store.off(n,r)}),yt=new WeakMap,bt=(e,t)=>{if(!t)return 0;let n=yt.get(e);n||yt.set(e,n=new Map);let r=0;return t.split(` `).forEach(t=>{n.has(t)||(n.set(t,0),e.on(t,()=>n.set(t,n.get(t)+1))),r+=n.get(t)}),r},xt=(e,{bindI18n:t,bindI18nStore:n})=>bt(e,t)+bt(e.store,n),St=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=(0,f.useContext)(dt)||{},a=n||r||ut();a&&!a.reportNamespaces&&(a.reportNamespaces=new ft),a||Xe(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.`);let o=(0,f.useMemo)(()=>({...ct(),...a?.options?.react,...t}),[a,t]),{useSuspense:s,keyPrefix:c,bindI18n:l,bindI18nStore:u}=o,d=e||i||a?.options?.defaultNS,p=nt(d)?[d]:d||[`translation`],m=JSON.stringify(p),h=(0,f.useMemo)(()=>p,[m]);a?.reportNamespaces?.addUsedNamespaces?.(h);let ee=(0,f.useCallback)(e=>a?vt(a,{bindI18n:l,bindI18nStore:u},e):_t,[a,l,u]),g=(0,f.useRef)(),_=(0,f.useCallback)(()=>{if(!a)return gt;let e=!!(a.isInitialized||a.initializedStoreOnce)&&h.every(e=>tt(e,a,o)),n=t.lng||a.language,r=xt(a,o),i=typeof c==`function`?xe(c,{...a.options,ns:h}):c,s=g.current;if(s&&s.i18n===a&&s.ready===e&&s.lng===n&&s.namespaces===h&&s.keyPrefix===i&&s.revision===r)return s;let l={t:a.getFixedT(n,o.nsMode===`fallback`?h:h[0],c,{scopeNs:h}),i18n:a,ready:e,lng:n,namespaces:h,keyPrefix:i,revision:r};return g.current=l,l},[a,h,c,o,t.lng]),[v,y]=(0,f.useState)(0),{t:b,ready:x}=(0,f.useSyncExternalStore)(ee,_,_),te;a&&s&&!x&&(te=new Promise(e=>{let n=()=>e();t.lng?et(a,t.lng,h,n):$e(a,h,n)}),{t:b,ready:x}=_()),(0,f.useEffect)(()=>{if(a&&!x&&!s){let e=()=>y(e=>e+1);t.lng?et(a,t.lng,h,e):$e(a,h,e)}},[a,t.lng,h,x,s,v]);let S=a||{},C=(0,f.useRef)(null),ne=(0,f.useMemo)(()=>{let e=S,t=mt(e);(C.current?.original!==e||C.current.lang!==t)&&(C.current={original:e,lang:t,wrapper:ht(e)});let n=C.current.wrapper,r=!x&&!s?(...e)=>(Xe(a,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),b(...e)):b,i=[r,n,x];return i.t=r,i.i18n=n,i.ready=x,i},[b,S,x,S.resolvedLanguage,S.language,S.languages]);if(a&&s&&!x)throw Ze()&&Xe(a,`SUSPENDED_WHILE_LOADING`,`useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook`),te;return ne};function Ct({i18n:e,defaultNS:t,children:n}){let r=(0,f.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,f.createElement)(dt.Provider,{value:r},n)}function wt(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function Tt(e,t=`|`){return e.map(e=>Zt(e)).join(t)}function Et(e,t){return typeof t==`bigint`?t.toString():t}var Dt=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function Ot(e){return new Dt(e)}function kt(e){return e==null}function At(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function jt(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}var Mt=Symbol(`evaluating`);function Nt(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Mt)return r===void 0&&(r=Mt,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Pt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Ft(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function It(e){return Ft(e._zod.def)??e._zod.def.shape}function Lt(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return Pt(this,t,e),e},enumerable:!0,configurable:!0})}function Rt(e,t,n){t in e?Pt(e,t,n):e[t]=n}function zt(e,t,n,r){let i=It(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?Lt(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):Rt(e,a,r?r(n.value,a):n.value))}}function Bt(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?Lt(e,n,()=>t[n]):Rt(e,n,r.value))}}function O(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function Vt(e){return JSON.stringify(e)}function Ht(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var Ut=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Wt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Gt=Ot(()=>{if(M.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function Kt(e){if(Wt(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return Wt(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function qt(e){return Kt(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var Jt=new Set([`string`,`number`,`symbol`]);function Yt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Xt(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function k(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Zt(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function Qt(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var $t={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},en={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function tn(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return zt(i,e,nn(e,t)),Xt(e,O(n,{shape:i,checks:[]}))}function nn(e,t){let n=It(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function rn(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(nn(e,t)),a={};return zt(a,e,Reflect.ownKeys(It(e)).filter(e=>!i.has(e))),Xt(e,O(n,{shape:a,checks:[]}))}function an(e,t){if(!Kt(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=It(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Xt(e,O(e._zod.def,{shape:on(e,t)}))}function on(e,t){let n={};return zt(n,e,Reflect.ownKeys(It(e))),Bt(n,t),n}function sn(e,t){if(!Kt(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Xt(e,O(e._zod.def,{shape:on(e,t)}))}function cn(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return zt(n,e,Reflect.ownKeys(It(e))),zt(n,t,Reflect.ownKeys(It(t))),Xt(e,O(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function ln(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(nn(t,n)):void 0,o={};return zt(o,t,Reflect.ownKeys(It(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),Xt(t,O(t._zod.def,{shape:o,checks:[]}))}function un(e,t,n){let r=n?new Set(nn(t,n)):void 0,i={};return zt(i,t,Reflect.ownKeys(It(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),Xt(t,O(t._zod.def,{shape:i}))}function dn(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function fn(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function pn(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function mn(e){return typeof e==`string`?e:e?.message}function hn(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function gn(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function _n(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:mn(e.inst?._zod.def?.error?.(e))??mn(a?.(e))??mn(t?.error?.(e))??mn(n.customError?.(e))??mn(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var vn=/[\uD800-\uDBFF]/;function yn(e){let t=e.length;if(!vn.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function bn(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function xn(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function Sn(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Cn(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Dn(e,n,r.value)}}function wn(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function Tn(e,t,n){return wn(e,t,n,!1)}function En(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return wn(this,n,r(this))},set(e){wn(this,n,e)}})}return t}function Dn(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:wn(this,t,n.bind(this))},set(e){wn(this,t,e)}})}function On(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var kn,An=!1,jn={configurable:!0,get(){An=!0}};function A(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&kn!==e._zod?kn=void 0:(kn=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,jn);let e=An;An=!1;try{let r=n(this);return An?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),An||=e,r}catch(n){throw delete this[t],An||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function Mn(e,t,n,r){let i=On(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var Nn=`~constantCatch`;function Pn(e){let t=()=>e;return t[Nn]=!0,t}var Fn,In={value:void 0,enumerable:!1},Ln=`captureStackTrace`in Error?Error:null;function Rn(e){let t=Ln;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return Ln=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function j(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){In.value=new a(r);try{Object.defineProperty(n,"_zod",In)}finally{In.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),Cn(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?Rn(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var zn=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},Bn=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Fn=globalThis).__zod_globalConfig??(Fn.__zod_globalConfig={});var M=globalThis.__zod_globalConfig;function Vn(e){return e&&Object.assign(M,e),M}function Hn(){let e=this._zod;return e.message??=JSON.stringify(e.def,Et,2),e.message}function Un(e){this._zod.message=e}var Wn={get:Hn,set:Un,enumerable:!0,configurable:!0},Gn={value:void 0,enumerable:!1},Kn=new WeakSet([Object.prototype,Error.prototype]),qn=j(`$ZodError`,(e,t)=>{e.name=`$ZodError`,Gn.value=t,Object.defineProperty(e,"issues",Gn),Gn.value=void 0,Object.defineProperty(e,"message",Wn);let n=Object.getPrototypeOf(e);Kn.has(n)||(Kn.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function Jn(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function Yn(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?Jn(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Xn(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function Zn(e,t){return{callee:t?.callee??e,Err:t?.Err}}var Qn=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new zn;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>_n(e,o,Vn())));throw Ut(n,a?.callee??t),n}return s.value};return t},$n=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>_n(e,o,Vn())));throw Ut(n,a?.callee??t),n}return s.value};return t},er=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new zn;return a.issues.length?tr(e,a.issues,i):{success:!0,data:a.value}};function tr(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>_n(e,n,Vn()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var nr=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?tr(e,a.issues,i):{success:!0,data:a.value}},rr=Symbol.for(`zod.compile.invalid`),ir=Symbol.for(`zod.compile.fallback`),ar=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==rr)return!0;if(r.definite===!0&&n===void 0)return!1}return or(e,t,n)});function or(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[ir]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new zn;return a.issues.length===0}var sr=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},cr=e=>{let t=Qn(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,Zn(n,a))};return n},lr=e=>{let t=Qn(e),n=(e,r,i,a)=>t(e,r,i,Zn(n,a));return n},ur=e=>{let t=$n(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,Zn(n,a))};return n},dr=e=>{let t=$n(e),n=async(e,r,i,a)=>await t(e,r,i,Zn(n,a));return n},fr=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return er(e)(t,n,i)},pr=e=>(t,n,r)=>er(e)(t,n,r),mr=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return nr(e)(t,n,i)},hr=e=>async(t,n,r)=>nr(e)(t,n,r),gr=/^[cC][0-9a-z]{6,}$/,_r=/^[0-9a-z]+$/,vr=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,yr=/^[0-9a-vA-V]{20}$/,br=/^[A-Za-z0-9]{27}$/,xr=/^[a-zA-Z0-9_-]{21}$/;function Sr(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Cr=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,wr=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Tr=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Er=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Dr=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function Or(){return new RegExp(Dr,`u`)}var kr=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ar=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,jr=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Mr=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Nr=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Pr=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Fr=/^https?$/,Ir=/^\+[1-9]\d{6,14}$/,Lr=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Rr(e){return RegExp(`^${e}$`)}var zr=Rr(Lr);function Br(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Vr(e){return RegExp(`^${Br(e)}$`)}function Hr(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${Br({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${Br({precision:e.precision})}`:n;return RegExp(`^${Lr}T(?:${r})$`)}var Ur=/^[\s\S]{0,}$/,Wr=/^-?\d+$/,Gr=/^-?\d+(?:\.\d+)?$/,Kr=/^(?:true|false)$/i,qr=/^[^A-Z]*$/,Jr=/^[^a-z]*$/,N=j(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Yr=e=>{let t=e.value;return!kt(t)&&t.length!==void 0},Xr={number:`number`,bigint:`bigint`,object:`date`},Zr=j(`$ZodCheckLessThan`,(e,t)=>{N.init(e,t);let n=Xr[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Xr[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Qr=j(`$ZodCheckGreaterThan`,(e,t)=>{N.init(e,t);let n=Xr[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Xr[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$r=j(`$ZodCheckMultipleOf`,(e,t)=>{N.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):jt(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),ei=j(`$ZodCheckNumberFormat`,(e,t)=>{N.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=$t[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),ti=j(`$ZodCheckMaxLength`,(e,t)=>{var n;N.init(e,t),(n=e._zod.def).when??(n.when=Yr),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?yn(r):i)<=t.maximum)return;let a=bn(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ni=j(`$ZodCheckMinLength`,(e,t)=>{var n;N.init(e,t),(n=e._zod.def).when??(n.when=Yr),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?yn(r):i)>=t.minimum)return;let a=bn(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ri=j(`$ZodCheckLengthEquals`,(e,t)=>{var n;N.init(e,t),(n=e._zod.def).when??(n.when=Yr),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?yn(r):i;if(a===t.length)return;let o=bn(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),ii=j(`$ZodCheckStringFormat`,(e,t)=>{var n,r;N.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),ai=j(`$ZodCheckRegex`,(e,t)=>{ii.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),oi=j(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=qr,ii.init(e,t)}),si=j(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Jr,ii.init(e,t)}),ci=j(`$ZodCheckIncludes`,(e,t)=>{N.init(e,t);let n=Yt(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),li=j(`$ZodCheckStartsWith`,(e,t)=>{N.init(e,t);let n=RegExp(`^${Yt(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),ui=j(`$ZodCheckEndsWith`,(e,t)=>{N.init(e,t);let n=RegExp(`.*${Yt(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),di=j(`$ZodCheckOverwrite`,(e,t)=>{N.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),fi=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
|
|
2
|
+
`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.content??[``];return new e(...Object.keys(this.closed),`return function (${this.args.join(`, `)}) {\n${t.join(`
|
|
3
|
+
`)}\n};`)(...Object.values(this.closed))}},pi={major:4,minor:6,patch:7},P=j(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=pi;let r=e._zod.def.checks,i=e._zod.traits.has(`$ZodCheck`)?[e,...r??[]]:r?.length?[...r]:[];for(let t of i)for(let n of t._zod.onattach)n(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(t,n,r)=>{if(t.memo)return t;let i=dn(t),a;for(let o of n){if(o._zod.def.when){if(fn(t)||!o._zod.def.when(t))continue}else if(i)continue;let n=t.issues.length,s=o._zod.check(t);if(s instanceof Promise&&r?.async===!1)throw new zn;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,t.issues.length!==n&&(gn(t.issues,n,e),i||=dn(t,n))});else{if(t.issues.length===n)continue;gn(t.issues,n,e),i||=dn(t,n)}}return a?a.then(()=>t):t},n=(n,r,a)=>{if(dn(n))return n.aborted=!0,n;let o=t(r,i,a);if(o instanceof Promise){if(a.async===!1)throw new zn;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(r,a)=>{if(a.skipChecks)return e._zod.parse(r,a);if(a.direction===`backward`){let t=e._zod.parse({value:r.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,r,a)):n(t,r,a)}let o=e._zod.parse(r,a);if(o instanceof Promise){if(a.async===!1)throw new zn;return o.then(e=>t(e,i,a))}return t(o,i,a)}}},{get"~standard"(){return Tn(this,`~standard`,gi(this))},set"~standard"(e){wn(this,`~standard`,e)}}),mi=(e,t)=>e.issues.length?{issues:e.issues.map(e=>_n(e,t,Vn()))}:{value:e.value};async function hi(e,t){let n={async:!0};return mi(await e._zod.run({value:t,issues:[]},n),n)}function gi(e){return{validate:t=>{let n={async:!1};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return mi(r,n)}catch{}return hi(e,t)},vendor:`zod`,version:1}}var _i=j(`$ZodString`,(e,t)=>{P.init(e,t),e._zod.pattern=t.pattern??Ur,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),F=j(`$ZodStringFormat`,(e,t)=>{ii.init(e,t),_i.init(e,t)}),vi=j(`$ZodGUID`,(e,t)=>{t.pattern??=wr,F.init(e,t)}),yi=j(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Tr(e)}else t.pattern??=Tr();F.init(e,t)}),bi=j(`$ZodEmail`,(e,t)=>{t.pattern??=Er,F.init(e,t)});function xi(e){try{return typeof URL<`u`&&typeof URL.canParse==`function`?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Si(e,t){return!(`normalize`in t)&&!(`hostname`in t)&&!(`protocol`in t)?xi(e)||2:Ci(e,t)}function Ci(e,t){if(!t.normalize&&t.protocol?.source===Fr.source&&!/^https?:\/\//i.test(e))return 1;try{if(typeof URL<`u`){let t=URL;if(typeof t.parse==`function`)return t.parse(e)??2}return new URL(e)}catch{return 2}}var wi=/[\t\n\r]/g;function Ti(e){return e.replace(wi,``)}function Ei(e,t){return t.lastIndex=0,t.test(e.hostname)}function Di(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(`:`)?e.protocol.slice(0,-1):e.protocol)}var Oi=j(`$ZodURL`,(e,t)=>{F.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=Si(r,t);if(i===1){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}if(i===2){n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=Ti(r);return}t.hostname&&!Ei(i,t.hostname)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!Di(i,t.protocol)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:Ti(r);return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),ki=j(`$ZodEmoji`,(e,t)=>{t.pattern??=Or(),F.init(e,t)}),Ai=j(`$ZodNanoID`,(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??=t.length===void 0?xr:Sr(t.length),F.init(e,t)}),ji=j(`$ZodCUID`,(e,t)=>{t.pattern??=gr,F.init(e,t)}),Mi=j(`$ZodCUID2`,(e,t)=>{t.pattern??=_r,F.init(e,t)}),Ni=j(`$ZodULID`,(e,t)=>{t.pattern??=vr,F.init(e,t)}),Pi=j(`$ZodXID`,(e,t)=>{t.pattern??=yr,F.init(e,t)}),Fi=j(`$ZodKSUID`,(e,t)=>{t.pattern??=br,F.init(e,t)}),Ii=j(`$ZodISODateTime`,(e,t)=>{t.pattern??=Hr(t),F.init(e,t)}),Li=j(`$ZodISODate`,(e,t)=>{t.pattern??=zr,F.init(e,t)}),Ri=j(`$ZodISOTime`,(e,t)=>{t.pattern??=Vr(t),F.init(e,t)}),zi=j(`$ZodISODuration`,(e,t)=>{t.pattern??=Cr,F.init(e,t)}),Bi=j(`$ZodIPv4`,(e,t)=>{t.pattern??=kr,F.init(e,t)}),Vi=/^[0-9a-fA-F:.]+$/;function Hi(e){return Vi.test(e)?xi(`http://[${e}]`):!1}var Ui=j(`$ZodIPv6`,(e,t)=>{t.pattern??=Ar,F.init(e,t),e._zod.check=n=>{Hi(n.value)||n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}),Wi=j(`$ZodCIDRv4`,(e,t)=>{t.pattern??=jr,F.init(e,t)});function Gi(e){let t=e.split(`/`);if(t.length!==2)return!1;let[n,r]=t;if(!r)return!1;let i=Number(r);return`${i}`!==r||i<0||i>128?!1:Hi(n)}var Ki=j(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Mr,F.init(e,t),e._zod.check=n=>{Gi(n.value)||n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}});function qi(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var Ji=/^[0-9a-zA-Z+/]*={0,2}$/,Yi=j(`$ZodBase64`,(e,t)=>{t.pattern??=Ji,F.init(e,t),e._zod.check=n=>{qi(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),Xi=/^[A-Za-z0-9_-]*$/;function Zi(e){if(!Xi.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return qi(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var Qi=j(`$ZodBase64URL`,(e,t)=>{t.pattern??=Xi,F.init(e,t),e._zod.check=n=>{Zi(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),$i=j(`$ZodE164`,(e,t)=>{t.pattern??=Ir,F.init(e,t)});function ea(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var ta=j(`$ZodJWT`,(e,t)=>{F.init(e,t),e._zod.check=n=>{ea(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),na=j(`$ZodNumber`,(e,t)=>{P.init(e,t),e._zod.pattern=Gr,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),ra=j(`$ZodNumberFormat`,(e,t)=>{ei.init(e,t),na.init(e,t)}),ia=j(`$ZodBoolean`,(e,t)=>{P.init(e,t),e._zod.pattern=Kr,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),aa=j(`$ZodUnknown`,(e,t)=>{P.init(e,t),e._zod.parse=e=>e}),oa=j(`$ZodNever`,(e,t)=>{P.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function sa(e,t){let n=hn(e._zod.def.checks);if(!n.length)return;let r=Math.min(...n.map(e=>e[0])),i=e._zod.parse;e._zod.parse=(n,a)=>{let o=t(n.value);if(o>r&&!a?.skipChecks&&a?.direction!==`backward`){for(let[t,r]of hn(e._zod.def.checks))if(o>t&&r._zod.def.when(n)){let t=n.issues.length;return r._zod.check(n),n.issues[t].continue=!1,gn(n.issues,t,e),n}}return i(n,a)}}var ca=e=>Array.isArray(e)?e.length:-1;function la(e,t,n){e.issues.length&&t.issues.push(...pn(n,e.issues)),t.value[n]=e.value}var ua=j(`$ZodArray`,(e,t)=>{P.init(e,t);let n=M.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:`array`,code:`invalid_type`,input:a,inst:e}),r;r.value=n?n.alloc(e,r,Array(a.length),i):Array(a.length);let o=[],s=i?.abortEarly;for(let e=0;e<a.length;e++){let n=a[e],c=t.element._zod.run({value:n,issues:[]},i);if(c instanceof Promise)o.push(c.then(t=>la(t,r,e)));else if(la(c,r,e),s&&c.issues.length!==0&&dn(c))break}return o.length?Promise.all(o).then(()=>r):r},sa(e,ca)});function da(e,t,n,r,i,a){let o=n in r,s=a===`optional`;if(o||!s||i!==`optional`){if(e.issues.length){if(i!==void 0&&s&&!o)return;t.issues.push(...pn(n,e.issues))}!o&&i===void 0?e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]}):e.value===void 0?(o||i===`defaulted`&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var fa=[];function pa(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:fa,i=r.length?[...t,...r]:t;for(let t of i)if(!e.shape?.[t]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${String(t)}": expected a Zod schema`);let a=Qt(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function ma(e,t,n,r,i,a,o){let s=[],c=i.keySet,l=i.catchall._zod,u=l.def.type,d=l.optin,f=l.optout,p=0;for(let i in t){if(o&&n.issues.length!==p){if(dn(n,p))break;p=n.issues.length}if(c.has(i))continue;if(i===`__proto__`){u===`never`&&s.push(i);continue}if(u===`never`){s.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>da(e,n,i,t,d,f))):da(a,n,i,t,d,f)}return s.length&&n.issues.push({code:`unrecognized_keys`,keys:s,input:t,inst:a,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var ha=j(`$ZodObject`,(e,t)=>{P.init(e,t);let n=Object.getOwnPropertyDescriptor(t,`shape`),r=n?.get?n.get.raw:t.shape??{};if(r){let e=()=>{let n={...r};return Object.defineProperty(t,"shape",{value:n}),e.raw=n,n};e.raw=r,Object.defineProperty(t,"shape",{get:e})}let i=Ot(()=>pa(t));A(e,`propValues`,e=>{let t=e.def.shape,n={};for(let e in t){let r=t[e]._zod;if(r.values){Object.prototype.hasOwnProperty.call(n,e)||Pt(n,e,new Set);for(let t of r.values)n[e].add(t);r.optin!==void 0&&n[e].add(void 0)}}return n});let a=Wt,o=t.catchall,s,c=M.memoizer;c?.attach(e),e._zod.parse=(t,n)=>{s??=i.value;let r=t.value;if(!a(r))return t.issues.push({expected:`object`,code:`invalid_type`,input:r,inst:e}),t;t.value=c?c.alloc(e,t,{},n):{};let l=[],u=s.shape,d=n?.abortEarly,f=t.issues.length;for(let e of s.allKeys){if(d&&t.issues.length!==f){if(dn(t,f))break;f=t.issues.length}if(e===`__proto__`)continue;let i=u[e],a=i._zod.optin,o=i._zod.optout,s=i._zod.run({value:r[e],issues:[]},n);s instanceof Promise?l.push(s.then(n=>da(n,t,e,r,a,o))):da(s,t,e,r,a,o)}return o?ma(l,r,t,n,i.value,e,d===!0):l.length?Promise.all(l).then(()=>t):t}}),ga=j(`$ZodObjectJIT`,(e,t)=>{ha.init(e,t);let n=e._zod.parse,r=Ot(()=>pa(t)),i=M.memoizer,a=t=>{let n=r.value,a=n.symbolKeys,o=new fi([`payload`,`ctx`],{shape:t,inst:e,memo:i,syms:a}),s=e=>`shape[${e}]._zod.run({ value: input[${e}], issues: [] }, ctx)`,c=(e,t)=>`
|
|
4
|
+
let ${e}_ab = false;
|
|
5
|
+
for (let i = 0; i < ${e}.issues.length; i++) {
|
|
6
|
+
const iss = ${e}.issues[i];
|
|
7
|
+
iss.path = iss.path ? [${t}, ...iss.path] : [${t}];
|
|
8
|
+
payload.issues.push(iss);
|
|
9
|
+
if (iss.continue !== true) ${e}_ab = true;
|
|
10
|
+
}
|
|
11
|
+
if (${e}_ab && ctx && ctx.abortEarly) {
|
|
12
|
+
payload.value = newResult;
|
|
13
|
+
return payload;
|
|
14
|
+
}`;o.write(`const input = payload.value;`);let l=Object.create(null),u=0;for(let e of n.allKeys)l[e]=`key_${u++}`;o.write(i?`const newResult = memo.alloc(inst, payload, {}, ctx);`:`const newResult = {};`);for(let e of n.allKeys){if(e===`__proto__`)continue;let n=l[e],r=typeof e==`symbol`?`syms[${a.indexOf(e)}]`:Vt(e),i=`${r} in input`,u=t[e],d=u?._zod?.optin,f=d!==void 0,p=u?._zod?.optout===`optional`;if(o.write(`const ${n} = ${s(r)};`),f&&p){let e=d===`optional`?`${n}_present`:`${n}.value !== undefined || ${n}_present`;o.write(`
|
|
15
|
+
const ${n}_present = ${i};
|
|
16
|
+
if (!${n}.issues.length || ${n}_present) {
|
|
17
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (${e}) {
|
|
21
|
+
newResult[${r}] = ${n}.value;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
`)}else f?(o.write(`
|
|
26
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
27
|
+
}
|
|
28
|
+
`),d===`defaulted`?o.write(`newResult[${r}] = ${n}.value;`):o.write(`
|
|
29
|
+
if (${n}.value !== undefined || ${i}) {
|
|
30
|
+
newResult[${r}] = ${n}.value;
|
|
31
|
+
}
|
|
32
|
+
`)):o.write(`
|
|
33
|
+
const ${n}_present = ${i};
|
|
34
|
+
if (${n}.issues.length) {${c(n,r)}
|
|
35
|
+
}
|
|
36
|
+
if (!${n}_present && !${n}.issues.length) {
|
|
37
|
+
payload.issues.push({
|
|
38
|
+
code: "invalid_type",
|
|
39
|
+
expected: "nonoptional",
|
|
40
|
+
input: undefined,
|
|
41
|
+
path: [${r}]
|
|
42
|
+
});
|
|
43
|
+
if (ctx && ctx.abortEarly) {
|
|
44
|
+
payload.value = newResult;
|
|
45
|
+
return payload;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (${n}_present) {
|
|
50
|
+
newResult[${r}] = ${n}.value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
`)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=Wt,c=!M.jitless,l=c&&Gt.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?ma([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}});function _a(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!dn(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>_n(e,r,Vn())))}),t)}var va=j(`$ZodUnion`,(e,t)=>{P.init(e,t),A(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),A(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),A(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),A(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>At(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>_a(t,r,e,i)):_a(o,r,e,i)}});function ya(e){let t=new Map;for(let n of e.options){let r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let e of r)if(t.has(e)){if(e!==void 0)throw Error(`Duplicate discriminator value "${String(e)}"`);t.set(e,null)}else t.set(e,n)}return t}var ba=j(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,va.init(e,t);let n=e._zod.parse;A(e,`propValues`,e=>{let t={},n=0;for(let r of e.def.options){let i=r._zod.propValues;if(!i||Object.keys(i).length===0)throw Error(`Invalid discriminated union option at index "${e.def.options.indexOf(r)}"`);i[e.def.discriminator]?.has(void 0)&&n++;for(let[e,n]of Object.entries(i)){Object.prototype.hasOwnProperty.call(t,e)||Pt(t,e,new Set);for(let r of n)t[e].add(r)}}return!e.def.unionFallback&&n>1&&t[e.def.discriminator]?.delete(void 0),t}),t.options.forEach((e,n)=>{let r=Ft(e._zod.def);if(r&&!Object.prototype.hasOwnProperty.call(r,t.discriminator))throw Error(`Invalid discriminated union option at index "${n}"`)});let r=Ot(()=>ya(t));e._zod.parse=(i,a)=>{let o=i.value;if(!Wt(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=o?.[t.discriminator],c=r.value.get(s);return c&&(s!==void 0||a.direction!==`backward`)?c._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(e=>r.value.get(e)!==null),input:o,path:[t.discriminator],inst:e}),i)}}),xa=j(`$ZodIntersection`,(e,t)=>{P.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Ca(e,t,n)):Ca(e,i,a)}});function Sa(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Kt(e)&&Kt(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=Sa(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Sa(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ca(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=Sa(t.value,n.value);if(!c.valid){if(dn(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var wa=j(`$ZodRecord`,(e,t)=>{P.init(e,t);let n=M.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Kt(a))return r.issues.push({expected:`record`,code:`invalid_type`,input:a,inst:e}),r;let o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},i):{};let c=new Set;for(let n of s)if(typeof n==`string`||typeof n==`number`||typeof n==`symbol`){if(c.add(typeof n==`number`?n.toString():n),n===`__proto__`)continue;let s=t.keyType._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){r.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>_n(e,i,Vn())),input:n,path:[n],inst:e});continue}let l=s.value;if(l===`__proto__`)continue;let u=t.valueType._zod.run({value:a[n],issues:[]},i);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&r.issues.push(...pn(n,e.issues)),r.value[l]=e.value})):(u.issues.length&&r.issues.push(...pn(n,u.issues)),r.value[l]=u.value)}let l;for(let e in a)if(!c.has(e)){if(t.mode===`loose`){if(e===`__proto__`)continue;r.value[e]=a[e]}else l??=[],l.push(e)}l&&l.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:l,continue:!0})}else{r.value=n?n.alloc(e,r,{},i):{};let c;for(let n of Reflect.ownKeys(a)){if(n===`__proto__`||!Object.prototype.propertyIsEnumerable.call(a,n))continue;let l=t.keyType._zod.run({value:n,issues:[]},i);if(l instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof n==`string`&&Gr.test(n)&&l.issues.length){let e=t.keyType._zod.run({value:Number(n),issues:[]},i);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(l=e)}if(l.issues.length){t.mode===`loose`?r.value[n]=a[n]:s?(c??=[],c.push(n)):r.issues.push({code:`invalid_key`,origin:`record`,issues:l.issues.map(e=>_n(e,i,Vn())),input:n,path:[n],inst:e});continue}let u=l.value;if(u===`__proto__`)continue;let d=t.valueType._zod.run({value:a[n],issues:[]},i);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...pn(n,e.issues)),r.value[u]=e.value})):(d.issues.length&&r.issues.push(...pn(n,d.issues)),r.value[u]=d.value)}c&&c.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:c,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),Ta=j(`$ZodEnum`,(e,t)=>{P.init(e,t);let n=wt(t.entries),r=new Set(n);e._zod.values=r,A(e,`pattern`,e=>{let t=wt(e.def.entries).filter(e=>Jt.has(typeof e));return RegExp(t.length?`^(${t.map(e=>Yt(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Ea=j(`$ZodLiteral`,(e,t)=>{P.init(e,t);let n=new Set(t.values);e._zod.values=n,A(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?Yt(e):e?Yt(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Da=j(`$ZodTransform`,(e,t)=>{P.init(e,t),e._zod.optin=`optional`,M.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new Bn(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new zn;return n.value=i,n}});function Oa(e,t){return e.value=t.issues.length?void 0:t.value,e}var ka=j(`$ZodOptional`,(e,t)=>{P.init(e,t),A(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,A(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),A(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${At(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>Oa(e,t)):Oa(e,r)}return t.innerType._zod.run(e,n)}}),Aa=j(`$ZodExactOptional`,(e,t)=>{ka.init(e,t),A(e,`values`,e=>e.def.innerType._zod.values),A(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),ja=j(`$ZodNullable`,(e,t)=>{P.init(e,t),A(e,`optin`,e=>e.def.innerType._zod.optin),A(e,`optout`,e=>e.def.innerType._zod.optout),A(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${At(t.source)}|null)$`):void 0}),A(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Ma=j(`$ZodDefault`,(e,t)=>{P.init(e,t),e._zod.optin=`defaulted`,A(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Na(e,t)):Na(r,t)}});function Na(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Pa=j(`$ZodPrefault`,(e,t)=>{P.init(e,t),e._zod.optin=`defaulted`,A(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Fa=j(`$ZodNonOptional`,(e,t)=>{P.init(e,t),A(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Ia(t,e)):Ia(i,e)}});function Ia(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function La(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>_n(e,r,Vn()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Ra=j(`$ZodCatch`,(e,t)=>{P.init(e,t),A(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),A(e,`optout`,e=>e.def.innerType._zod.optout),A(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>La(e,r,t,n)):La(e,r,t,n)}}),za=j(`$ZodPipe`,(e,t)=>{P.init(e,t),A(e,`values`,e=>e.def.in._zod.values),A(e,`optin`,e=>e.def.in._zod.optin),A(e,`optout`,e=>e.def.out._zod.optout),A(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Ba(e,t.in,n)):Ba(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Ba(e,t.out,n)):Ba(r,t.out,n)}});function Ba(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Va=j(`$ZodReadonly`,(e,t)=>{P.init(e,t),A(e,`propValues`,e=>e.def.innerType._zod.propValues),A(e,`values`,e=>e.def.innerType._zod.values),A(e,`optin`,e=>e.def.innerType?._zod?.optin),A(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(Ha):Ha(r)}});function Ha(e){return e.memo||(e.value=Object.freeze(e.value)),e}var Ua=j(`$ZodLazy`,(e,t)=>{P.init(e,t),Nt(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),A(e,`pattern`,e=>e.innerType?._zod?.pattern),A(e,`propValues`,e=>e.innerType?._zod?.propValues),A(e,`optin`,e=>e.innerType?._zod?.optin??void 0),A(e,`optout`,e=>e.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),Wa=j(`$ZodCustom`,(e,t)=>{N.init(e,t),P.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Ga(t,n,r,e));Ga(i,n,r,e)}});function Ga(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Sn(e))}}var Ka=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},qa=`~memo`,Ja=[];function Ya(e){return typeof e==`object`&&!!e}function Xa(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var Za=new WeakMap,Qa=0,$a=1,eo=2;function to(e,t,n){let r=Za.get(e);if(r!==void 0)return r?eo:Qa;if(t.has(e))return eo;t.add(e);let i=Qa,a=e=>{if(i!==eo&&e?._zod){let r=to(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=Qa;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?$a:o.value?._zod?to(o.value,t,n):Qa;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=Ft(c);s(e?o(e,!0):$a),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?to(r,t,!1):$a);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),no(e,i)}function no(e,t){return t!==$a&&Za.set(e,t===eo),t}function ro(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var io,ao=[],oo={alloc(e,t,n){let r=io;if(!r)return n;io=void 0;let i={value:n,issues:null};return r.set(t.value,i),ao.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&co(n,e.value))throw new Ka;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=to(e,new Set,!1);if(i===Qa)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===eo||r?n=!0:r=!0}let l=s.value;if(!Ya(l))return t(s,c);let u=c[qa];u||(u={buckets:new WeakMap,backEdges:void 0},c[qa]=u);let d;i===c?d=a:(d=ro(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...Xa(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;io=d;let p=ao.length,m=t(s,c);io=void 0;let h=ao.length>p?ao.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?Xa(e.issues):Ja),e)):(h&&(h.issues=m.issues.length?Xa(m.issues):Ja),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}};function so(){return oo}function co(e,t){let n=e[qa]?.backEdges;return n!==void 0&&Ya(t)&&n.has(t)}var lo=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i(xn(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${Zt(e.values[0])}`:`Invalid option: expected one of ${Tt(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${Tt(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function uo(){return{localeError:lo()}}var fo,po=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function mo(){return new po}(fo=globalThis).__zod_globalRegistry??(fo.__zod_globalRegistry=mo());var ho=globalThis.__zod_globalRegistry;function go(e){return e.checks&&=[...e.checks],e}function _o(e,t){return new e(go({type:`string`,...k(t)}))}function vo(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...k(t)})}function yo(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...k(t)})}function bo(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...k(t)})}function xo(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...k(t)})}function So(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...k(t)})}function Co(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...k(t)})}function wo(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...k(t)})}function To(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...k(t)})}function Eo(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...k(t)})}function Do(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...k(t)})}function Oo(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...k(t)})}function ko(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...k(t)})}function Ao(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...k(t)})}function jo(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...k(t)})}function Mo(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...k(t)})}function No(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...k(t)})}function Po(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...k(t)})}function Fo(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...k(t)})}function Io(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...k(t)})}function Lo(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...k(t)})}function Ro(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...k(t)})}function zo(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...k(t)})}function Bo(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...k(t)})}function Vo(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...k(t)})}function Ho(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...k(t)})}function Uo(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...k(t)})}function Wo(e,t){return new e(go({type:`number`,checks:[],...k(t)}))}function Go(e,t){return new e(go({type:`number`,coerce:!0,checks:[],...k(t)}))}function Ko(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...k(t)})}function qo(e,t){return new e({type:`boolean`,...k(t)})}function Jo(e){return new e({type:`unknown`})}function Yo(e,t){return new e({type:`never`,...k(t)})}function Xo(e,t){return new Zr({check:`less_than`,...k(t),value:e,inclusive:!1})}function Zo(e,t){return new Zr({check:`less_than`,...k(t),value:e,inclusive:!0})}function Qo(e,t){return new Qr({check:`greater_than`,...k(t),value:e,inclusive:!1})}function $o(e,t){return new Qr({check:`greater_than`,...k(t),value:e,inclusive:!0})}function es(e,t){return new $r({check:`multiple_of`,...k(t),value:e})}function ts(e,t){return new ti({check:`max_length`,...k(t),maximum:e})}function ns(e,t){return new ni({check:`min_length`,...k(t),minimum:e})}function rs(e,t){return new ri({check:`length_equals`,...k(t),length:e})}function is(e,t){return new ai({check:`string_format`,format:`regex`,...k(t),pattern:e})}function as(e){return new oi({check:`string_format`,format:`lowercase`,...k(e)})}function os(e){return new si({check:`string_format`,format:`uppercase`,...k(e)})}function ss(e,t){return new ci({check:`string_format`,format:`includes`,...k(t),includes:e})}function cs(e,t){return new li({check:`string_format`,format:`starts_with`,...k(t),prefix:e})}function ls(e,t){return new ui({check:`string_format`,format:`ends_with`,...k(t),suffix:e})}function us(e){return new di({check:`overwrite`,tx:e})}function ds(e){return us(t=>t.normalize(e))}function fs(){return us(e=>e.trim())}function ps(){return us(e=>e.toLowerCase())}function ms(){return us(e=>e.toUpperCase())}function hs(){return us(e=>Ht(e))}function gs(e,t,n){return new e({type:`array`,element:t,...k(n)})}function _s(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...k(n)})}function vs(e,t){let n=ys(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Sn(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Sn(r))}},e(t.value,t)),t);return n}function ys(e,t){let n=new N({check:`custom`,...k(t)});return n._zod.check=e,n}function bs(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&Pt(e,t,n[t]);return e}function xs(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??ho,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,intersections:[],deferred:[],external:e?.external??void 0}}function Ss(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function I(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,I(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&bs(o.schema,c),t.io===`input`&&L(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Cs(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function ws(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${Cs(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+Cs(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
54
|
+
|
|
55
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Ts(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Ts(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Es=new Set([`type`,`properties`,`required`,`additionalProperties`]),Ds=[`oneOf`,`anyOf`];function Os(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function ks(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Es.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??Os(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}Pt(n,r,e.length===1?e[0]:ks(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=Os(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function As(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Es)if(t in e)return;let n=t.filter(e=>Ds.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=ks(t);else{let e=n[0],i=Ds.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>ks([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,bs(e,r))}function js(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):bs(i,s),bs(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Ts(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])As(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}bs(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,Pt(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Ns(t,`input`,e.processors),output:Ns(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function L(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return L(r.element,n);if(r.type===`set`)return L(r.valueType,n);if(r.type===`lazy`)return L(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return L(r.innerType,n);if(r.type===`intersection`)return L(r.left,n)||L(r.right,n);if(r.type===`record`||r.type===`map`)return L(r.keyType,n)||L(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:L(r.in,n)||L(r.out,n);if(r.type===`object`){for(let e in r.shape)if(L(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(L(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(L(e,n))return!0;return!!(r.rest&&L(r.rest,n))}return!1}var Ms=(e,t={})=>n=>{let r=xs({...n,processors:t});return I(e,r),ws(r,e),js(r,e)},Ns=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=xs({...i??{},target:a,io:t,processors:n});return I(e,o),ws(o,e),js(o,e)},Ps=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Fs=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},Is=(e,t)=>{Ps(e,`minimum`,t),Fs(e,`maximum`,t)},Ls=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},Rs=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},zs=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},Bs=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},Vs=(e,t)=>Ps(e,`minimum`,t.minimum),Hs=(e,t)=>Fs(e,`maximum`,t.maximum),Us=e=>(t,n)=>{Bs(t,n.format);let[r,i]=e[n.format];Ps(t,`minimum`,r),Fs(t,`maximum`,i)},Ws={greater_than:(e,t)=>Ps(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>Fs(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>Ls(e,t.value),number_format:Us($t),bigint_format:Us(en),min_length:Vs,max_length:Hs,length_equals:(e,t)=>Is(e,t.length),min_size:Vs,max_size:Hs,size_equals:(e,t)=>Is(e,t.size),string_format:(e,t)=>{Bs(e,t.format),t.pattern&&Rs(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>zs(e,t.mime)};function Gs(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)Ws[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&Ps(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&Ps(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&Fs(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&Fs(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&Ls(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&zs(t,i.mime);for(let e of i.patterns??[])Rs(t,e);return t}var Ks={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},qs=new Map([[Ji,Nr],[Xi,Pr]]),Js=e=>qs.get(e)??e,Ys=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=Gs(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Ks[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(Js);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Xs=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=Gs(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):Ss(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},Zs=(e,t,n,r)=>{n.type=`boolean`},Qs=(e,t,n,r)=>{n.not={}},$s=(e,t,n,r)=>{let i=e._zod.def,a=wt(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},ec=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(Ss(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(Ss(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},tc=(e,t,n,r)=>{Ss(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},nc=(e,t,n,r)=>{Ss(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},rc=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=Gs(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=I(a.element,t,{...r,path:[...r.path,`items`]})};function ic(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?ic(t.out):t.type===`catch`?ic(t.innerType):e._zod.optin}var ac=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&Ss(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)Pt(i.properties,e,I(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?ic(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=I(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},oc=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>I(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},sc=(e,t,n,r)=>{let i=e._zod.def,a=I(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=I(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)};function cc(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=cc(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>cc(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?Gr:Wr).source)),p}var lc=new WeakMap;function uc(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of lc.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=cc(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var dc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=Gs(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=I(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)Pt(i.patternProperties,Js(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=I(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=lc.get(t);n||(n=[],lc.set(t,n),t.deferred.push(()=>uc(t))),n.push(e)}i.additionalProperties=I(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&ic(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},fc=(e,t,n,r)=>{let i=e._zod.def,a=I(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},pc=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},mc=Symbol();function hc(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(Ss(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),mc):JSON.parse(o)}var gc=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=hc(i.defaultValue,e,t,n,r);o!==mc&&(n.default=o)},_c=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=hc(i.defaultValue,e,t,n,r);o!==mc&&(n._prefault=o)},vc=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{Ss(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},yc=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;I(o,t,r);let s=t.seen.get(e);s.ref=o},bc=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},xc=(e,t,n,r)=>{let i=e._zod.def;I(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Sc=(e,t,n,r)=>{let i=e._zod.innerType;I(i,t,r);let a=t.seen.get(e);a.ref=i},Cc=new WeakSet([Object.prototype,Error.prototype]);function wc(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var Tc=(e,t)=>{qn.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Cc.has(n)||(Cc.add(n),wc(n,`format`,e=>t=>Xn(e,t)),wc(n,`flatten`,e=>t=>Yn(e,t)),wc(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Et,2)}),wc(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Et,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Ec=j(`ZodError`,Tc),R=j(`ZodError`,Tc,void 0,{Parent:Error}),Dc=Qn(R),Oc=$n(R),kc=er(R),Ac=nr(R),jc=cr(R),Mc=lr(R),Nc=ur(R),Pc=dr(R),Fc=fr(R),Ic=pr(R),Lc=mr(R),Rc=hr(R);function zc(){M.localeError||Vn(uo())}function Bc(){M.memoizer||Vn({memoizer:so()})}var z=j(`ZodType`,(e,t)=>(zc(),P.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(O(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Xt(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(au(e,t))},superRefine(e,t){return this.check(ou(e,t))},overwrite(e){return this.check(us(e))},optional(){return zl(this)},exactOptional(){return Vl(this)},nullable(){return Ul(this)},nullish(){return zl(Ul(this))},nonoptional(e){return Yl(this,e)},array(){return W(this)},or(e){return Tl([this,e])},and(e){return kl(this,e)},transform(e){return $l(this,Ll(e))},default(e){return Gl(this,e)},prefault(e){return ql(this,e)},catch(e){return Zl(this,e)},pipe(e){return $l(this,e)},readonly(){return tu(this)},describe(e){let t=this.clone();return ho.add(t,{description:e}),t},meta(...e){if(e.length===0)return ho.get(this);let t=this.clone();return ho.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return Tn(this,`~standard`,{...gi(this),jsonSchema:{input:Ns(this,`input`),output:Ns(this,`output`)}})},set"~standard"(e){wn(this,`~standard`,e)},parse:function e(t,n){return Dc(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Oc(this,t,n,{callee:e})},safeParse(e,t){return kc(this,e,t)},async safeParseAsync(e,t){return Ac(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){wn(this,`spa`,e)},validate(e,t){return ar(this,e,t)},validateAsync(e,t){return sr(this,e,t)},encode:function e(t,n){return jc(this,t,n,{callee:e})},decode:function e(t,n){return Mc(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Nc(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Pc(this,t,n,{callee:e})},safeEncode(e,t){return Fc(this,e,t)},safeDecode(e,t){return Ic(this,e,t)},async safeEncodeAsync(e,t){return Lc(this,e,t)},async safeDecodeAsync(e,t){return Rc(this,e,t)},toJSONSchema(e){return Ms(this,{})(e)},get description(){return ho.get(this)?.description},get _def(){return this._zod.def}}),Vc=j(`_ZodString`,(e,t)=>{_i.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ys(e,t,n,r)},En({format:e=>Gs(e).format??null,minLength:e=>Gs(e).minimum??null,maxLength:e=>Gs(e).maximum??null},{regex(...e){return this.check(is(...e))},includes(...e){return this.check(ss(...e))},startsWith(...e){return this.check(cs(...e))},endsWith(...e){return this.check(ls(...e))},min(...e){return this.check(ns(...e))},max(...e){return this.check(ts(...e))},length(...e){return this.check(rs(...e))},nonempty(...e){return this.check(ns(1,...e))},lowercase(e){return this.check(as(e))},uppercase(e){return this.check(os(e))},trim(){return this.check(fs())},normalize(...e){return this.check(ds(...e))},toLowerCase(){return this.check(ps())},toUpperCase(){return this.check(ms())},slugify(){return this.check(hs())}})),Hc=j(`ZodString`,(e,t)=>{_i.init(e,t),Vc.init(e,t)},{email(e){return this.check(vo(qc,e))},url(e){return this.check(wo(Zc,e))},jwt(e){return this.check(zo(pl,e))},emoji(e){return this.check(To($c,e))},guid(e){return this.check(yo(Jc,e))},uuid(e){return this.check(bo(Yc,e))},uuidv4(e){return this.check(xo(Yc,e))},uuidv6(e){return this.check(So(Yc,e))},uuidv7(e){return this.check(Co(Yc,e))},nanoid(e){return this.check(Eo(el,e))},cuid(e){return this.check(Do(tl,e))},cuid2(e){return this.check(Oo(nl,e))},ulid(e){return this.check(ko(rl,e))},base64(e){return this.check(Io(ul,e))},base64url(e){return this.check(Lo(dl,e))},xid(e){return this.check(Ao(il,e))},ksuid(e){return this.check(jo(al,e))},ipv4(e){return this.check(Mo(ol,e))},ipv6(e){return this.check(No(sl,e))},cidrv4(e){return this.check(Po(cl,e))},cidrv6(e){return this.check(Fo(ll,e))},e164(e){return this.check(Ro(fl,e))},datetime(e){return this.check(Bo(Uc,e))},date(e){return this.check(Vo(Wc,e))},time(e){return this.check(Ho(Gc,e))},duration(e){return this.check(Uo(Kc,e))}});function B(e){return _o(Hc,e)}var V=j(`ZodStringFormat`,(e,t)=>{F.init(e,t),Vc.init(e,t)}),Uc=j(`ZodISODateTime`,(e,t)=>{Ii.init(e,t),V.init(e,t)}),Wc=j(`ZodISODate`,(e,t)=>{Li.init(e,t),V.init(e,t)}),Gc=j(`ZodISOTime`,(e,t)=>{Ri.init(e,t),V.init(e,t)}),Kc=j(`ZodISODuration`,(e,t)=>{zi.init(e,t),V.init(e,t)}),qc=j(`ZodEmail`,(e,t)=>{bi.init(e,t),V.init(e,t)}),Jc=j(`ZodGUID`,(e,t)=>{vi.init(e,t),V.init(e,t)}),Yc=j(`ZodUUID`,(e,t)=>{yi.init(e,t),V.init(e,t)});function Xc(e){return bo(Yc,e)}var Zc=j(`ZodURL`,(e,t)=>{Oi.init(e,t),V.init(e,t)});function Qc(e){return wo(Zc,e)}var $c=j(`ZodEmoji`,(e,t)=>{ki.init(e,t),V.init(e,t)}),el=j(`ZodNanoID`,(e,t)=>{Ai.init(e,t),V.init(e,t)}),tl=j(`ZodCUID`,(e,t)=>{ji.init(e,t),V.init(e,t)}),nl=j(`ZodCUID2`,(e,t)=>{Mi.init(e,t),V.init(e,t)}),rl=j(`ZodULID`,(e,t)=>{Ni.init(e,t),V.init(e,t)}),il=j(`ZodXID`,(e,t)=>{Pi.init(e,t),V.init(e,t)}),al=j(`ZodKSUID`,(e,t)=>{Fi.init(e,t),V.init(e,t)}),ol=j(`ZodIPv4`,(e,t)=>{Bi.init(e,t),V.init(e,t)}),sl=j(`ZodIPv6`,(e,t)=>{Ui.init(e,t),V.init(e,t)}),cl=j(`ZodCIDRv4`,(e,t)=>{Wi.init(e,t),V.init(e,t)}),ll=j(`ZodCIDRv6`,(e,t)=>{Ki.init(e,t),V.init(e,t)}),ul=j(`ZodBase64`,(e,t)=>{Yi.init(e,t),V.init(e,t)}),dl=j(`ZodBase64URL`,(e,t)=>{Qi.init(e,t),V.init(e,t)}),fl=j(`ZodE164`,(e,t)=>{$i.init(e,t),V.init(e,t)}),pl=j(`ZodJWT`,(e,t)=>{ta.init(e,t),V.init(e,t)}),ml=j(`ZodNumber`,(e,t)=>{na.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xs(e,t,n,r),e.isFinite=!0},En({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=Gs(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=Gs(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=Gs(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>Gs(e).format??null},{gt(e,t){return this.check(Qo(e,t))},gte(e,t){return this.check($o(e,t))},min(e,t){return this.check($o(e,t))},lt(e,t){return this.check(Xo(e,t))},lte(e,t){return this.check(Zo(e,t))},max(e,t){return this.check(Zo(e,t))},int(e){return this.check(gl(e))},safe(e){return this.check(gl(e))},positive(e){return this.check(Qo(0,e))},nonnegative(e){return this.check($o(0,e))},negative(e){return this.check(Xo(0,e))},nonpositive(e){return this.check(Zo(0,e))},multipleOf(e,t){return this.check(es(e,t))},step(e,t){return this.check(es(e,t))},finite(){return this}}));function H(e){return Wo(ml,e)}var hl=j(`ZodNumberFormat`,(e,t)=>{ra.init(e,t),ml.init(e,t)});function gl(e){return Ko(hl,e)}var _l=j(`ZodBoolean`,(e,t)=>{ia.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zs(e,t,n,r)});function U(e){return qo(_l,e)}var vl=j(`ZodUnknown`,(e,t)=>{aa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function yl(){return Jo(vl)}var bl=j(`ZodNever`,(e,t)=>{oa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qs(e,t,n,r)});function xl(e){return Yo(bl,e)}var Sl=j(`ZodArray`,(e,t)=>{Bc(),ua.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rc(e,t,n,r),e.element=t.element},{min(e,t){return this.check(ns(e,t))},nonempty(e){return this.check(ns(1,e))},max(e,t){return this.check(ts(e,t))},length(e,t){return this.check(rs(e,t))},unwrap(){return this.element}});function W(e,t){return gs(Sl,e,t)}var Cl=j(`ZodObject`,(e,t)=>{Bc(),ga.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ac(e,t,n,r),Mn(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return Pl(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(O(this._zod.def,{catchall:e}))},passthrough(){return this.clone(O(this._zod.def,{catchall:yl()}))},loose(){return this.clone(O(this._zod.def,{catchall:yl()}))},strict(){return this.clone(O(this._zod.def,{catchall:xl()}))},strip(){return this.clone(O(this._zod.def,{catchall:void 0}))},extend(e){return an(this,e)},safeExtend(e){return sn(this,e)},merge(e){return cn(this,e)},pick(e){return tn(this,e)},omit(e){return rn(this,e)},partial(...e){return ln(Rl,this,e[0])},exactPartial(...e){return ln(Bl,this,e[0],`exactPartial`)},required(...e){return un(Jl,this,e[0])}});function G(e,t){return new Cl({type:`object`,shape:e??{},...k(t)})}var wl=j(`ZodUnion`,(e,t)=>{va.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>oc(e,t,n,r),e.options=t.options});function Tl(e,t){return new wl({type:`union`,options:e,...k(t)})}var El=j(`ZodDiscriminatedUnion`,(e,t)=>{wl.init(e,t),ba.init(e,t)});function Dl(e,t,n){return new El({type:`union`,options:t,discriminator:e,...k(n)})}var Ol=j(`ZodIntersection`,(e,t)=>{xa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sc(e,t,n,r)});function kl(e,t){return new Ol({type:`intersection`,left:e,right:t})}var Al=j(`ZodRecord`,(e,t)=>{Bc(),wa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dc(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function jl(e,t,n){return!t||!t._zod?new Al({type:`record`,keyType:B(),valueType:e,...k(t)}):new Al({type:`record`,keyType:e,valueType:t,...k(n)})}function Ml(e,t,n){return new Al({type:`record`,keyType:e,valueType:t,...k(n),partial:!0})}var Nl=j(`ZodEnum`,(e,t)=>{Ta.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$s(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Nl({...t,checks:[],...k(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Nl({...t,checks:[],...k(r),entries:i})}});function Pl(e,t){return new Nl({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...k(t)})}var Fl=j(`ZodLiteral`,(e,t)=>{Ea.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ec(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function K(e,t){return new Fl({type:`literal`,values:Array.isArray(e)?e:[e],...k(t)})}var Il=j(`ZodTransform`,(e,t)=>{Bc(),Da.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>nc(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new Bn(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Sn(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(Sn(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Ll(e){return new Il({type:`transform`,transform:e})}var Rl=j(`ZodOptional`,(e,t)=>{ka.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function zl(e){return new Rl({type:`optional`,innerType:e})}var Bl=j(`ZodExactOptional`,(e,t)=>{Aa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Vl(e){return new Bl({type:`optional`,innerType:e})}var Hl=j(`ZodNullable`,(e,t)=>{ja.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Ul(e){return new Hl({type:`nullable`,innerType:e})}var Wl=j(`ZodDefault`,(e,t)=>{Ma.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Gl(e,t){return new Wl({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():qt(t)}})}var Kl=j(`ZodPrefault`,(e,t)=>{Pa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_c(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ql(e,t){return new Kl({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():qt(t)}})}var Jl=j(`ZodNonOptional`,(e,t)=>{Fa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Yl(e,t){return new Jl({type:`nonoptional`,innerType:e,...k(t)})}var Xl=j(`ZodCatch`,(e,t)=>{Ra.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Zl(e,t){return new Xl({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:Pn(t)})}var Ql=j(`ZodPipe`,(e,t)=>{za.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yc(e,t,n,r),e.in=t.in,e.out=t.out});function $l(e,t){return new Ql({type:`pipe`,in:e,out:t})}var eu=j(`ZodReadonly`,(e,t)=>{Va.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tu(e){return new eu({type:`readonly`,innerType:e})}var nu=j(`ZodLazy`,(e,t)=>{Ua.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sc(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function ru(e){return new nu({type:`lazy`,getter:e})}var iu=j(`ZodCustom`,(e,t)=>{Wa.init(e,t),z.init(e,t),e._zod.processJSONSchema=(t,n,r)=>tc(e,t,n,r)});function au(e,t={}){return _s(iu,e,t)}function ou(e,t){return vs(e,t)}var su=Pl([`zh-CN`,`en`]),cu=G({uiLanguage:Pl([`system`,`zh-CN`,`en`]),resolvedLocale:su,revision:H().int().nonnegative()});cu.omit({revision:!0}).extend({expectedRevision:H().int().nonnegative()}).strict();var lu=G({language:su,revision:H().int().nonnegative()});lu.omit({revision:!0}).extend({expectedRevision:H().int().nonnegative()}).strict();var q=B().regex(/^[a-z][a-z0-9_-]{0,63}$/),uu=Xc();G({deviceId:uu,projectId:q.optional()}).strict(),G({workspaceId:q,memberId:q,deviceId:uu}),G({members:W(q)});var du=134217728,fu=10485760,pu=3e5,mu=B().regex(/^[a-f0-9]{64}$/),J=H().int().nonnegative().max(2**53-1),hu=B().min(1).max(1024).refine(e=>e!==e.normalize(`NFC`)||/[\\\x00-\x1f\x7f:<>"|?*]/.test(e)?!1:e.split(`/`).every(e=>e.length>0&&e.length<=255&&e!==`.`&&e!==`..`&&!/[. ]$/.test(e)&&!/^\.teammy(?:-|$)/i.test(e)&&!/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(e)),`Path must be a portable, normalized relative file path.`),gu=G({sha256:mu,size:H().int().min(0).max(du)}),_u=gu.extend({size:H().int().min(0).max(fu)}),vu=Dl(`kind`,[_u.extend({kind:K(`upsert`),path:hu}).strict(),G({kind:K(`delete`),path:hu}).strict()]);G({operationId:Xc(),parentRevision:J,changes:W(vu)}).strict().refine(e=>new Set(e.changes.map(e=>e.path)).size===e.changes.length,`Duplicate paths in a publication.`),G({operationId:Xc(),revision:J});var yu=_u.extend({path:hu,revision:J});G({revision:J,complete:U().default(!1),files:W(yu),nextCursor:B().nullable()}),G({headRevision:J,revisions:W(G({revision:J,operationId:Xc(),createdAt:B(),changes:W(vu)}))}),G({hashes:W(mu).max(200)}).strict(),G({missing:W(mu)});var bu=Dl(`kind`,[yu.extend({kind:K(`file`)}),G({kind:K(`directory`),path:hu,fileCount:H().int().positive()})]),xu=G({revision:J,path:Tl([K(``),hu]),entries:W(bu),nextCursor:B().nullable()}),Su=G({revision:J,file:yu}),Cu=B().url().max(2048).refine(e=>{if(!URL.canParse(e))return!1;let t=new URL(e);return[`http:`,`https:`].includes(t.protocol)&&!t.username&&!t.password&&!t.search&&!t.hash},`Use an HTTP(S) server URL without credentials, query or fragment.`),wu=G({checkIntervalSeconds:H().int().min(1).max(86400),fileSettleSeconds:H().int().min(0).max(86400)}).strict(),Tu=G({schemaVersion:K(1),projectId:q,projectName:B().trim().min(1).max(120),description:B().max(2e3),publicServerUrl:Cu,configRevision:J,scopeProfile:K(`workspace-and-sessions-v1`),sync:wu}).strict(),Eu=G({operationId:Xc(),publicServerUrl:Cu,adminId:q,setupToken:B().max(256).optional(),password:B().min(12).max(256).optional()}).strict(),Du=G({initialized:U(),authMode:Pl([`local`,`member-id`,`tai`]).default(`local`),oidcName:B().nullable().default(null)}),Ou=Tu.pick({projectName:!0,description:!0}).extend({expectedRevision:J.optional()}).strict(),ku=G({id:q,displayName:B().max(120),enabled:U(),accountEnabled:U(),revision:J,bound:U(),fileRevision:J,lastPublishedAt:B().nullable(),hasFiles:U().default(!1),hasSessions:U().default(!1)}),Au=G({memberId:q,displayName:B(),siteRole:Pl([`admin`,`member`])}),ju=Au.extend({workspaceId:q}),Mu=G({seen:U()}),Nu=G({id:q}).strict(),Pu=G({expectedRevision:J,displayName:B().trim().max(120).optional(),enabled:U().optional()}).strict();G({operationId:Xc(),projectName:B().trim().min(1).max(120),description:B().max(2e3).default(``),workspacePath:B().trim().min(1).optional()}).strict();var Fu=G({projects:W(G({projectId:q,projectName:B(),description:B()}))}),Iu=H().int().positive().nullable(),Lu=G({sync:wu,publicServerUrl:Cu,maxConcurrentRuns:Iu.default(null),revision:J}),Ru=G({publicServerUrl:Cu.optional(),sync:wu.optional(),maxConcurrentRuns:Iu.optional(),expectedRevision:J}).strict().refine(e=>e.publicServerUrl!==void 0||e.sync!==void 0||e.maxConcurrentRuns!==void 0,`Provide a setting to update.`),zu=G({id:q,displayName:B(),siteRole:Pl([`admin`,`member`]),enabled:U(),revision:J}),Bu=G({id:q,displayName:B().trim().max(120).default(``),siteRole:Pl([`admin`,`member`]).default(`member`)}).strict(),Vu=G({expectedRevision:J,displayName:B().trim().max(120).optional(),enabled:U().optional(),siteRole:Pl([`admin`,`member`]).optional()}).strict(),Hu=G({package:B().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/),registry:Cu.transform(e=>new URL(e).href.replace(/\/+$/,``))}).strict(),Uu={package:`@teammy/cli`,registry:`https://registry.npmjs.org`};function Wu(e,t){return e.package===t.package&&e.registry===t.registry}function Gu(e,t=!1){let n=e=>/^[a-zA-Z0-9@/._:-]+$/.test(e)?e:`'${e.replaceAll(`'`,`'\\''`)}'`;return`npm install -g ${n(e.package+(t?`@latest`:``))}${e.registry===Uu.registry?``:` --registry `+n(e.registry)}${Wu(e,Uu)?``:` && teammy update-source --package ${n(e.package)} --registry ${n(e.registry)}`}`}G({status:K(`ok`)});var Ku=G({name:K(`teammy`),version:B().min(1),protocolVersion:K(1),capabilities:W(B()),clientUrl:B().url().optional()});G({error:G({code:B(),message:B(),requestId:B()})});var qu=/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/,Ju=B().regex(/^tmy_[a-f0-9]{64}$/);G({operationId:Xc(),projectId:q,memberId:q,deviceId:uu,credential:Ju,multiDevice:K(!0).optional()}).strict();var Yu=G({checkIntervalSeconds:H().min(1).max(86400),fileSettleSeconds:H().min(0).max(86400)}).strict(),Xu=G({checkedAt:B(),published:U(),appliedFiles:H().int().nonnegative(),pendingFiles:H().int().nonnegative(),sessionSources:H().int().nonnegative(),errors:W(B().max(1e3)).max(20)}).strict(),Zu=G({clientVersion:B().max(64),receivedRevision:J.nullable(),appliedRevision:J.nullable(),effectivePolicy:Yu,overrides:W(Pl([`checkIntervalSeconds`,`fileSettleSeconds`])).max(2),configError:B().max(2e3).nullable(),reportError:B().max(2e3).nullable(),lastSync:Xu.nullable()}).strict(),Qu=B().max(64).regex(qu),$u=G({running:B().min(1).max(64),waiting:Qu.optional(),issue:B().max(1500).optional()});$u.extend({installation:Xc(),distribution:Hu.optional()}),G({enabled:U(),target:Qu.nullable(),distribution:Hu.optional()});var ed=G({devices:W(G({memberId:q,deviceId:uu.nullish(),name:B().nullish(),bound:U(),lastSeenAt:B().nullable(),status:Zu.nullable(),autoUpdate:$u.extend({enabled:U()}).optional()}))});function td(e,t,n){let r=Ke();return r.init({lng:e,fallbackLng:`zh-CN`,supportedLngs:[`zh-CN`,`en`],resources:{"zh-CN":{translation:t},en:{translation:n}},keySeparator:!1,initAsync:!1,interpolation:{escapeValue:!1},returnNull:!1}),r}var nd={"tools.calls_other":[`{{count}} 次工具调用`,`{{count}} tool calls`],"tools.calls_one":[`{{count}} 次工具调用`,`{{count}} tool call`],"routing.hint.human":[`{{trigger}},{{reminder}}。{{suffix}}`,`{{trigger}}, {{reminder}}.{{suffix}}`],"routing.hint.managed":[`{{trigger}},交给本地 Agent 处理,{{reminder}}。{{suffix}}`,`{{trigger}}, your local Agent handles it; {{reminder}}.{{suffix}}`],"routing.hint.hook":[`{{trigger}},保存到本地收件箱,由你的脚本或 Agent 读取,{{reminder}}。{{suffix}}`,`{{trigger}}, it is saved to your local inbox for your script or Agent to read; {{reminder}}.{{suffix}}`],"routing.reminder.off":[`不额外提醒`,`no extra notification is sent to you`],"routing.reminder.both":[`Tim 会通过网页和企业微信私聊提醒你`,`Tim notifies you on the web and through a WeCom private message`],"routing.reminder.channel":[`在网页频道显示未读提醒`,`an unread indicator appears in the web channel`],"routing.reminder.web":[`Tim 会在网页提醒你`,`Tim notifies you on the web`],"routing.originalVisible":[`频道原消息仍可查看。`,` The original channel message remains available.`],"common.skip":[`留空此项`,`Leave empty`],"common.nativeDefault":[`使用原生默认值`,`Use native default`],"common.cancelQuestion":[`取消问答`,`Cancel question`],"routing.category.private.notice":[`私人消息`,`Private messages`],"routing.trigger.private.notice":[`Tim 有发给你的单独通知时`,`When Tim has a private notification for you`],"routing.category.member.request":[`协作请求`,`Collaboration requests`],"routing.trigger.member.request":[`有需要你处理的协作请求时`,`When a collaboration request needs your attention`],"routing.category.task.issue":[`任务冲突或重复`,`Task conflicts or duplicates`],"routing.trigger.task.issue":[`发现与你相关的任务冲突或重复时`,`When a task conflict or duplicate affects you`],"routing.category.mr.review":[`代码评审`,`Code reviews`],"routing.trigger.mr.review":[`代码评审有与你相关的更新时`,`When a code review has updates relevant to you`],"routing.category.channel.mention":[`频道中提到我`,`Channel mentions`],"routing.trigger.channel.mention":[`频道消息明确 @你时`,`When a channel message mentions you`],"routing.category.channel.follow":[`订阅话题更新`,`Followed topics`],"routing.trigger.channel.follow":[`你订阅的话题有新回复时`,`When a topic you follow has a new reply`],"routing.category.diagnostic":[`运行异常`,`Runtime issues`],"routing.trigger.diagnostic":[`与你相关的运行或交接发生异常时`,`When a runtime or handoff issue affects you`]},rd={"wecom.unassigned":[`未指定`,`Unassigned`],"wecom.working":[`正在工作…`,`Working…`],"wecom.searching":[`正在查找资料…`,`Searching materials…`],"wecom.reading":[`正在阅读资料…`,`Reading materials…`],"wecom.saving":[`正在保存…`,`Saving…`],"wecom.tryAgain":[`本次处理未完成,请稍后重试。`,`Processing did not finish. Please try again later.`],"wecom.roundDone":[`本轮处理已完成。`,`This round is complete.`],"wecom.textLinks":[`目前支持文字和链接,请用文字说明。`,`Text and links are supported. Please describe your request in text.`],"wecom.localGroupBound":[`本群已连接本地会话,可直接与目录 Agent 对话。`,`This group is connected to a local session. You can talk to the directory Agent here.`],"wecom.groupBound":[`本群已连接 {{project}}。`,`This group is connected to {{project}}.`],"wecom.bindGroupFirst":[`请先在 Teammy 项目设置 → 项目群与频道获取群绑定码,在本群发送 /bind <绑定码>。`,`Get a group binding code in Teammy project Settings → Groups & channels, then send /bind <code> here.`],"wecom.privateCommand":[`此命令仅用于私聊。群关联项目请在项目设置中重新绑定。`,`This command is for private chats. Rebind the group in project settings to change its project.`],"wecom.groupNew":[`已开始新话题,请 @Tim 发送问题。`,`Started a new topic. @mention Tim with your question.`],"wecom.channelSeeAbove":[`请查看本事项上方的说明。`,`See the information above in this topic.`],"wecom.channelFailed":[`本次处理未完成,可以在本帖继续回复或到网页查看。`,`Processing did not finish. Reply in this thread or check the web app.`],"wecom.channelWaiting":[`这条消息暂未处理成功,服务正在重试;可在项目设置查看频道状态。`,`This message could not be processed yet. The service is retrying; check channel status in project settings.`],"wecom.channelRetired":[`这条测试事项已清理。请新建帖子并 @Tim 开始讨论。`,`This test topic has been cleared. Create a new post and @mention Tim to start a discussion.`],"wecom.channelHelp":[`频道中每个帖子独立讨论。新问题请新建帖子并 @Tim;已接入的事项可直接在帖下回复。/help 查看说明。/bind、/projects、/use 用于私聊或群聊,频道连接请在项目设置中管理。`,`Each channel post is a separate discussion. Create a post and @mention Tim for a new topic; reply below an existing topic to continue it. /help shows instructions. /bind, /projects and /use are for private or group chats; manage channel connections in project settings.`],"diagnostic.body":[`**{{title}}**
|
|
56
|
+
|
|
57
|
+
{{report}}诊断码:\`{{code}}\`
|
|
58
|
+
|
|
59
|
+
{{owner}}{{task}}{{operation}}{{hint}}
|
|
60
|
+
|
|
61
|
+
[查看日志原文]({{endpoint}}/file) · [下载关联运行日志]({{endpoint}}/related)
|
|
62
|
+
|
|
63
|
+
日志文件:\`{{file}}\``,`**{{title}}**
|
|
64
|
+
|
|
65
|
+
{{report}}Diagnostic code: \`{{code}}\`
|
|
66
|
+
|
|
67
|
+
{{owner}}{{task}}{{operation}}{{hint}}
|
|
68
|
+
|
|
69
|
+
[View original log]({{endpoint}}/file) · [Download related logs]({{endpoint}}/related)
|
|
70
|
+
|
|
71
|
+
Log file: \`{{file}}\``],"diagnostic.owner":[`相关成员:{{member}}
|
|
72
|
+
|
|
73
|
+
`,`Member: {{member}}
|
|
74
|
+
|
|
75
|
+
`],"diagnostic.task":[`任务 #{{id}}
|
|
76
|
+
|
|
77
|
+
`,`Task #{{id}}
|
|
78
|
+
|
|
79
|
+
`],"diagnostic.operation":[`运行记录:\`{{id}}\`
|
|
80
|
+
|
|
81
|
+
`,`Run: \`{{id}}\`
|
|
82
|
+
|
|
83
|
+
`],"wecom.completed":[`本轮工作已完成。`,`This round of work is complete.`],"wecom.openQuestion":[`查看并处理`,`View and respond`],"wecom.openSession":[`查看会话`,`View session`],"wecom.textOnly":[`目前支持文字消息,请直接发送文字。`,`Text messages are supported. Please send text directly.`],"wecom.unknownCommand":[`未识别此命令,输入 /help 查看命令列表。`,`Unknown command. Send /help for the command list.`],"wecom.bound":[`已绑定 {{member}},当前项目:{{project}}。`,`Connected as {{member}}. Current project: {{project}}.`],"wecom.bindFirst":[`请先登录 Teammy,在项目设置 → 消息与通知中获取绑定码,发送 /bind <绑定码>。`,`Sign in to Teammy, get a binding code from project Settings → Messages & notifications, then send /bind <code>.`],"wecom.projects":[`已连接项目:
|
|
84
|
+
{{projects}}
|
|
85
|
+
|
|
86
|
+
直接发送文字提问;发送 /new 开始新话题;发送 /use <项目名称或ID> 切换;引用通知回复该条消息。`,`Connected projects:
|
|
87
|
+
{{projects}}
|
|
88
|
+
|
|
89
|
+
Send a question directly; /new starts a topic; /use <project name or ID> switches project. Quote a notification to reply to it.`],"wecom.ambiguousProject":[`项目不存在或名称重复,请发送 /projects 查看已连接项目,并使用完整项目 ID 切换。`,`Project not found or name is ambiguous. Use /projects to list connections, then switch using the full project ID.`],"wecom.switched":[`已切换到 {{project}}。`,`Switched to {{project}}.`],"wecom.unknownReply":[`无法识别你可回复的这条通知,请点击原消息的项目名或网页链接,在网页中回复。`,`This notification could not be identified for reply. Open its project or web link and reply there.`],"wecom.unsubscribed":[`此项目已解除企业微信连接,请在网页回复原消息。`,`This project is disconnected from WeCom. Reply to the original message on the web.`],"wecom.subscribeFirst":[`请先在项目设置中连接企业微信,或发送 /projects 选择其他已连接项目。`,`Connect WeCom in project settings, or use /projects to choose another connected project.`],"wecom.newChat":[`已在 {{project}} 新建对话,请发送你的问题。`,`Started a conversation in {{project}}. Send your question.`],"wecom.alreadyAnswered":[`这条消息已经回复或归档,无需再次提交。`,`This message is already answered or archived. No resubmission is needed.`],"wecom.longBody":[`
|
|
90
|
+
|
|
91
|
+
……内容较长,点击项目名查看完整内容。`,`
|
|
92
|
+
|
|
93
|
+
… Open the project link to read the full content.`],"wecom.replyFooter":[`如需回复,请右键引用本消息。当前项目:`,`To reply, quote this message. Project: `],"wecom.projectFooter":[`当前项目:`,`Project: `],"wecom.failed":[`本次处理未完成,请在网页查看运行情况。`,`Processing did not finish. Check the run on the web.`],"wecom.help":[`/help — 查看全部命令
|
|
94
|
+
/new — 开始新话题,保留项目绑定
|
|
95
|
+
/bind <绑定码> — 连接个人账号或将群绑定到项目
|
|
96
|
+
/projects — 查看个人已连接的项目(仅私聊)
|
|
97
|
+
/use <项目名称或ID> — 切换个人当前项目(仅私聊)
|
|
98
|
+
|
|
99
|
+
私聊可直接提问;群内请 @Tim。通知请引用原消息回复。目前支持文字和链接。`,`/help — List commands
|
|
100
|
+
/new — Start a topic, keeping the project binding
|
|
101
|
+
/bind <code> — Connect your account or bind a group to a project
|
|
102
|
+
/projects — List your connected projects (private chat only)
|
|
103
|
+
/use <project name or ID> — Switch your current project (private chat only)
|
|
104
|
+
|
|
105
|
+
Ask directly in private chat; @mention Tim in groups. Quote notifications to reply. Text and links are supported.`]},id={"session.default":[`默认`,`Default`],"session.forwardedByTim":[`Tim 转交`,`Forwarded by Tim`],"session.commands.history":[`操作记录`,`Operation history`],"session.commands.empty":[`此会话还没有操作记录。`,`No operations in this session yet.`],"session.effort.minimal":[`极低`,`Minimal`],"session.effort.low":[`低`,`Low`],"session.effort.medium":[`中`,`Medium`],"session.effort.high":[`高`,`High`],"session.effort.xhigh":[`极高`,`Extra high`],"session.effort.max":[`最高`,`Max`],"session.effort.ultra":[`极致`,`Ultra`],"session.effort.none":[`无`,`None`],"plan.ready":[`计划已准备好,是否开始实施?`,`The plan is ready. Start implementation?`],"session.control.compact":[`上下文已压缩`,`Context compacted`],"session.control.stop":[`本轮已停止`,`This round has stopped`],"session.control.archive":[`会话已归档`,`Session archived`],"session.control.restore":[`会话已恢复`,`Session restored`],"session.settings.model":[`模型设为 {{value}}`,`Model set to {{value}}`],"session.settings.effort":[`思考强度设为 {{value}}`,`Reasoning effort set to {{value}}`],"session.settings.variant":[`模型变体设为 {{value}}`,`Model variant set to {{value}}`],"session.settings.mode":[`模式设为 {{value}}`,`Mode set to {{value}}`],"session.settings.permission":[`权限设为 {{value}}`,`Permissions set to {{value}}`],"session.settings.options":[`模型选项已更新`,`Model options updated`],"session.settings.directory":[`执行位置设为 {{value}}`,`Execution directory set to {{value}}`],"health.repository":[`参考仓库同步`,`Reference repository sync`],"health.import":[`工作区导入`,`Workspace import`],"health.tasks":[`任务看板整理`,`Task board analysis`],"health.session.handoff":[`{{title}} · 交接说明`,`{{title}} · Handoff`],"health.session.overview":[`{{title}} · 概览`,`{{title}} · Overview`],"health.materials":[`资料整理`,`Material analysis`],"health.project":[`项目分析 #{{id}}`,`Project analysis #{{id}}`],"health.chat":[`对话回复`,`Conversation reply`],"health.guidance.project":[`在原会话重试;如涉及评论、合并等外部操作,请先核对执行结果。`,`Retry in the original conversation. Check the result of external actions such as comments or merges first.`],"health.guidance.connection":[`请检查对应服务与连接,恢复后状态会自动更新。`,`Check the service and connection. The status updates automatically after recovery.`],"activity.run":[`运行 {{value}}`,`Run {{value}}`],"activity.command":[`运行命令`,`Run command`],"activity.edit":[`修改文件 {{value}}`,`Edit files {{value}}`],"activity.call":[`调用 {{value}}`,`Call {{value}}`],"activity.tool":[`工具调用`,`Tool call`],"activity.search":[`搜索 {{value}}`,`Search {{value}}`],"activity.image":[`查看图片 {{value}}`,`View image {{value}}`],"activity.collaborate":[`协作 {{value}}`,`Collaborate {{value}}`],"activity.compact":[`压缩会话上下文`,`Compact session context`],"activity.child":[`子任务 {{value}}`,`Subtask {{value}}`],"activity.subtask":[`子任务`,`Subtask`],"activity.retry":[`重试模型请求`,`Retry model request`],"activity.plan":[`更新计划进度`,`Update plan progress`],"activity.generateImage":[`生成图片`,`Generate image`],"plan.implement":[`开始实施`,`Start implementation`],"plan.bypass":[`以完全访问实施`,`Implement with full access`],"plan.revise":[`提出修改`,`Request changes`],"plan.acceptEdits":[`自动接受编辑,其他操作按需审批`,`Accept edits automatically; approve other operations as needed`],"plan.restoreAccess":[`恢复此前选择的完全访问权限`,`Restore the previously selected full access`],"plan.agentMode":[`进入 Agent 模式,保留当前审批设置`,`Switch to Agent mode, keeping current approval settings`]},ad={WORKSPACE_IMPORT_FAILED:[`工作区导入失败`,`请检查项目的工作区来源与导入状态;原文件未改动。`],MODEL_UNAVAILABLE:[`默认模型不可用`,`请在模型设置中配置或启用默认模型。`],TASK_ANALYSIS_FAILED:[`任务整理未完成`,`此前任务结果仍保留,请检查本次作业日志。`],SESSION_ANALYSIS_FAILED:[`会话库整理未完成`,`原始资料仍保留,请检查模型配置和本次作业日志。`],AI_ANALYSIS_FAILED:[`资料分析未完成`,`请检查本次作业日志。`],TASK_SOURCE_WARNING:[`任务来源关联异常`,`请检查日志中的来源路径及对应资料。`],LIFETIME_FAILED:[`后台项目分析未完成`,`本次输入已结束,后续输入将继续处理。`],CONSTANT_FAILED:[`Tim回答未完成`,`用户已在聊天窗口收到失败提示,请检查运行日志。`],INSTANT_FAILED:[`Tim回答未完成`,`用户已在聊天窗口收到失败提示,请检查运行日志。`],REPOSITORY_FAILED:[`参考仓库同步失败`,`请检查仓库连接和凭证;任务及会话库资料仍可使用。`],SANDBOX_FAILED:[`项目运行环境准备失败`,`请检查沙箱依赖、文件权限及运行日志。`],PR_OPERATION_FAILED:[`PR/MR 处理未完成`,`请核对平台当前状态、仓库权限及接口响应;未确认完成的评论或合并不能视为成功。`],DISPATCH_FAILED:[`后台调度异常`,`请检查对应组件的日志。`],REQUEST_FAILED:[`服务请求失败`,`请通过请求编号查看日志。`],LOG_EXPORT_FAILED:[`日志文件保存失败`,`日志仍保存在数据库,请检查日志目录和磁盘空间。`],LOG_STORE_UNAVAILABLE:[`诊断存储不可用`,`请检查服务端标准错误输出、数据库及磁盘状态。`],ATTEMPT_RETRY:[`本次尝试未完成,等待重试`,``],TOOL_FAILED:[`工具调用失败`,``],AGENT_REPORT:[`后台诊断补充`,`后台分析提供了补充说明,请查看日志原文。`],RUN_STARTED:[`开始执行`,``],RUN_COMPLETED:[`执行完成`,``],RUN_INTERRUPTED:[`执行中断或输入已替代`,``],RUN_RESET:[`管理员重置任务,等待重试`,``],CONDITION_RECOVERED:[`运行条件已恢复`,``]},od={WORKSPACE_IMPORT_FAILED:[`Workspace import failed`,`Check the workspace source and import status. Original files are unchanged.`],MODEL_UNAVAILABLE:[`Default model unavailable`,`Configure or enable a default model in model settings.`],TASK_ANALYSIS_FAILED:[`Task organization incomplete`,`Previous task results remain. Inspect this job’s logs.`],SESSION_ANALYSIS_FAILED:[`Session analysis incomplete`,`Original material remains. Check model configuration and this job’s logs.`],AI_ANALYSIS_FAILED:[`Material analysis incomplete`,`Inspect this job’s logs.`],TASK_SOURCE_WARNING:[`Task source association issue`,`Check source paths and materials in the logs.`],LIFETIME_FAILED:[`Background project analysis incomplete`,`This input has ended; later inputs will continue processing.`],CONSTANT_FAILED:[`Tim’s reply incomplete`,`The user received a failure notice in the conversation. Inspect run logs.`],INSTANT_FAILED:[`Tim’s reply incomplete`,`The user received a failure notice in the conversation. Inspect run logs.`],REPOSITORY_FAILED:[`Reference repository sync failed`,`Check repository connection and credentials. Tasks and session history remain available.`],SANDBOX_FAILED:[`Project runtime preparation failed`,`Check sandbox dependencies, file permissions and run logs.`],PR_OPERATION_FAILED:[`PR/MR operation incomplete`,`Check platform state, repository permissions and API responses. Unconfirmed comments or merges must not be treated as successful.`],DISPATCH_FAILED:[`Background scheduling failure`,`Inspect the affected component’s logs.`],REQUEST_FAILED:[`Service request failed`,`Find the logs using the request ID.`],LOG_EXPORT_FAILED:[`Log file could not be saved`,`Logs remain in the database. Check the log directory and disk space.`],LOG_STORE_UNAVAILABLE:[`Diagnostic storage unavailable`,`Check server stderr, database and disk status.`],ATTEMPT_RETRY:[`Attempt incomplete; waiting to retry`,``],TOOL_FAILED:[`Tool call failed`,``],AGENT_REPORT:[`Additional background diagnostic`,`Background analysis supplied details. Read the original log.`],RUN_STARTED:[`Execution started`,``],RUN_COMPLETED:[`Execution completed`,``],RUN_INTERRUPTED:[`Execution interrupted or input superseded`,``],RUN_RESET:[`Administrator reset the task; waiting to retry`,``],CONDITION_RECOVERED:[`Runtime conditions restored`,``]},sd={"guide.install":`安装客户端`,"guide.editor":`文档操作`,"guide.edit":`编辑`,"guide.preview":`预览`,"guide.view":`查看已保存指南`,"guide.markers":`代码块中可使用 {{TEAMMY_INSTALL_COMMAND}} 和 {{TEAMMY_CONNECT_COMMAND}}。文档相对链接从帮助目录起算。`,"guide.intro":`欢迎加入本项目。你可以先在网页查看工作记录、参与频道讨论,或阅读[快速开始](getting-started/onboarding.md)。`,"guide.connect":`连接开发目录`,"guide.connectHint":`需要同步工作记录或使用「电脑」时,在实际开发机器安装客户端,并在项目根目录运行接入命令。`,"guide.connectMore":`按照终端中的链接确认连接。更多说明见[安装与首次接入](getting-started/installation.md)。`,"guide.slack":`可选:连接 Slack`,"guide.slackHint":`本站点已启用 Slack。在「设置 → 消息与通知」获取绑定命令,并在 Slack 私聊发送给项目使用的 App。`,"guide.slackLink":`查看 Slack 使用说明`,"guide.repositoryLink":`查看代码仓库与评审说明`,"auth.clearSecret":`移除已保存的 Client Secret`,"auth.invalid":`账号或密码不正确。`,"auth.retryLater":`登录尝试过多,请在 15 分钟后重试。`,"auth.tokenRequired":`请填写服务启动日志中的初始化凭据。`,"auth.expired":`邀请已过期或已使用,请联系管理员重新生成。`,"auth.httpsRequired":`身份服务地址必须使用 HTTPS。`,"auth.configRequired":`请填写身份服务地址和 Client ID。`,"git.scopeChanged":`代码平台配置已更改,请刷新后再关联。`,"git.conflict":`账号已有关联,请先解除旧关联。`,"git.lookupFailed":`无法验证平台账号,请检查用户名、权限和 API 地址。`,"git.review":`代码评审平台`,"git.none":`不启用`,"git.gitlabRepository":`GitLab 项目`,"git.gitlabToken":`使用可访问该项目且具备 api 权限的个人或项目访问令牌;合并还需满足项目角色与分支保护要求。`,"git.gitlabWebhook":`在 GitLab 的 Settings → Webhooks 中填写此地址和相同的 Secret token,订阅 Merge request events 与 Comments。先保存并检查仓库;请保留 SSL 验证。`,"git.gitlabSshTitle":`复制到 GitLab 项目的 Deploy keys 中`,"git.gitlabSsh":`使用 SSH 仓库地址时,将公钥添加到 GitLab 项目的「Settings → Repository → Deploy keys」,只读权限即可。`,"git.transport":`HTTPS 仓库凭据`,"git.transportUsername":`HTTPS 用户名`,"git.transportToken":`仓库访问令牌`,"git.transportHint":`用于读取代码仓库。未单独配置且已启用评审时,沿用评审令牌;SSH 使用下方密钥。`,"git.identities":`代码平台账号关联`,"git.identityHint":`验证平台账号并关联到项目成员;提醒使用平台稳定 ID,账号改名不会影响关联。同一平台实例的关联在各项目间复用。`,"git.legacy":`兼容旧账号同名匹配`,"git.legacyHint":`当前保留旧版的同名匹配。完成账号关联后可关闭,之后仅使用明确关联。`,"git.unlink":`解除账号关联`,"git.member":`Teammy 成员`,"git.chooseMember":`选择成员`,"git.username":`平台用户名`,"git.link":`验证并关联`,"guide.notes":`项目接入指南`,"guide.notesHint":`新成员首次进入时打开帮助中的这篇文档。支持 Markdown,留空使用默认指引。`,"guide.wecom":`可选:连接企业微信`,"guide.wecomHint":`本站点已启用企业微信。在「设置 → 消息与通知」获取绑定命令,再发送给管理员提供的 Tim 机器人。网页协作不要求完成此步骤。`,"guide.wecomLink":`查看绑定与使用说明`,"guide.repository":`项目代码仓库`,"guide.repositoryHint":`本项目已连接代码仓库,可以向 Tim 询问代码与评审。需要接收作者提醒时,请管理员关联代码平台账号。`,"model.provider":`服务提供商`,"model.custom":`自定义兼容接口`,"model.advanced":`模型能力与协议`,"model.context":`上下文容量(Token)`,"model.contextHint":`填写模型支持的上下文容量,项目默认继承此值。`,"model.output":`输出容量(Token)`,"model.outputHint":`留空由提供商决定。`,"model.anthropicOutputHint":`Anthropic 要求此参数;留空使用 8192。`,"model.outputPolicy":`输出参数`,"model.standard":`按标准协议`,"model.gateway":`由网关处理(省略参数)`,"model.outputField":`Chat Completions 参数名`,"model.inherit":`继承模型上下文容量`,"model.inheritHint":`按所选模型调整上下文与自动压缩阈值。`,"deploy.status":`服务运行`,"deploy.ready":`网页与自动化已就绪`,"deploy.webReady":`网页已就绪,自动化尚未完全配置`,"deploy.readyLabel":`就绪`,"deploy.waiting":`待就绪`,"deploy.state":`Worker:{{worker}} · 沙箱:{{sandbox}} · 默认模型:{{model}}`,"deploy.hint":`启动同一数据目录下的 Worker,并配置默认模型。管理员可在服务器运行 teammy-server doctor 查看系统条件。`,"auth.loginHint":`使用你的账号和密码登录。`,"auth.password":`密码`,"auth.passwordHint":`至少 12 个字符。`,"auth.setupToken":`初始化凭据`,"auth.setupTokenHint":`从服务启动日志或数据目录中的 setup-token 文件获取。`,"auth.sso":`使用 {{name}} 登录`,"auth.notLinked":`此账号尚未关联。请通过邀请链接加入,或先用密码登录后绑定。`,"auth.ssoFailed":`登录未完成,请重试或联系管理员检查单点登录配置。`,"auth.accept":`加入 Teammy`,"auth.acceptHint":`设置登录密码,也可使用站点已开启的单点登录。邀请链接仅能使用一次。`,"auth.settingsHint":`成员使用密码或已关联的单点登录账号登录。可在账号管理中生成邀请或重置链接。`,"auth.externalMode":`当前登录方式由部署配置管理。`,"auth.oidc":`单点登录(OIDC)`,"auth.oidcHint":`连接公司的身份服务。已有成员登录后自行关联,新成员通过邀请关联。`,"auth.connectionName":`登录入口名称`,"auth.issuer":`身份服务地址(Issuer)`,"auth.secretHint":`留空保留当前凭据;更换 Issuer 或 Client ID 时清除旧凭据。公共客户端可不配置。`,"auth.configured":`已配置`,"auth.callback":`回调地址`,"auth.save":`保存`,"auth.check":`检查连接`,"auth.checked":`发现配置可用;完整登录仍需由成员实际验证。`,"auth.account":`登录与安全`,"auth.linked":`已关联此身份服务。`,"auth.linkHint":`验证你的外部账号后,便可用于登录。`,"auth.link":`关联账号`,"auth.currentPassword":`当前密码`,"auth.newPassword":`新密码`,"auth.changePassword":`更新密码`,"auth.invite":`邀请或重置登录`,"auth.inviteHint":`将此链接交给 {{member}}。24 小时内有效,使用后失效;生成新链接会替换旧链接。`,"auth.inviteLink":`邀请链接`,"auth.copy":`复制链接`,"auth.authentication":`身份与访问`,"language.interface":`界面语言`,"language.interfaceHint":`用于你的界面和操作提示。`,"language.system":`跟随浏览器`,"language.workflow":`Agent 工作语言`,"language.workflowHint":`用于后续 Agent 工作的说明和默认输出。原始消息与资料保留原文。`,"language.conflict":`语言设置已更新,请刷新后重试。`,"language.saveFailed":`语言设置未保存,请重试。`,"notification.completion":`工作已完成`,"notification.question":`有问题等待回答`,"notification.approval":`权限申请等待审批`,"notification.plan":`计划等待确认`,"notification.questions_other":`有 {{count}} 个问题等待确认`,"notification.questions_one":`有 {{count}} 个问题等待确认`,"session.pendingQuestions_other":`有 {{count}} 个问题等待你的确认`,"session.pendingQuestions_one":`有 {{count}} 个问题等待你的确认`,"notification.withPreview":`{{label}}。{{preview}}`,"common.yes":`是`,"common.no":`否`,"common.confirm":`确认`,"common.cancel":`取消`,"common.allow":`允许`,"common.deny":`拒绝`,"common.withDetail":`{{label}}:{{detail}}`,"common.parenthesized":`({{text}})`,"common.sentence":`{{text}}。`,"request.replyRecorded":`回复已记录。`},cd={"guide.install":`Install the client`,"guide.editor":`Document actions`,"guide.edit":`Edit`,"guide.preview":`Preview`,"guide.view":`View saved guide`,"guide.markers":`Use {{TEAMMY_INSTALL_COMMAND}} and {{TEAMMY_CONNECT_COMMAND}} inside code blocks. Relative document links start at the help root.`,"guide.intro":`Welcome to this project. Browse work records, join channel discussions, or read the [Quick start](getting-started/onboarding.md).`,"guide.connect":`Connect a development directory`,"guide.connectHint":`To sync work records or use Computers, install the client on your development machine and run the connection command from your project root.`,"guide.connectMore":`Follow the terminal link to confirm the connection. See [Installation and first connection](getting-started/installation.md) for details.`,"guide.slack":`Optional: connect Slack`,"guide.slackHint":`This site has Slack enabled. Get a binding command in Settings → Messages and notifications, then send it to the project app in a Slack direct message.`,"guide.slackLink":`Read the Slack guide`,"guide.repositoryLink":`Read about repositories and reviews`,"auth.clearSecret":`Remove saved Client Secret`,"auth.invalid":`Account or password is incorrect.`,"auth.retryLater":`Too many sign-in attempts. Try again in 15 minutes.`,"auth.tokenRequired":`Enter the initialization token from the server startup log.`,"auth.expired":`This invitation has expired or has been used. Ask an administrator for a new link.`,"auth.httpsRequired":`The identity provider must use HTTPS.`,"auth.configRequired":`Enter the identity provider issuer and Client ID.`,"git.scopeChanged":`The code platform configuration changed. Reload before linking an account.`,"git.conflict":`This account is already linked. Remove the old link first.`,"git.lookupFailed":`Could not verify the platform account. Check the username, permissions and API URL.`,"git.review":`Code review platform`,"git.none":`Disabled`,"git.gitlabRepository":`GitLab project`,"git.gitlabToken":`Use a personal or project access token with api scope and project access. Merging also requires the appropriate role and branch permissions.`,"git.gitlabWebhook":`In GitLab Settings → Webhooks, use this URL and the same Secret token. Subscribe to Merge request events and Comments. Save and check the repository first; keep SSL verification enabled.`,"git.gitlabSshTitle":`Add to the GitLab project’s deploy keys`,"git.gitlabSsh":`For SSH repositories, add the public key in GitLab under Settings → Repository → Deploy keys. Read-only access is sufficient.`,"git.transport":`HTTPS repository credentials`,"git.transportUsername":`HTTPS username`,"git.transportToken":`Repository access token`,"git.transportHint":`Used for repository access. When review integration is enabled, its token is reused if no separate token is provided. SSH uses the key below.`,"git.identities":`Code platform accounts`,"git.identityHint":`Verify a platform account and link it to a member. Notifications use stable IDs, so renaming an account preserves the link. Links are shared across projects on the same platform instance.`,"git.legacy":`Legacy username matching`,"git.legacyHint":`Legacy username matching is retained. After linking accounts, disable it to use explicit links only.`,"git.unlink":`Unlink account`,"git.member":`Teammy member`,"git.chooseMember":`Select a member`,"git.username":`Platform username`,"git.link":`Verify and link`,"guide.notes":`Project welcome guide`,"guide.notesHint":`Opened as the first Help document when members join this project. Supports Markdown; leave blank to use the default guide.`,"guide.wecom":`Optional: connect WeCom`,"guide.wecomHint":`This site has WeCom enabled. Get a binding command in Settings → Messages & notifications and send it to the Tim bot provided by your administrator. Web collaboration works without this connection.`,"guide.wecomLink":`View connection instructions`,"guide.repository":`Project repository`,"guide.repositoryHint":`This project has a connected repository. Ask Tim about code and reviews; ask an administrator to link your code-platform account for author notifications.`,"model.provider":`Provider`,"model.custom":`Custom compatible endpoint`,"model.advanced":`Model capacity and protocol`,"model.context":`Context capacity (tokens)`,"model.contextHint":`Enter the model context capacity. Projects inherit this value by default.`,"model.output":`Output capacity (tokens)`,"model.outputHint":`Leave blank to let the provider decide.`,"model.anthropicOutputHint":`Anthropic requires this parameter; defaults to 8192 when blank.`,"model.outputPolicy":`Output parameters`,"model.standard":`Standard protocol`,"model.gateway":`Gateway-managed (omit parameters)`,"model.outputField":`Chat Completions parameter`,"model.inherit":`Inherit model context capacity`,"model.inheritHint":`Use the selected model capacity to determine the context and compaction threshold.`,"deploy.status":`Service status`,"deploy.ready":`Web and automation are ready`,"deploy.webReady":`Web is ready; automation setup is incomplete`,"deploy.readyLabel":`Ready`,"deploy.waiting":`Not ready`,"deploy.state":`Worker: {{worker}} · Sandbox: {{sandbox}} · Default model: {{model}}`,"deploy.hint":`Start a Worker using the same data directory and configure a default model. Run teammy-server doctor on the server to check system requirements.`,"auth.loginHint":`Sign in with your account and password.`,"auth.password":`Password`,"auth.passwordHint":`Use at least 12 characters.`,"auth.setupToken":`Initialization token`,"auth.setupTokenHint":`Find this in the server startup log or the setup-token file in its data directory.`,"auth.sso":`Sign in with {{name}}`,"auth.notLinked":`This identity is not linked. Use your invitation, or sign in with a password to link it.`,"auth.ssoFailed":`Sign-in failed. Try again or ask your administrator to check the SSO settings.`,"auth.accept":`Join Teammy`,"auth.acceptHint":`Set your password, or use the configured single sign-on provider. Invitations can be used once.`,"auth.settingsHint":`Members sign in with a password or a linked SSO identity. Generate invitations or reset links in account management.`,"auth.externalMode":`Authentication is managed by this deployment.`,"auth.oidc":`Single sign-on (OIDC)`,"auth.oidcHint":`Connect your identity provider. Existing members link after signing in; new members link through an invitation.`,"auth.connectionName":`Sign-in name`,"auth.issuer":`Identity provider (Issuer)`,"auth.secretHint":`Leave blank to keep the current secret. Changing Issuer or Client ID clears it. Public clients can omit it.`,"auth.configured":`Configured`,"auth.callback":`Callback URL`,"auth.save":`Save`,"auth.check":`Check connection`,"auth.checked":`Discovery is available. A member sign-in is required to verify the complete flow.`,"auth.account":`Sign-in and security`,"auth.linked":`This identity provider is linked.`,"auth.linkHint":`Verify your external account to use it for sign-in.`,"auth.link":`Link account`,"auth.currentPassword":`Current password`,"auth.newPassword":`New password`,"auth.changePassword":`Change password`,"auth.invite":`Invite or reset sign-in`,"auth.inviteHint":`Share this link with {{member}}. It expires in 24 hours and can be used once. Generating a new link replaces the previous one.`,"auth.inviteLink":`Invitation link`,"auth.copy":`Copy link`,"auth.authentication":`Identity and access`,"language.interface":`Interface language`,"language.interfaceHint":`Used for your interface and controls.`,"language.system":`Browser default`,"language.workflow":`Agent working language`,"language.workflowHint":`Used for instructions and default output in subsequent Agent work. Original messages and materials are preserved.`,"language.conflict":`Language settings have changed. Refresh and try again.`,"language.saveFailed":`Language settings could not be saved. Please try again.`,"notification.completion":`Work completed`,"notification.question":`A question needs your answer`,"notification.approval":`Permission requested`,"notification.plan":`A plan needs your confirmation`,"notification.questions_one":`{{count}} question needs your confirmation`,"notification.questions_other":`{{count}} questions need your confirmation`,"session.pendingQuestions_one":`{{count}} question needs your confirmation`,"session.pendingQuestions_other":`{{count}} questions need your confirmation`,"notification.withPreview":`{{label}}. {{preview}}`,"common.yes":`Yes`,"common.no":`No`,"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.allow":`Allow`,"common.deny":`Deny`,"common.withDetail":`{{label}}: {{detail}}`,"common.parenthesized":`({{text}})`,"common.sentence":`{{text}}.`,"request.replyRecorded":`Your reply has been recorded.`},ld={"slack.setupHint":`将自建 Slack App 连接到本站,支持项目频道、消息线程与私聊。`,"slack.enable":`启用 Slack`,"slack.connectionMode":`连接方式`,"slack.httpMode":`HTTPS 回调`,"slack.modeHint":`无法提供公网回调地址时,可使用 Socket Mode,由服务器主动连接 Slack。`,"slack.socketHint":`在 Slack App 中启用 Socket Mode,并创建具有 connections:write 权限的 App-Level Token。仍需订阅消息事件,无需配置 Request URL。`,"slack.workspace":`Slack 工作区:{{team}}`,"slack.notConfigured":`尚未配置 Slack`,"slack.save":`保存`,"slack.eventsHint":`在 Slack App 中启用 Events API,订阅 app_mention、message.channels、message.groups 和 message.im,并允许用户向 App 发送私聊。`,"slack.deliveryIssues":`需要核对的投递`,"slack.retryHint":`请先在 Slack 核对是否已收到;重试可能再次发送同一条消息。`,"slack.retry":`核对后重试`,"slack.connected":`已绑定`,"slack.disconnected":`未绑定`,"slack.personalHint":`使用一次性绑定码关联本人 Slack 账号。连接后可私聊 Tim,并按下方偏好接收通知。`,"slack.disconnect":`解除绑定`,"slack.connect":`连接`,"slack.dmProject":`私聊使用的项目`,"slack.dmProjectHint":`当前私聊使用其他项目;切换只影响新的私聊,已有线程继续对应原请求。`,"slack.useProject":`使用本项目`,"slack.codeHint":`将下面的命令私聊发送给 Slack App,绑定码十分钟内有效。`,"slack.bindCommand":`Slack 绑定命令`,"slack.newCode":`生成新绑定码`,"slack.projectChannel":`Slack 项目频道`,"slack.channelConnection":`频道连接`,"slack.channelHint":`先邀请 App 加入频道。连接后,新帖子及回复同步到 Slack 线程;@Tim 可发起处理,已有线程内的普通回复同步为讨论。`,"slack.chooseChannel":`选择频道`,"slack.noChannel":`未连接`,"slack.privateChannel":`私有频道`,"slack.webAndSlack":`网页 + Slack`,"slack.allDestinations":`网页 + 企微 + Slack`,"slack.copyHint":` 同时通过 Slack 私聊发送。`,"slack.integrations":`外部消息`,"web.labels.1":`主导航`,"web.labels.2":`文件预览`,"web.labels.3":`选择目录版本`,"web.labels.4":`连接命令`,"web.labels.5":`开启同步命令`,"web.labels.6":`停止同步命令`,"web.labels.7":`安装命令`,"web.labels.8":`跳到主要内容`,"web.labels.9":`正在加载…`,"web.labels.10":`重试`,"web.labels.11":`刷新`,"web.labels.12":`取消`,"web.labels.13":`关闭`,"web.labels.14":`保存`,"web.labels.15":`正在保存…`,"web.labels.16":`下一步`,"web.labels.17":`上一步`,"web.labels.18":`确认`,"web.labels.19":`退出登录`,"web.labels.20":`导航菜单`,"web.labels.21":`工作区`,"web.labels.22":`工作看板`,"web.labels.23":`会话库`,"web.labels.24":`成员`,"web.labels.25":`设置`,"web.labels.26":`个人账户`,"web.labels.27":`项目`,"web.labels.28":`项目名称`,"web.labels.29":`项目说明`,"web.labels.30":`团队接入地址`,"web.labels.31":`填写成员设备能够访问的服务地址。`,"web.labels.32":`管理员 ID`,"web.labels.33":`成员 ID`,"web.labels.34":`以小写字母开头,最多 64 位,可包含数字、短横线或下划线。ID 创建后不可修改。`,"web.labels.35":`显示名称`,"web.labels.36":`管理员`,"web.labels.37":`已启用`,"web.labels.38":`已停用`,"web.labels.39":`进入工作台`,"web.labels.40":`连接你的团队`,"web.labels.41":`输入管理员预先建立的成员 ID。`,"web.labels.42":`接入已有工作区`,"web.labels.43":`请选择`,"web.labels.44":`文件检查间隔(秒)`,"web.labels.45":`文件稳定等待(秒)`,"web.labels.46":`文件停止修改后开始计时。新设置约 30 秒后下发,当前批次结束后生效。`,"web.labels.47":`共享范围`,"web.labels.48":`文件所属成员`,"web.labels.49":`该目录版本暂无文件`,"web.labels.50":`运行客户端同步后查看。`,"web.labels.51":`选择文件,查看内容`,"web.labels.52":`加载更多`,"web.labels.53":`文件路径`,"web.labels.54":`大小`,"web.labels.55":`版本`,"web.labels.56":`目录版本`,"web.labels.57":`最新版本`,"web.labels.58":`查看版本`,"web.labels.59":`下载原文件`,"web.labels.60":`原文`,"web.labels.61":`预览`,"web.labels.62":`该文件不支持文本预览,请下载查看。`,"web.labels.63":`文件超过 512 KiB,请下载查看完整内容。`,"web.labels.64":`只读`,"web.labels.65":`刷新目录`,"web.labels.66":`图片`,"web.labels.67":`添加成员`,"web.labels.68":`修改名称`,"web.labels.69":`停用成员`,"web.labels.70":`启用成员`,"web.labels.71":`重置设备`,"web.labels.72":`撤销该成员的设备凭证,保留共享文件与历史。成员需要重新运行 connect --reconnect。`,"web.labels.73":`停止该成员访问和同步本项目,保留历史资料。其他项目不受影响。`,"web.labels.74":`恢复本项目访问权限。设备需要重新接入。`,"web.labels.75":`设备已绑定`,"web.labels.76":`尚未绑定设备`,"web.labels.77":`尚无状态报告`,"web.labels.78":`最近联系`,"web.labels.79":`最近发布`,"web.labels.80":`尚未发布文件`,"web.labels.81":`报告已超过 2 分钟`,"web.labels.82":`已应用`,"web.labels.83":`等待应用`,"web.labels.84":`应用失败`,"web.labels.85":`已接收`,"web.labels.86":`服务端已保存`,"web.labels.87":`含命令行覆盖`,"web.labels.88":`当前有效策略`,"web.labels.89":`最近同步`,"web.labels.90":`待发文件`,"web.labels.91":`客户端版本`,"web.labels.92":`同步提示`,"web.labels.93":`最近上报状态,非实时在线状态。`,"web.labels.94":`连接项目目录`,"web.labels.95":`在工作目录(例如 my-project/)运行以下命令,并在打开的网页中确认用户 ID,将当前工作目录连接到 Teammy 服务:`,"web.labels.96":`注意:会话采集以工作目录为范围,只采集该目录及其子目录中的 Agent 会话。因此,建议在项目根目录(例如 my-project/)执行此命令。`,"web.labels.97":`首次使用`,"web.labels.98":`需要 Node.js 22.19+。安装后按上方说明连接项目。`,"web.labels.99":`复制`,"web.labels.100":`已复制`,"web.labels.101":`复制失败,请手动选择命令。`,"web.labels.102":`设置已保存,等待客户端接收并上报。`,"web.labels.103":`读取最新设置`,"web.labels.104":`设置已被其他成员修改。先读取最新设置,再重新编辑。`,"web.labels.105":`公共设置由管理员维护。`,"web.labels.106":`配置应用情况`,"web.labels.107":`服务端版本`,"web.labels.108":`未上报`,"web.labels.109":`秒`,"web.labels.110":`请选择模型,或先设置默认接入点。`,"web.labels.111":`该模型接入点已停用,请重新选择。`,"web.labels.112":`模型设置已更新,请重新载入后保存。`,"web.labels.113":`此操作需要站点管理员身份。`,"web.labels.114":`用户尚未建立或账号已停用,请联系站点管理员。`,"web.labels.115":`该用户 ID 已存在。`,"web.labels.116":`项目不存在或你已不再是该项目成员。`,"web.labels.117":`请选择一个项目。`,"web.labels.118":`设备凭证属于其他项目。`,"web.labels.119":`成员 ID 不存在或已被停用。`,"web.labels.120":`登录已失效,请重新登录。`,"web.labels.121":`此操作需要管理员身份。`,"web.labels.122":`设置已变更,请读取最新设置后重试。`,"web.labels.123":`成员信息已变更,请刷新后重试。`,"web.labels.124":`至少需要保留一位启用的管理员。`,"web.labels.125":`该成员 ID 已存在。`,"web.labels.126":`服务已初始化,请刷新页面进入登录。`,"web.labels.127":`请检查输入内容和数值范围。`,"web.labels.128":`服务返回了无法识别的响应,请刷新后重试。`,"web.labels.129":`服务网关未能转发请求,请检查部署配置。`,"web.labels.130":`没有执行此操作的权限。`,"web.labels.131":`该目录版本不存在。`,"web.labels.132":`未命名对话`,"web.terminals.1":`终端连接已断开,输入未发送。`,"web.terminals.2":`暂未收到结果,请检查连接;操作不会自动重发。`,"web.Memory.1":`项目记忆`,"web.Memory.2":`记忆`,"web.Memory.3":`新增记忆`,"web.Memory.4":`加载中…`,"web.Memory.5":`暂无记忆`,"web.Memory.6":`已保留`,"web.Memory.7":`待确认`,"web.Memory.8":`记忆内容`,"web.Memory.9":`编辑记忆:{{p0}}`,"web.Memory.10":`请填写记忆内容。`,"web.Memory.11":`保留记忆`,"web.Memory.12":`保存记忆`,"web.Memory.13":`取消新增`,"web.Memory.14":`舍弃记忆`,"web.Memory.15":`删除记忆`,"web.ResourceLibrary.1":`资料目录`,"web.ResourceLibrary.2":`资料`,"web.ResourceLibrary.3":`项目资料`,"web.Materials.1":`当前资料`,"web.Materials.2":`新增资料`,"web.Materials.3":`暂无资料`,"web.Materials.4":`搜索结果`,"web.Materials.5":`资料预览`,"web.Materials.6":`资料内容与搜索`,"web.Materials.7":`查看最新内容`,"web.Materials.8":`正在整理…`,"web.Materials.9":`重试整理`,"web.Materials.10":`正文尚未整理,可以先查看左侧原件。`,"web.Materials.11":`选择资料开始阅读`,"web.Materials.12":`也可以在下方搜索资料内容。`,"web.Materials.13":`清除搜索范围`,"web.Materials.14":`清除范围:{{p0}}`,"web.Materials.15":`搜索:`,"web.Materials.16":`搜索资料`,"web.Materials.17":`搜索资料内容`,"web.Materials.18":`清空搜索`,"web.Materials.19":`搜索`,"web.Materials.20":`正在搜索…`,"web.Materials.21":`没有找到匹配的资料`,"web.Materials.22":`下一页`,"web.Materials.23":`原件暂时无法读取。`,"web.Materials.24":`资料原件`,"web.Materials.25":`找不到此原件。`,"web.Materials.26":`切换为预览`,"web.Materials.27":`切换为原文`,"web.Materials.28":`下载原件`,"web.Materials.29":`此格式请下载后查看。`,"web.Materials.30":`文本`,"web.Materials.31":`第 {{p0}} 项上传失败。`,"web.Materials.32":`上传附件到项目,以便于Tim进行理解`,"web.Materials.33":`编辑:{{p0}}`,"web.Materials.34":`移除:{{p0}}`,"web.Materials.35":`添加文本/链接`,"web.Materials.36":`添加文件`,"web.Materials.37":`原始文件`,"web.Materials.38":`上传中…`,"web.Materials.39":`提交资料`,"web.Materials.40":`文本或链接`,"web.Materials.41":`粘贴文本或网页链接`,"web.Materials.42":`添加`,"web.ClientConnect.1":`身份已确认`,"web.ClientConnect.2":`连接工作目录`,"web.ClientConnect.3":`请返回终端继续连接。`,"web.ClientConnect.4":`使用 `,"web.ClientConnect.5":`连接此项目。`,"web.ClientConnect.6":`正在确认…`,"web.ClientConnect.7":`确认连接`,"web.ClientConnect.8":`更换用户`,"web.Help.1":`帮助`,"web.Help.2":`帮助目录`,"web.Help.3":`帮助文档`,"web.Help.4":`帮助内容`,"web.Help.5":`暂时无法获取最新版客户端版本,如出现问题,请安装更新到最新版。`,"web.Help.6":`正在查询最新版客户端版本…`,"web.Help.7":`未找到这篇帮助文档`,"web.Help.8":`返回`,"web.Computers.1":`空闲`,"web.Computers.2":`工作中`,"web.Computers.3":`等待回答`,"web.Computers.4":`等待执行`,"web.Computers.5":`需要核对`,"web.Computers.6":`人工处理`,"web.Computers.7":`待本地接收`,"web.Computers.8":`本地已接手`,"web.Computers.9":`未送达本地`,"web.Computers.10":`待投递`,"web.Computers.11":`已发送`,"web.Computers.12":`已完成`,"web.Computers.13":`进行中`,"web.Computers.14":`失败`,"web.Computers.15":`待回答`,"web.Computers.16":`待授权`,"web.Computers.17":`完成`,"web.Computers.18":`本地会话`,"web.Computers.19":`电脑`,"web.Computers.20":`目录与会话`,"web.Computers.21":`新建会话:{{p0}}`,"web.Computers.22":`已退出`,"web.Computers.23":`取消自动接单`,"web.Computers.24":`开启自动接单`,"web.Computers.25":`已归档`,"web.Computers.26":`新建会话`,"web.Computers.27":`执行目录`,"web.Computers.28":`目录:`,"web.Computers.29":`会话名称`,"web.Computers.30":`会话类型`,"web.Computers.31":`在此目录启动本机 Shell,使用本机用户权限。`,"web.Computers.32":`导入历史会话`,"web.Computers.33":`接入目录`,"web.Computers.34":`创建`,"web.Computers.35":`正在打开终端…`,"web.Computers.36":`终端`,"web.Computers.37":`终端已结束或电脑已重启,请新建终端。`,"web.Computers.38":`正在连接终端…`,"web.Computers.39":`会话操作`,"web.Computers.40":`隐藏会话`,"web.Computers.41":`连接专用群`,"web.Computers.42":`执行位置`,"web.Computers.43":`升级客户端后可使用多个会话和网页对话。`,"web.Computers.44":`本地会话记录`,"web.Computers.45":`加载更早消息`,"web.Computers.46":`已接入原生会话,发送消息继续。`,"web.Computers.47":`在当前目录开始一段对话。`,"web.Computers.48":`停止`,"web.Computers.49":`有 `,"web.Computers.50":` 个问题等待你的确认`,"web.Computers.51":`向本地 Agent 发送消息`,"web.Computers.52":`中断并发送`,"web.Computers.53":`加入队列`,"web.Computers.54":`插话`,"web.Computers.55":`发送`,"web.Computers.56":`会话已归档`,"web.Computers.57":`输入消息…`,"web.Computers.58":`当前模型将通过本地文件路径接收图片。`,"web.Computers.59":`更新开发机客户端后可添加附件`,"web.Computers.60":`尚未登记本地执行目录。`,"web.Members.1":`成员操作`,"web.Members.2":`刷新成员`,"web.Members.3":` · 企微待绑定`,"web.Members.4":`解除文件夹绑定`,"web.Members.5":`退出项目`,"web.Files.1":`文件链接不完整或目标已不可用。`,"web.Files.2":`找不到这个文件,可能已被删除或移动。`,"web.Files.3":`该链接超出工作区,请在原仓库查看。`,"web.Files.4":`配置文件不在文件浏览中显示。`,"web.Files.5":`文件资源管理器`,"web.Files.6":`刷新文件`,"web.Files.7":`查看工作区文件`,"web.Files.8":`文件操作`,"web.Files.9":`已复制路径`,"web.Files.10":`复制工作区相对路径`,"web.Files.11":`未能复制文件路径,请重试。`,"web.Assistant.1":`无标题`,"web.Assistant.2":`运行提醒`,"web.Assistant.3":`项目消息`,"web.Assistant.4":`对话连接中断,正在重新连接…`,"web.Assistant.5":`Tim对话`,"web.Assistant.6":`消息内容`,"web.Assistant.7":`频道`,"web.Assistant.8":`对话`,"web.Assistant.9":`清除未读`,"web.Assistant.10":`发表话题`,"web.Assistant.11":`新建对话`,"web.Assistant.12":`正文`,"web.Assistant.13":`开始一个话题…`,"web.Assistant.14":`标题`,"web.Assistant.15":`项目共享 · `,"web.Assistant.16":`发布到企业微信频道`,"web.Assistant.17":`待确认 · {{p0}}:{{p1}}`,"web.Assistant.18":`暂时无法加载对话`,"web.Assistant.19":`正在回答`,"web.Assistant.20":`本次回答未完成。`,"web.Assistant.21":`有什么项目问题想聊聊?`,"web.Assistant.22":`向Tim提问`,"web.Assistant.23":`回复消息`,"web.Assistant.24":`回复`,"web.Access.1":`工作有条理,团队用 Teammy`,"web.Access.2":`使用公司账号登录。`,"web.Access.3":`创建管理员`,"web.Access.4":`欢迎使用 Teammy`,"web.Access.5":`创建管理员,开始管理项目与成员。`,"web.Access.6":`存储已连接`,"web.Access.7":`后台运行中`,"web.Access.8":`后台尚未就绪`,"web.Access.9":`隔离环境可用`,"web.Access.10":`隔离环境检查失败`,"web.Access.11":`隔离环境检查中`,"web.SiteSettings.1":`通用`,"web.SiteSettings.2":`接入点`,"web.SiteSettings.3":`用户`,"web.SiteSettings.4":`企业微信`,"web.SiteSettings.5":`同步与后台任务设置由站点管理员维护。`,"web.SiteSettings.6":`默认接入点`,"web.SiteSettings.7":`全站默认`,"web.Sessions.1":`搜索对话:{{p0}}`,"web.Sessions.2":`搜索当前对话`,"web.Sessions.3":`搜索:{{p0}} 的对话内容`,"web.Sessions.4":`对话内容与搜索`,"web.Sessions.5":`刷新{{p0}}`,"web.Sessions.6":`选择对话开始阅读`,"web.Sessions.7":`也可以在下方搜索会话库内容。`,"web.Sessions.8":`搜索对话`,"web.Sessions.9":`搜索会话库内容`,"web.Sessions.10":`交接说明`,"web.Sessions.11":`助手`,"web.Sessions.12":`没有找到匹配的对话`,"web.Sessions.13":`返回第一页`,"web.Sessions.14":`找不到这条对话或引用的版本,原链接可能已失效。`,"web.Sessions.15":`正在读取对话…`,"web.Sessions.16":` 条消息`,"web.Sessions.17":`· 引用版本 `,"web.Sessions.18":`查看最新`,"web.Sessions.19":`摘要待更新`,"web.Sessions.20":`该版本中找不到引用的消息,已打开对话原文。`,"web.Projects.1":`我的项目`,"web.Projects.2":`项目操作`,"web.Projects.3":`刷新项目`,"web.Projects.4":`新建项目`,"web.Projects.5":`还没有项目`,"web.Projects.6":`创建第一个项目,开始协作。`,"web.Projects.7":`请项目成员添加你的 ID。`,"web.Projects.8":`说明`,"web.Projects.9":`已有工作区(可选)`,"web.Projects.10":`填写服务器或容器内的 teamcontext 绝对路径。Git 仓库可在创建后到项目设置中连接。`,"web.Projects.11":`创建项目`,"web.Settings.1":`项目信息`,"web.Settings.2":`项目群与频道`,"web.Settings.3":`设备与本地 Agent`,"web.Settings.4":`消息与通知`,"web.Settings.5":`仓库与工作区`,"web.Settings.6":`Agent 运行设置`,"web.Settings.7":`运行状态`,"web.Settings.8":`{{p0}} · 设置`,"web.Settings.9":`项目文件夹绑定`,"web.Settings.10":`{{p0}} 已下载,等待会话空闲`,"web.Settings.11":`自动更新客户端`,"web.Settings.12":`自动更新客户端 · {{p0}}`,"web.Settings.13":`尚未连接设备。连接后可同步项目文件并采集 Agent 会话。`,"web.Settings.14":`连接客户端`,"web.Settings.15":`安装客户端后,在项目目录运行连接命令。`,"web.Settings.16":`Agent 接入`,"web.Settings.17":`项目查询`,"web.Settings.18":`为 Agent 提供项目资料查询工具。`,"web.Settings.19":`下载查询 skill`,"web.session-links.1":`对话链接不完整或已损坏。`,"web.MemberAction.1":`仅用于当前项目。`,"web.MemberAction.2":`退出后停止同步该项目,已经共享的资料会保留。`,"web.MemberAction.3":`设备`,"web.MemberAction.4":`选择设备`,"web.MemberAction.5":`解除 `,"web.MemberAction.6":` 在`,"web.MemberAction.7":`所选设备`,"web.MemberAction.8":`上的项目连接。`,"web.MemberAction.9":`本地文件、项目资料和历史保留。已运行的本地 Agent 不会被远程停止;请在原目录关闭同步与会话采集。`,"web.MemberAction.10":`解除绑定`,"web.SettingsTabs.1":`设置分类`,"web.ComputerUserMessage.1":`你`,"web.ComputerUserMessage.2":`编辑历史消息`,"web.ComputerUserMessage.3":`替换此后的对话,保留工作区文件`,"web.ComputerUserMessage.4":`取消编辑`,"web.ComputerUserMessage.5":`正在回退`,"web.ComputerUserMessage.6":`从此处继续`,"web.ComputerUserMessage.7":`复制消息`,"web.ComputerUserMessage.8":`编辑并从此处继续`,"web.QueuedMessage.1":`排队中`,"web.QueuedMessage.2":`正在连接`,"web.QueuedMessage.3":`执行中`,"web.QueuedMessage.4":`已撤回`,"web.QueuedMessage.5":`已停止`,"web.QueuedMessage.6":`未能执行`,"web.SessionTree.1":`成员对话`,"web.AiProfiles.1":`模型接入`,"web.AiProfiles.2":`模型操作`,"web.AiProfiles.3":`刷新模型设置`,"web.AiProfiles.4":`添加模型`,"web.AiProfiles.5":`尚未配置模型。`,"web.AiProfiles.6":`配置 {{p0}}`,"web.AiProfiles.7":`由管理员维护接入点和密钥。`,"web.AiProfiles.8":`团队模型`,"web.AiProfiles.9":`模型设置已保存。`,"web.AiProfiles.10":`{{p0}}测试通过 · 输入 {{p1}} / 输出 {{p2}} token`,"web.AiProfiles.11":`工具往返`,"web.AiProfiles.12":`JSON Schema`,"web.AiProfiles.13":`模型配置 ID`,"web.AiProfiles.14":`模型名称`,"web.AiProfiles.15":`网关协议`,"web.AiProfiles.16":`网关地址`,"web.AiProfiles.17":`例如 https://gateway.example/v1;由服务器连接此地址。`,"web.AiProfiles.18":`模型 ID`,"web.AiProfiles.19":`API 密钥`,"web.AiProfiles.20":`已配置;留空保留原密钥。`,"web.AiProfiles.21":`可留空,适用于无需密钥的网关。`,"web.AiProfiles.22":`清除已保存密钥`,"web.AiProfiles.23":`允许创建分析任务`,"web.AiProfiles.24":`保存模型`,"web.AiProfiles.25":`关闭配置`,"web.AiProfiles.26":`连接测试`,"web.AiProfiles.27":`测试类型`,"web.AiProfiles.28":`请先保存模型配置。`,"web.AiProfiles.29":`使用已保存配置和合成内容。`,"web.AiProfiles.30":`测试`,"web.AiProfiles.31":`重新载入模型配置`,"web.TerminalPane.1":`未能复制所选终端内容,请重试。`,"web.TerminalPane.2":`执行位置:`,"web.TerminalPane.3":`查找终端内容`,"web.TerminalPane.4":`终端操作`,"web.TerminalPane.5":`清屏`,"web.TerminalPane.6":`关闭终端`,"web.TerminalPane.7":`查找`,"web.TerminalPane.8":`关闭查找`,"web.TerminalPane.9":`交互终端`,"web.TerminalPane.10":`连接已断开,正在重连…`,"web.TerminalPane.11":`终端已结束,请新建终端。`,"web.TerminalPane.12":`进程已退出 · {{p0}}`,"web.TerminalPane.13":`正在连接…`,"web.TerminalPane.14":`结束此终端及其中运行的进程?`,"web.TaskBoard.1":`按时间`,"web.TaskBoard.2":`按用户`,"web.TaskBoard.3":`计划`,"web.TaskBoard.4":`待验收`,"web.TaskBoard.5":`未明确`,"web.TaskBoard.6":`{{p0}}|工作看板`,"web.TaskBoard.7":`项目主页`,"web.TaskBoard.8":`看板筛选与排序`,"web.TaskBoard.9":`只看我的`,"web.TaskBoard.10":`任务排序:{{p0}}`,"web.TaskBoard.11":`任务进度`,"web.TaskBoard.12":`读取失败`,"web.TaskBoard.13":`暂无任务`,"web.TaskBoard.14":`读取中…`,"web.TaskBoard.15":`收起`,"web.TaskBoard.16":`展开其余 {{p0}} 项`,"web.TaskBoard.17":`客户端待更新 `,"web.TaskBoard.18":`需要确认`,"web.TaskBoard.19":`纠正任务:{{p0}}`,"web.TaskBoard.20":`目标`,"web.TaskBoard.21":`目标未明确`,"web.TaskBoard.22":`当前进展`,"web.TaskBoard.23":`资料同步于 `,"web.TaskBoard.24":`复制任务链接`,"web.TaskBoard.25":`未能复制任务链接,请重试。`,"web.TaskBoard.26":`任务`,"web.TaskBoard.27":` · 已归档`,"web.TaskBoard.28":`刚刚`,"web.TaskBoard.29":`{{p0}} 分钟`,"web.TaskBoard.30":`{{p0}} 小时`,"web.TaskBoard.31":`{{p0}} 天`,"web.TaskBoard.32":`进入当前状态:{{p0}}`,"web.TaskBoard.33":`当前状态停留 {{p0}}`,"web.TaskBoard.34":`纠正任务`,"web.TaskBoard.35":`状态`,"web.TaskBoard.36":`待验收:任务成果已提交,等待验收或最终确认。`,"web.UsersSettings.1":`用户信息`,"web.UsersSettings.2":`新增用户`,"web.UsersSettings.3":`建立账号后,在项目设置中添加该用户。`,"web.UsersSettings.4":` · 已停用`,"web.UsersSettings.5":`修改显示名称`,"web.UsersSettings.6":`停用账号`,"web.UsersSettings.7":`启用账号`,"web.UsersSettings.8":`用户 ID`,"web.UsersSettings.9":`停用 {{p0}} 后,该用户无法登录或同步任何项目,历史资料会保留。`,"web.UsersSettings.10":`恢复 {{p0}} 的登录权限;客户端需要重新接入。`,"web.DirectoryConnectDialog.1":`接入目录 Agent`,"web.DirectoryConnectDialog.2":`在目标项目目录运行:`,"web.DirectoryConnectDialog.3":`在该电脑登记执行目录`,"web.DirectoryConnectDialog.4":`尚未连接 Teammy 项目`,"web.DirectoryConnectDialog.5":`连接项目`,"web.ProjectAgentSettings.1":`请先读取项目设置。`,"web.ProjectAgentSettings.2":`远端连接检查通过。完整下载及子模块状态见上方,工作区将在下载完成后导入。`,"web.ProjectAgentSettings.3":`仓库连接`,"web.ProjectAgentSettings.4":`连接仓库,用于读取代码和处理 PR/MR。`,"web.ProjectAgentSettings.5":`Git 平台`,"web.ProjectAgentSettings.6":`工蜂`,"web.ProjectAgentSettings.7":`仓库地址`,"web.ProjectAgentSettings.8":`工蜂仓库`,"web.ProjectAgentSettings.9":`GitHub 仓库`,"web.ProjectAgentSettings.10":`group/repository 或项目 ID`,"web.ProjectAgentSettings.11":`API 地址`,"web.ProjectAgentSettings.12":`访问与评论令牌`,"web.ProjectAgentSettings.13":`使用具有 api 权限的个人访问令牌;HTTPS 拉取还需 read_repository 权限。`,"web.ProjectAgentSettings.14":`令牌需具备仓库读取和发表评论权限。`,"web.ProjectAgentSettings.15":`已配置;留空保持现状`,"web.ProjectAgentSettings.16":`PR/MR 事件接入`,"web.ProjectAgentSettings.17":`Webhook 地址`,"web.ProjectAgentSettings.18":`订阅合并请求、评论和评审事件,填写相同秘密令牌,并在工蜂中测试、激活 Webhook。建议先保存并检查仓库。`,"web.ProjectAgentSettings.19":`在仓库中使用 JSON webhook,订阅 Pull requests、Issue comments、Pull request reviews 和 Pull request review comments。`,"web.ProjectAgentSettings.20":`项目 SSH 公钥`,"web.ProjectAgentSettings.21":`已生成`,"web.ProjectAgentSettings.22":`未生成`,"web.ProjectAgentSettings.23":`复制到工蜂账号的 SSH 密钥中`,"web.ProjectAgentSettings.24":`复制到 GitHub 仓库的 Deploy keys 中`,"web.ProjectAgentSettings.25":`生成项目公钥`,"web.ProjectAgentSettings.26":`使用 SSH 仓库地址时,将公钥添加到工蜂的「个人设置 → SSH 密钥」,访问权限继承该账号。`,"web.ProjectAgentSettings.27":`使用 SSH 仓库地址时,将公钥添加到 GitHub 仓库的「Settings → Deploy keys」。`,"web.ProjectAgentSettings.28":`首次连接记录主机公钥,后续变化会拒绝连接。`,"web.ProjectAgentSettings.29":`已有 SSH 凭据`,"web.ProjectAgentSettings.30":`SSH 私钥`,"web.ProjectAgentSettings.31":`已确认的服务器公钥(known_hosts)`,"web.ProjectAgentSettings.32":`参考仓库更新间隔(秒)`,"web.ProjectAgentSettings.33":`留空关闭定时拉取。`,"web.ProjectAgentSettings.34":`已保存。`,"web.ProjectAgentSettings.35":`连接检查`,"web.ProjectAgentSettings.36":`仓库拉取`,"web.ProjectAgentSettings.37":`先保存当前配置,再检查远端连接。`,"web.ProjectAgentSettings.38":`保存并检查仓库`,"web.ProjectAgentSettings.39":`平台 API`,"web.ProjectAgentSettings.40":`使用已保存配置检查读取权限。`,"web.ProjectAgentSettings.41":`工蜂 / GitHub API 可读:{{p0}}。`,"web.ProjectAgentSettings.42":`检查已保存的 API 配置`,"web.ProjectAgentSettings.43":`模型上下文窗口(tokens)`,"web.ProjectAgentSettings.44":`提前压缩位置(tokens)`,"web.ProjectAgentSettings.45":`额外 Pi 进程空闲回收(秒)`,"web.ProjectAgentSettings.46":`空闲时重建沙箱的周期(秒)`,"web.ProjectAgentSettings.47":`留空关闭。调整会在进程空闲时生效。`,"web.ProjectAgentSettings.48":`运行提醒收件人`,"web.ErrorNotifications.1":`错误提醒`,"web.ErrorNotifications.2":`关闭提醒`,"web.Sidebar.1":`看板`,"web.Sidebar.2":`{{p0}} 条未读消息`,"web.Sidebar.3":`用户菜单 · {{p0}}`,"web.MessageComposer.1":`{{p0}}(Ctrl / ⌘ + Enter 排队)`,"web.MessageComposer.2":`松开以添加文件`,"web.SessionLibrarySettings.1":`自动更新会话库`,"web.SessionLibrarySettings.2":`关闭后暂停展示你的新会话,后台采集继续。`,"web.SessionTitle.1":`会话标题`,"web.SessionTitle.2":`重命名会话`,"web.SessionTitle.3":`重命名会话:{{p0}}`,"web.EventRoutingSettings.1":`已通知`,"web.EventRoutingSettings.2":`已交外部处理`,"web.EventRoutingSettings.3":`已回应`,"web.EventRoutingSettings.4":`本轮已结束`,"web.EventRoutingSettings.5":`未交接`,"web.EventRoutingSettings.6":`已记录`,"web.EventRoutingSettings.7":`本人`,"web.EventRoutingSettings.8":`本地 Agent`,"web.EventRoutingSettings.9":`本地收件箱`,"web.EventRoutingSettings.10":`电脑会话完成`,"web.EventRoutingSettings.11":`工作完成后,只在会话列表标记未读。`,"web.EventRoutingSettings.12":`工作完成后,在网页主导航的「电脑」图标上显示未读提醒。`,"web.EventRoutingSettings.13":`工作完成后,网页主导航显示未读提醒,Tim 也会通过企业微信私聊发送完整回复和会话链接。`,"web.EventRoutingSettings.14":`电脑会话提出问题`,"web.EventRoutingSettings.15":`提问、权限审批和计划确认只显示在会话内。`,"web.EventRoutingSettings.16":`有提问、权限审批或计划待确认时,在网页的「电脑」入口和对应会话标记未读。`,"web.EventRoutingSettings.17":`有提问、权限审批或计划待确认时,网页标记未读,Tim 也会通过企业微信私聊发送卡片链接。`,"web.EventRoutingSettings.18":`连接与接入`,"web.EventRoutingSettings.19":`读取中`,"web.EventRoutingSettings.20":`暂不可用`,"web.EventRoutingSettings.21":`未接入`,"web.EventRoutingSettings.22":`已接入`,"web.EventRoutingSettings.23":`接入目录后可接收 Tim 转交;选择本地 Agent 处理方式后,也可代你处理收到的消息。`,"web.EventRoutingSettings.24":`接入`,"web.EventRoutingSettings.25":`管理`,"web.EventRoutingSettings.26":`已连接`,"web.EventRoutingSettings.27":`待连接`,"web.EventRoutingSettings.28":`已暂停`,"web.EventRoutingSettings.29":`未连接`,"web.EventRoutingSettings.30":`通过客户端连接,供自己的脚本或 Agent 读取消息。`,"web.EventRoutingSettings.31":`管理收件箱`,"web.EventRoutingSettings.32":`接入收件箱`,"web.EventRoutingSettings.33":`连接`,"web.EventRoutingSettings.34":`收件箱:{{p0}}`,"web.EventRoutingSettings.35":`收起命令`,"web.EventRoutingSettings.36":`添加收件箱`,"web.EventRoutingSettings.37":`收件箱 skill`,"web.EventRoutingSettings.38":`在已连接 Teammy 的项目目录运行,完成后自动显示:`,"web.EventRoutingSettings.39":`注册本地收件箱`,"web.EventRoutingSettings.40":`处理方式`,"web.EventRoutingSettings.41":`{{p0}} 下方可按消息类型调整接管与提醒。`,"web.EventRoutingSettings.42":`已开启自动接管的消息交给本地 Agent,其余由你查看和处理。`,"web.EventRoutingSettings.43":`当前选择本地 Agent,接单暂不可用。`,"web.EventRoutingSettings.44":`已开启自动接管的消息保存到本地收件箱,其余由你查看和处理。`,"web.EventRoutingSettings.45":`当前选择的收件箱已暂停。`,"web.EventRoutingSettings.46":`收到的消息由你查看和处理。`,"web.EventRoutingSettings.47":`仅接收消息`,"web.EventRoutingSettings.48":`收件箱`,"web.EventRoutingSettings.49":`(已暂停)`,"web.EventRoutingSettings.50":`消息提醒`,"web.EventRoutingSettings.51":`自动接管`,"web.EventRoutingSettings.52":`{{p0}}自动接管`,"web.EventRoutingSettings.53":`{{p0}}提醒`,"web.EventRoutingSettings.54":`不抄送给我`,"web.EventRoutingSettings.55":`不提醒`,"web.EventRoutingSettings.56":`网页`,"web.EventRoutingSettings.57":`网页+企微`,"web.EventRoutingSettings.58":` 离开会话时也会收到浏览器通知。`,"web.EventRoutingSettings.59":`提醒`,"web.EventRoutingSettings.60":`不额外通知`,"web.EventRoutingSettings.61":`最近接收`,"web.EventRoutingSettings.62":`待回应`,"web.EventRoutingSettings.63":`已结束`,"web.EventRoutingSettings.64":`调整处理方式`,"web.EventRoutingSettings.65":`调整处理`,"web.EventRoutingSettings.66":`由我处理`,"web.EventRoutingSettings.67":`交给本地 Agent`,"web.LocalComposerControls.1":`极低`,"web.LocalComposerControls.2":`低`,"web.LocalComposerControls.3":`中`,"web.LocalComposerControls.4":`高`,"web.LocalComposerControls.5":`极高`,"web.LocalComposerControls.6":`最高`,"web.LocalComposerControls.7":`极致`,"web.LocalComposerControls.8":`无`,"web.LocalComposerControls.9":`选择{{p0}}`,"web.LocalComposerControls.10":`思考强度`,"web.LocalComposerControls.11":`默认 · {{p0}}`,"web.LocalComposerControls.12":`默认模型`,"web.LocalComposerControls.13":`模型未获取`,"web.LocalComposerControls.14":`模型`,"web.LocalComposerControls.15":`默认{{p0}}`,"web.LocalComposerControls.16":`强度`,"web.LocalComposerControls.17":`命令与 Skills`,"web.LocalComposerControls.18":`尚未获取命令`,"web.Conversation.1":`{{p0}}列表`,"web.HtmlPreview.1":`{{p0}} 预览`,"search.error.WEB_SEARCH_DISABLED":`网页搜索未启用,请管理员在全局设置的接入点中配置。`,"search.error.WEB_SEARCH_CONFIG_CONFLICT":`网页搜索配置已更新,请刷新后重试。`,"search.error.WEB_SEARCH_KEY_REQUIRED":`请填写当前搜索服务的 API Key。`,"search.error.WEB_SEARCH_READER_UNSUPPORTED":`仅 Jina 使用独立的 Reader 地址。`,"search.error.WEB_READER_REQUIRED":`请配置 Jina Reader 服务地址。`,"search.error.WEB_SEARCH_AUTH":`搜索密钥无效,请管理员更新配置。`,"search.error.WEB_SEARCH_BALANCE":`搜索服务账号余额不足。`,"search.error.WEB_SEARCH_FORBIDDEN":`搜索服务拒绝了此请求,请检查权限或目标网址。`,"search.error.WEB_SEARCH_REQUEST":`搜索请求无效,请调整搜索词或网址。`,"search.error.WEB_SEARCH_TIMEOUT":`搜索服务请求超时,请稍后重试。`,"search.error.WEB_SEARCH_RATE_LIMIT":`搜索服务暂时限流,请稍后重试。`,"search.error.WEB_SEARCH_UNAVAILABLE":`无法连接搜索服务,请稍后重试;这不表示没有搜索结果。`,"search.error.WEB_SEARCH_RESPONSE":`搜索服务未返回可用结果,或结果超出读取上限。请调整查询后重试。`,"search.error.WEB_FETCH_UNAVAILABLE":`未能抓取该网页,不表示网页不存在。可尝试直接访问或下载。`,"web.WebSearchSettings.1":`已保存,后续工具调用使用新配置。`,"web.WebSearchSettings.2":`连接正常 · {{p0}} 秒`,"web.WebSearchSettings.3":`网页搜索`,"web.WebSearchSettings.4":`启用网页搜索`,"web.WebSearchSettings.5":`使用所选服务搜索和读取公开网页,费用以服务提供方为准。`,"web.WebSearchSettings.provider":`服务提供方`,"web.WebSearchSettings.readerEndpoint":`网页读取地址`,"web.WebSearchSettings.readerHint":`Jina Reader 与搜索使用不同地址,共用当前 API Key。`,"web.WebSearchSettings.testMode":`连接测试`,"web.WebSearchSettings.searchTest":`搜索`,"web.WebSearchSettings.fetchTest":`网页读取`,"web.WebSearchSettings.readerConnected":`网页读取正常 · {{p0}} 秒`,"web.WebSearchSettings.endpoint":`搜索服务地址`,"web.WebSearchSettings.endpointHint":`使用所选服务的协议;自定义地址可包含路径前缀。更换服务或地址后需重新填写 API Key。`,"web.WebSearchSettings.6":`已保存,留空保持不变`,"web.WebSearchSettings.7":`填写当前搜索服务的 API Key`,"web.WebSearchSettings.8":`保存中…`,"web.WebSearchSettings.9":`测试中…`,"web.WebSearchSettings.10":`测试连接`,"web.WebSearchSettings.11":`刷新配置`,"web.WebSearchSettings.12":`测试使用已保存配置,搜索和网页读取需分别验证。`,"web.BrowserNotificationSettings.1":`当前浏览器不支持系统通知,请使用 HTTPS 下的桌面 Chrome 或 Edge。`,"web.BrowserNotificationSettings.2":`通知权限已关闭,请在浏览器的网站设置中允许通知。`,"web.BrowserNotificationSettings.3":`离开对应会话时,通过系统通知提醒。遵循下方两项电脑会话的提醒设置,仅在此浏览器生效;需保持 Teammy 网页打开。`,"web.BrowserNotificationSettings.4":`浏览器通知`,"web.BrowserNotificationSettings.5":`未授权`,"web.BrowserNotificationSettings.6":`不可用`,"web.InlineEdit.1":`保存{{p0}}`,"web.InlineEdit.2":`取消编辑{{p0}}`,"web.InlineEdit.3":`编辑{{p0}}:{{p1}}`,"web.ProjectOnboarding.1":`未能保存指南的阅读状态:{{p0}}`,"web.ComputerSettings.1":`本项目暂未向你开放本地 Agent 功能`,"web.ComputerSettings.2":`尚未登记执行目录`,"web.ComputerSettings.3":`目录设置:{{p0}}`,"web.ComputerSettings.4":`目录名称`,"web.ComputerSettings.5":`等待客户端提供路径`,"web.ComputerSettings.6":`职责`,"web.ComputerSettings.7":`添加目录职责`,"web.ComputerSettings.8":`会话设置`,"web.ComputerSettings.9":`会话`,"web.ComputerSettings.10":`选择会话`,"web.ComputerSettings.11":`当前路径:`,"web.ComputerSettings.12":`原登记目录`,"web.ComputerSettings.13":`专用群`,"web.ComputerSettings.14":`等待群内绑定`,"web.ComputerSettings.15":`重新生成`,"web.ComputerSettings.16":`在目标企业微信群 @机器人发送:`,"web.ComputerSettings.17":`群绑定命令`,"web.ProjectHealthPanel.1":`后台服务 ·`,"web.ProjectHealthPanel.2":`在线`,"web.ProjectHealthPanel.3":`离线`,"web.ProjectHealthPanel.4":`待启动`,"web.ProjectHealthPanel.5":`模型 · `,"web.ProjectHealthPanel.6":`已配置`,"web.ProjectHealthPanel.7":`未配置`,"web.ProjectHealthPanel.8":`处理中 ·`,"web.ProjectHealthPanel.9":`待处理 ·`,"web.ProjectHealthPanel.10":`后台服务未连接。请检查 Worker 进程`,"web.ProjectHealthPanel.11":`,最近在线 {{p0}}`,"web.ProjectHealthPanel.12":`请在模型设置中配置可用的默认模型。`,"web.ProjectHealthPanel.13":`暂无处理故障`,"web.ProjectHealthPanel.14":`正在重置…`,"web.ProjectHealthPanel.15":`重置重试`,"web.ProjectHealthPanel.16":`已尝试 `,"web.ProjectHealthPanel.17":` 次`,"web.ProjectHealthPanel.18":`等待重试`,"web.ProjectHealthPanel.19":`处理失败`,"web.ProjectHealthPanel.20":`下次重试 `,"web.ProjectHealthPanel.21":`下载关联日志`,"web.Combobox.1":`没有匹配的选项。`,"web.Combobox.2":`正在读取…`,"web.RuntimeStatus.1":`后台服务`,"web.RuntimeStatus.2":`运行中`,"web.RuntimeStatus.3":`暂未响应`,"web.RuntimeStatus.4":`未检测到后台服务`,"web.RuntimeStatus.5":`最近响应:`,"web.RuntimeStatus.6":`请检查部署中的 ai-worker 是否已启动。`,"web.RuntimeStatus.7":`尚未配置仓库`,"web.RuntimeStatus.8":`等待后台下载仓库`,"web.RuntimeStatus.9":`正在下载仓库`,"web.RuntimeStatus.10":`正在拉取远端更新`,"web.RuntimeStatus.11":`仓库已下载`,"web.RuntimeStatus.12":`仓库下载失败`,"web.RuntimeStatus.13":`仓库下载已中断`,"web.RuntimeStatus.14":`正在读取仓库状态…`,"web.RuntimeStatus.15":`包含默认启用的子模块,可离开此页,后台会继续处理。`,"web.RuntimeStatus.16":`请查看诊断日志,确认主仓库及子模块的访问权限与网络连接。`,"web.RuntimeStatus.17":`等待后台重试。`,"web.RuntimeStatus.18":`最近完成:`,"web.SetupModel.1":`已保存为全站默认接入点。`,"web.SetupModel.2":`连接模型`,"web.SetupModel.3":`可稍后在设置中配置。`,"web.SetupModel.4":`协议`,"web.SetupModel.5":`接入地址`,"web.SetupModel.6":`已保存;留空保留。`,"web.SetupModel.7":`部署已提供密钥;更换接入地址时请重新填写。`,"web.SetupModel.8":`无需密钥的网关可以留空。`,"web.SetupModel.9":`连接测试通过。`,"web.SetupModel.10":`暂时跳过`,"web.NativeInteractionCard.1":`已过期`,"web.NativeInteractionCard.2":`需核对`,"web.NativeInteractionCard.3":`已处理`,"web.NativeInteractionCard.4":`已允许`,"web.NativeInteractionCard.5":`已拒绝`,"web.NativeInteractionCard.6":`已回答`,"web.NativeInteractionCard.7":`请重新提交`,"web.NativeInteractionCard.8":`正在提交`,"web.NativeInteractionCard.9":`实施计划`,"web.NativeInteractionCard.10":`查看计划`,"web.NativeInteractionCard.11":`开始实施:`,"web.NativeInteractionCard.12":`修改意见`,"web.NativeInteractionCard.13":`说明希望调整的部分,Agent 将修改后再次请求确认`,"web.NativeInteractionCard.14":`提交修改意见`,"web.NativeInteractionCard.15":`返回计划`,"web.NativeInteractionCard.16":`允许`,"web.NativeInteractionCard.17":`倒计时结束后自动允许本次操作`,"web.NativeInteractionCard.18":`拒绝`,"web.NativeInteractionCard.19":`回答`,"web.InlineReply.1":`其他回答`,"web.InlineReply.2":`自定义回答`,"web.InlineReply.3":`发送{{p0}}`,"web.WorkspaceTree.1":`工作区文件`,"web.SiteGeneralSettings.1":`已保存,应用于所有项目。`,"web.SiteGeneralSettings.2":`同步与后台任务`,"web.SiteGeneralSettings.3":`服务端任务并发上限`,"web.SiteGeneralSettings.4":`全站的项目 Agent、工作区分析和会话整理共用。达到上限时,新任务排队。`,"web.SiteGeneralSettings.5":`不限`,"web.SiteGeneralSettings.6":`刷新同步与后台任务设置`,"web.SiteGeneralSettings.7":`访问地址`,"web.SiteGeneralSettings.8":`服务外部地址`,"web.SiteGeneralSettings.9":`包含路径前缀,用于客户端连接、资料链接和 Webhook。`,"web.SiteGeneralSettings.10":`保存地址`,"web.ComputerMessages.1":`不到 1 秒`,"web.ComputerMessages.2":`{{p0}} 分`,"web.ComputerMessages.3":`{{p0}} 秒`,"web.ComputerMessages.4":`已工作`,"web.ComputerMessages.5":`执行失败`,"web.ComputerMessages.6":`工具调用`,"web.ComputerMessages.7":` 次工具调用`,"web.EventPreferences.1":`取消订阅话题`,"web.EventPreferences.2":`订阅话题`,"web.EventPreferences.3":`同步主动消息`,"web.EventPreferences.4":`将网页和后台进展同步到专用群`,"web.EventPreferences.5":`同步主动消息到专用群`,"web.Markdown.1":`查看任务`,"web.ProjectModelSettings.1":`项目默认`,"web.FilePreview.1":`文件暂不可用。`,"web.FilePreview.2":`图片预览`,"web.FilePreview.3":`上一张图片`,"web.FilePreview.4":`下一张图片`,"web.FilePreview.5":`适合窗口`,"web.FilePreview.6":`原始尺寸`,"web.FilePreview.7":`下载文件`,"web.FilePreview.8":`正在读取文件…`,"web.FilePreview.9":`暂不支持预览此文件。`,"web.FilePreview.10":` 预览`,"web.FilePreview.11":`仅显示文件开头,可下载完整文件。`,"web.SessionHandoff.1":`请先配置项目模型接入点`,"web.SessionHandoff.2":`整理未完成,可重试`,"web.SessionHandoff.3":`对话已有新内容,等待自动更新…`,"web.SessionHandoff.4":`等待自动整理…`,"web.SessionHandoff.5":`交接说明使用最新对话;当前阅读的是历史原文`,"web.SessionHandoff.6":`基于版本 `,"web.SessionImages.1":`预览附件 {{p0}}`,"web.SessionImages.2":`重新读取图片`,"web.SessionImages.3":`图片暂不可用`,"web.SessionImages.4":`预览图片 {{p0}}`,"web.SessionImages.5":`正在上传 {{p0}}`,"web.SessionImages.6":`重试上传 {{p0}}`,"web.SessionImages.7":`移除{{p0}} {{p1}}`,"web.SessionImages.8":`附件`,"web.SessionImages.9":`选择附件`,"web.SessionImages.10":`选择图片`,"web.SessionImages.11":`添加图片`,"web.SessionImages.12":`添加图片,也可粘贴或拖入`,"web.SessionImages.13":`添加附件,也可粘贴或拖入`,"web.AiDefaultSelect.1":`{{p0}}默认接入点`,"web.AiDefaultSelect.2":`已配置 · {{p0}}`,"web.AiDefaultSelect.3":`接入点已停用`,"web.AiDefaultSelect.4":`尚未配置默认接入点`,"web.AiDefaultSelect.5":`未设置`,"web.AiDefaultSelect.6":`继承全站默认{{p0}}`,"web.AiDefaultSelect.7":`(已停用)`,"web.AiDefaultSelect.8":`保存{{p0}}默认接入点`,"web.AiDefaultSelect.9":`默认接入点已停用,请重新选择。`,"web.AiDefaultSelect.10":`重新载入`,"web.SessionStopButton.1":`正在停止`,"web.SessionStopButton.2":`停止当前轮`,"web.NativeHistoryDialog.1":`读取历史会话失败。`,"web.NativeHistoryDialog.2":`找不到此目录中的会话。`,"web.NativeHistoryDialog.3":`历史会话 Agent`,"web.NativeHistoryDialog.4":`历史会话`,"web.NativeHistoryDialog.5":`选择会话或输入 ID`,"web.NativeHistoryDialog.6":`未找到匹配会话,可直接输入 Session ID。`,"web.NativeHistoryDialog.7":`此目录暂无历史会话,可输入 Session ID。`,"web.NativeHistoryDialog.8":`刷新历史会话`,"web.NativeHistoryDialog.9":`正在导入…`,"web.NativeHistoryDialog.10":`打开`,"web.NativeHistoryDialog.11":`导入`,"web.NativeHistoryDialog.12":`请先退出原终端会话。`,"web.WecomSettings.1":`未启用`,"web.WecomSettings.2":`连接中`,"web.WecomSettings.3":`连接异常`,"web.WecomSettings.4":`已保存,连接状态会自动更新。`,"web.WecomSettings.5":`企业微信机器人`,"web.WecomSettings.6":`机器人连接`,"web.WecomSettings.7":`使用 API 模式的长连接机器人,成员可在项目设置中绑定账号。`,"web.WecomSettings.8":` · {{p0}} 条待转发`,"web.WecomSettings.9":`启用企业微信`,"web.WecomSettings.10":`网页保留原消息,企业微信接收已开启同步的通知。`,"web.WecomSettings.11":`填写长连接专用 Secret`,"web.WecomSettings.12":`项目频道`,"web.WecomSettings.13":`网页话题同步到此频道,回复与网页互通。机器人需允许获取所有内容、主动发送。`,"web.WecomSettings.14":`接收事项的频道`,"web.WecomSettings.15":`暂不连接频道`,"web.WecomSettings.16":`(暂不可用)`,"web.WecomSettings.17":`刷新中…`,"web.WecomSettings.18":` 条频道消息待发送。`,"web.WecomSettings.19":`站点尚未启用企业微信机器人。`,"web.WecomSettings.20":`个人账号绑定`,"web.WecomSettings.21":`个人账号已连接本项目`,"web.WecomSettings.22":`账号已绑定,尚未连接本项目`,"web.WecomSettings.23":`未绑定`,"web.WecomSettings.24":`可在下方选择要同步到企业微信的提醒。{{p0}}`,"web.WecomSettings.25":`当前有 {{p0}} 条待转发。`,"web.WecomSettings.26":`可接收所选提醒。连接本项目后,也可在企业微信私聊中切换到这里。`,"web.WecomSettings.27":`私聊 Tim 发送绑定码,即可接收所选的私人通知。`,"web.WecomSettings.28":`解除本项目连接`,"web.WecomSettings.29":`重新生成绑定码`,"web.WecomSettings.30":`获取绑定码`,"web.WecomSettings.31":`私聊 Tim 发送以下命令:`,"web.WecomSettings.32":`绑定消息`,"web.WecomSettings.33":`有效至 `,"web.WecomSettings.34":`,绑定后自动更新。`,"web.WecomSettings.35":`群接入`,"web.WecomSettings.36":`已连接 {{p0}} 个群`,"web.WecomSettings.37":`将机器人加入群,@Tim 发送绑定命令。群成员即可提问,无需个人绑定。`,"web.WecomSettings.38":`处理中…`,"web.WecomSettings.39":`获取群绑定码`,"web.WecomSettings.40":`在群内 @Tim 后发送`,"web.WecomSettings.41":`绑定人:{{p0}}`,"web.WecomSettings.42":`解除群连接`,"web.WecomSettings.43":`仅接收 @Tim 的消息,其他群聊内容不会同步。`,"web.WorkspaceImportSettings.1":`工作区初始化`,"web.WorkspaceImportSettings.2":`连接仓库后自动导入其中的 teamcontext,也可从服务器目录导入。原文件和已有同步版本保留。`,"web.WorkspaceImportSettings.3":`等待后台导入`,"web.WorkspaceImportSettings.4":`正在导入工作区`,"web.WorkspaceImportSettings.5":`等待后台继续导入`,"web.WorkspaceImportSettings.6":`已识别 {{p0}} 位成员,导入 {{p1}} 个文件。`,"web.WorkspaceImportSettings.7":`保留已有版本:`,"web.WorkspaceImportSettings.8":`公共资料`,"web.WorkspaceImportSettings.9":`未纳入同步范围:`,"web.WorkspaceImportSettings.10":`后台服务暂未响应,请检查 ai-worker 是否已启动。`,"web.WorkspaceImportSettings.11":`重试导入`,"web.WorkspaceImportSettings.12":`从服务器目录导入`,"web.WorkspaceImportSettings.13":`工作区路径`,"web.WorkspaceImportSettings.14":`容器部署时填写只读挂载后的路径,例如 /imports/my-project/teamcontext。`,"web.WorkspaceImportSettings.15":`导入工作区`,"web.notification-hints.1":`Tim 有发给你的单独通知时`,"web.notification-hints.2":`有需要你处理的协作请求时`,"web.notification-hints.3":`发现与你相关的任务冲突或重复时`,"web.notification-hints.4":`代码评审有与你相关的更新时`,"web.notification-hints.5":`频道消息明确 @你时`,"web.notification-hints.6":`你订阅的话题有新回复时`,"web.notification-hints.7":`与你相关的运行或交接发生异常时`,"web.notification-hints.8":`交给本地 Agent 处理`,"web.notification-hints.9":`保存到本地收件箱,由你的脚本或 Agent 读取`,"web.notification-hints.10":`不额外抄送给你`,"web.notification-hints.11":`不额外提醒`,"web.notification-hints.12":`{{p0}}Tim 会通过网页和企业微信私聊提醒你。`,"web.page-title.1":`Teammy 工作台`,"web.main.1":`初始化`,"web.main.2":`登录`,"web.main.3":`全局设置`,"web.main.4":`返回项目列表`,"web.session-attachment-drafts.1":`每条消息最多添加 {{p0}} 张图片。`,"web.session-attachment-drafts.2":`每条消息最多添加 {{p0}} 个附件。`,"web.session-attachment-drafts.3":`请选择不超过 2 GB 的 PNG、JPEG 或 WebP 图片。`,"web.session-attachment-drafts.4":`每个附件最多 2 GB。`,"web.session-attachment-drafts.5":`附件读取失败。`,"web.session-attachment-drafts.6":`附件读取已取消。`,"web.browser-notifications.1":`浏览器通知暂时不可用,请重新开启。`,"web.Assistant.25":`暂缓修改`,"web.Assistant.26":` · 企业微信`,"web.notification-hints.13":`频道原消息仍可查看。`,"web.notification-hints.14":`,同时`,"web.notification-hints.15":`在网页频道显示未读提醒。`,"web.notification-hints.16":`Tim 会在网页提醒你。`,"web.Combobox.3":`展开`},ud={"slack.setupHint":`Connect your Slack app for project channels, threads and direct messages.`,"slack.enable":`Enable Slack`,"slack.connectionMode":`Connection mode`,"slack.httpMode":`HTTPS callback`,"slack.modeHint":`Use Socket Mode when no public callback URL is available. The server connects to Slack.`,"slack.socketHint":`Enable Socket Mode in your Slack app and create an App-Level Token with connections:write. Subscribe to message events as usual; no Request URL is needed.`,"slack.workspace":`Slack workspace: {{team}}`,"slack.notConfigured":`Slack is not configured`,"slack.save":`Save`,"slack.eventsHint":`Enable Events API in your Slack app, subscribe to app_mention, message.channels, message.groups and message.im, and allow direct messages to the app.`,"slack.deliveryIssues":`Deliveries to check`,"slack.retryHint":`Check Slack before retrying: a previous attempt may already have delivered this message.`,"slack.retry":`Retry after checking`,"slack.connected":`Connected`,"slack.disconnected":`Not connected`,"slack.personalHint":`Link your own Slack account using a one-time code to message Tim and receive the notifications selected below.`,"slack.disconnect":`Disconnect`,"slack.connect":`Connect`,"slack.dmProject":`Project for direct messages`,"slack.dmProjectHint":`New direct messages currently use another project. Existing threads keep their original request.`,"slack.useProject":`Use this project`,"slack.codeHint":`Send this command to the Slack app in a direct message. The code expires in ten minutes.`,"slack.bindCommand":`Slack connection command`,"slack.newCode":`Generate a new code`,"slack.projectChannel":`Slack project channel`,"slack.channelConnection":`Channel connection`,"slack.channelHint":`Invite the app to a channel first. New topics and replies sync to Slack threads. Mention Tim to request work; other replies in linked threads are recorded as discussion.`,"slack.chooseChannel":`Choose channel`,"slack.noChannel":`Not connected`,"slack.privateChannel":`Private channel`,"slack.webAndSlack":`Web + Slack`,"slack.allDestinations":`Web + WeCom + Slack`,"slack.copyHint":` Also delivered through Slack direct messages.`,"slack.integrations":`Messaging integrations`,"web.labels.1":`Main navigation`,"web.labels.2":`File preview`,"web.labels.3":`Choose directory version`,"web.labels.4":`Connect command`,"web.labels.5":`Start sync command`,"web.labels.6":`Stop sync command`,"web.labels.7":`Install command`,"web.labels.8":`Skip to main content`,"web.labels.9":`Loading…`,"web.labels.10":`Retry`,"web.labels.11":`Refresh`,"web.labels.12":`Cancel`,"web.labels.13":`Close`,"web.labels.14":`Save`,"web.labels.15":`Saving…`,"web.labels.16":`Next`,"web.labels.17":`Back`,"web.labels.18":`Confirm`,"web.labels.19":`Sign out`,"web.labels.20":`Navigation menu`,"web.labels.21":`Workspace`,"web.labels.22":`Task board`,"web.labels.23":`Session library`,"web.labels.24":`Members`,"web.labels.25":`Settings`,"web.labels.26":`Account`,"web.labels.27":`Project`,"web.labels.28":`Project name`,"web.labels.29":`Project description`,"web.labels.30":`Team server address`,"web.labels.31":`Enter a server address that members' devices can reach.`,"web.labels.32":`Administrator ID`,"web.labels.33":`Member ID`,"web.labels.34":`Start with a lowercase letter. Use up to 64 lowercase letters, digits, hyphens or underscores. IDs cannot be changed.`,"web.labels.35":`Display name`,"web.labels.36":`Administrator`,"web.labels.37":`Enabled`,"web.labels.38":`Disabled`,"web.labels.39":`Open workspace`,"web.labels.40":`Connect to your team`,"web.labels.41":`Enter the member ID created by your administrator.`,"web.labels.42":`Connect an existing workspace`,"web.labels.43":`Select`,"web.labels.44":`File check interval (seconds)`,"web.labels.45":`File settle delay (seconds)`,"web.labels.46":`The delay starts when a file stops changing. New settings reach clients in about 30 seconds and apply after the current batch.`,"web.labels.47":`Sharing scope`,"web.labels.48":`File owner`,"web.labels.49":`No files in this directory version`,"web.labels.50":`Start client synchronization to see files here.`,"web.labels.51":`Select a file to view its contents`,"web.labels.52":`Load more`,"web.labels.53":`File path`,"web.labels.54":`Size`,"web.labels.55":`Version`,"web.labels.56":`Directory version`,"web.labels.57":`Latest version`,"web.labels.58":`View version`,"web.labels.59":`Download original`,"web.labels.60":`Source`,"web.labels.61":`Preview`,"web.labels.62":`Preview is unavailable for this file. Download it to view.`,"web.labels.63":`This file exceeds 512 KiB. Download it to view the full contents.`,"web.labels.64":`Read only`,"web.labels.65":`Refresh directory`,"web.labels.66":`Image`,"web.labels.67":`Add member`,"web.labels.68":`Rename`,"web.labels.69":`Disable member`,"web.labels.70":`Enable member`,"web.labels.71":`Reset device`,"web.labels.72":`Revoke this member's device credentials while preserving shared files and history. The member will need to run connect --reconnect.`,"web.labels.73":`Stop this member's access and synchronization for this project. History and other projects are preserved.`,"web.labels.74":`Restore access to this project. The device will need to reconnect.`,"web.labels.75":`Device connected`,"web.labels.76":`No device connected`,"web.labels.77":`No status reported`,"web.labels.78":`Last contact`,"web.labels.79":`Last published`,"web.labels.80":`No files published`,"web.labels.81":`Last report was over 2 minutes ago`,"web.labels.82":`Applied`,"web.labels.83":`Awaiting application`,"web.labels.84":`Could not apply`,"web.labels.85":`Received`,"web.labels.86":`Saved on server`,"web.labels.87":`Includes command-line overrides`,"web.labels.88":`Effective policy`,"web.labels.89":`Last sync`,"web.labels.90":`Pending files`,"web.labels.91":`Client version`,"web.labels.92":`Sync notices`,"web.labels.93":`Last reported status; this is not a live connection indicator.`,"web.labels.94":`Connect a project directory`,"web.labels.95":`Run the following command in your working directory (such as my-project/), then confirm your user ID in the browser to connect it to Teammy:`,"web.labels.96":`Sessions are collected from this directory and its subdirectories. We recommend running this command at the project root (such as my-project/).`,"web.labels.97":`Getting started`,"web.labels.98":`Requires Node.js 22.19+. After installation, follow the instructions above to connect your project.`,"web.labels.99":`Copy`,"web.labels.100":`Copied`,"web.labels.101":`Could not copy. Select and copy the command manually.`,"web.labels.102":`Settings saved. Waiting for the client to receive and report them.`,"web.labels.103":`Load latest settings`,"web.labels.104":`Another member has updated these settings. Load the latest settings before editing again.`,"web.labels.105":`Shared settings are managed by administrators.`,"web.labels.106":`Configuration status`,"web.labels.107":`Server version`,"web.labels.108":`Not reported`,"web.labels.109":`seconds`,"web.labels.110":`Select a model, or configure a default endpoint first.`,"web.labels.111":`This model endpoint is disabled. Select another endpoint.`,"web.labels.112":`Model settings have changed. Reload before saving.`,"web.labels.113":`This action requires a site administrator.`,"web.labels.114":`This user does not exist or is disabled. Contact a site administrator.`,"web.labels.115":`This user ID already exists.`,"web.labels.116":`This project does not exist or you no longer have access.`,"web.labels.117":`Select a project.`,"web.labels.118":`These device credentials belong to another project.`,"web.labels.119":`This member ID does not exist or is disabled.`,"web.labels.120":`Your sign-in has expired. Sign in again.`,"web.labels.121":`This action requires administrator access.`,"web.labels.122":`Settings have changed. Load the latest settings and try again.`,"web.labels.123":`Member details have changed. Refresh and try again.`,"web.labels.124":`Keep at least one enabled administrator.`,"web.labels.125":`This member ID already exists.`,"web.labels.126":`Setup is complete. Refresh to sign in.`,"web.labels.127":`Check your input and the allowed value ranges.`,"web.labels.128":`The server returned an unrecognized response. Refresh and try again.`,"web.labels.129":`The gateway could not forward this request. Check the deployment configuration.`,"web.labels.130":`You do not have permission to perform this action.`,"web.labels.131":`This directory version does not exist.`,"web.labels.132":`Untitled conversation`,"web.terminals.1":`The terminal is disconnected. Your input was not sent.`,"web.terminals.2":`No result received yet. Check the connection; this operation will not be sent again automatically.`,"web.Memory.1":`Project memory`,"web.Memory.2":`Memory`,"web.Memory.3":`Add memory`,"web.Memory.4":`Loading…`,"web.Memory.5":`No memories yet`,"web.Memory.6":`Kept`,"web.Memory.7":`Needs confirmation`,"web.Memory.8":`Memory content`,"web.Memory.9":`Edit memory: {{p0}}`,"web.Memory.10":`Enter some memory content.`,"web.Memory.11":`Keep memory`,"web.Memory.12":`Save memory`,"web.Memory.13":`Cancel new memory`,"web.Memory.14":`Discard memory`,"web.Memory.15":`Delete memory`,"web.ResourceLibrary.1":`Resource folders`,"web.ResourceLibrary.2":`Resources`,"web.ResourceLibrary.3":`Project resources`,"web.Materials.1":`Current resource`,"web.Materials.2":`Add resource`,"web.Materials.3":`No resources yet`,"web.Materials.4":`Search results`,"web.Materials.5":`Resource preview`,"web.Materials.6":`Resource content and search`,"web.Materials.7":`View latest content`,"web.Materials.8":`Organizing…`,"web.Materials.9":`Retry organizing`,"web.Materials.10":`The content has not been organized yet. You can view the originals on the left.`,"web.Materials.11":`Select a resource to start reading`,"web.Materials.12":`You can also search resource content below.`,"web.Materials.13":`Clear search scope`,"web.Materials.14":`Clear scope: {{p0}}`,"web.Materials.15":`Search: `,"web.Materials.16":`Search resources`,"web.Materials.17":`Search resource content`,"web.Materials.18":`Clear search`,"web.Materials.19":`Search`,"web.Materials.20":`Searching…`,"web.Materials.21":`No matching resources`,"web.Materials.22":`Next page`,"web.Materials.23":`The original is temporarily unavailable.`,"web.Materials.24":`Original resource`,"web.Materials.25":`This original could not be found.`,"web.Materials.26":`Switch to preview`,"web.Materials.27":`Switch to source`,"web.Materials.28":`Download original`,"web.Materials.29":`Download this format to view it.`,"web.Materials.30":`Text`,"web.Materials.31":`Upload {{p0}} failed.`,"web.Materials.32":`Upload files to the project for Tim to read`,"web.Materials.33":`Edit: {{p0}}`,"web.Materials.34":`Remove: {{p0}}`,"web.Materials.35":`Add text or link`,"web.Materials.36":`Add file`,"web.Materials.37":`Original file`,"web.Materials.38":`Uploading…`,"web.Materials.39":`Submit resources`,"web.Materials.40":`Text or link`,"web.Materials.41":`Paste text or a web link`,"web.Materials.42":`Add`,"web.ClientConnect.1":`Identity confirmed`,"web.ClientConnect.2":`Connect working directory`,"web.ClientConnect.3":`Return to the terminal to continue.`,"web.ClientConnect.4":`Use `,"web.ClientConnect.5":`to connect to this project.`,"web.ClientConnect.6":`Confirming…`,"web.ClientConnect.7":`Confirm connection`,"web.ClientConnect.8":`Switch user`,"web.Help.1":`Help`,"web.Help.2":`Help contents`,"web.Help.3":`Help documents`,"web.Help.4":`Help content`,"web.Help.5":`The latest client version is temporarily unavailable. If you encounter problems, install the latest version.`,"web.Help.6":`Checking the latest client version…`,"web.Help.7":`This help document could not be found`,"web.Help.8":`Back to `,"web.Computers.1":`Idle`,"web.Computers.2":`Working`,"web.Computers.3":`Waiting for an answer`,"web.Computers.4":`Waiting to run`,"web.Computers.5":`Needs review`,"web.Computers.6":`Handled by a person`,"web.Computers.7":`Awaiting local receipt`,"web.Computers.8":`Accepted locally`,"web.Computers.9":`Not delivered locally`,"web.Computers.10":`Pending delivery`,"web.Computers.11":`Sent`,"web.Computers.12":`Completed`,"web.Computers.13":`In progress`,"web.Computers.14":`Failed`,"web.Computers.15":`Needs an answer`,"web.Computers.16":`Needs approval`,"web.Computers.17":`Done`,"web.Computers.18":`Local session`,"web.Computers.19":`Computers`,"web.Computers.20":`Directories and sessions`,"web.Computers.21":`New session: {{p0}}`,"web.Computers.22":`Exited`,"web.Computers.23":`Disable automatic intake`,"web.Computers.24":`Enable automatic intake`,"web.Computers.25":`Archived`,"web.Computers.26":`New session`,"web.Computers.27":`Working directory`,"web.Computers.28":`Directory: `,"web.Computers.29":`Session name`,"web.Computers.30":`Session type`,"web.Computers.31":`Start your local shell in this directory, with your local user permissions.`,"web.Computers.32":`Import a previous session`,"web.Computers.33":`Connect directory`,"web.Computers.34":`Create`,"web.Computers.35":`Opening terminal…`,"web.Computers.36":`Terminal`,"web.Computers.37":`The terminal has ended or the computer has restarted. Open a new terminal.`,"web.Computers.38":`Connecting to terminal…`,"web.Computers.39":`Session actions`,"web.Computers.40":`Hide session`,"web.Computers.41":`Connect a dedicated group`,"web.Computers.42":`Execution directory`,"web.Computers.43":`Update the client to use multiple sessions and web conversations.`,"web.Computers.44":`Local conversation history`,"web.Computers.45":`Load earlier messages`,"web.Computers.46":`Native session connected. Send a message to continue.`,"web.Computers.47":`Start a conversation in this directory.`,"web.Computers.48":`Stop`,"web.Computers.49":``,"web.Computers.50":` questions need your confirmation`,"web.Computers.51":`Send a message to your local Agent`,"web.Computers.52":`Interrupt and send`,"web.Computers.53":`Queue`,"web.Computers.54":`Steer`,"web.Computers.55":`Send`,"web.Computers.56":`Session archived`,"web.Computers.57":`Message…`,"web.Computers.58":`This model will receive images as local file paths.`,"web.Computers.59":`Update your development client to add attachments`,"web.Computers.60":`No local execution directory registered yet.`,"web.Members.1":`Member actions`,"web.Members.2":`Refresh members`,"web.Members.3":` · WeCom not linked`,"web.Members.4":`Disconnect folder`,"web.Members.5":`Leave project`,"web.Files.1":`This file link is incomplete or its target is unavailable.`,"web.Files.2":`This file could not be found. It may have been deleted or moved.`,"web.Files.3":`This link is outside the workspace. Open it in the original repository.`,"web.Files.4":`Configuration files are not shown in the file browser.`,"web.Files.5":`File explorer`,"web.Files.6":`Refresh files`,"web.Files.7":`View workspace files`,"web.Files.8":`File actions`,"web.Files.9":`Path copied`,"web.Files.10":`Copy workspace-relative path`,"web.Files.11":`Could not copy the file path. Try again.`,"web.Assistant.1":`Untitled`,"web.Assistant.2":`Runtime notice`,"web.Assistant.3":`Project messages`,"web.Assistant.4":`Conversation disconnected. Reconnecting…`,"web.Assistant.5":`Chat with Tim`,"web.Assistant.6":`Message content`,"web.Assistant.7":`Channels`,"web.Assistant.8":`Chats`,"web.Assistant.9":`Mark all as read`,"web.Assistant.10":`New topic`,"web.Assistant.11":`New chat`,"web.Assistant.12":`Body`,"web.Assistant.13":`Start a topic…`,"web.Assistant.14":`Title`,"web.Assistant.15":`Shared with project · `,"web.Assistant.16":`Publish to WeCom channel`,"web.Assistant.17":`Needs confirmation · {{p0}}: {{p1}}`,"web.Assistant.18":`Unable to load the conversation`,"web.Assistant.19":`Responding`,"web.Assistant.20":`This response could not be completed.`,"web.Assistant.21":`What would you like to discuss about the project?`,"web.Assistant.22":`Ask Tim`,"web.Assistant.23":`Reply to message`,"web.Assistant.24":`Reply`,"web.Access.1":`Organized work. Connected teams. Teammy.`,"web.Access.2":`Sign in with your company account.`,"web.Access.3":`Create administrator`,"web.Access.4":`Welcome to Teammy`,"web.Access.5":`Create an administrator to start managing projects and members.`,"web.Access.6":`Storage connected`,"web.Access.7":`Worker running`,"web.Access.8":`Worker not ready`,"web.Access.9":`Sandbox available`,"web.Access.10":`Sandbox check failed`,"web.Access.11":`Checking sandbox`,"web.SiteSettings.1":`General`,"web.SiteSettings.2":`Endpoints`,"web.SiteSettings.3":`Users`,"web.SiteSettings.4":`WeCom`,"web.SiteSettings.5":`Synchronization and background tasks are managed by site administrators.`,"web.SiteSettings.6":`Default endpoint`,"web.SiteSettings.7":`Site default`,"web.Sessions.1":`Search conversation: {{p0}}`,"web.Sessions.2":`Search this conversation`,"web.Sessions.3":`Search conversations by {{p0}}`,"web.Sessions.4":`Conversation content and search`,"web.Sessions.5":`Refresh {{p0}}`,"web.Sessions.6":`Select a conversation to start reading`,"web.Sessions.7":`You can also search the session library below.`,"web.Sessions.8":`Search conversations`,"web.Sessions.9":`Search the session library`,"web.Sessions.10":`Handoff notes`,"web.Sessions.11":`Assistant`,"web.Sessions.12":`No matching conversations`,"web.Sessions.13":`Back to first page`,"web.Sessions.14":`This conversation or referenced version could not be found. The link may no longer be valid.`,"web.Sessions.15":`Loading conversation…`,"web.Sessions.16":` messages`,"web.Sessions.17":`· Referenced version `,"web.Sessions.18":`View latest`,"web.Sessions.19":`Summary needs updating`,"web.Sessions.20":`The referenced message is not in this version. The original conversation is shown instead.`,"web.Projects.1":`My projects`,"web.Projects.2":`Project actions`,"web.Projects.3":`Refresh projects`,"web.Projects.4":`New project`,"web.Projects.5":`No projects yet`,"web.Projects.6":`Create your first project to start collaborating.`,"web.Projects.7":`Ask a project member to add your ID.`,"web.Projects.8":`Description`,"web.Projects.9":`Existing workspace (optional)`,"web.Projects.10":`Enter the absolute teamcontext path on the server or in the container. You can connect a Git repository in project settings after creation.`,"web.Projects.11":`Create project`,"web.Settings.1":`Project details`,"web.Settings.2":`Groups and channels`,"web.Settings.3":`Devices and local Agents`,"web.Settings.4":`Messages and notifications`,"web.Settings.5":`Repository and workspace`,"web.Settings.6":`Agent runtime`,"web.Settings.7":`Service status`,"web.Settings.8":`{{p0}} · Settings`,"web.Settings.9":`Connected project folders`,"web.Settings.10":`{{p0}} downloaded; waiting for sessions to become idle`,"web.Settings.11":`Automatic client updates`,"web.Settings.12":`Automatic client updates · {{p0}}`,"web.Settings.13":`No device connected yet. Connect one to synchronize project files and collect Agent sessions.`,"web.Settings.14":`Connect client`,"web.Settings.15":`Install the client, then run the connection command in your project directory.`,"web.Settings.16":`Agent integration`,"web.Settings.17":`Project queries`,"web.Settings.18":`Give your Agent tools to query project resources.`,"web.Settings.19":`Download query skill`,"web.session-links.1":`This conversation link is incomplete or damaged.`,"web.MemberAction.1":`Used only in this project.`,"web.MemberAction.2":`Leaving stops synchronization for this project. Shared resources are preserved.`,"web.MemberAction.3":`Device`,"web.MemberAction.4":`Select device`,"web.MemberAction.5":`Disconnect `,"web.MemberAction.6":` from `,"web.MemberAction.7":`the selected device`,"web.MemberAction.8":` for this project.`,"web.MemberAction.9":`Local files, project resources and history are preserved. Running local Agents will not be stopped remotely; turn off synchronization and session collection in the original directory.`,"web.MemberAction.10":`Disconnect`,"web.SettingsTabs.1":`Settings categories`,"web.ComputerUserMessage.1":`You`,"web.ComputerUserMessage.2":`Edit earlier message`,"web.ComputerUserMessage.3":`Replace the conversation from this point; keep workspace files`,"web.ComputerUserMessage.4":`Cancel edit`,"web.ComputerUserMessage.5":`Rewinding`,"web.ComputerUserMessage.6":`Continue from here`,"web.ComputerUserMessage.7":`Copy message`,"web.ComputerUserMessage.8":`Edit and continue from here`,"web.QueuedMessage.1":`Queued`,"web.QueuedMessage.2":`Connecting`,"web.QueuedMessage.3":`Running`,"web.QueuedMessage.4":`Withdrawn`,"web.QueuedMessage.5":`Stopped`,"web.QueuedMessage.6":`Could not run`,"web.SessionTree.1":`Member conversations`,"web.AiProfiles.1":`Model endpoints`,"web.AiProfiles.2":`Model actions`,"web.AiProfiles.3":`Refresh model settings`,"web.AiProfiles.4":`Add model`,"web.AiProfiles.5":`No models configured yet.`,"web.AiProfiles.6":`Configure {{p0}}`,"web.AiProfiles.7":`Endpoints and keys are managed by administrators.`,"web.AiProfiles.8":`Team model`,"web.AiProfiles.9":`Model settings saved.`,"web.AiProfiles.10":`{{p0}} test passed · Input {{p1}} / Output {{p2}} tokens`,"web.AiProfiles.11":`Tool round trip`,"web.AiProfiles.12":`JSON Schema`,"web.AiProfiles.13":`Model configuration ID`,"web.AiProfiles.14":`Model name`,"web.AiProfiles.15":`Gateway protocol`,"web.AiProfiles.16":`Gateway URL`,"web.AiProfiles.17":`For example, https://gateway.example/v1. The server connects to this address.`,"web.AiProfiles.18":`Model ID`,"web.AiProfiles.19":`API key`,"web.AiProfiles.20":`Configured. Leave blank to keep the current key.`,"web.AiProfiles.21":`Optional for gateways that do not require a key.`,"web.AiProfiles.22":`Clear saved key`,"web.AiProfiles.23":`Allow new analysis jobs`,"web.AiProfiles.24":`Save model`,"web.AiProfiles.25":`Close configuration`,"web.AiProfiles.26":`Connection test`,"web.AiProfiles.27":`Test type`,"web.AiProfiles.28":`Save the model configuration first.`,"web.AiProfiles.29":`Uses the saved configuration and synthetic content.`,"web.AiProfiles.30":`Test`,"web.AiProfiles.31":`Reload model configuration`,"web.TerminalPane.1":`Could not copy the selected terminal content. Try again.`,"web.TerminalPane.2":`Working directory: `,"web.TerminalPane.3":`Find in terminal`,"web.TerminalPane.4":`Terminal actions`,"web.TerminalPane.5":`Clear screen`,"web.TerminalPane.6":`Close terminal`,"web.TerminalPane.7":`Find`,"web.TerminalPane.8":`Close search`,"web.TerminalPane.9":`Interactive terminal`,"web.TerminalPane.10":`Disconnected. Reconnecting…`,"web.TerminalPane.11":`This terminal has ended. Open a new terminal.`,"web.TerminalPane.12":`Process exited · {{p0}}`,"web.TerminalPane.13":`Connecting…`,"web.TerminalPane.14":`Close this terminal and all processes running in it?`,"web.TaskBoard.1":`By time`,"web.TaskBoard.2":`By member`,"web.TaskBoard.3":`Planned`,"web.TaskBoard.4":`In review`,"web.TaskBoard.5":`Unspecified`,"web.TaskBoard.6":`{{p0}} | Task board`,"web.TaskBoard.7":`Project home`,"web.TaskBoard.8":`Board filters and sorting`,"web.TaskBoard.9":`Only mine`,"web.TaskBoard.10":`Task order: {{p0}}`,"web.TaskBoard.11":`Task progress`,"web.TaskBoard.12":`Could not load`,"web.TaskBoard.13":`No tasks`,"web.TaskBoard.14":`Loading…`,"web.TaskBoard.15":`Collapse`,"web.TaskBoard.16":`Show {{p0}} more`,"web.TaskBoard.17":`Client update available `,"web.TaskBoard.18":`Needs confirmation`,"web.TaskBoard.19":`Correct task: {{p0}}`,"web.TaskBoard.20":`Goal`,"web.TaskBoard.21":`Goal not specified`,"web.TaskBoard.22":`Current progress`,"web.TaskBoard.23":`Resources synced `,"web.TaskBoard.24":`Copy task link`,"web.TaskBoard.25":`Could not copy the task link. Try again.`,"web.TaskBoard.26":`Task`,"web.TaskBoard.27":` · Archived`,"web.TaskBoard.28":`Just now`,"web.TaskBoard.29":`{{p0}} min`,"web.TaskBoard.30":`{{p0}} hr`,"web.TaskBoard.31":`{{p0}} d`,"web.TaskBoard.32":`Entered this status: {{p0}}`,"web.TaskBoard.33":`Time in current status: {{p0}}`,"web.TaskBoard.34":`Correct task`,"web.TaskBoard.35":`Status`,"web.TaskBoard.36":`In review: the deliverable has been submitted and is awaiting acceptance or final confirmation.`,"web.UsersSettings.1":`User details`,"web.UsersSettings.2":`Add user`,"web.UsersSettings.3":`After creating the account, add this user in project settings.`,"web.UsersSettings.4":` · Disabled`,"web.UsersSettings.5":`Change display name`,"web.UsersSettings.6":`Disable account`,"web.UsersSettings.7":`Enable account`,"web.UsersSettings.8":`User ID`,"web.UsersSettings.9":`Disabling {{p0}} prevents sign-in and synchronization for every project. History is preserved.`,"web.UsersSettings.10":`Restore sign-in for {{p0}}. Their client will need to reconnect.`,"web.DirectoryConnectDialog.1":`Connect a directory Agent`,"web.DirectoryConnectDialog.2":`Run in the target project directory:`,"web.DirectoryConnectDialog.3":`Register an execution directory on this computer`,"web.DirectoryConnectDialog.4":`No Teammy project connected`,"web.DirectoryConnectDialog.5":`Connect project`,"web.ProjectAgentSettings.1":`Load the project settings first.`,"web.ProjectAgentSettings.2":`Remote connection verified. See the download and submodule status above. The workspace will be imported when the download finishes.`,"web.ProjectAgentSettings.3":`Repository connection`,"web.ProjectAgentSettings.4":`Connect a repository to read code and work with PRs/MRs.`,"web.ProjectAgentSettings.5":`Git platform`,"web.ProjectAgentSettings.6":`Gongfeng`,"web.ProjectAgentSettings.7":`Repository URL`,"web.ProjectAgentSettings.8":`Gongfeng repository`,"web.ProjectAgentSettings.9":`GitHub repository`,"web.ProjectAgentSettings.10":`group/repository or project ID`,"web.ProjectAgentSettings.11":`API URL`,"web.ProjectAgentSettings.12":`Access and comment token`,"web.ProjectAgentSettings.13":`Use a personal access token with api permission. HTTPS cloning also requires read_repository.`,"web.ProjectAgentSettings.14":`The token needs permission to read the repository and post comments.`,"web.ProjectAgentSettings.15":`Configured; leave blank to keep it`,"web.ProjectAgentSettings.16":`PR/MR events`,"web.ProjectAgentSettings.17":`Webhook URL`,"web.ProjectAgentSettings.18":`Subscribe to merge request, comment and review events using the same secret token, then test and activate the webhook in Gongfeng. Save and check the repository first.`,"web.ProjectAgentSettings.19":`Use a JSON webhook in the repository. Subscribe to Pull requests, Issue comments, Pull request reviews and Pull request review comments.`,"web.ProjectAgentSettings.20":`Project SSH public key`,"web.ProjectAgentSettings.21":`Generated`,"web.ProjectAgentSettings.22":`Not generated`,"web.ProjectAgentSettings.23":`Add to your Gongfeng account's SSH keys`,"web.ProjectAgentSettings.24":`Add to the GitHub repository's deploy keys`,"web.ProjectAgentSettings.25":`Generate project public key`,"web.ProjectAgentSettings.26":`For SSH repositories, add the public key in Gongfeng under Personal settings → SSH keys. Access follows that account's permissions.`,"web.ProjectAgentSettings.27":`For SSH repositories, add the public key in GitHub under Settings → Deploy keys.`,"web.ProjectAgentSettings.28":`The server host key is recorded on first connection. Later changes will reject the connection.`,"web.ProjectAgentSettings.29":`Existing SSH credentials`,"web.ProjectAgentSettings.30":`SSH private key`,"web.ProjectAgentSettings.31":`Verified server host keys (known_hosts)`,"web.ProjectAgentSettings.32":`Reference repository refresh interval (seconds)`,"web.ProjectAgentSettings.33":`Leave blank to disable scheduled fetching.`,"web.ProjectAgentSettings.34":`Saved.`,"web.ProjectAgentSettings.35":`Connection check`,"web.ProjectAgentSettings.36":`Repository fetch`,"web.ProjectAgentSettings.37":`Save the configuration before checking the remote connection.`,"web.ProjectAgentSettings.38":`Save and check repository`,"web.ProjectAgentSettings.39":`Platform API`,"web.ProjectAgentSettings.40":`Check read access using the saved configuration.`,"web.ProjectAgentSettings.41":`Gongfeng / GitHub API is readable: {{p0}}.`,"web.ProjectAgentSettings.42":`Check saved API configuration`,"web.ProjectAgentSettings.43":`Model context window (tokens)`,"web.ProjectAgentSettings.44":`Compaction threshold (tokens)`,"web.ProjectAgentSettings.45":`Extra Pi process idle timeout (seconds)`,"web.ProjectAgentSettings.46":`Sandbox renewal interval when idle (seconds)`,"web.ProjectAgentSettings.47":`Leave blank to disable. Changes apply when the process becomes idle.`,"web.ProjectAgentSettings.48":`Runtime notice recipients`,"web.ErrorNotifications.1":`Error notifications`,"web.ErrorNotifications.2":`Dismiss notification`,"web.Sidebar.1":`Board`,"web.Sidebar.2":`{{p0}} unread messages`,"web.Sidebar.3":`User menu · {{p0}}`,"web.MessageComposer.1":`{{p0}} (Ctrl / ⌘ + Enter to queue)`,"web.MessageComposer.2":`Drop to add files`,"web.SessionLibrarySettings.1":`Update session library automatically`,"web.SessionLibrarySettings.2":`When off, new sessions are hidden from the library. Background collection continues.`,"web.SessionTitle.1":`Session title`,"web.SessionTitle.2":`Rename session`,"web.SessionTitle.3":`Rename session: {{p0}}`,"web.EventRoutingSettings.1":`Notified`,"web.EventRoutingSettings.2":`Handed off externally`,"web.EventRoutingSettings.3":`Replied`,"web.EventRoutingSettings.4":`Turn ended`,"web.EventRoutingSettings.5":`Not handed off`,"web.EventRoutingSettings.6":`Recorded`,"web.EventRoutingSettings.7":`You`,"web.EventRoutingSettings.8":`Local Agent`,"web.EventRoutingSettings.9":`Local inbox`,"web.EventRoutingSettings.10":`Computer session completed`,"web.EventRoutingSettings.11":`When work finishes, only mark the session unread in the session list.`,"web.EventRoutingSettings.12":`When work finishes, show an unread indicator on Computers in the main navigation.`,"web.EventRoutingSettings.13":`When work finishes, show an unread indicator in the main navigation and send the full response and session link through a WeCom private message.`,"web.EventRoutingSettings.14":`Computer session needs input`,"web.EventRoutingSettings.15":`Show questions, permission requests and plan confirmations only in the session.`,"web.EventRoutingSettings.16":`When a question, permission request or plan needs input, mark Computers and the session unread.`,"web.EventRoutingSettings.17":`When a question, permission request or plan needs input, mark it unread on the web and send a link to the card through a WeCom private message.`,"web.EventRoutingSettings.18":`Connections`,"web.EventRoutingSettings.19":`Loading`,"web.EventRoutingSettings.20":`Unavailable`,"web.EventRoutingSettings.21":`Not registered`,"web.EventRoutingSettings.22":`Registered`,"web.EventRoutingSettings.23":`Connected directories can receive work from Tim. Choose Local Agent as your handler to also let it handle incoming messages.`,"web.EventRoutingSettings.24":`Connect`,"web.EventRoutingSettings.25":`Manage`,"web.EventRoutingSettings.26":`Connected`,"web.EventRoutingSettings.27":`Awaiting connection`,"web.EventRoutingSettings.28":`Paused`,"web.EventRoutingSettings.29":`Disconnected`,"web.EventRoutingSettings.30":`Connect through the client so your own scripts or Agents can read messages.`,"web.EventRoutingSettings.31":`Manage inbox`,"web.EventRoutingSettings.32":`Connect inbox`,"web.EventRoutingSettings.33":`Connect`,"web.EventRoutingSettings.34":`Inbox: {{p0}}`,"web.EventRoutingSettings.35":`Hide command`,"web.EventRoutingSettings.36":`Add inbox`,"web.EventRoutingSettings.37":`Inbox skill`,"web.EventRoutingSettings.38":`Run in a project directory connected to Teammy. The inbox will appear automatically:`,"web.EventRoutingSettings.39":`Register local inbox`,"web.EventRoutingSettings.40":`Handler`,"web.EventRoutingSettings.41":`{{p0}} Adjust automatic handling and notifications for each message type below.`,"web.EventRoutingSettings.42":`Messages with automatic handling enabled go to your local Agent. You review and handle the rest.`,"web.EventRoutingSettings.43":`Local Agent is selected, but intake is currently unavailable.`,"web.EventRoutingSettings.44":`Messages with automatic handling enabled are saved to your local inbox. You review and handle the rest.`,"web.EventRoutingSettings.45":`The selected inbox is paused.`,"web.EventRoutingSettings.46":`You review and handle incoming messages.`,"web.EventRoutingSettings.47":`Messages only`,"web.EventRoutingSettings.48":`Inbox`,"web.EventRoutingSettings.49":` (paused)`,"web.EventRoutingSettings.50":`Message notifications`,"web.EventRoutingSettings.51":`Handle automatically`,"web.EventRoutingSettings.52":`Handle {{p0}} automatically`,"web.EventRoutingSettings.53":`{{p0}} notifications`,"web.EventRoutingSettings.54":`Don't copy me`,"web.EventRoutingSettings.55":`Don't notify`,"web.EventRoutingSettings.56":`Web`,"web.EventRoutingSettings.57":`Web + WeCom`,"web.EventRoutingSettings.58":` Browser notifications are also sent when you leave the session.`,"web.EventRoutingSettings.59":`Notifications`,"web.EventRoutingSettings.60":`No extra notifications`,"web.EventRoutingSettings.61":`Recently received`,"web.EventRoutingSettings.62":`Awaiting reply`,"web.EventRoutingSettings.63":`Ended`,"web.EventRoutingSettings.64":`Change handler`,"web.EventRoutingSettings.65":`Change handling`,"web.EventRoutingSettings.66":`I'll handle it`,"web.EventRoutingSettings.67":`Send to local Agent`,"web.LocalComposerControls.1":`Minimal`,"web.LocalComposerControls.2":`Low`,"web.LocalComposerControls.3":`Medium`,"web.LocalComposerControls.4":`High`,"web.LocalComposerControls.5":`Extra high`,"web.LocalComposerControls.6":`Maximum`,"web.LocalComposerControls.7":`Ultra`,"web.LocalComposerControls.8":`None`,"web.LocalComposerControls.9":`Select {{p0}}`,"web.LocalComposerControls.10":`Reasoning effort`,"web.LocalComposerControls.11":`Default · {{p0}}`,"web.LocalComposerControls.12":`Default model`,"web.LocalComposerControls.13":`Models unavailable`,"web.LocalComposerControls.14":`Model`,"web.LocalComposerControls.15":`Default {{p0}}`,"web.LocalComposerControls.16":`Effort`,"web.LocalComposerControls.17":`Commands and skills`,"web.LocalComposerControls.18":`No commands available yet`,"web.Conversation.1":`{{p0}} list`,"web.HtmlPreview.1":`{{p0}} preview`,"search.error.WEB_SEARCH_DISABLED":`Web search is disabled. Ask an administrator to configure it in global Settings → Endpoints.`,"search.error.WEB_SEARCH_CONFIG_CONFLICT":`Web search settings have changed. Refresh and try again.`,"search.error.WEB_SEARCH_KEY_REQUIRED":`Enter the API key for the selected search service.`,"search.error.WEB_SEARCH_READER_UNSUPPORTED":`A separate Reader URL is only supported for Jina.`,"search.error.WEB_READER_REQUIRED":`Configure the Jina Reader URL.`,"search.error.WEB_SEARCH_AUTH":`The search API key is invalid. Ask an administrator to update it.`,"search.error.WEB_SEARCH_BALANCE":`The search service account has insufficient credit.`,"search.error.WEB_SEARCH_FORBIDDEN":`The search service denied this request. Check access permissions or the target URL.`,"search.error.WEB_SEARCH_REQUEST":`The search request is invalid. Check the query or URL.`,"search.error.WEB_SEARCH_TIMEOUT":`The search request timed out. Try again later.`,"search.error.WEB_SEARCH_RATE_LIMIT":`The search service is rate limited. Try again later.`,"search.error.WEB_SEARCH_UNAVAILABLE":`The search service could not be reached. Try again later; this does not mean there are no results.`,"search.error.WEB_SEARCH_RESPONSE":`The search service returned an unusable or oversized response. Adjust the query and try again.`,"search.error.WEB_FETCH_UNAVAILABLE":`The page could not be retrieved. It may still exist; try opening or downloading it directly.`,"web.WebSearchSettings.1":`Saved. Subsequent tool calls will use the new configuration.`,"web.WebSearchSettings.2":`Connected · {{p0}} s`,"web.WebSearchSettings.3":`Web search`,"web.WebSearchSettings.4":`Enable web search`,"web.WebSearchSettings.5":`Search and read public web pages through the selected service. Pricing depends on the provider.`,"web.WebSearchSettings.provider":`Provider`,"web.WebSearchSettings.readerEndpoint":`Page reader URL`,"web.WebSearchSettings.readerHint":`Jina Reader uses a separate URL and the same API key as search.`,"web.WebSearchSettings.testMode":`Connection test`,"web.WebSearchSettings.searchTest":`Search`,"web.WebSearchSettings.fetchTest":`Read webpage`,"web.WebSearchSettings.readerConnected":`Page reader connected · {{p0}} s`,"web.WebSearchSettings.endpoint":`Search service URL`,"web.WebSearchSettings.endpointHint":`Uses the selected provider’s protocol. Custom URLs may include a path prefix. Enter a new key when changing the provider or either URL.`,"web.WebSearchSettings.6":`Saved; leave blank to keep it`,"web.WebSearchSettings.7":`Enter the API key for this search service`,"web.WebSearchSettings.8":`Saving…`,"web.WebSearchSettings.9":`Testing…`,"web.WebSearchSettings.10":`Test connection`,"web.WebSearchSettings.11":`Refresh configuration`,"web.WebSearchSettings.12":`Tests use the saved configuration. Verify search and page reading separately.`,"web.BrowserNotificationSettings.1":`This browser does not support system notifications. Use desktop Chrome or Edge over HTTPS.`,"web.BrowserNotificationSettings.2":`Notifications are blocked. Allow notifications in this site's browser settings.`,"web.BrowserNotificationSettings.3":`Get system notifications when you leave a session. Follows the two computer session settings below and applies only to this browser. Keep a Teammy page open.`,"web.BrowserNotificationSettings.4":`Browser notifications`,"web.BrowserNotificationSettings.5":`Not allowed`,"web.BrowserNotificationSettings.6":`Unavailable`,"web.InlineEdit.1":`Save {{p0}}`,"web.InlineEdit.2":`Cancel editing {{p0}}`,"web.InlineEdit.3":`Edit {{p0}}: {{p1}}`,"web.ProjectOnboarding.1":`Could not save that you have read the guide: {{p0}}`,"web.ComputerSettings.1":`Local Agent access is not available to you in this project`,"web.ComputerSettings.2":`No execution directories registered`,"web.ComputerSettings.3":`Directory settings: {{p0}}`,"web.ComputerSettings.4":`Directory name`,"web.ComputerSettings.5":`Waiting for the client to report its path`,"web.ComputerSettings.6":`Responsibilities`,"web.ComputerSettings.7":`Add directory responsibilities`,"web.ComputerSettings.8":`Session settings`,"web.ComputerSettings.9":`Session`,"web.ComputerSettings.10":`Select session`,"web.ComputerSettings.11":`Current path: `,"web.ComputerSettings.12":`Registered directory`,"web.ComputerSettings.13":`Dedicated group`,"web.ComputerSettings.14":`Waiting for group binding`,"web.ComputerSettings.15":`Regenerate`,"web.ComputerSettings.16":`Mention the bot in the target WeCom group and send:`,"web.ComputerSettings.17":`Group binding command`,"web.ProjectHealthPanel.1":`Worker · `,"web.ProjectHealthPanel.2":`Online`,"web.ProjectHealthPanel.3":`Offline`,"web.ProjectHealthPanel.4":`Not started`,"web.ProjectHealthPanel.5":`Model · `,"web.ProjectHealthPanel.6":`Configured`,"web.ProjectHealthPanel.7":`Not configured`,"web.ProjectHealthPanel.8":`Running · `,"web.ProjectHealthPanel.9":`Pending · `,"web.ProjectHealthPanel.10":`The worker is disconnected. Check the Worker process`,"web.ProjectHealthPanel.11":`; last online {{p0}}`,"web.ProjectHealthPanel.12":`Configure an available default model in model settings.`,"web.ProjectHealthPanel.13":`No processing failures`,"web.ProjectHealthPanel.14":`Resetting…`,"web.ProjectHealthPanel.15":`Reset retries`,"web.ProjectHealthPanel.16":`Attempts: `,"web.ProjectHealthPanel.17":``,"web.ProjectHealthPanel.18":`Waiting to retry`,"web.ProjectHealthPanel.19":`Processing failed`,"web.ProjectHealthPanel.20":`Next retry `,"web.ProjectHealthPanel.21":`Download related logs`,"web.Combobox.1":`No matching options.`,"web.Combobox.2":`Loading…`,"web.RuntimeStatus.1":`Background worker`,"web.RuntimeStatus.2":`Running`,"web.RuntimeStatus.3":`Not responding`,"web.RuntimeStatus.4":`No background worker detected`,"web.RuntimeStatus.5":`Last response: `,"web.RuntimeStatus.6":`Check that ai-worker is running in your deployment.`,"web.RuntimeStatus.7":`No repository configured`,"web.RuntimeStatus.8":`Waiting for repository download`,"web.RuntimeStatus.9":`Downloading repository`,"web.RuntimeStatus.10":`Fetching remote updates`,"web.RuntimeStatus.11":`Repository downloaded`,"web.RuntimeStatus.12":`Repository download failed`,"web.RuntimeStatus.13":`Repository download interrupted`,"web.RuntimeStatus.14":`Loading repository status…`,"web.RuntimeStatus.15":`Includes submodules enabled by default. You can leave this page while processing continues in the background.`,"web.RuntimeStatus.16":`Check diagnostic logs, repository and submodule permissions, and the network connection.`,"web.RuntimeStatus.17":`Waiting for a background retry.`,"web.RuntimeStatus.18":`Last completed: `,"web.SetupModel.1":`Saved as the site default endpoint.`,"web.SetupModel.2":`Connect model`,"web.SetupModel.3":`You can configure this later in settings.`,"web.SetupModel.4":`Protocol`,"web.SetupModel.5":`Endpoint URL`,"web.SetupModel.6":`Saved; leave blank to keep it.`,"web.SetupModel.7":`A deployment key is configured. Enter a new key if you change the endpoint URL.`,"web.SetupModel.8":`Leave blank for gateways that do not require a key.`,"web.SetupModel.9":`Connection test passed.`,"web.SetupModel.10":`Skip for now`,"web.NativeInteractionCard.1":`Expired`,"web.NativeInteractionCard.2":`Needs review`,"web.NativeInteractionCard.3":`Handled`,"web.NativeInteractionCard.4":`Allowed`,"web.NativeInteractionCard.5":`Denied`,"web.NativeInteractionCard.6":`Answered`,"web.NativeInteractionCard.7":`Please submit again`,"web.NativeInteractionCard.8":`Submitting`,"web.NativeInteractionCard.9":`Implementation plan`,"web.NativeInteractionCard.10":`View plan`,"web.NativeInteractionCard.11":`Start implementation: `,"web.NativeInteractionCard.12":`Feedback`,"web.NativeInteractionCard.13":`Describe the changes you want. The Agent will revise the plan and ask for confirmation again.`,"web.NativeInteractionCard.14":`Submit feedback`,"web.NativeInteractionCard.15":`Back to plan`,"web.NativeInteractionCard.16":`Allow`,"web.NativeInteractionCard.17":`Automatically allow this operation when the countdown ends`,"web.NativeInteractionCard.18":`Deny`,"web.NativeInteractionCard.19":`Answer`,"web.InlineReply.1":`Another answer`,"web.InlineReply.2":`Custom answer`,"web.InlineReply.3":`Send {{p0}}`,"web.WorkspaceTree.1":`Workspace files`,"web.SiteGeneralSettings.1":`Saved for all projects.`,"web.SiteGeneralSettings.2":`Synchronization and background tasks`,"web.SiteGeneralSettings.3":`Concurrent server tasks`,"web.SiteGeneralSettings.4":`Shared by project Agents, workspace analysis and session processing across the site. New tasks queue when the limit is reached.`,"web.SiteGeneralSettings.5":`Unlimited`,"web.SiteGeneralSettings.6":`Refresh synchronization and background task settings`,"web.SiteGeneralSettings.7":`Access URL`,"web.SiteGeneralSettings.8":`Public server URL`,"web.SiteGeneralSettings.9":`Includes the path prefix. Used for client connections, resource links and webhooks.`,"web.SiteGeneralSettings.10":`Save URL`,"web.ComputerMessages.1":`Less than 1 s`,"web.ComputerMessages.2":`{{p0}} min`,"web.ComputerMessages.3":`{{p0}} s`,"web.ComputerMessages.4":`Worked`,"web.ComputerMessages.5":`Execution failed`,"web.ComputerMessages.6":`Tool call`,"web.ComputerMessages.7":` tool calls`,"web.EventPreferences.1":`Unfollow topic`,"web.EventPreferences.2":`Follow topic`,"web.EventPreferences.3":`Sync proactive messages`,"web.EventPreferences.4":`Sync web messages and background progress to the dedicated group`,"web.EventPreferences.5":`Sync proactive messages to the dedicated group`,"web.Markdown.1":`View task`,"web.ProjectModelSettings.1":`Project default`,"web.FilePreview.1":`This file is temporarily unavailable.`,"web.FilePreview.2":`Image preview`,"web.FilePreview.3":`Previous image`,"web.FilePreview.4":`Next image`,"web.FilePreview.5":`Fit to window`,"web.FilePreview.6":`Original size`,"web.FilePreview.7":`Download file`,"web.FilePreview.8":`Loading file…`,"web.FilePreview.9":`Preview is not supported for this file.`,"web.FilePreview.10":` preview`,"web.FilePreview.11":`Showing only the beginning. Download the file to view it in full.`,"web.SessionHandoff.1":`Configure a project model endpoint first`,"web.SessionHandoff.2":`Processing incomplete; you can retry`,"web.SessionHandoff.3":`The conversation has new content. Waiting for an automatic update…`,"web.SessionHandoff.4":`Waiting for automatic processing…`,"web.SessionHandoff.5":`Handoff notes use the latest conversation; you are reading an earlier version`,"web.SessionHandoff.6":`Based on version `,"web.SessionImages.1":`Preview attachment {{p0}}`,"web.SessionImages.2":`Reload image`,"web.SessionImages.3":`Image unavailable`,"web.SessionImages.4":`Preview image {{p0}}`,"web.SessionImages.5":`Uploading {{p0}}`,"web.SessionImages.6":`Retry upload: {{p0}}`,"web.SessionImages.7":`Remove {{p0}} {{p1}}`,"web.SessionImages.8":`Attachment`,"web.SessionImages.9":`Choose attachment`,"web.SessionImages.10":`Choose image`,"web.SessionImages.11":`Add image`,"web.SessionImages.12":`Add an image, or paste or drop one`,"web.SessionImages.13":`Add an attachment, or paste or drop one`,"web.AiDefaultSelect.1":`{{p0}} default endpoint`,"web.AiDefaultSelect.2":`Configured · {{p0}}`,"web.AiDefaultSelect.3":`Endpoint disabled`,"web.AiDefaultSelect.4":`No default endpoint configured`,"web.AiDefaultSelect.5":`Not set`,"web.AiDefaultSelect.6":`Use site default{{p0}}`,"web.AiDefaultSelect.7":` (disabled)`,"web.AiDefaultSelect.8":`Save {{p0}} default endpoint`,"web.AiDefaultSelect.9":`The default endpoint is disabled. Select another endpoint.`,"web.AiDefaultSelect.10":`Reload`,"web.SessionStopButton.1":`Stopping`,"web.SessionStopButton.2":`Stop current turn`,"web.NativeHistoryDialog.1":`Could not load previous sessions.`,"web.NativeHistoryDialog.2":`No session found in this directory.`,"web.NativeHistoryDialog.3":`Previous session Agent`,"web.NativeHistoryDialog.4":`Previous sessions`,"web.NativeHistoryDialog.5":`Choose a session or enter its ID`,"web.NativeHistoryDialog.6":`No matching session. You can enter a Session ID directly.`,"web.NativeHistoryDialog.7":`No previous sessions in this directory. You can enter a Session ID.`,"web.NativeHistoryDialog.8":`Refresh previous sessions`,"web.NativeHistoryDialog.9":`Importing…`,"web.NativeHistoryDialog.10":`Open`,"web.NativeHistoryDialog.11":`Import`,"web.NativeHistoryDialog.12":`Exit the original terminal session first.`,"web.WecomSettings.1":`Not enabled`,"web.WecomSettings.2":`Connecting`,"web.WecomSettings.3":`Connection error`,"web.WecomSettings.4":`Saved. Connection status will update automatically.`,"web.WecomSettings.5":`WeCom bot`,"web.WecomSettings.6":`Bot connection`,"web.WecomSettings.7":`Use an API-mode bot with a persistent connection. Members can link their accounts in project settings.`,"web.WecomSettings.8":` · {{p0}} pending deliveries`,"web.WecomSettings.9":`Enable WeCom`,"web.WecomSettings.10":`Original messages remain on the web. WeCom receives notifications with synchronization enabled.`,"web.WecomSettings.11":`Enter the persistent-connection Secret`,"web.WecomSettings.12":`Project channel`,"web.WecomSettings.13":`Web topics sync to this channel, and replies sync both ways. The bot needs permission to receive all content and send proactive messages.`,"web.WecomSettings.14":`Channel for project matters`,"web.WecomSettings.15":`No channel`,"web.WecomSettings.16":` (unavailable)`,"web.WecomSettings.17":`Refreshing…`,"web.WecomSettings.18":` channel messages pending.`,"web.WecomSettings.19":`The site has not enabled a WeCom bot.`,"web.WecomSettings.20":`Personal account`,"web.WecomSettings.21":`Your account is connected to this project`,"web.WecomSettings.22":`Account linked, but not connected to this project`,"web.WecomSettings.23":`Not linked`,"web.WecomSettings.24":`Choose which notifications to sync to WeCom below. {{p0}}`,"web.WecomSettings.25":`{{p0}} deliveries pending.`,"web.WecomSettings.26":`You can receive selected notifications. Connect this project to also switch to it in WeCom private chats.`,"web.WecomSettings.27":`Send a binding code to Tim in a private chat to receive selected private notifications.`,"web.WecomSettings.28":`Disconnect this project`,"web.WecomSettings.29":`Regenerate binding code`,"web.WecomSettings.30":`Get binding code`,"web.WecomSettings.31":`Send this command to Tim in a private chat:`,"web.WecomSettings.32":`Binding message`,"web.WecomSettings.33":`Valid until `,"web.WecomSettings.34":`. Updates automatically after linking.`,"web.WecomSettings.35":`Group connections`,"web.WecomSettings.36":`{{p0}} groups connected`,"web.WecomSettings.37":`Add the bot to a group, then mention @Tim with the binding command. Group members can ask questions without linking personal accounts.`,"web.WecomSettings.38":`Processing…`,"web.WecomSettings.39":`Get group binding code`,"web.WecomSettings.40":`Mention @Tim in the group and send`,"web.WecomSettings.41":`Linked by: {{p0}}`,"web.WecomSettings.42":`Disconnect group`,"web.WecomSettings.43":`Only messages mentioning @Tim are received. Other group messages are not synchronized.`,"web.WorkspaceImportSettings.1":`Workspace initialization`,"web.WorkspaceImportSettings.2":`Connecting a repository imports its teamcontext automatically. You can also import a server directory. Original files and existing synchronized versions are preserved.`,"web.WorkspaceImportSettings.3":`Waiting for background import`,"web.WorkspaceImportSettings.4":`Importing workspace`,"web.WorkspaceImportSettings.5":`Waiting to resume import`,"web.WorkspaceImportSettings.6":`Identified {{p0}} members and imported {{p1}} files.`,"web.WorkspaceImportSettings.7":`Existing versions preserved: `,"web.WorkspaceImportSettings.8":`Shared resources`,"web.WorkspaceImportSettings.9":`Excluded from synchronization: `,"web.WorkspaceImportSettings.10":`The background worker is not responding. Check that ai-worker is running.`,"web.WorkspaceImportSettings.11":`Retry import`,"web.WorkspaceImportSettings.12":`Import from server directory`,"web.WorkspaceImportSettings.13":`Workspace path`,"web.WorkspaceImportSettings.14":`For container deployments, use the read-only mount path, such as /imports/my-project/teamcontext.`,"web.WorkspaceImportSettings.15":`Import workspace`,"web.notification-hints.1":`When Tim has a private notification for you`,"web.notification-hints.2":`When a collaboration request needs your attention`,"web.notification-hints.3":`When a task conflict or duplicate affects you`,"web.notification-hints.4":`When a code review has updates relevant to you`,"web.notification-hints.5":`When a channel message mentions you`,"web.notification-hints.6":`When a topic you follow has a new reply`,"web.notification-hints.7":`When a runtime or handoff issue affects you`,"web.notification-hints.8":`your local Agent handles it`,"web.notification-hints.9":`it is saved to your local inbox for your script or Agent to read`,"web.notification-hints.10":`no extra copy is sent to you`,"web.notification-hints.11":`no extra notification is sent`,"web.notification-hints.12":`{{p0}}Tim notifies you on the web and through a WeCom private message.`,"web.page-title.1":`Teammy workspace`,"web.main.1":`Setup`,"web.main.2":`Sign in`,"web.main.3":`Global settings`,"web.main.4":`Back to projects`,"web.session-attachment-drafts.1":`You can add up to {{p0}} images per message.`,"web.session-attachment-drafts.2":`You can add up to {{p0}} attachments per message.`,"web.session-attachment-drafts.3":`Choose a PNG, JPEG or WebP image no larger than 2 GB.`,"web.session-attachment-drafts.4":`Each attachment can be up to 2 GB.`,"web.session-attachment-drafts.5":`Could not read the attachment.`,"web.session-attachment-drafts.6":`Attachment reading cancelled.`,"web.browser-notifications.1":`Browser notifications are temporarily unavailable. Turn them on again.`,"web.Assistant.25":`Changes on hold`,"web.Assistant.26":` · WeCom`,"web.notification-hints.13":`The original channel message remains available.`,"web.notification-hints.14":`, and `,"web.notification-hints.15":`an unread indicator appears in the web channel.`,"web.notification-hints.16":`Tim notifies you on the web.`,"web.Combobox.3":`Expand`};function dd(e){for(let t of e){if(/^en(?:[-_]|$)/i.test(t))return`en`;if(/^zh(?:[-_]|$)/i.test(t))return`zh-CN`}return`zh-CN`}var fd=e=>Object.fromEntries(Object.entries(e).flatMap(([e,[t,n]])=>[[`diagnostic.${e}.title`,t],[`diagnostic.${e}.hint`,n]])),pd=e=>Object.fromEntries(Object.entries({...nd,...rd,...id}).map(([t,n])=>[t,n[e]])),md={"zh-CN":{translation:{...ld,...sd,...pd(0),...fd(ad)}},en:{translation:{...ud,...cd,...pd(1),...fd(od)}}};function hd(e){return td(e,md[`zh-CN`].translation,md.en.translation)}var gd={"zh-CN":hd(`zh-CN`),en:hd(`en`)};function _d(e,t,n){return gd[e].t(t,n??{})}function vd(e,t){return gd[e].exists(t.key)?_d(e,t.key,t.params):t.fallback}var yd=hd(`zh-CN`),bd=()=>yd.resolvedLanguage===`en`?`en`:`zh-CN`,Y=(e,t)=>yd.t(e,t?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,typeof t==`number`?t:String(t)])):{});function xd(e){let t=e===`system`?dd(navigator.languages):e;return yd.changeLanguage(t),document.documentElement.lang=t,t}var Sd={brand:`Teammy`,get navigation(){return Y(`web.labels.1`)},get filePreview(){return Y(`web.labels.2`)},get versionPicker(){return Y(`web.labels.3`)},get connectCommand(){return Y(`web.labels.4`)},get syncCommand(){return Y(`web.labels.5`)},get syncStopCommand(){return Y(`web.labels.6`)},get installCommandLabel(){return Y(`web.labels.7`)},get skipToMain(){return Y(`web.labels.8`)},get loading(){return Y(`web.labels.9`)},get retry(){return Y(`web.labels.10`)},get refresh(){return Y(`web.labels.11`)},get cancel(){return Y(`web.labels.12`)},get close(){return Y(`web.labels.13`)},get save(){return Y(`web.labels.14`)},get saving(){return Y(`web.labels.15`)},get next(){return Y(`web.labels.16`)},get back(){return Y(`web.labels.17`)},get confirm(){return Y(`web.labels.18`)},get logout(){return Y(`web.labels.19`)},get menu(){return Y(`web.labels.20`)},get files(){return Y(`web.labels.21`)},get dashboard(){return Y(`web.labels.22`)},get sessions(){return Y(`web.labels.23`)},get members(){return Y(`web.labels.24`)},get settings(){return Y(`web.labels.25`)},get account(){return Y(`web.labels.26`)},get project(){return Y(`web.labels.27`)},get projectName(){return Y(`web.labels.28`)},get description(){return Y(`web.labels.29`)},get address(){return Y(`web.labels.30`)},get addressHint(){return Y(`web.labels.31`)},get adminId(){return Y(`web.labels.32`)},get memberId(){return Y(`web.labels.33`)},get idHint(){return Y(`web.labels.34`)},get displayName(){return Y(`web.labels.35`)},get admin(){return Y(`web.labels.36`)},get member(){return Y(`web.labels.24`)},get enabled(){return Y(`web.labels.37`)},get disabled(){return Y(`web.labels.38`)},get login(){return Y(`web.labels.39`)},get loginTitle(){return Y(`web.labels.40`)},get loginHint(){return Y(`web.labels.41`)},get existing(){return Y(`web.labels.42`)},get choose(){return Y(`web.labels.43`)},get interval(){return Y(`web.labels.44`)},get settle(){return Y(`web.labels.45`)},get timingHint(){return Y(`web.labels.46`)},get scope(){return Y(`web.labels.47`)},get owner(){return Y(`web.labels.48`)},get noFiles(){return Y(`web.labels.49`)},get noFilesHint(){return Y(`web.labels.50`)},get pickFile(){return Y(`web.labels.51`)},get more(){return Y(`web.labels.52`)},get name(){return Y(`web.labels.53`)},get size(){return Y(`web.labels.54`)},get version(){return Y(`web.labels.55`)},get directoryVersion(){return Y(`web.labels.56`)},get latest(){return Y(`web.labels.57`)},get viewVersion(){return Y(`web.labels.58`)},get download(){return Y(`web.labels.59`)},get raw(){return Y(`web.labels.60`)},get rendered(){return Y(`web.labels.61`)},get previewUnavailable(){return Y(`web.labels.62`)},get previewLarge(){return Y(`web.labels.63`)},get readOnly(){return Y(`web.labels.64`)},get refreshFiles(){return Y(`web.labels.65`)},get remoteImage(){return Y(`web.labels.66`)},get addMember(){return Y(`web.labels.67`)},get editName(){return Y(`web.labels.68`)},get disableMember(){return Y(`web.labels.69`)},get enableMember(){return Y(`web.labels.70`)},get resetDevice(){return Y(`web.labels.71`)},get resetHint(){return Y(`web.labels.72`)},get disableHint(){return Y(`web.labels.73`)},get enableHint(){return Y(`web.labels.74`)},get bound(){return Y(`web.labels.75`)},get unbound(){return Y(`web.labels.76`)},get noContact(){return Y(`web.labels.77`)},get lastContact(){return Y(`web.labels.78`)},get lastPublished(){return Y(`web.labels.79`)},get noPublication(){return Y(`web.labels.80`)},get stale(){return Y(`web.labels.81`)},get applied(){return Y(`web.labels.82`)},get waiting(){return Y(`web.labels.83`)},get failed(){return Y(`web.labels.84`)},get received(){return Y(`web.labels.85`)},get saved(){return Y(`web.labels.86`)},get override(){return Y(`web.labels.87`)},get effective(){return Y(`web.labels.88`)},get syncResult(){return Y(`web.labels.89`)},get pending(){return Y(`web.labels.90`)},get clientVersion(){return Y(`web.labels.91`)},get syncIssues(){return Y(`web.labels.92`)},get statusHint(){return Y(`web.labels.93`)},get connectTitle(){return Y(`web.labels.94`)},get connectHint(){return Y(`web.labels.95`)},get connectAfter(){return Y(`web.labels.96`)},get install(){return Y(`web.labels.97`)},get installHint(){return Y(`web.labels.98`)},get copy(){return Y(`web.labels.99`)},get copied(){return Y(`web.labels.100`)},get copyFailed(){return Y(`web.labels.101`)},get configSaved(){return Y(`web.labels.102`)},get reloadConfig(){return Y(`web.labels.103`)},get configConflict(){return Y(`web.labels.104`)},get permissionHint(){return Y(`web.labels.105`)},get application(){return Y(`web.labels.106`)},get serverVersion(){return Y(`web.labels.107`)},get notReported(){return Y(`web.labels.108`)},get seconds(){return Y(`web.labels.109`)},errors:{get WEB_SEARCH_DISABLED(){return Y(`search.error.WEB_SEARCH_DISABLED`)},get WEB_SEARCH_CONFIG_CONFLICT(){return Y(`search.error.WEB_SEARCH_CONFIG_CONFLICT`)},get WEB_SEARCH_KEY_REQUIRED(){return Y(`search.error.WEB_SEARCH_KEY_REQUIRED`)},get WEB_SEARCH_READER_UNSUPPORTED(){return Y(`search.error.WEB_SEARCH_READER_UNSUPPORTED`)},get WEB_READER_REQUIRED(){return Y(`search.error.WEB_READER_REQUIRED`)},get WEB_SEARCH_AUTH(){return Y(`search.error.WEB_SEARCH_AUTH`)},get WEB_SEARCH_BALANCE(){return Y(`search.error.WEB_SEARCH_BALANCE`)},get WEB_SEARCH_FORBIDDEN(){return Y(`search.error.WEB_SEARCH_FORBIDDEN`)},get WEB_SEARCH_REQUEST(){return Y(`search.error.WEB_SEARCH_REQUEST`)},get WEB_SEARCH_TIMEOUT(){return Y(`search.error.WEB_SEARCH_TIMEOUT`)},get WEB_SEARCH_RATE_LIMIT(){return Y(`search.error.WEB_SEARCH_RATE_LIMIT`)},get WEB_SEARCH_UNAVAILABLE(){return Y(`search.error.WEB_SEARCH_UNAVAILABLE`)},get WEB_SEARCH_RESPONSE(){return Y(`search.error.WEB_SEARCH_RESPONSE`)},get WEB_FETCH_UNAVAILABLE(){return Y(`search.error.WEB_FETCH_UNAVAILABLE`)},get LOGIN_INVALID(){return Y(`auth.invalid`)},get LOGIN_RETRY_LATER(){return Y(`auth.retryLater`)},get SETUP_TOKEN_REQUIRED(){return Y(`auth.tokenRequired`)},get INVITE_EXPIRED(){return Y(`auth.expired`)},get OIDC_HTTPS_REQUIRED(){return Y(`auth.httpsRequired`)},get OIDC_CONFIG_REQUIRED(){return Y(`auth.configRequired`)},get GIT_IDENTITY_SCOPE_CHANGED(){return Y(`git.scopeChanged`)},get GIT_IDENTITY_CONFLICT(){return Y(`git.conflict`)},get GIT_IDENTITY_LOOKUP_FAILED(){return Y(`git.lookupFailed`)},get GIT_IDENTITY_NOT_FOUND(){return Y(`git.lookupFailed`)},get LANGUAGE_CHANGED(){return Y(`language.conflict`)},get AI_DEFAULT_REQUIRED(){return Y(`web.labels.110`)},get AI_PROFILE_DISABLED(){return Y(`web.labels.111`)},get AI_CONFIG_CONFLICT(){return Y(`web.labels.112`)},get SITE_ADMIN_REQUIRED(){return Y(`web.labels.113`)},get USER_NOT_FOUND(){return Y(`web.labels.114`)},get USER_EXISTS(){return Y(`web.labels.115`)},get PROJECT_NOT_FOUND(){return Y(`web.labels.116`)},get PROJECT_REQUIRED(){return Y(`web.labels.117`)},get PROJECT_MISMATCH(){return Y(`web.labels.118`)},get UNKNOWN_MEMBER(){return Y(`web.labels.119`)},get LOGIN_REQUIRED(){return Y(`web.labels.120`)},get ADMIN_REQUIRED(){return Y(`web.labels.121`)},get STALE_CONFIG(){return Y(`web.labels.122`)},get STALE_MEMBER(){return Y(`web.labels.123`)},get LAST_ADMIN(){return Y(`web.labels.124`)},get MEMBER_EXISTS(){return Y(`web.labels.125`)},get ALREADY_INITIALIZED(){return Y(`web.labels.126`)},get INVALID_REQUEST(){return Y(`web.labels.127`)},get INVALID_RESPONSE(){return Y(`web.labels.128`)},get GATEWAY_ERROR(){return Y(`web.labels.129`)},get FORBIDDEN(){return Y(`web.labels.130`)},get INVALID_REVISION(){return Y(`web.labels.131`)}}};function Cd(e){let t=e.replace(/\s+/g,` `).trim()||Y(`web.labels.132`),n=Array.from(t);return n.length>56?n.slice(0,56).join(``)+`…`:t}function wd(){return document.querySelector(`meta[name="teammy-base-path"]`)?.content??``}function Td(e){let t=wd();return!e.startsWith(`/`)||e.startsWith(`//`)||!t||e===t||e.startsWith(t+`/`)||e.startsWith(t+`?`)?e:t+e}function Ed(){let e=wd();return e&&(location.pathname===e||location.pathname.startsWith(e+`/`))?location.pathname.slice(e.length)||`/`:location.pathname}function Dd(e,t,n=``){return Td(`/projects/${encodeURIComponent(e)}/help?${new URLSearchParams({doc:t})}${n}`)}function Od(){return location.origin+wd()}var kd=class extends Error{code;status;constructor(e,t,n){super(t),this.code=e,this.status=n}},Ad;async function X(e,t,n={}){let r=n.method??`GET`,i=n.body instanceof Blob?n.body:void 0,a=await fetch(Td(`/api/v1/${e}`),{method:r===`PATCH`?`POST`:r,headers:{accept:`application/json`,...r===`PATCH`?{"x-http-method-override":`PATCH`}:{},...n.body===void 0?{}:{"content-type":i?`application/octet-stream`:`application/json`},...r===`GET`?{}:{"x-teammy-web":`1`}},body:i??(n.body===void 0?void 0:JSON.stringify(n.body)),signal:n.signal?AbortSignal.any([n.signal,AbortSignal.timeout(n.timeoutMs??15e3)]):AbortSignal.timeout(n.timeoutMs??15e3),credentials:`same-origin`}),o=a.headers.get(`x-teammy-data-generation`);if(o){let e=Ad!==void 0&&Ad!==o;Ad=o,e&&window.dispatchEvent(new Event(`teammy:data-reset`))}let s=await a.json().catch(()=>{throw new kd(`INVALID_RESPONSE`,``,a.status)});if(s?.Response?.Error)throw new kd(`GATEWAY_ERROR`,``,a.status);if(!a.ok){let e=new kd(s?.error?.code??`HTTP_ERROR`,s?.error?.message??`HTTP ${a.status}`,a.status);throw e.code===`LOGIN_REQUIRED`&&window.dispatchEvent(new Event(`teammy:logout`)),e}let c=t.safeParse(s);if(!c.success)throw new kd(`INVALID_RESPONSE`,``,a.status);return c.data}var jd={clientDistribution:e=>X(`client/distribution`,G({source:Hu,automaticUpdates:U()}),{signal:e}),clientLatest:e=>X(`client/latest`,G({version:B().min(1),versions:W(B()).default([])}),{signal:e}),server:e=>X(`server`,Ku,{signal:e}),projects:e=>X(`projects`,Fu,{signal:e}),setup:e=>X(`setup`,Du,{signal:e}),session:e=>X(`web/session`,Au,{signal:e}),login:(e,t)=>X(`web/session`,Au,{method:`POST`,body:{id:e,...t===void 0?{}:{password:t}}}),logout:()=>X(`web/session`,G({ok:U()}),{method:`DELETE`})};function Md(e){return{config:t=>e(`project/config`,Tu,{signal:t}),members:t=>e(`web/members`,G({members:W(ku)}),{signal:t}),devices:t=>e(`web/devices`,ed,{signal:t}),file:(t,n,r,i)=>e(`files/${encodeURIComponent(t)}/entry?${new URLSearchParams({path:n,...r===void 0?{}:{revision:String(r)}})}`,Su,{signal:i}),tree:(t,n,r,i,a)=>e(`files/${encodeURIComponent(t)}/tree?${new URLSearchParams({path:n,after:i,limit:`100`,...r===void 0?{}:{revision:String(r)}})}`,xu,{signal:a})}}function Nd(e){return e instanceof kd?Sd.errors[e.code]??e.message:e instanceof Ec?Sd.errors.INVALID_REQUEST:e instanceof Error?e.message:String(e)}function Pd(e){return e instanceof kd?JSON.stringify([e.code,e.status,e.message]):e instanceof Error?JSON.stringify([e.name,e.message]):String(e??``)}function Fd(e){return`'${e.replaceAll(`'`,`'\\''`)}'`}function Id(){let e=crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e,e=>e.toString(16).padStart(2,`0`)).join(``);return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}async function Ld(e,t,n){let r=await fetch(Td(`${n}/blobs/${e.sha256}`),{signal:AbortSignal.any([t,AbortSignal.timeout(pu)])});if(!r.ok)throw r.status===401&&window.dispatchEvent(new Event(`teammy:logout`)),new kd(`HTTP_ERROR`,`HTTP ${r.status}`,r.status);let i=await r.arrayBuffer();if(i.byteLength!==e.size)throw Error(`File size mismatch.`);let a;try{a=new TextDecoder(`utf-8`,{fatal:!0}).decode(i)}catch{throw Error(Sd.previewUnavailable)}if(a.includes(`\0`))throw Error(Sd.previewUnavailable);return a}var Rd=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),zd=o(((e,t)=>{t.exports=Rd()})),Z=zd(),Bd=(0,f.createContext)(null),Vd=e=>`teammy:language:${wd()}:${e??`guest`}`;function Hd(e){try{let t=cu.safeParse(JSON.parse(localStorage.getItem(Vd(e))??`null`));return t.success?t.data:void 0}catch{return}}function Ud(e,t){try{localStorage.setItem(Vd(e),JSON.stringify(t))}catch{}}var Wd=()=>Hd()??{uiLanguage:`system`,resolvedLocale:`zh-CN`,revision:0};function Gd({children:e}){let[t,n]=(0,f.useState)(),[r,i]=(0,f.useState)(()=>{let e=Wd();return xd(e.uiLanguage),e}),[a,o]=(0,f.useState)(!1),s=(0,f.useRef)(t),c=(0,f.useRef)(0),l=(0,f.useRef)(!1),u=(0,f.useRef)(r),d=(0,f.useCallback)(e=>{e!==s.current&&(s.current=e,c.current++,l.current=!1,o(!1),n(e))},[]),p=(0,f.useCallback)(e=>{u.current=e,i(e),xd(e.uiLanguage)},[]);return(0,f.useEffect)(()=>{let e=new AbortController;p(Hd(t)??Wd());async function n(){if(!t||document.hidden||l.current)return;let n=++c.current,r=()=>!e.signal.aborted&&n===c.current&&s.current===t;try{let n=await X(`web/language`,cu,{signal:e.signal});if(!r())return;p(n),Ud(t,n);let i=bd();if(n.uiLanguage===`system`&&(n.resolvedLocale!==i||n.revision===0)){if(n=await X(`web/language`,cu,{method:`PATCH`,signal:e.signal,body:{uiLanguage:`system`,resolvedLocale:i,expectedRevision:n.revision}}),!r())return;p(n),Ud(t,n)}}catch{}}n();let r=e=>{if(e.key!==Vd(t)||l.current)return;let n=Hd(t);n&&(c.current++,p(n))},i=()=>{xd(u.current.uiLanguage),n()};return window.addEventListener(`storage`,r),window.addEventListener(`languagechange`,i),window.addEventListener(`focus`,n),()=>{e.abort(),window.removeEventListener(`storage`,r),window.removeEventListener(`languagechange`,i),window.removeEventListener(`focus`,n)}},[t,p]),(0,Z.jsx)(Ct,{i18n:yd,children:(0,Z.jsx)(Bd.Provider,{value:{value:r.uiLanguage,busy:a,account:d,select:async e=>{if(l.current)return;let t=s.current,n=u.current,r=++c.current,i=xd(e),a={uiLanguage:e,resolvedLocale:i,revision:n.revision};if(p(a),!t)Ud(void 0,a);else{l.current=!0,o(!0);try{let a=await X(`web/language`,cu,{method:`PATCH`,body:{uiLanguage:e,resolvedLocale:i,expectedRevision:n.revision}});if(r!==c.current)return;p(a),Ud(t,a)}catch(e){if(r!==c.current)return;throw p(n),e}finally{r===c.current&&(l.current=!1,o(!1))}}}},children:e})})}function Q(){return St(),bd()}function Kd(){Q();let[e,t]=(0,f.useState)(()=>()=>``),n=(0,f.useCallback)(e=>{t(()=>typeof e==`string`?()=>e:e)},[]);return[e(),n]}function qd(){return Q(),(0,f.useContext)(Bd)}function Jd(e){let{account:t}=(0,f.useContext)(Bd);(0,f.useEffect)(()=>{t(e)},[t,e])}var Yd=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.1`})),Xd=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Yd()})),Zd=class{values=new Map;get(e){return this.values.get(e)}set(e,t){this.values.set(e,t)}delete(e){this.values.delete(e)}},Qd=(0,f.createContext)(void 0);function $d({children:e}){Q();let[{cache:t,generation:n},r]=(0,f.useState)(()=>({cache:new Zd,generation:0}));return(0,f.useEffect)(()=>{let e=()=>{let e=new URL(location.href);for(let t of[`chat`,`message`])e.searchParams.delete(t);history.replaceState(history.state,``,e),r(e=>({cache:new Zd,generation:e.generation+1}))};return window.addEventListener(`teammy:data-reset`,e),()=>window.removeEventListener(`teammy:data-reset`,e)},[]),(0,Z.jsx)(Qd.Provider,{value:t,children:(0,Z.jsx)(f.Fragment,{children:e},n)})}var ef=()=>(0,f.useContext)(Qd),tf=(...e)=>JSON.stringify(e);function nf(e,t=!1,n){Q();let r=ef(),i=n??e,a=()=>n?r?.get(n):void 0,[o,s]=(0,f.useState)(()=>({source:i,data:a(),error:null,loading:!0})),c=o.source===i?o:{source:i,data:a(),error:null,loading:!0},l=(0,f.useRef)(null),u=(0,f.useRef)(0),d=(0,f.useCallback)(async t=>{l.current?.abort();let o=new AbortController;l.current=o;let c=++u.current;s(e=>({source:i,data:e.source===i?e.data:a(),error:t&&e.source===i?e.error:``,loading:!0}));try{let t=await e(o.signal);c===u.current&&(n&&r?.set(n,t),s({source:i,data:t,error:``,loading:!1}))}catch(e){if(!o.signal.aborted&&c===u.current){let t=e instanceof kd&&[401,403,404].includes(e.status);t&&n&&r?.delete(n),s(n=>({...n,data:t?void 0:n.data,error:n.error&&Pd(n.error)===Pd(e)?n.error:e}))}}finally{c===u.current&&(s(e=>({...e,loading:!1})),l.current=null)}},[e,n,r]),p=(0,f.useCallback)(()=>d(!1),[d]);return(0,f.useEffect)(()=>{p();let e=()=>{!document.hidden&&!l.current&&d(!0)},n=t?setInterval(e,typeof t==`number`?t:3e4):void 0;return t&&document.addEventListener(`visibilitychange`,e),()=>{u.current++,l.current?.abort(),l.current=null,clearInterval(n),document.removeEventListener(`visibilitychange`,e)}},[p,d,t]),{data:c.data,error:c.error?Nd(c.error):``,rawError:c.error,loading:c.loading,reload:p}}function rf(){return nf(jd.clientLatest,3e5)}function af(){let[e]=(0,f.useState)(()=>new AbortController);return(0,f.useEffect)(()=>()=>e.abort(),[e]),e.signal}async function of(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.activeElement,n=window.getSelection(),r=n?Array.from({length:n.rangeCount},(e,t)=>n.getRangeAt(t).cloneRange()):[],i=document.createElement(`textarea`);i.value=e,i.readOnly=!0,i.style.cssText=`position:fixed;left:0;top:0;opacity:0;pointer-events:none;`,(t?.closest(`dialog[open]`)??document.body).append(i);try{if(i.focus({preventScroll:!0}),i.select(),!document.execCommand(`copy`))throw Error(`Clipboard copy was denied.`)}finally{if(i.remove(),t instanceof HTMLElement&&t.focus({preventScroll:!0}),n){n.removeAllRanges();for(let e of r)n.addRange(e)}}}var sf=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function cf(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:sf(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var lf=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},uf=e=>{let t=lf(e);return t.charAt(0).toUpperCase()+t.slice(1)},df=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),ff={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function pf(e){return e!=null}function mf(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??ff.width,a=e.size??e.height??ff.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?df(...c):df(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??ff[`stroke-width`])*Number(e.size??e.width??ff.width)/Number(t.size??t.width??ff.width):t.strokeWidth??ff[`stroke-width`];return[`svg`,{...Object.entries(ff).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&pf(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&pf(t.width)&&{[r(`width`)]:t.width},...`height`in t&&pf(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function hf(e,t={}){return mf(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var gf=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},_f=(0,f.createContext)({}),vf=()=>(0,f.useContext)(_f),yf=(0,f.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},p)=>{let{size:m=24,strokeWidth:h=2,absoluteStrokeWidth:ee=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=vf()??{},y=!!c||gf(d),[b,x,te=[]]=hf(u,{color:e??_,width:n??t??m,height:r??t??m,strokeWidth:i??h,absoluteStrokeWidth:a??ee,nonScalingStroke:o??g,className:df(v,s),hasA11yProp:y,attributes:d});return(0,f.createElement)(b,{ref:p,...x},[...te.map(([e,t])=>(0,f.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function $(e,t=[],n=[]){let r=typeof e==`string`?cf(e,t,n):e,i=(0,f.forwardRef)(({className:e,...t},n)=>(0,f.createElement)(yf,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=uf(r.name)),i}var bf={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};bf.node;var xf=$(bf),Sf={name:`archive`,size:24,node:[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]};Sf.node;var Cf=$(Sf),wf={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};wf.node;var Tf=$(wf),Ef={name:`bell`,size:24,node:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}]]};Ef.node;var Df=$(Ef),Of={name:`book-open`,size:24,node:[[`path`,{d:`M12 5v16`,key:`1f6ucr`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`,key:`1fyvmf`}]]};Of.node;var kf=$(Of),Af={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 01-3-4 4.17 4.17 0 01-3 4`,key:`5nuw1p`}],[`path`,{d:`M17.707 6.294A3 3 0 1012 5a3 3 0 10-5.707 1.294`,key:`18ldcf`}],[`path`,{d:`M17.996 5.125a4 4 0 012.526 5.77`,key:`1sdu8q`}],[`path`,{d:`M18 18a4 4 0 002-7.465`,key:`7xqqvr`}],[`path`,{d:`M19.967 17.482a4 4 0 11-7.967.517 4 4 0 11-7.967-.517`,key:`t46ysz`}],[`path`,{d:`M6 18a4 4 0 01-2-7.465`,key:`1y2m15`}],[`path`,{d:`M6.004 5.125a4 4 0 00-2.526 5.77`,key:`3cw1ss`}]]};Af.node;var jf=$(Af),Mf={name:`brush-cleaning`,size:24,node:[[`path`,{d:`m16 22-1-4`,key:`1ow2iv`}],[`path`,{d:`M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1`,key:`11gii7`}],[`path`,{d:`M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z`,key:`bju7h4`}],[`path`,{d:`m8 22 1-4`,key:`s3unb`}]]};Mf.node;var Nf=$(Mf),Pf={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};Pf.node;var Ff=$(Pf),If={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};If.node;var Lf=$(If),Rf={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Rf.node;var zf=$(Rf),Bf={name:`chevron-up`,size:24,node:[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]};Bf.node;var Vf=$(Bf),Hf={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};Hf.node;var Uf=$(Hf),Wf={name:`circle-question-mark`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`help-circle`,`circle-help`]};Wf.node;var Gf=$(Wf),Kf={name:`clipboard-paste`,size:24,node:[[`path`,{d:`M11 14h10`,key:`1w8e9d`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v1.344`,key:`1e62lh`}],[`path`,{d:`m17 18 4-4-4-4`,key:`z2g111`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113`,key:`bjbb7m`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,key:`ublpy`}]]};Kf.node;var qf=$(Kf),Jf={name:`clock-3`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]};Jf.node;var Yf=$(Jf),Xf={name:`code-xml`,size:24,node:[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]],aliases:[`code-2`]};Xf.node;var Zf=$(Xf),Qf={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};Qf.node;var $f=$(Qf),ep={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};ep.node;var tp=$(ep),np={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};np.node;var rp=$(np),ip={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};ip.node;var ap=$(ip),op={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};op.node;var sp=$(op),cp={name:`file-code`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]};cp.node;var lp=$(cp),up={name:`file-image`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]};up.node;var dp=$(up),fp={name:`file-plus-corner`,size:24,node:[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]],aliases:[`file-plus-2`]};fp.node;var pp=$(fp),mp={name:`file-spreadsheet`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]};mp.node;var hp=$(mp),gp={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};gp.node;var _p=$(gp),vp={name:`folder-open`,size:24,node:[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]};vp.node;var yp=$(vp),bp={name:`folder`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};bp.node;var xp=$(bp),Sp={name:`funnel`,size:24,node:[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]],aliases:[`filter`]};Sp.node;var Cp=$(Sp),wp={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};wp.node;var Tp=$(wp),Ep={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};Ep.node;var Dp=$(Ep),Op={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};Op.node;var kp=$(Op),Ap={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};Ap.node;var jp=$(Ap),Mp={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};Mp.node;var Np=$(Mp),Pp={name:`list-plus`,size:24,node:[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M18 9v6`,key:`1twb98`}],[`path`,{d:`M21 12h-6`,key:`bt1uis`}]]};Pp.node;var Fp=$(Pp),Ip={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};Ip.node;var Lp=$(Ip),Rp={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};Rp.node;var zp=$(Rp),Bp={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};Bp.node;var Vp=$(Bp),Hp={name:`message-circle`,size:24,node:[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]};Hp.node;var Up=$(Hp),Wp={name:`messages-square`,size:24,node:[[`path`,{d:`M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z`,key:`1n2ejm`}],[`path`,{d:`M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1`,key:`1qfcsi`}]]};Wp.node;var Gp=$(Wp),Kp={name:`minimize-2`,size:24,node:[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]};Kp.node;var qp=$(Kp),Jp={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};Jp.node;var Yp=$(Jp),Xp={name:`paperclip`,size:24,node:[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]};Xp.node;var Zp=$(Xp),Qp={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};Qp.node;var $p=$(Qp),em={name:`pin`,size:24,node:[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]};em.node;var tm=$(em),nm={name:`plug`,size:24,node:[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]};nm.node;var rm=$(nm),im={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};im.node;var am=$(im),om={name:`refresh-cw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]};om.node;var sm=$(om),cm={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};cm.node;var lm=$(cm),um={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};um.node;var dm=$(um),fm={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};fm.node;var pm=$(fm),mm={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]};mm.node;var hm=$(mm),gm={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};gm.node;var _m=$(gm),vm={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};vm.node;var ym=$(vm),bm={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};bm.node;var xm=$(bm),Sm={name:`text-align-start`,size:24,node:[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M17 19H3`,key:`z6ezky`}]],aliases:[`text`,`align-left`]};Sm.node;var Cm=$(Sm),wm={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};wm.node;var Tm=$(wm),Em={name:`user-round-check`,size:24,node:[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`,key:`bjp14o`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]],aliases:[`user-check-2`]};Em.node;var Dm=$(Em),Om={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};Om.node;var km=$(Om),Am={name:`user-round-x`,size:24,node:[[`path`,{d:`m16.5 16.5 5 5`,key:`zc9lw7`}],[`path`,{d:`M2 21a8 8 0 0 1 11.531-7.18`,key:`x5izle`}],[`path`,{d:`m21.5 16.5-5 5`,key:`1empo3`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}]],aliases:[`user-x-2`]};Am.node;var jm=$(Am),Mm={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};Mm.node;var Nm=$(Mm),Pm={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Pm.node;var Fm=$(Pm),Im={name:`zoom-in`,size:24,node:[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]};Im.node;var Lm=$(Im),Rm={name:`zoom-out`,size:24,node:[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]};Rm.node;var zm=$(Rm),Bm=Xd(),Vm=(0,f.createContext)(null),Hm=(0,f.createContext)(!0),Um=(0,f.createContext)(null),Wm=()=>(0,f.useContext)(Um);function Gm({visible:e,children:t}){Q();let n=(0,f.useContext)(Hm);return(0,Z.jsx)(Hm.Provider,{value:n&&e,children:t})}function Km({children:e}){Q();let[t,n]=(0,f.useState)([]),[r,i]=(0,f.useState)([]),a=(0,f.useCallback)((e,t,r)=>{n(n=>{let i=n.find(t=>t.source===e);if(Pd(i?.message)===Pd(t)&&i?.retry===r)return n;let a=i?n.filter(e=>e!==i):n;return t?[...a,{source:e,message:t,retry:r}]:a})},[]),o=(0,f.useCallback)(e=>{n(t=>t.filter(t=>Pd(t.message)!==Pd(e)))},[]),s=(0,f.useCallback)(e=>(i(t=>[...t,e]),()=>i(t=>t.filter(t=>t!==e))),[]),c=(0,f.useMemo)(()=>{let e=new Map;for(let n of t)(!e.has(Pd(n.message))||n.retry)&&e.set(Pd(n.message),n);return[...e.values()].slice(0,3)},[t]);return(0,Z.jsxs)(Vm.Provider,{value:a,children:[(0,Z.jsx)(Um.Provider,{value:s,children:e}),c.length>0&&(0,Bm.createPortal)((0,Z.jsx)(`aside`,{className:`error-notifications`,"aria-label":Y(`web.ErrorNotifications.1`),children:c.map(e=>(0,Z.jsx)(qm,{entry:e,dismiss:o},e.source))}),r.at(-1)??document.body)]})}function qm({entry:{message:e,retry:t},dismiss:n}){Q();let[r,i]=(0,f.useState)(!1),[a,o]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{if(r||a||t)return;let i=window.setTimeout(()=>n(e),8e3);return()=>window.clearTimeout(i)},[e,n,r,a,t]),(0,Z.jsxs)(`div`,{className:`error-toast`,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),children:[(0,Z.jsx)(Uf,{"aria-hidden":`true`,size:16,strokeWidth:1.5}),(0,Z.jsxs)(`div`,{className:`error-toast-body`,children:[(0,Z.jsx)(`span`,{role:`alert`,children:Nd(e)}),t&&(0,Z.jsx)(`button`,{type:`button`,className:`error-retry`,onClick:t,children:Y(`web.labels.10`)})]}),(0,Z.jsx)(`button`,{className:`error-toast-close`,type:`button`,"aria-label":Y(`web.ErrorNotifications.2`),onClick:()=>n(e),children:(0,Z.jsx)(Fm,{"aria-hidden":`true`,size:14,strokeWidth:1.5})})]})}function Jm(){let e=(0,f.useContext)(Vm),t=(0,f.useId)(),n=(0,f.useContext)(Hm),r=(0,f.useRef)(!0);return(0,f.useEffect)(()=>(r.current=n,()=>{r.current=!1,e(t,``)}),[e,t,n]),(0,f.useCallback)((i,a)=>{r.current&&n&&e(t,i,a)},[e,t,n])}function Ym({message:e,retry:t}){let n=Jm();return(0,f.useEffect)(()=>{n(e??``,t)},[n,e,t]),null}function Xm({children:e,retry:t,announce:n=!1}){return Q(),e?(0,Z.jsxs)(`div`,{className:`error-detail`,children:[(0,Z.jsx)(`span`,{role:n?`alert`:void 0,children:e}),t&&(0,Z.jsx)(`button`,{type:`button`,className:`error-retry`,onClick:t,children:Y(`web.labels.10`)})]}):null}function Zm({resource:e}){return Q(),e.error?e.data===void 0?(0,Z.jsx)(Xm,{announce:!0,retry:e.reload,children:e.error}):(0,Z.jsx)(Ym,{message:e.rawError??e.error}):null}var Qm=new URL(`teammy-logo-light-B6BoNVcp.svg`,import.meta.url).href,$m=new URL(`teammy-logo-dark-GROHRRMa.svg`,import.meta.url).href,eh=new URL(`teammy-y-standard-light-Bl5D78Uj.svg`,import.meta.url).href,th=new URL(`teammy-y-standard-dark-C4LRaRpE.svg`,import.meta.url).href,nh={light:{logo:Qm,standard:eh,focus:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20role='img'%20aria-labelledby='title%20desc'%3e%3ctitle%20id='title'%3eteammy-y-focus-light%3c/title%3e%3cdesc%20id='desc'%3eteammy%20v02%20y%20mascot,%20focus%20pose,%20transparent%20background;%20for%20light%20backgrounds.%3c/desc%3e%3cg%20transform='translate(112%2060)%20scale(1.3)'%3e%3cg%20id='y-pose'%20transform='rotate(-3%20111.0%20302)'%3e%3cpath%20id='y-body'%20fill='%23FD523A'%20fill-rule='evenodd'%20d='M%2049.317%20300.497%20C%2028.532%20295.979%2018.688%20282.992%2023.472%20266.402%20C%2026.05%20257.459%2033.188%20245.557%2064.462%20198.05%20C%2073.677%20184.052%2081.395%20172.127%2081.613%20171.55%20C%2081.831%20170.972%2078.97%20168.935%2075.255%20167.022%20C%2065.861%20162.185%2050.569%20146.814%2041.34%20132.932%20C%2029.015%20114.392%2010.878%2075.899%203.443%2052.5%20C%201.197%2045.434%200.575%2041.566%200.546%2034.5%20C%200.514%2026.44%200.839%2024.805%203.66%2018.841%20C%207.579%2010.555%2013.474%204.715%2020.613%202.044%20C%2029.833%20-1.406%2039.061%20-0.444%2046.837%204.779%20C%2054.765%2010.103%2057.482%2015.595%2066.49%2044.5%20C%2083.08%2097.73%2096.468%20117.452%20112.993%20113.002%20C%20118.444%20111.534%20127.482%20103.119%20133.012%2094.364%20C%20142.105%2079.966%20149.119%2064.195%20159.042%2035.835%20C%20167.649%2011.235%20170.163%207.091%20179.22%202.578%20C%20183.328%200.531%20185.863%20-0%20191.537%200%20C%20203.952%200%20214.157%206.698%20219.622%2018.435%20C%20222.964%2025.612%20222.934%2037.364%20219.549%2047.449%20C%20216.06%2057.842%20204.241%2083.895%20194.889%20101.805%20C%20181.005%20128.395%20171.321%20144.622%20133.006%20205.5%20C%20113.066%20237.182%20105%20250.137%20105%20250.478%20C%20105%20250.627%20111.412%20250.979%20119.25%20251.262%20C%20135.581%20251.85%20142.206%20253.486%20147.663%20258.277%20C%20156.782%20266.284%20156.024%20279.688%20145.965%20288.298%20C%20138.721%20294.498%20128.637%20297.41%20103.721%20300.494%20C%2088.557%20302.372%2057.948%20302.373%2049.317%20300.497%20Z'/%3e%3cg%20fill='%23161615'%20transform='translate(2.5%203)'%3e%3cpath%20id='y-eye-1'%20d='M%20107%2045.5%20C%20107%2054.613%20102.075%2062%2096%2062%20C%2089.925%2062%2085%2054.613%2085%2045.5%20C%2085%2036.387%2089.925%2029%2096%2029%20C%20102.075%2029%20107%2036.387%20107%2045.5%20Z'/%3e%3cpath%20id='y-eye-2'%20d='M%20139%2045.5%20C%20139%2054.613%20134.075%2062%20128%2062%20C%20121.925%2062%20117%2054.613%20117%2045.5%20C%20117%2036.387%20121.925%2029%20128%2029%20C%20134.075%2029%20139%2036.387%20139%2045.5%20Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e`,respond:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20role='img'%20aria-labelledby='title%20desc'%3e%3ctitle%20id='title'%3eteammy-y-respond-light%3c/title%3e%3cdesc%20id='desc'%3eteammy%20v02%20y%20mascot,%20respond%20pose,%20transparent%20background;%20for%20light%20backgrounds.%3c/desc%3e%3cg%20transform='translate(112%2060)%20scale(1.3)'%3e%3cg%20id='y-pose'%20transform='rotate(2.5%20111.0%20302)'%3e%3cpath%20id='y-body'%20fill='%23FD523A'%20fill-rule='evenodd'%20d='M%2049.317%20300.497%20C%2028.532%20295.979%2018.688%20282.992%2023.472%20266.402%20C%2026.05%20257.459%2033.188%20245.557%2064.462%20198.05%20C%2073.677%20184.052%2081.395%20172.127%2081.613%20171.55%20C%2081.831%20170.972%2078.97%20168.935%2075.255%20167.022%20C%2065.861%20162.185%2050.569%20146.814%2041.34%20132.932%20C%2029.015%20114.392%2010.878%2075.899%203.443%2052.5%20C%201.197%2045.434%200.575%2041.566%200.546%2034.5%20C%200.514%2026.44%200.839%2024.805%203.66%2018.841%20C%207.579%2010.555%2013.474%204.715%2020.613%202.044%20C%2029.833%20-1.406%2039.061%20-0.444%2046.837%204.779%20C%2054.765%2010.103%2057.482%2015.595%2066.49%2044.5%20C%2083.08%2097.73%2096.468%20117.452%20112.993%20112.856%20C%20118.444%20111.12%20127.482%20101.716%20133.012%2091.812%20C%20142.105%2074.963%20149.119%2057.285%20159.042%2027.157%20C%20167.649%201.542%20170.163%20-2.773%20179.22%20-7.422%20C%20183.328%20-9.469%20185.863%20-10%20191.537%20-10%20C%20203.952%20-10%20214.157%20-3.302%20219.622%208.435%20C%20222.964%2015.612%20222.934%2027.364%20219.549%2037.449%20C%20216.06%2047.842%20204.241%2075.158%20194.889%2095.806%20C%20181.005%20126.785%20171.321%20144.508%20133.006%20205.5%20C%20113.066%20237.182%20105%20250.137%20105%20250.478%20C%20105%20250.627%20111.412%20250.979%20119.25%20251.262%20C%20135.581%20251.85%20142.206%20253.486%20147.663%20258.277%20C%20156.782%20266.284%20156.024%20279.688%20145.965%20288.298%20C%20138.721%20294.498%20128.637%20297.41%20103.721%20300.494%20C%2088.557%20302.372%2057.948%20302.373%2049.317%20300.497%20Z'/%3e%3cg%20fill='%23161615'%20transform='translate(0%20-1.5)'%3e%3cpath%20id='y-eye-1'%20d='M%20107%2045.5%20C%20107%2054.613%20102.075%2062%2096%2062%20C%2089.925%2062%2085%2054.613%2085%2045.5%20C%2085%2036.387%2089.925%2029%2096%2029%20C%20102.075%2029%20107%2036.387%20107%2045.5%20Z'/%3e%3cpath%20id='y-eye-2'%20d='M%20139%2045.5%20C%20139%2054.613%20134.075%2062%20128%2062%20C%20121.925%2062%20117%2054.613%20117%2045.5%20C%20117%2036.387%20121.925%2029%20128%2029%20C%20134.075%2029%20139%2036.387%20139%2045.5%20Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e`},dark:{logo:$m,standard:th,focus:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20role='img'%20aria-labelledby='title%20desc'%3e%3ctitle%20id='title'%3eteammy-y-focus-dark%3c/title%3e%3cdesc%20id='desc'%3eteammy%20v02%20y%20mascot,%20focus%20pose,%20transparent%20background;%20for%20dark%20backgrounds.%3c/desc%3e%3cg%20transform='translate(112%2060)%20scale(1.3)'%3e%3cg%20id='y-pose'%20transform='rotate(-3%20111.0%20302)'%3e%3cpath%20id='y-body'%20fill='%23FD523A'%20fill-rule='evenodd'%20d='M%2049.317%20300.497%20C%2028.532%20295.979%2018.688%20282.992%2023.472%20266.402%20C%2026.05%20257.459%2033.188%20245.557%2064.462%20198.05%20C%2073.677%20184.052%2081.395%20172.127%2081.613%20171.55%20C%2081.831%20170.972%2078.97%20168.935%2075.255%20167.022%20C%2065.861%20162.185%2050.569%20146.814%2041.34%20132.932%20C%2029.015%20114.392%2010.878%2075.899%203.443%2052.5%20C%201.197%2045.434%200.575%2041.566%200.546%2034.5%20C%200.514%2026.44%200.839%2024.805%203.66%2018.841%20C%207.579%2010.555%2013.474%204.715%2020.613%202.044%20C%2029.833%20-1.406%2039.061%20-0.444%2046.837%204.779%20C%2054.765%2010.103%2057.482%2015.595%2066.49%2044.5%20C%2083.08%2097.73%2096.468%20117.452%20112.993%20113.002%20C%20118.444%20111.534%20127.482%20103.119%20133.012%2094.364%20C%20142.105%2079.966%20149.119%2064.195%20159.042%2035.835%20C%20167.649%2011.235%20170.163%207.091%20179.22%202.578%20C%20183.328%200.531%20185.863%20-0%20191.537%200%20C%20203.952%200%20214.157%206.698%20219.622%2018.435%20C%20222.964%2025.612%20222.934%2037.364%20219.549%2047.449%20C%20216.06%2057.842%20204.241%2083.895%20194.889%20101.805%20C%20181.005%20128.395%20171.321%20144.622%20133.006%20205.5%20C%20113.066%20237.182%20105%20250.137%20105%20250.478%20C%20105%20250.627%20111.412%20250.979%20119.25%20251.262%20C%20135.581%20251.85%20142.206%20253.486%20147.663%20258.277%20C%20156.782%20266.284%20156.024%20279.688%20145.965%20288.298%20C%20138.721%20294.498%20128.637%20297.41%20103.721%20300.494%20C%2088.557%20302.372%2057.948%20302.373%2049.317%20300.497%20Z'/%3e%3cg%20fill='%23FFFFFF'%20transform='translate(2.5%203)'%3e%3cpath%20id='y-eye-1'%20d='M%20107%2045.5%20C%20107%2054.613%20102.075%2062%2096%2062%20C%2089.925%2062%2085%2054.613%2085%2045.5%20C%2085%2036.387%2089.925%2029%2096%2029%20C%20102.075%2029%20107%2036.387%20107%2045.5%20Z'/%3e%3cpath%20id='y-eye-2'%20d='M%20139%2045.5%20C%20139%2054.613%20134.075%2062%20128%2062%20C%20121.925%2062%20117%2054.613%20117%2045.5%20C%20117%2036.387%20121.925%2029%20128%2029%20C%20134.075%2029%20139%2036.387%20139%2045.5%20Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e`,respond:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20role='img'%20aria-labelledby='title%20desc'%3e%3ctitle%20id='title'%3eteammy-y-respond-dark%3c/title%3e%3cdesc%20id='desc'%3eteammy%20v02%20y%20mascot,%20respond%20pose,%20transparent%20background;%20for%20dark%20backgrounds.%3c/desc%3e%3cg%20transform='translate(112%2060)%20scale(1.3)'%3e%3cg%20id='y-pose'%20transform='rotate(2.5%20111.0%20302)'%3e%3cpath%20id='y-body'%20fill='%23FD523A'%20fill-rule='evenodd'%20d='M%2049.317%20300.497%20C%2028.532%20295.979%2018.688%20282.992%2023.472%20266.402%20C%2026.05%20257.459%2033.188%20245.557%2064.462%20198.05%20C%2073.677%20184.052%2081.395%20172.127%2081.613%20171.55%20C%2081.831%20170.972%2078.97%20168.935%2075.255%20167.022%20C%2065.861%20162.185%2050.569%20146.814%2041.34%20132.932%20C%2029.015%20114.392%2010.878%2075.899%203.443%2052.5%20C%201.197%2045.434%200.575%2041.566%200.546%2034.5%20C%200.514%2026.44%200.839%2024.805%203.66%2018.841%20C%207.579%2010.555%2013.474%204.715%2020.613%202.044%20C%2029.833%20-1.406%2039.061%20-0.444%2046.837%204.779%20C%2054.765%2010.103%2057.482%2015.595%2066.49%2044.5%20C%2083.08%2097.73%2096.468%20117.452%20112.993%20112.856%20C%20118.444%20111.12%20127.482%20101.716%20133.012%2091.812%20C%20142.105%2074.963%20149.119%2057.285%20159.042%2027.157%20C%20167.649%201.542%20170.163%20-2.773%20179.22%20-7.422%20C%20183.328%20-9.469%20185.863%20-10%20191.537%20-10%20C%20203.952%20-10%20214.157%20-3.302%20219.622%208.435%20C%20222.964%2015.612%20222.934%2027.364%20219.549%2037.449%20C%20216.06%2047.842%20204.241%2075.158%20194.889%2095.806%20C%20181.005%20126.785%20171.321%20144.508%20133.006%20205.5%20C%20113.066%20237.182%20105%20250.137%20105%20250.478%20C%20105%20250.627%20111.412%20250.979%20119.25%20251.262%20C%20135.581%20251.85%20142.206%20253.486%20147.663%20258.277%20C%20156.782%20266.284%20156.024%20279.688%20145.965%20288.298%20C%20138.721%20294.498%20128.637%20297.41%20103.721%20300.494%20C%2088.557%20302.372%2057.948%20302.373%2049.317%20300.497%20Z'/%3e%3cg%20fill='%23FFFFFF'%20transform='translate(0%20-1.5)'%3e%3cpath%20id='y-eye-1'%20d='M%20107%2045.5%20C%20107%2054.613%20102.075%2062%2096%2062%20C%2089.925%2062%2085%2054.613%2085%2045.5%20C%2085%2036.387%2089.925%2029%2096%2029%20C%20102.075%2029%20107%2036.387%20107%2045.5%20Z'/%3e%3cpath%20id='y-eye-2'%20d='M%20139%2045.5%20C%20139%2054.613%20134.075%2062%20128%2062%20C%20121.925%2062%20117%2054.613%20117%2045.5%20C%20117%2036.387%20121.925%2029%20128%2029%20C%20134.075%2029%20139%2036.387%20139%2045.5%20Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e`}};function rh({compact:e=!1,background:t=`light`}){return Q(),(0,Z.jsx)(`div`,{className:`brand ${e?`brand-compact`:``}`,children:(0,Z.jsx)(`img`,{src:nh[t][e?`standard`:`logo`],alt:`Teammy`})})}function ih({pose:e=`focus`,background:t=`light`}){return Q(),(0,Z.jsx)(`img`,{className:`mascot mascot-${e}`,src:nh[t][e],alt:``,"aria-hidden":`true`})}function ah({name:e,small:t=!1}){return Q(),(0,Z.jsx)(`span`,{className:`avatar ${t?`small`:``}`,"aria-hidden":`true`,children:Array.from(e)[0]?.toUpperCase()})}function oh({children:e}){return Q(),(0,Z.jsx)(`span`,{className:`count`,children:e})}function sh({title:e,description:t,icon:n,mascot:r=!1,children:i}){return Q(),(0,Z.jsxs)(`div`,{className:`empty-state`,children:[r?(0,Z.jsx)(ih,{}):n?(0,Z.jsx)(vh,{name:n}):null,(0,Z.jsx)(`h3`,{children:e}),t&&(0,Z.jsx)(`p`,{children:t}),i]})}function ch({title:e,count:t,children:n}){return Q(),(0,Z.jsxs)(`div`,{className:`section-heading`,children:[(0,Z.jsxs)(`h2`,{children:[e,t!==void 0&&(0,Z.jsx)(oh,{children:t})]}),n]})}function lh({label:e,children:t}){return Q(),(0,Z.jsx)(`div`,{className:`toolbar-actions`,role:`group`,"aria-label":e,children:t})}function uh({children:e}){return Q(),e?(0,Z.jsx)(`div`,{"data-testid":`notice`,"data-kind":`info`,className:`notice`,role:`status`,children:e}):null}function dh({id:e,name:t,label:n,hint:r,children:i}){Q();let a=[i.props[`aria-describedby`],r?`${e}-hint`:void 0].filter(Boolean).join(` `)||void 0;return(0,Z.jsxs)(`label`,{className:`field`,htmlFor:e,children:[(0,Z.jsx)(`span`,{id:`${e}-label`,children:n}),(0,f.cloneElement)(i,{id:e,name:t??i.props.name??e,"data-testid":e,"aria-labelledby":`${e}-label`,"aria-describedby":a}),r&&(0,Z.jsx)(`small`,{id:`${e}-hint`,children:r})]})}function fh({title:e,description:t,children:n}){return Q(),(0,Z.jsxs)(`header`,{className:`page-header`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`h1`,{children:e}),t&&(0,Z.jsx)(`p`,{children:t})]}),n]})}function ph({id:e,title:t,label:n,actions:r,onKeyDown:i,children:a,onClose:o}){Q();let s=(0,f.useRef)(null),c=Wm();return(0,f.useEffect)(()=>{let e=document.activeElement,t=s.current;t.showModal();let n=c?.(t);return()=>{n?.(),t.close(),e?.focus()}},[c]),(0,Z.jsx)(`dialog`,{id:e,"data-testid":e,"aria-labelledby":n?void 0:`${e}-title`,"aria-label":n,ref:s,onKeyDown:i,onCancel:e=>{e.preventDefault(),o()},onClick:e=>{e.target===e.currentTarget&&o()},children:(0,Z.jsxs)(`div`,{className:`dialog-content`,children:[(0,Z.jsxs)(`header`,{className:`dialog-header`,children:[(0,Z.jsx)(`h2`,{id:`${e}-title`,children:t}),r,(0,Z.jsx)(xh,{icon:`close`,label:Sd.close,"data-testid":`dialog-close`,onClick:o})]}),a]})})}function mh({id:e,label:t,value:n}){Q();let[r,i]=(0,f.useState)(``),a=Jm();return(0,Z.jsxs)(`div`,{children:[(0,Z.jsxs)(`div`,{className:`command`,"data-testid":e,children:[(0,Z.jsx)(`code`,{"data-testid":`${e}-value`,children:n}),(0,Z.jsx)(xh,{icon:`copy`,"data-testid":`${e}-copy`,label:`${Sd.copy}${t}`,onClick:async()=>{try{a(``),await of(n),i(Sd.copied)}catch{i(``),a(Sd.copyFailed)}}})]}),r&&(0,Z.jsx)(`small`,{"data-testid":`${e}-feedback`,role:`status`,children:r})]})}function hh({value:e}){return Q(),e?(0,Z.jsx)(`time`,{dateTime:e,children:new Date(e).toLocaleString(bd(),{hour12:!1})}):(0,Z.jsx)(`span`,{children:`—`})}var gh={clear:Nf,assistant:_m,messages:Up,channels:Gp,pin:tm,more:ap,computers:Yp,archive:Cf,send:Tf,activity:xf,dashboard:jp,home:Tp,clock:Yf,warning:Tm,command:xm,sessions:Gp,message:Up,files:xp,materials:kf,memory:jf,question:Gf,folderOpen:yp,chevronUp:Vf,chevronDown:Lf,members:Nm,settings:pm,help:Gf,filter:Cp,compact:qp,stop:ym,restore:lm,refresh:sm,loading:Lp,chevron:zf,file:_p,text:Cm,link:Np,attachment:Zp,image:Dp,paste:qf,zoomIn:Lm,zoomOut:zm,imageFile:dp,spreadsheetFile:hp,codeFile:lp,addText:Fp,addFile:pp,download:rp,code:Zf,preview:sp,sparkles:_m,close:Fm,plus:am,edit:$p,device:Yp,disable:jm,enable:Dm,reset:kp,menu:Vp,logout:zp,account:km,copy:$f,general:hm,connect:rm,model:tp,check:Ff,search:dm,notifications:Df,attention:Uf},_h={small:16,normal:24,navigation:38};function vh({name:e,size:t=`normal`}){Q();let n=gh[e];return(0,Z.jsx)(n,{className:`icon`,size:_h[t],strokeWidth:2,absoluteStrokeWidth:!0,"aria-hidden":`true`})}var yh={channels:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`path`,{d:`M4.3 2.3h9.5a2.3 2.3 0 0 1 2.3 2.3v5.8a2.3 2.3 0 0 1-2.3 2.3H6.9l-3.5 2.9a.85.85 0 0 1-1.4-.65V4.6a2.3 2.3 0 0 1 2.3-2.3Z`}),(0,Z.jsx)(`path`,{d:`M18 8.5h1.8a2.2 2.2 0 0 1 2.2 2.2v10a.85.85 0 0 1-1.4.65L17.4 19h-7.2A2.2 2.2 0 0 1 8 16.8v-2.2h5.8a4.2 4.2 0 0 0 4.2-4.2Z`})]}),materials:(0,Z.jsx)(`path`,{d:`M2 5a2 2 0 0 1 2-2h3.1c1.6 0 2.9.45 4 1.3v16.4a6.4 6.4 0 0 0-3.9-1.2H4a2 2 0 0 1-2-2Zm20 0a2 2 0 0 0-2-2h-3.1c-1.6 0-2.9.45-4 1.3v16.4a6.4 6.4 0 0 1 3.9-1.2H20a2 2 0 0 0 2-2Z`}),help:(0,Z.jsx)(`path`,{fillRule:`evenodd`,d:`M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0ZM8.5 8.9a3.6 3.6 0 0 1 7 .9c0 1.8-1.3 2.7-2.4 3.5-.5.4-.6.7-.6 1.3h-1.8c0-1.4.5-2.1 1.5-2.8 1-.7 1.5-1.2 1.5-2a1.8 1.8 0 0 0-3.5-.45ZM13 17.2a1.15 1.15 0 1 1-2.3 0 1.15 1.15 0 0 1 2.3 0Z`}),settings:(0,Z.jsx)(`path`,{fillRule:`evenodd`,d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.32-1.915ZM15.4 12a3.4 3.4 0 1 1-6.8 0 3.4 3.4 0 0 1 6.8 0Z`})};function bh({name:e,selected:t}){Q();let n=t&&yh[e];return n?(0,Z.jsx)(`svg`,{className:`icon`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,Z.jsx)(`g`,{stroke:`none`,children:n})}):(0,Z.jsx)(vh,{name:e})}function xh({label:e,icon:t,tooltip:n=t!==`refresh`,className:r=``,variant:i=`ghost`,...a}){return Q(),(0,Z.jsx)(`button`,{type:`button`,...a,className:`icon-button ${i===`primary`?`primary`:``} ${r}`,"aria-label":e,"data-tooltip":n===!0?e:n||void 0,children:(0,Z.jsx)(vh,{name:t})})}function Sh({id:e,label:t,trigger:n,triggerId:r,className:i=``,disabled:a=!1,placement:o=`bottom`,align:s=`start`,routeKey:c,children:l,open:u,onOpenChange:d,focusFirst:p=!0}){let m=Q(),[h,ee]=(0,f.useState)(!1),g=u??h,_=e=>{ee(e),d?.(e)},v=(0,f.useRef)(null),y=(0,f.useRef)(null),b=(0,f.useRef)(!1),x=(0,f.useRef)(null),[te,S]=(0,f.useState)();return(0,f.useLayoutEffect)(()=>{if(!g)return;let e=()=>{if(!y.current||!x.current)return;let e=y.current.getBoundingClientRect(),{width:t,height:n}=x.current.getBoundingClientRect(),r=Math.max(0,e.top-16),i=Math.max(0,innerHeight-e.bottom-16),a=o===`top`?r:i,c=a<Math.min(n,200)&&(o===`top`?i:r)>a,l=o===`top`?!c:c;S({position:`fixed`,top:l?`auto`:Math.max(8,e.bottom+8),bottom:l?Math.max(8,innerHeight-e.top+8):`auto`,left:Math.max(8,Math.min(s===`end`?e.right-t:e.left,innerWidth-t-8)),right:`auto`,maxHeight:`min(var(--dropdown-max-height, 70dvh), ${l?r:i}px)`})};e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0);let t=new ResizeObserver(e);return y.current&&t.observe(y.current),x.current&&t.observe(x.current),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0),t.disconnect()}},[g,o,s,m]),(0,f.useEffect)(()=>_(!1),[c]),(0,f.useEffect)(()=>{if(!g)return;let e=v.current?.querySelectorAll(`[role="menuitem"]:not(:disabled)`);p&&e?.[b.current?e.length-1:0]?.focus();let t=e=>{v.current?.contains(e.target)||_(!1)};return document.addEventListener(`pointerdown`,t),()=>document.removeEventListener(`pointerdown`,t)},[g]),(0,Z.jsxs)(`div`,{className:`dropdown ${i}`,ref:v,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||_(!1)},onKeyDown:e=>{e.key===`Escape`&&g&&(e.stopPropagation(),_(!1),y.current?.focus())},children:[(0,Z.jsx)(`button`,{ref:y,type:`button`,disabled:a,className:`dropdown-trigger`,"data-testid":r,"aria-label":t,"aria-haspopup":`menu`,"aria-expanded":g,"aria-controls":e,onClick:()=>{b.current=!1,_(!g)},onKeyDown:e=>{(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(e.preventDefault(),b.current=e.key===`ArrowUp`,_(!0))},children:n}),g&&(0,Z.jsx)(`div`,{id:e,ref:x,style:te,className:`dropdown-menu`,role:`menu`,"aria-label":t,"data-testid":e,onMouseDown:e=>{e.button===0&&e.preventDefault()},onKeyDown:e=>{let t=[...e.currentTarget.querySelectorAll(`[role="menuitem"]:not(:disabled)`)],n=t.indexOf(document.activeElement),r=e.key===`ArrowDown`?(n+1)%t.length:e.key===`ArrowUp`?(n+t.length-1)%t.length:e.key===`Home`?0:e.key===`End`?t.length-1:void 0;r!==void 0&&(e.preventDefault(),t[r]?.focus())},children:l(()=>{_(!1),y.current?.focus()})})]})}function Ch(e){return/^(?:\/[^/?#]+)*\/(?:projects\/[^/?#]+\/(?:dashboard|assistant|messages|channels|computers|files|materials|help|memory|sessions|members|settings)(?:[?#]|$)|api\/v1\/projects\/|downloads\/teammy(?:-inbox)?-skill\.zip(?:[?#]|$))/.test(e)}function wh(e,t,n){return`/projects/${encodeURIComponent(e)}/files?${new URLSearchParams({owner:t,path:n})}`}function Th(e,t){return`/projects/${encodeURIComponent(e)}/dashboard?${new URLSearchParams({task:t})}`}function Eh(e,t,n,r={}){let i=new URLSearchParams({owner:t,sessionKey:n});return r.revision!==void 0&&i.set(`revision`,String(r.revision)),r.source===`handoff`?i.set(`source`,`handoff`):r.messageId&&i.set(`messageId`,r.messageId),`/projects/${encodeURIComponent(e)}/sessions?${i}`}export{wd as $,s as $t,rf as A,J as At,Kd as B,K as Bt,Xm as C,Vu as Ct,Gm as D,gu as Dt,Zm as E,pu as Et,ef as F,Pl as Ft,Md as G,B as Gt,zd as H,G as Ht,Xd as I,W as It,Ld as J,Qc as Jt,Nd as K,Tl as Kt,Gd as L,U as Lt,nf as M,q as Mt,$d as N,lu as Nt,Jm as O,hu as Ot,tf as P,ml as Pt,Ed as Q,o as Qt,qd as R,Dl as Rt,th as S,zu as St,Ym as T,ju as Tt,kd as U,Ml as Ut,Q as V,H as Vt,jd as W,jl as Wt,Fd as X,Go as Xt,X as Y,Xc as Yt,Td as Z,d as Zt,uh as _,Cu as _t,Sh as a,Y as at,lh as b,Ru as bt,mh as c,_d as ct,dh as d,Ou as dt,l as en,Od as et,vh as f,Nu as ft,bh as g,Mu as gt,ph as h,Tu as ht,Th as i,bd as it,af as j,uu as jt,of as k,mu as kt,oh as l,ed as lt,ih as m,Pu as mt,Ch as n,Cd as nt,ah as o,yd as ot,xh as p,ku as pt,Id as q,yl as qt,Eh as r,Sd as rt,rh as s,vd as st,wh as t,Dd as tt,sh as u,Gu as ut,fh as v,Eu as vt,Km as w,Au as wt,hh as x,Bu as xt,ch as y,Lu as yt,Jd as z,ru as zt};
|