morpheus-cli 0.9.8 → 0.9.10
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/dist/config/manager.js +10 -1
- package/dist/config/schemas.js +1 -0
- package/dist/runtime/apoc.js +2 -1
- package/dist/runtime/memory/sati/service.js +1 -1
- package/dist/runtime/memory/sqlite.js +56 -1
- package/dist/runtime/neo.js +1 -1
- package/dist/runtime/oracle.js +1 -1
- package/dist/runtime/skills/schema.js +1 -2
- package/dist/runtime/smiths/delegator.js +1 -1
- package/dist/runtime/trinity.js +1 -1
- package/dist/types/config.js +1 -0
- package/dist/ui/assets/{AuditDashboard-93LCGHG1.js → AuditDashboard-ZPJ5Pfwi.js} +1 -1
- package/dist/ui/assets/{Chat-CK5sNcQ1.js → Chat-BAivCJ5N.js} +1 -1
- package/dist/ui/assets/{Chronos-m2h--GEe.js → Chronos-buCS0uuh.js} +1 -1
- package/dist/ui/assets/{ConfirmationModal-Dd5pUJme.js → ConfirmationModal-Bud3Ur7D.js} +1 -1
- package/dist/ui/assets/{Dashboard-ODwl7d-a.js → Dashboard-CR6pBg6o.js} +1 -1
- package/dist/ui/assets/{DeleteConfirmationModal-CCcojDmr.js → DeleteConfirmationModal-Cz1jfXgq.js} +1 -1
- package/dist/ui/assets/{Documents-dWnSoxFO.js → Documents-CYW79d8T.js} +1 -1
- package/dist/ui/assets/{Logs-Dc9Z2LBj.js → Logs-BgDEdckr.js} +1 -1
- package/dist/ui/assets/{MCPManager-CMkb8vMn.js → MCPManager-yupmREOG.js} +1 -1
- package/dist/ui/assets/{ModelPricing-DtHPPbEQ.js → ModelPricing-CbKHyj9P.js} +1 -1
- package/dist/ui/assets/{Notifications-BPvo-DWP.js → Notifications-DpabYsn5.js} +1 -1
- package/dist/ui/assets/{SatiMemories-BUPu1Lxr.js → SatiMemories-D75MAyPU.js} +1 -1
- package/dist/ui/assets/{SessionAudit-CFKF4DA8.js → SessionAudit-B3N9C1NR.js} +1 -1
- package/dist/ui/assets/Settings-B1qZ-teD.js +49 -0
- package/dist/ui/assets/{Skills-BUlvJgJ4.js → Skills-BmqC0xkq.js} +1 -1
- package/dist/ui/assets/{Smiths-CDtJdY0I.js → Smiths-DdAcvxg6.js} +1 -1
- package/dist/ui/assets/{Tasks-DK_cOsNK.js → Tasks-D7SrOMOn.js} +1 -1
- package/dist/ui/assets/{TrinityDatabases-X07by-19.js → TrinityDatabases-cyhanIXu.js} +1 -1
- package/dist/ui/assets/{UsageStats-dYcgckLq.js → UsageStats-DOgOQ4YN.js} +1 -1
- package/dist/ui/assets/{WebhookManager-DDw5eX2R.js → WebhookManager-D2TdZ5kD.js} +1 -1
- package/dist/ui/assets/{audit-DZ5WLUEm.js → audit-CZVCVFw_.js} +1 -1
- package/dist/ui/assets/{chronos-B_HI4mlq.js → chronos-DWSd5JMm.js} +1 -1
- package/dist/ui/assets/{config-B-YxlVrc.js → config-C2GB18ML.js} +1 -1
- package/dist/ui/assets/{index-DfJwcKqG.js → index-BiMscUrn.js} +2 -2
- package/dist/ui/assets/index-U7hzqcK_.css +1 -0
- package/dist/ui/assets/{mcp-k-_pwbqA.js → mcp-JmpcV6nl.js} +1 -1
- package/dist/ui/assets/{skills-xMXangks.js → skills-D2stQj7i.js} +1 -1
- package/dist/ui/assets/{stats-C4QZIv5O.js → stats-cDmpngPQ.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/ui/sw.js +1 -1
- package/package.json +2 -2
- package/dist/ui/assets/Settings-C4JrXfsR.js +0 -47
- package/dist/ui/assets/index-DVjwJ8jT.css +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./vendor-motion-C3CZ8ZlO.js";import{r as E}from"./vendor-react-DikRIOlj.js";import{u as ce,Z as kr,m as ue}from"./vendor-utils-D4NnWbOU.js";import{u as wr,c as zr}from"./chronos-B_HI4mlq.js";import{T as k,S as K}from"./SelectInput-KVLsnfra.js";import{c as q,N as C,S as re}from"./config-B-YxlVrc.js";import{h as qe}from"./index-DfJwcKqG.js";import{C as jr}from"./ConfirmationModal-Dd5pUJme.js";import{d as Sr,X as Nr,O as Or}from"./vendor-icons-NHF9HNeN.js";function F({title:e,description:t,children:r}){return s.jsxs("div",{className:"border border-azure-border dark:border-matrix-primary rounded-lg p-6 bg-azure-surface/50 dark:bg-matrix-base/50",children:[s.jsxs("div",{className:"mb-4",children:[s.jsx("h3",{className:"text-lg font-medium text-azure-text-primary dark:text-matrix-highlight",children:e}),t&&s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mt-1",children:t})]}),s.jsx("div",{className:"space-y-4",children:r})]})}function m(e,t,r){function n(c,d){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:d,constr:a,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,d);const p=a.prototype,f=Object.keys(p);for(let h=0;h<f.length;h++){const u=f[h];u in c||(c[u]=p[u].bind(c))}}const o=r?.Parent??Object;class i extends o{}Object.defineProperty(i,"name",{value:e});function a(c){var d;const p=r?.Parent?new i:this;n(p,c),(d=p._zod).deferred??(d.deferred=[]);for(const f of p._zod.deferred)f();return p}return Object.defineProperty(a,"init",{value:n}),Object.defineProperty(a,Symbol.hasInstance,{value:c=>r?.Parent&&c instanceof r.Parent?!0:c?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}class ke extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Tt extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const At={};function de(e){return At}function Et(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function Ye(e,t){return typeof t=="bigint"?t.toString():t}function Je(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Qe(e){return e==null}function et(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Cr(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){const d=n.match(/\d?e-(\d?)/);d?.[1]&&(o=Number.parseInt(d[1]))}const i=r>o?r:o,a=Number.parseInt(e.toFixed(i).replace(".","")),c=Number.parseInt(t.toFixed(i).replace(".",""));return a%c/10**i}const ct=Symbol("evaluating");function z(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==ct)return n===void 0&&(n=ct,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function ge(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function pe(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function ut(e){return JSON.stringify(e)}function $r(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const It="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ze(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Zr=Je(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function we(e){if(Ze(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Ze(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Pt(e){return we(e)?{...e}:Array.isArray(e)?[...e]:e}const Tr=new Set(["string","number","symbol"]);function ze(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function fe(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function g(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new 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 Ar(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Er={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Ir(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=pe(e._zod.def,{get shape(){const a={};for(const c in t){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&(a[c]=r.shape[c])}return ge(this,"shape",a),a},checks:[]});return fe(e,i)}function Pr(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=pe(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const c in t){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&delete a[c]}return ge(this,"shape",a),a},checks:[]});return fe(e,i)}function Rr(e,t){if(!we(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const i=e._zod.def.shape;for(const a in t)if(Object.getOwnPropertyDescriptor(i,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const o=pe(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return ge(this,"shape",i),i}});return fe(e,o)}function Dr(e,t){if(!we(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=pe(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return ge(this,"shape",n),n}});return fe(e,r)}function Mr(e,t){const r=pe(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return ge(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return fe(e,r)}function Lr(e,t,r){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=pe(t._zod.def,{get shape(){const c=t._zod.def.shape,d={...c};if(r)for(const p in r){if(!(p in c))throw new Error(`Unrecognized key: "${p}"`);r[p]&&(d[p]=e?new e({type:"optional",innerType:c[p]}):c[p])}else for(const p in c)d[p]=e?new e({type:"optional",innerType:c[p]}):c[p];return ge(this,"shape",d),d},checks:[]});return fe(t,a)}function Jr(e,t,r){const n=pe(t._zod.def,{get shape(){const o=t._zod.def.shape,i={...o};if(r)for(const a in r){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(i[a]=new e({type:"nonoptional",innerType:o[a]}))}else for(const a in o)i[a]=new e({type:"nonoptional",innerType:o[a]});return ge(this,"shape",i),i}});return fe(t,n)}function ye(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function _e(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Ee(e){return typeof e=="string"?e:e?.message}function me(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=Ee(e.inst?._zod.def?.error?.(e))??Ee(t?.error?.(e))??Ee(r.customError?.(e))??Ee(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function tt(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Te(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const Rt=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Ye,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Dt=m("$ZodError",Rt),Mt=m("$ZodError",Rt,{Parent:Error});function Ur(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function Fr(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const i of o.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(a=>n({issues:a}));else if(i.code==="invalid_key")n({issues:i.issues});else if(i.code==="invalid_element")n({issues:i.issues});else if(i.path.length===0)r._errors.push(t(i));else{let a=r,c=0;for(;c<i.path.length;){const d=i.path[c];c===i.path.length-1?(a[d]=a[d]||{_errors:[]},a[d]._errors.push(t(i))):a[d]=a[d]||{_errors:[]},a=a[d],c++}}};return n(e),r}const rt=e=>(t,r,n,o)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new ke;if(a.issues.length){const c=new(o?.Err??e)(a.issues.map(d=>me(d,i,de())));throw It(c,o?.callee),c}return a.value},nt=e=>async(t,r,n,o)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const c=new(o?.Err??e)(a.issues.map(d=>me(d,i,de())));throw It(c,o?.callee),c}return a.value},Ue=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new ke;return i.issues.length?{success:!1,error:new(e??Dt)(i.issues.map(a=>me(a,o,de())))}:{success:!0,data:i.value}},Br=Ue(Mt),Fe=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>me(a,o,de())))}:{success:!0,data:i.value}},Kr=Fe(Mt),Vr=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return rt(e)(t,r,o)},Wr=e=>(t,r,n)=>rt(e)(t,r,n),Gr=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return nt(e)(t,r,o)},qr=e=>async(t,r,n)=>nt(e)(t,r,n),Yr=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ue(e)(t,r,o)},Hr=e=>(t,r,n)=>Ue(e)(t,r,n),Xr=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Fe(e)(t,r,o)},Qr=e=>async(t,r,n)=>Fe(e)(t,r,n),en=/^[cC][^\s-]{8,}$/,tn=/^[0-9a-z]+$/,rn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,nn=/^[0-9a-vA-V]{20}$/,on=/^[A-Za-z0-9]{27}$/,an=/^[a-zA-Z0-9_-]{21}$/,sn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ln=/^([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})$/,dt=e=>e?new 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)$/,cn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,un="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function dn(){return new RegExp(un,"u")}const mn=/^(?:(?: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])$/,pn=/^(([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}|:))$/,fn=/^((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])$/,hn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,gn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Lt=/^[A-Za-z0-9_-]*$/,bn=/^\+[1-9]\d{6,14}$/,Jt="(?:(?:\\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])))",vn=new RegExp(`^${Jt}$`);function Ut(e){const 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}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function xn(e){return new RegExp(`^${Ut(e)}$`)}function yn(e){const t=Ut({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Jt}T(?:${n})$`)}const _n=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},kn=/^-?\d+$/,Ft=/^-?\d+(?:\.\d+)?$/,wn=/^(?:true|false)$/i,zn=/^[^A-Z]*$/,jn=/^[^a-z]*$/,W=m("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),Bt={number:"number",bigint:"bigint",object:"date"},Kt=m("$ZodCheckLessThan",(e,t)=>{W.init(e,t);const r=Bt[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Vt=m("$ZodCheckGreaterThan",(e,t)=>{W.init(e,t);const r=Bt[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Sn=m("$ZodCheckMultipleOf",(e,t)=>{W.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Cr(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),Nn=m("$ZodCheckNumberFormat",(e,t)=>{W.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,i]=Er[t.format];e._zod.onattach.push(a=>{const c=a._zod.bag;c.format=t.format,c.minimum=o,c.maximum=i,r&&(c.pattern=kn)}),e._zod.check=a=>{const c=a.value;if(r){if(!Number.isInteger(c)){a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?a.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):a.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}c<o&&a.issues.push({origin:"number",input:c,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),c>i&&a.issues.push({origin:"number",input:c,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),On=m("$ZodCheckMaxLength",(e,t)=>{var r;W.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Qe(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const a=tt(o);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Cn=m("$ZodCheckMinLength",(e,t)=>{var r;W.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Qe(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const a=tt(o);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),$n=m("$ZodCheckLengthEquals",(e,t)=>{var r;W.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Qe(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,i=o.length;if(i===t.length)return;const a=tt(o),c=i>t.length;n.issues.push({origin:a,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Be=m("$ZodCheckStringFormat",(e,t)=>{var r,n;W.init(e,t),e._zod.onattach.push(o=>{const i=o._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),Zn=m("$ZodCheckRegex",(e,t)=>{Be.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Tn=m("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=zn),Be.init(e,t)}),An=m("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=jn),Be.init(e,t)}),En=m("$ZodCheckIncludes",(e,t)=>{W.init(e,t);const r=ze(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),In=m("$ZodCheckStartsWith",(e,t)=>{W.init(e,t);const r=new RegExp(`^${ze(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),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})}}),Pn=m("$ZodCheckEndsWith",(e,t)=>{W.init(e,t);const r=new RegExp(`.*${ze(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),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})}}),Rn=m("$ZodCheckOverwrite",(e,t)=>{W.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class Dn{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
|
|
2
|
-
`).filter(a=>a),o=Math.min(...n.map(a=>a.length-a.trimStart().length)),i=n.map(a=>a.slice(o)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,o.join(`
|
|
3
|
-
`))}}const Mn={major:4,minor:3,patch:6},I=m("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Mn;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const o of n)for(const i of o._zod.onattach)i(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(a,c,d)=>{let p=ye(a),f;for(const h of c){if(h._zod.def.when){if(!h._zod.def.when(a))continue}else if(p)continue;const u=a.issues.length,b=h._zod.check(a);if(b instanceof Promise&&d?.async===!1)throw new ke;if(f||b instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await b,a.issues.length!==u&&(p||(p=ye(a,u)))});else{if(a.issues.length===u)continue;p||(p=ye(a,u))}}return f?f.then(()=>a):a},i=(a,c,d)=>{if(ye(a))return a.aborted=!0,a;const p=o(c,n,d);if(p instanceof Promise){if(d.async===!1)throw new ke;return p.then(f=>e._zod.parse(f,d))}return e._zod.parse(p,d)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){const p=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});return p instanceof Promise?p.then(f=>i(f,a,c)):i(p,a,c)}const d=e._zod.parse(a,c);if(d instanceof Promise){if(c.async===!1)throw new ke;return d.then(p=>o(p,n,c))}return o(d,n,c)}}z(e,"~standard",()=>({validate:o=>{try{const i=Br(e,o);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return Kr(e,o).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),ot=m("$ZodString",(e,t)=>{I.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??_n(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),T=m("$ZodStringFormat",(e,t)=>{Be.init(e,t),ot.init(e,t)}),Ln=m("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ln),T.init(e,t)}),Jn=m("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=dt(n))}else t.pattern??(t.pattern=dt());T.init(e,t)}),Un=m("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=cn),T.init(e,t)}),Fn=m("$ZodURL",(e,t)=>{T.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Bn=m("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=dn()),T.init(e,t)}),Kn=m("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=an),T.init(e,t)}),Vn=m("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=en),T.init(e,t)}),Wn=m("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=tn),T.init(e,t)}),Gn=m("$ZodULID",(e,t)=>{t.pattern??(t.pattern=rn),T.init(e,t)}),qn=m("$ZodXID",(e,t)=>{t.pattern??(t.pattern=nn),T.init(e,t)}),Yn=m("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=on),T.init(e,t)}),Hn=m("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=yn(t)),T.init(e,t)}),Xn=m("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=vn),T.init(e,t)}),Qn=m("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=xn(t)),T.init(e,t)}),eo=m("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=sn),T.init(e,t)}),to=m("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=mn),T.init(e,t),e._zod.bag.format="ipv4"}),ro=m("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=pn),T.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),no=m("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=fn),T.init(e,t)}),oo=m("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=hn),T.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[o,i]=n;if(!i)throw new Error;const a=Number(i);if(`${a}`!==i)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function Wt(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const ao=m("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=gn),T.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{Wt(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function io(e){if(!Lt.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return Wt(r)}const so=m("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Lt),T.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{io(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),lo=m("$ZodE164",(e,t)=>{t.pattern??(t.pattern=bn),T.init(e,t)});function co(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const uo=m("$ZodJWT",(e,t)=>{T.init(e,t),e._zod.check=r=>{co(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Gt=m("$ZodNumber",(e,t)=>{I.init(e,t),e._zod.pattern=e._zod.bag.pattern??Ft,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;const i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),mo=m("$ZodNumberFormat",(e,t)=>{Nn.init(e,t),Gt.init(e,t)}),po=m("$ZodBoolean",(e,t)=>{I.init(e,t),e._zod.pattern=wn,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}const o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),fo=m("$ZodUnknown",(e,t)=>{I.init(e,t),e._zod.parse=r=>r}),ho=m("$ZodNever",(e,t)=>{I.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function mt(e,t,r){e.issues.length&&t.issues.push(..._e(r,e.issues)),t.value[r]=e.value}const go=m("$ZodArray",(e,t)=>{I.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const i=[];for(let a=0;a<o.length;a++){const c=o[a],d=t.element._zod.run({value:c,issues:[]},n);d instanceof Promise?i.push(d.then(p=>mt(p,r,a))):mt(d,r,a)}return i.length?Promise.all(i).then(()=>r):r}});function De(e,t,r,n,o){if(e.issues.length){if(o&&!(r in n))return;t.issues.push(..._e(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function qt(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=Ar(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Yt(e,t,r,n,o,i){const a=[],c=o.keySet,d=o.catchall._zod,p=d.def.type,f=d.optout==="optional";for(const h in t){if(c.has(h))continue;if(p==="never"){a.push(h);continue}const u=d.run({value:t[h],issues:[]},n);u instanceof Promise?e.push(u.then(b=>De(b,r,h,t,f))):De(u,r,h,t,f)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>r):r}const bo=m("$ZodObject",(e,t)=>{if(I.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const c=t.shape;Object.defineProperty(t,"shape",{get:()=>{const d={...c};return Object.defineProperty(t,"shape",{value:d}),d}})}const n=Je(()=>qt(t));z(e._zod,"propValues",()=>{const c=t.shape,d={};for(const p in c){const f=c[p]._zod;if(f.values){d[p]??(d[p]=new Set);for(const h of f.values)d[p].add(h)}}return d});const o=Ze,i=t.catchall;let a;e._zod.parse=(c,d)=>{a??(a=n.value);const p=c.value;if(!o(p))return c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),c;c.value={};const f=[],h=a.shape;for(const u of a.keys){const b=h[u],v=b._zod.optout==="optional",D=b._zod.run({value:p[u],issues:[]},d);D instanceof Promise?f.push(D.then(N=>De(N,c,u,p,v))):De(D,c,u,p,v)}return i?Yt(f,p,c,d,n.value,e):f.length?Promise.all(f).then(()=>c):c}}),vo=m("$ZodObjectJIT",(e,t)=>{bo.init(e,t);const r=e._zod.parse,n=Je(()=>qt(t)),o=u=>{const b=new Dn(["shape","payload","ctx"]),v=n.value,D=B=>{const y=ut(B);return`shape[${y}]._zod.run({ value: input[${y}], issues: [] }, ctx)`};b.write("const input = payload.value;");const N=Object.create(null);let be=0;for(const B of v.keys)N[B]=`key_${be++}`;b.write("const newResult = {};");for(const B of v.keys){const y=N[B],U=ut(B),Ne=u[B]?._zod?.optout==="optional";b.write(`const ${y} = ${D(B)};`),Ne?b.write(`
|
|
4
|
-
if (${y}.issues.length) {
|
|
5
|
-
if (${U} in input) {
|
|
6
|
-
payload.issues = payload.issues.concat(${y}.issues.map(iss => ({
|
|
7
|
-
...iss,
|
|
8
|
-
path: iss.path ? [${U}, ...iss.path] : [${U}]
|
|
9
|
-
})));
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (${y}.value === undefined) {
|
|
14
|
-
if (${U} in input) {
|
|
15
|
-
newResult[${U}] = undefined;
|
|
16
|
-
}
|
|
17
|
-
} else {
|
|
18
|
-
newResult[${U}] = ${y}.value;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
`):b.write(`
|
|
22
|
-
if (${y}.issues.length) {
|
|
23
|
-
payload.issues = payload.issues.concat(${y}.issues.map(iss => ({
|
|
24
|
-
...iss,
|
|
25
|
-
path: iss.path ? [${U}, ...iss.path] : [${U}]
|
|
26
|
-
})));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (${y}.value === undefined) {
|
|
30
|
-
if (${U} in input) {
|
|
31
|
-
newResult[${U}] = undefined;
|
|
32
|
-
}
|
|
33
|
-
} else {
|
|
34
|
-
newResult[${U}] = ${y}.value;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
`)}b.write("payload.value = newResult;"),b.write("return payload;");const A=b.compile();return(B,y)=>A(u,B,y)};let i;const a=Ze,c=!At.jitless,p=c&&Zr.value,f=t.catchall;let h;e._zod.parse=(u,b)=>{h??(h=n.value);const v=u.value;return a(v)?c&&p&&b?.async===!1&&b.jitless!==!0?(i||(i=o(t.shape)),u=i(u,b),f?Yt([],v,u,b,h,e):u):r(u,b):(u.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),u)}});function pt(e,t,r,n){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!ye(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(a=>me(a,n,de())))}),t)}const Ht=m("$ZodUnion",(e,t)=>{I.init(e,t),z(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),z(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),z(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),z(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>et(i.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(r)return n(o,i);let a=!1;const c=[];for(const d of t.options){const p=d._zod.run({value:o.value,issues:[]},i);if(p instanceof Promise)c.push(p),a=!0;else{if(p.issues.length===0)return p;c.push(p)}}return a?Promise.all(c).then(d=>pt(d,o,e,i)):pt(c,o,e,i)}}),xo=m("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Ht.init(e,t);const r=e._zod.parse;z(e._zod,"propValues",()=>{const o={};for(const i of t.options){const a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[c,d]of Object.entries(a)){o[c]||(o[c]=new Set);for(const p of d)o[c].add(p)}}return o});const n=Je(()=>{const o=t.options,i=new Map;for(const a of o){const c=a._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(const d of c){if(i.has(d))throw new Error(`Duplicate discriminator value "${String(d)}"`);i.set(d,a)}}return i});e._zod.parse=(o,i)=>{const a=o.value;if(!Ze(a))return o.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),o;const c=n.value.get(a?.[t.discriminator]);return c?c._zod.run(o,i):t.unionFallback?r(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),o)}}),yo=m("$ZodIntersection",(e,t)=>{I.init(e,t),e._zod.parse=(r,n)=>{const o=r.value,i=t.left._zod.run({value:o,issues:[]},n),a=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([d,p])=>ft(r,d,p)):ft(r,i,a)}});function He(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(we(e)&&we(t)){const r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};for(const i of n){const a=He(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};o[i]=a.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const o=e[n],i=t[n],a=He(o,i);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function ft(e,t,r){const n=new Map;let o;for(const c of t.issues)if(c.code==="unrecognized_keys"){o??(o=c);for(const d of c.keys)n.has(d)||n.set(d,{}),n.get(d).l=!0}else e.issues.push(c);for(const c of r.issues)if(c.code==="unrecognized_keys")for(const d of c.keys)n.has(d)||n.set(d,{}),n.get(d).r=!0;else e.issues.push(c);const i=[...n].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(i.length&&o&&e.issues.push({...o,keys:i}),ye(e))return e;const a=He(t.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const _o=m("$ZodRecord",(e,t)=>{I.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!we(o))return r.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),r;const i=[],a=t.keyType._zod.values;if(a){r.value={};const c=new Set;for(const p of a)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){c.add(typeof p=="number"?p.toString():p);const f=t.valueType._zod.run({value:o[p],issues:[]},n);f instanceof Promise?i.push(f.then(h=>{h.issues.length&&r.issues.push(..._e(p,h.issues)),r.value[p]=h.value})):(f.issues.length&&r.issues.push(..._e(p,f.issues)),r.value[p]=f.value)}let d;for(const p in o)c.has(p)||(d=d??[],d.push(p));d&&d.length>0&&r.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:d})}else{r.value={};for(const c of Reflect.ownKeys(o)){if(c==="__proto__")continue;let d=t.keyType._zod.run({value:c,issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Ft.test(c)&&d.issues.length){const h=t.keyType._zod.run({value:Number(c),issues:[]},n);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(d=h)}if(d.issues.length){t.mode==="loose"?r.value[c]=o[c]:r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(h=>me(h,n,de())),input:c,path:[c],inst:e});continue}const f=t.valueType._zod.run({value:o[c],issues:[]},n);f instanceof Promise?i.push(f.then(h=>{h.issues.length&&r.issues.push(..._e(c,h.issues)),r.value[d.value]=h.value})):(f.issues.length&&r.issues.push(..._e(c,f.issues)),r.value[d.value]=f.value)}}return i.length?Promise.all(i).then(()=>r):r}}),ko=m("$ZodEnum",(e,t)=>{I.init(e,t);const r=Et(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(o=>Tr.has(typeof o)).map(o=>typeof o=="string"?ze(o):o.toString()).join("|")})$`),e._zod.parse=(o,i)=>{const a=o.value;return n.has(a)||o.issues.push({code:"invalid_value",values:r,input:a,inst:e}),o}}),wo=m("$ZodLiteral",(e,t)=>{if(I.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?ze(n):n?ze(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,o)=>{const i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),zo=m("$ZodTransform",(e,t)=>{I.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new Tt(e.constructor.name);const o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(a=>(r.value=a,r));if(o instanceof Promise)throw new ke;return r.value=o,r}});function ht(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const Xt=m("$ZodOptional",(e,t)=>{I.init(e,t),e._zod.optin="optional",e._zod.optout="optional",z(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),z(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${et(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>ht(i,r.value)):ht(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),jo=m("$ZodExactOptional",(e,t)=>{Xt.init(e,t),z(e._zod,"values",()=>t.innerType._zod.values),z(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),So=m("$ZodNullable",(e,t)=>{I.init(e,t),z(e._zod,"optin",()=>t.innerType._zod.optin),z(e._zod,"optout",()=>t.innerType._zod.optout),z(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${et(r.source)}|null)$`):void 0}),z(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),No=m("$ZodDefault",(e,t)=>{I.init(e,t),e._zod.optin="optional",z(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>gt(i,t)):gt(o,t)}});function gt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Oo=m("$ZodPrefault",(e,t)=>{I.init(e,t),e._zod.optin="optional",z(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Co=m("$ZodNonOptional",(e,t)=>{I.init(e,t),z(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>bt(i,e)):bt(o,e)}});function bt(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const $o=m("$ZodCatch",(e,t)=>{I.init(e,t),z(e._zod,"optin",()=>t.innerType._zod.optin),z(e._zod,"optout",()=>t.innerType._zod.optout),z(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(a=>me(a,n,de()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(i=>me(i,n,de()))},input:r.value}),r.issues=[]),r)}}),Zo=m("$ZodPipe",(e,t)=>{I.init(e,t),z(e._zod,"values",()=>t.in._zod.values),z(e._zod,"optin",()=>t.in._zod.optin),z(e._zod,"optout",()=>t.out._zod.optout),z(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const i=t.out._zod.run(r,n);return i instanceof Promise?i.then(a=>Ie(a,t.in,n)):Ie(i,t.in,n)}const o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>Ie(i,t.out,n)):Ie(o,t.out,n)}});function Ie(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const To=m("$ZodReadonly",(e,t)=>{I.init(e,t),z(e._zod,"propValues",()=>t.innerType._zod.propValues),z(e._zod,"values",()=>t.innerType._zod.values),z(e._zod,"optin",()=>t.innerType?._zod?.optin),z(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(vt):vt(o)}});function vt(e){return e.value=Object.freeze(e.value),e}const Ao=m("$ZodCustom",(e,t)=>{W.init(e,t),I.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>xt(i,r,n,e));xt(o,r,n,e)}});function xt(e,t,r,n){if(!e){const o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(Te(o))}}var yt;class Eo{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Io(){return new Eo}(yt=globalThis).__zod_globalRegistry??(yt.__zod_globalRegistry=Io());const $e=globalThis.__zod_globalRegistry;function Po(e,t){return new e({type:"string",...g(t)})}function Ro(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...g(t)})}function _t(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...g(t)})}function Do(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...g(t)})}function Mo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...g(t)})}function Lo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...g(t)})}function Jo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...g(t)})}function Uo(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...g(t)})}function Fo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...g(t)})}function Bo(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...g(t)})}function Ko(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...g(t)})}function Vo(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...g(t)})}function Wo(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...g(t)})}function Go(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...g(t)})}function qo(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...g(t)})}function Yo(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...g(t)})}function Ho(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...g(t)})}function Xo(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...g(t)})}function Qo(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...g(t)})}function ea(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...g(t)})}function ta(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...g(t)})}function ra(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...g(t)})}function na(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...g(t)})}function oa(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...g(t)})}function aa(e,t){return new e({type:"string",format:"date",check:"string_format",...g(t)})}function ia(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...g(t)})}function sa(e,t){return new e({type:"string",format:"duration",check:"string_format",...g(t)})}function la(e,t){return new e({type:"number",checks:[],...g(t)})}function ca(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...g(t)})}function ua(e,t){return new e({type:"boolean",...g(t)})}function da(e){return new e({type:"unknown"})}function ma(e,t){return new e({type:"never",...g(t)})}function kt(e,t){return new Kt({check:"less_than",...g(t),value:e,inclusive:!1})}function We(e,t){return new Kt({check:"less_than",...g(t),value:e,inclusive:!0})}function wt(e,t){return new Vt({check:"greater_than",...g(t),value:e,inclusive:!1})}function Ge(e,t){return new Vt({check:"greater_than",...g(t),value:e,inclusive:!0})}function zt(e,t){return new Sn({check:"multiple_of",...g(t),value:e})}function Qt(e,t){return new On({check:"max_length",...g(t),maximum:e})}function Me(e,t){return new Cn({check:"min_length",...g(t),minimum:e})}function er(e,t){return new $n({check:"length_equals",...g(t),length:e})}function pa(e,t){return new Zn({check:"string_format",format:"regex",...g(t),pattern:e})}function fa(e){return new Tn({check:"string_format",format:"lowercase",...g(e)})}function ha(e){return new An({check:"string_format",format:"uppercase",...g(e)})}function ga(e,t){return new En({check:"string_format",format:"includes",...g(t),includes:e})}function ba(e,t){return new In({check:"string_format",format:"starts_with",...g(t),prefix:e})}function va(e,t){return new Pn({check:"string_format",format:"ends_with",...g(t),suffix:e})}function je(e){return new Rn({check:"overwrite",tx:e})}function xa(e){return je(t=>t.normalize(e))}function ya(){return je(e=>e.trim())}function _a(){return je(e=>e.toLowerCase())}function ka(){return je(e=>e.toUpperCase())}function wa(){return je(e=>$r(e))}function za(e,t,r){return new e({type:"array",element:t,...g(r)})}function ja(e,t,r){return new e({type:"custom",check:"custom",fn:t,...g(r)})}function Sa(e){const t=Na(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(Te(n,r.value,t._zod.def));else{const o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(Te(o))}},e(r.value,r)));return t}function Na(e,t){const r=new W({check:"custom",...g(t)});return r._zod.check=e,r}function tr(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??$e,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function L(e,t,r={path:[],schemaPath:[]}){var n;const o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a);const c=e._zod.toJSONSchema?.();if(c)a.schema=c;else{const f={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,f);else{const u=a.schema,b=t.processors[o.type];if(!b)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);b(e,t,u,f)}const h=e._zod.parent;h&&(a.ref||(a.ref=h),L(h,t,f),t.seen.get(h).isParent=!0)}const d=t.metadataRegistry.get(e);return d&&Object.assign(a.schema,d),t.io==="input"&&V(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&a.schema._prefault&&((n=a.schema).default??(n.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function rr(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=new Map;for(const a of e.seen.entries()){const c=e.metadataRegistry.get(a[0])?.id;if(c){const d=n.get(c);if(d&&d!==a[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(c,a[0])}}const o=a=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const h=e.external.registry.get(a[0])?.id,u=e.external.uri??(v=>v);if(h)return{ref:u(h)};const b=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=b,{defId:b,ref:`${u("__shared")}#/${c}/${b}`}}if(a[1]===r)return{ref:"#"};const p=`#/${c}/`,f=a[1].schema.id??`__schema${e.counter++}`;return{defId:f,ref:p+f}},i=a=>{if(a[1].schema.$ref)return;const c=a[1],{ref:d,defId:p}=o(a);c.def={...c.schema},p&&(c.defId=p);const f=c.schema;for(const h in f)delete f[h];f.$ref=d};if(e.cycles==="throw")for(const a of e.seen.entries()){const c=a[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
38
|
-
|
|
39
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const c=a[1];if(t===a[0]){i(a);continue}if(e.external){const p=e.external.registry.get(a[0])?.id;if(t!==a[0]&&p){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(c.cycle){i(a);continue}if(c.count>1&&e.reused==="ref"){i(a);continue}}}function nr(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=a=>{const c=e.seen.get(a);if(c.ref===null)return;const d=c.def??c.schema,p={...d},f=c.ref;if(c.ref=null,f){n(f);const u=e.seen.get(f),b=u.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(b)):Object.assign(d,b),Object.assign(d,p),a._zod.parent===f)for(const D in d)D==="$ref"||D==="allOf"||D in p||delete d[D];if(b.$ref&&u.def)for(const D in d)D==="$ref"||D==="allOf"||D in u.def&&JSON.stringify(d[D])===JSON.stringify(u.def[D])&&delete d[D]}const h=a._zod.parent;if(h&&h!==f){n(h);const u=e.seen.get(h);if(u?.schema.$ref&&(d.$ref=u.schema.$ref,u.def))for(const b in d)b==="$ref"||b==="allOf"||b in u.def&&JSON.stringify(d[b])===JSON.stringify(u.def[b])&&delete d[b]}e.override({zodSchema:a,jsonSchema:d,path:c.path??[]})};for(const a of[...e.seen.entries()].reverse())n(a[0]);const o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(a)}Object.assign(o,r.def??r.schema);const i=e.external?.defs??{};for(const a of e.seen.entries()){const c=a[1];c.def&&c.defId&&(i[c.defId]=c.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?o.$defs=i:o.definitions=i);try{const a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:Le(t,"input",e.processors),output:Le(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function V(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return V(n.element,r);if(n.type==="set")return V(n.valueType,r);if(n.type==="lazy")return V(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return V(n.innerType,r);if(n.type==="intersection")return V(n.left,r)||V(n.right,r);if(n.type==="record"||n.type==="map")return V(n.keyType,r)||V(n.valueType,r);if(n.type==="pipe")return V(n.in,r)||V(n.out,r);if(n.type==="object"){for(const o in n.shape)if(V(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(const o of n.options)if(V(o,r))return!0;return!1}if(n.type==="tuple"){for(const o of n.items)if(V(o,r))return!0;return!!(n.rest&&V(n.rest,r))}return!1}const Oa=(e,t={})=>r=>{const n=tr({...r,processors:t});return L(e,n),rr(n,e),nr(n,e)},Le=(e,t,r={})=>n=>{const{libraryOptions:o,target:i}=n??{},a=tr({...o??{},target:i,io:t,processors:r});return L(e,a),rr(a,e),nr(a,e)},Ca={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},$a=(e,t,r,n)=>{const o=r;o.type="string";const{minimum:i,maximum:a,format:c,patterns:d,contentEncoding:p}=e._zod.bag;if(typeof i=="number"&&(o.minLength=i),typeof a=="number"&&(o.maxLength=a),c&&(o.format=Ca[c]??c,o.format===""&&delete o.format,c==="time"&&delete o.format),p&&(o.contentEncoding=p),d&&d.size>0){const f=[...d];f.length===1?o.pattern=f[0].source:f.length>1&&(o.allOf=[...f.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},Za=(e,t,r,n)=>{const o=r,{minimum:i,maximum:a,format:c,multipleOf:d,exclusiveMaximum:p,exclusiveMinimum:f}=e._zod.bag;typeof c=="string"&&c.includes("int")?o.type="integer":o.type="number",typeof f=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.minimum=f,o.exclusiveMinimum=!0):o.exclusiveMinimum=f),typeof i=="number"&&(o.minimum=i,typeof f=="number"&&t.target!=="draft-04"&&(f>=i?delete o.minimum:delete o.exclusiveMinimum)),typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.maximum=p,o.exclusiveMaximum=!0):o.exclusiveMaximum=p),typeof a=="number"&&(o.maximum=a,typeof p=="number"&&t.target!=="draft-04"&&(p<=a?delete o.maximum:delete o.exclusiveMaximum)),typeof d=="number"&&(o.multipleOf=d)},Ta=(e,t,r,n)=>{r.type="boolean"},Aa=(e,t,r,n)=>{r.not={}},Ea=(e,t,r,n)=>{},Ia=(e,t,r,n)=>{const o=e._zod.def,i=Et(o.entries);i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),r.enum=i},Pa=(e,t,r,n)=>{const o=e._zod.def,i=[];for(const a of o.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),i.every(a=>typeof a=="boolean")&&(r.type="boolean"),i.every(a=>a===null)&&(r.type="null"),r.enum=i},Ra=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Da=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Ma=(e,t,r,n)=>{const o=r,i=e._zod.def,{minimum:a,maximum:c}=e._zod.bag;typeof a=="number"&&(o.minItems=a),typeof c=="number"&&(o.maxItems=c),o.type="array",o.items=L(i.element,t,{...n,path:[...n.path,"items"]})},La=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object",o.properties={};const a=i.shape;for(const p in a)o.properties[p]=L(a[p],t,{...n,path:[...n.path,"properties",p]});const c=new Set(Object.keys(a)),d=new Set([...c].filter(p=>{const f=i.shape[p]._zod;return t.io==="input"?f.optin===void 0:f.optout===void 0}));d.size>0&&(o.required=Array.from(d)),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=L(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},Ja=(e,t,r,n)=>{const o=e._zod.def,i=o.inclusive===!1,a=o.options.map((c,d)=>L(c,t,{...n,path:[...n.path,i?"oneOf":"anyOf",d]}));i?r.oneOf=a:r.anyOf=a},Ua=(e,t,r,n)=>{const o=e._zod.def,i=L(o.left,t,{...n,path:[...n.path,"allOf",0]}),a=L(o.right,t,{...n,path:[...n.path,"allOf",1]}),c=p=>"allOf"in p&&Object.keys(p).length===1,d=[...c(i)?i.allOf:[i],...c(a)?a.allOf:[a]];r.allOf=d},Fa=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object";const a=i.keyType,d=a._zod.bag?.patterns;if(i.mode==="loose"&&d&&d.size>0){const f=L(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(const h of d)o.patternProperties[h.source]=f}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(o.propertyNames=L(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),o.additionalProperties=L(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const p=a._zod.values;if(p){const f=[...p].filter(h=>typeof h=="string"||typeof h=="number");f.length>0&&(o.required=f)}},Ba=(e,t,r,n)=>{const o=e._zod.def,i=L(o.innerType,t,n),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},Ka=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},Va=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.default=JSON.parse(JSON.stringify(o.defaultValue))},Wa=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(o.defaultValue)))},Ga=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType;let a;try{a=o.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},qa=(e,t,r,n)=>{const o=e._zod.def,i=t.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;L(i,t,n);const a=t.seen.get(e);a.ref=i},Ya=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},or=(e,t,r,n)=>{const o=e._zod.def;L(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},Ha=m("ZodISODateTime",(e,t)=>{Hn.init(e,t),R.init(e,t)});function Xa(e){return oa(Ha,e)}const Qa=m("ZodISODate",(e,t)=>{Xn.init(e,t),R.init(e,t)});function ei(e){return aa(Qa,e)}const ti=m("ZodISOTime",(e,t)=>{Qn.init(e,t),R.init(e,t)});function ri(e){return ia(ti,e)}const ni=m("ZodISODuration",(e,t)=>{eo.init(e,t),R.init(e,t)});function oi(e){return sa(ni,e)}const ai=(e,t)=>{Dt.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Fr(e,r)},flatten:{value:r=>Ur(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Ye,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Ye,2)}},isEmpty:{get(){return e.issues.length===0}}})},Y=m("ZodError",ai,{Parent:Error}),ii=rt(Y),si=nt(Y),li=Ue(Y),ci=Fe(Y),ui=Vr(Y),di=Wr(Y),mi=Gr(Y),pi=qr(Y),fi=Yr(Y),hi=Hr(Y),gi=Xr(Y),bi=Qr(Y),P=m("ZodType",(e,t)=>(I.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Le(e,"input"),output:Le(e,"output")}}),e.toJSONSchema=Oa(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(pe(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(r,n)=>fe(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>ii(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>li(e,r,n),e.parseAsync=async(r,n)=>si(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>ci(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>ui(e,r,n),e.decode=(r,n)=>di(e,r,n),e.encodeAsync=async(r,n)=>mi(e,r,n),e.decodeAsync=async(r,n)=>pi(e,r,n),e.safeEncode=(r,n)=>fi(e,r,n),e.safeDecode=(r,n)=>hi(e,r,n),e.safeEncodeAsync=async(r,n)=>gi(e,r,n),e.safeDecodeAsync=async(r,n)=>bi(e,r,n),e.refine=(r,n)=>e.check(ds(r,n)),e.superRefine=r=>e.check(ms(r)),e.overwrite=r=>e.check(je(r)),e.optional=()=>Ct(e),e.exactOptional=()=>Xi(e),e.nullable=()=>$t(e),e.nullish=()=>Ct($t(e)),e.nonoptional=r=>os(e,r),e.array=()=>oe(e),e.or=r=>lr([e,r]),e.and=r=>Vi(e,r),e.transform=r=>Zt(e,Yi(r)),e.default=r=>ts(e,r),e.prefault=r=>ns(e,r),e.catch=r=>is(e,r),e.pipe=r=>Zt(e,r),e.readonly=()=>cs(e),e.describe=r=>{const n=e.clone();return $e.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return $e.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return $e.get(e);const n=e.clone();return $e.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),ar=m("_ZodString",(e,t)=>{ot.init(e,t),P.init(e,t),e._zod.processJSONSchema=(n,o,i)=>$a(e,n,o);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(pa(...n)),e.includes=(...n)=>e.check(ga(...n)),e.startsWith=(...n)=>e.check(ba(...n)),e.endsWith=(...n)=>e.check(va(...n)),e.min=(...n)=>e.check(Me(...n)),e.max=(...n)=>e.check(Qt(...n)),e.length=(...n)=>e.check(er(...n)),e.nonempty=(...n)=>e.check(Me(1,...n)),e.lowercase=n=>e.check(fa(n)),e.uppercase=n=>e.check(ha(n)),e.trim=()=>e.check(ya()),e.normalize=(...n)=>e.check(xa(...n)),e.toLowerCase=()=>e.check(_a()),e.toUpperCase=()=>e.check(ka()),e.slugify=()=>e.check(wa())}),vi=m("ZodString",(e,t)=>{ot.init(e,t),ar.init(e,t),e.email=r=>e.check(Ro(xi,r)),e.url=r=>e.check(Uo(yi,r)),e.jwt=r=>e.check(na(Ii,r)),e.emoji=r=>e.check(Fo(_i,r)),e.guid=r=>e.check(_t(jt,r)),e.uuid=r=>e.check(Do(Pe,r)),e.uuidv4=r=>e.check(Mo(Pe,r)),e.uuidv6=r=>e.check(Lo(Pe,r)),e.uuidv7=r=>e.check(Jo(Pe,r)),e.nanoid=r=>e.check(Bo(ki,r)),e.guid=r=>e.check(_t(jt,r)),e.cuid=r=>e.check(Ko(wi,r)),e.cuid2=r=>e.check(Vo(zi,r)),e.ulid=r=>e.check(Wo(ji,r)),e.base64=r=>e.check(ea(Ti,r)),e.base64url=r=>e.check(ta(Ai,r)),e.xid=r=>e.check(Go(Si,r)),e.ksuid=r=>e.check(qo(Ni,r)),e.ipv4=r=>e.check(Yo(Oi,r)),e.ipv6=r=>e.check(Ho(Ci,r)),e.cidrv4=r=>e.check(Xo($i,r)),e.cidrv6=r=>e.check(Qo(Zi,r)),e.e164=r=>e.check(ra(Ei,r)),e.datetime=r=>e.check(Xa(r)),e.date=r=>e.check(ei(r)),e.time=r=>e.check(ri(r)),e.duration=r=>e.check(oi(r))});function x(e){return Po(vi,e)}const R=m("ZodStringFormat",(e,t)=>{T.init(e,t),ar.init(e,t)}),xi=m("ZodEmail",(e,t)=>{Un.init(e,t),R.init(e,t)}),jt=m("ZodGUID",(e,t)=>{Ln.init(e,t),R.init(e,t)}),Pe=m("ZodUUID",(e,t)=>{Jn.init(e,t),R.init(e,t)}),yi=m("ZodURL",(e,t)=>{Fn.init(e,t),R.init(e,t)}),_i=m("ZodEmoji",(e,t)=>{Bn.init(e,t),R.init(e,t)}),ki=m("ZodNanoID",(e,t)=>{Kn.init(e,t),R.init(e,t)}),wi=m("ZodCUID",(e,t)=>{Vn.init(e,t),R.init(e,t)}),zi=m("ZodCUID2",(e,t)=>{Wn.init(e,t),R.init(e,t)}),ji=m("ZodULID",(e,t)=>{Gn.init(e,t),R.init(e,t)}),Si=m("ZodXID",(e,t)=>{qn.init(e,t),R.init(e,t)}),Ni=m("ZodKSUID",(e,t)=>{Yn.init(e,t),R.init(e,t)}),Oi=m("ZodIPv4",(e,t)=>{to.init(e,t),R.init(e,t)}),Ci=m("ZodIPv6",(e,t)=>{ro.init(e,t),R.init(e,t)}),$i=m("ZodCIDRv4",(e,t)=>{no.init(e,t),R.init(e,t)}),Zi=m("ZodCIDRv6",(e,t)=>{oo.init(e,t),R.init(e,t)}),Ti=m("ZodBase64",(e,t)=>{ao.init(e,t),R.init(e,t)}),Ai=m("ZodBase64URL",(e,t)=>{so.init(e,t),R.init(e,t)}),Ei=m("ZodE164",(e,t)=>{lo.init(e,t),R.init(e,t)}),Ii=m("ZodJWT",(e,t)=>{uo.init(e,t),R.init(e,t)}),ir=m("ZodNumber",(e,t)=>{Gt.init(e,t),P.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Za(e,n,o),e.gt=(n,o)=>e.check(wt(n,o)),e.gte=(n,o)=>e.check(Ge(n,o)),e.min=(n,o)=>e.check(Ge(n,o)),e.lt=(n,o)=>e.check(kt(n,o)),e.lte=(n,o)=>e.check(We(n,o)),e.max=(n,o)=>e.check(We(n,o)),e.int=n=>e.check(St(n)),e.safe=n=>e.check(St(n)),e.positive=n=>e.check(wt(0,n)),e.nonnegative=n=>e.check(Ge(0,n)),e.negative=n=>e.check(kt(0,n)),e.nonpositive=n=>e.check(We(0,n)),e.multipleOf=(n,o)=>e.check(zt(n,o)),e.step=(n,o)=>e.check(zt(n,o)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function Z(e){return la(ir,e)}const Pi=m("ZodNumberFormat",(e,t)=>{mo.init(e,t),ir.init(e,t)});function St(e){return ca(Pi,e)}const Ri=m("ZodBoolean",(e,t)=>{po.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ta(e,r,n)});function J(e){return ua(Ri,e)}const Di=m("ZodUnknown",(e,t)=>{fo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ea()});function Nt(){return da(Di)}const Mi=m("ZodNever",(e,t)=>{ho.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Aa(e,r,n)});function Li(e){return ma(Mi,e)}const Ji=m("ZodArray",(e,t)=>{go.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ma(e,r,n,o),e.element=t.element,e.min=(r,n)=>e.check(Me(r,n)),e.nonempty=r=>e.check(Me(1,r)),e.max=(r,n)=>e.check(Qt(r,n)),e.length=(r,n)=>e.check(er(r,n)),e.unwrap=()=>e.element});function oe(e,t){return za(Ji,e,t)}const Ui=m("ZodObject",(e,t)=>{vo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>La(e,r,n,o),z(e,"shape",()=>t.shape),e.keyof=()=>ae(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Nt()}),e.loose=()=>e.clone({...e._zod.def,catchall:Nt()}),e.strict=()=>e.clone({...e._zod.def,catchall:Li()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>Rr(e,r),e.safeExtend=r=>Dr(e,r),e.merge=r=>Mr(e,r),e.pick=r=>Ir(e,r),e.omit=r=>Pr(e,r),e.partial=(...r)=>Lr(cr,e,r[0]),e.required=(...r)=>Jr(ur,e,r[0])});function M(e,t){const r={type:"object",shape:e??{},...g(t)};return new Ui(r)}const sr=m("ZodUnion",(e,t)=>{Ht.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ja(e,r,n,o),e.options=t.options});function lr(e,t){return new sr({type:"union",options:e,...g(t)})}const Fi=m("ZodDiscriminatedUnion",(e,t)=>{sr.init(e,t),xo.init(e,t)});function Bi(e,t,r){return new Fi({type:"union",options:t,discriminator:e,...g(r)})}const Ki=m("ZodIntersection",(e,t)=>{yo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ua(e,r,n,o)});function Vi(e,t){return new Ki({type:"intersection",left:e,right:t})}const Wi=m("ZodRecord",(e,t)=>{_o.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Fa(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function Re(e,t,r){return new Wi({type:"record",keyType:e,valueType:t,...g(r)})}const Xe=m("ZodEnum",(e,t)=>{ko.init(e,t),P.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Ia(e,n,o),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{const i={};for(const a of n)if(r.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Xe({...t,checks:[],...g(o),entries:i})},e.exclude=(n,o)=>{const i={...t.entries};for(const a of n)if(r.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Xe({...t,checks:[],...g(o),entries:i})}});function ae(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Xe({type:"enum",entries:r,...g(t)})}const Gi=m("ZodLiteral",(e,t)=>{wo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Pa(e,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ot(e,t){return new Gi({type:"literal",values:Array.isArray(e)?e:[e],...g(t)})}const qi=m("ZodTransform",(e,t)=>{zo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Da(e,r),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new Tt(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(Te(i,r.value,t));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(Te(a))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function Yi(e){return new qi({type:"transform",transform:e})}const cr=m("ZodOptional",(e,t)=>{Xt.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>or(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Ct(e){return new cr({type:"optional",innerType:e})}const Hi=m("ZodExactOptional",(e,t)=>{jo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>or(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Xi(e){return new Hi({type:"optional",innerType:e})}const Qi=m("ZodNullable",(e,t)=>{So.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ba(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function $t(e){return new Qi({type:"nullable",innerType:e})}const es=m("ZodDefault",(e,t)=>{No.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Va(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ts(e,t){return new es({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Pt(t)}})}const rs=m("ZodPrefault",(e,t)=>{Oo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Wa(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function ns(e,t){return new rs({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Pt(t)}})}const ur=m("ZodNonOptional",(e,t)=>{Co.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ka(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function os(e,t){return new ur({type:"nonoptional",innerType:e,...g(t)})}const as=m("ZodCatch",(e,t)=>{$o.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ga(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function is(e,t){return new as({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const ss=m("ZodPipe",(e,t)=>{Zo.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qa(e,r,n,o),e.in=t.in,e.out=t.out});function Zt(e,t){return new ss({type:"pipe",in:e,out:t})}const ls=m("ZodReadonly",(e,t)=>{To.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ya(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function cs(e){return new ls({type:"readonly",innerType:e})}const us=m("ZodCustom",(e,t)=>{Ao.init(e,t),P.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ra(e,r)});function ds(e,t={}){return ja(us,e,t)}function ms(e){return Sa(e)}const O={agent:{name:"morpheus",personality:"helpful_dev"},logging:{enabled:!0,level:"info",retention:"14d"},audio:{provider:"google",model:"gemini-2.5-flash-lite",enabled:!0,maxDurationSeconds:300,supportedMimeTypes:["audio/ogg","audio/mp3","audio/mpeg","audio/wav"]},memory:{limit:100},runtime:{async_tasks:{enabled:!0}},llm:{provider:"openai",model:"gpt-4",temperature:.7,context_window:100},channels:{telegram:{enabled:!1,allowedUsers:[]},discord:{enabled:!1,allowedUsers:[]}},ui:{enabled:!0,port:3333}},ps=M({provider:ae(["google","openai","openrouter","ollama"]).default(O.audio.provider),model:x().min(1).default(O.audio.model),enabled:J().default(O.audio.enabled),apiKey:x().optional(),base_url:x().optional(),maxDurationSeconds:Z().default(O.audio.maxDurationSeconds),supportedMimeTypes:oe(x()).default(O.audio.supportedMimeTypes)}),Se=M({provider:ae(["openai","anthropic","openrouter","ollama","gemini"]).default(O.llm.provider),model:x().min(1).default(O.llm.model),temperature:Z().min(0).max(1).default(O.llm.temperature),max_tokens:Z().int().positive().optional(),api_key:x().optional(),base_url:x().optional(),context_window:Z().int().positive().optional()}),fs=Se.extend({memory_limit:Z().int().positive().optional(),enabled_archived_sessions:J().default(!0),similarity_threshold:Z().min(0).max(1).default(.9),evaluation_interval:Z().int().min(1).default(1)}),hs=Se.extend({working_dir:x().optional(),timeout_ms:Z().int().positive().optional(),execution_mode:ae(["sync","async"]).default("async")}),gs=Se.extend({execution_mode:ae(["sync","async"]).default("async")}),bs=Se.extend({execution_mode:ae(["sync","async"]).default("async")}),vs=Se.extend({personality:x().optional(),chunk_size:Z().int().positive().default(500),score_threshold:Z().min(0).max(1).default(.5),max_results:Z().int().positive().default(10),execution_mode:ae(["sync","async"]).default("async"),scan_interval_ms:Z().int().min(5e3).default(3e4),max_file_size_mb:Z().int().positive().default(50),vector_weight:Z().min(0).max(1).default(.8),bm25_weight:Z().min(0).max(1).default(.2)}),xs=M({telegram_notify_all:J().optional()}).optional(),ys=M({timezone:x().default("UTC"),check_interval_ms:Z().min(6e4).default(6e4),max_active_jobs:Z().min(1).max(1e3).default(100)}),_s=M({sandbox_dir:x().optional(),readonly_mode:J().default(!1),allowed_shell_commands:oe(x()).default([]),enable_filesystem:J().default(!0),enable_shell:J().default(!0),enable_git:J().default(!0),enable_network:J().default(!0),timeout_ms:Z().int().positive().default(3e4)}),ks=M({name:x().min(1).max(64).regex(/^[a-z0-9][a-z0-9_-]*$/,"Smith name must be lowercase alphanumeric with hyphens/underscores"),host:x().min(1),port:Z().int().min(1).max(65535).default(7900),auth_token:x().min(1),tls:J().default(!1)}),ws=M({enabled:J().default(!0),fields:oe(x()).default(["name","timezone","preferred_language"])}),zs=M({enabled:J().default(!1),execution_mode:ae(["sync","async"]).default("async"),heartbeat_interval_ms:Z().int().min(5e3).default(3e4),connection_timeout_ms:Z().int().min(1e3).default(1e4),task_timeout_ms:Z().int().min(1e3).default(6e4),entries:oe(ks).default([])}),js=M({agent:M({name:x().default(O.agent.name),personality:x().default(O.agent.personality)}).default(O.agent),llm:Se.default(O.llm),sati:fs.optional(),neo:gs.optional(),apoc:hs.optional(),trinity:bs.optional(),link:vs.optional(),webhooks:xs,audio:ps.default(O.audio),memory:M({limit:Z().int().positive().optional()}).default(O.memory),runtime:M({async_tasks:M({enabled:J().default(O.runtime?.async_tasks.enabled)}).default(O.runtime?.async_tasks??{enabled:!0})}).optional(),chronos:ys.optional(),devkit:_s.optional(),smiths:zs.optional(),setup:ws.optional(),verbose_mode:J().default(!0),channels:M({telegram:M({enabled:J().default(!1),token:x().optional(),allowedUsers:oe(x()).default([])}).default(O.channels.telegram),discord:M({enabled:J().default(!1),token:x().optional(),allowedUsers:oe(x()).default([])}).default(O.channels.discord)}).default(O.channels),ui:M({enabled:J().default(O.ui.enabled),port:Z().default(O.ui.port)}).default(O.ui),logging:M({enabled:J().default(O.logging.enabled),level:ae(["debug","info","warn","error"]).default(O.logging.level),retention:x().default(O.logging.retention)}).default(O.logging)}),Ss=Bi("transport",[M({transport:Ot("stdio"),command:x().min(1,"Command is required for stdio transport"),args:oe(x()).optional().default([]),env:Re(x(),x()).optional().default({}),_comment:x().optional()}),M({transport:Ot("http"),url:x().url("Valid URL is required for http transport"),headers:Re(x(),x()).optional().default({}),args:oe(x()).optional().default([]),env:Re(x(),x()).optional().default({}),_comment:x().optional()})]);Re(x(),lr([Ss,x()]));const Ns={resetData:async e=>qe.delete("/danger/reset",{categories:e})},Os=[{id:"general",label:"General"},{id:"agents",label:"Agents"},{id:"devkit",label:"DevKit"},{id:"audio",label:"Audio"},{id:"channels",label:"Channels"},{id:"chronos",label:"Chronos"},{id:"danger",label:"Danger Zone"}],Cs=[{id:"oracle",label:"Oracle"},{id:"sati",label:"Sati"},{id:"neo",label:"Neo"},{id:"apoc",label:"Apoc"},{id:"trinity",label:"Trinity"},{id:"link",label:"Link"}],Ce=[{label:"OpenAI",value:"openai"},{label:"Anthropic",value:"anthropic"},{label:"OpenRouter",value:"openrouter"},{label:"Ollama",value:"ollama"},{label:"Google Gemini",value:"gemini"}];function Ls(){const{data:e,error:t}=ce("/api/config",q.fetchConfig),{data:r}=ce("/api/config/sati",q.getSatiConfig),{data:n}=ce("/api/config/apoc",q.getApocConfig),{data:o}=ce("/api/config/neo",q.getNeoConfig),{data:i}=ce("/api/config/trinity",q.getTrinityConfig),{data:a}=ce("/api/link/config",()=>qe.get("/link/config")),{data:c}=ce("/api/config/encryption-status",()=>q.getEncryptionStatus()),{data:d}=ce("/api/config/env-overrides",()=>q.getEnvOverrides()),{data:p}=wr(),[f,h]=E.useState(null),[u,b]=E.useState(null),[v,D]=E.useState(null),[N,be]=E.useState(null),[A,B]=E.useState(null),[y,U]=E.useState(null),[$,Ne]=E.useState(null),[X,dr]=E.useState("general"),[he,mr]=E.useState("oracle"),[at,it]=E.useState(!1),[Q,Ae]=E.useState({}),[Ke,Oe]=E.useState(null);E.useEffect(()=>{e&&!u&&b(e)},[e]),E.useEffect(()=>{r&&!v&&D(r)},[r]),E.useEffect(()=>{n&&!A?B(n):!n&&!A&&u&&B({...u.apoc??u.llm,temperature:u.apoc?.temperature??.2,timeout_ms:u.apoc?.timeout_ms??3e4})},[n,u]),E.useEffect(()=>{o&&!N?be(o):!o&&!N&&u&&be({...u.neo??u.llm,temperature:u.neo?.temperature??.2})},[o,u]),E.useEffect(()=>{i&&!y?U(i):!i&&!y&&u&&U({...u.trinity??u.llm,temperature:u.trinity?.temperature??.2})},[i,u]),E.useEffect(()=>{p&&!f&&h(p)},[p]),E.useEffect(()=>{a&&!$&&Ne(a)},[a]);const st=JSON.stringify(e)!==JSON.stringify(u)||JSON.stringify(r)!==JSON.stringify(v)||JSON.stringify(o)!==JSON.stringify(N)||JSON.stringify(n)!==JSON.stringify(A)||JSON.stringify(i)!==JSON.stringify(y)||JSON.stringify(p)!==JSON.stringify(f)||JSON.stringify(a)!==JSON.stringify($),pr={general:JSON.stringify(e?.agent)!==JSON.stringify(u?.agent)||e?.verbose_mode!==u?.verbose_mode,agents:JSON.stringify(e?.llm)!==JSON.stringify(u?.llm)||JSON.stringify(r)!==JSON.stringify(v)||JSON.stringify(o)!==JSON.stringify(N)||JSON.stringify(n)!==JSON.stringify(A)||JSON.stringify(i)!==JSON.stringify(y)||JSON.stringify(a)!==JSON.stringify($),devkit:JSON.stringify(e?.devkit)!==JSON.stringify(u?.devkit),audio:JSON.stringify(e?.audio)!==JSON.stringify(u?.audio),channels:JSON.stringify(e?.channels?.telegram)!==JSON.stringify(u?.channels?.telegram)||JSON.stringify(e?.channels?.discord)!==JSON.stringify(u?.channels?.discord)||JSON.stringify(e?.webhooks)!==JSON.stringify(u?.webhooks),ui:JSON.stringify(e?.ui)!==JSON.stringify(u?.ui),logging:JSON.stringify(e?.logging)!==JSON.stringify(u?.logging),chronos:JSON.stringify(p)!==JSON.stringify(f)},ve=(l,S)=>{if(!c?.apiKeysEncrypted)return null;const{morpheusSecretSet:ee,apiKeysEncrypted:te}=c,H=te[l];return!S?s.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-azure-surface border border-azure-border text-azure-text-secondary dark:bg-matrix-primary/10 dark:border-matrix-primary dark:text-matrix-tertiary",children:"No API key"}):d&&d[fr(l)]?null:ee?H?s.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-emerald-100 border border-emerald-300 text-emerald-800 dark:bg-emerald-900/30 dark:border-emerald-700 dark:text-emerald-400",title:"API key encrypted with AES-256-GCM",children:"🔒 Encrypted"}):s.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-amber-100 border border-amber-300 text-amber-800 dark:bg-amber-900/30 dark:border-amber-700 dark:text-amber-400",title:"Re-save this configuration to encrypt the API key",children:"⚠️ Re-save to encrypt"}):s.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-amber-100 border border-amber-300 text-amber-800 dark:bg-amber-900/30 dark:border-amber-700 dark:text-amber-400",title:"Set MORPHEUS_SECRET to enable encryption",children:"⚠️ Plaintext"})},fr=l=>({oracle:"llm.api_key",sati:"sati.api_key",neo:"neo.api_key",apoc:"apoc.api_key",trinity:"trinity.api_key",audio:"audio.apiKey"})[l],j=l=>!d||!d[l]?null:s.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-blue-100 border border-blue-300 text-blue-800 dark:bg-blue-900/30 dark:border-blue-700 dark:text-blue-400",title:"This field is set by an environment variable and cannot be edited",children:"🔒 Env Var"}),w=l=>!!(d&&d[l]),_=(l,S)=>{if(!u)return;const ee=JSON.parse(JSON.stringify(u));let te=ee;for(let H=0;H<l.length-1;H++)(te[l[H]]===void 0||te[l[H]]===null)&&(te[l[H]]={}),te=te[l[H]];te[l[l.length-1]]=S,b(ee);try{js.parse(ee),Ae({})}catch(H){if(H instanceof kr){const Ve={};H.errors.forEach(lt=>{const _r=lt.path.join(".");Ve[_r]=lt.message}),Ae(Ve)}}},ie=(l,S)=>{v&&D({...v,[l]:S})},se=(l,S)=>{A&&B({...A,[l]:S})},ne=(l,S)=>{N&&be({...N,[l]:S})},le=(l,S)=>{y&&U({...y,[l]:S})},hr=()=>{!u||!y||U({...y,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},gr=()=>{!u||!v||D({...v,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},br=()=>{!u||!A||B({...A,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},vr=()=>{!u||!N||be({...N,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},G=(l,S)=>{$&&Ne({...$,[l]:S})},xr=()=>{!u||!$||Ne({...$,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},yr=async()=>{if(u){it(!0),Oe(null);try{const l=await q.updateConfig(u);v&&await q.updateSatiConfig(v),N&&await q.updateNeoConfig(N),A&&await q.updateApocConfig(A),y&&await q.updateTrinityConfig(y),f&&await zr.updateConfig(f),$&&await qe.post("/link/config",$),ue("/api/config"),ue("/api/config/sati"),ue("/api/config/neo"),ue("/api/config/apoc"),ue("/api/config/trinity"),ue("/api/config/chronos"),ue("/api/link/config"),Ae({});const S=l._restartRequired||[],ee=S.length>0?`Settings saved and applied. Some changes require restart: ${S.join(", ")}`:"Settings saved and applied successfully.";Oe({type:"success",message:ee}),setTimeout(()=>Oe(null),5e3)}catch(l){if(Oe({type:"error",message:l.message}),l.details&&Array.isArray(l.details)){const S={};l.details.forEach(ee=>{const te=ee.path.join(".");S[te]=ee.message}),Ae(S)}}finally{it(!1)}}};return t?s.jsx("div",{className:"p-8 text-red-500",children:"Failed to load configuration"}):u?s.jsxs("div",{className:"max-w-4xl mx-auto p-0 md:p-6 space-y-6",children:[s.jsxs("div",{className:"flex justify-between items-center flex-wrap gap-3",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg bg-azure-primary/10 dark:bg-matrix-highlight/10 border border-azure-primary/20 dark:border-matrix-highlight/30 flex items-center justify-center",children:s.jsx(Sr,{className:"w-5 h-5 text-azure-primary dark:text-matrix-highlight"})}),s.jsxs("div",{children:[s.jsx("h1",{className:"text-xl font-bold text-azure-text dark:text-matrix-highlight",children:"Zaion Settings"}),s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-tertiary",children:"Configure agents, models, channels, and runtime behavior."})]})]}),s.jsx("button",{onClick:yr,disabled:!st||Object.keys(Q).length>0||at,className:`px-4 py-2 rounded font-medium transition-colors ${st&&Object.keys(Q).length===0?"bg-azure-primary text-white hover:bg-azure-active dark:bg-matrix-highlight dark:text-black dark:hover:bg-matrix-highlight/90":"bg-azure-border text-azure-text-secondary cursor-not-allowed dark:bg-matrix-primary/50 dark:text-matrix-highlight/50"}`,children:at?"Saving...":"Save Changes"})]}),Ke&&s.jsxs("div",{className:`flex items-start justify-between gap-3 p-4 rounded border ${Ke.type==="success"?"border-azure-primary text-azure-primary bg-azure-primary/10 dark:border-matrix-highlight dark:text-matrix-highlight dark:bg-matrix-highlight/10":"border-red-500 text-red-500 bg-red-900/10"}`,children:[s.jsx("span",{className:"text-sm",children:Ke.message}),s.jsx("button",{type:"button",onClick:()=>Oe(null),className:"shrink-0 opacity-60 hover:opacity-100 transition-opacity","aria-label":"Dismiss",children:s.jsx(Nr,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"overflow-x-auto py-1 hide-scrollbar",children:s.jsx("div",{className:"flex space-x-1 border-b border-azure-border dark:border-matrix-primary pb-px min-w-max",children:Os.map(l=>s.jsxs("button",{onClick:()=>dr(l.id),className:`px-4 py-2 text-sm font-medium rounded-t-md transition-colors flex-shrink-0 flex items-center gap-1.5 ${X===l.id?"bg-azure-surface/50 text-azure-primary border-t border-x border-azure-border dark:bg-matrix-primary/20 dark:text-matrix-highlight dark:border-t dark:border-x dark:border-matrix-primary":"text-azure-text-secondary hover:text-azure-primary dark:text-matrix-secondary dark:hover:text-matrix-highlight"}`,children:[l.label,pr[l.id]&&s.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-amber-400 shrink-0"})]},l.id))})}),s.jsxs("div",{className:"space-y-6",children:[X==="general"&&s.jsxs(F,{title:"Agent Identity",children:[s.jsx(k,{label:"Agent Name",value:u.agent.name,onChange:l=>_(["agent","name"],l.target.value),error:Q["agent.name"]}),s.jsx(k,{label:"Personality",value:u.agent.personality,onChange:l=>_(["agent","personality"],l.target.value),error:Q["agent.personality"]}),s.jsx(K,{label:"Verbose Mode",value:u.verbose_mode!==!1?"true":"false",onChange:l=>_(["verbose_mode"],l.target.value==="true"),options:[{value:"true",label:"Enabled (notify tool execution on channels)"},{value:"false",label:"Disabled"}],helperText:"When enabled, channels like Telegram/Discord show which tools are being executed in real-time."})]}),X==="agents"&&s.jsxs("div",{className:"space-y-4",children:[s.jsx("div",{className:"flex space-x-1 border-b border-azure-border dark:border-matrix-primary pb-px",children:Cs.map(l=>s.jsx("button",{onClick:()=>mr(l.id),className:`px-4 py-2 text-sm font-medium rounded-t-md transition-colors ${he===l.id?"bg-azure-primary/10 text-azure-primary border-b-2 border-azure-primary dark:bg-matrix-highlight/10 dark:text-matrix-highlight dark:border-matrix-highlight":"text-azure-text-secondary hover:text-azure-primary dark:text-matrix-secondary dark:hover:text-matrix-highlight"}`,children:l.label},l.id))}),he==="oracle"&&s.jsxs(F,{title:"Oracle Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Main orchestration agent — handles user requests and delegates to subagents"}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("llm.provider")]}),s.jsx(K,{label:"",value:u.llm.provider,onChange:l=>_(["llm","provider"],l.target.value),options:Ce,error:Q["llm.provider"],disabled:w("llm.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("llm.model")]}),s.jsx(k,{label:"",value:u.llm.model,onChange:l=>_(["llm","model"],l.target.value),disabled:w("llm.model")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("llm.temperature")]}),s.jsx(C,{label:"",value:u.llm.temperature,onChange:l=>_(["llm","temperature"],parseFloat(l.target.value)),step:.1,min:0,max:1,error:Q["llm.temperature"],disabled:w("llm.temperature")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("llm.max_tokens")]}),s.jsx(C,{label:"",value:u.llm.max_tokens??"",onChange:l=>_(["llm","max_tokens"],l.target.value?parseInt(l.target.value):void 0),min:1,error:Q["llm.max_tokens"],helperText:"Maximum tokens per response. Leave empty for model default.",disabled:w("llm.max_tokens")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Context Window (Messages)"}),j("llm.context_window")]}),s.jsx(C,{label:"",value:u.llm.context_window??100,onChange:l=>_(["llm","context_window"],parseInt(l.target.value)),min:1,step:1,error:Q["llm.context_window"],helperText:"Number of past interactions to load into LLM context (e.g., 100).",disabled:w("llm.context_window")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("llm.api_key"),ve("oracle",u.llm.api_key)]})]}),s.jsx(k,{label:"",type:"password",value:u.llm.api_key||"",onChange:l=>_(["llm","api_key"],l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:w("llm.api_key")}),u.llm.provider==="openrouter"&&s.jsx(k,{label:"Base URL",value:u.llm.base_url||"https://openrouter.ai/api/v1",onChange:l=>_(["llm","base_url"],l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]}),he==="sati"&&s.jsxs(F,{title:"Sati Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Background memory consolidation agent — evaluates conversations and persists important context"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("button",{type:"button",onClick:gr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),s.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),v&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("sati.provider")]}),s.jsx(K,{label:"",value:v.provider,onChange:l=>ie("provider",l.target.value),options:Ce,disabled:w("sati.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("sati.model")]}),s.jsx(k,{label:"",value:v.model,onChange:l=>ie("model",l.target.value),disabled:w("sati.model")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("sati.api_key"),ve("sati",v.api_key)]})]}),s.jsx(k,{label:"",type:"password",value:v.api_key||"",onChange:l=>ie("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:w("sati.api_key")}),v.provider==="openrouter"&&s.jsx(k,{label:"Base URL",value:v.base_url||"https://openrouter.ai/api/v1",onChange:l=>ie("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"}),s.jsx(C,{label:"Memory Limit",value:v.memory_limit??10,onChange:l=>ie("memory_limit",parseInt(l.target.value)),min:1,step:1,helperText:"Number of memory items to retrieve from long-term storage."}),s.jsx(C,{label:"Evaluation Interval",value:v.evaluation_interval??1,onChange:l=>ie("evaluation_interval",parseInt(l.target.value)),min:1,step:1,helperText:"Oracle turns between memory evaluations. Default: 1 (every turn). *If Evaluation interval is more than context window, this value will be ignored."}),s.jsx(re,{label:"Enable Archived Sessions in Memory Retrieval",checked:v.enabled_archived_sessions??!0,onChange:l=>ie("enabled_archived_sessions",l)}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Similarity Threshold"}),s.jsx("span",{className:"text-sm font-mono text-azure-text-primary dark:text-matrix-highlight",children:(v.similarity_threshold??.9).toFixed(2)})]}),s.jsx("input",{type:"range",min:0,max:1,step:.01,value:v.similarity_threshold??.9,onChange:l=>ie("similarity_threshold",parseFloat(l.target.value)),className:`w-full h-1.5 rounded-full appearance-none cursor-pointer
|
|
40
|
-
bg-gray-200 dark:bg-matrix-primary/30
|
|
41
|
-
accent-azure-primary dark:accent-matrix-highlight`}),s.jsx("p",{className:"mt-1.5 text-xs text-gray-400 dark:text-matrix-secondary",children:"Minimum cosine similarity to consider a memory relevant (0–1). Lower values retrieve more memories, but may increase token consumption."})]})]})]}),he==="neo"&&s.jsxs(F,{title:"Neo Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"MCP + internal tools subagent — executes analytical and operational tasks delegated by Oracle"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("button",{type:"button",onClick:vr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),s.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),N&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("neo.provider")]}),s.jsx(K,{label:"",value:N.provider,onChange:l=>ne("provider",l.target.value),options:Ce,disabled:w("neo.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("neo.model")]}),s.jsx(k,{label:"",value:N.model,onChange:l=>ne("model",l.target.value),disabled:w("neo.model")}),s.jsx(k,{label:"Personality",value:N.personality||"analytical_engineer",onChange:l=>ne("personality",l.target.value),placeholder:"analytical_engineer",helperText:"e.g., analytical_engineer, meticulous_auditor, systems_thinker"}),s.jsx(K,{label:"Execution Mode",value:N.execution_mode||"async",onChange:l=>ne("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("neo.temperature")]}),s.jsx(C,{label:"",value:N.temperature,onChange:l=>ne("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:w("neo.temperature")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("neo.max_tokens")]}),s.jsx(C,{label:"",value:N.max_tokens??"",onChange:l=>ne("max_tokens",l.target.value?parseInt(l.target.value):void 0),min:1,helperText:"Maximum tokens per response. Leave empty for model default.",disabled:w("neo.max_tokens")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Context Window (Messages)"}),j("neo.context_window")]}),s.jsx(C,{label:"",value:N.context_window??100,onChange:l=>ne("context_window",parseInt(l.target.value)),min:1,step:1,disabled:w("neo.context_window")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("neo.api_key"),ve("neo",N.api_key)]})]}),s.jsx(k,{label:"",type:"password",value:N.api_key||"",onChange:l=>ne("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:w("neo.api_key")}),N.provider==="openrouter"&&s.jsx(k,{label:"Base URL",value:N.base_url||"https://openrouter.ai/api/v1",onChange:l=>ne("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]})]}),he==="trinity"&&s.jsxs(F,{title:"Trinity Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Database subagent — interprets natural language queries and executes them against registered databases (PostgreSQL, MySQL, SQLite, MongoDB)"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("button",{type:"button",onClick:hr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),s.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),y&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("trinity.provider")]}),s.jsx(K,{label:"",value:y.provider,onChange:l=>le("provider",l.target.value),options:Ce,disabled:w("trinity.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("trinity.model")]}),s.jsx(k,{label:"",value:y.model,onChange:l=>le("model",l.target.value),disabled:w("trinity.model")}),s.jsx(k,{label:"Personality",value:y.personality||"data_specialist",onChange:l=>le("personality",l.target.value),placeholder:"data_specialist",helperText:"e.g., data_specialist, query_optimizer, db_architect"}),s.jsx(K,{label:"Execution Mode",value:y.execution_mode||"async",onChange:l=>le("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("trinity.temperature")]}),s.jsx(C,{label:"",value:y.temperature,onChange:l=>le("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:w("trinity.temperature")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("trinity.max_tokens")]}),s.jsx(C,{label:"",value:y.max_tokens??"",onChange:l=>le("max_tokens",l.target.value?parseInt(l.target.value):void 0),min:1,helperText:"Maximum tokens per response. Leave empty for model default.",disabled:w("trinity.max_tokens")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("trinity.api_key"),ve("trinity",y.api_key)]})]}),s.jsx(k,{label:"",type:"password",value:y.api_key||"",onChange:l=>le("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:w("trinity.api_key")}),y.provider==="openrouter"&&s.jsx(k,{label:"Base URL",value:y.base_url||"https://openrouter.ai/api/v1",onChange:l=>le("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]})]}),he==="link"&&s.jsxs(F,{title:"Link Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Documentation specialist — indexes documents from ~/.morpheus/docs, uses an LLM to reason over search results and synthesize intelligent answers"}),$&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"mb-4",children:s.jsx("button",{type:"button",onClick:xr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"})}),s.jsx(K,{label:"Provider",value:$.provider||"openai",onChange:l=>G("provider",l.target.value),options:[{value:"openai",label:"OpenAI"},{value:"anthropic",label:"Anthropic"},{value:"openrouter",label:"OpenRouter"},{value:"ollama",label:"Ollama"},{value:"gemini",label:"Gemini"}]}),s.jsx(k,{label:"Model Name",value:$.model||"",onChange:l=>G("model",l.target.value),placeholder:"e.g., gpt-4"}),s.jsx(k,{label:"Personality",value:$.personality||"",onChange:l=>G("personality",l.target.value),placeholder:"documentation_specialist"}),s.jsx(K,{label:"Execution Mode",value:$.execution_mode||"async",onChange:l=>G("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),s.jsx(C,{label:"Temperature",value:$.temperature??.2,onChange:l=>G("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1}),s.jsx(k,{label:"API Key (optional — falls back to Oracle)",value:$.api_key||"",onChange:l=>G("api_key",l.target.value||void 0),type:"password",placeholder:"Leave empty to use Oracle's API key"}),s.jsx("h4",{className:"text-sm font-medium text-azure-text dark:text-matrix-highlight mt-6 mb-3",children:"RAG Settings"}),s.jsx(C,{label:"Chunk Size",value:$.chunk_size,onChange:l=>G("chunk_size",parseInt(l.target.value)||500),min:100,max:2e3,helperText:"Character count per document chunk (default: 500)"}),s.jsx(C,{label:"Score Threshold",value:$.score_threshold,onChange:l=>G("score_threshold",parseFloat(l.target.value)||.5),step:.1,min:0,max:1,helperText:"Minimum similarity score to include in results (0-1, default: 0.5)"}),s.jsx(C,{label:"Max Results",value:$.max_results,onChange:l=>G("max_results",parseInt(l.target.value)||10),min:1,max:50,helperText:"Maximum number of chunks to return per search (default: 10)"}),s.jsx(C,{label:"Scan Interval (ms)",value:$.scan_interval_ms,onChange:l=>G("scan_interval_ms",parseInt(l.target.value)||3e4),min:5e3,max:3e5,helperText:"How often to scan docs folder for changes (default: 30000ms = 30s)"}),s.jsx(C,{label:"Max File Size (MB)",value:$.max_file_size_mb,onChange:l=>G("max_file_size_mb",parseInt(l.target.value)||50),min:1,max:100,helperText:"Maximum file size to process (default: 50MB)"}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsx(C,{label:"Vector Weight",value:$.vector_weight,onChange:l=>G("vector_weight",parseFloat(l.target.value)||.8),step:.1,min:0,max:1,helperText:"Weight for vector similarity (default: 0.8)"}),s.jsx(C,{label:"BM25 Weight",value:$.bm25_weight,onChange:l=>G("bm25_weight",parseFloat(l.target.value)||.2),step:.1,min:0,max:1,helperText:"Weight for keyword matching (default: 0.2)"})]}),s.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-2",children:"Note: Vector weight + BM25 weight should equal 1.0 for balanced results"})]})]}),he==="apoc"&&s.jsxs(F,{title:"Apoc Agent",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"DevTools subagent — executes file, shell, git, network, and system operations on behalf of Oracle"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("button",{type:"button",onClick:br,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),s.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),A&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("apoc.provider")]}),s.jsx(K,{label:"",value:A.provider,onChange:l=>se("provider",l.target.value),options:Ce,disabled:w("apoc.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("apoc.model")]}),s.jsx(k,{label:"",value:A.model,onChange:l=>se("model",l.target.value),disabled:w("apoc.model")}),s.jsx(k,{label:"Personality",value:A.personality||"pragmatic_dev",onChange:l=>se("personality",l.target.value),placeholder:"pragmatic_dev",helperText:"e.g., pragmatic_dev, cautious_admin, automation_specialist"}),s.jsx(K,{label:"Execution Mode",value:A.execution_mode||"async",onChange:l=>se("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("apoc.temperature")]}),s.jsx(C,{label:"",value:A.temperature,onChange:l=>se("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:w("apoc.temperature")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("apoc.api_key"),ve("apoc",A.api_key)]})]}),s.jsx(k,{label:"",type:"password",value:A.api_key||"",onChange:l=>se("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:w("apoc.api_key")}),A.provider==="openrouter"&&s.jsx(k,{label:"Base URL",value:A.base_url||"https://openrouter.ai/api/v1",onChange:l=>se("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"}),s.jsx(C,{label:"Timeout (ms)",value:A.timeout_ms??3e4,onChange:l=>se("timeout_ms",parseInt(l.target.value)),min:1e3,step:1e3,helperText:"Maximum execution time for shell and system operations in milliseconds."})]})]})]}),X==="devkit"&&s.jsxs(s.Fragment,{children:[s.jsxs(F,{title:"DevKit Security",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Shared security configuration for DevKit tools used by Apoc. Controls path sandboxing, shell command restrictions, and tool category access."}),s.jsx(k,{label:"Sandbox Directory",value:u.devkit?.sandbox_dir||"",onChange:l=>_(["devkit","sandbox_dir"],l.target.value),placeholder:typeof window<"u"?"(defaults to process.cwd())":"",helperText:"Root directory for all DevKit operations. All file, shell, and git paths are confined here.",disabled:w("devkit.sandbox_dir")}),s.jsx(K,{label:"Read-Only Mode",value:u.devkit?.readonly_mode?"true":"false",onChange:l=>_(["devkit","readonly_mode"],l.target.value==="true"),options:[{value:"false",label:"Disabled (read + write)"},{value:"true",label:"Enabled (read-only, blocks writes/deletes)"}],helperText:"When enabled, blocks all write, delete, and create operations on the filesystem.",disabled:w("devkit.readonly_mode")}),s.jsx(C,{label:"Timeout (ms)",value:u.devkit?.timeout_ms??3e4,onChange:l=>_(["devkit","timeout_ms"],parseInt(l.target.value)),min:1e3,step:1e3,helperText:"Default timeout for shell and system operations in milliseconds.",disabled:w("devkit.timeout_ms")})]}),s.jsxs(F,{title:"Tool Categories",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Enable or disable entire categories of DevKit tools."}),s.jsx(re,{label:"Filesystem (read, write, list, copy, move, delete files)",checked:u.devkit?.enable_filesystem!==!1,onChange:l=>_(["devkit","enable_filesystem"],l)}),s.jsx(re,{label:"Shell (run_command, run_script, which)",checked:u.devkit?.enable_shell!==!1,onChange:l=>_(["devkit","enable_shell"],l)}),s.jsx(re,{label:"Git (status, diff, commit, push, pull, clone, branch)",checked:u.devkit?.enable_git!==!1,onChange:l=>_(["devkit","enable_git"],l)}),s.jsx(re,{label:"Network (http_request, ping, dns_lookup, download_file)",checked:u.devkit?.enable_network!==!1,onChange:l=>_(["devkit","enable_network"],l)})]}),s.jsxs(F,{title:"Shell Command Allowlist",children:[s.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Restrict which shell commands Apoc can execute. Leave empty to allow all commands (default)."}),s.jsx(k,{label:"Allowed Commands",value:(u.devkit?.allowed_shell_commands||[]).join(", "),onChange:l=>_(["devkit","allowed_shell_commands"],l.target.value.split(",").map(S=>S.trim()).filter(Boolean)),placeholder:"e.g. node, npm, git, python, cargo",helperText:"Comma-separated list of allowed binary names. Empty = all commands allowed.",disabled:w("devkit.allowed_shell_commands")})]})]}),X==="audio"&&s.jsxs(F,{title:"Audio Transcription",children:[s.jsx(re,{label:"Enable Audio",checked:u.audio.enabled,onChange:l=>_(["audio","enabled"],l)}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("audio.provider")]}),s.jsx(K,{label:"",value:u.audio.provider||"google",onChange:l=>_(["audio","provider"],l.target.value),options:[{label:"Google Gemini",value:"google"},{label:"OpenAI (Whisper)",value:"openai"},{label:"OpenRouter (multimodal)",value:"openrouter"},{label:"Ollama (Whisper local)",value:"ollama"}],error:Q["audio.provider"],disabled:w("audio.provider")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model"}),j("audio.model")]}),s.jsx(k,{label:"",value:u.audio.model,onChange:l=>_(["audio","model"],l.target.value),placeholder:"e.g. whisper-1, gemini-2.5-flash-lite...",helperText:"Model to use for audio transcription.",error:Q["audio.model"],disabled:w("audio.model")}),u.audio.provider==="ollama"&&s.jsx(k,{label:"Base URL",value:u.audio.base_url||"",onChange:l=>_(["audio","base_url"],l.target.value),placeholder:"http://localhost:11434",helperText:"Ollama base URL. Requires a Whisper model loaded (ollama pull whisper)."}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),s.jsxs("div",{className:"flex items-center gap-2",children:[j("audio.apiKey"),ve("audio",u.audio.apiKey)]})]}),s.jsx(k,{label:"",type:"password",value:u.audio.apiKey||"",onChange:l=>_(["audio","apiKey"],l.target.value),placeholder:"If different from LLM key...",helperText:"Leave empty to use LLM API key if using the same provider.",disabled:w("audio.apiKey")}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Duration (Seconds)"}),j("audio.maxDurationSeconds")]}),s.jsx(C,{label:"",value:u.audio.maxDurationSeconds,onChange:l=>_(["audio","maxDurationSeconds"],parseInt(l.target.value)),min:1,disabled:w("audio.maxDurationSeconds")}),s.jsx(k,{label:"Supported Mime Types",value:u.audio.supportedMimeTypes.join(", "),onChange:l=>_(["audio","supportedMimeTypes"],l.target.value.split(",").map(S=>S.trim()).filter(Boolean)),helperText:"Comma separated list (e.g. audio/ogg, audio/mp3)"})]}),X==="channels"&&s.jsxs(s.Fragment,{children:[s.jsxs(F,{title:"Telegram",children:[s.jsx(re,{label:"Enable Telegram",checked:u.channels.telegram.enabled,onChange:l=>_(["channels","telegram","enabled"],l)}),u.channels.telegram.enabled&&s.jsxs("div",{className:"space-y-4 mt-4 pl-4 border-l border-matrix-primary",children:[s.jsx(k,{label:"Bot Token",type:"password",value:u.channels.telegram.token||"",onChange:l=>_(["channels","telegram","token"],l.target.value)}),s.jsx(k,{label:"Allowed Users (comma separated)",value:u.channels.telegram.allowedUsers.join(", "),onChange:l=>_(["channels","telegram","allowedUsers"],l.target.value.split(",").map(S=>S.trim()).filter(Boolean)),helperText:"User IDs allowed to interact with the bot"})]})]}),s.jsxs(F,{title:"Discord",children:[s.jsx(re,{label:"Enable Discord",checked:u.channels.discord.enabled,onChange:l=>_(["channels","discord","enabled"],l)}),u.channels.discord.enabled&&s.jsxs("div",{className:"space-y-4 mt-4 pl-4 border-l border-matrix-primary",children:[s.jsx(k,{label:"Bot Token",type:"password",value:u.channels.discord.token||"",onChange:l=>_(["channels","discord","token"],l.target.value)}),s.jsx(k,{label:"Allowed Users (comma separated)",value:(u.channels.discord.allowedUsers??[]).join(", "),onChange:l=>_(["channels","discord","allowedUsers"],l.target.value.split(",").map(S=>S.trim()).filter(Boolean)),helperText:"Discord user IDs allowed to interact with the bot"})]})]})]}),X==="ui"&&s.jsxs(F,{title:"Dashboard",children:[s.jsx(re,{label:"Enable Web UI",checked:u.ui.enabled,onChange:l=>_(["ui","enabled"],l)}),s.jsx(C,{label:"Port",value:u.ui.port,onChange:l=>_(["ui","port"],parseInt(l.target.value)),disabled:!0,helperText:"Port changes require daemon restart."})]}),X==="logging"&&s.jsxs(F,{title:"Logging",children:[s.jsx(re,{label:"Enable Logging",checked:u.logging.enabled,onChange:l=>_(["logging","enabled"],l)}),s.jsx(K,{label:"Log Level",value:u.logging.level,onChange:l=>_(["logging","level"],l.target.value),options:[{label:"Debug",value:"debug"},{label:"Info",value:"info"},{label:"Warning",value:"warn"},{label:"Error",value:"error"}]})]}),X==="chronos"&&f&&s.jsxs(F,{title:"Chronos — Temporal Intent Engine",children:[s.jsx(K,{label:"Timezone",value:f.timezone,onChange:l=>h({...f,timezone:l.target.value}),options:[{label:"UTC",value:"UTC"},{label:"America/New_York",value:"America/New_York"},{label:"America/Chicago",value:"America/Chicago"},{label:"America/Denver",value:"America/Denver"},{label:"America/Los_Angeles",value:"America/Los_Angeles"},{label:"America/Sao_Paulo",value:"America/Sao_Paulo"},{label:"America/Buenos_Aires",value:"America/Buenos_Aires"},{label:"America/Bogota",value:"America/Bogota"},{label:"America/Lima",value:"America/Lima"},{label:"America/Santiago",value:"America/Santiago"},{label:"America/Mexico_City",value:"America/Mexico_City"},{label:"America/Toronto",value:"America/Toronto"},{label:"America/Vancouver",value:"America/Vancouver"},{label:"Europe/London",value:"Europe/London"},{label:"Europe/Paris",value:"Europe/Paris"},{label:"Europe/Berlin",value:"Europe/Berlin"},{label:"Europe/Madrid",value:"Europe/Madrid"},{label:"Europe/Rome",value:"Europe/Rome"},{label:"Europe/Amsterdam",value:"Europe/Amsterdam"},{label:"Europe/Brussels",value:"Europe/Brussels"},{label:"Europe/Zurich",value:"Europe/Zurich"},{label:"Europe/Lisbon",value:"Europe/Lisbon"},{label:"Europe/Warsaw",value:"Europe/Warsaw"},{label:"Europe/Stockholm",value:"Europe/Stockholm"},{label:"Europe/Helsinki",value:"Europe/Helsinki"},{label:"Europe/Moscow",value:"Europe/Moscow"},{label:"Asia/Dubai",value:"Asia/Dubai"},{label:"Asia/Kolkata",value:"Asia/Kolkata"},{label:"Asia/Bangkok",value:"Asia/Bangkok"},{label:"Asia/Singapore",value:"Asia/Singapore"},{label:"Asia/Hong_Kong",value:"Asia/Hong_Kong"},{label:"Asia/Shanghai",value:"Asia/Shanghai"},{label:"Asia/Tokyo",value:"Asia/Tokyo"},{label:"Asia/Seoul",value:"Asia/Seoul"},{label:"Australia/Sydney",value:"Australia/Sydney"},{label:"Australia/Melbourne",value:"Australia/Melbourne"},{label:"Pacific/Auckland",value:"Pacific/Auckland"},{label:"Africa/Cairo",value:"Africa/Cairo"},{label:"Africa/Johannesburg",value:"Africa/Johannesburg"}]}),s.jsx(C,{label:"Check Interval (seconds)",value:Math.round(f.check_interval_ms/1e3),onChange:l=>h({...f,check_interval_ms:Number(l.target.value)*1e3}),min:60}),s.jsx(C,{label:"Max Active Jobs",value:f.max_active_jobs,onChange:l=>h({...f,max_active_jobs:Number(l.target.value)}),min:1,max:1e3})]}),X==="danger"&&s.jsx($s,{})]})]}):s.jsx("div",{className:"p-8 text-azure-primary dark:text-matrix-highlight",children:"Loading settings..."})}const xe=[{id:"sessions",label:"Sessions & Messages",description:"All chat sessions and their messages"},{id:"memories",label:"Long-term Memories",description:"Sati knowledge base, embeddings, and archived session chunks"},{id:"tasks",label:"Tasks",description:"Background task queue and execution results"},{id:"audit",label:"Audit Logs",description:"All agent and tool audit events"},{id:"chronos",label:"Chronos Jobs",description:"Scheduled jobs and their execution history"},{id:"webhooks",label:"Webhooks",description:"Webhook definitions and notification history"}];function $s(){const[e,t]=E.useState(new Set),[r,n]=E.useState(!1),[o,i]=E.useState(!1),[a,c]=E.useState(null),d=u=>{t(b=>{const v=new Set(b);return v.has(u)?v.delete(u):v.add(u),v})},p=()=>{e.size===xe.length?t(new Set):t(new Set(xe.map(u=>u.id)))},f=async()=>{if(e.size!==0){i(!0),c(null);try{const u=await Ns.resetData([...e]);c({success:!0,message:u.message}),t(new Set),ue(()=>!0,void 0,{revalidate:!0})}catch(u){c({success:!1,message:u instanceof Error?u.message:"Failed to reset data"})}finally{i(!1)}}},h=xe.filter(u=>e.has(u.id)).map(u=>u.label);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"rounded-lg border-2 border-red-300 dark:border-red-900 bg-red-50 dark:bg-red-950/20 p-6 space-y-5",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Or,{className:"w-6 h-6 text-red-500 dark:text-red-400 shrink-0"}),s.jsx("h3",{className:"text-lg font-semibold text-red-700 dark:text-red-400",children:"Danger Zone"})]}),s.jsxs("p",{className:"text-sm text-red-600 dark:text-red-300/80",children:["Select the data you want to permanently delete. These actions are ",s.jsx("strong",{children:"irreversible"}),"."]}),s.jsxs("div",{className:"rounded-md border border-red-200 dark:border-red-900/60 bg-white dark:bg-black p-4 space-y-3",children:[s.jsxs("label",{className:"flex items-center gap-3 pb-2 border-b border-red-100 dark:border-red-900/40 cursor-pointer select-none",children:[s.jsx("input",{type:"checkbox",checked:e.size===xe.length,onChange:p,className:`w-4 h-4 rounded border-red-300 text-red-600 focus:ring-red-500
|
|
42
|
-
dark:border-red-800 dark:bg-black dark:checked:bg-red-600`}),s.jsx("span",{className:"text-sm font-medium text-red-700 dark:text-red-400",children:"Select all"})]}),xe.map(u=>s.jsxs("label",{className:"flex items-start gap-3 cursor-pointer select-none",children:[s.jsx("input",{type:"checkbox",checked:e.has(u.id),onChange:()=>d(u.id),className:`w-4 h-4 mt-0.5 rounded border-red-300 text-red-600 focus:ring-red-500
|
|
43
|
-
dark:border-red-800 dark:bg-black dark:checked:bg-red-600`}),s.jsxs("div",{children:[s.jsx("span",{className:"text-sm font-medium text-red-700 dark:text-red-300",children:u.label}),s.jsx("p",{className:"text-xs text-red-500 dark:text-red-300/60",children:u.description})]})]},u.id))]}),s.jsxs("div",{className:"flex items-center justify-between gap-4",children:[s.jsx("p",{className:"text-xs text-red-500 dark:text-red-300/50",children:e.size===0?"No categories selected":`${e.size} of ${xe.length} selected`}),s.jsx("button",{onClick:()=>n(!0),disabled:o||e.size===0,className:`shrink-0 px-4 py-2 text-sm font-medium rounded-md
|
|
44
|
-
bg-red-600 text-white hover:bg-red-700
|
|
45
|
-
dark:bg-red-900/50 dark:text-red-200 dark:hover:bg-red-800/60
|
|
46
|
-
disabled:opacity-50 disabled:cursor-not-allowed
|
|
47
|
-
transition-colors`,children:o?"Resetting...":"Reset selected data"})]}),a&&s.jsx("div",{className:`rounded-md p-3 text-sm ${a.success?"bg-green-50 text-green-700 dark:bg-green-950/30 dark:text-green-400 border border-green-200 dark:border-green-900":"bg-red-100 text-red-700 dark:bg-red-950/40 dark:text-red-300 border border-red-300 dark:border-red-800"}`,children:a.message})]}),s.jsx(jr,{isOpen:r,onClose:()=>n(!1),onConfirm:f,title:"Reset selected data?",description:`This will permanently delete: ${h.join(", ")}. This action cannot be undone.`,confirmJson:"Yes, delete permanently",variant:"destructive"})]})}export{Ls as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Helvetica,Courier New,Courier,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1));font-family:Helvetica,Courier New,Courier,monospace;--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}body:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark body{background-color:rgb(var(--matrix-bg))}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1))}.dark ::-webkit-scrollbar-track{background-color:rgb(var(--matrix-bg))}::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-primary) / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(74 144 226 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-right-1\.5{right:-.375rem}.-top-1\.5{top:-.375rem}.-top-10{top:-2.5rem}.bottom-0{bottom:0}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-16{top:4rem}.top-4{top:1rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2 / span 2}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-ml-1{margin-left:-.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-40{max-height:10rem}.max-h-44{max-height:11rem}.max-h-48{max-height:12rem}.max-h-52{max-height:13rem}.max-h-56{max-height:14rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\[65vh\]{max-height:65vh}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[140px\]{min-width:140px}.min-w-\[820px\]{min-width:820px}.min-w-full{min-width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[160px\]{max-width:160px}.max-w-\[180px\]{max-width:180px}.max-w-\[240px\]{max-width:240px}.max-w-\[85\%\]{max-width:85%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\[6\]{flex:6}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0px}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-azure-border>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(179 212 252 / var(--tw-divide-opacity, 1))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity, 1))}.divide-gray-50>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(249 250 251 / var(--tw-divide-opacity, 1))}.divide-matrix-primary\/30>:not([hidden])~:not([hidden]){border-color:rgb(var(--matrix-primary) / .3)}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-amber-300\/60{border-color:#fcd34d99}.border-amber-500\/30{border-color:#f59e0b4d}.border-amber-500\/40{border-color:#f59e0b66}.border-azure-border{--tw-border-opacity: 1;border-color:rgb(179 212 252 / var(--tw-border-opacity, 1))}.border-azure-primary{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.border-azure-primary\/20{border-color:#06c3}.border-azure-primary\/40{border-color:#06c6}.border-azure-primary\/50{border-color:#0066cc80}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-blue-400\/30{border-color:#60a5fa4d}.border-cyan-400\/30{border-color:#22d3ee4d}.border-cyan-500\/30{border-color:#06b6d44d}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity, 1))}.border-emerald-300\/60{border-color:#6ee7b799}.border-emerald-400\/50{border-color:#34d39980}.border-emerald-500\/30{border-color:#10b9814d}.border-emerald-500\/40{border-color:#10b98166}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-green-400\/30{border-color:#4ade804d}.border-green-500\/30{border-color:#22c55e4d}.border-indigo-400\/30{border-color:#818cf84d}.border-matrix-primary{--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity, 1))}.border-orange-400\/30{border-color:#fb923c4d}.border-pink-400\/30{border-color:#f472b64d}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity, 1))}.border-purple-400\/30{border-color:#c084fc4d}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-red-300\/60{border-color:#fca5a599}.border-red-400\/40{border-color:#f8717166}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-red-500\/20{border-color:#ef444433}.border-red-500\/30{border-color:#ef44444d}.border-red-500\/40{border-color:#ef444466}.border-red-500\/50{border-color:#ef444480}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity, 1))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity, 1))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity, 1))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-400\/30{border-color:#facc154d}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity, 1))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity, 1))}.border-zinc-400\/30{border-color:#a1a1aa4d}.border-zinc-500\/30{border-color:#71717a4d}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\/10{background-color:#f59e0b1a}.bg-azure-active{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.bg-azure-bg{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1))}.bg-azure-border{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.bg-azure-hover{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.bg-azure-primary{--tw-bg-opacity: 1;background-color:rgb(0 102 204 / var(--tw-bg-opacity, 1))}.bg-azure-primary\/10{background-color:#0066cc1a}.bg-azure-primary\/5{background-color:#0066cc0d}.bg-azure-surface{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-azure-surface\/30{background-color:#ffffff4d}.bg-azure-surface\/50{background-color:#ffffff80}.bg-azure-surface\/60{background-color:#fff9}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-black\/60{background-color:#0009}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-300\/70{background-color:#93c5fdb3}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.bg-blue-400\/10{background-color:#60a5fa1a}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\/40{background-color:#eff6ff66}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-cyan-400\/10{background-color:#22d3ee1a}.bg-cyan-500\/10{background-color:#06b6d41a}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.bg-green-400\/10{background-color:#4ade801a}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500\/10{background-color:#22c55e1a}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-400\/10{background-color:#818cf81a}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-matrix-primary\/20{background-color:rgb(var(--matrix-primary) / .2)}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity, 1))}.bg-orange-400\/10{background-color:#fb923c1a}.bg-pink-400\/10{background-color:#f472b61a}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity, 1))}.bg-purple-400\/10{background-color:#c084fc1a}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\/10{background-color:#ef44441a}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-red-900\/10{background-color:#7f1d1d1a}.bg-red-900\/20{background-color:#7f1d1d33}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity, 1))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity, 1))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity, 1))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity, 1))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-400\/10{background-color:#facc151a}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity, 1))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity, 1))}.bg-zinc-400\/10{background-color:#a1a1aa1a}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity, 1))}.bg-zinc-500\/10{background-color:#71717a1a}.bg-\[linear-gradient\(rgba\(18\,16\,16\,0\)_50\%\,rgba\(0\,0\,0\,0\.1\)_50\%\)\,linear-gradient\(90deg\,rgba\(0\,255\,0\,0\.03\)\,rgba\(0\,255\,0\,0\.01\)\)\]{background-image:linear-gradient(#12101000 50%,#0000001a 50%),linear-gradient(90deg,#00ff0008,#00ff0003)}.bg-\[length\:100\%_2px\,3px_100\%\]{background-size:100% 2px,3px 100%}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-px{padding-bottom:1px}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-1{padding-right:.25rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Helvetica,Courier New,Courier,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-azure-accent{--tw-text-opacity: 1;color:rgb(33 150 243 / var(--tw-text-opacity, 1))}.text-azure-primary{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.text-azure-primary\/60{color:#06c9}.text-azure-text-muted{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-azure-text-primary{--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1))}.text-azure-text-primary\/80{color:#1a1a1acc}.text-azure-text-secondary{--tw-text-opacity: 1;color:rgb(92 107 125 / var(--tw-text-opacity, 1))}.text-azure-text-secondary\/60{color:#5c6b7d99}.text-azure-text-secondary\/70{color:#5c6b7db3}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity, 1))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-matrix-highlight{--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.text-matrix-secondary{--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity, 1))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity, 1))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity, 1))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/70{color:#ffffffb3}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.placeholder-azure-text-secondary\/40::-moz-placeholder{color:#5c6b7d66}.placeholder-azure-text-secondary\/40::placeholder{color:#5c6b7d66}.placeholder-azure-text-secondary\/50::-moz-placeholder{color:#5c6b7d80}.placeholder-azure-text-secondary\/50::placeholder{color:#5c6b7d80}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.accent-azure-primary{accent-color:#0066CC}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-white{--tw-ring-offset-color: #fff}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root{--matrix-bg: 0 0 0;--matrix-base: 13 2 8;--matrix-primary: 0 59 0;--matrix-secondary: 0 143 17;--matrix-highlight: 0 255 65;--matrix-text: 0 143 17}[data-theme=dark-soft]{--matrix-bg: 30 30 46;--matrix-base: 42 42 62;--matrix-primary: 45 74 62;--matrix-secondary: 134 239 172;--matrix-highlight: 187 247 208;--matrix-text: 134 239 172}[data-theme=azure-dark]{--matrix-bg: 10 22 40;--matrix-base: 15 29 50;--matrix-primary: 30 58 95;--matrix-secondary: 74 144 226;--matrix-highlight: 124 185 245;--matrix-text: 74 144 226}.dark[data-theme=dark-soft] .dark\:bg-black,.dark[data-theme=azure-dark] .dark\:bg-black{background-color:rgb(var(--matrix-bg))}.dark[data-theme=dark-soft] .dark\:bg-zinc-900,.dark[data-theme=azure-dark] .dark\:bg-zinc-900{background-color:rgb(var(--matrix-base))}.placeholder\:text-azure-text-secondary\/50::-moz-placeholder{color:#5c6b7d80}.placeholder\:text-azure-text-secondary\/50::placeholder{color:#5c6b7d80}.last\:border-0:last-child{border-width:0px}.last\:pb-0:last-child{padding-bottom:0}.hover\:border-azure-border:hover{--tw-border-opacity: 1;border-color:rgb(179 212 252 / var(--tw-border-opacity, 1))}.hover\:border-azure-primary:hover{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.hover\:bg-amber-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-active:hover{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-border:hover{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-hover:hover{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-hover\/50:hover{background-color:#e3f2fd80}.hover\:bg-azure-primary\/10:hover{background-color:#0066cc1a}.hover\:bg-azure-primary\/90:hover{background-color:#0066cce6}.hover\:bg-azure-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(74 144 226 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-surface:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-surface\/50:hover{background-color:#ffffff80}.hover\:bg-azure-surface\/60:hover{background-color:#fff9}.hover\:bg-black\/10:hover{background-color:#0000001a}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\:bg-emerald-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\:bg-matrix-base\/50:hover{background-color:rgb(var(--matrix-base) / .5)}.hover\:bg-matrix-primary\/10:hover{background-color:rgb(var(--matrix-primary) / .1)}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-red-500\/90:hover{background-color:#ef4444e6}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-violet-50:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-azure-primary:hover{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.hover\:text-azure-secondary:hover{--tw-text-opacity: 1;color:rgb(74 144 226 / var(--tw-text-opacity, 1))}.hover\:text-azure-text-primary:hover{--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-matrix-highlight:hover{--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.hover\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:text-violet-500:hover{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:brightness-95:hover{--tw-brightness: brightness(.95);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:border-azure-primary:focus{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-azure-primary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 102 204 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-zinc-950:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(12 12 12 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-azure-bg:focus{--tw-ring-offset-color: #F0F4F8}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-zinc-950:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(12 12 12 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-azure-border:disabled{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:text-azure-primary{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:divide-gray-700:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity, 1))}.dark\:divide-matrix-primary\/20:is(.dark *)>:not([hidden])~:not([hidden]){border-color:rgb(var(--matrix-primary) / .2)}.dark\:divide-matrix-primary\/30:is(.dark *)>:not([hidden])~:not([hidden]){border-color:rgb(var(--matrix-primary) / .3)}.dark\:rounded-none:is(.dark *){border-radius:0}.dark\:border-x:is(.dark *){border-left-width:1px;border-right-width:1px}.dark\:border-t:is(.dark *){border-top-width:1px}.dark\:border-amber-500\/30:is(.dark *){border-color:#f59e0b4d}.dark\:border-amber-500\/40:is(.dark *){border-color:#f59e0b66}.dark\:border-amber-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.dark\:border-amber-700\/40:is(.dark *){border-color:#b4530966}.dark\:border-amber-700\/60:is(.dark *){border-color:#b4530999}.dark\:border-amber-800\/40:is(.dark *){border-color:#92400e66}.dark\:border-blue-500\/40:is(.dark *){border-color:#3b82f666}.dark\:border-blue-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity, 1))}.dark\:border-blue-700\/50:is(.dark *){border-color:#1d4ed880}.dark\:border-blue-800\/40:is(.dark *){border-color:#1e40af66}.dark\:border-emerald-500\/30:is(.dark *){border-color:#10b9814d}.dark\:border-emerald-500\/40:is(.dark *){border-color:#10b98166}.dark\:border-emerald-500\/50:is(.dark *){border-color:#10b98180}.dark\:border-emerald-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity, 1))}.dark\:border-emerald-700\/40:is(.dark *){border-color:#04785766}.dark\:border-emerald-700\/50:is(.dark *){border-color:#04785780}.dark\:border-emerald-700\/60:is(.dark *){border-color:#04785799}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-green-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.dark\:border-green-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity, 1))}.dark\:border-green-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.dark\:border-green-800\/40:is(.dark *){border-color:#16653466}.dark\:border-green-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity, 1))}.dark\:border-matrix-highlight:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:border-matrix-highlight\/30:is(.dark *){border-color:rgb(var(--matrix-highlight) / .3)}.dark\:border-matrix-highlight\/40:is(.dark *){border-color:rgb(var(--matrix-highlight) / .4)}.dark\:border-matrix-primary:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.dark\:border-matrix-primary\/10:is(.dark *){border-color:rgb(var(--matrix-primary) / .1)}.dark\:border-matrix-primary\/20:is(.dark *){border-color:rgb(var(--matrix-primary) / .2)}.dark\:border-matrix-primary\/30:is(.dark *){border-color:rgb(var(--matrix-primary) / .3)}.dark\:border-matrix-primary\/40:is(.dark *){border-color:rgb(var(--matrix-primary) / .4)}.dark\:border-matrix-primary\/50:is(.dark *){border-color:rgb(var(--matrix-primary) / .5)}.dark\:border-matrix-primary\/60:is(.dark *){border-color:rgb(var(--matrix-primary) / .6)}.dark\:border-matrix-primary\/70:is(.dark *){border-color:rgb(var(--matrix-primary) / .7)}.dark\:border-matrix-secondary:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-secondary) / var(--tw-border-opacity, 1))}.dark\:border-orange-500\/40:is(.dark *){border-color:#f9731666}.dark\:border-purple-500\/40:is(.dark *){border-color:#a855f766}.dark\:border-purple-700\/60:is(.dark *){border-color:#7e22ce99}.dark\:border-purple-800\/40:is(.dark *){border-color:#6b21a866}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.dark\:border-red-500\/30:is(.dark *){border-color:#ef44444d}.dark\:border-red-500\/50:is(.dark *){border-color:#ef444480}.dark\:border-red-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.dark\:border-red-700\/40:is(.dark *){border-color:#b91c1c66}.dark\:border-red-700\/50:is(.dark *){border-color:#b91c1c80}.dark\:border-red-700\/60:is(.dark *){border-color:#b91c1c99}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-red-800\/50:is(.dark *){border-color:#991b1b80}.dark\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.dark\:border-red-900\/40:is(.dark *){border-color:#7f1d1d66}.dark\:border-red-900\/50:is(.dark *){border-color:#7f1d1d80}.dark\:border-red-900\/60:is(.dark *){border-color:#7f1d1d99}.dark\:border-rose-500\/40:is(.dark *){border-color:#f43f5e66}.dark\:border-rose-800\/40:is(.dark *){border-color:#9f123966}.dark\:border-teal-500\/40:is(.dark *){border-color:#14b8a666}.dark\:border-teal-700\/60:is(.dark *){border-color:#0f766e99}.dark\:border-teal-800\/40:is(.dark *){border-color:#115e5966}.dark\:border-violet-500\/40:is(.dark *){border-color:#8b5cf666}.dark\:border-violet-700\/60:is(.dark *){border-color:#6d28d999}.dark\:border-yellow-700\/50:is(.dark *){border-color:#a1620780}.dark\:border-zinc-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity, 1))}.dark\:border-zinc-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity, 1))}.dark\:bg-amber-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-500\/70:is(.dark *){background-color:#f59e0bb3}.dark\:bg-amber-900\/10:is(.dark *){background-color:#78350f1a}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}.dark\:bg-amber-900\/40:is(.dark *){background-color:#78350f66}.dark\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.dark\:bg-black\/20:is(.dark *){background-color:#0003}.dark\:bg-black\/40:is(.dark *){background-color:#0006}.dark\:bg-black\/50:is(.dark *){background-color:#00000080}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.dark\:bg-blue-500\/20:is(.dark *){background-color:#3b82f633}.dark\:bg-blue-900\/10:is(.dark *){background-color:#1e3a8a1a}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1e3a8a33}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1e3a8a66}.dark\:bg-emerald-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.dark\:bg-emerald-900\/20:is(.dark *){background-color:#064e3b33}.dark\:bg-emerald-900\/30:is(.dark *){background-color:#064e3b4d}.dark\:bg-emerald-900\/40:is(.dark *){background-color:#064e3b66}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700\/60:is(.dark *){background-color:#37415199}.dark\:bg-green-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900\/20:is(.dark *){background-color:#14532d33}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-green-950\/30:is(.dark *){background-color:#052e164d}.dark\:bg-indigo-900\/10:is(.dark *){background-color:#312e811a}.dark\:bg-indigo-900\/40:is(.dark *){background-color:#312e8166}.dark\:bg-matrix-base\/50:is(.dark *){background-color:rgb(var(--matrix-base) / .5)}.dark\:bg-matrix-highlight:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-highlight) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-highlight\/10:is(.dark *){background-color:rgb(var(--matrix-highlight) / .1)}.dark\:bg-matrix-highlight\/20:is(.dark *){background-color:rgb(var(--matrix-highlight) / .2)}.dark\:bg-matrix-highlight\/40:is(.dark *){background-color:rgb(var(--matrix-highlight) / .4)}.dark\:bg-matrix-highlight\/5:is(.dark *){background-color:rgb(var(--matrix-highlight) / .05)}.dark\:bg-matrix-highlight\/70:is(.dark *){background-color:rgb(var(--matrix-highlight) / .7)}.dark\:bg-matrix-primary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-primary) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-primary\/10:is(.dark *){background-color:rgb(var(--matrix-primary) / .1)}.dark\:bg-matrix-primary\/15:is(.dark *){background-color:rgb(var(--matrix-primary) / .15)}.dark\:bg-matrix-primary\/20:is(.dark *){background-color:rgb(var(--matrix-primary) / .2)}.dark\:bg-matrix-primary\/30:is(.dark *){background-color:rgb(var(--matrix-primary) / .3)}.dark\:bg-matrix-primary\/50:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.dark\:bg-matrix-secondary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-secondary\/50:is(.dark *){background-color:rgb(var(--matrix-secondary) / .5)}.dark\:bg-orange-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.dark\:bg-orange-900\/40:is(.dark *){background-color:#7c2d1266}.dark\:bg-purple-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.dark\:bg-purple-900\/20:is(.dark *){background-color:#581c8733}.dark\:bg-purple-900\/30:is(.dark *){background-color:#581c874d}.dark\:bg-purple-900\/40:is(.dark *){background-color:#581c8766}.dark\:bg-red-500\/70:is(.dark *){background-color:#ef4444b3}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity, 1))}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-red-900\/50:is(.dark *){background-color:#7f1d1d80}.dark\:bg-red-950\/20:is(.dark *){background-color:#450a0a33}.dark\:bg-red-950\/30:is(.dark *){background-color:#450a0a4d}.dark\:bg-red-950\/40:is(.dark *){background-color:#450a0a66}.dark\:bg-red-950\/50:is(.dark *){background-color:#450a0a80}.dark\:bg-rose-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.dark\:bg-rose-900\/20:is(.dark *){background-color:#88133733}.dark\:bg-rose-900\/40:is(.dark *){background-color:#88133766}.dark\:bg-teal-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))}.dark\:bg-teal-900\/10:is(.dark *){background-color:#134e4a1a}.dark\:bg-teal-900\/20:is(.dark *){background-color:#134e4a33}.dark\:bg-teal-900\/30:is(.dark *){background-color:#134e4a4d}.dark\:bg-teal-900\/40:is(.dark *){background-color:#134e4a66}.dark\:bg-violet-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity, 1))}.dark\:bg-violet-900\/10:is(.dark *){background-color:#4c1d951a}.dark\:bg-violet-900\/30:is(.dark *){background-color:#4c1d954d}.dark\:bg-yellow-900\/20:is(.dark *){background-color:#713f1233}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#713f124d}.dark\:bg-zinc-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-900\/30:is(.dark *){background-color:#18181b4d}.dark\:bg-zinc-900\/50:is(.dark *){background-color:#18181b80}.dark\:bg-zinc-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 12 12 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-950\/50:is(.dark *){background-color:#0c0c0c80}.dark\:bg-zinc-950\/60:is(.dark *){background-color:#0c0c0c99}.dark\:text-amber-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-amber-400\/80:is(.dark *){color:#fbbf24cc}.dark\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-emerald-300:is(.dark *){--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-green-500:is(.dark *){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.dark\:text-indigo-300:is(.dark *){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.dark\:text-indigo-400:is(.dark *){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.dark\:text-matrix-bg:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-bg) / var(--tw-text-opacity, 1))}.dark\:text-matrix-highlight:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.dark\:text-matrix-highlight\/50:is(.dark *){color:rgb(var(--matrix-highlight) / .5)}.dark\:text-matrix-highlight\/80:is(.dark *){color:rgb(var(--matrix-highlight) / .8)}.dark\:text-matrix-primary:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-primary) / var(--tw-text-opacity, 1))}.dark\:text-matrix-secondary:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:text-matrix-secondary\/25:is(.dark *){color:rgb(var(--matrix-secondary) / .25)}.dark\:text-matrix-secondary\/30:is(.dark *){color:rgb(var(--matrix-secondary) / .3)}.dark\:text-matrix-secondary\/40:is(.dark *){color:rgb(var(--matrix-secondary) / .4)}.dark\:text-matrix-secondary\/50:is(.dark *){color:rgb(var(--matrix-secondary) / .5)}.dark\:text-matrix-secondary\/60:is(.dark *){color:rgb(var(--matrix-secondary) / .6)}.dark\:text-matrix-secondary\/70:is(.dark *){color:rgb(var(--matrix-secondary) / .7)}.dark\:text-matrix-secondary\/80:is(.dark *){color:rgb(var(--matrix-secondary) / .8)}.dark\:text-matrix-text:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-text) / var(--tw-text-opacity, 1))}.dark\:text-orange-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity, 1))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.dark\:text-purple-400\/70:is(.dark *){color:#c084fcb3}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-300\/50:is(.dark *){color:#fca5a580}.dark\:text-red-300\/60:is(.dark *){color:#fca5a599}.dark\:text-red-300\/80:is(.dark *){color:#fca5a5cc}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-rose-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.dark\:text-rose-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity, 1))}.dark\:text-teal-400:is(.dark *){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.dark\:text-violet-300:is(.dark *){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity, 1))}.dark\:text-violet-400:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:text-white\/50:is(.dark *){color:#ffffff80}.dark\:text-white\/80:is(.dark *){color:#fffc}.dark\:text-yellow-400:is(.dark *){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.dark\:text-zinc-300:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.dark\:text-zinc-400:is(.dark *){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.dark\:text-zinc-50:is(.dark *){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.dark\:text-zinc-500:is(.dark *){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.dark\:text-zinc-600:is(.dark *){--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity, 1))}.dark\:placeholder-green-900:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(20 83 45 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-green-900:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(20 83 45 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-matrix-secondary\/30:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .3)}.dark\:placeholder-matrix-secondary\/30:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .3)}.dark\:placeholder-matrix-secondary\/40:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder-matrix-secondary\/40:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder-matrix-secondary\/50:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .5)}.dark\:placeholder-matrix-secondary\/50:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .5)}.dark\:accent-matrix-highlight:is(.dark *){accent-color:rgb(var(--matrix-highlight) / 1)}.dark\:shadow-\[0_0_15px_rgba\(34\,197\,94\,0\.3\)\]:is(.dark *){--tw-shadow: 0 0 15px rgba(34,197,94,.3);--tw-shadow-colored: 0 0 15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:ring-offset-zinc-950:is(.dark *){--tw-ring-offset-color: #0c0c0c}.dark\:placeholder\:text-matrix-secondary\/40:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder\:text-matrix-secondary\/40:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:checked\:bg-red-600:checked:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:hover\:border-matrix-highlight:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:hover\:border-matrix-highlight\/50:hover:is(.dark *){border-color:rgb(var(--matrix-highlight) / .5)}.dark\:hover\:border-matrix-primary:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.hover\:dark\:border-matrix-highlight:is(.dark *):hover{--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:hover\:bg-amber-900\/20:hover:is(.dark *){background-color:#78350f33}.dark\:hover\:bg-blue-900\/20:hover:is(.dark *){background-color:#1e3a8a33}.dark\:hover\:bg-emerald-900\/20:hover:is(.dark *){background-color:#064e3b33}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-800\/50:hover:is(.dark *){background-color:#1f293780}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-green-900\/30:hover:is(.dark *){background-color:#14532d4d}.dark\:hover\:bg-matrix-highlight:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-highlight) / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-matrix-highlight\/10:hover:is(.dark *){background-color:rgb(var(--matrix-highlight) / .1)}.dark\:hover\:bg-matrix-highlight\/90:hover:is(.dark *){background-color:rgb(var(--matrix-highlight) / .9)}.dark\:hover\:bg-matrix-primary\/10:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .1)}.dark\:hover\:bg-matrix-primary\/20:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .2)}.dark\:hover\:bg-matrix-primary\/30:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .3)}.dark\:hover\:bg-matrix-primary\/50:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.dark\:hover\:bg-matrix-secondary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-800\/60:hover:is(.dark *){background-color:#991b1b99}.dark\:hover\:bg-red-900\/20:hover:is(.dark *){background-color:#7f1d1d33}.dark\:hover\:bg-red-900\/90:hover:is(.dark *){background-color:#7f1d1de6}.dark\:hover\:bg-violet-900\/20:hover:is(.dark *){background-color:#4c1d9533}.dark\:hover\:bg-white\/10:hover:is(.dark *){background-color:#ffffff1a}.dark\:hover\:bg-zinc-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-700\/80:hover:is(.dark *){background-color:#3f3f46cc}.dark\:hover\:bg-zinc-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-800\/50:hover:is(.dark *){background-color:#27272a80}.dark\:hover\:bg-zinc-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-900\/50:hover:is(.dark *){background-color:#18181b80}.dark\:hover\:bg-zinc-900\/60:hover:is(.dark *){background-color:#18181b99}.hover\:dark\:bg-matrix-secondary:is(.dark *):hover{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.hover\:dark\:bg-red-500:is(.dark *):hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.dark\:hover\:text-amber-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-highlight:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-secondary:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-secondary\/60:hover:is(.dark *){color:rgb(var(--matrix-secondary) / .6)}.dark\:hover\:text-red-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:hover\:text-violet-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\:dark\:text-matrix-highlight:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.hover\:dark\:text-matrix-secondary:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:hover\:brightness-110:hover:is(.dark *){--tw-brightness: brightness(1.1);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\:focus\:border-green-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.dark\:focus\:border-matrix-highlight:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:focus\:ring-matrix-highlight:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(var(--matrix-highlight) / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-matrix-secondary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(var(--matrix-secondary) / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-zinc-300:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(212 212 216 / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-offset-black:focus:is(.dark *){--tw-ring-offset-color: #000}.dark\:focus-visible\:ring-zinc-300:focus-visible:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(212 212 216 / var(--tw-ring-opacity, 1))}.dark\:disabled\:bg-matrix-primary\/50:disabled:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.group:hover .dark\:group-hover\:bg-matrix-highlight\/60:is(.dark *){background-color:rgb(var(--matrix-highlight) / .6)}.group:hover .dark\:group-hover\:text-matrix-highlight:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:inline{display:inline}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:text-left{text-align:left}}@media(min-width:768px){.md\:relative{position:relative}.md\:inset-auto{inset:auto}.md\:z-auto{z-index:auto}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:hidden{display:none}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-\[72\%\]{max-width:72%}.md\:flex-\[4\]{flex:4}.md\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:pt-0{padding-top:0}}@media(min-width:1024px){.lg\:flex{display:flex}.lg\:table-cell{display:table-cell}.lg\:hidden{display:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:pt-0{padding-top:0}}@media(min-width:1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&_p\]\:leading-relaxed p{line-height:1.625}
|