@casys/mcp-erpnext 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/THIRD_PARTY_NOTICES.txt +71 -32
- package/mcp-erpnext.mjs +3574 -9281
- package/package.json +1 -1
- package/ui-dist/buy-evidence-viewer/index.html +96 -32
- package/ui-dist/chart-viewer/index.html +1 -1
- package/ui-dist/doc-viewer/index.html +8 -8
- package/ui-dist/doclist-viewer/index.html +8 -8
- package/ui-dist/funnel-viewer/index.html +1 -1
- package/ui-dist/invoice-viewer/index.html +1 -1
- package/ui-dist/kanban-viewer/index.html +1 -1
- package/ui-dist/kpi-viewer/index.html +7 -7
- package/ui-dist/stock-viewer/index.html +7 -7
|
@@ -107,7 +107,7 @@ Boolean requesting whether a visible border and background is provided by the ho
|
|
|
107
107
|
- "model": Tool visible to and callable by the agent
|
|
108
108
|
- "app": Tool callable by the app from this server only`),csp:nn().optional(),permissions:nn().optional()});P({mimeTypes:ae(x()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});P({method:$("ui/download-file"),params:P({contents:ae(be([Gv,Yv])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});P({method:$("ui/message"),params:P({role:$("user").describe('Message role, currently only "user" is supported.'),content:ae(xi).describe("Message content blocks (text, image, etc.).")})});P({method:$("ui/notifications/sandbox-resource-ready"),params:P({html:x().describe("HTML content to load into the inner iframe."),sandbox:x().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:Od.optional().describe("CSP configuration from resource metadata."),permissions:Nd.optional().describe("Sandbox permissions from resource metadata.")})});var j$=P({method:$("ui/notifications/tool-result"),params:Ca.describe("Standard MCP tool execution result.")}),og=P({toolInfo:P({id:bi.optional().describe("JSON-RPC id of the tools/call request."),tool:Ad.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:v$.optional().describe("Current color theme preference."),styles:z$.optional().describe("Style configuration for theming the app."),displayMode:fo.optional().describe("How the UI is currently displayed."),availableDisplayModes:ae(fo).optional().describe("Display modes the host supports."),containerDimensions:be([P({height:de().describe("Fixed container height in pixels.")}),P({maxHeight:be([de(),zn()]).optional().describe("Maximum container height in pixels.")})]).and(be([P({width:de().describe("Fixed container width in pixels.")}),P({maxWidth:be([de(),zn()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
|
|
109
109
|
container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:x().optional().describe("User's language and region preference in BCP 47 format."),timeZone:x().optional().describe("User's timezone in IANA format."),userAgent:x().optional().describe("Host application identifier."),platform:be([$("web"),$("desktop"),$("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:P({touch:we().optional().describe("Whether the device supports touch input."),hover:we().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:P({top:de().describe("Top safe area inset in pixels."),right:de().describe("Right safe area inset in pixels."),bottom:de().describe("Bottom safe area inset in pixels."),left:de().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),A$=P({method:$("ui/notifications/host-context-changed"),params:og.describe("Partial context update containing only changed fields.")});P({method:$("ui/update-model-context"),params:P({content:ae(xi).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:ve(x(),ke().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});P({method:$("ui/initialize"),params:P({appInfo:Pa.describe("App identification (name and version)."),appCapabilities:E$.describe("Features and capabilities this app provides."),protocolVersion:x().describe("Protocol version this app supports.")})});var O$=P({protocolVersion:x().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Pa.describe("Host application identification and version."),hostCapabilities:P$.describe("Features and capabilities provided by the host."),hostContext:og.describe("Rich context about the host environment.")}).passthrough(),N$={target:"draft-2020-12"};async function Qu(e,t){let o=e["~standard"];if(o.jsonSchema)return o.jsonSchema[t](N$);if(o.vendor==="zod"){let{z:i}=await Y_(()=>Promise.resolve().then(()=>$x),void 0,import.meta.url);return i.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${o.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function em(e,t,o=""){let i=await e["~standard"].validate(t);if(i.issues){let n=i.issues.map(r=>{let a=r.path?.map(s=>typeof s=="object"?s.key:s).join(".");return a?`${a}: ${r.message}`:r.message}).join("; ");throw Error(o+n)}return i.value}class Rd extends p${_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(t){if(this._initializedSent)return;let o=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(o);console.warn(`${o}. This will throw in a future release.`)}eventSchemas={toolinput:w$,toolinputpartial:$$,toolresult:j$,toolcancelled:S$,hostcontextchanged:A$};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!Rd.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let o=`[ext-apps] "${String(t)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(o);console.warn(o)}setEventHandler(t,o){o&&this._assertHandlerTiming(t),super.setEventHandler(t,o)}addEventListener(t,o){this._assertHandlerTiming(t),super.addEventListener(t,o)}onEventDispatch(t,o){t==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...o})}constructor(t,o={},i={autoResize:!0}){super(i),this._appInfo=t,this._capabilities=o,this.options=i,i.allowUnsafeEval||He({jitless:!0}),this.setRequestHandler(Ea,n=>(console.log("Received ping:",n.params),{})),this.setEventHandler("hostcontextchanged",void 0)}registerCapabilities(t){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._capabilities=m$(this._capabilities,t)}registerTool(t,o,i){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let n=this,r=()=>{n._initializedSent&&n._capabilities.tools?.listChanged&&n.sendToolListChanged()},a=o.inputSchema!==void 0,s={title:o.title,description:o.description,inputSchema:o.inputSchema,outputSchema:o.outputSchema,annotations:o.annotations,_meta:o._meta,enabled:!0,enable(){this.enabled=!0,r()},disable(){this.enabled=!1,r()},update(d){Object.assign(this,d),r()},remove(){n._registeredTools[t]===s&&(delete n._registeredTools[t],r())},handler:async(d,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let u;if(a){let p=s.inputSchema,m=p?await em(p,d??{},`Invalid input for tool ${t}: `):d??{};u=await i(m,l)}else u=await i(l);return s.outputSchema&&!u.isError&&(u.structuredContent=await em(s.outputSchema,u.structuredContent,`Invalid output for tool ${t}: `)),u}};return this._registeredTools[t]=s,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),r(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,o)=>{let i=this._registeredTools[t.name];if(!i)throw Error(`Tool ${t.name} not found`);return i.handler(t.arguments,o)},this.onlisttools=async(t,o)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([i,n])=>n.enabled).map(async([i,n])=>{let r={name:i,title:n.title,description:n.description,inputSchema:n.inputSchema?await Qu(n.inputSchema,"input"):{type:"object",properties:{}}};return n.outputSchema&&(r.outputSchema=await Qu(n.outputSchema,"output")),n.annotations&&(r.annotations=n.annotations),n._meta&&(r._meta=n._meta),r}))}))}async sendToolListChanged(t={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(t){this.setEventHandler("toolinput",t)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(t){this.setEventHandler("toolinputpartial",t)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(t){this.setEventHandler("toolresult",t)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(t){this.setEventHandler("toolcancelled",t)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(t){this.setEventHandler("hostcontextchanged",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler(T$,(o,i)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(o.params,i)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler(Qv,(o,i)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(o.params,i)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler(Xv,(o,i)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(o.params,i)})}assertCapabilityForMethod(t){switch(t){case"sampling/createMessage":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;case"ping":case"ui/resource-teardown":return;default:throw Error(`No handler for method ${t} registered`)}}assertNotificationCapability(t){}assertTaskCapability(t){throw Error("Tasks are not supported in MCP Apps")}assertTaskHandlerCapability(t){throw Error("Task handlers are not supported in MCP Apps")}async callServerTool(t,o){if(this._assertInitialized("callServerTool"),typeof t=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${t}"). Did you mean: callServerTool({ name: "${t}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:t},Ca,{onprogress:()=>{},resetTimeoutOnProgress:!0,...o})}async readServerResource(t,o){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},Wv,o)}async listServerResources(t,o){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},Vv,o)}async createSamplingMessage(t,o){this._assertInitialized("createSamplingMessage");let i=t.tools?ng:tg;return await this.request({method:"sampling/createMessage",params:t},i,o)}sendMessage(t,o){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:t},x$,o)}sendLog(t){return this.notification({method:"notifications/message",params:t})}updateModelContext(t,o){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:t},_d,o)}openLink(t,o){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},y$,o)}sendOpenLink=this.openLink;downloadFile(t,o){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},k$,o)}requestTeardown(t={}){return this.notification({method:"ui/notifications/request-teardown",params:t})}requestDisplayMode(t,o){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:t},C$,o)}sendSizeChanged(t){return this.notification({method:"ui/notifications/size-changed",params:t})}setupSizeChangedNotifications(){let t=!1,o=0,i=0,n=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height="max-content";let d=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==o||d!==i)&&(o=l,i=d,this.sendSizeChanged({width:l,height:d}))}))};n();let r=new ResizeObserver(n);return r.observe(document.documentElement),r.observe(document.body),()=>r.disconnect()}async connect(t=new b$(window.parent,window.parent),o){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1,await super.connect(t);try{let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:f$}},O$,o);if(i===void 0)throw Error(`Server sent invalid initialize result: ${i}`);this._hostCapabilities=i.hostCapabilities,this._hostInfo=i.hostInfo,this._hostContext=i.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}}function fe(){const[,e]=se(0);return Ce(()=>Bs(()=>e(t=>t+1)),[]),kt}const R$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.2'%3e%3cdefs%3e%3cclipPath%20id='f4898d2ac4'%3e%3cpath%20d='M%2069.5%2069.5%20L%20305.5%2069.5%20L%20305.5%20305.5%20L%2069.5%20305.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/clipPath%3e%3cclipPath%20id='bdaeedaae6'%3e%3cpath%20d='M%20187.5%2069.5%20C%20122.332031%2069.5%2069.5%20122.332031%2069.5%20187.5%20C%2069.5%20252.667969%20122.332031%20305.5%20187.5%20305.5%20C%20252.667969%20305.5%20305.5%20252.667969%20305.5%20187.5%20C%20305.5%20122.332031%20252.667969%2069.5%20187.5%2069.5%20Z%20M%20187.5%2069.5%20'%20/%3e%3c/clipPath%3e%3clinearGradient%20x1='-0.00000162271'%20gradientTransform='matrix(0.92186,0,0,0.92186,69.50188,69.501888)'%20y1='128'%20x2='255.999971'%20gradientUnits='userSpaceOnUse'%20y2='128'%20id='f66ee0458f'%3e%3cstop%20style='stop-color:%23000000;stop-opacity:1;'%20offset='0'%20/%3e%3cstop%20style='stop-color:%23010101;stop-opacity:1;'%20offset='0.00390625'%20/%3e%3cstop%20style='stop-color:%23020102;stop-opacity:1;'%20offset='0.0078125'%20/%3e%3cstop%20style='stop-color:%23030203;stop-opacity:1;'%20offset='0.0117188'%20/%3e%3cstop%20style='stop-color:%23030303;stop-opacity:1;'%20offset='0.015625'%20/%3e%3cstop%20style='stop-color:%23040404;stop-opacity:1;'%20offset='0.0195312'%20/%3e%3cstop%20style='stop-color:%23050405;stop-opacity:1;'%20offset='0.0234375'%20/%3e%3cstop%20style='stop-color:%23060506;stop-opacity:1;'%20offset='0.0273438'%20/%3e%3cstop%20style='stop-color:%23070607;stop-opacity:1;'%20offset='0.03125'%20/%3e%3cstop%20style='stop-color:%23080708;stop-opacity:1;'%20offset='0.0351562'%20/%3e%3cstop%20style='stop-color:%23090709;stop-opacity:1;'%20offset='0.0390625'%20/%3e%3cstop%20style='stop-color:%23090809;stop-opacity:1;'%20offset='0.0429688'%20/%3e%3cstop%20style='stop-color:%230a090a;stop-opacity:1;'%20offset='0.046875'%20/%3e%3cstop%20style='stop-color:%230b0a0b;stop-opacity:1;'%20offset='0.0507812'%20/%3e%3cstop%20style='stop-color:%230c0a0c;stop-opacity:1;'%20offset='0.0546875'%20/%3e%3cstop%20style='stop-color:%230d0b0d;stop-opacity:1;'%20offset='0.0585938'%20/%3e%3cstop%20style='stop-color:%230e0c0e;stop-opacity:1;'%20offset='0.0625'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0664062'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0703125'%20/%3e%3cstop%20style='stop-color:%23100e10;stop-opacity:1;'%20offset='0.0742188'%20/%3e%3cstop%20style='stop-color:%23110f11;stop-opacity:1;'%20offset='0.078125'%20/%3e%3cstop%20style='stop-color:%23120f12;stop-opacity:1;'%20offset='0.0820312'%20/%3e%3cstop%20style='stop-color:%23131013;stop-opacity:1;'%20offset='0.0859375'%20/%3e%3cstop%20style='stop-color:%23141114;stop-opacity:1;'%20offset='0.0898438'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.09375'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.0976563'%20/%3e%3cstop%20style='stop-color:%23161316;stop-opacity:1;'%20offset='0.101562'%20/%3e%3cstop%20style='stop-color:%23171417;stop-opacity:1;'%20offset='0.105469'%20/%3e%3cstop%20style='stop-color:%23181518;stop-opacity:1;'%20offset='0.109375'%20/%3e%3cstop%20style='stop-color:%23191519;stop-opacity:1;'%20offset='0.113281'%20/%3e%3cstop%20style='stop-color:%231a161a;stop-opacity:1;'%20offset='0.117188'%20/%3e%3cstop%20style='stop-color:%231b171b;stop-opacity:1;'%20offset='0.121094'%20/%3e%3cstop%20style='stop-color:%231b181b;stop-opacity:1;'%20offset='0.125'%20/%3e%3cstop%20style='stop-color:%231c181c;stop-opacity:1;'%20offset='0.128906'%20/%3e%3cstop%20style='stop-color:%231d191d;stop-opacity:1;'%20offset='0.132812'%20/%3e%3cstop%20style='stop-color:%231e1a1e;stop-opacity:1;'%20offset='0.136719'%20/%3e%3cstop%20style='stop-color:%231f1b1f;stop-opacity:1;'%20offset='0.140625'%20/%3e%3cstop%20style='stop-color:%23201b20;stop-opacity:1;'%20offset='0.144531'%20/%3e%3cstop%20style='stop-color:%23211c21;stop-opacity:1;'%20offset='0.148438'%20/%3e%3cstop%20style='stop-color:%23211d21;stop-opacity:1;'%20offset='0.152344'%20/%3e%3cstop%20style='stop-color:%23221e22;stop-opacity:1;'%20offset='0.15625'%20/%3e%3cstop%20style='stop-color:%23231e23;stop-opacity:1;'%20offset='0.160156'%20/%3e%3cstop%20style='stop-color:%23241f24;stop-opacity:1;'%20offset='0.164062'%20/%3e%3cstop%20style='stop-color:%23252025;stop-opacity:1;'%20offset='0.167969'%20/%3e%3cstop%20style='stop-color:%23262026;stop-opacity:1;'%20offset='0.171875'%20/%3e%3cstop%20style='stop-color:%23272127;stop-opacity:1;'%20offset='0.175781'%20/%3e%3cstop%20style='stop-color:%23272227;stop-opacity:1;'%20offset='0.179688'%20/%3e%3cstop%20style='stop-color:%23282328;stop-opacity:1;'%20offset='0.183594'%20/%3e%3cstop%20style='stop-color:%23292329;stop-opacity:1;'%20offset='0.1875'%20/%3e%3cstop%20style='stop-color:%232a242a;stop-opacity:1;'%20offset='0.191406'%20/%3e%3cstop%20style='stop-color:%232b252b;stop-opacity:1;'%20offset='0.195313'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.199219'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.203125'%20/%3e%3cstop%20style='stop-color:%232d272d;stop-opacity:1;'%20offset='0.207031'%20/%3e%3cstop%20style='stop-color:%232e282e;stop-opacity:1;'%20offset='0.210937'%20/%3e%3cstop%20style='stop-color:%232f292f;stop-opacity:1;'%20offset='0.214844'%20/%3e%3cstop%20style='stop-color:%23302930;stop-opacity:1;'%20offset='0.21875'%20/%3e%3cstop%20style='stop-color:%23312a31;stop-opacity:1;'%20offset='0.222656'%20/%3e%3cstop%20style='stop-color:%23322b32;stop-opacity:1;'%20offset='0.226562'%20/%3e%3cstop%20style='stop-color:%23322c32;stop-opacity:1;'%20offset='0.230469'%20/%3e%3cstop%20style='stop-color:%23332c33;stop-opacity:1;'%20offset='0.234375'%20/%3e%3cstop%20style='stop-color:%23342d34;stop-opacity:1;'%20offset='0.238281'%20/%3e%3cstop%20style='stop-color:%23352e35;stop-opacity:1;'%20offset='0.242188'%20/%3e%3cstop%20style='stop-color:%23362e36;stop-opacity:1;'%20offset='0.246094'%20/%3e%3cstop%20style='stop-color:%23372f37;stop-opacity:1;'%20offset='0.25'%20/%3e%3cstop%20style='stop-color:%23383038;stop-opacity:1;'%20offset='0.253906'%20/%3e%3cstop%20style='stop-color:%23383138;stop-opacity:1;'%20offset='0.257812'%20/%3e%3cstop%20style='stop-color:%23393139;stop-opacity:1;'%20offset='0.261719'%20/%3e%3cstop%20style='stop-color:%233a323a;stop-opacity:1;'%20offset='0.265625'%20/%3e%3cstop%20style='stop-color:%233b333b;stop-opacity:1;'%20offset='0.269531'%20/%3e%3cstop%20style='stop-color:%233c343c;stop-opacity:1;'%20offset='0.273438'%20/%3e%3cstop%20style='stop-color:%233d343d;stop-opacity:1;'%20offset='0.277344'%20/%3e%3cstop%20style='stop-color:%233e353e;stop-opacity:1;'%20offset='0.28125'%20/%3e%3cstop%20style='stop-color:%233e363e;stop-opacity:1;'%20offset='0.285156'%20/%3e%3cstop%20style='stop-color:%233f373f;stop-opacity:1;'%20offset='0.289062'%20/%3e%3cstop%20style='stop-color:%23403740;stop-opacity:1;'%20offset='0.292969'%20/%3e%3cstop%20style='stop-color:%23413841;stop-opacity:1;'%20offset='0.296875'%20/%3e%3cstop%20style='stop-color:%23423942;stop-opacity:1;'%20offset='0.300781'%20/%3e%3cstop%20style='stop-color:%23433a43;stop-opacity:1;'%20offset='0.304688'%20/%3e%3cstop%20style='stop-color:%23443a44;stop-opacity:1;'%20offset='0.308594'%20/%3e%3cstop%20style='stop-color:%23443b44;stop-opacity:1;'%20offset='0.3125'%20/%3e%3cstop%20style='stop-color:%23453c45;stop-opacity:1;'%20offset='0.316406'%20/%3e%3cstop%20style='stop-color:%23463d46;stop-opacity:1;'%20offset='0.320312'%20/%3e%3cstop%20style='stop-color:%23473d47;stop-opacity:1;'%20offset='0.324219'%20/%3e%3cstop%20style='stop-color:%23483e48;stop-opacity:1;'%20offset='0.328125'%20/%3e%3cstop%20style='stop-color:%23493f49;stop-opacity:1;'%20offset='0.332031'%20/%3e%3cstop%20style='stop-color:%234a3f4a;stop-opacity:1;'%20offset='0.335937'%20/%3e%3cstop%20style='stop-color:%234a404a;stop-opacity:1;'%20offset='0.339844'%20/%3e%3cstop%20style='stop-color:%234b414b;stop-opacity:1;'%20offset='0.34375'%20/%3e%3cstop%20style='stop-color:%234c424c;stop-opacity:1;'%20offset='0.347656'%20/%3e%3cstop%20style='stop-color:%234d424d;stop-opacity:1;'%20offset='0.351562'%20/%3e%3cstop%20style='stop-color:%234e434e;stop-opacity:1;'%20offset='0.355469'%20/%3e%3cstop%20style='stop-color:%234f444f;stop-opacity:1;'%20offset='0.359375'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.363281'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.367188'%20/%3e%3cstop%20style='stop-color:%23514651;stop-opacity:1;'%20offset='0.371094'%20/%3e%3cstop%20style='stop-color:%23524752;stop-opacity:1;'%20offset='0.375'%20/%3e%3cstop%20style='stop-color:%23534853;stop-opacity:1;'%20offset='0.378906'%20/%3e%3cstop%20style='stop-color:%23544854;stop-opacity:1;'%20offset='0.382812'%20/%3e%3cstop%20style='stop-color:%23554955;stop-opacity:1;'%20offset='0.386719'%20/%3e%3cstop%20style='stop-color:%23564a56;stop-opacity:1;'%20offset='0.390625'%20/%3e%3cstop%20style='stop-color:%23564b56;stop-opacity:1;'%20offset='0.394531'%20/%3e%3cstop%20style='stop-color:%23574b57;stop-opacity:1;'%20offset='0.398438'%20/%3e%3cstop%20style='stop-color:%23584c58;stop-opacity:1;'%20offset='0.402344'%20/%3e%3cstop%20style='stop-color:%23594d59;stop-opacity:1;'%20offset='0.40625'%20/%3e%3cstop%20style='stop-color:%235a4d5a;stop-opacity:1;'%20offset='0.410156'%20/%3e%3cstop%20style='stop-color:%235b4e5b;stop-opacity:1;'%20offset='0.414062'%20/%3e%3cstop%20style='stop-color:%235c4f5c;stop-opacity:1;'%20offset='0.417969'%20/%3e%3cstop%20style='stop-color:%235c505c;stop-opacity:1;'%20offset='0.421875'%20/%3e%3cstop%20style='stop-color:%235d505d;stop-opacity:1;'%20offset='0.425781'%20/%3e%3cstop%20style='stop-color:%235e515e;stop-opacity:1;'%20offset='0.429687'%20/%3e%3cstop%20style='stop-color:%235f525f;stop-opacity:1;'%20offset='0.433594'%20/%3e%3cstop%20style='stop-color:%23605360;stop-opacity:1;'%20offset='0.4375'%20/%3e%3cstop%20style='stop-color:%23615361;stop-opacity:1;'%20offset='0.441406'%20/%3e%3cstop%20style='stop-color:%23625462;stop-opacity:1;'%20offset='0.445312'%20/%3e%3cstop%20style='stop-color:%23625562;stop-opacity:1;'%20offset='0.449219'%20/%3e%3cstop%20style='stop-color:%23635663;stop-opacity:1;'%20offset='0.453125'%20/%3e%3cstop%20style='stop-color:%23645664;stop-opacity:1;'%20offset='0.457031'%20/%3e%3cstop%20style='stop-color:%23655765;stop-opacity:1;'%20offset='0.460938'%20/%3e%3cstop%20style='stop-color:%23665866;stop-opacity:1;'%20offset='0.464844'%20/%3e%3cstop%20style='stop-color:%23675967;stop-opacity:1;'%20offset='0.46875'%20/%3e%3cstop%20style='stop-color:%23685968;stop-opacity:1;'%20offset='0.472656'%20/%3e%3cstop%20style='stop-color:%23685a68;stop-opacity:1;'%20offset='0.476562'%20/%3e%3cstop%20style='stop-color:%23695b69;stop-opacity:1;'%20offset='0.480469'%20/%3e%3cstop%20style='stop-color:%236a5c6a;stop-opacity:1;'%20offset='0.484375'%20/%3e%3cstop%20style='stop-color:%236b5c6b;stop-opacity:1;'%20offset='0.488281'%20/%3e%3cstop%20style='stop-color:%236c5d6c;stop-opacity:1;'%20offset='0.492188'%20/%3e%3cstop%20style='stop-color:%236d5e6d;stop-opacity:1;'%20offset='0.496094'%20/%3e%3cstop%20style='stop-color:%236e5e6e;stop-opacity:1;'%20offset='0.5'%20/%3e%3cstop%20style='stop-color:%236e5f6e;stop-opacity:1;'%20offset='0.503906'%20/%3e%3cstop%20style='stop-color:%236f606f;stop-opacity:1;'%20offset='0.507812'%20/%3e%3cstop%20style='stop-color:%23706170;stop-opacity:1;'%20offset='0.511719'%20/%3e%3cstop%20style='stop-color:%23716171;stop-opacity:1;'%20offset='0.515625'%20/%3e%3cstop%20style='stop-color:%23726272;stop-opacity:1;'%20offset='0.519531'%20/%3e%3cstop%20style='stop-color:%23736373;stop-opacity:1;'%20offset='0.523438'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.527344'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.53125'%20/%3e%3cstop%20style='stop-color:%23756575;stop-opacity:1;'%20offset='0.535156'%20/%3e%3cstop%20style='stop-color:%23766676;stop-opacity:1;'%20offset='0.539062'%20/%3e%3cstop%20style='stop-color:%23776777;stop-opacity:1;'%20offset='0.542969'%20/%3e%3cstop%20style='stop-color:%23786778;stop-opacity:1;'%20offset='0.546875'%20/%3e%3cstop%20style='stop-color:%23796879;stop-opacity:1;'%20offset='0.550781'%20/%3e%3cstop%20style='stop-color:%237a697a;stop-opacity:1;'%20offset='0.554688'%20/%3e%3cstop%20style='stop-color:%237a6a7a;stop-opacity:1;'%20offset='0.558594'%20/%3e%3cstop%20style='stop-color:%237b6a7b;stop-opacity:1;'%20offset='0.5625'%20/%3e%3cstop%20style='stop-color:%237c6b7c;stop-opacity:1;'%20offset='0.566406'%20/%3e%3cstop%20style='stop-color:%237d6c7d;stop-opacity:1;'%20offset='0.570312'%20/%3e%3cstop%20style='stop-color:%237e6d7e;stop-opacity:1;'%20offset='0.574219'%20/%3e%3cstop%20style='stop-color:%237f6d7f;stop-opacity:1;'%20offset='0.578125'%20/%3e%3cstop%20style='stop-color:%237f6e7f;stop-opacity:1;'%20offset='0.582031'%20/%3e%3cstop%20style='stop-color:%23806f80;stop-opacity:1;'%20offset='0.585938'%20/%3e%3cstop%20style='stop-color:%23816f81;stop-opacity:1;'%20offset='0.589844'%20/%3e%3cstop%20style='stop-color:%23827082;stop-opacity:1;'%20offset='0.59375'%20/%3e%3cstop%20style='stop-color:%23837183;stop-opacity:1;'%20offset='0.597656'%20/%3e%3cstop%20style='stop-color:%23847284;stop-opacity:1;'%20offset='0.601562'%20/%3e%3cstop%20style='stop-color:%23857285;stop-opacity:1;'%20offset='0.605469'%20/%3e%3cstop%20style='stop-color:%23857385;stop-opacity:1;'%20offset='0.609375'%20/%3e%3cstop%20style='stop-color:%23867486;stop-opacity:1;'%20offset='0.613281'%20/%3e%3cstop%20style='stop-color:%23877587;stop-opacity:1;'%20offset='0.617187'%20/%3e%3cstop%20style='stop-color:%23887588;stop-opacity:1;'%20offset='0.621094'%20/%3e%3cstop%20style='stop-color:%23897689;stop-opacity:1;'%20offset='0.625'%20/%3e%3cstop%20style='stop-color:%238a778a;stop-opacity:1;'%20offset='0.628906'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.632812'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.636719'%20/%3e%3cstop%20style='stop-color:%238c798c;stop-opacity:1;'%20offset='0.640625'%20/%3e%3cstop%20style='stop-color:%238d7a8d;stop-opacity:1;'%20offset='0.644531'%20/%3e%3cstop%20style='stop-color:%238e7b8e;stop-opacity:1;'%20offset='0.648438'%20/%3e%3cstop%20style='stop-color:%238f7b8f;stop-opacity:1;'%20offset='0.652344'%20/%3e%3cstop%20style='stop-color:%23907c90;stop-opacity:1;'%20offset='0.65625'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.660156'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.664063'%20/%3e%3cstop%20style='stop-color:%23927e92;stop-opacity:1;'%20offset='0.667969'%20/%3e%3cstop%20style='stop-color:%23937f93;stop-opacity:1;'%20offset='0.671875'%20/%3e%3cstop%20style='stop-color:%23948094;stop-opacity:1;'%20offset='0.675781'%20/%3e%3cstop%20style='stop-color:%23958095;stop-opacity:1;'%20offset='0.679688'%20/%3e%3cstop%20style='stop-color:%23968196;stop-opacity:1;'%20offset='0.683594'%20/%3e%3cstop%20style='stop-color:%23978297;stop-opacity:1;'%20offset='0.6875'%20/%3e%3cstop%20style='stop-color:%23978397;stop-opacity:1;'%20offset='0.691406'%20/%3e%3cstop%20style='stop-color:%23988398;stop-opacity:1;'%20offset='0.695313'%20/%3e%3cstop%20style='stop-color:%23998499;stop-opacity:1;'%20offset='0.699219'%20/%3e%3cstop%20style='stop-color:%239a859a;stop-opacity:1;'%20offset='0.703125'%20/%3e%3cstop%20style='stop-color:%239b869b;stop-opacity:1;'%20offset='0.707031'%20/%3e%3cstop%20style='stop-color:%239c869c;stop-opacity:1;'%20offset='0.710938'%20/%3e%3cstop%20style='stop-color:%239d879d;stop-opacity:1;'%20offset='0.714844'%20/%3e%3cstop%20style='stop-color:%239d889d;stop-opacity:1;'%20offset='0.71875'%20/%3e%3cstop%20style='stop-color:%239e899e;stop-opacity:1;'%20offset='0.722656'%20/%3e%3cstop%20style='stop-color:%239f899f;stop-opacity:1;'%20offset='0.726562'%20/%3e%3cstop%20style='stop-color:%23a08aa0;stop-opacity:1;'%20offset='0.730469'%20/%3e%3cstop%20style='stop-color:%23a18ba1;stop-opacity:1;'%20offset='0.734375'%20/%3e%3cstop%20style='stop-color:%23a28ba2;stop-opacity:1;'%20offset='0.738281'%20/%3e%3cstop%20style='stop-color:%23a38ca3;stop-opacity:1;'%20offset='0.742188'%20/%3e%3cstop%20style='stop-color:%23a38da3;stop-opacity:1;'%20offset='0.746094'%20/%3e%3cstop%20style='stop-color:%23a48ea4;stop-opacity:1;'%20offset='0.75'%20/%3e%3cstop%20style='stop-color:%23a58ea5;stop-opacity:1;'%20offset='0.753906'%20/%3e%3cstop%20style='stop-color:%23a68fa6;stop-opacity:1;'%20offset='0.757812'%20/%3e%3cstop%20style='stop-color:%23a790a7;stop-opacity:1;'%20offset='0.761719'%20/%3e%3cstop%20style='stop-color:%23a891a8;stop-opacity:1;'%20offset='0.765625'%20/%3e%3cstop%20style='stop-color:%23a991a9;stop-opacity:1;'%20offset='0.769531'%20/%3e%3cstop%20style='stop-color:%23a992a9;stop-opacity:1;'%20offset='0.773438'%20/%3e%3cstop%20style='stop-color:%23aa93aa;stop-opacity:1;'%20offset='0.777344'%20/%3e%3cstop%20style='stop-color:%23ab94ab;stop-opacity:1;'%20offset='0.78125'%20/%3e%3cstop%20style='stop-color:%23ac94ac;stop-opacity:1;'%20offset='0.785156'%20/%3e%3cstop%20style='stop-color:%23ad95ad;stop-opacity:1;'%20offset='0.789062'%20/%3e%3cstop%20style='stop-color:%23ae96ae;stop-opacity:1;'%20offset='0.792969'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.796875'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.800781'%20/%3e%3cstop%20style='stop-color:%23b098b0;stop-opacity:1;'%20offset='0.804687'%20/%3e%3cstop%20style='stop-color:%23b199b1;stop-opacity:1;'%20offset='0.808594'%20/%3e%3cstop%20style='stop-color:%23b29ab2;stop-opacity:1;'%20offset='0.8125'%20/%3e%3cstop%20style='stop-color:%23b39ab3;stop-opacity:1;'%20offset='0.816406'%20/%3e%3cstop%20style='stop-color:%23b49bb4;stop-opacity:1;'%20offset='0.820313'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.824219'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.828125'%20/%3e%3cstop%20style='stop-color:%23b69db6;stop-opacity:1;'%20offset='0.832031'%20/%3e%3cstop%20style='stop-color:%23b79eb7;stop-opacity:1;'%20offset='0.835938'%20/%3e%3cstop%20style='stop-color:%23b89fb8;stop-opacity:1;'%20offset='0.839844'%20/%3e%3cstop%20style='stop-color:%23b99fb9;stop-opacity:1;'%20offset='0.84375'%20/%3e%3cstop%20style='stop-color:%23baa0ba;stop-opacity:1;'%20offset='0.847656'%20/%3e%3cstop%20style='stop-color:%23bba1bb;stop-opacity:1;'%20offset='0.851563'%20/%3e%3cstop%20style='stop-color:%23bba2bb;stop-opacity:1;'%20offset='0.855469'%20/%3e%3cstop%20style='stop-color:%23bca2bc;stop-opacity:1;'%20offset='0.859375'%20/%3e%3cstop%20style='stop-color:%23bda3bd;stop-opacity:1;'%20offset='0.863281'%20/%3e%3cstop%20style='stop-color:%23bea4be;stop-opacity:1;'%20offset='0.867188'%20/%3e%3cstop%20style='stop-color:%23bfa5bf;stop-opacity:1;'%20offset='0.871094'%20/%3e%3cstop%20style='stop-color:%23c0a5c0;stop-opacity:1;'%20offset='0.875'%20/%3e%3cstop%20style='stop-color:%23c1a6c1;stop-opacity:1;'%20offset='0.878906'%20/%3e%3cstop%20style='stop-color:%23c1a7c1;stop-opacity:1;'%20offset='0.882813'%20/%3e%3cstop%20style='stop-color:%23c2a8c2;stop-opacity:1;'%20offset='0.886719'%20/%3e%3cstop%20style='stop-color:%23c3a8c3;stop-opacity:1;'%20offset='0.890625'%20/%3e%3cstop%20style='stop-color:%23c4a9c4;stop-opacity:1;'%20offset='0.894531'%20/%3e%3cstop%20style='stop-color:%23c5aac5;stop-opacity:1;'%20offset='0.898438'%20/%3e%3cstop%20style='stop-color:%23c6aac6;stop-opacity:1;'%20offset='0.902344'%20/%3e%3cstop%20style='stop-color:%23c7abc7;stop-opacity:1;'%20offset='0.90625'%20/%3e%3cstop%20style='stop-color:%23c7acc7;stop-opacity:1;'%20offset='0.910156'%20/%3e%3cstop%20style='stop-color:%23c8adc8;stop-opacity:1;'%20offset='0.914063'%20/%3e%3cstop%20style='stop-color:%23c9adc9;stop-opacity:1;'%20offset='0.917969'%20/%3e%3cstop%20style='stop-color:%23caaeca;stop-opacity:1;'%20offset='0.921875'%20/%3e%3cstop%20style='stop-color:%23cbafcb;stop-opacity:1;'%20offset='0.925781'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.929688'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.933594'%20/%3e%3cstop%20style='stop-color:%23cdb1cd;stop-opacity:1;'%20offset='0.9375'%20/%3e%3cstop%20style='stop-color:%23ceb2ce;stop-opacity:1;'%20offset='0.941406'%20/%3e%3cstop%20style='stop-color:%23cfb3cf;stop-opacity:1;'%20offset='0.945312'%20/%3e%3cstop%20style='stop-color:%23d0b3d0;stop-opacity:1;'%20offset='0.949219'%20/%3e%3cstop%20style='stop-color:%23d1b4d1;stop-opacity:1;'%20offset='0.953125'%20/%3e%3cstop%20style='stop-color:%23d2b5d2;stop-opacity:1;'%20offset='0.957031'%20/%3e%3cstop%20style='stop-color:%23d2b6d2;stop-opacity:1;'%20offset='0.960938'%20/%3e%3cstop%20style='stop-color:%23d3b6d3;stop-opacity:1;'%20offset='0.964844'%20/%3e%3cstop%20style='stop-color:%23d4b7d4;stop-opacity:1;'%20offset='0.96875'%20/%3e%3cstop%20style='stop-color:%23d5b8d5;stop-opacity:1;'%20offset='0.972656'%20/%3e%3cstop%20style='stop-color:%23d6b9d6;stop-opacity:1;'%20offset='0.976562'%20/%3e%3cstop%20style='stop-color:%23d7b9d7;stop-opacity:1;'%20offset='0.980469'%20/%3e%3cstop%20style='stop-color:%23d8bad8;stop-opacity:1;'%20offset='0.984375'%20/%3e%3cstop%20style='stop-color:%23d8bbd8;stop-opacity:1;'%20offset='0.988281'%20/%3e%3cstop%20style='stop-color:%23d9bbd9;stop-opacity:1;'%20offset='0.992187'%20/%3e%3cstop%20style='stop-color:%23dabcda;stop-opacity:1;'%20offset='0.996094'%20/%3e%3cstop%20style='stop-color:%23dbbddb;stop-opacity:1;'%20offset='1'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='7ab0b42688'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23f4898d2ac4)'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23bdaeedaae6)'%3e%3cpath%20style='%20stroke:none;fill-rule:nonzero;fill:url(%23f66ee0458f);'%20d='M%2069.5%2069.5%20L%2069.5%20305.5%20L%20305.5%20305.5%20L%20305.5%2069.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";function A(...e){return e.filter(Boolean).join(" ")}function cr({children:e,class:t,containerRef:o,style:i}){return c("div",{ref:o,style:i,class:A("flex min-h-0 flex-col overflow-hidden rounded-card","border border-line bg-surface",t),children:[c("div",{class:"brand-rule"}),e]})}function tm({compact:e}={}){const t=e?12:13;return c("a",{class:A("inline-flex items-center text-ink-faint transition-colors","font-mono tracking-mono hover:text-accent","focus-visible:rounded-badge focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e?"gap-1.5 text-micro":"gap-[7px] text-chip"),href:"https://casys.ai",target:"_blank",rel:"noopener noreferrer",children:[c("img",{src:R$,alt:"",width:t,height:t,class:A("block",e?"size-3":"size-[13px]")}),c("span",{children:"Powered by Casys.ai"})]})}function Ud({children:e,narrow:t}){return c("span",{class:A("shrink-0 rounded-badge bg-count py-0.5 font-mono text-ink-muted",t?"px-1.5 text-chip":"px-[7px] text-meta"),children:e})}function U$({label:e}){const t=fe();return c("span",{class:"flex shrink-0 items-center gap-1.5",children:[c("span",{class:"size-[5px] rounded-full bg-ok"}),c("span",{class:"font-mono text-micro uppercase tracking-live text-ink-faint",children:e??t("layout.live")})]})}function ft({children:e,class:t}){return c("span",{class:A("font-mono text-micro uppercase tracking-label text-ink-faint",t),children:e})}const L$={accent:"bg-accent/14 border-accent-edge text-accent-text hover:bg-accent/22",secondary:"bg-control border-line text-ink-muted hover:border-line-hover hover:text-ink",danger:"bg-transparent border-bad/30 text-bad hover:bg-bad/10",quiet:"bg-count border-transparent text-ink-muted hover:text-ink"};function nt({variant:e="secondary",class:t,children:o,...i}){return c("button",{type:"button",class:A("rounded-control border px-3 py-[7px] font-sans text-data font-medium","transition-colors disabled:cursor-not-allowed disabled:opacity-50","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",L$[e],t),...i,children:o})}function nm({class:e,children:t,...o}){return c("button",{type:"button",class:A("rounded-control border border-line bg-count px-2.5 py-[5px]","font-mono text-meta text-ink-muted transition-colors","hover:border-line-hover hover:text-ink","disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ink-muted","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e),...o,children:t})}function om({active:e,pill:t,children:o,...i}){return c("button",{type:"button","aria-pressed":e,class:A("shrink-0 border",t?"rounded-pill px-2.5 py-1":"rounded-chip px-2.5 py-[3px]","font-mono text-chip uppercase tracking-chip transition-colors","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e?"border-accent bg-accent/14 text-accent":"border-line bg-control text-ink-muted hover:border-line-hover hover:text-ink"),...i,children:o})}function ig({label:e,children:t,layout:o="wide"}){const i=o!=="wide";return c("div",{class:A("flex shrink-0 items-baseline justify-between gap-2.5","border-t border-line bg-sunken",i?"px-3 py-[11px]":"px-3.5 py-2.5"),children:[c(ft,{children:e}),c("span",{class:A("font-semibold tabular-nums text-ink",i?"font-display text-title":"font-mono text-lede"),children:t})]})}const M$={accent:"bg-accent",ok:"bg-ok",warn:"bg-warn",bad:"bg-bad",brand:"bg-brand"};function F$({value:e,tone:t="accent"}){const o=Math.max(0,Math.min(100,e));return c("div",{class:"h-[3px] overflow-hidden rounded-bar bg-track",children:c("div",{class:A("h-full rounded-bar",M$[t]),style:{width:`${o}%`}})})}function rg({title:e,eyebrow:t,titleContent:o,headerMeta:i,accent:n,children:r,footer:a,onClose:s,size:d="compact",dense:l=!1,bodyClass:u}){const p=fe(),m=me(null),f=me(s);return f.current=s,Ce(()=>{const v=document.activeElement instanceof HTMLElement?document.activeElement:null;function S(h){if(h.key==="Escape"){h.preventDefault(),f.current();return}if(h.key!=="Tab")return;const b=m.current;if(!b)return;const g=Array.from(b.querySelectorAll('a[href], button:not([disabled]), iframe, input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(z=>!z.hasAttribute("hidden"));if(g.length===0){h.preventDefault(),b.focus();return}const y=g[0],T=g[g.length-1],_=document.activeElement;h.shiftKey&&(_===y||_===b)?(h.preventDefault(),T.focus()):!h.shiftKey&&_===T&&(h.preventDefault(),y.focus())}return document.addEventListener("keydown",S),m.current?.focus(),()=>{document.removeEventListener("keydown",S),v?.isConnected&&v.focus()}},[]),c("div",{class:A("fixed inset-0 z-50 flex items-center justify-center bg-scrim",d==="preview"?"p-3 md:p-6":"p-6"),onClick:v=>{v.target===v.currentTarget&&s()},children:c("div",{ref:m,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,class:A("flex max-h-full w-full flex-col overflow-hidden rounded-card border border-line-modal bg-surface shadow-modal outline-none",d==="preview"?"h-[min(92vh,860px)] max-w-[1080px]":d==="wide"?"max-w-[680px]":"max-w-[436px]"),children:[n?c("div",{class:"h-[3px] shrink-0",style:{background:n}}):c("div",{class:"brand-rule"}),c("header",{class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[c("div",{class:"flex min-w-0 flex-1 flex-col gap-[3px]",children:[t&&c(ft,{children:t}),o??c("h2",{class:"truncate font-display text-card-title font-semibold text-ink",children:e}),i]}),c("button",{type:"button",onClick:s,"aria-label":p("common.close"),class:A("-mr-1 -mt-1 flex shrink-0 items-center justify-center rounded-touch text-lede leading-none text-ink-faint transition-colors hover:bg-row-hover hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",d==="preview"?"size-11":"size-8"),children:"×"})]}),c("div",{class:A("scroll-slim flex min-h-0 flex-col overflow-y-auto bg-surface",d==="preview"?"gap-0 p-0":l?"gap-3 p-3":"gap-4 p-4",u),children:r}),a&&c("footer",{class:"flex shrink-0 flex-col border-t border-line",children:a})]})})}function ag({children:e,label:t,class:o}){return c("div",{class:A("flex flex-wrap items-center gap-1.5 border-t border-line-soft px-4 first:border-t-0",o??"py-3"),children:[t&&c(ft,{class:"mr-1",children:t}),e]})}function Ft({children:e,tone:t="neutral"}){return c("p",{class:A("m-4 rounded-control border border-dashed px-4 py-6 text-center text-data",t==="bad"?"border-bad/30 text-bad":"border-line text-ink-muted"),children:e})}function wt({class:e,style:t}){return c("div",{class:A("skeleton",e),style:t})}const q$=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function im(e){return e==="shared"||e==="cleared"}function rm(e,t){if(!e)return null;const o=Array.from(document.querySelectorAll(q$)),i=t?o.indexOf(t):-1;for(let n=i+1;n<o.length;n++)if(!e.contains(o[n]))return o[n];for(let n=i-1;n>=0;n--)if(!e.contains(o[n]))return o[n];return o.find(n=>!e.contains(n))??null}function am(e){queueMicrotask(()=>{if(typeof requestAnimationFrame!="function"){e();return}requestAnimationFrame(()=>requestAnimationFrame(e))})}function Oi(e){return`${e.scopeKey}:${e.item.id}`}function Z$({selections:e,failed:t=!1,pending:o=!1,evictedLabel:i,onRemove:n,onClear:r,compact:a=!1,popoverAlign:s="end",class:d}){const l=fe(),[u,p]=se(!1),m=me(null),f=me(null),v=me(null),S=me(new Map),h=I_(),b=e,g=b.length;if(Ce(()=>{g<=1&&p(!1)},[g]),Ce(()=>{if(!u)return;function _(w){m.current?.contains(w.target)||p(!1)}function z(w){w.key==="Escape"&&(p(!1),f.current?.focus())}return document.addEventListener("pointerdown",_),document.addEventListener("keydown",z),()=>{document.removeEventListener("pointerdown",_),document.removeEventListener("keydown",z)}},[u]),g===0&&!t&&!o)return null;const y=async(_,z)=>{const w=rm(m.current,document.activeElement),E=b.filter(B=>Oi(B)!==Oi(_));let I;try{I=await(n?n(_):r())}catch{return}im(I)&&am(()=>{if(E.length===0){w?.isConnected&&w.focus({preventScroll:!0});return}if(E.length===1){v.current?.focus({preventScroll:!0});return}const B=E[Math.min(z,E.length-1)];S.current.get(Oi(B))?.focus({preventScroll:!0})})},T=async()=>{const _=rm(m.current,document.activeElement);_&&_.focus({preventScroll:!0}),p(!1);try{const z=await r();if(!im(z))return;am(()=>{_?.isConnected&&_.focus({preventScroll:!0})})}catch{}};return c("span",{ref:m,"aria-busy":o||void 0,class:A("relative inline-flex min-w-0 max-w-full items-center gap-1.5","font-mono text-chip text-ink-muted",d),children:[g===1&&c("span",{class:"inline-flex min-w-0 items-center gap-1 rounded-chip border border-accent-edge bg-accent/8 py-0.5 pl-2 pr-0.5","aria-live":"polite","aria-atomic":"true",children:[c("span",{class:A("shrink-0 text-accent-text",a&&"sr-only"),children:l("context.active.label")}),c("span",{class:A("truncate text-ink",a&&"max-w-24"),title:b[0].item.label,children:b[0].item.label}),c("button",{ref:v,type:"button",onClick:()=>void y(b[0],0),class:A("-my-0.5 grid size-6 shrink-0 place-items-center rounded-badge","text-[14px] leading-none text-ink-faint transition-colors","hover:bg-accent/12 hover:text-ink","focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),"aria-label":l("context.active.clear",{label:b[0].item.label}),title:l("context.active.clear",{label:b[0].item.label}),children:c("span",{"aria-hidden":"true",children:"×"})})]}),g>1&&c(Le,{children:[c("button",{ref:f,type:"button",class:A("inline-flex items-center gap-1 rounded-chip border border-accent-edge","bg-accent/8 px-2 py-1 text-accent-text transition-colors","hover:bg-accent/12 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),"aria-expanded":u,"aria-controls":h,"aria-haspopup":"dialog",onClick:()=>p(_=>!_),children:[c("span",{"aria-live":"polite","aria-atomic":"true",children:[l("context.active.label")," · ",g]}),c("span",{"aria-hidden":"true",class:"text-ink-faint",children:u?"▴":"▾"})]}),u&&c("span",{id:h,role:"dialog","aria-label":l("context.active.items"),class:A("absolute top-full z-30 mt-1.5 w-56 max-w-[calc(100vw-24px)]",s==="start"?"left-0":"right-0","rounded-card border border-line-modal bg-control p-1.5 shadow-modal"),children:[c("span",{class:"flex max-h-64 flex-col overflow-y-auto",children:b.map((_,z)=>c("span",{class:"flex min-w-0 items-center gap-2 rounded-badge px-1.5 py-1 hover:bg-sunken",children:[c("span",{class:"min-w-0 flex-1",children:[c("span",{class:"block truncate text-chip text-ink",children:_.item.label}),c("span",{class:"block truncate text-micro text-ink-faint",children:[_.item.view,_.item.value?` · ${_.item.value}`:""]})]}),c("button",{ref:w=>{const E=Oi(_);w?S.current.set(E,w):S.current.delete(E)},type:"button",class:A("grid size-6 shrink-0 place-items-center rounded-badge","text-[14px] leading-none text-ink-faint transition-colors","hover:bg-accent/12 hover:text-ink focus-visible:outline-2 focus-visible:outline-accent"),"aria-label":l("context.active.clear",{label:_.item.label}),title:l("context.active.clear",{label:_.item.label}),onClick:()=>void y(_,z),children:c("span",{"aria-hidden":"true",children:"×"})})]},`${_.scopeKey}:${_.item.id}`))}),c("button",{type:"button",class:A("mt-1 w-full rounded-badge border-t border-line-soft px-1.5 pt-1.5 text-left","text-micro text-ink-faint hover:text-bad focus-visible:outline-2 focus-visible:outline-accent"),onClick:()=>{T()},children:l("context.active.clear_all")})]})]}),o&&c("span",{role:"status","aria-live":"polite",class:"inline-flex min-w-0 items-center gap-1 text-ink-muted",title:l("context.active.pending"),children:[c("span",{"aria-hidden":"true",class:"shrink-0 animate-spin",children:"◌"}),c("span",{class:"truncate",children:l("context.active.pending")})]}),t&&c("span",{role:"status",class:"inline-flex shrink-0 items-center gap-1 text-bad",title:l("context.active.error"),children:[c("span",{"aria-hidden":"true",children:"!"}),c("span",{class:a&&g>0?"sr-only":void 0,children:l("context.active.error")})]}),i&&c("span",{role:"status","aria-live":"polite",class:A("truncate text-micro text-ink-muted",a?"max-w-24":"max-w-36"),title:l("context.active.evicted",{label:i}),children:l("context.active.evicted",{label:i})})]})}const H$="casys.erpnext/active-context",B$=2,lr=8,J$=5*1024*1024,K$=32*1024,Da={id:180,view:120,label:240,value:240,resourceUri:1024,resourceMimeType:160};function Lt(e){return typeof e=="object"&&e!==null}function ja(e){return Lt(e?.updateModelContext?.structuredContent)?"structuredContent":Lt(e?.updateModelContext?.text)?"text":null}function sg(e){return ja(e)!==null}function cg(e){for(const t of e){const o=t.codePointAt(0)??0;if(o<=31||o===127)return!0}return!1}function V$(e){const t=e.trim();return t.length>0&&t.length<=Da.resourceUri&&/^[A-Za-z][A-Za-z0-9+.-]*:/.test(t)&&!cg(t)}function lg(e){const t=e.trim(),o=t.split(";",1)[0].trim();return t.length<=Da.resourceMimeType&&/^[A-Za-z0-9!#$&^_.+-]+\/[A-Za-z0-9!#$&^_.+-]+$/.test(o)&&!cg(t)}function Aa(e){return e!==void 0&&e.bytes instanceof Uint8Array&&e.bytes.byteLength>0&&e.bytes.byteLength<=J$&&V$(e.uri)&&lg(e.mimeType)}function sm(e,t){return ja(e)!==null&&Lt(e?.updateModelContext?.resource)&&Aa(t)}function dg(e){return typeof e=="object"&&e!==null&&"isError"in e&&e.isError===!0}function W$(e,t){return e.id===t.id&&e.view===t.view&&e.reconcileKey===t.reconcileKey&&e.label===t.label&&e.value===t.value&&G$(e.resource,t.resource)}function G$(e,t){if(e===t)return!0;if(!e||!t||e.uri!==t.uri||e.mimeType!==t.mimeType||e.textFallback!==t.textFallback||e.bytes.byteLength!==t.bytes.byteLength)return!1;if(e.bytes===t.bytes)return!0;for(let o=0;o<e.bytes.byteLength;o+=1)if(e.bytes[o]!==t.bytes[o])return!1;return!0}function ug(e){const{resource:t,...o}=e;return o}function mg(e){return e.item.resource?{...e,item:ug(e.item)}:e}function Oa(e){let t=-1;for(let o=e.length-1;o>=0;o-=1)if(Aa(e[o].item.resource)){t=o;break}return e.map((o,i)=>i===t?o:mg(o))}function pg(e,t){return e.scopeKey===t.scopeKey&&W$(e.item,t.item)}function Qa(e,t){return e.length===t.length&&e.every((o,i)=>pg(o,t[i]))}function cm(e,t,o){const i=Oa(e),n=i.find(p=>p.scopeKey===t&&p.item.id===o.id)?.item,r=Aa(o.resource)?o.resource:void 0,a="resource"in o&&o.resource===void 0,s=r??(a?void 0:n?.resource),d=o.resource===s?o:{...ug(o),...s?{resource:s}:{}},l=i.filter(p=>p.scopeKey!==t||p.item.id!==o.id).map(p=>r?mg(p):p);l.push({scopeKey:t,item:d});const u=Math.max(0,l.length-lr);return{selections:l.slice(-lr),evicted:u>0?l[u-1]:null}}function lm(e,t){return Oa(e.filter(o=>o.scopeKey===t))}function dm(e,t){return Oa(e.filter(o=>o.scopeKey!==t.scopeKey||o.item.id!==t.item.id))}function fg(e,t=[]){let o=t.slice();for(const i of e)i.active&&(o=i.apply(o));return o}function Y$(e,t){const o=t.findIndex(n=>n.reversible),i=o===-1?t.length:o;return i===0?{base:e.slice(),mutations:t.slice()}:{base:fg(t.slice(0,i),e),mutations:t.slice(i)}}function X$(e,t,o){return Ld(e,t,o,()=>!0)}function Q$(e,t,o,i){const n=r=>r.reconcileKey??r.view;return Ld(e,t,i.filter(r=>n(r)===o),r=>e.some(a=>a.scopeKey===t&&a.item.id===r&&n(a.item)===o))}function e2(e,t,o,i){const n=`${o}:row:`,r=a=>a===o||a.startsWith(n);return Ld(e,t,i.filter(a=>r(a.id)),r)}function Ld(e,t,o,i){const n=new Map(o.map(d=>[d.id,d])),r=[];let a=!1;for(const d of e){if(d.scopeKey!==t||!i(d.item.id)){r.push(d);continue}const l=n.get(d.item.id);if(!l){a=!0;continue}const u=d.item.resource&&!("resource"in l)?{...l,resource:d.item.resource}:l,p={scopeKey:t,item:u};pg(d,p)||(a=!0),r.push(p)}const s=Oa(r);return s.some((d,l)=>d!==r[l])&&(a=!0),a?s:e.slice()}function t2(){let e=Promise.resolve();return{run(t){const o=e.then(t,t);return e=o.then(()=>{},()=>{}),o}}}function es(e,t){const o=e.trim();if(!o)throw new TypeError(`Active context ${t} is empty`);return Array.from(o).slice(0,Da[t]).join("")}function n2(e){if(e===void 0)return;const t=e.trim();if(t)return Array.from(t).slice(0,Da.value).join("")}function o2(e){const t=n2(e.value);return{id:es(e.id,"id"),view:es(e.view,"view"),label:es(e.label,"label"),...t===void 0?{}:{value:t}}}function i2(e){return{schema:H$,version:B$,items:e.slice(-lr).map(o2)}}function r2(e){for(let t=e.length-1;t>=0;t-=1)if(e[t].resource)return e[t].resource}function a2(e){const o=[];for(let i=0;i<e.byteLength;i+=24576){let n="";const r=Math.min(i+24576,e.byteLength);for(let a=i;a<r;a+=1)n+=String.fromCharCode(e[a]);o.push(btoa(n))}return o.join("")}function s2(e){if(!Aa(e))throw new TypeError("Active context resource is invalid or too large");return{type:"resource",resource:{uri:e.uri.trim(),mimeType:e.mimeType.trim(),blob:a2(e.bytes)}}}function c2(e){const t=e.trim().split(";",1)[0].trim().toLowerCase();return t==="application/json"||t.startsWith("text/")}function l2(e){if(!e||typeof e.textFallback!="string"||!lg(e.mimeType)||!c2(e.mimeType)||e.textFallback.length===0)return;const t=new TextEncoder().encode(e.textFallback).byteLength;if(!(t===0||t>K$))return e.textFallback}async function hg(e,t){const o=e.getHostCapabilities(),i=ja(o);if(!i)return"unsupported";try{const n=t.slice(-lr),r=i2(n),a=r2(n),s=a&&Lt(o?.updateModelContext?.resource)?s2(a):void 0,d=Lt(o?.updateModelContext?.text),l=d||Lt(o?.updateModelContext?.resource),u=!s&&d?l2(a):void 0,p=s?[s]:u?[{type:"text",text:u}]:[],m=i==="structuredContent"?{structuredContent:r,...l?{content:p}:{}}:{content:[{type:"text",text:JSON.stringify(r)},...p]},f=await e.updateModelContext(m);return dg(f)?"error":"shared"}catch{return"error"}}async function um(e){const t=e.getHostCapabilities(),o=ja(t);if(!o)return"unsupported";const i=Lt(t?.updateModelContext?.resource)||Lt(t?.updateModelContext?.text),n=o==="structuredContent"?{structuredContent:{},...i?{content:[]}:{}}:{content:[]};try{const r=await e.updateModelContext(n);return dg(r)?"error":"cleared"}catch{return"error"}}function d2(e){return Number.isFinite(e)&&e<=1}function Cn({expanded:e,label:t,actionLabel:o,hint:i,onToggle:n,controls:r,touch:a=!1,hintSide:s="left",class:d}){const l=fe(),u=e!==void 0,p=o??l(e===!0?"interaction.detail.close":"interaction.detail.open",{label:t}),m=i??l(e===!0?"interaction.detail.close_hint":"interaction.detail.open_hint");return c("button",{type:"button","aria-label":p,"aria-expanded":u?e:void 0,"aria-controls":r,"data-detail-hint":m,"data-detail-hint-side":s,onClick:f=>{f.stopPropagation(),d2(f.detail)&&n()},onDblClick:f=>f.stopPropagation(),class:A("detail-toggle group/detail inline-flex shrink-0 items-center justify-center rounded-chip text-ink-faint transition-colors hover:bg-control hover:text-accent focus-visible:outline-2 focus-visible:outline-accent",a?"size-10":"size-7",d),children:c("span",{"aria-hidden":"true",class:A("select-none font-mono text-[14px] leading-none transition-transform duration-150",e===!0&&"rotate-90 text-accent"),children:u?"›":"↗"})})}function u2(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7M3 12.5h10",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})})}function m2(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function p2({file:e,prepared:t,canDownload:o,downloading:i,documentLabel:n,context:r,onDownload:a,onClose:s}){const d=fe(),l=t.preview,[u,p]=se(null),[m,f]=se(!1),[v,S]=se(""),[h,b]=se(!1),[g,y]=se(!1),T={uri:l.uri,mimeType:l.mimeType,bytes:l.bytes},_=()=>({id:`attachment:${e.id}:${e.modifiedAt??"current"}`,view:n,label:e.fileName,value:v.trim()||d("document.attachments.context_entire_file"),resource:T}),z=r?.canShareResource(T)??!1,w=z&&!!r?.isSelected(_()),E=async()=>{if(!(!r||!z||h)){b(!0),y(!1);try{await r.activate(_())!=="context"&&y(!0)}catch{y(!0)}finally{b(!1)}}};Ce(()=>{if(l.kind!=="image"&&l.kind!=="pdf"){p(null);return}const B=new Blob([l.bytes.slice()],{type:l.mimeType}),ie=URL.createObjectURL(B);return p(ie),()=>URL.revokeObjectURL(ie)},[l]);const I=l.kind==="image"?u?c("div",{class:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-sunken p-4",children:c("img",{src:u,alt:e.fileName,class:"max-h-full max-w-full object-contain shadow-card"})}):c(mm,{}):l.kind==="pdf"?u?c("iframe",{src:`${u}#page=1&pagemode=thumbs&navpanes=1&toolbar=1`,title:d("document.attachments.preview_pdf",{name:e.fileName}),referrerPolicy:"no-referrer",class:"min-h-0 flex-1 border-0 bg-sunken"}):c(mm,{}):l.kind==="text"?c("div",{class:"scroll-slim min-h-0 flex-1 overflow-auto bg-sunken p-4",children:[c("pre",{class:"m-0 whitespace-pre-wrap break-words font-mono text-chip leading-relaxed text-ink-2",children:l.text??""}),l.textTruncated&&c("p",{role:"status",class:"sticky bottom-0 mt-4 border-t border-line bg-sunken/95 py-2 font-mono text-nano text-warn",children:d("document.attachments.preview_truncated")})]}):c("div",{class:"flex min-h-0 flex-1 flex-col items-center justify-center gap-2 bg-sunken p-6 text-center",children:[c("span",{"aria-hidden":"true",class:"text-title text-ink-faint",children:"◇"}),c("p",{class:"m-0 max-w-md text-data text-ink-muted",children:d("document.attachments.preview_unsupported")}),o&&c("p",{class:"m-0 font-mono text-chip text-ink-faint",children:d("document.attachments.preview_download_fallback")})]});return c(rg,{size:"preview",bodyClass:"flex-1",eyebrow:`${l.mimeType} · ${m2(l.bytes.length)}`,title:e.fileName,onClose:s,footer:o||z?c(Le,{children:[z&&m&&c("div",{class:"border-b border-line-soft px-4 py-3",children:c("label",{class:"flex flex-col gap-1.5",children:[c("span",{class:"font-mono text-chip text-ink-faint",children:d("document.attachments.context_note")}),c("input",{type:"text",maxLength:220,value:v,placeholder:d("document.attachments.context_note_placeholder"),onInput:B=>S(B.currentTarget.value),class:A("min-h-10 rounded-control border border-line bg-surface px-2.5","text-data text-ink placeholder:text-ink-faint focus:border-accent focus:outline-none")})]})}),c(ag,{children:[c("span",{class:"min-w-0 flex-1 font-mono text-nano text-ink-faint",children:g?c("span",{role:"status",class:"text-bad",children:d("document.attachments.context_error")}):e.isPrivate?d("document.attachments.private"):d("document.attachments.public")}),z&&c(Le,{children:[c("button",{type:"button","aria-pressed":m,"aria-label":d("document.attachments.context_note"),title:d("document.attachments.context_note"),onClick:()=>f(B=>!B),class:A("grid size-10 place-items-center rounded-control border border-line bg-control","text-ink-faint transition-colors hover:text-ink focus-visible:outline-2 focus-visible:outline-accent"),children:c("span",{"aria-hidden":"true",children:"✎"})}),c(nt,{variant:w?"quiet":"accent",class:"inline-flex min-h-10 items-center gap-1.5",disabled:h,"aria-pressed":w,onClick:()=>void E(),children:[c("span",{"aria-hidden":"true",children:h?"…":w?"✓":"+"}),d(h?"document.attachments.context_sharing":w&&!m?"document.attachments.context_added":w?"document.attachments.context_update":"document.attachments.context_add")]})]}),o&&c(nt,{variant:"secondary",class:"inline-flex min-h-10 items-center gap-1.5",disabled:i,onClick:a,children:[i?c("span",{"aria-hidden":"true",children:"…"}):c(u2,{}),d("document.attachments.download_short")]})]})]}):void 0,children:I})}function mm(){const e=fe();return c("div",{role:"status",class:"flex min-h-0 flex-1 items-center justify-center bg-sunken font-mono text-chip text-ink-faint",children:e("document.attachments.preview_loading")})}const f2=new Set(["image/gif","image/jpeg","image/png","image/webp"]),h2=new Set(["application/json","text/csv","text/markdown","text/plain"]),b2=new Set(["csv","gif","jpeg","jpg","json","md","pdf","png","txt","webp"]),v2=256*1024,bg=5*1024*1024;function vg(e){return e?.split(";",1)[0].trim().toLowerCase()??""}function g2(e){const t=e.lastIndexOf(".");return t<0||t===e.length-1?!1:b2.has(e.slice(t+1).toLowerCase())}function gg(e){const t=vg(e.resource.mimeType);return _g(e.resource.blob)>bg?"unsupported":f2.has(t)?S2(t,e.resource.blob)?"image":"unsupported":t==="application/pdf"?x2(e.resource.blob)?"pdf":"unsupported":h2.has(t)?"text":"unsupported"}function Md(e){yg(e);const t=atob(e),o=new Uint8Array(t.length);for(let i=0;i<t.length;i+=1)o[i]=t.charCodeAt(i);return o}function _g(e){yg(e);const t=e.endsWith("==")?2:e.endsWith("=")?1:0;return e.length/4*3-t}function _2(e,t=v2){if(gg(e)!=="text")throw new Error("attachment is not previewable text");if(!Number.isSafeInteger(t)||t<=0)throw new Error("maxBytes must be a positive safe integer");const o=_g(e.resource.blob),i=o>t,n=i?Math.ceil(t/3)*4:void 0,r=n===void 0?e.resource.blob:e.resource.blob.slice(0,n),a=Md(r),s=i?a.subarray(0,t):a;return{text:$2(s,i),truncated:i,byteLength:o}}function y2(e){const t=vg(e.resource.mimeType)||"application/octet-stream",o=Md(e.resource.blob);let i=gg(e),n;if(i==="text")try{n=_2(e)}catch{i="unsupported"}return{kind:i,uri:e.resource.uri,mimeType:t,bytes:o,...n?{text:n.text,textTruncated:n.truncated}:{}}}function k2(e){return{type:"resource",resource:{uri:e.uri,mimeType:e.mimeType,blob:w2(e.bytes)}}}function x2(e){try{return atob(e.slice(0,12)).startsWith("%PDF-")}catch{return!1}}function yg(e){if(e.length===0||e.length%4!==0||!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))throw new Error("attachment blob is not canonical base64")}function w2(e){const o=[];for(let i=0;i<e.length;i+=32768){let n="";const r=Math.min(i+32768,e.length);for(let a=i;a<r;a+=1)n+=String.fromCharCode(e[a]);o.push(n)}return btoa(o.join(""))}function $2(e,t){const o=()=>new TextDecoder("utf-8",{fatal:!0});try{return o().decode(e)}catch(i){if(!t)throw i;for(let n=1;n<=3&&n<e.length;n+=1)try{return o().decode(e.subarray(0,e.length-n))}catch{}throw i}}function S2(e,t){try{const o=Md(t.slice(0,Math.min(t.length,24)));if(e==="image/png")return[137,80,78,71,13,10,26,10].every((n,r)=>o[r]===n);if(e==="image/jpeg")return o[0]===255&&o[1]===216&&o[2]===255;const i=new TextDecoder("ascii").decode(o);return e==="image/gif"?i.startsWith("GIF87a")||i.startsWith("GIF89a"):e==="image/webp"&&i.startsWith("RIFF")&&i.slice(8,12)==="WEBP"}catch{return!1}}function pm(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"m5.25 8.9 4.2-4.2a2.05 2.05 0 0 1 2.9 2.9l-5.3 5.3a3.15 3.15 0 0 1-4.45-4.45l5-5",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round"})})}function I2(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7M3 12.5h10",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})})}function z2(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:[c("path",{d:"M1.75 8s2.15-3.5 6.25-3.5S14.25 8 14.25 8 12.1 11.5 8 11.5 1.75 8 1.75 8Z",stroke:"currentColor","stroke-width":"1.2"}),c("circle",{cx:"8",cy:"8",r:"1.6",stroke:"currentColor","stroke-width":"1.2"})]})}function T2(e){return e===null?"—":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Fd({controller:e,capabilities:t,layout:o,context:i}){const n=fe(),r=me(null),a=me(null),[s,d]=se(!0),[l,u]=se(null),{state:p,files:m,readProgress:f}=e,v=o!=="wide",S=p.upload!=="idle"&&p.upload!=="error",h=p.previewingFile!==null||p.downloadingFile!==null,b=S||p.load==="loading"||h;Ce(()=>{l&&(l.documentKey!==e.documentKey||!m.some(E=>E.id===l.fileId))&&u(null)},[e.documentKey,m,l]);const g=()=>{b||r.current?.click()},y=E=>{const I=E.currentTarget.files?.[0];E.currentTarget.value="",I&&e.upload(I,s)},T=p.upload==="reading"?f===null?n("document.attachments.reading"):n("document.attachments.reading_progress",{value:Math.round(f*100)}):p.upload==="uploading"?n("document.attachments.uploading"):p.upload==="relisting"?n("document.attachments.relisting"):n("document.attachments.add"),_=async E=>{const I=await e.preview(E);I&&u(I)},z=()=>{u(null),globalThis.requestAnimationFrame(()=>a.current?.focus())},w=l?m.find(E=>E.id===l.fileId)??null:null;return c("section",{"aria-labelledby":"document-attachments-title","aria-busy":S||h||p.load==="loading",class:"min-w-0",children:[c("div",{class:"flex min-h-10 items-center gap-2 border-b border-line-soft px-3.5 py-2",children:[c("h3",{id:"document-attachments-title",class:"m-0 font-mono text-micro uppercase tracking-label text-ink-muted",children:[n("document.attachments"),c("span",{class:"ml-1.5 text-ink-faint",children:m.length})]}),c("div",{class:"flex-1"}),t.canListAttachments&&c("button",{type:"button","aria-label":n("document.attachments.refresh"),title:n("document.attachments.refresh"),disabled:p.load==="loading"||S||h,onClick:()=>void e.refresh(),class:A("grid place-items-center rounded-control text-ink-faint transition-colors",v?"size-11":"size-7","hover:bg-control hover:text-ink focus-visible:outline-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-40"),children:c("span",{"aria-hidden":"true",class:p.load==="loading"?"animate-spin":"",children:"↻"})})]}),p.error&&c("div",{role:"alert",class:"mx-3.5 mt-3 flex items-start gap-2 rounded-control border border-bad/25 bg-bad/8 px-2.5 py-2 font-mono text-chip text-bad",children:[c("span",{class:"min-w-0 flex-1 break-words",children:p.error.message}),c("button",{type:"button","aria-label":n("document.attachments.dismiss_error"),onClick:e.dismissError,class:A("grid shrink-0 place-items-center rounded-sm hover:bg-bad/10 focus-visible:outline-2 focus-visible:outline-bad",v?"size-11":"size-5"),children:"×"})]}),c("div",{class:A("flex flex-col",v?"px-3 py-2.5":"px-3.5 py-3"),children:[p.load==="loading"&&m.length===0?c("div",{role:"status",class:"py-6 text-center font-mono text-chip text-ink-faint",children:n("document.attachments.loading")}):m.length===0?c("div",{class:"rounded-control border border-dashed border-line px-3 py-5 text-center",children:[c(pm,{}),c("p",{class:"mt-2 font-mono text-chip text-ink-faint",children:t.canListAttachments?n("document.attachments.empty"):n("document.attachments.unavailable")})]}):c("div",{class:"overflow-hidden rounded-control border border-line-soft",children:m.map(E=>{const I=p.downloadingFile===E.id,B=p.previewingFile===E.id,ie=t.canPreviewAttachment&&g2(E.fileName)&&(E.fileSize===null||E.fileSize<=bg);return c("div",{"aria-busy":B||I,class:"group flex min-h-12 items-center gap-2.5 border-b border-line-soft px-2.5 py-1.5 last:border-b-0 hover:bg-row-hover",children:[c("span",{class:"shrink-0 text-ink-faint",children:c(pm,{})}),ie?c("button",{type:"button","aria-label":n("document.attachments.preview",{name:E.fileName}),title:n("document.attachments.preview",{name:E.fileName}),disabled:h,onClick:W=>{a.current=W.currentTarget,_(E)},class:A("flex min-h-10 min-w-0 flex-1 items-center gap-2 rounded-control text-left","focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent","disabled:cursor-wait disabled:opacity-60"),children:[c(fm,{file:E}),c("span",{class:A("grid size-6 shrink-0 place-items-center text-ink-faint transition-opacity",!v&&!B&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:B?c("span",{"aria-hidden":"true",children:"…"}):c(z2,{})})]}):c(fm,{file:E}),t.canDownloadAttachment&&c("button",{type:"button","aria-label":n("document.attachments.download",{name:E.fileName}),title:n("document.attachments.download",{name:E.fileName}),disabled:h,onClick:()=>void e.download(E),class:A("grid shrink-0 place-items-center rounded-control text-ink-faint transition-colors",v?"size-11":"size-8","hover:bg-control hover:text-accent focus-visible:outline-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-45",!v&&!I&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:I?c("span",{"aria-hidden":"true",class:"animate-pulse",children:"…"}):c(I2,{})})]},E.id)})}),t.canUploadAttachment&&c("div",{class:"mt-3 flex flex-wrap items-center gap-2",children:[c("input",{ref:r,class:"sr-only",type:"file",tabIndex:-1,onChange:y}),c("button",{type:"button",disabled:b,onClick:g,class:A("inline-flex min-h-8 items-center gap-1.5 rounded-control border border-line bg-control px-2.5","font-mono text-chip text-ink-muted transition-colors hover:border-line-hover hover:text-ink","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","disabled:cursor-wait disabled:opacity-55",v&&"min-h-11"),children:[c("span",{"aria-hidden":"true",children:"+"}),T]}),c("button",{type:"button",role:"switch","aria-checked":s,"aria-label":n(s?"document.attachments.privacy_private":"document.attachments.privacy_public"),title:n(s?"document.attachments.private_hint":"document.attachments.public_hint"),disabled:b,onClick:()=>d(E=>!E),class:A("min-h-8 rounded-pill border px-2.5 font-mono text-nano uppercase tracking-chip transition-colors",s?"border-line bg-sunken text-ink-muted":"border-warn/45 bg-warn/10 text-warn","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-50",v&&"min-h-11"),children:s?`⌁ ${n("document.attachments.private")}`:`◌ ${n("document.attachments.public")}`})]})]}),c("span",{class:"sr-only",role:"status","aria-live":"polite","aria-atomic":"true",children:p.previewingFile?n("document.attachments.preview_loading_name",{name:m.find(E=>E.id===p.previewingFile)?.fileName??""}):p.downloadingFile?n("document.attachments.download_in_progress"):S?T:""}),l&&w&&c(p2,{file:w,prepared:l,canDownload:t.canDownloadAttachment,downloading:p.downloadingFile===w.id,documentLabel:`${e.document.doctype} · ${e.document.name}`,context:i,onDownload:()=>void e.download(w,l),onClose:z})]})}function fm({file:e}){const t=fe();return c("span",{class:"min-w-0 flex-1",children:[c("span",{class:"block truncate text-data text-ink",title:e.fileName,children:e.fileName}),c("span",{class:"mt-0.5 flex items-center gap-1.5 font-mono text-nano text-ink-faint",children:[c("span",{children:T2(e.fileSize)}),c("span",{"aria-hidden":"true",children:"·"}),c("span",{children:e.isPrivate?t("document.attachments.private"):t("document.attachments.public")})]})]})}function qd(e,t,o){const i=!!e?.serverTools,n=s=>i&&Array.isArray(t)&&t.includes(s),r=n("erpnext_file_list"),a=r&&n("erpnext_file_download");return{canRefresh:!!(o&&n(o.toolName)),canListAttachments:r,canUploadAttachment:r&&n("erpnext_file_upload"),canPreviewAttachment:a,canDownloadAttachment:a&&!!e?.downloadFile,canSubmit:n("erpnext_doc_submit"),canCancel:n("erpnext_doc_cancel")}}function $t(e,t){if(!e)return{};const o=t&&e.onDoubleActivate?{key:t.key,onSingle:e.onActivate,onDouble:e.onDoubleActivate,doublePolicy:e.doublePolicy}:null;return{role:"button",tabIndex:0,...e.selected!==void 0?{"aria-pressed":e.selected}:{},...e.expanded!==void 0?{"aria-expanded":e.expanded}:{},...e.controls?{"aria-controls":e.controls}:{},...o?{"aria-keyshortcuts":"Enter"}:{},"aria-label":e.label,title:e.label,onClick:o?i=>t.arbiter.click(o,i?.detail??1):()=>e.onActivate(),...o&&e.onDoubleActivate?{onDblClick:()=>t.arbiter.doubleClick(o)}:{},onKeyDown:i=>{if(o){t.arbiter.keyDown(o,i);return}i.repeat||i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),e.onActivate())}}}function Rt(e){if(typeof e!="string"&&typeof e!="number")return null;const t=String(e).trim();return t.length>0?t:null}function Na(e,t,o){const i=[e.envelope.doctype,e.title!==e.envelope.name?e.title:null,e.status].filter(n=>!!n);return{id:`record:${e.envelope.doctype}:${e.envelope.name}`,view:t,...o?{reconcileKey:o}:{},label:e.envelope.name,...i.length>0?{value:i.join(" · ")}:{}}}function P2(e){return`document-rows:${e.doctype}:${e.name}`}function Dn(e,t,o,i,n){const r=Rt(o.item_code);if(!r)return null;const a=Rt(o.item_name),s=e.document[t.key],d=Array.isArray(s)&&s[i]!==null&&typeof s[i]=="object"&&!Array.isArray(s[i])?s[i]:null,l=Rt(d?.name)??Rt(d?.idx)??`${r}:${i+1}`,u=[Rt(o.qty)?`Qty ${Rt(o.qty)}`:null,Rt(o.warehouse),Rt(o.amount)].filter(p=>!!p);return{id:`record:${e.doctype}:${e.name}:row:${t.key}:${l}`,view:`${e.doctype} · ${e.name}`,...n?{reconcileKey:n}:{},label:a?`${r} · ${a}`:r,...u.length>0?{value:u.join(" · ")}:{}}}const E2="io.casys/viewer";function kg(e){const t=e._meta?.[E2];if(!t||typeof t!="object"||Array.isArray(t))return null;const o={...t};return delete o.version,o}function Cs(e,t){const o=kg(t);return o?{...e,...o}:e}function C2(){return{generation:0,inFlight:null,pendingForced:!1}}function hm(e,t={}){if(e.inFlight!==null)return t.force?{state:{...e,generation:e.generation+1,pendingForced:!0},generation:null}:{state:e,generation:null};const o=e.generation+1;return{state:{generation:o,inFlight:o,pendingForced:!1},generation:o}}function bm(e){return{...e,generation:e.generation+1}}function D2(e,t){return e.inFlight!==t?{state:e,accept:!1,runPending:!1}:{state:{...e,inFlight:null},accept:e.generation===t,runPending:e.pendingForced}}function j2(e,t={}){return!e.request||e.visibilityState!=="visible"||e.refreshInFlight?!1:t.ignoreInterval?!0:e.now-e.lastRefreshStartedAt>=e.minIntervalMs}function A2(e,t){return e?.refreshRequest??t}function O2(e){return e instanceof Error&&/timed? out/i.test(e.message)?kt("common.error.refresh_timeout"):kt("common.error.refresh_failed")}function it(e){if(e.structuredContent)return JSON.stringify(Cs(e.structuredContent,e));const t=e.content?.find(i=>i.type==="text")?.text??null;if(t===null)return null;const o=kg(e);if(!o)return t;try{const i=JSON.parse(t);if(i&&typeof i=="object"&&!Array.isArray(i))return JSON.stringify({...i,...o})}catch{}return t}const Zd="Purchase Invoice",N2="Disable Rounded Total";function R2(e){const t=q2(e.currency);if(!t)return{ok:!1,error:"Purchase Invoice is missing document currency."};const o=Vi(e.grand_total);if(o===null)return{ok:!1,error:"Purchase Invoice has invalid or missing grand_total."};if(e.disable_rounded_total===1)return{ok:!0,amount:o,currency:t,roundingAdjustment:0};if(e.disable_rounded_total===0){if("base_rounded_total"in e&&e.base_rounded_total==null)return{ok:!1,error:"Purchase Invoice has an unconfigured base rounded total."};const i=Vi(e.rounded_total),n=Vi(e.rounding_adjustment);if(i===null||n===null)return{ok:!1,error:"Purchase Invoice has invalid or missing rounding amounts."};const r=n!==0&&i!==0;return{ok:!0,amount:r?i:o,currency:t,roundingAdjustment:r?n:0}}return{ok:!1,error:"Purchase Invoice has an unknown rounding setting."}}function Ra(e,t){if(e!==Zd)return null;const o=R2(t);if(!o.ok)return null;const i=Vi(t.grand_total);return i===null?null:{amount:o.amount,currency:o.currency,roundingAdjustment:o.roundingAdjustment,calculatedTotal:i,showNote:o.roundingAdjustment!==0}}function qt(e,t){return`${String(e)} ${t}`}function xg(e,t){const o=qt(e,t);return e>0?`+${o}`:o}function U2(e,t,o){return t<0?{key:"document.purchase_invoice.aria.adjustment",params:{signed:xg(e,o)}}:e>0?{key:"document.purchase_invoice.aria.adds",params:{amount:qt(e,o)}}:{key:"document.purchase_invoice.aria.reduces",params:{amount:qt(Math.abs(e),o)}}}function L2(e,t){if(e.isError)return{kind:"error",message:Z2(e)??"Action failed",refresh:!1};const o=$g(e),i=H2(o,t);return i&&i.docstatus===1?{kind:"success",message:Sg(o)??"Submitted",refresh:!0,invoice:i}:{kind:"attention",message:"Submission could not be confirmed. Inspect the same invoice before retrying.",refresh:!0,invoice:i}}function M2(e){return{kind:"attention",message:"Submit response was not received. Inspect the same invoice before retrying; submission is unconfirmed.",refresh:!0}}function dr(e,t,o){if(e!=="erpnext_doc_submit"||t.doctype!==Zd||typeof t.name!="string"||t.name.length===0)return{applies:!1};const i="transportFailure"in o?M2(o.transportFailure):L2(o.result,t.name),n=i.kind==="success"?"success":i.kind==="error"?"error":"transportFailure"in o?"transport":"unconfirmed";return{applies:!0,kind:i.kind,reason:n,message:i.message,claimSubmitted:i.kind==="success",emitCommittedEvent:i.kind==="success",reread:i.refresh}}function wg(e,t){const o=Ra(e,t);return o?qt(o.amount,o.currency):null}function F2(e,t,o,i=6,n=8){const r=Math.min(o.width,Math.max(0,t.width-n*2)),a=o.height;let s=e.bottom+i;s+a>t.height-n&&(s=e.top-i-a),s<n&&(s=n),s+a>t.height-n&&(s=Math.max(n,t.height-n-a));let d=e.right-r;return d<n&&(d=n),d+r>t.width-n&&(d=Math.max(n,t.width-n-r)),{top:s,left:d}}function q2(e){return typeof e!="string"||e.trim().length===0?null:e}function Vi(e){return typeof e=="number"&&Number.isFinite(e)?e:null}function $g(e){if(e.structuredContent&&typeof e.structuredContent=="object"&&!Array.isArray(e.structuredContent))return Cs(e.structuredContent,e);const t=e.content?.find(o=>o.type==="text")?.text;if(!t)return null;try{const o=JSON.parse(t);if(o&&typeof o=="object"&&!Array.isArray(o))return Cs(o,e)}catch{return null}return null}function Sg(e){return typeof e?.message=="string"&&e.message.length>0?e.message:null}function Z2(e){const t=$g(e),o=Sg(t);return o||(e.content?.find(i=>i.type==="text")?.text??null)}function H2(e,t){const o=e?.data;if(!o||typeof o!="object"||Array.isArray(o))return;const i=o;if(i.name===t&&i.doctype===Zd)return i}const Ig={submit:{variant:"accent",labelKey:"doclist.detail.action.submit_title",titleKey:"doclist.detail.action.submit_title",tone:"accent"},cancel:{variant:"danger",labelKey:"doclist.detail.action.cancel_label",titleKey:"doclist.detail.action.cancel_label",tone:"danger"}},B2="min-h-[44px] w-full rounded-control text-body";function zg(e){const t=e.status==="Draft"||e.docstatus===0,o=e.docstatus===1;return{submit:t&&(!!e.preview||e.canSubmit),cancel:o&&(!!e.preview||e.canCancel)}}function Ds(e,t){return`${e} ${t}`}function Tg(e,t,o){const i=Ra(e,o);return JSON.stringify([e,t,typeof o.modified=="string"?o.modified:null,i?.amount??null,typeof o.currency=="string"?o.currency:null])}function J2(e,t){const{translate:o,amount:i}=t,n=Ig[e],r=i?{amount:i}:void 0,a=e==="submit"?{title:"doclist.confirm.submit",detail:i?"doclist.confirm.submit.detail_with_amount":"doclist.confirm.submit.detail",actionLabel:i?"doclist.confirm.submit.action_with_amount":"doclist.confirm.submit.action"}:{title:"doclist.confirm.cancel",detail:"doclist.confirm.cancel.detail",actionLabel:"doclist.confirm.cancel.action"};return{subject:Ds(t.doctype,t.name),title:o(a.title,r),titleKey:a.title,detail:o(a.detail,r),detailKey:a.detail,actionLabel:o(a.actionLabel,r),actionLabelKey:a.actionLabel,params:r,tone:n.tone,key:e,documentSnapshot:t.documentSnapshot,onConfirm:t.onConfirm}}function Pg(e,t,o){if(!e)return!1;const i=e.key;return i!=="submit"&&i!=="cancel"?!1:!t[i]||e.documentSnapshot!==void 0&&o!==void 0&&e.documentSnapshot!==o}function K2(e){return e==="bad"?"alert":void 0}function vm(e){return e==="ok"?"text-ok":e==="warn"?"text-warn":"text-bad"}function V2(e,t,o){return e===!0?{tone:"ok",text:t}:typeof e=="object"?"unconfirmed"in e?{tone:"warn",text:o("document.purchase_invoice.submit.unconfirmed")}:"transport"in e?{tone:"warn",text:o("document.purchase_invoice.submit.transport")}:"refreshPending"in e?{tone:"warn",text:o("document.action.refresh_pending")}:{tone:"bad",text:X2(e.error,o("doclist.detail.action_failed"))}:{tone:"bad",text:o("doclist.detail.action_failed")}}const gm=240,W2=/^\[FrappeClient\]\s+[A-Z]+\s+\S+\s+failed:\s*/,G2=/\s*\(HTTP \d+\)$/;function Y2(e){if(e[0]!=="{"&&e[0]!=="[")return!1;try{return typeof JSON.parse(e)=="object"}catch{return!1}}function X2(e,t){const o=(e??"").replace(/\s+/g," ").trim().replace(W2,"").replace(G2,"").trim();return!o||Y2(o)?t:o.length>gm?`${o.slice(0,gm-1)}…`:o}const Q2=new Set(["idx","parent","parenttype","parentfield","doctype","owner","creation","modified","modified_by","docstatus"]),eS=["item_code","operation","activity_type","title","subject","description","qty","quantity","amount","operating_cost","rate","price","uom","item_name","warehouse","account","employee","name","id","base_amount"],tS=["amount","base_amount","net_amount","base_net_amount","operating_cost","base_operating_cost","stock_value_difference"],nS=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function oS(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function iS(e){try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function Hd(e){return e===null||typeof e=="string"||typeof e=="boolean"?e:typeof e=="number"?Number.isFinite(e)?e:String(e):iS(e)}function ho(e){const t=e.replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t.length===0?e:t.charAt(0).toUpperCase()+t.slice(1)}function Eg(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return nS.test(t)?Number(t):null}function rS(e,t){return t===null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":/(^|_)(workflow_)?status($|_)/i.test(e)?"status":typeof t=="string"&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(t)?"datetime":typeof t=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(t)?"date":typeof t=="string"&&(t.startsWith("{")||t.startsWith("["))?"json":"text"}function aS(e,t){const o=e.map(i=>i[t]).filter(i=>i!=null&&i!=="");return o.length>0&&o.every(i=>Eg(i)!==null)}function sS(e,t){for(const o of tS){if(!t.some(r=>r.key===o))continue;const i=e.map(r=>r[o]).filter(r=>r!=null&&r!=="");if(i.length===0)continue;const n=i.map(Eg);if(!n.some(r=>r===null))return{key:o,label:ho(o),value:n.reduce((r,a)=>r+(a??0),0)}}}function cS(e){return e.some(t=>"parent"in t||"parenttype"in t||"parentfield"in t||"idx"in t)}function lS(e){const t=new Map,o=cS(e);for(const n of e)for(const r of Object.keys(n))r.startsWith("_")||Q2.has(r)||o&&r==="name"||t.has(r)||t.set(r,t.size);const i=new Map(eS.map((n,r)=>[n,r]));return[...t.keys()].sort((n,r)=>{const a=i.get(n)??Number.MAX_SAFE_INTEGER,s=i.get(r)??Number.MAX_SAFE_INTEGER;return a-s||(t.get(n)??0)-(t.get(r)??0)})}function dS(e,t){const o=lS(t),i=t.map(a=>Object.fromEntries(o.filter(s=>Object.prototype.hasOwnProperty.call(a,s)).map(s=>[s,Hd(a[s])]))),n=o.map(a=>({key:a,label:ho(a),numeric:aS(i,a)})),r=sS(i,n);return{key:e,label:ho(e),rows:i,columns:n,...r?{total:r}:{}}}function Cg(e,t){return e.columns.slice(0,t==="wide"?4:3)}function uS(e,t,o){const i=e.rows[t];if(!i)return[];const n=new Set(Cg(e,o).map(r=>r.key));return e.columns.filter(r=>!n.has(r.key)).map(r=>({key:r.key,label:r.label,value:i[r.key]??null,kind:rS(r.key,i[r.key]??null)}))}function mS(e){return Array.isArray(e)&&e.length>0&&e.every(oS)}function ts(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function _m(e){return Array.isArray(e)?[...new Set(e.filter(t=>typeof t=="string"&&t.length>0))]:[]}function pS(e){if(!ts(e)||e.version!==1||!Array.isArray(e.preview)||!Array.isArray(e.sections))return;const t=e.sections.flatMap(i=>{if(!ts(i))return[];const n=_m(i.fields);return n.length===0?[]:[{label:typeof i.label=="string"&&i.label.trim()?i.label:null,fields:n}]}),o={};if(ts(e.labels))for(const[i,n]of Object.entries(e.labels))typeof n=="string"&&n.trim()&&(o[i]=n);return{preview:_m(e.preview),sections:t,labels:o}}function ym(e,t){return e&&Object.hasOwn(e.labels,t)?e.labels[t]:void 0}function fS(e,t){const o=(m=[])=>new Map(m.filter(f=>f.kind!=="empty").map(f=>[f.key,f])),i=o(e.scalars),n=o(e.longFields),r=new Set,a=(m,f)=>f.flatMap(v=>{const S=m.get(v);return!S||r.has(v)?[]:(r.add(v),[S])}),s=a(i,t.preview),d=a(n,t.preview),l=[];t.sections.forEach((m,f)=>{const v=a(i,m.fields),S=a(n,m.fields);(v.length>0||S.length>0)&&l.push({key:`section-${f}`,label:m.label,fields:v,longFields:S})});const u=[...i.values()].filter(m=>!r.has(m.key)),p=[...n.values()].filter(m=>!r.has(m.key));return(u.length>0||p.length>0)&&l.push({key:"section-other",label:null,fields:u,longFields:p}),{fields:s,longFields:d,sections:l}}const hS=new Set(["_availableTools","_fieldLayout","_sendMessageHints","refreshRequest"]),bS=new Set(["Company"]),vS=new Set(["name","doctype","owner","creation","modified","modified_by","docstatus","idx","_user_tags","_comments","_assign","_liked_by","__islocal","__unsaved"]),gS=["title","subject","item_name","customer_name","supplier_name","project_name","employee_name"],_S=/(^|_)(description|notes?|remarks?|terms|instructions?|content|message|details?)($|_)/i,yS=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function Ot(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ke(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}function kS(e){if(Array.isArray(e))return[...new Set(e.filter(t=>typeof t=="string"&&t.length>0))]}function xS(e){if(!Ot(e))return;const t=Ke(e.toolName);if(!(!t||!Ot(e.arguments)))return{toolName:t,arguments:{...e.arguments}}}function wS(e){if(Array.isArray(e))return e.flatMap(t=>{if(!Ot(t))return[];const o=Ke(t.label);if(!o)return[];const i=t.kind==="list"||t.kind==="record"||t.kind==="chart"?t.kind:void 0;return[{label:o,...Ke(t.key)?{key:Ke(t.key)}:{},...Ke(t.message)?{message:Ke(t.message)}:{},...Ke(t.tool)?{tool:Ke(t.tool)}:{},...Ot(t.args)?{args:{...t.args}}:{},...i?{kind:i}:{}}]})}function $S(e){if(!Ot(e)||!Ot(e.document))return null;const t=Ke(e.document.doctype)??Ke(e.doctype),o=Ke(e.document.name)??Ke(e.name);return!t||!o?null:{...e,document:e.document,doctype:t,name:o}}function an(e){if(!Ot(e))return null;const t=Ot(e.data)?e.data:null,i=(t&&Ke(t.doctype)&&Ke(t.name)?t:null)??e,n=Object.fromEntries(Object.entries(i).filter(([p])=>!hS.has(p))),r=Ke(n.doctype)??Ke(e.doctype),a=Ke(n.name)??Ke(e.name);if(!r||!a)return null;const s=kS(e._availableTools),d=xS(e.refreshRequest),l=wS(e._sendMessageHints),u=pS(e._fieldLayout);return{document:n,doctype:r,name:a,...s!==void 0?{availableTools:s}:{},...d?{refreshRequest:d}:{},...l!==void 0?{sendMessageHints:l}:{},...u?{fieldLayout:u}:{}}}function Bd(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return yS.test(t)?Number(t):null}function SS(e,t){return Bd(t)!==null&&(e==="progress"||e.endsWith("_progress")||e==="percent_complete"||e==="percentage_complete"||e==="completion_percentage")}function IS(e,t){return SS(e,t)?"progress":t==null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":e==="status"||e==="workflow_state"||e.endsWith("_status")?"status":Ot(t)||Array.isArray(t)?"json":typeof t=="string"&&(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(t)||e.endsWith("_datetime")||e.endsWith("_timestamp"))?"datetime":typeof t=="string"&&(/^\d{4}-\d{2}-\d{2}$/.test(t)||e.endsWith("_date"))?"date":"text"}function zS(e){try{return JSON.stringify(e,null,2)??String(e)}catch{return String(e)}}function km(e,t){const o=IS(e,t);let i=o==="json"?zS(t):Hd(t);return o==="progress"&&(i=Bd(t)),{key:e,label:ho(e),value:i,kind:o}}function TS(e){return e.startsWith("_")||vS.has(e)}function PS(e){return e.kind==="json"||typeof e.value=="string"&&(e.value.includes(`
|
|
110
|
-
`)||e.value.length>=120||_S.test(e.key))}function ES(e){for(const t of gS){const o=e.document[t];if((typeof o=="string"||typeof o=="number")&&String(o).trim().length>0)return String(o).trim()}return e.name}function CS(e){for(const t of["workflow_state","status"]){const o=e[t];if((typeof o=="string"||typeof o=="number"||typeof o=="boolean")&&String(o).trim().length>0)return String(o).trim()}}function DS(e,t,o){return{key:e,label:o,values:t.map(Hd)}}function Ua(e){const t=$S(e)??an(e);if(!t)return null;const o=bS.has(t.doctype)?void 0:t.fieldLayout,i=(S,h)=>{const b=km(S,h),g=ym(o,S);return g?{...b,label:g}:b},n=[],r=[],a=[],s=[],d=[],l=[];for(const[S,h]of Object.entries(t.document)){if(TS(S)){l.push(km(S,h));continue}if(S==="status"||S==="workflow_state")continue;if(mS(h)){d.push(dS(S,h));continue}if(Array.isArray(h)){if(o&&h.length===0)continue;s.push(DS(S,h,ym(o,S)??ho(S)));continue}const b=i(S,h);b.kind==="progress"?a.push(b):PS(b)?r.push(b):n.push(b)}const u=o?fS({scalars:n,longFields:r},o):void 0,p=u?u.fields:n,m=u?u.longFields:r,f=Bd(t.document.docstatus),v=CS(t.document);return{envelope:t,title:ES(t),...v?{status:v}:{},...f!==null?{docstatus:f}:{},fields:p,...u?{sections:u.sections}:{},longFields:m,progressFields:a,collections:s,childTables:d,systemFields:l}}function jS(e,t){for(var o in t)e[o]=t[o];return e}function xm(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function wm(e,t){this.props=e,this.context=t}(wm.prototype=new Et).isPureReactComponent=!0,wm.prototype.shouldComponentUpdate=function(e,t){return xm(this.props,e)||xm(this.state,t)};var $m=pe.__b;pe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),$m&&$m(e)};var AS=pe.__e;pe.__e=function(e,t,o,i){if(e.then){for(var n,r=t;r=r.__;)if((n=r.__c)&&n.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k||[]),n.__c(e,t)}AS(e,t,o,i)};var Sm=pe.unmount;function Dg(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),e.__c.__H=null),(e=jS({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(i){return Dg(i,t,o)})),e}function jg(e,t,o){return e&&o&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return jg(i,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=o)),e}function ns(){this.__u=0,this.o=null,this.__b=null}function Ag(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Ni(){this.i=null,this.l=null}pe.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Sm&&Sm(e)},(ns.prototype=new Et).__c=function(e,t){var o=t.__c,i=this;i.o==null&&(i.o=[]),i.o.push(o);var n=Ag(i.__v),r=!1,a=function(){r||i.__z||(r=!0,o.__R=null,n?n(d):d())};o.__R=a;var s=o.__P;o.__P=null;var d=function(){if(!--i.__u){if(i.state.__a){var l=i.state.__a;i.__v.__k[0]=jg(l,l.__c.__P,l.__c.__O)}var u;for(i.setState({__a:i.__b=null});u=i.o.pop();)u.__P=s,u.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},ns.prototype.componentWillUnmount=function(){this.o=[]},ns.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Dg(this.__b,o,i.__O=i.__P)}this.__b=null}var n=t.__a&&_n(Le,null,e.fallback);return n&&(n.__u&=-33),[_n(Le,null,t.__a?null:e.children),n]};var Im=function(e,t,o){if(++o[1]===o[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(o=e.i;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.i=o=o[2]}};function OS(e){return this.getChildContext=function(){return e.context},e.children}function NS(e){var t=this,o=e.h;if(t.componentWillUnmount=function(){ws(null,t.v),t.v=null,t.h=null},t.h&&t.h!==o&&t.componentWillUnmount(),!t.v){for(var i=t.__v;i!==null&&!i.__m&&i.__!==null;)i=i.__;t.h=o,t.v={nodeType:1,parentNode:o,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},namespaceURI:o.namespaceURI,insertBefore:function(n,r){this.childNodes.push(n),t.h.insertBefore(n,r)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}}ws(_n(OS,{context:t.context},e.__v),t.v)}function RS(e,t){var o=_n(NS,{__v:e,h:t});return o.containerInfo=t,o}(Ni.prototype=new Et).__a=function(e){var t=this,o=Ag(t.__v),i=t.l.get(e);return i[0]++,function(n){var r=function(){t.props.revealOrder?(i.push(n),Im(t,e,i)):n()};o?o(r):r()}},Ni.prototype.render=function(e){this.i=null,this.l=new Map;var t=er(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.l.set(t[o],this.i=[1,0,this.i]);return e.children},Ni.prototype.componentDidUpdate=Ni.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,o){Im(e,o,t)})};var US=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,LS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,MS=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,FS=/[A-Z0-9]/g,qS=typeof document<"u",ZS=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};Et.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Et.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zm=pe.event;pe.event=function(e){return zm&&(e=zm(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var HS={configurable:!0,get:function(){return this.class}},Tm=pe.vnode;pe.vnode=function(e){typeof e.type=="string"&&(function(t){var o=t.props,i=t.type,n={},r=i.indexOf("-")==-1;for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||qS&&a==="children"&&i==="noscript"||a==="class"||a==="className")){var d=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":d==="translate"&&s==="no"?s=!1:d[0]==="o"&&d[1]==="n"?d==="ondoubleclick"?a="ondblclick":d!=="onchange"||i!=="input"&&i!=="textarea"||ZS(o.type)?d==="onfocus"?a="onfocusin":d==="onblur"?a="onfocusout":MS.test(a)&&(a=d):d=a="oninput":r&&LS.test(a)?a=a.replace(FS,"-$&").toLowerCase():s===null&&(s=void 0),d==="oninput"&&n[a=d]&&(a="oninputCapture"),n[a]=s}}i=="select"&&(n.multiple&&Array.isArray(n.value)&&(n.value=er(o.children).forEach(function(l){l.props.selected=n.value.indexOf(l.props.value)!=-1})),n.defaultValue!=null&&(n.value=er(o.children).forEach(function(l){l.props.selected=n.multiple?n.defaultValue.indexOf(l.props.value)!=-1:n.defaultValue==l.props.value}))),o.class&&!o.className?(n.class=o.class,Object.defineProperty(n,"className",HS)):o.className&&(n.class=n.className=o.className),t.props=n})(e),e.$$typeof=US,Tm&&Tm(e)};var Pm=pe.__r;pe.__r=function(e){Pm&&Pm(e),e.__c};var Em=pe.diffed;pe.diffed=function(e){Em&&Em(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};const BS=120;function Og({calculatedTotal:e,roundingAdjustment:t,invoiceTotal:o,currency:i,isDraft:n,panelId:r}){const a=fe(),s=me(null),d=me(null),l=me(null),[u,p]=se(!1),[m,f]=se(!1),[v,S]=se(!1),[h,b]=se(!1),[g,y]=se(null),T=v||!h&&(u||m),_=xg(t,i),z=U2(t,o,i),w=a(n?"document.purchase_invoice.hint.draft":"document.purchase_invoice.hint.submitted",{label:N2});function E(){l.current!==null&&(clearTimeout(l.current),l.current=null)}function I(){E(),l.current=window.setTimeout(()=>{l.current=null,p(!1)},BS)}function B(){E(),p(!1),f(!1),S(!1),b(!0)}Ce(()=>{p(!1),f(!1),S(!1),b(!1)},[r,e,t,o,i]),Ce(()=>()=>E(),[]),Ce(()=>{if(!T)return;const W=ne=>{const ee=ne.target;ee instanceof Node&&(s.current?.contains(ee)||d.current?.contains(ee)||B())},G=ne=>{ne.key==="Escape"&&(ne.preventDefault(),ne.stopPropagation(),B())};return document.addEventListener("pointerdown",W),document.addEventListener("keydown",G),()=>{document.removeEventListener("pointerdown",W),document.removeEventListener("keydown",G)}},[T]),st(()=>{if(!T){y(null);return}function W(){const G=s.current?.getBoundingClientRect(),ne=d.current;if(!G)return;const ee=ne?{width:ne.offsetWidth,height:ne.offsetHeight}:{width:260,height:160};y(F2(G,{width:window.innerWidth,height:window.innerHeight},ee))}return W(),window.addEventListener("resize",W),window.addEventListener("scroll",W,!0),()=>{window.removeEventListener("resize",W),window.removeEventListener("scroll",W,!0)}},[T,w,_]);const ie=T?RS(c("div",{ref:d,id:r,role:"region","aria-label":a("document.purchase_invoice.details"),onPointerEnter:()=>{E(),p(!0),b(!1)},onPointerLeave:I,class:A("fixed z-50 box-border w-max max-w-[min(17.5rem,calc(100vw-1rem))]","rounded-control border border-line bg-surface p-2.5 shadow-modal","text-chip text-ink-2"),style:{top:g?.top??0,left:g?.left??0,visibility:g?"visible":"hidden"},children:[c(os,{label:a("document.purchase_invoice.calculated"),value:qt(e,i)}),c(os,{label:a("document.purchase_invoice.rounding"),value:_}),c(os,{label:a("document.purchase_invoice.total"),value:qt(o,i),bold:!0}),c("p",{class:"mt-2 mb-0 leading-snug",children:w})]}),document.body):null;return c(Le,{children:[c("button",{ref:s,type:"button","aria-expanded":T,"aria-controls":r,"aria-label":a(z.key,z.params),onPointerEnter:W=>{W.pointerType!=="touch"&&(E(),p(!0),b(!1))},onPointerLeave:I,onFocus:()=>{f(!0),b(!1)},onBlur:()=>f(!1),onClick:W=>{W.preventDefault(),W.stopPropagation(),E(),S(G=>!G),b(v)},class:A("inline-flex size-6 shrink-0 items-center justify-center rounded-full","bg-transparent text-ink-faint transition-colors","hover:text-accent","focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",T&&"text-accent"),children:c("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor","stroke-width":"1.5","aria-hidden":"true",focusable:"false",children:[c("circle",{cx:"10",cy:"10",r:"7.5"}),c("path",{d:"M10 9v5"}),c("circle",{cx:"10",cy:"6.5",r:"0.75",fill:"currentColor",stroke:"none"})]})}),ie]})}function os({label:e,value:t,bold:o}){return c("div",{class:"flex items-baseline justify-between gap-3 py-0.5",children:[c("span",{class:"text-ink-faint",children:e}),c("span",{class:A("font-mono tabular-nums",o?"font-bold text-accent":"font-medium text-ink"),children:t})]})}function Ng(e){return{documentKey:e,revision:0,nextRequest:1,load:"idle",upload:"idle",previewingFile:null,downloadingFile:null,error:null}}function Ri(e,t){return e.documentKey===t?e:{...Ng(t),revision:e.revision+1,nextRequest:e.nextRequest}}function Cm(e){return{state:{...e,nextRequest:e.nextRequest+1},token:{documentKey:e.documentKey,revision:e.revision,request:e.nextRequest}}}function JS(e){return{...e,revision:e.revision+1}}function hn(e,t){return e.documentKey===t.documentKey&&e.revision===t.revision&&e.nextRequest===t.request+1}function KS(e){return e.load!=="loading"&&(e.upload==="idle"||e.upload==="error")}function VS(e){return{...e,load:e.load==="loading"?"idle":e.load,upload:"error"}}function vn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function Tt(e){return typeof e=="string"&&e.trim()?e:void 0}function WS(e){return e.length>0&&e.length%4===0&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}function GS(e){const t=vn(e);if(!t||t.isError===!0)throw new Error("attachment list failed");const o=it(t);if(!o)throw new Error("attachment list is empty");const i=vn(JSON.parse(o));if(!i||!Array.isArray(i.data))throw new Error("attachment list is malformed");return i.data.map((n,r)=>{const a=vn(n),s=Tt(a?.name),d=Tt(a?.file_name);if(!a||!s||!d)throw new Error(`attachment ${r+1} has no canonical identity`);const l=a.file_size,u=l==null?null:typeof l=="number"&&Number.isFinite(l)&&l>=0?l:null;return{id:s,fileName:d,fileSize:u,isPrivate:a.is_private===!0||a.is_private===1,attachedToField:Tt(a.attached_to_field),createdAt:Tt(a.creation),modifiedAt:Tt(a.modified),owner:Tt(a.owner)}})}function YS(e){const t=vn(e);if(!t||t.isError===!0)throw new Error("attachment download failed");const i=(Array.isArray(t.content)?t.content:[]).flatMap(n=>{const r=vn(n),a=vn(r?.resource);if(r?.type!=="resource"||!a)return[];const s=Tt(a.uri),d=Tt(a.blob);if(!s||!d||!WS(d))return[];const l=Tt(a.mimeType);return[{type:"resource",resource:{uri:s,...l?{mimeType:l}:{},blob:d}}]});if(i.length!==1)throw new Error("attachment download did not return one inline resource");return i[0]}const Ui=3e4,Dm=10*1024*1024;function XS(e){return`${e.doctype}\0${e.name}`}function jm(e,t){if(e&&typeof e=="object"){const o=it(e);if(o&&!o.trim().startsWith("{"))return o}return t}function QS(e,t,o){return new Promise((i,n)=>{const r=new FileReader;o(r),r.onprogress=a=>{t(a.lengthComputable&&a.total>0?a.loaded/a.total:null)},r.onerror=()=>n(r.error??new Error("file read failed")),r.onabort=()=>n(new Error("file read aborted")),r.onload=()=>{const a=typeof r.result=="string"?r.result:"",s=a.indexOf(",");if(s<0||!a.slice(s+1)){n(new Error("file read is empty"));return}i(a.slice(s+1))},r.onloadend=()=>o(null),r.readAsDataURL(e)})}function Jd({app:e,envelope:t,capabilities:o,fixtureFiles:i,onDocumentChanged:n}){const r=fe(),{doctype:a,name:s}=t,d=XS(t),l=me(d),u=me(Ng(d)),[p,m]=se(u.current),[f,v]=se(i??[]),[S,h]=se(null),b=me(!1),g=me(0),y=me(null),T=me(null);l.current!==d&&(l.current=d,g.current+=1,u.current=Ri(u.current,d),b.current=!1,y.current=null,T.current?.abort(),T.current=null);const _=Ue(M=>{const Z=M(u.current);return u.current=Z,m(Z),Z},[]),z=Ue(async(M="refresh")=>{if(!o.canListAttachments)return!1;const Z=Ri(u.current,d),O=Cm(Z),U=O.token;_(()=>({...O.state,load:"loading",upload:M==="after-upload"?"relisting":O.state.upload}));try{const H=await e.callServerTool({name:"erpnext_file_list",arguments:{attached_to_doctype:a,attached_to_name:s,limit:50}},{timeout:Ui});if(l.current!==d||!hn(u.current,U))return!1;const q=GS(H);return v(q),_(re=>({...re,load:"ready",upload:M==="after-upload"?"idle":re.upload,error:re.error?.operation==="list"||M==="after-upload"&&re.error?.operation==="upload"?null:re.error})),!0}catch{return l.current!==d||!hn(u.current,U)||_(H=>({...H,load:"error",upload:M==="after-upload"?"error":H.upload,error:{operation:M==="after-upload"?"upload":"list",message:r(M==="after-upload"?"document.attachments.error.relist":"document.attachments.error.list")}})),!1}},[e,o.canListAttachments,_,a,d,s,r]),w=Ue(async(M,Z)=>{if(!o.canUploadAttachment||b.current||!KS(u.current))return!1;if(M.size>Dm)return _(q=>({...q,upload:"error",error:{operation:"upload",fileName:M.name,message:r("document.attachments.error.too_large",{limit:Math.round(Dm/1024/1024)})}})),!1;b.current=!0;const O=Ri(u.current,d),U=Cm(O),H=U.token;_(()=>({...U.state,upload:"reading",error:null})),h(0);try{const q=await QS(M,ce=>{l.current===d&&hn(u.current,H)&&h(ce)},ce=>{T.current=ce});if(l.current!==d||!hn(u.current,H))return!1;_(ce=>({...ce,upload:"uploading"})),h(null);const re=await e.callServerTool({name:"erpnext_file_upload",arguments:{file_name:M.name,content_base64:q,attached_to_doctype:a,attached_to_name:s,is_private:Z}},{timeout:Ui});if(l.current!==d||!hn(u.current,H))return!1;if(re.isError)throw new Error(jm(re,r("document.attachments.error.upload")));return _(ce=>({...JS(ce),upload:"relisting"})),n?.({doctype:a,name:s,mutation:"attachment.added",committedAt:new Date().toISOString(),source:"document.attachments"}),await z("after-upload")}catch(q){return l.current!==d||!hn(u.current,H)||_(re=>({...VS(re),error:{operation:"upload",fileName:M.name,message:q instanceof Error&&q.message?q.message:r("document.attachments.error.upload")}})),!1}finally{l.current===d&&(b.current=!1,h(null))}},[e,o.canUploadAttachment,_,a,d,z,s,n,r]),E=Ue((M,Z)=>{if(y.current!==null)return null;const O={token:Symbol(`${Z}:${M.id}`),generation:g.current,documentKey:d,fileId:M.id,purpose:Z};return y.current=O,_(U=>({...U,previewingFile:Z==="preview"?M.id:null,downloadingFile:Z==="download"?M.id:null,error:null})),O},[_,d]),I=Ue(M=>{const Z=y.current;return l.current===M.documentKey&&g.current===M.generation&&Z?.token===M.token},[]),B=Ue(M=>{I(M)&&(y.current=null,_(Z=>({...Z,previewingFile:null,downloadingFile:null})))},[_,I]),ie=Ue(async(M,Z)=>{const O=await e.callServerTool({name:"erpnext_file_download",arguments:{file_id:M.id,attached_to_doctype:a,attached_to_name:s}},{timeout:Ui});if(!I(Z))return null;if(O.isError)throw new Error(jm(O,r(Z.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")));const U=YS(O);return I(Z)?U:null},[e,a,s,r,I]),W=Ue((M,Z,O)=>{I(M)&&_(U=>({...U,error:{operation:M.purpose,fileName:Z.fileName,message:O instanceof Error&&O.message?O.message:r(M.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")}}))},[_,r,I]),G=Ue(async M=>{if(!o.canPreviewAttachment)return null;const Z=E(M,"preview");if(!Z)return null;try{const O=await ie(M,Z);if(!O||!I(Z))return null;const U=y2(O);return I(Z)?{documentKey:d,fileId:M.id,fileName:M.fileName,preview:U}:null}catch(O){return W(Z,M,O),null}finally{B(Z)}},[E,o.canPreviewAttachment,ie,B,d,W,I]),ne=Ue(async(M,Z)=>{if(!o.canDownloadAttachment)return!1;const O=E(M,"download");if(!O)return!1;try{const H=(Z?.documentKey===d&&Z.fileId===M.id?k2(Z.preview):null)??await ie(M,O);if(!H||!I(O))return!1;const q=await e.downloadFile({contents:[H]},{timeout:Ui});if(!I(O))return!1;if(q.isError)throw new Error(r("document.attachments.error.host_denied"));return!0}catch(U){return W(O,M,U),!1}finally{B(O)}},[e,E,o.canDownloadAttachment,ie,B,d,W,r,I]);st(()=>{T.current?.abort(),T.current=null,b.current=!1,y.current=null;const M=Ri(u.current,d);return u.current=M,m(M),v(i??[]),h(null),!i&&o.canListAttachments&&z(),()=>{g.current+=1,y.current=null,T.current?.abort()}},[d,i,o.canListAttachments,z]);const ee=Ue(()=>{_(M=>({...M,error:null,upload:M.upload==="error"?"idle":M.upload}))},[_]);return{documentKey:d,document:{doctype:a,name:s},state:p,files:p.documentKey===d?f:[],readProgress:S,refresh:z,upload:w,preview:G,download:ne,dismissError:ee}}const e1=Object.freeze(["wide","panel","mobile"]),t1=480;function n1(e){return e!==null&&e<t1}function o1(e){const t=new URLSearchParams(e).get("layout");return e1.includes(t)?t:null}function i1(e,t){return ur(e?.containerDimensions?.width)??ur(e?.containerDimensions?.maxWidth)??t}function r1(e,t){const o=e?.deviceCapabilities;return o?.touch!==void 0?o.touch&&o.hover!==!0:t}function a1(e){return e.forced?e.forced:n1(e.width)?e.touch?"mobile":"panel":"wide"}function Rg(e){const t=ur(e?.height);if(t!==void 0)return{height:`${t}px`};const o=ur(e?.maxHeight);return o!==void 0?{maxHeight:`${o}px`}:void 0}function ur(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0}function s1(){const e=me(null),[t,o]=se(null);return st(()=>{const i=e.current;if(!i)return;const n=c1(i);if(n!==null&&o(n),typeof ResizeObserver>"u")return;const r=new ResizeObserver(a=>{const s=a[0];s&&o(s.contentRect.width)});return r.observe(i),()=>r.disconnect()},[]),[e,t]}function c1(e){const t=e.clientWidth;let o;if(typeof t=="number")o=t;else{const n=e.getBoundingClientRect?.()?.width;if(typeof n!="number"||n===0)return null;o=n}if(typeof getComputedStyle!="function")return o;const i=getComputedStyle(e);return o-(parseFloat(i.paddingLeft)||0)-(parseFloat(i.paddingRight)||0)}function l1(){return typeof matchMedia=="function"&&matchMedia("(pointer: coarse)").matches}function d1(){const[e,t]=se(l1);return Ce(()=>{if(typeof matchMedia!="function")return;const o=matchMedia("(pointer: coarse)"),i=n=>t(n.matches);return o.addEventListener("change",i),()=>o.removeEventListener("change",i)},[]),e}function u1(e,t={}){const[o,i]=s1(),n=d1(),r=t.forced!==void 0?t.forced:typeof location>"u"?null:o1(location.search),a=i1(e,i),s=a1({width:a,touch:r1(e,n),forced:r});return{ref:o,width:a,layout:s,boundsStyle:Rg(e?.containerDimensions)}}function m1(){const e=gp();return u1(e)}function p1(e,t){return t}function f1(){return null}function h1(e){return{next:null,run:e?.onConfirm??null}}function b1(e){return e.tone??"danger"}function is(e,t,o){const i=e[`${t}Key`];if(!i)return e[t];const n=o(i,e.params);return n===i?e[t]:n}function Ug(){const[e,t]=se(null);return{pending:e,request:o=>t(i=>p1(i,o)),dismiss:()=>t(f1()),confirm:()=>{const{next:o,run:i}=h1(e);t(o),i?.()}}}function mr({confirm:e}){const t=fe(),o=e.pending;return o?c(rg,{eyebrow:o.subject,title:is(o,"title",t),onClose:e.dismiss,footer:c(ag,{children:[c(nt,{variant:"quiet",onClick:e.dismiss,children:t("common.back")}),c(nt,{variant:b1(o),class:"ml-auto",onClick:e.confirm,children:is(o,"actionLabel",t)})]}),children:c("div",{class:"flex flex-col gap-3",children:[c("span",{class:"self-start rounded-badge border border-bad/20 bg-bad/10 px-[7px] py-0.5 font-mono text-chip uppercase tracking-label text-bad",children:t("confirm.eyebrow")}),c("p",{class:"font-sans text-body text-ink",children:is(o,"detail",t)})]})}):null}const v1=["outstanding_amount","grand_total","total","amount","base_grand_total","qty"];function g1(e){for(const o of v1)if(e.some(i=>i.id===o))return o;return e.filter(o=>o.numeric).at(-1)?.id}function _1(e,t){if(!t)return null;let o=0,i=!1;for(const n of e){const r=n[t];typeof r=="number"&&Number.isFinite(r)&&(o+=r,i=!0)}return i?o:null}function Kd(e,t=14,o=2){if(e.length<=t)return e;const i=e.split("-");return i.length<=o?e:`…${i.slice(-o).join("-")}`}const y1=["default_currency","currency","country"];function Lg(e,t,o){const i=e[0]?.id,n=e.find(s=>s.id!==i&&s.id!==t&&!s.numeric&&!o(s.id))?.id,r=e.filter(s=>s.id!==i&&s.id!==n&&!s.numeric&&!o(s.id)),a=t??y1.map(s=>r.find(d=>d.id===s)).find(s=>s!==void 0)?.id??r[0]?.id;return{idKey:i,labelKey:n,trailingKey:a,amountKey:t}}const k1=new Set(["status","docstatus","workflow_state"]),x1=new Set(["doctype","owner","modified_by","creation","modified","idx","_rowAction","_sendMessageHints"]),w1=new Set(["status","workflow_state","company","territory","customer_group","item_group","supplier_group","priority","type"]),$1=6,S1=["name","status","customer","customer_name","supplier","supplier_name","item_code","item_name","employee_name","project","subject","grand_total","outstanding_amount","posting_date","transaction_date","delivery_date"];function I1(e){const t=[],o=[];for(const i of S1)e.includes(i)&&t.push(i);for(const i of e.sort())t.includes(i)||o.push(i);return[...t,...o].slice(0,$1)}function La(e){return k1.has(e.toLowerCase())}function St(e){return e==null?"—":typeof e=="number"?Ve(e,e%1===0?0:2):typeof e=="boolean"?kt(e?"common.yes":"common.no"):typeof e=="object"?JSON.stringify(e):String(e)}function z1(e,t){let o=e;for(const i of t.split(".")){if(o==null||typeof o!="object")return;o=o[i]}return o}const rs=20,T1={};function P1(e,t,o){const i=e.data??[],n=t.sortKey??null,r=t.sortDir??"asc",a=t.filter??"",s=t.page??0,d=t.chipFilters??T1,l=t.expandedId??null,u=ot(()=>{if(i.length<2)return[];const _=[];for(const z of Object.keys(i[0]??{})){if(!w1.has(z)&&!La(z))continue;const w=new Set;for(const E of i){const I=E[z];if(I!=null&&typeof I=="string"&&w.add(I),w.size>8)break}w.size>=2&&w.size<=8&&_.push({col:z,values:Array.from(w).sort()})}return _},[i]),p=ot(()=>{if(i.length===0)return[];const _=new Set;for(const z of i)for(const w of Object.keys(z))!x1.has(w)&&!w.startsWith("_")&&_.add(w);return I1(Array.from(_))},[i]),m=ot(()=>{let _=i;for(const[z,w]of Object.entries(d))w&&(_=_.filter(E=>E[z]===w));if(a){const z=a.toLowerCase();_=_.filter(w=>p.some(E=>St(w[E]).toLowerCase().includes(z)))}return _},[i,a,p,d]),f=ot(()=>n?[...m].sort((_,z)=>{const w=_[n],E=z[n];if(w==null&&E==null)return 0;if(w==null)return 1;if(E==null)return-1;const I=typeof w=="number"&&typeof E=="number"?w-E:String(w).localeCompare(String(E));return r==="asc"?I:-I}):m,[m,n,r]),v=Math.ceil(f.length/rs),S=f.slice(s*rs,(s+1)*rs),h=ot(()=>p.map(_=>({id:_,label:_.replace(/_/g," "),numeric:i.some(z=>typeof z[_]=="number")})),[p,i]),b=ot(()=>{const _={};for(const{col:z,values:w}of u){_[z]=Object.fromEntries(w.map(E=>[E,0]));for(const E of i){const I=E[z];typeof I=="string"&&I in _[z]&&(_[z][I]+=1)}}return _},[u,i]),g=ot(()=>g1(h),[h]),y=ot(()=>_1(f,g),[f,g]),T=Ue(_=>{o(n===_?{sortDir:r==="asc"?"desc":"asc",expandedId:null}:{sortKey:_,sortDir:"asc",expandedId:null})},[n,r,o]);return{rows:i,rowAction:e._rowAction,columns:p,tableColumns:h,filterableColumns:u,chipCounts:b,filtered:m,sorted:f,pageRows:S,totalPages:v,amountKey:g,amountTotal:y,sortKey:n,sortDir:r,filter:a,page:s,chipFilters:d,expandedId:l,searchOpen:t.searchOpen??!1,handleSort:T,setFilter:_=>o({filter:_,page:0,expandedId:null}),setPage:_=>o({page:_,expandedId:null}),setExpandedId:_=>o({expandedId:_}),setSearchOpen:_=>o({searchOpen:_}),setChipFilter:(_,z)=>{const w={...d};z===null?delete w[_]:w[_]=z,o({chipFilters:w,page:0,expandedId:null})}}}function Mg(e,t){return`${e}:${t}`}function Fg(e){return{levels:[{ui:{},loading:!1,...e,id:Mg(0,e.title)}],rootIdentity:Vd(e),nextId:1,generation:0}}function Yt(e){return`${e.generation}:${e.rootIdentity}`}function Vd(e){return e.key?`key:${e.key}`:`root:${sn({title:e.title,kind:e.kind,origin:e.origin??null,tool:e.tool??null})}`}function E1(e,t){if(e.rootIdentity!==Vd(t))return{...Fg(t),generation:e.generation+1};const o=e.levels[0],i={title:t.title,titleKey:t.titleKey,titleParams:t.titleParams,titleSuffix:t.titleSuffix,subtitle:t.subtitle,subtitleKey:t.subtitleKey,subtitleParams:t.subtitleParams},n={title:o.title,titleKey:o.titleKey,titleParams:o.titleParams,titleSuffix:o.titleSuffix,subtitle:o.subtitle,subtitleKey:o.subtitleKey,subtitleParams:o.subtitleParams};return sn(i)===sn(n)?e:{...e,levels:[{...o,...i},...e.levels.slice(1)]}}function qg(e,t){return{...e,levels:[...e.levels,{ui:{},loading:!1,...t,id:Mg(e.nextId,t.title)}],nextId:e.nextId+1}}function C1(e){return e.levels.length<=1?e:{...e,levels:e.levels.slice(0,-1)}}function pr(e,t){return t<0||t>=e.levels.length-1?e:{...e,levels:e.levels.slice(0,t+1)}}function gn(e,t,o){return e.levels.some(i=>i.id===t)?{...e,levels:e.levels.map(i=>i.id===t?{...i,...o}:i)}:e}function D1(e,t,o){const i=e.levels.find(n=>n.id===t);return i?gn(e,t,{ui:{...i.ui,...o}}):e}function jn(e){return e.levels[e.levels.length-1]}function Wd(e){return`${e.name}:${sn(e.args)}`}function j1(e,t,o){return`${e}:${sn({identity:o??null})}`}function sn(e){return Array.isArray(e)?`[${e.map(sn).join(",")}]`:e&&typeof e=="object"?`{${Object.keys(e).sort().map(t=>`${JSON.stringify(t)}:${sn(e[t])}`).join(",")}}`:JSON.stringify(e)??"null"}function A1(e,t){return e.levels.findIndex(o=>o.key===t)}function O1(e,t,o){return{...e,levels:e.levels.map(i=>({...i,stale:{at:t,subject:o}}))}}function N1(e,t,o){const i={...o};return{...e,levels:e.levels.map(n=>({...n,stale:{at:t,subject:o.name,documentChange:i}}))}}function Zg(e,t){const o=e.levels.find(r=>r.id===t);if(!o||!o.stale)return e;const{stale:i,...n}=o;return{...e,levels:e.levels.map(r=>r.id===t?n:r)}}function R1(e){const t=e.levels.map((a,s)=>({level:a,index:s})),o=t.length,i=t[o-1];if(o<=1)return{depth:o,showBar:!1,elided:[],parents:[],trail:[],current:i};if(o<=3){const a=t.slice(0,o-1);return{depth:o,showBar:!0,elided:[],parents:a,trail:a,current:i}}const n=t.slice(1,o-2),r=[t[0],t[o-2]];return{depth:o,showBar:!0,elided:n,parents:r,trail:[r[0],{elided:n},r[1]],current:i}}function bo(e,t){if(!e.titleKey)return e.title;const o=t(e.titleKey,e.titleParams);return o===e.titleKey?e.title:o+(e.titleSuffix??"")}function Ma(e,t){if(!e.subtitleKey)return e.subtitle;const o=t(e.subtitleKey,e.subtitleParams);return o===e.subtitleKey?e.subtitle:o}function U1(e,t){const o=bo(e,t),i=Ma(e,t);return o===e.title&&i===e.subtitle?e:{...e,title:o,subtitle:i}}function L1(e){return!!e?.serverTools}function Nt(e,t){return typeof e=="string"?e.replace(/\{(\w+)\}/g,(o,i)=>Object.prototype.hasOwnProperty.call(t,i)?t[i]:o):Array.isArray(e)?e.map(o=>Nt(o,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([o,i])=>[o,Nt(i,t)])):e}function wi(e){if(!e.key)return e.label;const t=`doclist.hint.${e.key}`,o=kt(t);return o===t?e.label:o}function Zt(e){return typeof e=="string"?/\{\w+\}/.test(e):Array.isArray(e)?e.some(Zt):e&&typeof e=="object"?Object.values(e).some(Zt):!1}function Ht(e,t,o,i){if(!e.tool)return null;const n=Object.fromEntries(Object.entries(t).filter(([,s])=>s!=="")),r=Nt(e.args??{},n);if(Zt(r))return null;const a=e.key?`doclist.hint.${e.key}`:void 0;return{label:wi(e),...a&&kt(a)!==a?{labelKey:a}:{},kind:e.kind??"list",tool:{name:e.tool,args:r},subtitle:o,...i?{subtitleKey:i.key,subtitleParams:i.params}:{},message:e.message?Nt(e.message,n):void 0}}function Hg(e){return{title:e.label,...e.labelKey?{titleKey:e.labelKey,titleParams:e.labelParams,titleSuffix:e.labelSuffix}:{},kind:e.kind,tool:e.tool,subtitle:e.subtitle,...e.subtitleKey?{subtitleKey:e.subtitleKey,subtitleParams:e.subtitleParams}:{},loading:!0,jumps:e.children,key:Wd(e.tool)}}function M1(e){const t=it(e);if(e.isError)return{error:t??kt("common.error.tool_failed")};if(!t)return{error:kt("common.error.no_payload")};try{const o=JSON.parse(t),i=o.data,n=typeof o.count=="number"?o.count:Array.isArray(i)?i.length:void 0;return{body:o,count:n}}catch{return{error:kt("common.error.parse_failed")}}}async function Gd(e,t,o=1e4){try{const i=await e.callServerTool({name:t.name,arguments:t.args},{timeout:o});return M1(i)}catch(i){return{error:i instanceof Error?i.message:kt("common.error.tool_failed")}}}function F1(e,t){if(!e.labelKey)return e.label;const o=t(e.labelKey,e.labelParams);return o===e.labelKey?e.label:o+(e.labelSuffix??"")}function q1(e){const t=Object.fromEntries(Object.entries(e).flatMap(([o,i])=>{if(typeof i!="string"&&typeof i!="number")return[];const n=String(i).trim();return n?[[o,n]]:[]}));return!t.item&&t.item_code&&(t.item=t.item_code),t}function Bg(e,t){const o=q1(t),i={...o,...e};return o.item&&(i.item=o.item),i}function Jg(e,t){return t.item?`${e} · ${t.item}`:e}function Kg({hints:e,rootVars:t,row:o,availableTools:i,subtitle:n,subtitleKey:r,subtitleParams:a}){if(!i)return[];const s=Bg(t,o),d={key:r,params:a};return e.flatMap(l=>{if(!l.tool||!i.includes(l.tool))return[];if(Ht(l,t,n,d))return[];const u=Ht(l,s,n,d);return u?[{...u,label:Jg(u.label,s),...u.labelKey&&s.item?{labelSuffix:` · ${s.item}`}:{}}]:[]})}function Vg({hints:e,rootVars:t,row:o}){const i=Bg(t,o);return e.flatMap(n=>{if(!n.message)return[];const r=Nt(n.message,t);if(!Zt(r))return[];const a=Nt(n.message,i);return Zt(a)?[]:[{label:Jg(wi(n),i),message:a}]})}const Z1=5e3;function Li(e){return e.clickAction==="detail"}function H1(e,t){const o=setTimeout(e,t);return()=>clearTimeout(o)}function B1(e=H1){const t=new Map,o=new Map,i=new Map,n=new Set;function r(h){try{const b=h.onSingle(),g=Promise.resolve(b).then(y=>typeof y=="function"?y:void 0,()=>()=>!1);return Object.assign(g,{retainPending:b&&"retainPending"in b&&typeof b.retainPending=="function"?b.retainPending:void 0})}catch{return Promise.resolve(()=>!1)}}function a(h){const b=h.retainPending?.();return h.then(async g=>{try{return await g?.()!==!1}catch{return!1}finally{g?.release?.()}},()=>!1).finally(()=>b?.())}function s(h){h.then(b=>b?.release?.(),()=>{})}function d(){for(const h of t.values())h.cancelRelease(),s(h.committed);t.clear()}function l(h){const b=t.get(h);t.delete(h),b&&(b.cancelRelease(),s(b.committed)),o.delete(h),i.delete(h),n.delete(h)}function u(){d(),o.clear(),i.clear(),n.clear()}function p(h,b){l(h.key);const g=r(h);if(b){const y={committed:g,cancelRelease:()=>{}};t.set(h.key,y),y.cancelRelease=e(()=>{t.get(h.key)===y&&(t.delete(h.key),s(g))},Z1)}else s(g)}function m(h){if(i.has(h.key)||n.has(h.key))return;const b=t.get(h.key);t.delete(h.key),b?.cancelRelease();const g=o.get(h.key)??(b?a(b.committed):null);if(o.delete(h.key),h.doublePolicy!=="local"&&h.runConversation){f(h,g??Promise.resolve(!0));return}if(!g){n.add(h.key),h.onDouble();return}const y={};i.set(h.key,y),h.doublePolicy==="local"&&h.onDouble(),g.then(T=>{i.get(h.key)===y&&(i.delete(h.key),n.add(h.key),T&&h.doublePolicy!=="local"&&h.onDouble())})}function f(h,b){const g={};i.set(h.key,g);const y=()=>{i.get(h.key)===g&&(i.delete(h.key),n.add(h.key))};h.runConversation(()=>{i.get(h.key)===g&&h.onDouble()},b).then(y,y)}function v(h){l(h.key),h.onDouble()}function S(h){l(h.key),h.doublePolicy!=="local"&&h.runConversation?f(h,Promise.resolve(!0)):h.onDouble()}return{click(h,b=1){if(Li(h)){b<2&&v(h);return}if(b>=2){const g=t.get(h.key);t.delete(h.key),g?.cancelRelease(),g&&!o.has(h.key)&&o.set(h.key,a(g.committed));return}n.delete(h.key),d(),o.clear(),p(h,!0)},doubleClick(h){Li(h)||m(h)},keyDown(h,b){if(!b.repeat){if(Li(h)){(b.key===" "||b.key==="Enter")&&(b.preventDefault(),v(h));return}if(b.key===" "){b.preventDefault(),p(h,!1);return}b.key==="Enter"&&(b.preventDefault(),S(h))}},activateDetail(h){Li(h)?v(h):S(h)},cancel:l,cancelAll:u}}function Fa(){const e=me(null);e.current===null&&(e.current=B1());const t=e.current;return Ce(()=>()=>t.cancelAll(),[t]),t}const Yd={ok:"border-l-ok",warn:"border-l-warn",bad:"border-l-bad",neutral:"border-l-transparent"},qa={ok:"bg-ok/14 text-ok",warn:"bg-warn/14 text-warn-text",bad:"bg-bad/14 text-bad",neutral:"bg-count text-ink-muted"},Wg={ok:"text-ok",warn:"text-warn-text",bad:"text-bad",neutral:"text-ink-2"},J1={Paid:"ok",Completed:"ok",Submitted:"ok",Active:"ok",Enabled:"ok",Unpaid:"warn","Partly Paid":"warn","Partly Delivered":"warn",Pending:"warn","Pending Review":"warn","To Bill":"warn","To Deliver":"warn","To Deliver and Bill":"warn","On Hold":"warn",Overdue:"bad",Failed:"bad",Draft:"neutral",Open:"neutral",Working:"neutral",Cancelled:"neutral",Closed:"neutral",Disabled:"neutral","Credit Note Issued":"neutral",Return:"neutral"};function $i(e){return J1[e]??"neutral"}function fr(e,t){return e===null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?Ve(e,Number.isInteger(e)?0:2):e}function Gg({field:e,class:t}){const o=fe();if(e.kind==="status"&&e.value!==null){const i=String(e.value);return c("span",{class:A("inline-flex rounded-badge px-[7px] py-0.5 font-mono text-micro uppercase tracking-chip",qa[$i(i)],t),children:i})}return c("span",{class:A(e.kind==="number"||e.kind==="date"||e.kind==="datetime"?"font-mono tabular-nums":void 0,e.kind==="empty"?"text-ink-dim":void 0,t),children:fr(e.value,o)})}function Mi({fields:e,layout:t,emphasized:o=!1}){return c("dl",{class:A("grid gap-x-7",t==="wide"?"grid-cols-[repeat(auto-fit,minmax(min(100%,18rem),1fr))] gap-y-2":"grid-cols-1 gap-y-1"),children:e.map(i=>c("div",{class:A("grid min-w-0 grid-cols-[minmax(0,1fr)_minmax(0,1fr)] items-baseline gap-x-2.5",t!=="wide"&&"min-h-6"),children:[c("dt",{class:A("min-w-0 [overflow-wrap:anywhere]",o?"text-note text-ink-muted":"font-mono text-chip text-ink-faint"),children:i.label}),c("dd",{class:A("min-w-0 text-right [overflow-wrap:anywhere]",o?"text-cell font-semibold text-ink":"text-note text-ink-2"),children:c(Gg,{field:i})})]},i.key))})}function Am({field:e}){const t=fe();return e.kind==="json"?c("pre",{class:"scroll-slim max-h-64 overflow-auto whitespace-pre-wrap break-words rounded-control border border-line-soft bg-sunken p-2.5 font-mono text-chip leading-relaxed text-ink-2",children:fr(e.value,t)}):c("p",{class:"whitespace-pre-wrap break-words text-cell leading-[1.55] text-ink-2",children:fr(e.value,t)})}function Om({label:e,count:t,first:o,children:i}){return c("details",{class:A("group border-t border-line-soft",o&&"border-t-0"),children:[c("summary",{class:"flex min-h-11 cursor-pointer list-none items-center gap-3 px-4 py-3 text-cell font-medium text-ink-2 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-accent",children:[c("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",class:"h-3.5 w-3.5 shrink-0 text-ink-faint transition-transform group-open:rotate-90",children:c("path",{d:"m6 3 5 5-5 5",fill:"none",stroke:"currentColor","stroke-width":"1.5"})}),c("span",{class:"min-w-0 flex-1 [overflow-wrap:anywhere]",children:e}),c(Ud,{narrow:!0,children:t})]}),c("div",{class:"px-4 pb-4 pt-1",children:i})]})}function Fi({label:e,aside:t,children:o,first:i}){return c("section",{class:A("flex flex-col gap-2 px-4 py-3.5",!i&&"border-t border-line-soft"),children:[(e||t)&&c("div",{class:"flex items-baseline justify-between gap-3",children:[e?c(ft,{children:e}):c("span",{}),t]}),o]})}function js({fields:e,fieldSections:t=[],layoutSections:o=[],emphasizeFields:i=!1,longFields:n=[],progressFields:r=[],collections:a=[],systemFields:s=[],layout:d,heading:l,class:u}){const p=fe(),m=l===void 0?p("document.fields"):l,f=o.reduce((b,g)=>b+g.fields.length+g.longFields.length,0);if(!(e.length>0||n.length>0||r.length>0||a.length>0||s.length>0||f>0||t.some(b=>b.fields.length>0)))return null;let S=!0;const h=()=>{const b=S;return S=!1,b};return c("div",{class:A("flex flex-col",u),children:[e.length>0&&c(Fi,{label:m,first:h(),children:c(Mi,{fields:e,layout:d,emphasized:i})}),t.filter(b=>b.fields.length>0).map(b=>c(Om,{label:b.label,count:b.fields.length,first:h(),children:c(Mi,{fields:b.fields,layout:d})},b.key)),f>0&&c(Om,{label:p("document.all_fields"),count:f,first:h(),children:c("div",{class:"flex flex-col gap-4",children:o.map(b=>c("section",{class:"flex flex-col gap-2",children:[b.label&&c(ft,{children:b.label}),b.fields.length>0&&c(Mi,{fields:b.fields,layout:d}),b.longFields.map(g=>c("div",{class:"flex flex-col gap-1.5",children:[c("span",{class:"font-mono text-chip text-ink-faint [overflow-wrap:anywhere]",children:g.label}),c(Am,{field:g})]},g.key))]},b.key))})}),n.map(b=>c(Fi,{label:b.label,first:h(),children:c(Am,{field:b})},b.key)),r.map(b=>{const g=_r(b.value)??0;return c(Fi,{label:b.label,first:h(),aside:c("span",{class:"font-mono text-meta tabular-nums text-ink-muted",children:p("document.progress_value",{value:Ve(g,0)})}),children:c(F$,{value:g})},b.key)}),a.map(b=>c(Fi,{label:b.label,first:h(),children:b.values.length===0?c("span",{class:"font-mono text-chip text-ink-dim",children:p("document.empty_value")}):c("div",{class:"flex flex-wrap gap-1.5",children:b.values.map((g,y)=>c("span",{class:"max-w-full truncate rounded-chip border border-line bg-control px-2 py-1 font-mono text-chip text-ink-muted",children:fr(g,p)},`${b.key}-${y}`))})},b.key)),s.length>0&&c("details",{class:A("group border-t border-line-soft px-4 py-3",S&&"border-t-0"),children:[c("summary",{class:"flex cursor-pointer list-none items-center justify-between gap-3 rounded-control font-mono text-micro uppercase tracking-label text-ink-faint focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:[c("span",{children:p("document.system_fields")}),c(Ud,{narrow:!0,children:s.length})]}),c("div",{class:"pt-3",children:c(Mi,{fields:s,layout:d})})]})]})}function Yg(e,t){return e==null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?Ve(e,Number.isInteger(e)?0:2):e}function Nm(e,t){return e==="mobile"?t>=3?"grid-cols-[minmax(0,1fr)_52px_82px]":t===2?"grid-cols-[minmax(0,1fr)_82px]":"grid-cols-1":t>=4?"grid-cols-[minmax(0,1.8fr)_minmax(0,1.2fr)_minmax(52px,0.7fr)_minmax(72px,0.8fr)]":t===3?"grid-cols-[minmax(0,1.7fr)_minmax(0,1.15fr)_minmax(72px,0.8fr)]":t===2?"grid-cols-[minmax(0,1fr)_minmax(72px,0.6fr)]":"grid-cols-1"}function K1(e,t,o){return t.map(i=>c("span",{class:A("min-w-0 truncate text-cell text-ink-2",i.numeric&&"text-right font-mono tabular-nums"),title:String(e[i.key]??""),children:Yg(e[i.key],o)},i.key))}function V1({fields:e,layout:t}){return e.length===0?null:c("dl",{class:A("grid gap-x-4 gap-y-2 border-b border-line-soft bg-row-selected px-3 py-2.5",t==="panel"?"grid-cols-1":"grid-cols-3"),children:e.map(o=>c("div",{class:"flex min-w-0 flex-col gap-1",children:[c("dt",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:o.label}),c("dd",{class:"min-w-0 truncate text-data text-ink-2",children:c(Gg,{field:o})})]},o.key))})}function Wi(e){return e!=null&&e!==!1}function Rm({id:e,expanded:t,fields:o,actions:i,layout:n,panel:r}){return c("div",{id:e,hidden:!t,children:[o.length>0&&c(V1,{fields:o,layout:n}),Wi(i)&&c("div",{class:A("flex flex-wrap gap-1.5 border-b border-line-soft bg-sunken",r?"px-3.5 py-2":"justify-end px-4 py-1.5"),children:i})]})}function as({table:e,layout:t,idPrefix:o="document-table",class:i,renderRowActions:n,rowActionsPlacement:r="disclosure",renderRowContextTarget:a,childRowsExpandable:s=!0,activeDisclosure:d,onDisclosureChange:l}){const u=fe(),p=Fa(),m=Cg(e,t),f=`${o}-${e.key.replace(/[^a-zA-Z0-9_-]/g,"-")}`,v=t==="panel",S=s||r==="disclosure"&&!!n;function h(b,g){const y=s?uS(e,g,t):[],T=n?.(e,b,g),_=r==="disclosure"?T:void 0,z=r==="visible"?T:void 0,w=y.length>0||Wi(_),E=w&&d?.tableKey===e.key&&d.rowIndex===g,I=`${f}-row-${g}-details`,B=a?.(e,b,g),ie=String(b[m[0]?.key??""]??`${e.label} ${g+1}`),W=B?.detailLabel??ie,G=()=>l(E?null:{tableKey:e.key,rowIndex:g}),ne=w?{...B??{onActivate:()=>{}},label:u(B?.selected!==void 0?E?"document.row.close_detail":"document.row.open_detail":E?"document.row.close_detail_only":"document.row.open_detail_only",{label:W}),detailLabel:W,expanded:E,controls:I,onDoubleActivate:G,doublePolicy:"local"}:B;return{hidden:y,rowActions:_,visibleActions:z,canDisclose:w,expanded:E,rowPanelId:I,interactionTarget:ne,detailLabel:W,toggle:G}}return c("section",{"aria-label":e.label,class:A("flex min-w-0 flex-col",i),children:[c("div",{class:"flex items-baseline justify-between gap-3 px-4 pb-2 pt-3.5",children:[c(ft,{children:e.label}),c(Ud,{narrow:!0,children:e.rows.length})]}),m.length===0?c("p",{class:"px-4 pb-3.5 font-mono text-chip text-ink-faint",children:u("document.table.no_columns")}):v?c("div",{class:"flex flex-col border-t border-line-soft",children:e.rows.map((b,g)=>{const y=h(b,g),T=!!(y.interactionTarget?.selected||y.expanded),_=c("span",{class:"flex flex-col gap-1.5 px-3.5 py-2.5",children:m.map(z=>c("span",{class:"flex min-w-0 items-baseline justify-between gap-3",children:[c("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:z.label}),c("span",{class:A("min-w-0 truncate text-right text-data text-ink-2",z.numeric&&"font-mono tabular-nums"),children:Yg(b[z.key],u)})]},z.key))});return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",T?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$t(y.interactionTarget,{arbiter:p,key:y.rowPanelId}),class:A("min-w-0 flex-1",y.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:_}),y.canDisclose&&c(Cn,{expanded:y.expanded,label:y.detailLabel,controls:y.rowPanelId,onToggle:y.toggle,touch:!0})]}),Wi(y.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-3.5 py-1.5",children:y.visibleActions}),y.canDisclose&&c(Rm,{id:y.rowPanelId,expanded:y.expanded,fields:y.hidden,actions:y.rowActions,layout:t,panel:!0})]},g)})}):c("div",{class:"min-w-0 border-t border-line-soft",children:[c("div",{role:"row",class:"flex border-b border-line bg-sunken",children:[c("div",{class:A("grid min-w-0 flex-1 gap-3 px-4 py-1.5",Nm(t,m.length)),children:m.map(b=>c("span",{role:"columnheader",class:A("truncate font-mono text-nano uppercase tracking-label text-ink-faint",b.numeric&&"text-right"),children:b.label},b.key))}),S&&c("span",{"aria-hidden":"true",class:"w-10"})]}),e.rows.map((b,g)=>{const y=h(b,g),T=!!(y.interactionTarget?.selected||y.expanded),_=A("grid items-center gap-3 border-l-2 border-l-transparent px-4",t==="mobile"?"min-h-10 py-1":"min-h-9 py-2",Nm(t,m.length));return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",T?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$t(y.interactionTarget,{arbiter:p,key:y.rowPanelId}),class:A(_,"min-w-0 flex-1",y.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:K1(b,m,u)}),y.canDisclose&&c(Cn,{expanded:y.expanded,label:y.detailLabel,controls:y.rowPanelId,onToggle:y.toggle,touch:t==="mobile"})]}),Wi(y.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-4 py-1.5",children:y.visibleActions}),y.canDisclose&&c(Rm,{id:y.rowPanelId,expanded:y.expanded,fields:y.hidden,actions:y.rowActions,layout:t,panel:!1})]},g)})]}),e.total&&c(ig,{label:e.total.label,layout:t,children:Ve(e.total.value,2)})]})}function Um({status:e,pill:t}){return c("span",{class:A("inline-flex shrink-0 font-mono text-micro uppercase tracking-chip",t?"rounded-pill px-2 py-[3px]":"rounded-badge px-[7px] py-0.5",qa[$i(e)]),children:e})}function Lm({target:e,class:t}){return e?c("button",{type:"button",...$t(e),class:A("absolute inset-0 z-0 transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent",t)}):null}function W1({doctype:e,name:t,title:o,status:i,docstatus:n,layout:r,navigation:a,trailing:s,live:d,contextTarget:l}){const u=fe();return r!=="wide"?c("header",{"aria-label":u("document.header"),class:"shrink-0",children:[c("div",{class:"flex min-h-10 items-center justify-between gap-2.5 px-3 py-2",children:[c("div",{class:"min-w-0 flex-1",children:a}),c(ft,{class:"max-w-[45%] truncate text-center",children:e}),c("div",{class:"flex min-w-0 flex-1 items-center justify-end gap-1.5",children:[s,d&&c("span",{"aria-hidden":"true",class:"size-1.5 rounded-full bg-ok"})]})]}),c("div",{class:A("relative border-b border-line transition-colors",l?.selected&&"bg-row-selected"),children:[c(Lm,{target:l}),c("div",{class:"pointer-events-none relative z-[1] flex flex-col gap-1.5 px-3 pb-3 pt-1",children:[c("span",{class:"truncate font-mono text-nano uppercase tracking-label text-ink-faint",children:t}),c("h2",{class:"text-pretty font-display text-card-title font-semibold text-ink",children:o}),(i||n!==void 0)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Um,{status:i,pill:!0}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:u("document.docstatus",{value:n})})]})]})]})]}):c("header",{"aria-label":u("document.header"),class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[c("div",{class:"flex min-w-0 items-start gap-3",children:[a&&c("div",{class:"shrink-0 pt-0.5",children:a}),c("div",{class:A("relative min-w-0 rounded-[4px] transition-colors",l&&"px-1.5 py-1 -ml-1.5 -my-1",l?.selected&&"bg-row-selected"),children:[c(Lm,{target:l,class:"rounded-[4px]"}),c("div",{class:"pointer-events-none relative z-[1] flex min-w-0 flex-col gap-1",children:[c("span",{class:"truncate font-mono text-micro uppercase tracking-label text-ink-faint",children:[e," · ",t]}),c("h2",{class:"truncate font-display text-title font-semibold tracking-title text-ink",children:o}),(i||n!==void 0||d)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Um,{status:i}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:u("document.docstatus",{value:n})}),d&&c(U$,{})]})]})]})]}),s&&c("div",{class:"flex shrink-0 items-center gap-1.5",children:s})]})}const G1=["abbr","country","default_currency","domain"];function ss(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function Y1(e){if(typeof e=="boolean")return e;if(e===0||e==="0")return!1;if(e===1||e==="1")return!0}function Xg(e){const t=[],o=ss(e.company_name)??ss(e.name);o!==void 0&&t.push({key:"company_name",value:o});for(const n of G1){const r=ss(e[n]);r!==void 0&&t.push({key:n,value:r})}const i=Y1(e.is_group);return i!==void 0&&t.push({key:"is_group",value:i}),t}function Qg(e){if(e.doctype==="Company")return Xg(e);const t=[];for(const[o,i]of Object.entries(e))if(!(o.startsWith("_")||o==="refreshRequest"||o==="doctype"||i==null))if(Array.isArray(i))t.push({key:o,value:i.length,arrayCount:i.length});else if(typeof i=="object")for(const[n,r]of Object.entries(i))r!=null&&typeof r!="object"&&t.push({key:`${o}.${n}`,value:String(r)});else t.push({key:o,value:typeof i=="number"||typeof i=="boolean"?i:String(i)});return t.slice(0,12)}const X1=/^(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,6})?)?)?$/;function Q1(e){const t=X1.exec(e);if(!t)return e;const[,o,i,n,r,a,s]=t,d=Number(o),l=Number(i),u=Number(n),p=Number(r??0),m=Number(a??0),f=Number(s??0),v=new Date(0);return v.setUTCFullYear(d,l-1,u),v.setUTCHours(p,m,f,0),v.getUTCFullYear()!==d||v.getUTCMonth()!==l-1||v.getUTCDate()!==u||v.getUTCHours()!==p||v.getUTCMinutes()!==m||v.getUTCSeconds()!==f?e:new Intl.DateTimeFormat(_o(),{timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit",...r!==void 0?{hour:"2-digit",minute:"2-digit",...s!==void 0?{second:"2-digit"}:{}}:{}}).format(v)}const eI={company_name:"document.company.field.company_name",abbr:"document.company.field.abbr",country:"document.company.field.country",default_currency:"document.company.field.default_currency",domain:"document.company.field.domain",is_group:"document.company.field.is_group"};function e_(e,t){const o=eI[e];return o?t(o):void 0}function tI({document:e}){const t=fe(),o=Qg(e);return o.length===0?null:c("dl",{class:"grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-1.5 p-4",children:o.map(i=>c("div",{class:"min-w-0",children:[c("dt",{class:"font-mono text-chip text-ink-faint [overflow-wrap:anywhere]",children:(e.doctype==="Company"?e_(i.key,t):void 0)??i.key.replace(/_/g," ").replace(/\./g," > ")}),c("dd",{class:A("text-note text-ink-2 [overflow-wrap:anywhere]",["grand_total","total","amount"].includes(i.key)&&"font-semibold text-ink"),children:i.arrayCount!==void 0?t("doclist.detail.array_count",{n:i.arrayCount,s:i.arrayCount>1?"s":""}):typeof i.value=="number"?Ve(i.value,Number.isInteger(i.value)?0:2):typeof i.value=="boolean"?t(i.value?"document.boolean.true":"document.boolean.false"):Q1(i.value)})]},i.key))})}function nI({tabs:e,activeId:t,onChange:o,layout:i,idPrefix:n="document"}){const r=fe();function a(s,d){if(!["ArrowLeft","ArrowRight","Home","End"].includes(s.key))return;s.preventDefault();const l=e.map((m,f)=>({tab:m,tabIndex:f})).filter(({tab:m})=>!m.disabled);if(l.length===0)return;const u=l.findIndex(({tabIndex:m})=>m===d),p=s.key==="Home"?l[0]:s.key==="End"?l[l.length-1]:l[(u+(s.key==="ArrowRight"?1:-1)+l.length)%l.length];o(p.tab.id),document.getElementById(`${n}-tab-${p.tab.id}`)?.focus()}return c("div",{role:"tablist","aria-label":r("document.sections"),class:A("drag-scroll flex shrink-0 gap-1.5 overflow-x-auto border-b border-line",i==="mobile"?"px-3 py-2.5":"px-3.5 py-2.5"),children:e.map((s,d)=>{const l=s.id===t;return c("button",{id:`${n}-tab-${s.id}`,type:"button",role:"tab","aria-selected":l,"aria-controls":`${n}-panel-${s.id}`,tabIndex:l?0:-1,disabled:s.disabled,onClick:()=>o(s.id),onKeyDown:u=>a(u,d),class:A("shrink-0 border font-mono text-chip uppercase tracking-chip transition-colors","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",i==="mobile"?"rounded-pill px-2.5 py-1":"rounded-control px-2.5 py-[5px]",l?"border-accent bg-accent/14 text-accent-text":"border-line bg-control text-ink-muted hover:border-line-hover hover:text-ink","disabled:cursor-not-allowed disabled:opacity-40"),children:[s.label,s.count!==void 0&&c("span",{class:"ml-1.5 text-ink-faint",children:s.count})]},s.id)})})}const cs=new Set(["company_name","abbr","default_currency","country","domain","is_group"]),oI=new Set(["Section Break","Tab Break","Column Break"]);function t_(e){if(!Array.isArray(e)||e.length===0)return;const t=[],o=new Set;for(const i of e){if(i===null||typeof i!="object"||Array.isArray(i))return;const n=i;if(typeof n.fieldname!="string"||!n.fieldname.trim()||typeof n.fieldtype!="string"||!n.fieldtype.trim()||o.has(n.fieldname)||n.label!==void 0&&n.label!==null&&typeof n.label!="string")return;o.add(n.fieldname),t.push({fieldname:n.fieldname,fieldtype:n.fieldtype,...typeof n.label=="string"?{label:n.label}:{}})}return t.some(i=>!oI.has(i.fieldtype))?t:void 0}function iI(e,t){const o=t_(t);if(!o){const m=e.filter(v=>cs.has(v.key)),f=e.filter(v=>!cs.has(v.key));return{general:m,sections:f.length?[{key:"other",label:"",fields:f}]:[],schemaAvailable:!1}}const i=[],n=new Map;let r=-1,a=!1,s="";for(const[m,f]of o.entries())if(f.fieldtype!=="Column Break"){if(f.fieldtype==="Section Break"||f.fieldtype==="Tab Break"){if(f.fieldtype==="Tab Break"&&(s=f.label??""),!a)continue;const v=f.label??(f.fieldtype==="Section Break"?s:"");r=i.length,i.push({key:`native:${f.fieldname}`,label:v,fields:[]});continue}a=!0,n.set(f.fieldname,{section:r,order:m})}const d=[],l=i.map(()=>[]),u=[];for(const m of e){const f=n.get(m.key);cs.has(m.key)?d.push(m):!f||f.section===-1?u.push(m):l[f.section].push(m)}const p=(m,f)=>(n.get(m.key)?.order??Number.MAX_SAFE_INTEGER)-(n.get(f.key)?.order??Number.MAX_SAFE_INTEGER);return d.sort(p),{general:d,sections:[...i.flatMap((m,f)=>l[f].length?[{...m,fields:l[f].sort(p)}]:[]),...u.length?[{key:"other",label:"",fields:u}]:[]],schemaAvailable:!0}}const ls="erpnext_doc_get";function rI(e,t){const o=t.doctype==="Company"&&!!e?.getHostCapabilities()?.serverTools&&!!t.availableTools?.includes(ls),i=JSON.stringify([t.doctype,t.name,t.document.modified,t.availableTools]),n=me({app:e,scope:i,allowed:o,envelope:t});n.current={app:e,scope:i,allowed:o,envelope:t};const[r,a]=se({app:e,scope:i,allowed:o,status:o?"loading":"unavailable"});return st(()=>{let s=!1;const d=()=>!s&&n.current.app===e&&n.current.scope===i&&n.current.allowed&&!!e?.getHostCapabilities()?.serverTools&&!!n.current.envelope.availableTools?.includes(ls);return a({app:e,scope:i,allowed:o,status:o?"loading":"unavailable"}),e&&o&&(async()=>{try{if(!d())return;const l=await e.callServerTool({name:ls,arguments:{doctype:"DocType",name:"Company"}},{timeout:15e3});if(!d())return;if(l.isError===!0)throw new Error("schema unavailable");const u=it(l),p=u?an(JSON.parse(u)):null,m=p?.doctype==="DocType"&&p.name==="Company"?t_(p.document.fields):void 0;if(!m)throw new Error("schema unavailable");a({app:e,scope:i,allowed:o,schemaFields:m,status:"ready"})}catch{d()&&a({app:e,scope:i,allowed:o,status:"unavailable"})}})(),()=>{s=!0}},[e,i,o]),r.app!==e||r.scope!==i||r.allowed!==o?{status:o?"loading":"unavailable"}:{status:r.status,schemaFields:r.schemaFields}}function ds(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function to(e){return e!=null&&e!==!1}function aI({model:e,layout:t,panelId:o}){const i=fe(),n=Ra(e.envelope.doctype,e.envelope.document);if(!n)return null;const r=e.docstatus===0||e.status==="Draft",a=t!=="wide";return c("div",{class:A("flex shrink-0 items-center justify-between gap-2.5 border-b border-line bg-sunken",a?"px-3 py-[11px]":"px-4 py-2.5"),children:[c(ft,{children:i("document.purchase_invoice.total")}),c("div",{class:"flex min-w-0 items-center justify-end gap-1",children:[c("span",{class:A("font-semibold tabular-nums text-ink",a?"font-display text-title":"font-mono text-lede"),children:qt(n.amount,n.currency)}),n.showNote&&c(Og,{calculatedTotal:n.calculatedTotal,roundingAdjustment:n.roundingAdjustment,invoiceTotal:n.amount,currency:n.currency,isDraft:r,panelId:o})]})]})}function sI({app:e,model:t,layout:o}){const i=fe(),n=rI(e,t.envelope),r=iI(t.fields,n.schemaFields),a=Xg(t.envelope.document).find(l=>l.key==="is_group")?.value,s=r.general.map(l=>({...l,label:e_(l.key,i)??l.label,...l.key==="is_group"&&typeof a=="boolean"?{value:a,kind:"boolean"}:{}})),d=r.sections.map(l=>({...l,label:l.label||i("document.company.other")}));return c("div",{children:[c(js,{fields:s,heading:i("document.company.general"),emphasizeFields:!0,layout:o}),c("div",{class:"border-t border-line-soft",children:c(js,{fields:[],heading:null,fieldSections:d,longFields:t.longFields,progressFields:t.progressFields,collections:t.collections,systemFields:t.systemFields,layout:o})}),n.status!=="ready"&&c("p",{role:"status",class:"border-t border-line-soft px-4 py-3 text-note text-ink-muted",children:i(n.status==="loading"?"document.company.schema_loading":"document.company.schema_unavailable")})]})}function us({app:e,model:t,layout:o,presentation:i}){return i==="preview"?c(tI,{document:t.envelope.document}):t.envelope.doctype==="Company"?c(sI,{app:e,model:t,layout:o},t.envelope.name):c(js,{fields:t.fields,layoutSections:t.sections,emphasizeFields:t.sections!==void 0,longFields:t.longFields,progressFields:t.progressFields,collections:t.collections,systemFields:t.systemFields,layout:o})}function ms({children:e,class:t}){return c("section",{class:A("min-w-0 border-t border-line",t),children:e})}function n_({app:e,model:t,layout:o,presentation:i="full",navigation:n,headerActions:r,attachments:a,actions:s,footer:d,live:l,class:u,idPrefix:p,activeSectionId:m,onActiveSectionChange:f,scrollMode:v="contained",renderChildRowActions:S,childRowActionsPlacement:h="disclosure",contextTarget:b,renderChildRowContextTarget:g,childRowsExpandable:y=!0}){const T=fe(),_=`document-${ds(t.envelope.doctype)}-${ds(t.envelope.name)}`,z=p??_,w=`${t.envelope.doctype}:${t.envelope.name}`,[E,I]=se({documentKey:w,sectionId:"fields"}),[B,ie]=se({documentKey:w,row:null}),W=E.documentKey===w?E.sectionId:"fields",G=to(a),ne=to(s),ee=i==="preview",M=G||ne,Z=ee?Qg(t.envelope.document).length>0:t.fields.length>0||(t.sections?.length??0)>0||t.longFields.length>0||t.progressFields.length>0||t.collections.length>0||t.systemFields.length>0,O=(ee?[]:t.childTables).map((N,Q)=>({id:`table-${ds(N.key)}-${Q}`,table:N})),U=[...Z?[{id:"fields",label:T("document.fields")}]:[],...O.map(({id:N,table:Q})=>({id:N,label:Q.label,count:Q.rows.length})),...G?[{id:"attachments",label:T("document.attachments")}]:[]],H=m??W,q=U.some(N=>N.id===H)?H:U[0]?.id??"fields",re=v==="contained",ce=B.documentKey===w?B.row:null,_e=A("flex flex-col bg-surface",re&&"min-h-0 flex-1",u);function Te(N){m===void 0&&I({documentKey:w,sectionId:N}),ie({documentKey:w,row:null}),f?.(N)}function Ne(N){ie({documentKey:w,row:N})}const j=c(W1,{doctype:t.envelope.doctype,name:t.envelope.name,title:t.title,status:t.status,docstatus:t.envelope.doctype==="Company"?void 0:t.docstatus,layout:o,navigation:n,trailing:r,live:l,contextTarget:b}),L=!ee&&c(aI,{model:t,layout:o,panelId:`${z}-rounding`});if(o==="wide")return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,c("div",{class:A("grid",re&&"min-h-0 flex-1",M?"grid-cols-[minmax(0,1fr)_268px]":"grid-cols-1"),children:[c("main",{class:A("min-w-0",re&&"scroll-slim overflow-y-auto",M&&"border-r border-line"),children:[Z&&c(us,{app:e,model:t,layout:o,presentation:i}),O.map(({id:N,table:Q})=>c(as,{table:Q,layout:o,idPrefix:z,class:"border-t border-line-soft",renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne},N))]}),M&&c("aside",{"aria-label":T("document.sidebar"),class:A("min-w-0 bg-sunken",re&&"scroll-slim overflow-y-auto"),children:[G&&c("div",{children:a}),ne&&c(ms,{class:"p-3.5",children:s})]})]}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]});if(o==="panel")return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,c("main",{class:A(re&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[Z&&c(us,{app:e,model:t,layout:o,presentation:i}),O.map(({id:N,table:Q})=>c(as,{table:Q,layout:o,idPrefix:z,class:"border-t border-line",renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne},N)),G&&c(ms,{children:a}),ne&&c(ms,{class:"p-3.5",children:s})]}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]});const X=O.find(({id:N})=>N===q);return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,U.length>0&&c(nI,{tabs:U,activeId:q,onChange:Te,layout:o,idPrefix:z}),c("main",{class:A(re&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[q==="fields"&&Z&&c("div",{id:`${z}-panel-fields`,role:"tabpanel","aria-labelledby":`${z}-tab-fields`,children:c(us,{app:e,model:t,layout:o,presentation:i})}),X&&c("div",{id:`${z}-panel-${X.id}`,role:"tabpanel","aria-labelledby":`${z}-tab-${X.id}`,children:c(as,{table:X.table,layout:o,idPrefix:z,renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne})}),q==="attachments"&&G&&c("div",{id:`${z}-panel-attachments`,role:"tabpanel","aria-labelledby":`${z}-tab-attachments`,children:a})]}),ne&&c("div",{class:"shrink-0 border-t border-line p-3",children:s}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]})}const cI=["update","submit","cancel","attachment.added"],lI=new Set(cI),dI=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;function ps(e){return typeof e=="string"&&e.trim().length>0}function uI(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;const t=e;return ps(t.doctype)&&ps(t.name)&&typeof t.mutation=="string"&&lI.has(t.mutation)&&typeof t.committedAt=="string"&&dI.test(t.committedAt)&&Number.isFinite(Date.parse(t.committedAt))&&(t.source===void 0||ps(t.source))}const mI=new Set(["bar","horizontal-bar","stacked-bar","line","area","stacked-area","composed"]),pI=new Set(["bar","line","area"]);function fI(e){return typeof e=="string"&&mI.has(e)?e:void 0}function hI(e){return typeof e=="string"&&pI.has(e)?e:void 0}function hr(e,t){return t.type?t.type:e.type==="line"?"line":e.type==="area"||e.type==="stacked-area"?"area":"bar"}function bI(e,t,o){const i=e.labels[t],n=e.datasets[o]?.label;return(i!==void 0&&n?e.seriesPointJumps?.[i]?.[n]:void 0)??(i!==void 0?e.pointJumps?.[i]:void 0)}function o_(e,t){return t.currency?{currency:t.currency}:t.unit?{unit:t.unit}:t.yAxisId==="right"&&e.rightAxisLabel?.includes("%")?{unit:"%"}:e.currency?{currency:e.currency}:e.unit?{unit:e.unit}:{}}function qi(e){return typeof e=="string"&&e.trim().length>0?e.trim():void 0}function Mm(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function oo(e,t={}){const o=an(e);if(o)return o;const i=Mm(e);if(!i)return null;const n=Mm(i.data)??i,r=qi(n.doctype)??qi(t.doctype),a=qi(n.name)??qi(t.name);return!r||!a?null:an({...i,data:{...n,doctype:r,name:a}})}const vI={erpnext_doc_submit:"submit",erpnext_doc_cancel:"cancel"};function Fm(e,t,o,i){const n=vI[t];if(!n)return null;const r={doctype:e.doctype,name:e.name,mutation:n,committedAt:o,source:i};return uI(r)?r:null}function gI(e){if(!e||typeof e!="object")return null;const t=e;if(!Array.isArray(t.labels))return null;const o=t.labels.map(String),n=(Array.isArray(t.values)?[{label:t.title,values:t.values}]:Array.isArray(t.datasets)?t.datasets:[]).flatMap(r=>{if(!r||typeof r!="object")return[];const a=r;if(!Array.isArray(a.values))return[];const s=a.values;return[{label:typeof a.label=="string"?a.label:"",values:o.map((d,l)=>{const u=Number(s[l]??0);return Number.isFinite(u)?u:0}),color:typeof a.color=="string"?a.color:void 0,type:hI(a.type),stack:typeof a.stack=="string"?a.stack:void 0,yAxisId:a.yAxisId==="left"||a.yAxisId==="right"?a.yAxisId:void 0,showDots:typeof a.showDots=="boolean"?a.showDots:void 0,strokeStyle:a.strokeStyle==="solid"||a.strokeStyle==="dashed"?a.strokeStyle:void 0,unit:typeof a.unit=="string"?a.unit:void 0,currency:typeof a.currency=="string"?a.currency:void 0}]});return n.length===0?null:{labels:o,datasets:n,type:fI(t.type),unit:typeof t.unit=="string"?t.unit:void 0,currency:typeof t.currency=="string"?t.currency:void 0,xAxisLabel:typeof t.xAxisLabel=="string"?t.xAxisLabel:void 0,yAxisLabel:typeof t.yAxisLabel=="string"?t.yAxisLabel:void 0,rightAxisLabel:typeof t.rightAxisLabel=="string"?t.rightAxisLabel:void 0,showRightAxis:typeof t.showRightAxis=="boolean"?t.showRightAxis:void 0,pointJumps:t._pointJumps&&typeof t._pointJumps=="object"?t._pointJumps:void 0,seriesPointJumps:t._seriesPointJumps&&typeof t._seriesPointJumps=="object"?t._seriesPointJumps:void 0}}function _I(e){return!e||typeof e!="object"?null:Array.isArray(e.data)?e:null}function yI({columns:e,chipFilters:t,counts:o,total:i,pill:n,onFilterChange:r}){const a=fe();if(e.length===0)return null;const s=e.some(({col:l})=>t[l]),d=e.filter(({col:l})=>t[l]).length;return c("div",{class:n?"drag-scroll fade-edge-r flex shrink-0 items-center gap-1.5 overflow-x-auto px-3 pb-2.5":"flex shrink-0 flex-wrap items-center gap-1.5 border-b border-line px-4 py-2.5",children:[c(om,{pill:n,active:!s,onClick:()=>{for(const{col:l}of e)r(l,null)},children:a("doclist.chips.all",{n:i})}),e.map(({col:l,values:u})=>u.map(p=>{const m=t[l]===p;return c(om,{pill:n,active:m,onClick:()=>r(l,m?null:p),children:[p," ",o[l]?.[p]??0,m&&c("span",{"aria-hidden":"true",class:"ml-1.5 text-accent-text",children:"×"})]},`${l}:${p}`)})),s&&!n&&c("span",{class:"ml-auto shrink-0 font-mono text-chip text-ink-faint",children:[a("doclist.chips.filter_count",{n:d,s:d>1?"s":""})," · ",a("doclist.chips.row_count",{n:i,s:i>1?"s":""})]})]})}function kI({value:e}){return c(xI,{tone:$i(e),children:e})}function xI({tone:e,children:t,pill:o}){return c("span",{class:`inline-flex shrink-0 font-mono text-micro uppercase tracking-chip ${o?"rounded-pill py-[3px] px-2":"rounded-badge px-[7px] py-0.5"} ${qa[e]}`,children:t})}function wI({layout:e,amountKey:t,sortKey:o,sortDir:i,onSort:n,...r}){const a=fe(),s=Fa();if(r.rows.length===0)return c("p",{class:"px-4 py-10 text-center text-data text-ink-muted",children:a("doclist.table.no_match")});const d=r.columns.find(p=>La(p.id))?.id,l=r.rows.some((p,m)=>!!r.interactionTarget?.(p,m)?.onDoubleActivate),u=(p,m)=>{const f=r.rowId(p,m);return{id:f,row:p,selected:r.selectedId===f,interactionTarget:r.interactionTarget?.(p,m),struck:r.struckId===f,tone:d?$i(String(p[d]??"")):"neutral"}};return e==="mobile"?c(zI,{...r,shape:u,amountKey:t,clickIntent:s,hasDetailControls:l}):e==="panel"?c(TI,{...r,shape:u,amountKey:t,clickIntent:s,hasDetailControls:l}):c($I,{...r,shape:u,statusKey:d,sortKey:o,sortDir:i,onSort:n,clickIntent:s,hasDetailControls:l})}function Xd({target:e,touch:t=!1}){const o=e?.onDoubleActivate;return o?c(Cn,{expanded:!!e.expanded,label:e.detailLabel??e.label,controls:e.controls,onToggle:o,touch:t}):null}function i_(e,t){const o=t?e[t]:void 0;return t==="outstanding_amount"&&o===0?null:o}function fs(e,t){return e.find(o=>o.id===t)?.label??""}function Qd(e,t,o=!1){return["transition-colors",o&&"line-through text-ink-faint",t&&"cursor-pointer",e?"bg-row-selected":"hover:bg-row-hover",t&&!e&&"active:bg-row-selected","focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"].filter(Boolean).join(" ")}function br(e,t){return["border-r-2",e?"border-r-accent":"border-r-transparent",t&&!e&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function $I({columns:e,rows:t,shape:o,statusKey:i,sortKey:n,sortDir:r,onSort:a,detail:s,clickIntent:d,hasDetailControls:l}){const u=fe();return c("table",{class:"w-full table-fixed border-collapse",children:[c("thead",{children:c("tr",{class:"bg-sunken",children:[e.map((p,m)=>c("th",{scope:"col","aria-sort":n===p.id?r==="desc"?"descending":"ascending":"none",class:["border-b border-line py-[7px] font-normal",m===0?"pl-4 pr-3.5":"px-3.5",p.numeric?"text-right":"text-left"].join(" "),children:c("button",{type:"button",onClick:()=>a(p.id),class:`font-mono text-micro uppercase tracking-label transition-colors hover:text-ink-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${n===p.id?"text-accent":"text-ink-faint"}`,children:[p.label,n===p.id&&c("svg",{"aria-hidden":"true",width:"7",height:"5",viewBox:"0 0 7 5",fill:"none",class:"ml-1 inline-block text-accent",children:r==="asc"?c("path",{d:"M1 4L3.5 1L6 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}):c("path",{d:"M1 1L3.5 4L6 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})]})},p.id)),l&&c("th",{scope:"col",class:"w-10 border-b border-line bg-sunken",children:c("span",{class:"sr-only",children:u("doclist.detail.inspector_label")})})]})}),c("tbody",{children:t.map((p,m)=>{const{id:f,row:v,selected:S,interactionTarget:h,tone:b,struck:g}=o(p,m),y=S||!!h?.selected,T=!!h;return c(Le,{children:[c("tr",{class:`border-b border-line-soft ${Qd(y,T,g)}`,...$t(h,{arbiter:d,key:`doclist-row:${f}`}),role:"row","aria-pressed":void 0,"aria-selected":h?.selected,children:[e.map((_,z)=>{const w=v[_.id],E=z===0,I=z===e.length-1;return c("td",{class:["truncate py-2",E?`border-l-2 ${Yd[b]} pl-[14px] pr-3.5`:"px-3.5",I&&!l&&br(!!h?.selected,T),_.numeric?"text-right font-mono text-cell tabular-nums":E?"font-mono text-data":"text-cell",E&&y?"text-accent-text":y?"text-ink":"text-ink-2"].filter(Boolean).join(" "),children:i===_.id&&typeof w=="string"?c(kI,{value:w}):w==null?c("span",{class:"text-ink-ghost",children:"—"}):E?Kd(St(w)):St(w)},_.id)}),l&&c("td",{class:`w-10 p-0 text-center ${br(!!h?.selected,T)}`,children:c(Xd,{target:h})})]}),S&&s&&c("tr",{children:c("td",{class:"p-0",colSpan:e.length+(l?1:0),children:s})})]},f)})})]})}const SI="grid-cols-[92px_1fr_78px]",II="grid-cols-[92px_1fr]",hs="truncate font-mono text-nano uppercase tracking-label text-ink-faint";function zI({columns:e,rows:t,shape:o,amountKey:i,detail:n,clickIntent:r,hasDetailControls:a}){const s=fe(),{idKey:d,labelKey:l,trailingKey:u}=Lg(e,i,La),p=u!==void 0&&u===i,m=u?SI:II;return c("div",{children:[c("div",{class:"flex border-y border-line bg-sunken",children:[c("div",{class:`grid ${m} min-w-0 flex-1 px-3 py-1.5`,children:[c("span",{class:hs,children:i?s("doclist.table.header.id"):fs(e,d)}),c("span",{class:hs,children:i?s("doclist.table.header.party"):fs(e,l)}),u&&c("span",{class:`${hs} text-right`,children:i?s("doclist.table.header.due"):fs(e,u)})]}),a&&c("span",{"aria-hidden":"true",class:"w-10"})]}),c("ul",{children:t.map((f,v)=>{const{id:S,row:h,selected:b,interactionTarget:g,tone:y,struck:T}=o(f,v),_=b||!!g?.selected,z=!!g,w=p?i_(h,i):u?h[u]:void 0;return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Yd[y]}`,br(!!g?.selected,z),_?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`grid ${m} min-w-0 flex-1 items-center px-3 ${Qd(_,z,T)}`,...$t(g,{arbiter:r,key:`doclist-row:${S}`}),children:[c("span",{class:`min-w-0 truncate font-mono text-data ${_?"text-accent-text":"text-ink-2"}`,children:d?Kd(St(h[d]),10,1):""}),c("span",{class:"truncate pr-2 text-data text-ink-muted",children:l?St(h[l]):""}),u&&c("span",{class:`truncate text-right font-mono text-data ${p?"tabular-nums":""} ${w==null?"text-ink-dim":p?`font-medium ${Wg[y]}`:"text-ink-muted"}`,children:w==null?"—":St(w)})]}),a&&c(Xd,{target:g,touch:!0})]}),b&&n]},S)})})]})}function TI({columns:e,rows:t,shape:o,amountKey:i,detail:n,clickIntent:r,hasDetailControls:a}){const{idKey:s,labelKey:d,trailingKey:l}=Lg(e,i,La),u=l!==void 0&&l===i;return c("ul",{class:"flex flex-col",children:t.map((p,m)=>{const{id:f,row:v,selected:S,interactionTarget:h,tone:b,struck:g}=o(p,m),y=S||!!h?.selected,T=!!h,_=u?i_(v,i):l?v[l]:void 0;return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Yd[b]}`,br(!!h?.selected,T),y?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`flex min-w-0 flex-1 items-center justify-between gap-2.5 px-3 py-[9px] ${Qd(y,T,g)}`,...$t(h,{arbiter:r,key:`doclist-row:${f}`}),children:[c("div",{class:"flex min-w-0 flex-col gap-px",children:[c("span",{class:`truncate font-mono text-note ${y?"text-accent-text":"text-ink-2"}`,children:s?Kd(St(v[s])):""}),d&&c("span",{class:"truncate text-note text-ink-muted",children:St(v[d])})]}),l&&c("span",{class:`max-w-[45%] shrink-0 truncate font-mono text-cell ${u?"tabular-nums":""} ${_==null?"text-ink-ghost":u?`font-medium ${Wg[b]}`:"text-ink-muted"}`,children:_==null?"—":St(_)})]}),a&&c(Xd,{target:h,touch:!0})]}),S&&n]},f)})})}function qm({action:e,loading:t,preview:o,onRequest:i}){const n=fe(),r=Ig[e],a=n(r.labelKey);return c(nt,{variant:r.variant,class:B2,disabled:o||t!==null,"aria-busy":t===e,"aria-label":a,title:n(o?"doclist.preview.no_host":r.titleKey),onClick:()=>i(e),children:t===e?"…":a})}function PI({show:e,loading:t,preview:o=!1,feedback:i,onRequest:n}){if(!e.submit&&!e.cancel&&!i)return null;const r=i?K2(i.tone):void 0;return c("div",{class:"flex flex-col",children:[c("div",{"aria-live":"polite","aria-atomic":"true",children:i&&!r&&c("p",{class:A("pb-2 font-mono text-chip",vm(i.tone)),children:i.text})}),i&&r&&c("p",{role:r,class:A("pb-2 font-mono text-chip",vm(i.tone)),children:i.text}),c("div",{class:"flex flex-col gap-2",children:[e.submit&&c(qm,{action:"submit",loading:t,preview:o,onRequest:n}),e.cancel&&c(qm,{action:"cancel",loading:t,preview:o,onRequest:n})]})]})}function r_({jumps:e,asks:t,onJump:o,onAsk:i,narrow:n}){const r=fe();return c("div",{class:"flex flex-col gap-2",children:[e.map(a=>c("button",{type:"button",disabled:!o,onClick:()=>o?.(a),class:A("group focus-visible:outline-2 focus-visible:outline-accent flex w-full items-center justify-between gap-2 rounded-[5px] border border-line-modal bg-count px-2.5 py-[7px] text-left font-mono text-[11.5px] text-ink transition-colors hover:border-accent hover:bg-control disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"truncate",children:F1(a,r)}),c("span",{"aria-hidden":"true",class:A("shrink-0 text-[13px] text-accent",!n&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},a.label)),t.length>0&&c("div",{class:"flex flex-col gap-[9px] pt-1",children:t.map(a=>c("button",{type:"button",disabled:!i,onClick:()=>i?.(a.message),class:A("focus-visible:outline-2 focus-visible:outline-accent flex items-center gap-[7px] self-start font-mono text-[11px] text-ink-muted disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"border-b border-dotted border-ink-faint transition-colors hover:border-ink-muted hover:text-ink",children:a.label}),c("span",{"aria-hidden":"true",class:"text-ink-faint",children:"~"})]},a.label))})]})}function EI(e,t){if(!e)return null;const o=an(e);if(o)return o;const i=typeof e.name=="string"?e.name.trim():"";return!t?.trim()||!i?null:an({data:{...e,doctype:t.trim(),name:i}})}function CI({app:e,envelope:t,data:o,doctype:i,loading:n,fixture:r,layout:a,embedded:s,onClose:d,onJump:l,onAsk:u,onAction:p,onDocumentChanged:m,context:f,contextView:v,contextKey:S}){const h=a!=="wide";if(n)return s?c("div",{role:"status",class:"flex h-[144px] flex-col gap-3.5 border-y border-accent/45 bg-surface p-4",children:[c(wt,{class:"h-[15px] w-3/4"}),c(wt,{class:"h-[15px] w-1/3"}),Array.from({length:3},(g,y)=>c(wt,{class:"h-3"},y))]}):c(jI,{narrow:h,onClose:d,children:c("div",{class:"flex flex-col gap-3.5 p-3.5",children:[c(wt,{class:"h-[15px] w-3/4"}),c(wt,{class:"h-[15px] w-1/3"}),Array.from({length:5},(g,y)=>c(wt,{class:"h-3"},y))]})});const b=t??EI(o,i);return b?c(DI,{app:e,envelope:b,fixture:r,outerLayout:a??"panel",embedded:s,onClose:d,onJump:l,onAsk:u,onAction:p,onDocumentChanged:m,context:f,contextView:v,contextKey:S},`${b.doctype}\0${b.name}`):null}function DI({app:e,envelope:t,fixture:o,outerLayout:i,embedded:n,onClose:r,onJump:a,onAsk:s,onAction:d,onDocumentChanged:l,context:u,contextView:p,contextKey:m}){const f=fe(),v=Ug(),[S,h]=se(null),[b,g]=se(null),y=n?i:i==="mobile"?"mobile":"panel",T=!n&&i!=="wide",_=Ua(t),z=qd(e.getHostCapabilities(),t.availableTools,t.refreshRequest),w=Jd({app:e,envelope:t,capabilities:z,onDocumentChanged:l}),E={id:t.name,name:t.name,doctype:t.doctype},I=t.sendMessageHints??[],B=t.availableTools,ie=Na(_,p??t.doctype,m),W=P2(t),G=u?.supported?u.reconcileDocument:void 0;Ce(()=>{if(!G)return;const N=[ie,..._.childTables.flatMap(Q=>Q.rows.flatMap((F,C)=>{const Y=Dn(t,Q,F,C,W);return Y?[Y]:[]}))];G(ie.id,N)},[W,m,p,t,G]);const ne=N=>!!(a&&e.getHostCapabilities()?.serverTools&&B&&B.includes(N)),ee=N=>!N.tool||!ne(N.tool)?null:Ht(N,E,f("nav.linked_to",{id:t.name}),{key:"nav.linked_to",params:{id:t.name}}),M=I.map(ee).filter(N=>N!==null),Z=s?I.flatMap(N=>{if(!N.message||ee(N))return[];const Q=Nt(N.message,E);return Zt(Q)?[]:[{label:wi(N),message:Q}]}):[],O=wg(t.doctype,t.document),U=zg({docstatus:_.docstatus,status:_.status,canSubmit:z.canSubmit,canCancel:z.canCancel,preview:o}),H=Tg(t.doctype,t.name,t.document);st(()=>{Pg(v.pending,U,H)&&v.dismiss()},[v.pending,U.submit,U.cancel,H]);async function q(N){if(o||!(N==="submit"?z.canSubmit:z.canCancel))return;h(N),g(null);const F=await d(N==="submit"?"erpnext_doc_submit":"erpnext_doc_cancel",{doctype:t.doctype,name:t.name});g(V2(F,f(N==="submit"?"doclist.detail.action.submit_ok":"doclist.detail.action.cancel_ok"),f)),h(null)}const ce=M.length>0||Z.length>0||U.submit||U.cancel||b!==null?c("div",{class:"flex flex-col gap-2",children:[M.length>0&&c(ft,{children:f("nav.goto")}),(M.length>0||Z.length>0)&&c(r_,{narrow:!0,jumps:M,asks:Z,onJump:a,onAsk:s}),c(PI,{show:U,loading:S,preview:o,feedback:b,onRequest:N=>v.request(J2(N,{doctype:t.doctype,name:t.name,documentSnapshot:H,amount:N==="submit"?O:void 0,translate:f,onConfirm:()=>void q(N)}))})]}):void 0,_e=T?c("button",{type:"button",onClick:r,"aria-label":f("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:f("doclist.detail.back_list_label")}):void 0,Te=T?void 0:c("button",{type:"button",onClick:r,"aria-label":f("doclist.detail.close_inspector"),class:"grid size-7 place-items-center rounded-control text-lede text-ink-faint transition-colors hover:bg-control hover:text-ink focus-visible:outline-2 focus-visible:outline-accent",children:"×"});function Ne(N,Q,F){const C=Dn(t,N,Q,F,W),Y=a&&e.getHostCapabilities()?.serverTools?Kg({hints:I,rootVars:E,row:Q,availableTools:B,subtitle:f("nav.linked_to",{id:C?.label??t.name}),subtitleKey:"nav.linked_to",subtitleParams:{id:C?.label??t.name}}):[],K=s?Vg({hints:I,rootVars:E,row:Q}).filter(xe=>!Y.some(Se=>Se.label===xe.label)):[];return{item:C,rowJumps:Y,rowAsks:K}}const j=n?(N,Q,F)=>{const{rowJumps:C,rowAsks:Y}=Ne(N,Q,F);if(!(C.length===0&&Y.length===0))return c(Le,{children:[C.map(K=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>a?.(K),children:[K.label,c("span",{"aria-hidden":"true",children:"›"})]},`${K.tool.name}:${K.label}`)),Y.map(K=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>s?.(K.message),children:[K.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${K.label}`))]})}:void 0,L=u?.supported?{label:f("context.active.toggle",{label:ie.label}),selected:u.isSelected(ie),onActivate:()=>void u.toggle(ie)}:void 0,X=n?(N,Q,F)=>{const{item:C}=Ne(N,Q,F);return C&&u?.supported?{label:f("context.active.toggle",{label:C.label}),detailLabel:C.label,selected:u.isSelected(C),onActivate:()=>u.toggleReversible(C)}:void 0}:void 0;return c(Le,{children:[c(n_,{app:e,model:_,layout:y,presentation:"preview",navigation:_e,headerActions:Te,attachments:z.canListAttachments?c(Fd,{controller:w,capabilities:z,layout:y,context:u}):void 0,actions:ce,scrollMode:n?"flow":"contained",renderChildRowActions:j,childRowActionsPlacement:n?"visible":"disclosure",contextTarget:L,renderChildRowContextTarget:X,childRowsExpandable:!n,class:n?"border-y border-accent/45":"h-full"}),c(mr,{confirm:v})]})}function jI({children:e,narrow:t,onClose:o}){const i=fe();return c("aside",{class:"scroll-slim flex min-h-0 flex-col overflow-y-auto bg-sunken",children:[c("div",{class:"flex shrink-0 items-center justify-between border-b border-line px-3.5 py-[11px]",children:t?c(Le,{children:[c("button",{type:"button",onClick:o,"aria-label":i("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:i("doclist.detail.back_list_label")}),c(ft,{children:i("doclist.detail.inspector_label")})]}):c(Le,{children:[c(ft,{children:i("doclist.detail.inspector_label")}),c("button",{type:"button",onClick:o,"aria-label":i("doclist.detail.close_inspector"),class:"text-lede leading-none text-ink-faint transition-colors hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:"×"})]})}),e]})}function AI({value:e,onInput:t,onClose:o}){const i=fe(),n=me(null);return Ce(()=>{n.current?.focus()},[]),c("div",{class:"shrink-0 px-3 pb-2.5",children:c("input",{ref:n,type:"search",value:e,placeholder:i("common.filter.placeholder"),"aria-label":i("common.filter.label"),onInput:r=>t(r.target.value),onKeyDown:r=>{r.key==="Escape"&&(t(""),o())},class:"w-full rounded-control border border-line bg-sunken px-2.5 py-1.5 font-mono text-data text-ink placeholder:text-ink-faint focus:border-accent focus:outline-none"})})}function OI(e){if(typeof e!="object"||e===null)return;const t=e._availableTools;if("_availableTools"in e)return Array.isArray(t)?[...new Set(t.filter(o=>typeof o=="string"&&o.length>0))]:[]}function yt(e,t){return e===void 0||e.includes(t)}function As(e,t,o){return!!e&&yt(t,o)}function bs(e){return`doclist-row-${encodeURIComponent(e)}-detail`}function NI(e,t){if(t.top>=e.top&&t.bottom<=e.bottom)return 0;const o=t.bottom-t.top,i=e.bottom-e.top;return o>=i||t.top<e.top?t.top-e.top:t.bottom-e.bottom}const vs=1e4,RI=1500;function Zi(e,t,o){return String(t?z1(e,t.idField)??o:e._id??e.name??o)}function UI({app:e,data:t,list:o,layout:i,fixture:n,error:r,subtitle:a,onError:s,onJump:d,onAsk:l,stale:u,onRefresh:p,onMutationInvalidate:m,onMutationRefresh:f,onMutated:v,onDocumentChanged:S,context:h,contextView:b,contextKey:g}){const y=fe(),{rows:T,pageRows:_,rowAction:z,expandedId:w}=o,E=e.getHostCapabilities()?.serverTools,I=z&&As(E,t._availableTools,z.toolName)?z:void 0,[B,ie]=se({id:null,data:null,loading:!1}),W=me(B),G=F=>{W.current=F,ie(F)},ne=me(null),ee=me(w);ee.current=w;const M=me(!0),Z=me(null);st(()=>(M.current=!0,()=>{M.current=!1,ne.current=null}),[]);const O=n&&T.some(F=>F._detail!=null),U=!!I||O,H=b??t._title??t.doctype??"Document",q=g??H;function re(F,C){if(!h?.supported||!t.doctype)return null;const Y=Zi(F,I,String(C)),K=oo(F,{doctype:t.doctype,name:Y});return K?Na(Ua(K),H,q):null}const ce=h?.supported?h.reconcileView:void 0;Ce(()=>{if(!ce)return;const F=T.flatMap((C,Y)=>{const K=re(C,Y);return K?[K]:[]});ce(q,F)},[t.doctype,q,H,ce,I,T]),Ce(()=>{if(w===null){ne.current=null,G({id:null,data:null,loading:!1});return}const F=_.find((C,Y)=>Zi(C,I,String(Y))===w);if(!F){ne.current=null,G({id:null,data:null,loading:!1}),o.setExpandedId(null);return}if(W.current.id!==w){if(n||!I&&F._detail){const C=oo(F._detail??F,{doctype:t.doctype,name:w});if(!C){s(y("doclist.error.load_details")),o.setExpandedId(null);return}G({id:w,data:C,loading:!1});return}I&&(G({id:w,data:null,loading:!0}),ne.current=w,(async()=>{try{const C=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:w}},{timeout:vs});if(ne.current!==w)return;if(C.isError)s(y("doclist.error.load_details")),o.setExpandedId(null);else{const Y=it(C);if(Y){const K=JSON.parse(Y),xe=oo(K,{doctype:t.doctype,name:w});if(!xe)throw new Error("document envelope is invalid");G({id:w,data:xe,loading:!1}),s(null)}else s(y("doclist.error.load_details")),o.setExpandedId(null)}}catch(C){if(ne.current!==w)return;s(`${y("doclist.error.load_details")} — ${C instanceof Error?C.message:String(C)}`),o.setExpandedId(null)}finally{ne.current===w&&G({...W.current,loading:!1})}})())}},[w,T,I,n,t.doctype]),Ce(()=>{if(B.id===null)return;const F=document.getElementById(bs(B.id)),C=Z.current;if(!F||!C)return;const Y=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,K=NI(C.getBoundingClientRect(),F.getBoundingClientRect());K!==0&&C.scrollTo({top:C.scrollTop+K,behavior:Y?"auto":"smooth"})},[B.id,B.loading]);function _e(F,C){const Y=Zi(F,I,String(C)),K=re(F,C);if(!K&&!U)return;const xe=K?.label??Y,Se=K?h?.isSelected(K)??!1:void 0;return{label:U?y(K?w===Y?"document.row.close_detail":"document.row.open_detail":w===Y?"document.row.close_detail_only":"document.row.open_detail_only",{label:xe}):y("context.active.toggle",{label:xe}),selected:Se,expanded:U?w===Y:void 0,detailLabel:xe,controls:U?bs(Y):void 0,onActivate:()=>{if(K){if(U)return h?.toggleReversible(K);h?.toggle(K)}},doublePolicy:"local",onDoubleActivate:U?()=>o.setExpandedId(w===Y?null:Y):void 0}}function Te(F){v?.(F.name),S?.(F)}function Ne(F){Te(F),m?.(),f?.()}function j(F){const C=W.current.data;return M.current&&!!F&&ee.current===F.name&&ne.current===F.name&&C?.doctype===F.doctype&&C.name===F.name}async function L(F){if(!F||!j(F))return!1;const C=F.name;m?.();try{if(await new Promise(ge=>setTimeout(ge,RI)),!I||!j(F))return!1;const Y=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:C}},{timeout:vs});if(!j(F))return!1;if(Y.isError)throw new Error("canonical read-back failed");const K=it(Y);if(!K)throw new Error("canonical read-back is empty");const xe=JSON.parse(K),Se=oo(xe,{doctype:F?.doctype??t.doctype,name:F?.name??C});if(!Se||Se.doctype!==F?.doctype||Se.name!==C)throw new Error("canonical document envelope is invalid");return G({id:C,data:Se,loading:!1}),s(null),!0}catch{return j(F)&&(s(y("doclist.error.load_details")),o.setExpandedId(null)),!1}finally{f?.()}}async function X(F,C){const Y=W.current.data;if(n||!E||!Y?.availableTools?.includes(F)||!j(Y))return!1;try{let K;try{K=await e.callServerTool({name:F,arguments:C},{timeout:vs})}catch(Pe){if(!j(Y))return!1;const Fe=dr(F,C,{transportFailure:Pe});return Fe.applies&&Fe.reread?(await L(Y),{transport:!0}):{error:Pe instanceof Error?Pe.message:null}}if(!j(Y))return!1;const xe=dr(F,C,{result:K});if(xe.applies){if(xe.kind==="error")return{error:it(K)??null};if(xe.emitCommittedEvent){const Fe=Fm(Y,F,new Date().toISOString(),"doclist.inline-detail");Fe?Te(Fe):w&&v?.(w)}const Pe=await L(Y);return xe.claimSubmitted?Pe?!0:{refreshPending:!0}:{unconfirmed:!0}}if(K.isError)return{error:it(K)??null};const Se=w,ge=Fm(Y,F,new Date().toISOString(),"doclist.inline-detail");return ge?Te(ge):Se&&v?.(Se),await L(Y)?!0:{refreshPending:!0}}catch(K){return{error:K instanceof Error?K.message:null}}}const Q=w!==null?c("div",{id:bs(w),children:c(CI,{app:e,envelope:B.data,loading:B.loading,fixture:n,layout:i,embedded:!0,onClose:()=>o.setExpandedId(null),onAction:X,onJump:d,onAsk:l,onDocumentChanged:Ne,context:h,contextView:H,contextKey:q})}):void 0;return c(Le,{children:[i==="mobile"&&o.searchOpen&&c(AI,{value:o.filter,onInput:o.setFilter,onClose:()=>o.setSearchOpen(!1)}),i!=="panel"&&c(yI,{columns:o.filterableColumns,chipFilters:o.chipFilters,counts:o.chipCounts,total:T.length,pill:i==="mobile",onFilterChange:o.setChipFilter}),u&&c("div",{role:"status",title:y("nav.stale_title"),class:"flex shrink-0 items-center gap-2 border-b border-warn/20 bg-warn/8 px-4 py-[7px] font-mono text-[10.5px] text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),c("span",{children:y("nav.stale_values",{at:u.at})}),p&&c("button",{type:"button",onClick:p,class:"ml-auto rounded-[3px] border border-warn/40 px-2 py-0.5 uppercase tracking-live text-warn hover:bg-warn/12",children:y("nav.refresh")})]}),r&&c(Ft,{tone:"bad",children:r}),c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{ref:Z,class:"scroll-slim min-h-0 flex-1 overflow-y-auto",children:c(wI,{columns:o.tableColumns,rows:o.pageRows,rowId:(F,C)=>Zi(F,I,String(C)),selectedId:w,struckId:u?.subject??null,sortKey:o.sortKey,sortDir:o.sortDir,onSort:o.handleSort,interactionTarget:_e,layout:i,amountKey:o.amountKey,detail:Q})}),o.amountTotal!==null&&c(ig,{layout:i,label:o.amountKey?.replace(/_/g," ")??y("common.total"),children:St(o.amountTotal)}),c("div",{class:"flex shrink-0 items-center gap-3 border-t border-line-soft bg-sunken px-4 py-[9px]",children:[c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:y("nav.of",{n:o.sorted.length,total:T.length})}),a&&c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:a}),c("div",{class:"flex-1"}),o.totalPages>1&&c("span",{class:"flex items-center gap-1.5",children:[c(nm,{disabled:o.page===0,"aria-label":y("common.pagination.prev"),onClick:()=>o.setPage(o.page-1),children:"‹"}),c("span",{class:"font-mono text-meta text-ink-muted",children:[o.page+1," / ",o.totalPages]}),c(nm,{disabled:o.page>=o.totalPages-1,"aria-label":y("common.pagination.next"),onClick:()=>o.setPage(o.page+1),children:"›"})]})]})]})]})}function LI({embedded:e=!1}){const t=gp(),o=c(Le,{children:[c("div",{class:"flex items-center gap-3 border-b border-line px-4 py-[13px]",children:[c(wt,{class:"h-[17px] w-40"}),c(wt,{class:"h-[17px] w-8"})]}),c("div",{class:"flex gap-1.5 border-b border-line px-4 py-2.5",children:[48,72,64,68].map(i=>c(wt,{class:"h-[19px]",style:{width:i}},i))}),c("div",{class:"flex flex-col",children:Array.from({length:8},(i,n)=>c("div",{class:"border-b border-line-soft px-4 py-2",children:c(wt,{class:"h-[15px]",style:{opacity:1-n*.1}})},n))})]});return e?c("div",{class:"min-h-0 flex-1 bg-surface",children:o}):c(cr,{style:Rg(t.containerDimensions),children:o})}function ao(e){return e.yAxisId==="right"?"right":"left"}function vr(e,t,o){if(t.stack)return`${ao(t)}:${o}:${t.stack}`;if(o==="bar"&&e.type==="stacked-bar")return`${ao(t)}:bar:default`;if(o==="area"&&e.type==="stacked-area")return`${ao(t)}:area:default`}function eu(e,t){const o=e.values[t];return typeof o=="number"&&Number.isFinite(o)?o:0}function MI(e){const t={left:{min:0,max:0},right:{min:0,max:0}};for(let i=0;i<e.labels.length;i++){const n=new Map;e.datasets.forEach(r=>{const a=ao(r),s=hr(e,r),d=eu(r,i),l=vr(e,r,s);if(l){const u=n.get(l)??{axis:a,negative:0,positive:0};d<0?u.negative+=d:u.positive+=d,n.set(l,u)}else t[a].min=Math.min(t[a].min,d),t[a].max=Math.max(t[a].max,d)});for(const r of n.values())t[r.axis].min=Math.min(t[r.axis].min,r.negative),t[r.axis].max=Math.max(t[r.axis].max,r.positive)}const o=i=>i.min===i.max?i.max===0?{min:0,max:1}:{min:Math.min(0,i.min),max:Math.max(1,i.max)}:i;return{left:o(t.left),right:o(t.right)}}function gs(e,t){return(e-t.min)/(t.max-t.min)*100}function FI(e,t,o,i,n){if(!i)return 0;let r=0;for(let a=0;a<t;a++){const s=e.datasets[a],d=hr(e,s);if(vr(e,s,d)!==i)continue;const l=eu(s,o);n<0==l<0&&(r+=l)}return r}const Hi=e=>Number(e.toFixed(3));function qI(e){const t=MI(e),o=[...new Set(e.datasets.flatMap((a,s)=>{const d=hr(e,a);return d!=="bar"?[]:[vr(e,a,d)??`series:${s}`]}))],i=Math.max(1,e.labels.length),n=Math.max(1,o.length),r=e.datasets.map((a,s)=>{const d=hr(e,a),l=ao(a),u=vr(e,a,d),p=d==="bar"?o.indexOf(u??`series:${s}`):0,m=e.labels.map((S,h)=>{const b=eu(a,h),g=FI(e,s,h,u,b),y=t[l],T=100/i,_=T*.72/n;return{labelIndex:h,seriesIndex:s,value:b,x:(h+.5)/i*100,y:gs(g+b,y),baseY:gs(g,y),barLeft:h*T+T*.14+p*_,barWidth:Math.max(.8,_-Math.min(1.5,_*.14))}}),f=d==="line"||d==="area"?m.map((S,h)=>`${h===0?"M":"L"} ${Hi(S.x)} ${Hi(100-S.y)}`).join(" "):void 0,v=d==="area"&&m.length>0?`${f} ${m.toReversed().map(S=>`L ${Hi(S.x)} ${Hi(100-S.baseY)}`).join(" ")} Z`:void 0;return{seriesIndex:s,kind:d,axis:l,stack:u,points:m,linePath:f,areaPath:v}});return{domains:t,zero:gs(0,t.left),series:r}}const Zm=["var(--color-cat-1)","var(--color-cat-2)","var(--color-cat-3)","var(--color-cat-4)","var(--color-cat-5)","var(--color-cat-6)","var(--color-cat-7)","var(--color-cat-8)"];function _s(e,t,o){return e.color?e.color:o===1?"var(--color-accent)":Zm[Math.min(t,Zm.length-1)]}function Hm(e,t,o,i){if(i<=1||o<=0)return 0;const n=Math.min(.999999,Math.max(0,(e-t)/o));return Math.floor(n*i)}function ZI({chart:e,activeIndex:t,contextEnabled:o,pointKey:i,isPointSelected:n,isPointDetailEnabled:r,onPointContext:a,onPointDetail:s,caption:d,narrow:l}){const u=fe(),p=Fa(),{labels:m,datasets:f}=e,v=qI(e),[S,h]=se(null),[b,g]=se(null),y=m.map((j,L)=>f.reduce((X,N)=>X+Math.abs(N.values[L]??0),0)),T=Math.max(0,y.indexOf(Math.max(...y))),z=Math.min(Math.max(0,t??T),Math.max(0,m.length-1)),w=S??b??{labelIndex:z,seriesIndex:0},E=w.labelIndex,I=f.length>1,B=(j,L)=>{const X=o_(e,j);return X.currency?ro(L,X.currency):X.unit==="%"?vp(L,L%1===0?0:1):`${Ve(L,L%1===0?0:1)}${X.unit?` ${X.unit}`:""}`},ie=(j,L)=>{const X=f[L],N=B(X,X.values[j]??0);return`${m[j]} · ${X.label||`#${L+1}`} · ${N}`},W=(j,L)=>!!(o&&a)&&m[j]!==void 0&&f[L]!==void 0,G=(j,L)=>!!(s&&r?.(j,L)),ne=(j,L)=>W(j,L)||G(j,L),ee=m.some((j,L)=>f.some((X,N)=>G(L,N))),M=ee?f.length:0,Z=l?40:28,O=Math.max(100,m.length*Math.max(42,26+f.length*5,M>0?M*(Z+4)+8:0)),U=(j,L)=>({key:i?.(j,L)??`nested-chart:${j}:${L}`,onSingle:()=>a?.(j,L),onDouble:()=>s?.(j,L),doublePolicy:"local"}),H=(j,L)=>{const X={labelIndex:j,seriesIndex:L};g(X),h(X)},q=(j,L)=>{H(j,L)},re=(j,L,X)=>{if(ne(j,L)&&(q(j,L),W(j,L))){p.click(U(j,L),X);return}},ce=(j,L)=>{G(j,L)&&(q(j,L),W(j,L)?p.doubleClick(U(j,L)):s?.(j,L))},_e=(j,L,X)=>{if(!X.repeat){if(q(j,L),W(j,L)&&G(j,L)){p.keyDown(U(j,L),X);return}if(X.key===" "&&W(j,L)){X.preventDefault(),a?.(j,L);return}X.key==="Enter"&&G(j,L)&&(X.preventDefault(),s?.(j,L))}},Te=(j,L)=>{h(null),g({labelIndex:j,seriesIndex:L}),p.activateDetail(U(j,L))},Ne=j=>({left:`${j.x}%`,bottom:`${j.y}%`});return c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{class:l?"px-3.5 pb-3 pt-4":"px-4 pb-3 pt-[18px]",children:[(e.yAxisLabel||e.rightAxisLabel)&&c("div",{class:"mb-2 flex justify-between font-mono text-nano text-ink-faint",children:[c("span",{children:e.yAxisLabel}),c("span",{children:e.rightAxisLabel})]}),I&&c("div",{class:"mb-3 flex flex-wrap items-center gap-x-3 gap-y-1.5",role:"list",children:f.map((j,L)=>{const X=v.series[L].kind;return c("span",{class:"inline-flex min-w-0 items-center gap-1.5 font-mono text-chip text-ink-muted",role:"listitem",children:[c("span",{class:X==="line"?"h-0.5 w-2.5 shrink-0 rounded-full":X==="area"?"h-2 w-2.5 shrink-0 rounded-[2px] opacity-45":"size-2 shrink-0 rounded-[2px]",style:{background:_s(j,L,f.length)},"aria-hidden":"true"}),c("span",{class:"truncate",children:j.label||`#${L+1}`})]},`${j.label}-${L}`)})}),c("div",{class:"overflow-x-auto pb-1",children:c("div",{style:{minWidth:`${O}px`},children:[c("div",{class:"relative h-[132px]",onMouseLeave:()=>h(null),children:[c("span",{class:"pointer-events-none absolute inset-x-0 border-t border-line-soft",style:{bottom:`${v.zero}%`},"aria-hidden":"true"}),v.series.map(j=>{const L=f[j.seriesIndex],X=_s(L,j.seriesIndex,f.length);if(j.kind==="bar")return j.points.map(C=>{const Y=ne(C.labelIndex,C.seriesIndex),K=!!n?.(C.labelIndex,C.seriesIndex),xe=Math.min(C.y,C.baseY),Se=Math.abs(C.y-C.baseY);return c("button",{type:"button",disabled:!Y,"aria-pressed":o?K:void 0,"aria-keyshortcuts":W(C.labelIndex,C.seriesIndex)&&G(C.labelIndex,C.seriesIndex)?"Space Enter":W(C.labelIndex,C.seriesIndex)?"Space":G(C.labelIndex,C.seriesIndex)?"Enter":void 0,"aria-label":ie(C.labelIndex,C.seriesIndex),onClick:ge=>{ge.stopPropagation(),re(C.labelIndex,C.seriesIndex,ge.detail)},onDblClick:ge=>{ge.stopPropagation(),ce(C.labelIndex,C.seriesIndex)},onKeyDown:ge=>_e(C.labelIndex,C.seriesIndex,ge),onMouseEnter:()=>H(C.labelIndex,C.seriesIndex),onFocus:()=>H(C.labelIndex,C.seriesIndex),onBlur:()=>h(null),class:`absolute min-h-px rounded-[2px] border-0 p-0 transition-opacity focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent ${Y?"cursor-pointer":"cursor-default"} ${l&&Y?"after:absolute after:left-1/2 after:top-1/2 after:size-10 after:-translate-x-1/2 after:-translate-y-1/2 after:content-['']":""}`,style:{background:X,bottom:`${xe}%`,height:`${Se}%`,left:`${C.barLeft}%`,width:`${C.barWidth}%`,opacity:K?1:C.labelIndex===E?.9:.65,boxShadow:K?"0 0 0 1px var(--color-accent)":void 0}},`${C.seriesIndex}-${C.labelIndex}`)});const N=j.points.some(C=>ne(C.labelIndex,C.seriesIndex)),Q=C=>{C.stopPropagation();const Y=C.currentTarget.ownerSVGElement;if(!Y)return;const K=Y.getBoundingClientRect(),xe=Hm(C.clientX,K.left,K.width,m.length);re(xe,j.seriesIndex,C.detail)},F=C=>{C.stopPropagation();const Y=C.currentTarget.ownerSVGElement;if(!Y)return;const K=Y.getBoundingClientRect(),xe=Hm(C.clientX,K.left,K.width,m.length);ce(xe,j.seriesIndex)};return c("svg",{class:"pointer-events-none absolute inset-0 size-full overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[j.areaPath&&c("path",{d:j.areaPath,fill:X,"fill-opacity":"0.16",stroke:"none",class:N?"pointer-events-auto cursor-pointer":void 0,onClick:N?Q:void 0,onDblClick:N?F:void 0}),c("path",{d:j.linePath,fill:"none",stroke:X,"stroke-width":"2","stroke-dasharray":L.strokeStyle==="dashed"?"6 3":void 0,"vector-effect":"non-scaling-stroke",class:N?"pointer-events-auto cursor-pointer":void 0,onClick:N?Q:void 0,onDblClick:N?F:void 0})]},j.seriesIndex)}),v.series.flatMap(j=>{if(j.kind==="bar")return[];const L=f[j.seriesIndex],X=_s(L,j.seriesIndex,f.length);return j.points.map(N=>{const Q=ne(N.labelIndex,N.seriesIndex),F=!!n?.(N.labelIndex,N.seriesIndex);return c("button",{type:"button",disabled:!Q,"aria-pressed":o?F:void 0,"aria-keyshortcuts":W(N.labelIndex,N.seriesIndex)&&G(N.labelIndex,N.seriesIndex)?"Space Enter":W(N.labelIndex,N.seriesIndex)?"Space":G(N.labelIndex,N.seriesIndex)?"Enter":void 0,"aria-label":ie(N.labelIndex,N.seriesIndex),onClick:C=>{C.stopPropagation(),re(N.labelIndex,N.seriesIndex,C.detail)},onDblClick:C=>{C.stopPropagation(),ce(N.labelIndex,N.seriesIndex)},onKeyDown:C=>_e(N.labelIndex,N.seriesIndex,C),onMouseEnter:()=>H(N.labelIndex,N.seriesIndex),onFocus:()=>H(N.labelIndex,N.seriesIndex),onBlur:()=>h(null),class:`absolute grid -translate-x-1/2 translate-y-1/2 place-items-center rounded-full border-0 bg-transparent p-0 focus-visible:outline-2 focus-visible:outline-accent ${l?"size-10":"size-6"} ${Q?"cursor-pointer":"cursor-default"}`,style:Ne(N),children:c("span",{"aria-hidden":"true",class:L.showDots===!1?"size-1.5 rounded-full opacity-0":F?"size-2 rounded-full ring-1 ring-accent ring-offset-1 ring-offset-surface":"size-1.5 rounded-full",style:{background:X}})},`point-${N.seriesIndex}-${N.labelIndex}`)})})]}),c("div",{class:"mt-2.5 flex gap-2 border-t border-line-soft pt-2",children:m.map((j,L)=>c("span",{title:j,class:`min-w-0 flex-1 truncate text-center font-mono text-[9.5px] ${L===E?"text-accent":"text-ink-faint"}`,children:j},L))}),ee&&c("div",{class:"mt-0.5 flex gap-2",children:m.map((j,L)=>c("div",{class:"flex min-w-0 flex-1 items-center justify-center gap-1",children:f.map((X,N)=>G(L,N)?c(Cn,{label:I?`${j} · ${X.label||`#${N+1}`}`:j,hint:u("interaction.detail.button_hint"),hintSide:L<m.length/2?"right":"left",touch:l,onToggle:()=>Te(L,N)},N):c("span",{"aria-hidden":"true",class:l?"size-10 shrink-0":"size-7 shrink-0"},N))},L))}),e.xAxisLabel&&c("div",{class:"mt-1.5 text-right font-mono text-nano text-ink-faint",children:e.xAxisLabel})]})})]}),(d||I||G(w.labelIndex,w.seriesIndex))&&m.length>0&&f.length>0&&c("div",{class:"flex flex-wrap items-center gap-x-3 gap-y-1.5 border-t border-line bg-sunken px-4 py-2.5",children:[c("span",{class:"font-mono text-[11px] font-medium text-accent",children:m[E]}),f.map((j,L)=>c("span",{class:"inline-flex items-center gap-1.5 font-mono text-meta text-ink",children:[I&&c("span",{class:"text-ink-muted",children:[j.label||`#${L+1}`,":"]}),B(j,j.values[E]??0)]},`${j.label}-${L}`)),d&&c("span",{class:"font-sans text-note text-ink-dim",children:d})]})]})}function Os(e){return encodeURIComponent(e.trim())}function HI(e,t,o){const i=o_(e,t);return i.currency?ro(o,i.currency):i.unit==="%"?vp(o,o%1===0?0:1):`${Ve(o,o%1===0?0:1)}${i.unit?` ${i.unit}`:""}`}function BI(e){return`chart:${Os(e)}`}function a_(e,t,o,i,n){const r=e.labels[i],a=e.datasets[n];if(r===void 0||!a)return null;const s=a.label||`#${n+1}`;return{id:`${t}:point:${Os(r)}:${Os(s)}`,view:o,reconcileKey:t,label:`${r} · ${s}`,value:HI(e,a,a.values[i]??0)}}function JI(e,t,o){return e.labels.flatMap((i,n)=>e.datasets.flatMap((r,a)=>{const s=a_(e,t,o,n,a);return s?[s]:[]}))}const Bm={count:0,data:[]};function s_(e){return e.kind!=="list"?Bm:e.body??Bm}function Jm({level:e,app:t,list:o,layout:i,fixture:n,onJump:r,onAsk:a,onError:s,onRefresh:d,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,children:v}){const S=fe();if(e.kind==="root")return c(Le,{children:v});if(e.loading)return c(LI,{embedded:!0});if(e.error)return c(Ft,{tone:"bad",children:e.error});const h=c(Ft,{tone:"bad",children:S("nav.unexpected_body")});if(e.kind==="record"){const b=oo(e.body);return b?c(VI,{app:t,envelope:b,levelJumps:e.jumps,layout:i,onJump:r,onAsk:a,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id},`${b.doctype}\0${b.name}`):h}if(e.kind==="chart"){const b=gI(e.body);return b?c(KI,{level:e,chart:b,layout:i,onJump:r,context:f},e.id):h}return _I(e.body)?c(UI,{app:t,data:s_(e),list:o,layout:i,fixture:n,subtitle:Ma(e,S),onError:s,onJump:r,onAsk:a,stale:e.stale,onRefresh:d,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id}):h}function KI({level:e,chart:t,layout:o,onJump:i,context:n}){const r=fe(),a=e.title,s=_o(),d=BI(e.key??e.id),l=n?.supported?n.reconcileView:void 0;Ce(()=>{l&&l(d,JI(t,d,a))},[t,d,l,a,s]);const u=(S,h)=>{if(!i)return null;const b=bI(t,S,h),g=t.labels[S],y=t.datasets[h]?.label,T=y?`${g} · ${y}`:g;return b?Ht(b,{},r("nav.linked_to",{id:T}),{key:"nav.linked_to",params:{id:T}}):null},p=(S,h)=>a_(t,d,a,S,h),m=t.labels.some((S,h)=>t.datasets.some((b,g)=>u(h,g)!==null)),f=!!n?.supported,v=f&&m?r("chart.tooltip.click_action_context"):f?r("chart.tooltip.click_action_context_only"):m?r("chart.tooltip.click_action_fallback"):void 0;return c(ZI,{chart:t,narrow:o!=="wide",caption:v,contextEnabled:f,pointKey:(S,h)=>p(S,h)?.id??`${d}:point:${S}:${h}`,isPointSelected:f?(S,h)=>{const b=p(S,h);return b?n.isSelected(b):!1}:void 0,isPointDetailEnabled:(S,h)=>u(S,h)!==null,onPointContext:f?(S,h)=>{const b=p(S,h);return b?n.toggleReversible(b):void 0}:void 0,onPointDetail:m?(S,h)=>{const b=u(S,h);b&&i?.(b)}:void 0})}function VI({app:e,envelope:t,levelJumps:o,layout:i,onJump:n,onAsk:r,onMutated:a,onDocumentChanged:s,onMutationInvalidate:d,onMutationRefresh:l,context:u,contextView:p,contextKey:m}){const f=fe(),v=Ua(t),S=qd(e.getHostCapabilities(),t.availableTools,t.refreshRequest),b=Jd({app:e,envelope:t,capabilities:S,onDocumentChanged:ee=>{a?.(ee.name),s?.(ee),d?.(),l?.()}}),g={id:t.name,name:t.name,doctype:t.doctype},y=t.sendMessageHints??[],T=t.availableTools,_=ee=>!n||!ee.tool||!e.getHostCapabilities()?.serverTools||!T?.includes(ee.tool)?null:Ht(ee,g,f("nav.linked_to",{id:t.name}),{key:"nav.linked_to",params:{id:t.name}}),z=y.map(_).filter(ee=>ee!==null),w=[...o??[],...z],E=r?y.flatMap(ee=>{if(!ee.message||_(ee))return[];const M=Nt(ee.message,g);return Zt(M)?[]:[{label:wi(ee),message:M}]}):[],I=Na(v,p??t.doctype,m),B=u?.supported?u.reconcileDocument:void 0;Ce(()=>{if(!B)return;const ee=[I,...v.childTables.flatMap(M=>M.rows.flatMap((Z,O)=>{const U=Dn(t,M,Z,O,m);return U?[U]:[]}))];B(I.id,ee)},[m,p,t,B]);const ie=w.length>0||E.length>0?c("div",{class:"flex flex-col gap-2",children:[w.length>0&&c(ft,{children:f("nav.goto")}),c(r_,{narrow:i!=="wide",jumps:w,asks:E,onJump:n,onAsk:r})]}):void 0,W=u?.supported?{label:f("context.active.toggle",{label:I.label}),selected:u.isSelected(I),onActivate:()=>void u.toggle(I)}:void 0,G=(ee,M)=>{const Z=n&&e.getHostCapabilities()?.serverTools?Kg({hints:y,rootVars:g,row:M,availableTools:T,subtitle:f("nav.linked_to",{id:t.name}),subtitleKey:"nav.linked_to",subtitleParams:{id:t.name}}):[],O=r?Vg({hints:y,rootVars:g,row:M}).filter(U=>!Z.some(H=>H.label===U.label)):[];if(!(Z.length===0&&O.length===0))return c(Le,{children:[Z.map(U=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>n?.(U),children:[U.label,c("span",{"aria-hidden":"true",children:"›"})]},`${U.tool.name}:${U.label}`)),O.map(U=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>r?.(U.message),children:[U.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${U.label}`))]})},ne=(ee,M,Z)=>{if(!u?.supported)return;const O=Dn(t,ee,M,Z,m);return O?{label:f("context.active.toggle",{label:O.label}),detailLabel:O.label,selected:u.isSelected(O),onActivate:()=>u.toggleReversible(O)}:void 0};return c(n_,{app:e,model:v,layout:i,presentation:"preview",attachments:S.canListAttachments?c(Fd,{controller:b,capabilities:S,layout:i,context:u}):void 0,actions:ie,contextTarget:W,renderChildRowActions:G,renderChildRowContextTarget:ne,childRowActionsPlacement:"visible"})}function WI(e){return typeof e=="object"&&e!==null}function Za(e){return WI(e?.message?.text)}async function tu(e,t){if(!Za(e.getHostCapabilities()))return!1;try{const o=await e.sendMessage({role:"user",content:[{type:"text",text:t}]});return!(typeof o=="object"&&o!==null&&"isError"in o&&o.isError===!0)}catch{return!1}}async function GI(e,t,o){const i=Hg(o),n=Wd(o.tool),r={outcome:"ignored",id:"",epoch:""};if(e.set(d=>{if(jn(d).loading)return d;const l=A1(d,n);if(l>=0)return r.outcome="popped",pr(d,l);const u=qg(d,i);return r.id=jn(u).id,r.epoch=Yt(d),r.outcome="pushed",u}),r.outcome!=="pushed")return r.outcome;const a=r.id,s=await Gd(t,o.tool);return e.set(d=>Yt(d)!==r.epoch?d:gn(d,a,{loading:!1,body:s.body,count:s.count,error:s.error})),r.outcome}async function YI(e,t,o,i=Wd(o.tool)){const n={...Hg(o),rootTriggerKey:i},r={outcome:"pushed",id:"",epoch:""};if(e.set(s=>{if(s.levels[1]?.rootTriggerKey===i)return r.outcome="closed",pr(s,0);const l=s.levels.length>1,u=l?pr(s,0):s,p=qg(u,n);return r.id=jn(p).id,r.epoch=Yt(s),r.outcome=l?"replaced":"pushed",p}),r.outcome==="closed")return r.outcome;const a=await Gd(t,o.tool);return e.set(s=>Yt(s)!==r.epoch?s:gn(s,r.id,{loading:!1,body:a.body,count:a.count,error:a.error})),r.outcome}async function XI(e,t){const o={id:"",epoch:""};if(e.set(s=>{const d=jn(s);return d.tool?(o.id=d.id,o.epoch=Yt(s),o.tool=d.tool,gn(s,d.id,{loading:!0})):s}),!o.tool)return!1;const{id:i,epoch:n,tool:r}=o,a=await Gd(t,r);return a.error?(e.set(s=>Yt(s)===n?gn(s,i,{loading:!1}):s),!1):(e.set(s=>Yt(s)!==n?s:Zg(gn(s,i,{loading:!1,body:a.body,count:a.count,error:void 0}),i)),!0)}function QI(e,t){const[o,i]=se(()=>Fg(t)),n=Vd(t);st(()=>{i(T=>E1(T,t))},[n,t.title,t.titleKey,t.titleParams,t.titleSuffix,t.subtitle,t.subtitleKey,t.subtitleParams]);const r=fe(),a=jn(o),s=bo(a,r),d=Ma(a,r),l=ot(()=>U1(a,r),[a,s,d]),u=ot(()=>({set:T=>i(_=>T(_))}),[]),p=Ue(T=>GI(u,e,T),[u,e]),m=Ue((T,_)=>YI(u,e,T,_),[u,e]),f=Ue(()=>i(T=>C1(T)),[]),v=Ue(T=>i(_=>pr(_,T)),[]),S=Ue(T=>{i(_=>D1(_,jn(_).id,T))},[]),h=Ue(T=>{i(_=>O1(_,Km(new Date),T))},[]),b=Ue(T=>{const _=new Date(T.committedAt);i(z=>N1(z,Km(_),T))},[]),g=Ue(()=>XI(u,e),[u,e]),y=Ue(T=>{i(_=>Zg(_,T))},[]);return{stack:o,current:l,depth:o.levels.length,isRoot:o.levels.length===1,jump:p,toggleRootChild:m,pop:f,popTo:v,patchUi:S,markStale:h,reportDocumentChange:b,refreshLevel:g,clearStale:y}}function Km(e){const t=o=>String(o).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}`}function e3(e,t,{fixture:o=!1,rootList:i}={}){const n=QI(e,t),{current:r,isRoot:a}=n,s=!o&&L1(e.getHostCapabilities()),d=!o&&Za(e.getHostCapabilities()),l=P1(a&&i?i:s_(r),r.ui,n.patchUi),u=Ue(m=>tu(e,m),[e]);return{nav:n,current:r,isRoot:a,jumpsEnabled:s,messagesEnabled:d,list:l,ask:d?u:void 0}}async function t3(e,t,o=()=>!0){return await hg(e,t)==="shared"?"context":o()?"none":"superseded"}function n3(e,t){let o=t,i=t,n=0,r={selections:[],pending:!1,failed:!1,evictedLabel:null};const a=new Set,s=t2(),d=new Set;let l=0,u=0,p=[],m=[],f=0;function v(w){if(!Object.entries(w).every(([E,I])=>r[E]===I)){r={...r,...w};for(const E of a)E(r)}}function S(w=n,E){const I=++l,B=E??I;return d.add(I),v({pending:!0}),Object.assign(W=>{if(!d.delete(I))return;const G={pending:d.size>0};W!==void 0&&w===n&&(!W||B>=u)&&(u=Math.max(u,B),G.failed=!W),v(G)},{id:I})}function h(){const w=Y$(p,m);p=w.base,m=w.mutations}function b(w,E=!1){const I={id:++f,active:!0,reversible:E,apply:w};return m.push(I),h(),I}function g(w){m.includes(w)&&(w.reversible=!1,h())}function y(w){v({selections:w})}function T(w){return w.length===0?um(e):hg(e,w.map(E=>E.item))}function _(){if(!sg(e.getHostCapabilities()))return Promise.resolve("unsupported");const w=S();return v({evictedLabel:null}),s.run(async()=>{try{const E=await um(e);return E==="cleared"&&(p=[],m=[],y([])),w(E==="unsupported"?void 0:E==="cleared"),E}finally{w()}})}function z(w){const E=n,I=()=>E===n;function B(O){return U=>cm(lm(U,w),w,O).selections}function ie(O,U){const H=U&&r.selections.find(q=>q.scopeKey===w&&q.item.id===O.id);if(H){const q=re=>dm(re,H);return{selections:q(r.selections),evicted:null,removing:!0,apply:q}}return{...cm(lm(r.selections,w),w,O),removing:!1,apply:B(O)}}function W(O,U=!1){const H=S(E);return s.run(async()=>{try{if(!I())return"superseded";const q=ie(O,U),re=q.removing?await T(q.selections):void 0,ce=q.removing?re==="shared"||re==="cleared"?"context":"none":await t3(e,q.selections.map(_e=>_e.item),I);return ce==="context"&&(b(q.apply),y(q.selections),I()&&(q.removing||q.evicted)&&v({evictedLabel:q.evicted?.item.label??null})),H(ce==="context"),I()?ce:"superseded"}finally{H()}})}function G(O,U=!1){const H=S(E);let q=H.id;const re=s.run(async()=>{try{if(!I())return()=>!1;const ce=ie(O,U),_e=await T(ce.selections);if(_e!=="shared"&&_e!=="cleared")return H(!1),()=>!1;const Te=b(ce.apply,!0);y(ce.selections),I()&&(ce.removing||ce.evicted)&&v({evictedLabel:ce.evicted?.item.label??null}),H(!0);const Ne=()=>{const j=S(E,q);return s.run(async()=>{try{if(!Te.active||!m.includes(Te))return!0;Te.active=!1;const L=fg(m,p);if(Qa(r.selections,L))return!0;const X=await T(L),N=X==="shared"||X==="cleared";return N?(y(L),v({evictedLabel:null})):Te.active=!0,j(N),N}finally{j()}})};return Ne.release=()=>g(Te),Ne}finally{H()}});return Object.assign(re,{retainPending:()=>{const ce=S(E);return q=ce.id,ce}})}function ne(O){const U=S(E);return s.run(async()=>{try{if(!I())return"superseded";const H=_e=>dm(_e,O),q=H(r.selections);if(Qa(r.selections,q))return b(H),"unchanged";const re=await T(q),ce=re==="shared"||re==="cleared";return ce&&(b(H),y(q)),U(ce),re}finally{U()}})}function ee(O){return s.run(async()=>{if(!I())return"unchanged";const U=O(r.selections);if(Qa(r.selections,U))return b(O),"unchanged";const H=S(E);try{const q=await T(U),re=q==="shared"||q==="cleared";return re&&(b(O),y(U)),H(re),q}finally{H()}})}function M(){return r.pending?new Promise(O=>{const U=H=>{H.pending||(a.delete(U),O())};a.add(U)}):Promise.resolve()}async function Z(O,U){if(!await U||!I())return!1;for(;I();){await M();const H=await s.run(()=>!I()||r.failed?Promise.resolve("cancel"):r.pending?Promise.resolve("retry"):(O(),Promise.resolve("sent")));if(H!=="retry")return H==="sent"}return!1}return{activate:W,activateReversible:G,toggle:O=>W(O,!0),toggleReversible:O=>G(O,!0),remove:ne,clear:_,runConversation:Z,reconcile:O=>ee(U=>X$(U,w,O)),reconcileView:(O,U)=>ee(H=>Q$(H,w,O,U)),reconcileDocument:(O,U)=>ee(H=>e2(H,w,O,U)),isSelected:O=>r.selections.some(U=>U.scopeKey===w&&U.item.id===O.id)}}return{getSnapshot:()=>r,subscribe(w){return a.add(w),()=>{a.delete(w)}},setScope(w){o!==w&&(o=w,n+=1)},clearPreviousScope(){if(i!==o)return i=o,_()},dismissEviction:()=>v({evictedLabel:null}),actionsForScope:z}}function o3(e,t){const o=ot(()=>n3(e,t),[e]),[i,n]=se(o.getSnapshot);o.setScope(t);const r=ot(()=>o.actionsForScope(t),[o,t]);return st(()=>{const a=o.subscribe(n);return n(o.getSnapshot()),a},[o]),st(()=>{o.clearPreviousScope()},[o,t]),Ce(()=>{if(!i.evictedLabel)return;const a=setTimeout(o.dismissEviction,2400);return()=>clearTimeout(a)},[o,i.evictedLabel]),{...i,supported:sg(e.getHostCapabilities()),...r}}function i3(e,t){const o=[];e.kind==="record"&&o.push(t("nav.kind.record")),e.kind==="chart"&&o.push(t("nav.kind.chart"));const i=Ma(e,t);i&&o.push(i);const n=e.ui;typeof n.sortKey=="string"&&n.sortKey&&o.push(t("nav.ui.sort",{key:n.sortKey.replace(/_/g," "),dir:n.sortDir==="desc"?"↓":"↑"})),typeof n.filter=="string"&&n.filter&&o.push(t("nav.ui.filter",{q:n.filter}));for(const[r,a]of Object.entries(n.chipFilters??{}))a&&o.push(t("nav.ui.filter",{q:`${r.replace(/_/g," ")} ${a}`}));return typeof n.page=="number"&&n.page>0&&o.push(t("nav.ui.page",{n:n.page+1})),typeof n.expandedId=="string"&&n.expandedId&&o.push(t("nav.ui.active",{id:n.expandedId})),o.join(" · ")}const c_=c("span",{class:"font-mono text-[11px] text-line-hover",children:"/"});function Vm({stack:e,onBack:t,onJump:o,loading:i,layout:n}){const r=fe(),[a,s]=se(!1),d=me(null),l=R1(e);if(Ce(()=>{if(!a)return;const m=f=>{d.current?.contains(f.target)||s(!1)};return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[a]),Ce(()=>s(!1),[e.levels.length]),!l.showBar)return null;const u=l.current.level,p=u.kind==="chart"?r("nav.kind.chart"):u.kind==="record"?r("nav.kind.record"):r("nav.kind.list");return c("nav",{"aria-label":r("nav.trail"),class:"relative shrink-0 border-b border-line bg-sunken",onKeyDown:m=>{m.key==="Escape"&&s(!1)},children:[c("div",{class:A("flex h-9 min-w-0 items-center gap-[9px]",n&&n!=="wide"?"px-3":"px-4"),children:[c("button",{type:"button","aria-label":r("nav.back"),title:r("nav.back"),onClick:t,class:A(n==="mobile"?"size-10 -ml-2":"size-6","flex shrink-0 items-center justify-center rounded-[4px] font-mono text-[15px] font-medium text-accent transition-colors hover:bg-accent/12 active:bg-accent/20 active:text-accent-text focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),children:"‹"}),l.trail.map(m=>"elided"in m?c("span",{class:"contents",children:[c("button",{type:"button","aria-expanded":a,"aria-haspopup":"menu","aria-label":r("nav.elided_title"),onClick:()=>s(f=>!f),class:A("rounded-[3px] border px-1.5 py-0.5 font-mono text-[11px] transition-colors",a?"border-accent bg-accent/12 text-ink":"border-dotted border-line-modal text-ink-dim hover:border-line-hover hover:text-ink"),children:r("nav.elided",{n:m.elided.length})}),c_]},`elided:${m.elided[0]?.index}`):c(r3,{crumb:m,onJump:o},m.level.id)),c("span",{"aria-current":"page",class:"truncate font-mono text-[11.5px] font-medium text-ink",children:bo(u,r)}),c("div",{class:"flex-1"}),i?c("span",{class:"flex items-center gap-1.5",children:[c("span",{class:"size-[5px] rounded-full bg-accent"}),c("span",{class:"font-mono text-[10px] uppercase tracking-live text-accent",children:r("nav.loading")})]}):c(Le,{children:[c("span",{class:A("rounded-[3px] border px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-label",u.kind==="chart"?"border-brand/40 text-brand":"border-line text-ink-faint"),children:p}),u.count!==void 0&&u.kind==="list"&&c("span",{class:"rounded-[3px] bg-count px-[7px] py-0.5 font-mono text-[11px] text-ink-muted",children:u.count})]})]}),a&&c("div",{ref:d,role:"menu",class:"absolute left-4 top-9 z-20 w-[300px] overflow-hidden rounded-b-[6px] border border-line-modal bg-control shadow-modal",children:l.elided.map(m=>c("button",{type:"button",role:"menuitem",onClick:()=>o(m.index),class:"flex w-full items-baseline gap-2.5 border-b border-line-soft px-3.5 py-[9px] text-left transition-colors last:border-b-0 hover:bg-row-hover",children:[c("span",{class:"w-[10px] shrink-0 font-mono text-[10px] text-ink-faint",children:m.index+1}),c("span",{class:"flex min-w-0 flex-col gap-0.5",children:[c("span",{class:"truncate font-mono text-[11.5px] text-ink",children:bo(m.level,r)}),c("span",{class:"font-sans text-[11px] text-ink-dim",children:i3(m.level,r)})]})]},m.level.id))})]})}function r3({crumb:e,onJump:t}){const o=fe(),i=e.level.stale;return c(Le,{children:[c("button",{type:"button",onClick:()=>t(e.index),title:i?o("nav.stale_values",{at:i.at}):void 0,class:A("truncate border-b border-transparent pb-px font-mono text-[11.5px] transition-colors hover:border-accent hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e.level.origin==="chart"?"text-brand":"text-ink-muted"),children:[i&&c("span",{"aria-hidden":"true",class:"mr-1.5 inline-block size-[5px] rounded-full bg-warn align-middle"}),bo(e.level,o)]}),c_]})}function Wm({status:e}){return c("span",{class:A("rounded-badge py-[2px] px-[7px]","font-mono text-micro uppercase tracking-chip",qa[$i(e)]),children:e})}const a3={_availableTools:[],data:{doctype:"Sales Invoice",name:"ACC-SINV-2026-00042",customer:"CUST-ACME",customer_name:"Acme Corp",company:"Casys",posting_date:"2026-08-01",due_date:"2026-08-31",status:"Unpaid",docstatus:1,grand_total:2160,net_total:1800,total_taxes_and_charges:360,outstanding_amount:2160,currency:"EUR",contact_email:"billing@acme.test",items:[{item_code:"ITEM-LAPTOP",item_name:"Laptop Pro 14",qty:2,rate:800,amount:1600},{item_code:"ITEM-MOUSE",item_name:"Wireless Mouse",qty:2,rate:100,amount:200}]},refreshRequest:{toolName:"erpnext_sales_invoice_get",arguments:{name:"ACC-SINV-2026-00042"}},_sendMessageHints:[{key:"payments",label:"Payments",message:"Show payment entries for invoice {id}",tool:"erpnext_doc_list",args:{doctype:"Payment Entry",fields:["name","posting_date","paid_amount","mode_of_payment","docstatus"],filters:[["Payment Entry Reference","reference_name","=","{id}"]],limit:20},kind:"list"},{key:"customer",label:"Customer",message:"Show customer CUST-ACME",tool:"erpnext_customer_get",args:{name:"CUST-ACME"},kind:"record"},{key:"item",label:"Item",message:"Show item {item}",tool:"erpnext_item_get",args:{name:"{item}"},kind:"record"},{key:"stock",label:"Stock",message:"Show stock balance for item {item}",tool:"erpnext_stock_balance",args:{item_code:"{item}",limit:50},kind:"list"}]},s3=[{id:"FILE-SINV-00042-PDF",fileName:"ACC-SINV-2026-00042.pdf",fileSize:184320,isPrivate:!0},{id:"FILE-SINV-00042-DELIVERY",fileName:"signed-delivery-note.png",fileSize:426812,isPrivate:!1}],c3={"ITEM-LAPTOP":{item:{name:"ITEM-LAPTOP",item_name:"Laptop Pro 14",item_group:"Products",stock_uom:"Nos",standard_rate:800},stock:[{warehouse:"Stores - CI",actual_qty:12},{warehouse:"Finished Goods - CI",actual_qty:3}]},"ITEM-MOUSE":{item:{name:"ITEM-MOUSE",item_name:"Wireless Mouse",item_group:"Products",stock_uom:"Nos",standard_rate:100},stock:[{warehouse:"Stores - CI",actual_qty:48},{warehouse:"Finished Goods - CI",actual_qty:0}]}};function l3(){return typeof window>"u"?!1:new URLSearchParams(globalThis.location.search).has("fixture")}function Gm(e,t,o,i){return{doctype:e,name:t,mutation:o,committedAt:i,source:"invoice-viewer"}}function ys(e,t){return t==="mutation-committed"}const d3={"Sales Order":{submit:"erpnext_sales_order_submit",cancel:"erpnext_sales_order_cancel"},"Sales Invoice":{submit:"erpnext_sales_invoice_submit"}};function u3(e,t,o,i=!1){if(i)return{submit:null,cancel:null};const n=d3[e],r=n?.submit&&yt(o,n.submit)?{toolName:n.submit,args:{name:t}}:yt(o,"erpnext_doc_submit")?{toolName:"erpnext_doc_submit",args:{doctype:e,name:t}}:null,a=n?.cancel&&yt(o,n.cancel)?{toolName:n.cancel,args:{name:t}}:yt(o,"erpnext_doc_cancel")?{toolName:"erpnext_doc_cancel",args:{doctype:e,name:t}}:null;return{submit:r,cancel:a}}function Ns(e,t,o){return e!==null||t||o}const m3=new Set(["item","stock"]);function p3(e,t,o,i,n){if(!e?.length)return[];const r=new Set,a=Object.fromEntries(Object.entries(t).filter(([,s])=>s!==""));return e.flatMap((s,d)=>{const l=s.key?.trim()||`related-${d}`;if(m3.has(l)||r.has(l))return[];const u=n&&s.tool&&yt(i,s.tool)?Ht(s,a,o):null,p=s.message?Nt(s.message,a):null,m=p&&!Zt(p)?p:null;return!u&&!m?[]:(r.add(l),[{key:l,label:u?.label??wi(s),jump:u,message:m}])})}const Ym=1e4;function Xm({app:e,itemCode:t,onClose:o,fixture:i,lineIndex:n,lineCount:r,taxRate:a,availableQty:s,lineQty:d,hints:l,availableTools:u,onJump:p}){const m=fe(),f={item:t},v=m("nav.linked_to",{id:t}),S=l?.filter(Z=>!Z.tool||yt(u,Z.tool)),h=p?Ht(S?.find(Z=>Z.key==="stock")??{label:""},f,v):null,b=p?Ht(S?.find(Z=>Z.key==="item")??{label:""},f,v):null,g=!i&&Za(e.getHostCapabilities()),[y,T]=se(null),[_,z]=se(null),[w,E]=se(!0),[I,B]=se(null);Ce(()=>{if(i){const q=c3[t];q?(T(q.item),z(q.stock)):B(m("invoice.item.error.load_failed")),E(!1);return}const Z=e.getHostCapabilities()?.serverTools,O=As(Z,u,"erpnext_item_get"),U=As(Z,u,"erpnext_stock_balance");if(!O&&!U){E(!1);return}let H=!1;return(async()=>{try{const[q,re]=await Promise.all([O?e.callServerTool({name:"erpnext_item_get",arguments:{name:t}},{timeout:Ym}):Promise.resolve(null),U?e.callServerTool({name:"erpnext_stock_balance",arguments:{item_code:t}},{timeout:Ym}):Promise.resolve(null)]);if(H)return;if(q&&!q.isError){const _e=it(q);if(_e){const Te=JSON.parse(_e);T(Te.data??Te)}}if(re&&!re.isError){const _e=it(re);if(_e){const Te=JSON.parse(_e);z(Te.data??[])}}const ce=[q,re].filter(_e=>_e!==null);ce.length>0&&ce.every(_e=>_e?.isError===!0)&&B(m("invoice.item.error.load_failed"))}catch(q){H||B(q instanceof Error?q.message:m("invoice.item.error.load_failed"))}finally{H||E(!1)}})(),()=>{H=!0}},[t,i,u]);async function ie(Z){const O=await tu(e,Z);return O||B(m("invoice.error.action_failed")),O}const W=y?.stock_uom!=null?String(y.stock_uom):void 0,G=_?.[0]?.warehouse!=null?String(_[0].warehouse):void 0,ne=a??(y?.item_tax_rate!=null?Number(y.item_tax_rate):void 0),ee=s??_?.reduce((Z,O)=>Z+Number(O.actual_qty??0),0),M=ee!==void 0&&d!==void 0&&ee<d;return c("div",{class:"border-t border-line-soft bg-sunken",children:[c("div",{class:"flex items-center justify-between border-b border-line-soft px-4 py-2.5",children:[c("div",{class:"flex items-baseline gap-2",children:[c("span",{class:"truncate font-mono text-cell font-medium text-ink",children:t}),c("span",{class:"font-mono text-chip text-ink-faint",children:m("invoice.item.position",{n:n+1,total:r})})]}),c(nt,{variant:"quiet",class:"text-chip py-0.5 px-1.5",onClick:o,"aria-label":m("invoice.item.close.aria_label"),children:m("common.close")})]}),w&&c(Ft,{children:m("invoice.item.loading")}),I&&c(Ft,{tone:"bad",children:I}),!w&&!I&&c("div",{class:"grid grid-cols-4 gap-x-5 px-4 py-3",children:[c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.uom")}),c("span",{class:"font-mono text-data text-ink-2",children:W??"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.warehouse")}),c("span",{class:"font-mono text-data text-ink-2",children:G??"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.vat")}),c("span",{class:"font-mono text-data text-ink-2",children:ne!==void 0?`${ne} %`:"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.available")}),c("span",{class:A("font-mono text-data",M?"text-warn":"text-ink-2"),children:ee!==void 0?String(ee):"—"})]})]}),c("div",{class:"flex flex-wrap gap-1.5 px-4 pb-3",children:[Ns(h,g,!!i)&&c(nt,{variant:"accent",disabled:i,title:m(i?"invoice.preview.title":"invoice.item.btn.stock.title"),class:"group",onClick:()=>{h?p(h):ie(m("invoice.item.stock.message",{itemCode:t}))},children:[m("invoice.item.btn.stock.label"),h&&c("span",{"aria-hidden":"true",class:"ml-1 text-accent opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",children:"›"})]}),Ns(b,g,!!i)&&c(nt,{variant:"secondary",disabled:i,title:m(i?"invoice.preview.title":"invoice.item.btn.details.title"),class:"group",onClick:()=>{b?p(b):ie(m("invoice.item.details.message",{itemCode:t}))},children:[m("invoice.item.btn.details.label"),b&&c("span",{"aria-hidden":"true",class:"ml-1 text-accent opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",children:"›"})]})]})]})}function f3(e){const t=e.refreshRequest,o=t?.arguments?.doctype;if(typeof o=="string"&&o.trim()!=="")return o;const i=t?.toolName??"";if(i.startsWith("erpnext_sales_order_"))return"Sales Order";if(i.startsWith("erpnext_sales_invoice_"))return"Sales Invoice";if(i.startsWith("erpnext_quotation_"))return"Quotation";const n=e.data??e;return typeof n.customer=="string"&&n.customer.trim()!==""?"Sales Invoice":"Purchase Invoice"}function h3(e){const t=e.data??e;if(typeof t!="object"||t===null)return null;const o=t;return typeof o.name!="string"||o.name.trim()===""?null:typeof o.doctype=="string"&&o.doctype.trim()!==""?o:{...o,doctype:f3(e)}}function Qm(e){const t=h3(e);if(!t)return null;const o=an({...e,data:t});if(!o)return null;const i=OI(e);return{...o,document:o.document,...i!==void 0?{availableTools:i}:{}}}const Je=new Rd({name:"Invoice Viewer",version:"3.0.0"}),b3=15e3,ep=1e4,Gi=1500,v3=960;function g3(){const e=fe(),t=l3(),o=t?Qm(a3):null,[i,n]=se(o),[r,a]=se(!t),[s,d]=se(!1),[l,u]=se(!1),[p,m]=se(null),[f,v]=se(null),[S,h]=se(null),[b,g]=se(!1),[y,T]=se(!1),[_,z]=se(0),[w,E]=se(0),I=Ug(),B=me(null),ie=me(o),W=me(o?.refreshRequest??null),G=me(C2()),ne=me(null),ee=me(0),M=me(o?.availableTools),Z=me(!1),O=me(!1),U=me(!1),H=me(0),q=me(!0);st(()=>(q.current=!0,()=>{q.current=!1}),[]);function re(Q){ie.current=Q,n(Q),U.current=!1,O.current=!1,T(F=>ys(F,"canonical-hydrated")),z(++H.current)}function ce(Q){if(Q.isError){const C=it(Q);return m(C??e("invoice.error.tool_error")),a(!1),!1}const F=it(Q);if(!F)return!1;try{const C=JSON.parse(F),Y=Qm(C);if(!Y)throw new Error("Missing explicit document identity");M.current=Y.availableTools;const K=A2(C,W.current);return W.current=K,re({...Y,...K?{refreshRequest:K}:{}}),m(null),a(!1),!0}catch{return m(e("invoice.error.parse_failed")),a(!1),!1}}async function _e(Q={}){if(t||U.current)return!1;const F=G.current;if(Q.force){if(F.inFlight!==null)return G.current=hm(F,{force:!0}).state,ne.current??!1;G.current={...bm(F),pendingForced:!0}}else if(F.inFlight!==null)return!1;const C=(async()=>{try{for(;;){const Y=G.current,K=W.current,xe=Y.pendingForced;if(!K||!Je.getHostCapabilities()?.serverTools||!yt(M.current,K.toolName)||!j2({request:K,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:!1,now:Date.now(),lastRefreshStartedAt:ee.current,minIntervalMs:b3},{ignoreInterval:Q.ignoreInterval||xe}))return!1;const Se=hm(Y,{force:xe});if(Se.generation===null)return!1;G.current=Se.state,ee.current=Date.now(),u(!0);let ge=null,Pe=null;try{ge=await Je.callServerTool({name:K.toolName,arguments:K.arguments},{timeout:ep})}catch(un){Pe={cause:un}}const Fe=D2(G.current,Se.generation);G.current=Fe.state;let Be=!1;if(Fe.accept&&(Pe?m(O2(Pe.cause)):ge?.isError?m(e("invoice.error.refresh_failed")):ge&&(Be=ce(ge))),!Fe.runPending)return Be}}finally{u(!1)}})();return ne.current=C,C.finally(()=>{ne.current===C&&(ne.current=null)}),C}function Te(){G.current=bm(G.current)}function Ne(){U.current=!0,Te(),E(++H.current)}function j(){return U.current=!1,_e({ignoreInterval:!0,force:!0})}async function L(Q,F,C,Y,K,xe){if(t||Z.current||O.current||!q.current||!Je.getHostCapabilities()?.serverTools||!yt(M.current,F))return;Z.current=!0,v(Q),h(null),g(!1);const Se=()=>{const ge=ie.current;return q.current&&ge?.doctype===K.doctype&&ge.name===K.name};try{let ge;try{ge=await Je.callServerTool({name:F,arguments:C},{timeout:ep})}catch(Fe){const Be=dr(F,C,{transportFailure:Fe});if(Be.applies&&Be.reread){if(!Se()||(O.current=!0,T(!0),g(!0),h(e("document.purchase_invoice.submit.transport")),Ne(),await new Promise(un=>setTimeout(un,Gi)),!Se()))return;await j();return}throw Fe}if(!Se())return;const Pe=dr(F,C,{result:ge});if(Pe.applies){if(Pe.kind==="error"){const Be=it(ge);g(!0),h(Be??e("invoice.error.action_failed"));return}if(Pe.reread&&(O.current=!0,T(Be=>ys(Be,"mutation-committed"))),Pe.emitCommittedEvent&&xe(Gm(K.doctype,K.name,Q,new Date().toISOString())),Pe.reread&&Ne(),g(!Pe.claimSubmitted),h(Pe.claimSubmitted?Y:e("document.purchase_invoice.submit.unconfirmed")),await new Promise(Be=>setTimeout(Be,Gi)),!Se())return;const Fe=await j();if(!Se())return;!Fe&&Pe.claimSubmitted&&O.current&&(g(!0),h(e("invoice.error.refresh_failed")));return}if(ge.isError){const Fe=it(ge);g(!0),h(Fe??e("invoice.error.action_failed"))}else{if(O.current=!0,T(Be=>ys(Be,"mutation-committed")),xe(Gm(K.doctype,K.name,Q,new Date().toISOString())),Ne(),g(!1),h(Y),await new Promise(Be=>setTimeout(Be,Gi)),!Se())return;const Fe=await j();if(!Se())return;!Fe&&O.current&&(g(!0),h(e("invoice.error.refresh_failed")))}}catch{Se()&&(g(!0),h(e("invoice.error.action_failed")))}finally{Z.current=!1,q.current&&v(null)}}async function X(Q,F){if(t)return!1;v(Q),h(null),g(!1);const C=await tu(Je,F);return C||(g(!0),h(e("invoice.error.action_failed"))),v(null),C}if(Ce(()=>{t||(Je.ontoolresult=Q=>{Te(),ce(Q)},Je.ontoolinputpartial=()=>{ie.current||a(!0)},Je.connect().then(()=>H_(Je)).catch(()=>d(!0)))},[t]),Ce(()=>{if(t)return;const Q=()=>void _e({ignoreInterval:!0}),F=()=>{document.visibilityState==="visible"&&_e({ignoreInterval:!0})};return window.addEventListener("focus",Q),document.addEventListener("visibilitychange",F),()=>{window.removeEventListener("focus",Q),document.removeEventListener("visibilitychange",F)}},[t]),r||!i){const Q=s&&!i;return c(cr,{containerRef:B,children:[c(Ft,{tone:Q?"bad":"neutral",children:e(Q?"common.error.connect_failed":r?"invoice.loading":"invoice.no_data")}),c(mr,{confirm:I})]})}const N=i.document;return c(_3,{data:N,envelope:i,mutationCommitted:y,error:p,refreshing:l,fixture:t,confirm:I,actionLoading:f,actionMessage:S,actionIsError:b,rootFreshEvent:_,rootMutationEvent:w,callAction:L,onBeginCanonicalReadback:Ne,onCanonicalRefresh:j,onNavigate:X,setError:m})}function _3(e){const t=j1("invoice",void 0,{doctype:e.data.doctype,name:e.data.name}),o=o3(Je,t);return _n(y3,{...e,key:`${e.data.doctype}:${e.data.name}`,rootKey:t,activeContext:o})}function y3({data:e,envelope:t,rootKey:o,activeContext:i,mutationCommitted:n,error:r,refreshing:a,fixture:s,confirm:d,actionLoading:l,actionMessage:u,actionIsError:p,rootFreshEvent:m,rootMutationEvent:f,callAction:v,onBeginCanonicalReadback:S,onCanonicalRefresh:h,onNavigate:b,setError:g}){const{ref:y,width:T,layout:_}=m1(),z=fe(),w=e3(Je,{title:e.name,kind:"root",origin:"record",key:o},{fixture:s}),E=Fa(),I=w.nav,B=I.stack.levels[0].id;st(()=>{m>f&&I.clearStale(B)},[m,f,B]);const{list:ie}=w,[W,G]=se(null),[ne,ee]=se(!1),M=me(null),Z=me(0),O=me(!0);st(()=>(O.current=!0,()=>{O.current=!1}),[]),Ce(()=>()=>{Z.current+=1,M.current!==null&&clearTimeout(M.current)},[]);const U=s?void 0:Je.getHostCapabilities(),H={supported:!s&&i.supported,activate:i.activate,activateReversible:i.activateReversible,toggle:i.toggle,toggleReversible:i.toggleReversible,reconcileView:i.reconcileView,reconcileDocument:i.reconcileDocument,isSelected:i.isSelected,canShareResource:V=>sm(U,V)},q=t.availableTools,re=t.sendMessageHints?[...t.sendMessageHints]:null,ce=qd(U,q,t.refreshRequest),_e={...ce,canUploadAttachment:ce.canUploadAttachment&&l===null&&!n&&!ne};function Te(V=!0){if(!O.current)return;V&&S(),ee(!0);const je=++Z.current;M.current!==null&&clearTimeout(M.current),M.current=window.setTimeout(()=>{if(M.current=null,!O.current)return;const qe=()=>!O.current||Z.current!==je?!1:(ee(!1),!0);h().then(Re=>{qe()&&!Re&&g(z("invoice.error.refresh_failed"))},()=>{qe()&&g(z("invoice.error.refresh_failed"))})},Gi)}const Ne=Jd({app:Je,envelope:t,capabilities:_e,fixtureFiles:s?s3:void 0,onDocumentChanged:V=>{I.reportDocumentChange(V),Te()}}),j=Ne.state.upload!=="idle"&&Ne.state.upload!=="error",L=e.currency??"EUR",X=e.doctype,N=e.customer_name??e.customer??e.supplier_name??e.supplier??e.party_name??"—",Q=e.outstanding_amount??0,F=Q<=0,C=e.items??[],Y=e.net_total??C.reduce((V,je)=>V+je.amount,0),K=e.total_taxes_and_charges??(e.grand_total??0)-Y,xe=e.status==="Draft"||e.docstatus===0,Se=e.docstatus===1,ge=Ra(X,e),Pe=wg(X,e),Fe=`invoice-rounding-note-${e.name.replace(/[^A-Za-z0-9_-]/g,"-")}`,Be=V=>c("div",{class:"flex min-w-0 items-center justify-end gap-1",children:[c("span",{class:V,children:ge?qt(ge.amount,ge.currency):ro(e.grand_total,L)}),ge?.showNote&&c(Og,{calculatedTotal:ge.calculatedTotal,roundingAdjustment:ge.roundingAdjustment,invoiceTotal:ge.amount,currency:ge.currency,isDraft:xe,panelId:Fe})]}),un=!!U?.serverTools,l_=un&&(yt(q,"erpnext_item_get")||yt(q,"erpnext_stock_balance")),nu=!s&&Za(Je.getHostCapabilities()),vt=l_||nu||s,mn=C.map((V,je)=>({...V,idx:je})),ou=Ua(t),pn=ou.childTables.find(V=>V.key==="items"),Si=`${X} · ${e.name}`,Wn=Na(ou,Si),Ii=I.isRoot&&H.supported?{label:z("context.active.toggle",{label:Wn.label}),selected:H.isSelected(Wn),onActivate:async()=>{await H.toggle(Wn)}}:void 0,d_=[Wn,...pn?pn.rows.flatMap((V,je)=>{const qe=Dn(t,pn,V,je);return qe?[qe]:[]}):[]],Ha=H.supported?H.reconcileDocument:void 0;Ce(()=>{Ha&&Ha(Wn.id,d_)},[Si,t,Ha]);const Gn=V=>`invoice-line-${V}-detail`,iu=(V,je)=>{const qe=pn?.rows[je],Re=H.supported&&pn&&qe?Dn(t,pn,qe,je):null;if(!Re&&!vt)return;const gt=Re?.label??V.item_code,v_=Re?H.isSelected(Re):void 0;return{label:vt?z(Re?W===V.idx?"document.row.close_detail":"document.row.open_detail":W===V.idx?"document.row.close_detail_only":"document.row.open_detail_only",{label:gt}):z("context.active.toggle",{label:gt}),selected:v_,expanded:vt?W===V.idx:void 0,detailLabel:gt,controls:vt?Gn(je):void 0,onActivate:()=>{if(Re){if(vt)return H.toggleReversible(Re);H.toggle(Re)}},doublePolicy:"local",onDoubleActivate:vt?()=>G(W===V.idx?null:V.idx):void 0}},Ba=s?z("invoice.preview.title"):void 0,zi=_==="wide",Yn=_==="mobile",Ja=I.stack.levels[0].stale,ru=I.isRoot&&Ja?c("span",{role:"status","aria-label":z("nav.stale_values",{at:Ja.at}),title:z("nav.stale_title"),class:"inline-flex items-center gap-1.5 font-mono text-nano text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),!Yn&&c("span",{children:z("nav.stale_values",{at:Ja.at})})]}):null,au=c(Z$,{selections:i.selections,failed:i.failed,pending:i.pending,evictedLabel:i.evictedLabel,onRemove:i.remove,onClear:i.clear,compact:!zi,popoverAlign:zi?"start":"end"}),su=s||ce.canListAttachments,Ti=su&&zi&&T!==null&&T>=v3,Xn=su?c(Fd,{controller:Ne,capabilities:_e,layout:_,context:{canShareResource:V=>sm(U,V),activate:i.activate,isSelected:i.isSelected}}):null,{jumpsEnabled:Qn}=w,u_=e.customer??e.supplier??e.party_name??"",m_=z("nav.linked_to",{id:e.name}),p_=p3(re,{id:e.name,doctype:X,party:u_},m_,q,Qn),xt=u3(X,e.name,un?q:[],n),Ka=zg({docstatus:e.docstatus,status:e.status,canSubmit:!!xt.submit&&!ne&&!j,canCancel:!!xt.cancel&&!ne&&!j}),Pi=Tg(X,e.name,e);st(()=>{Pg(d.pending,Ka,Pi)&&d.dismiss()},[d.pending,Ka.submit,Ka.cancel,Pi]);const{ask:cu}=w,lu=c(Le,{children:[r&&c("div",{class:"px-4 pt-3",children:c(Ft,{tone:"bad",children:r})}),!r&&u&&c("div",{class:"px-4 pt-3",children:c(Ft,{tone:p?"bad":"neutral",children:u})})]});function f_(V){if(!Ns(V.jump,nu&&V.message!==null,s))return null;const je=`nav_${V.key}`;return c(nt,{variant:V.key==="payments"?"accent":"secondary",class:A("group",Yn?"min-h-[44px] w-full rounded-touch text-body":"text-cell"),disabled:s||l===je,title:s?Ba:z("invoice.btn.related.title",{label:V.label}),onClick:()=>{V.jump?I.jump(V.jump):V.message&&b(je,V.message)},children:[l===je?"…":V.label,V.jump&&c("span",{"aria-hidden":"true",class:A("ml-1 text-accent",!Yn&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},V.key)}const Va=p_.map(f_),Wa=xe&&(xt.submit||s)&&c(nt,{variant:"accent",class:Yn?"min-h-[44px] rounded-touch text-body":"text-cell",disabled:s||l==="submit"||ne||j,title:s?Ba:z("invoice.btn.submit.title"),onClick:()=>d.request({subject:Ds(X,e.name),key:"submit",documentSnapshot:Pi,tone:"accent",title:z("invoice.confirm.submit"),titleKey:"invoice.confirm.submit",detail:Pe?z("invoice.confirm.submit.detail_with_amount",{amount:Pe}):z("invoice.confirm.submit.detail"),detailKey:Pe?"invoice.confirm.submit.detail_with_amount":"invoice.confirm.submit.detail",actionLabel:Pe?z("invoice.confirm.submit.action_with_amount",{amount:Pe}):z("invoice.confirm.submit.action"),actionLabelKey:Pe?"invoice.confirm.submit.action_with_amount":"invoice.confirm.submit.action",params:Pe?{amount:Pe}:void 0,onConfirm:()=>{xt.submit&&v("submit",xt.submit.toolName,xt.submit.args,z("invoice.action.submitted"),{doctype:X,name:e.name},I.reportDocumentChange)}}),children:l==="submit"?"…":z("invoice.btn.submit.label")}),Ga=Se&&(xt.cancel||s)&&c(nt,{variant:"danger",class:A("border-bad/30",Yn?"w-full min-h-[44px] rounded-touch text-body":"ml-auto text-cell"),disabled:s||l==="cancel"||ne||j,title:s?Ba:z("invoice.btn.cancel.title"),onClick:()=>d.request({subject:Ds(X,e.name),key:"cancel",documentSnapshot:Pi,title:z("invoice.confirm.cancel"),titleKey:"invoice.confirm.cancel",detail:z("invoice.confirm.cancel.detail"),detailKey:"invoice.confirm.cancel.detail",actionLabel:z("invoice.confirm.cancel.action"),actionLabelKey:"invoice.confirm.cancel.action",onConfirm:()=>{xt.cancel&&v("cancel",xt.cancel.toolName,xt.cancel.args,z("invoice.action.cancelled"),{doctype:X,name:e.name},I.reportDocumentChange)}}),children:l==="cancel"?"…":z("invoice.btn.cancel.label")}),h_=!!(Va.some(V=>V!==null)||Wa||Ga),b_=c("div",{class:"flex flex-col gap-1.5 bg-sunken border-l border-line px-4 py-3.5",children:[c("div",{class:"flex items-baseline justify-between",children:[c("span",{class:"font-mono text-meta text-ink-faint",children:z("invoice.totals.subtotal")}),c("span",{class:"font-mono text-body tabular-nums text-ink-2",children:Ve(Y)})]}),c("div",{class:"flex items-baseline justify-between",children:[c("span",{class:"font-mono text-meta text-ink-faint",children:z("invoice.totals.taxes")}),c("span",{class:"font-mono text-body tabular-nums text-ink-faint",children:K!==0?Ve(K):"—"})]}),c("div",{class:"flex items-center justify-between border-t border-line-soft pt-2",children:[c("span",{class:"font-mono text-meta uppercase tracking-chip text-ink-muted",children:z(ge?"document.purchase_invoice.total":"invoice.totals.grand_total")}),Be("font-display font-semibold tabular-nums text-ink text-[19px]")]})]});return zi?c(cr,{containerRef:y,children:[c("div",{class:"grid gap-5 border-b border-line p-4",style:{gridTemplateColumns:"1fr auto"},children:[c("div",{class:"flex min-w-0 flex-col gap-1.5",children:[c("span",{class:"font-mono text-micro uppercase tracking-eyebrow text-ink-faint",children:X}),c("h2",{class:"m-0 font-display font-semibold text-doc text-ink",style:{letterSpacing:"-0.015em"},children:I.isRoot?c("button",{type:"button",...$t(Ii),class:A("rounded-[4px] transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-accent",Ii?.selected&&"bg-row-selected"),children:e.name}):I.current.title}),c("div",{class:"flex items-center gap-2",children:[I.isRoot&&c(Wm,{status:e.status}),a&&c("span",{class:"font-mono text-nano text-ink-faint",children:z("common.refreshing")}),ru,au,I.isRoot&&c("span",{class:"text-data text-ink-muted",children:[N,e.company?` · ${e.company}`:""]})]})]}),I.isRoot&&c("div",{class:"flex flex-col items-end gap-1 border-l border-line pl-6",children:[c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint",children:z("invoice.header.outstanding")}),c("span",{class:A("font-display font-semibold tabular-nums leading-[1.05]",F?"text-ok":"text-bad"),style:{fontSize:"30px"},children:ro(Q,L)}),e.due_date&&c("span",{class:"font-mono text-meta text-ink-muted",children:z("invoice.header.due",{date:e.due_date})})]})]}),c(Vm,{layout:_,stack:I.stack,onBack:I.pop,onJump:I.popTo,loading:I.current.loading}),c(Jm,{level:I.current,app:Je,list:ie,layout:_,fixture:s,onJump:Qn?I.jump:void 0,onAsk:cu,onError:g,onMutated:I.markStale,onDocumentChanged:I.reportDocumentChange,onMutationInvalidate:S,onMutationRefresh:()=>Te(!1),onRefresh:()=>void I.refreshLevel(),context:H,contextView:Si,children:[lu,c("div",{class:Ti?"grid min-w-0":"min-w-0",style:Ti?{gridTemplateColumns:"minmax(0, 1fr) 268px"}:void 0,children:[c("div",{class:"min-w-0",children:[c("div",{class:"flex border-b border-line bg-sunken",children:[c("div",{class:"grid min-w-0 flex-1",style:{gridTemplateColumns:"2.6fr 0.5fr 0.9fr 1fr",padding:"8px 16px"},children:[c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint",children:z("invoice.table.col.item")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.qty")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.rate")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.amount")})]}),vt&&c("span",{"aria-hidden":"true",class:"w-10"})]}),mn.map((V,je)=>{const qe=iu(V,je),Re=vt&&W===V.idx,gt=!!qe?.selected;return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-line-soft transition-colors",Re||gt?"bg-row-selected":"hover:bg-row-hover"),style:{borderLeft:`2px solid ${Re?"var(--color-accent)":"transparent"}`,borderRight:`2px solid ${gt?"var(--color-accent)":"transparent"}`},children:[c("div",{class:A("grid min-w-0 flex-1 items-center focus-visible:outline-2 focus-visible:outline-accent",qe&&"cursor-pointer"),style:{gridTemplateColumns:"2.6fr 0.5fr 0.9fr 1fr",padding:"10px 16px"},...$t(qe,{arbiter:E,key:`invoice-line:${e.name}:${je}`}),children:[c("div",{class:"flex flex-col gap-0.5",children:[c("span",{class:"text-body text-ink",children:V.item_name??V.item_code}),c("span",{class:"font-mono text-chip text-ink-faint",children:V.item_code})]}),c("span",{class:"font-mono text-cell tabular-nums text-ink-2 text-right",children:Ve(V.qty)}),c("span",{class:"font-mono text-cell tabular-nums text-ink-muted text-right",children:Ve(V.rate)}),c("span",{class:"font-mono text-cell font-medium tabular-nums text-ink text-right",children:Ve(V.amount)})]}),vt&&c(Cn,{expanded:Re,label:qe?.detailLabel??V.item_code,controls:Gn(je),onToggle:()=>qe?.onDoubleActivate?.()})]}),Re&&c("div",{id:Gn(je),children:c(Xm,{app:Je,itemCode:V.item_code,fixture:s,availableTools:q,hints:re??void 0,onJump:Qn?I.jump:void 0,onClose:()=>G(null),lineIndex:V.idx,lineCount:mn.length,lineQty:V.qty})})]},`${V.idx}-${V.item_code}`)}),c("div",{class:"grid border-t border-line",style:{gridTemplateColumns:"1fr 300px"},children:[c("div",{class:"flex flex-wrap items-center gap-2 px-4 py-3.5",children:[Wa,Va,Ga]}),b_]}),!Ti&&Xn&&c("div",{class:"border-t border-line",children:Xn})]}),Ti&&c("aside",{class:"min-w-0 border-l border-line bg-sunken/35",children:Xn})]})]}),c("div",{class:"flex justify-end border-t border-line px-4 py-[9px]",children:c(tm,{})}),c(mr,{confirm:d})]}):c(cr,{containerRef:y,children:[c("div",{class:"flex flex-col gap-[10px] border-b border-line px-3 py-[13px]",children:[c("div",{class:"flex flex-col gap-[3px]",children:[c("span",{class:"font-mono text-nano uppercase tracking-eyebrow text-ink-faint",children:X}),c("h3",{class:"m-0 font-display font-semibold text-title text-ink tracking-title",children:I.isRoot?c("button",{type:"button",...$t(Ii),class:A("rounded-[4px] transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-accent",Ii?.selected&&"bg-row-selected"),children:e.name}):I.current.title}),I.isRoot&&c("span",{class:"text-data text-ink-muted",children:N})]}),I.isRoot&&c("div",{class:"flex items-end justify-between gap-3 border-t border-line-soft pt-[10px]",children:[c("div",{class:"flex flex-col gap-0.5",children:[c("span",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:z("invoice.header.outstanding")}),c("span",{class:A("font-display font-semibold text-amount tabular-nums leading-[1.05]",F?"text-ok":"text-bad"),children:ro(Q,L)})]}),c("div",{class:"flex flex-col items-end gap-[5px]",children:[c(Wm,{status:e.status}),ru,au,e.due_date&&c("span",{class:"font-mono text-chip text-ink-muted",children:z("invoice.header.due",{date:e.due_date.slice(5)})})]})]})]}),c(Vm,{layout:_,stack:I.stack,onBack:I.pop,onJump:I.popTo,loading:I.current.loading}),c(Jm,{level:I.current,app:Je,list:ie,layout:_,fixture:s,onJump:Qn?I.jump:void 0,onAsk:cu,onError:g,onMutated:I.markStale,onDocumentChanged:I.reportDocumentChange,onMutationInvalidate:S,onMutationRefresh:()=>Te(!1),onRefresh:()=>void I.refreshLevel(),context:H,contextView:Si,children:[lu,c("div",{class:"flex flex-col gap-[7px] border-b border-line px-3 py-[11px]",children:[c("span",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:z("invoice.lines.count",{n:mn.length,s:mn.length>1?"s":""})}),mn.map((V,je)=>{const qe=iu(V,je),Re=vt&&W===V.idx,gt=!!qe?.selected;return c("div",{children:[c("div",{class:A("flex min-h-11 items-stretch rounded-chip border border-line transition-colors",Re||gt?"bg-row-selected":"bg-row-hover"),style:{borderLeft:`2px solid ${Re?"var(--color-accent)":"transparent"}`,borderRight:`2px solid ${gt?"var(--color-accent)":"transparent"}`},children:[c("div",{class:A("flex min-w-0 flex-1 flex-col gap-[5px] px-[11px] py-[10px] focus-visible:outline-2 focus-visible:outline-accent",qe&&"cursor-pointer"),...$t(qe,{arbiter:E,key:`invoice-line:${e.name}:${je}`}),children:[c("span",{class:A("text-cell",Re||gt?"text-ink":"text-ink-2"),children:V.item_name??V.item_code}),c("div",{class:"flex items-baseline justify-between gap-[10px]",children:[c("span",{class:"font-mono text-chip text-ink-faint",children:[Ve(V.qty)," × ",Ve(V.rate)]}),c("span",{class:A("font-mono text-cell tabular-nums text-ink",Re||gt?"font-medium":""),children:Ve(V.amount)})]})]}),vt&&c(Cn,{expanded:Re,label:qe?.detailLabel??V.item_code,controls:Gn(je),onToggle:()=>qe?.onDoubleActivate?.(),touch:!0})]}),Re&&c("div",{id:Gn(je),children:c(Xm,{app:Je,itemCode:V.item_code,fixture:s,availableTools:q,hints:re??void 0,onJump:Qn?I.jump:void 0,onClose:()=>G(null),lineIndex:V.idx,lineCount:mn.length,lineQty:V.qty})})]},`${V.idx}-${V.item_code}`)})]}),c("div",{class:"flex items-center justify-between border-b border-line bg-sunken px-3 py-[11px]",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-muted",children:z(ge?"document.purchase_invoice.total":"invoice.totals.grand_total")}),Be("font-display text-title font-semibold tabular-nums text-ink")]}),Xn&&c("div",{class:"border-b border-line",children:Xn}),h_&&c("div",{class:"flex flex-col gap-[7px] px-3 py-[11px]",children:[Va,Ga,Wa]})]}),c("div",{class:"flex justify-end border-t border-line px-3 py-[9px]",children:c(tm,{compact:!0})}),c(mr,{confirm:d})]})}K_(V_());ws(c(g3,{}),document.getElementById("app"));</script>
|
|
110
|
+
`)||e.value.length>=120||_S.test(e.key))}function ES(e){for(const t of gS){const o=e.document[t];if((typeof o=="string"||typeof o=="number")&&String(o).trim().length>0)return String(o).trim()}return e.name}function CS(e){for(const t of["workflow_state","status"]){const o=e[t];if((typeof o=="string"||typeof o=="number"||typeof o=="boolean")&&String(o).trim().length>0)return String(o).trim()}}function DS(e,t,o){return{key:e,label:o,values:t.map(Hd)}}function Ua(e){const t=$S(e)??an(e);if(!t)return null;const o=bS.has(t.doctype)?void 0:t.fieldLayout,i=(S,h)=>{const b=km(S,h),g=ym(o,S);return g?{...b,label:g}:b},n=[],r=[],a=[],s=[],d=[],l=[];for(const[S,h]of Object.entries(t.document)){if(TS(S)){l.push(km(S,h));continue}if(S==="status"||S==="workflow_state")continue;if(mS(h)){d.push(dS(S,h));continue}if(Array.isArray(h)){if(o&&h.length===0)continue;s.push(DS(S,h,ym(o,S)??ho(S)));continue}const b=i(S,h);b.kind==="progress"?a.push(b):PS(b)?r.push(b):n.push(b)}const u=o?fS({scalars:n,longFields:r},o):void 0,p=u?u.fields:n,m=u?u.longFields:r,f=Bd(t.document.docstatus),v=CS(t.document);return{envelope:t,title:ES(t),...v?{status:v}:{},...f!==null?{docstatus:f}:{},fields:p,...u?{sections:u.sections}:{},longFields:m,progressFields:a,collections:s,childTables:d,systemFields:l}}function jS(e,t){for(var o in t)e[o]=t[o];return e}function xm(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function wm(e,t){this.props=e,this.context=t}(wm.prototype=new Et).isPureReactComponent=!0,wm.prototype.shouldComponentUpdate=function(e,t){return xm(this.props,e)||xm(this.state,t)};var $m=pe.__b;pe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),$m&&$m(e)};var AS=pe.__e;pe.__e=function(e,t,o,i){if(e.then){for(var n,r=t;r=r.__;)if((n=r.__c)&&n.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k||[]),n.__c(e,t)}AS(e,t,o,i)};var Sm=pe.unmount;function Dg(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),e.__c.__H=null),(e=jS({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(i){return Dg(i,t,o)})),e}function jg(e,t,o){return e&&o&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return jg(i,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=o)),e}function ns(){this.__u=0,this.o=null,this.__b=null}function Ag(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Ni(){this.i=null,this.l=null}pe.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Sm&&Sm(e)},(ns.prototype=new Et).__c=function(e,t){var o=t.__c,i=this;i.o==null&&(i.o=[]),i.o.push(o);var n=Ag(i.__v),r=!1,a=function(){r||i.__z||(r=!0,o.__R=null,n?n(d):d())};o.__R=a;var s=o.__P;o.__P=null;var d=function(){if(!--i.__u){if(i.state.__a){var l=i.state.__a;i.__v.__k[0]=jg(l,l.__c.__P,l.__c.__O)}var u;for(i.setState({__a:i.__b=null});u=i.o.pop();)u.__P=s,u.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},ns.prototype.componentWillUnmount=function(){this.o=[]},ns.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Dg(this.__b,o,i.__O=i.__P)}this.__b=null}var n=t.__a&&_n(Le,null,e.fallback);return n&&(n.__u&=-33),[_n(Le,null,t.__a?null:e.children),n]};var Im=function(e,t,o){if(++o[1]===o[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(o=e.i;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.i=o=o[2]}};function OS(e){return this.getChildContext=function(){return e.context},e.children}function NS(e){var t=this,o=e.h;if(t.componentWillUnmount=function(){ws(null,t.v),t.v=null,t.h=null},t.h&&t.h!==o&&t.componentWillUnmount(),!t.v){for(var i=t.__v;i!==null&&!i.__m&&i.__!==null;)i=i.__;t.h=o,t.v={nodeType:1,parentNode:o,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},namespaceURI:o.namespaceURI,insertBefore:function(n,r){this.childNodes.push(n),t.h.insertBefore(n,r)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}}ws(_n(OS,{context:t.context},e.__v),t.v)}function RS(e,t){var o=_n(NS,{__v:e,h:t});return o.containerInfo=t,o}(Ni.prototype=new Et).__a=function(e){var t=this,o=Ag(t.__v),i=t.l.get(e);return i[0]++,function(n){var r=function(){t.props.revealOrder?(i.push(n),Im(t,e,i)):n()};o?o(r):r()}},Ni.prototype.render=function(e){this.i=null,this.l=new Map;var t=er(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.l.set(t[o],this.i=[1,0,this.i]);return e.children},Ni.prototype.componentDidUpdate=Ni.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,o){Im(e,o,t)})};var US=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,LS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,MS=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,FS=/[A-Z0-9]/g,qS=typeof document<"u",ZS=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};Et.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Et.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zm=pe.event;pe.event=function(e){return zm&&(e=zm(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var HS={configurable:!0,get:function(){return this.class}},Tm=pe.vnode;pe.vnode=function(e){typeof e.type=="string"&&(function(t){var o=t.props,i=t.type,n={},r=i.indexOf("-")==-1;for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||qS&&a==="children"&&i==="noscript"||a==="class"||a==="className")){var d=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":d==="translate"&&s==="no"?s=!1:d[0]==="o"&&d[1]==="n"?d==="ondoubleclick"?a="ondblclick":d!=="onchange"||i!=="input"&&i!=="textarea"||ZS(o.type)?d==="onfocus"?a="onfocusin":d==="onblur"?a="onfocusout":MS.test(a)&&(a=d):d=a="oninput":r&&LS.test(a)?a=a.replace(FS,"-$&").toLowerCase():s===null&&(s=void 0),d==="oninput"&&n[a=d]&&(a="oninputCapture"),n[a]=s}}i=="select"&&(n.multiple&&Array.isArray(n.value)&&(n.value=er(o.children).forEach(function(l){l.props.selected=n.value.indexOf(l.props.value)!=-1})),n.defaultValue!=null&&(n.value=er(o.children).forEach(function(l){l.props.selected=n.multiple?n.defaultValue.indexOf(l.props.value)!=-1:n.defaultValue==l.props.value}))),o.class&&!o.className?(n.class=o.class,Object.defineProperty(n,"className",HS)):o.className&&(n.class=n.className=o.className),t.props=n})(e),e.$$typeof=US,Tm&&Tm(e)};var Pm=pe.__r;pe.__r=function(e){Pm&&Pm(e),e.__c};var Em=pe.diffed;pe.diffed=function(e){Em&&Em(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};const BS=120;function Og({calculatedTotal:e,roundingAdjustment:t,invoiceTotal:o,currency:i,isDraft:n,panelId:r}){const a=fe(),s=me(null),d=me(null),l=me(null),[u,p]=se(!1),[m,f]=se(!1),[v,S]=se(!1),[h,b]=se(!1),[g,y]=se(null),T=v||!h&&(u||m),_=xg(t,i),z=U2(t,o,i),w=a(n?"document.purchase_invoice.hint.draft":"document.purchase_invoice.hint.submitted",{label:N2});function E(){l.current!==null&&(clearTimeout(l.current),l.current=null)}function I(){E(),l.current=window.setTimeout(()=>{l.current=null,p(!1)},BS)}function B(){E(),p(!1),f(!1),S(!1),b(!0)}Ce(()=>{p(!1),f(!1),S(!1),b(!1)},[r,e,t,o,i]),Ce(()=>()=>E(),[]),Ce(()=>{if(!T)return;const W=ne=>{const ee=ne.target;ee instanceof Node&&(s.current?.contains(ee)||d.current?.contains(ee)||B())},G=ne=>{ne.key==="Escape"&&(ne.preventDefault(),ne.stopPropagation(),B())};return document.addEventListener("pointerdown",W),document.addEventListener("keydown",G),()=>{document.removeEventListener("pointerdown",W),document.removeEventListener("keydown",G)}},[T]),st(()=>{if(!T){y(null);return}function W(){const G=s.current?.getBoundingClientRect(),ne=d.current;if(!G)return;const ee=ne?{width:ne.offsetWidth,height:ne.offsetHeight}:{width:260,height:160};y(F2(G,{width:window.innerWidth,height:window.innerHeight},ee))}return W(),window.addEventListener("resize",W),window.addEventListener("scroll",W,!0),()=>{window.removeEventListener("resize",W),window.removeEventListener("scroll",W,!0)}},[T,w,_]);const ie=T?RS(c("div",{ref:d,id:r,role:"region","aria-label":a("document.purchase_invoice.details"),onPointerEnter:()=>{E(),p(!0),b(!1)},onPointerLeave:I,class:A("fixed z-50 box-border w-max max-w-[min(17.5rem,calc(100vw-1rem))]","rounded-control border border-line bg-surface p-2.5 shadow-modal","text-chip text-ink-2"),style:{top:g?.top??0,left:g?.left??0,visibility:g?"visible":"hidden"},children:[c(os,{label:a("document.purchase_invoice.calculated"),value:qt(e,i)}),c(os,{label:a("document.purchase_invoice.rounding"),value:_}),c(os,{label:a("document.purchase_invoice.total"),value:qt(o,i),bold:!0}),c("p",{class:"mt-2 mb-0 leading-snug",children:w})]}),document.body):null;return c(Le,{children:[c("button",{ref:s,type:"button","aria-expanded":T,"aria-controls":r,"aria-label":a(z.key,z.params),onPointerEnter:W=>{W.pointerType!=="touch"&&(E(),p(!0),b(!1))},onPointerLeave:I,onFocus:()=>{f(!0),b(!1)},onBlur:()=>f(!1),onClick:W=>{W.preventDefault(),W.stopPropagation(),E(),S(G=>!G),b(v)},class:A("inline-flex size-6 shrink-0 items-center justify-center rounded-full","bg-transparent text-ink-faint transition-colors","hover:text-accent","focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",T&&"text-accent"),children:c("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor","stroke-width":"1.5","aria-hidden":"true",focusable:"false",children:[c("circle",{cx:"10",cy:"10",r:"7.5"}),c("path",{d:"M10 9v5"}),c("circle",{cx:"10",cy:"6.5",r:"0.75",fill:"currentColor",stroke:"none"})]})}),ie]})}function os({label:e,value:t,bold:o}){return c("div",{class:"flex items-baseline justify-between gap-3 py-0.5",children:[c("span",{class:"text-ink-faint",children:e}),c("span",{class:A("font-mono tabular-nums",o?"font-bold text-accent":"font-medium text-ink"),children:t})]})}function Ng(e){return{documentKey:e,revision:0,nextRequest:1,load:"idle",upload:"idle",previewingFile:null,downloadingFile:null,error:null}}function Ri(e,t){return e.documentKey===t?e:{...Ng(t),revision:e.revision+1,nextRequest:e.nextRequest}}function Cm(e){return{state:{...e,nextRequest:e.nextRequest+1},token:{documentKey:e.documentKey,revision:e.revision,request:e.nextRequest}}}function JS(e){return{...e,revision:e.revision+1}}function hn(e,t){return e.documentKey===t.documentKey&&e.revision===t.revision&&e.nextRequest===t.request+1}function KS(e){return e.load!=="loading"&&(e.upload==="idle"||e.upload==="error")}function VS(e){return{...e,load:e.load==="loading"?"idle":e.load,upload:"error"}}function vn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function Tt(e){return typeof e=="string"&&e.trim()?e:void 0}function WS(e){return e.length>0&&e.length%4===0&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}function GS(e){const t=vn(e);if(!t||t.isError===!0)throw new Error("attachment list failed");const o=it(t);if(!o)throw new Error("attachment list is empty");const i=vn(JSON.parse(o));if(!i||!Array.isArray(i.data))throw new Error("attachment list is malformed");return i.data.map((n,r)=>{const a=vn(n),s=Tt(a?.name),d=Tt(a?.file_name);if(!a||!s||!d)throw new Error(`attachment ${r+1} has no canonical identity`);const l=a.file_size,u=l==null?null:typeof l=="number"&&Number.isFinite(l)&&l>=0?l:null;return{id:s,fileName:d,fileSize:u,isPrivate:a.is_private===!0||a.is_private===1,attachedToField:Tt(a.attached_to_field),createdAt:Tt(a.creation),modifiedAt:Tt(a.modified),owner:Tt(a.owner)}})}function YS(e){const t=vn(e);if(!t||t.isError===!0)throw new Error("attachment download failed");const i=(Array.isArray(t.content)?t.content:[]).flatMap(n=>{const r=vn(n),a=vn(r?.resource);if(r?.type!=="resource"||!a)return[];const s=Tt(a.uri),d=Tt(a.blob);if(!s||!d||!WS(d))return[];const l=Tt(a.mimeType);return[{type:"resource",resource:{uri:s,...l?{mimeType:l}:{},blob:d}}]});if(i.length!==1)throw new Error("attachment download did not return one inline resource");return i[0]}const Ui=3e4,Dm=10*1024*1024;function XS(e){return`${e.doctype}\0${e.name}`}function jm(e,t){if(e&&typeof e=="object"){const o=it(e);if(o&&!o.trim().startsWith("{"))return o}return t}function QS(e,t,o){return new Promise((i,n)=>{const r=new FileReader;o(r),r.onprogress=a=>{t(a.lengthComputable&&a.total>0?a.loaded/a.total:null)},r.onerror=()=>n(r.error??new Error("file read failed")),r.onabort=()=>n(new Error("file read aborted")),r.onload=()=>{const a=typeof r.result=="string"?r.result:"",s=a.indexOf(",");if(s<0||!a.slice(s+1)){n(new Error("file read is empty"));return}i(a.slice(s+1))},r.onloadend=()=>o(null),r.readAsDataURL(e)})}function Jd({app:e,envelope:t,capabilities:o,fixtureFiles:i,onDocumentChanged:n}){const r=fe(),{doctype:a,name:s}=t,d=XS(t),l=me(d),u=me(Ng(d)),[p,m]=se(u.current),[f,v]=se(i??[]),[S,h]=se(null),b=me(!1),g=me(0),y=me(null),T=me(null);l.current!==d&&(l.current=d,g.current+=1,u.current=Ri(u.current,d),b.current=!1,y.current=null,T.current?.abort(),T.current=null);const _=Ue(M=>{const Z=M(u.current);return u.current=Z,m(Z),Z},[]),z=Ue(async(M="refresh")=>{if(!o.canListAttachments)return!1;const Z=Ri(u.current,d),O=Cm(Z),U=O.token;_(()=>({...O.state,load:"loading",upload:M==="after-upload"?"relisting":O.state.upload}));try{const H=await e.callServerTool({name:"erpnext_file_list",arguments:{attached_to_doctype:a,attached_to_name:s,limit:50}},{timeout:Ui});if(l.current!==d||!hn(u.current,U))return!1;const q=GS(H);return v(q),_(re=>({...re,load:"ready",upload:M==="after-upload"?"idle":re.upload,error:re.error?.operation==="list"||M==="after-upload"&&re.error?.operation==="upload"?null:re.error})),!0}catch{return l.current!==d||!hn(u.current,U)||_(H=>({...H,load:"error",upload:M==="after-upload"?"error":H.upload,error:{operation:M==="after-upload"?"upload":"list",message:r(M==="after-upload"?"document.attachments.error.relist":"document.attachments.error.list")}})),!1}},[e,o.canListAttachments,_,a,d,s,r]),w=Ue(async(M,Z)=>{if(!o.canUploadAttachment||b.current||!KS(u.current))return!1;if(M.size>Dm)return _(q=>({...q,upload:"error",error:{operation:"upload",fileName:M.name,message:r("document.attachments.error.too_large",{limit:Math.round(Dm/1024/1024)})}})),!1;b.current=!0;const O=Ri(u.current,d),U=Cm(O),H=U.token;_(()=>({...U.state,upload:"reading",error:null})),h(0);try{const q=await QS(M,ce=>{l.current===d&&hn(u.current,H)&&h(ce)},ce=>{T.current=ce});if(l.current!==d||!hn(u.current,H))return!1;_(ce=>({...ce,upload:"uploading"})),h(null);const re=await e.callServerTool({name:"erpnext_file_upload",arguments:{file_name:M.name,content_base64:q,attached_to_doctype:a,attached_to_name:s,is_private:Z}},{timeout:Ui});if(l.current!==d||!hn(u.current,H))return!1;if(re.isError)throw new Error(jm(re,r("document.attachments.error.upload")));return _(ce=>({...JS(ce),upload:"relisting"})),n?.({doctype:a,name:s,mutation:"attachment.added",committedAt:new Date().toISOString(),source:"document.attachments"}),await z("after-upload")}catch(q){return l.current!==d||!hn(u.current,H)||_(re=>({...VS(re),error:{operation:"upload",fileName:M.name,message:q instanceof Error&&q.message?q.message:r("document.attachments.error.upload")}})),!1}finally{l.current===d&&(b.current=!1,h(null))}},[e,o.canUploadAttachment,_,a,d,z,s,n,r]),E=Ue((M,Z)=>{if(y.current!==null)return null;const O={token:Symbol(`${Z}:${M.id}`),generation:g.current,documentKey:d,fileId:M.id,purpose:Z};return y.current=O,_(U=>({...U,previewingFile:Z==="preview"?M.id:null,downloadingFile:Z==="download"?M.id:null,error:null})),O},[_,d]),I=Ue(M=>{const Z=y.current;return l.current===M.documentKey&&g.current===M.generation&&Z?.token===M.token},[]),B=Ue(M=>{I(M)&&(y.current=null,_(Z=>({...Z,previewingFile:null,downloadingFile:null})))},[_,I]),ie=Ue(async(M,Z)=>{const O=await e.callServerTool({name:"erpnext_file_download",arguments:{file_id:M.id,attached_to_doctype:a,attached_to_name:s}},{timeout:Ui});if(!I(Z))return null;if(O.isError)throw new Error(jm(O,r(Z.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")));const U=YS(O);return I(Z)?U:null},[e,a,s,r,I]),W=Ue((M,Z,O)=>{I(M)&&_(U=>({...U,error:{operation:M.purpose,fileName:Z.fileName,message:O instanceof Error&&O.message?O.message:r(M.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")}}))},[_,r,I]),G=Ue(async M=>{if(!o.canPreviewAttachment)return null;const Z=E(M,"preview");if(!Z)return null;try{const O=await ie(M,Z);if(!O||!I(Z))return null;const U=y2(O);return I(Z)?{documentKey:d,fileId:M.id,fileName:M.fileName,preview:U}:null}catch(O){return W(Z,M,O),null}finally{B(Z)}},[E,o.canPreviewAttachment,ie,B,d,W,I]),ne=Ue(async(M,Z)=>{if(!o.canDownloadAttachment)return!1;const O=E(M,"download");if(!O)return!1;try{const H=(Z?.documentKey===d&&Z.fileId===M.id?k2(Z.preview):null)??await ie(M,O);if(!H||!I(O))return!1;const q=await e.downloadFile({contents:[H]},{timeout:Ui});if(!I(O))return!1;if(q.isError)throw new Error(r("document.attachments.error.host_denied"));return!0}catch(U){return W(O,M,U),!1}finally{B(O)}},[e,E,o.canDownloadAttachment,ie,B,d,W,r,I]);st(()=>{T.current?.abort(),T.current=null,b.current=!1,y.current=null;const M=Ri(u.current,d);return u.current=M,m(M),v(i??[]),h(null),!i&&o.canListAttachments&&z(),()=>{g.current+=1,y.current=null,T.current?.abort()}},[d,i,o.canListAttachments,z]);const ee=Ue(()=>{_(M=>({...M,error:null,upload:M.upload==="error"?"idle":M.upload}))},[_]);return{documentKey:d,document:{doctype:a,name:s},state:p,files:p.documentKey===d?f:[],readProgress:S,refresh:z,upload:w,preview:G,download:ne,dismissError:ee}}Object.hasOwn||Object.defineProperty(Object,"hasOwn",{value:function(e,t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)},configurable:!0,enumerable:!1,writable:!0});const e1=Object.freeze(["wide","panel","mobile"]),t1=480;function n1(e){return e!==null&&e<t1}function o1(e){const t=new URLSearchParams(e).get("layout");return e1.includes(t)?t:null}function i1(e,t){return ur(e?.containerDimensions?.width)??ur(e?.containerDimensions?.maxWidth)??t}function r1(e,t){const o=e?.deviceCapabilities;return o?.touch!==void 0?o.touch&&o.hover!==!0:t}function a1(e){return e.forced?e.forced:n1(e.width)?e.touch?"mobile":"panel":"wide"}function Rg(e){const t=ur(e?.height);if(t!==void 0)return{height:`${t}px`};const o=ur(e?.maxHeight);return o!==void 0?{maxHeight:`${o}px`}:void 0}function ur(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0}function s1(){const e=me(null),[t,o]=se(null);return st(()=>{const i=e.current;if(!i)return;const n=c1(i);if(n!==null&&o(n),typeof ResizeObserver>"u")return;const r=new ResizeObserver(a=>{const s=a[0];s&&o(s.contentRect.width)});return r.observe(i),()=>r.disconnect()},[]),[e,t]}function c1(e){const t=e.clientWidth;let o;if(typeof t=="number")o=t;else{const n=e.getBoundingClientRect?.()?.width;if(typeof n!="number"||n===0)return null;o=n}if(typeof getComputedStyle!="function")return o;const i=getComputedStyle(e);return o-(parseFloat(i.paddingLeft)||0)-(parseFloat(i.paddingRight)||0)}function l1(){return typeof matchMedia=="function"&&matchMedia("(pointer: coarse)").matches}function d1(){const[e,t]=se(l1);return Ce(()=>{if(typeof matchMedia!="function")return;const o=matchMedia("(pointer: coarse)"),i=n=>t(n.matches);return o.addEventListener("change",i),()=>o.removeEventListener("change",i)},[]),e}function u1(e,t={}){const[o,i]=s1(),n=d1(),r=t.forced!==void 0?t.forced:typeof location>"u"?null:o1(location.search),a=i1(e,i),s=a1({width:a,touch:r1(e,n),forced:r});return{ref:o,width:a,layout:s,boundsStyle:Rg(e?.containerDimensions)}}function m1(){const e=gp();return u1(e)}function p1(e,t){return t}function f1(){return null}function h1(e){return{next:null,run:e?.onConfirm??null}}function b1(e){return e.tone??"danger"}function is(e,t,o){const i=e[`${t}Key`];if(!i)return e[t];const n=o(i,e.params);return n===i?e[t]:n}function Ug(){const[e,t]=se(null);return{pending:e,request:o=>t(i=>p1(i,o)),dismiss:()=>t(f1()),confirm:()=>{const{next:o,run:i}=h1(e);t(o),i?.()}}}function mr({confirm:e}){const t=fe(),o=e.pending;return o?c(rg,{eyebrow:o.subject,title:is(o,"title",t),onClose:e.dismiss,footer:c(ag,{children:[c(nt,{variant:"quiet",onClick:e.dismiss,children:t("common.back")}),c(nt,{variant:b1(o),class:"ml-auto",onClick:e.confirm,children:is(o,"actionLabel",t)})]}),children:c("div",{class:"flex flex-col gap-3",children:[c("span",{class:"self-start rounded-badge border border-bad/20 bg-bad/10 px-[7px] py-0.5 font-mono text-chip uppercase tracking-label text-bad",children:t("confirm.eyebrow")}),c("p",{class:"font-sans text-body text-ink",children:is(o,"detail",t)})]})}):null}const v1=["outstanding_amount","grand_total","total","amount","base_grand_total","qty"];function g1(e){for(const o of v1)if(e.some(i=>i.id===o))return o;return e.filter(o=>o.numeric).at(-1)?.id}function _1(e,t){if(!t)return null;let o=0,i=!1;for(const n of e){const r=n[t];typeof r=="number"&&Number.isFinite(r)&&(o+=r,i=!0)}return i?o:null}function Kd(e,t=14,o=2){if(e.length<=t)return e;const i=e.split("-");return i.length<=o?e:`…${i.slice(-o).join("-")}`}const y1=["default_currency","currency","country"];function Lg(e,t,o){const i=e[0]?.id,n=e.find(s=>s.id!==i&&s.id!==t&&!s.numeric&&!o(s.id))?.id,r=e.filter(s=>s.id!==i&&s.id!==n&&!s.numeric&&!o(s.id)),a=t??y1.map(s=>r.find(d=>d.id===s)).find(s=>s!==void 0)?.id??r[0]?.id;return{idKey:i,labelKey:n,trailingKey:a,amountKey:t}}const k1=new Set(["status","docstatus","workflow_state"]),x1=new Set(["doctype","owner","modified_by","creation","modified","idx","_rowAction","_sendMessageHints"]),w1=new Set(["status","workflow_state","company","territory","customer_group","item_group","supplier_group","priority","type"]),$1=6,S1=["name","status","customer","customer_name","supplier","supplier_name","item_code","item_name","employee_name","project","subject","grand_total","outstanding_amount","posting_date","transaction_date","delivery_date"];function I1(e){const t=[],o=[];for(const i of S1)e.includes(i)&&t.push(i);for(const i of e.sort())t.includes(i)||o.push(i);return[...t,...o].slice(0,$1)}function La(e){return k1.has(e.toLowerCase())}function St(e){return e==null?"—":typeof e=="number"?Ve(e,e%1===0?0:2):typeof e=="boolean"?kt(e?"common.yes":"common.no"):typeof e=="object"?JSON.stringify(e):String(e)}function z1(e,t){let o=e;for(const i of t.split(".")){if(o==null||typeof o!="object")return;o=o[i]}return o}const rs=20,T1={};function P1(e,t,o){const i=e.data??[],n=t.sortKey??null,r=t.sortDir??"asc",a=t.filter??"",s=t.page??0,d=t.chipFilters??T1,l=t.expandedId??null,u=ot(()=>{if(i.length<2)return[];const _=[];for(const z of Object.keys(i[0]??{})){if(!w1.has(z)&&!La(z))continue;const w=new Set;for(const E of i){const I=E[z];if(I!=null&&typeof I=="string"&&w.add(I),w.size>8)break}w.size>=2&&w.size<=8&&_.push({col:z,values:Array.from(w).sort()})}return _},[i]),p=ot(()=>{if(i.length===0)return[];const _=new Set;for(const z of i)for(const w of Object.keys(z))!x1.has(w)&&!w.startsWith("_")&&_.add(w);return I1(Array.from(_))},[i]),m=ot(()=>{let _=i;for(const[z,w]of Object.entries(d))w&&(_=_.filter(E=>E[z]===w));if(a){const z=a.toLowerCase();_=_.filter(w=>p.some(E=>St(w[E]).toLowerCase().includes(z)))}return _},[i,a,p,d]),f=ot(()=>n?[...m].sort((_,z)=>{const w=_[n],E=z[n];if(w==null&&E==null)return 0;if(w==null)return 1;if(E==null)return-1;const I=typeof w=="number"&&typeof E=="number"?w-E:String(w).localeCompare(String(E));return r==="asc"?I:-I}):m,[m,n,r]),v=Math.ceil(f.length/rs),S=f.slice(s*rs,(s+1)*rs),h=ot(()=>p.map(_=>({id:_,label:_.replace(/_/g," "),numeric:i.some(z=>typeof z[_]=="number")})),[p,i]),b=ot(()=>{const _={};for(const{col:z,values:w}of u){_[z]=Object.fromEntries(w.map(E=>[E,0]));for(const E of i){const I=E[z];typeof I=="string"&&I in _[z]&&(_[z][I]+=1)}}return _},[u,i]),g=ot(()=>g1(h),[h]),y=ot(()=>_1(f,g),[f,g]),T=Ue(_=>{o(n===_?{sortDir:r==="asc"?"desc":"asc",expandedId:null}:{sortKey:_,sortDir:"asc",expandedId:null})},[n,r,o]);return{rows:i,rowAction:e._rowAction,columns:p,tableColumns:h,filterableColumns:u,chipCounts:b,filtered:m,sorted:f,pageRows:S,totalPages:v,amountKey:g,amountTotal:y,sortKey:n,sortDir:r,filter:a,page:s,chipFilters:d,expandedId:l,searchOpen:t.searchOpen??!1,handleSort:T,setFilter:_=>o({filter:_,page:0,expandedId:null}),setPage:_=>o({page:_,expandedId:null}),setExpandedId:_=>o({expandedId:_}),setSearchOpen:_=>o({searchOpen:_}),setChipFilter:(_,z)=>{const w={...d};z===null?delete w[_]:w[_]=z,o({chipFilters:w,page:0,expandedId:null})}}}function Mg(e,t){return`${e}:${t}`}function Fg(e){return{levels:[{ui:{},loading:!1,...e,id:Mg(0,e.title)}],rootIdentity:Vd(e),nextId:1,generation:0}}function Yt(e){return`${e.generation}:${e.rootIdentity}`}function Vd(e){return e.key?`key:${e.key}`:`root:${sn({title:e.title,kind:e.kind,origin:e.origin??null,tool:e.tool??null})}`}function E1(e,t){if(e.rootIdentity!==Vd(t))return{...Fg(t),generation:e.generation+1};const o=e.levels[0],i={title:t.title,titleKey:t.titleKey,titleParams:t.titleParams,titleSuffix:t.titleSuffix,subtitle:t.subtitle,subtitleKey:t.subtitleKey,subtitleParams:t.subtitleParams},n={title:o.title,titleKey:o.titleKey,titleParams:o.titleParams,titleSuffix:o.titleSuffix,subtitle:o.subtitle,subtitleKey:o.subtitleKey,subtitleParams:o.subtitleParams};return sn(i)===sn(n)?e:{...e,levels:[{...o,...i},...e.levels.slice(1)]}}function qg(e,t){return{...e,levels:[...e.levels,{ui:{},loading:!1,...t,id:Mg(e.nextId,t.title)}],nextId:e.nextId+1}}function C1(e){return e.levels.length<=1?e:{...e,levels:e.levels.slice(0,-1)}}function pr(e,t){return t<0||t>=e.levels.length-1?e:{...e,levels:e.levels.slice(0,t+1)}}function gn(e,t,o){return e.levels.some(i=>i.id===t)?{...e,levels:e.levels.map(i=>i.id===t?{...i,...o}:i)}:e}function D1(e,t,o){const i=e.levels.find(n=>n.id===t);return i?gn(e,t,{ui:{...i.ui,...o}}):e}function jn(e){return e.levels[e.levels.length-1]}function Wd(e){return`${e.name}:${sn(e.args)}`}function j1(e,t,o){return`${e}:${sn({identity:o??null})}`}function sn(e){return Array.isArray(e)?`[${e.map(sn).join(",")}]`:e&&typeof e=="object"?`{${Object.keys(e).sort().map(t=>`${JSON.stringify(t)}:${sn(e[t])}`).join(",")}}`:JSON.stringify(e)??"null"}function A1(e,t){return e.levels.findIndex(o=>o.key===t)}function O1(e,t,o){return{...e,levels:e.levels.map(i=>({...i,stale:{at:t,subject:o}}))}}function N1(e,t,o){const i={...o};return{...e,levels:e.levels.map(n=>({...n,stale:{at:t,subject:o.name,documentChange:i}}))}}function Zg(e,t){const o=e.levels.find(r=>r.id===t);if(!o||!o.stale)return e;const{stale:i,...n}=o;return{...e,levels:e.levels.map(r=>r.id===t?n:r)}}function R1(e){const t=e.levels.map((a,s)=>({level:a,index:s})),o=t.length,i=t[o-1];if(o<=1)return{depth:o,showBar:!1,elided:[],parents:[],trail:[],current:i};if(o<=3){const a=t.slice(0,o-1);return{depth:o,showBar:!0,elided:[],parents:a,trail:a,current:i}}const n=t.slice(1,o-2),r=[t[0],t[o-2]];return{depth:o,showBar:!0,elided:n,parents:r,trail:[r[0],{elided:n},r[1]],current:i}}function bo(e,t){if(!e.titleKey)return e.title;const o=t(e.titleKey,e.titleParams);return o===e.titleKey?e.title:o+(e.titleSuffix??"")}function Ma(e,t){if(!e.subtitleKey)return e.subtitle;const o=t(e.subtitleKey,e.subtitleParams);return o===e.subtitleKey?e.subtitle:o}function U1(e,t){const o=bo(e,t),i=Ma(e,t);return o===e.title&&i===e.subtitle?e:{...e,title:o,subtitle:i}}function L1(e){return!!e?.serverTools}function Nt(e,t){return typeof e=="string"?e.replace(/\{(\w+)\}/g,(o,i)=>Object.prototype.hasOwnProperty.call(t,i)?t[i]:o):Array.isArray(e)?e.map(o=>Nt(o,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([o,i])=>[o,Nt(i,t)])):e}function wi(e){if(!e.key)return e.label;const t=`doclist.hint.${e.key}`,o=kt(t);return o===t?e.label:o}function Zt(e){return typeof e=="string"?/\{\w+\}/.test(e):Array.isArray(e)?e.some(Zt):e&&typeof e=="object"?Object.values(e).some(Zt):!1}function Ht(e,t,o,i){if(!e.tool)return null;const n=Object.fromEntries(Object.entries(t).filter(([,s])=>s!=="")),r=Nt(e.args??{},n);if(Zt(r))return null;const a=e.key?`doclist.hint.${e.key}`:void 0;return{label:wi(e),...a&&kt(a)!==a?{labelKey:a}:{},kind:e.kind??"list",tool:{name:e.tool,args:r},subtitle:o,...i?{subtitleKey:i.key,subtitleParams:i.params}:{},message:e.message?Nt(e.message,n):void 0}}function Hg(e){return{title:e.label,...e.labelKey?{titleKey:e.labelKey,titleParams:e.labelParams,titleSuffix:e.labelSuffix}:{},kind:e.kind,tool:e.tool,subtitle:e.subtitle,...e.subtitleKey?{subtitleKey:e.subtitleKey,subtitleParams:e.subtitleParams}:{},loading:!0,jumps:e.children,key:Wd(e.tool)}}function M1(e){const t=it(e);if(e.isError)return{error:t??kt("common.error.tool_failed")};if(!t)return{error:kt("common.error.no_payload")};try{const o=JSON.parse(t),i=o.data,n=typeof o.count=="number"?o.count:Array.isArray(i)?i.length:void 0;return{body:o,count:n}}catch{return{error:kt("common.error.parse_failed")}}}async function Gd(e,t,o=1e4){try{const i=await e.callServerTool({name:t.name,arguments:t.args},{timeout:o});return M1(i)}catch(i){return{error:i instanceof Error?i.message:kt("common.error.tool_failed")}}}function F1(e,t){if(!e.labelKey)return e.label;const o=t(e.labelKey,e.labelParams);return o===e.labelKey?e.label:o+(e.labelSuffix??"")}function q1(e){const t=Object.fromEntries(Object.entries(e).flatMap(([o,i])=>{if(typeof i!="string"&&typeof i!="number")return[];const n=String(i).trim();return n?[[o,n]]:[]}));return!t.item&&t.item_code&&(t.item=t.item_code),t}function Bg(e,t){const o=q1(t),i={...o,...e};return o.item&&(i.item=o.item),i}function Jg(e,t){return t.item?`${e} · ${t.item}`:e}function Kg({hints:e,rootVars:t,row:o,availableTools:i,subtitle:n,subtitleKey:r,subtitleParams:a}){if(!i)return[];const s=Bg(t,o),d={key:r,params:a};return e.flatMap(l=>{if(!l.tool||!i.includes(l.tool))return[];if(Ht(l,t,n,d))return[];const u=Ht(l,s,n,d);return u?[{...u,label:Jg(u.label,s),...u.labelKey&&s.item?{labelSuffix:` · ${s.item}`}:{}}]:[]})}function Vg({hints:e,rootVars:t,row:o}){const i=Bg(t,o);return e.flatMap(n=>{if(!n.message)return[];const r=Nt(n.message,t);if(!Zt(r))return[];const a=Nt(n.message,i);return Zt(a)?[]:[{label:Jg(wi(n),i),message:a}]})}const Z1=5e3;function Li(e){return e.clickAction==="detail"}function H1(e,t){const o=setTimeout(e,t);return()=>clearTimeout(o)}function B1(e=H1){const t=new Map,o=new Map,i=new Map,n=new Set;function r(h){try{const b=h.onSingle(),g=Promise.resolve(b).then(y=>typeof y=="function"?y:void 0,()=>()=>!1);return Object.assign(g,{retainPending:b&&"retainPending"in b&&typeof b.retainPending=="function"?b.retainPending:void 0})}catch{return Promise.resolve(()=>!1)}}function a(h){const b=h.retainPending?.();return h.then(async g=>{try{return await g?.()!==!1}catch{return!1}finally{g?.release?.()}},()=>!1).finally(()=>b?.())}function s(h){h.then(b=>b?.release?.(),()=>{})}function d(){for(const h of t.values())h.cancelRelease(),s(h.committed);t.clear()}function l(h){const b=t.get(h);t.delete(h),b&&(b.cancelRelease(),s(b.committed)),o.delete(h),i.delete(h),n.delete(h)}function u(){d(),o.clear(),i.clear(),n.clear()}function p(h,b){l(h.key);const g=r(h);if(b){const y={committed:g,cancelRelease:()=>{}};t.set(h.key,y),y.cancelRelease=e(()=>{t.get(h.key)===y&&(t.delete(h.key),s(g))},Z1)}else s(g)}function m(h){if(i.has(h.key)||n.has(h.key))return;const b=t.get(h.key);t.delete(h.key),b?.cancelRelease();const g=o.get(h.key)??(b?a(b.committed):null);if(o.delete(h.key),h.doublePolicy!=="local"&&h.runConversation){f(h,g??Promise.resolve(!0));return}if(!g){n.add(h.key),h.onDouble();return}const y={};i.set(h.key,y),h.doublePolicy==="local"&&h.onDouble(),g.then(T=>{i.get(h.key)===y&&(i.delete(h.key),n.add(h.key),T&&h.doublePolicy!=="local"&&h.onDouble())})}function f(h,b){const g={};i.set(h.key,g);const y=()=>{i.get(h.key)===g&&(i.delete(h.key),n.add(h.key))};h.runConversation(()=>{i.get(h.key)===g&&h.onDouble()},b).then(y,y)}function v(h){l(h.key),h.onDouble()}function S(h){l(h.key),h.doublePolicy!=="local"&&h.runConversation?f(h,Promise.resolve(!0)):h.onDouble()}return{click(h,b=1){if(Li(h)){b<2&&v(h);return}if(b>=2){const g=t.get(h.key);t.delete(h.key),g?.cancelRelease(),g&&!o.has(h.key)&&o.set(h.key,a(g.committed));return}n.delete(h.key),d(),o.clear(),p(h,!0)},doubleClick(h){Li(h)||m(h)},keyDown(h,b){if(!b.repeat){if(Li(h)){(b.key===" "||b.key==="Enter")&&(b.preventDefault(),v(h));return}if(b.key===" "){b.preventDefault(),p(h,!1);return}b.key==="Enter"&&(b.preventDefault(),S(h))}},activateDetail(h){Li(h)?v(h):S(h)},cancel:l,cancelAll:u}}function Fa(){const e=me(null);e.current===null&&(e.current=B1());const t=e.current;return Ce(()=>()=>t.cancelAll(),[t]),t}const Yd={ok:"border-l-ok",warn:"border-l-warn",bad:"border-l-bad",neutral:"border-l-transparent"},qa={ok:"bg-ok/14 text-ok",warn:"bg-warn/14 text-warn-text",bad:"bg-bad/14 text-bad",neutral:"bg-count text-ink-muted"},Wg={ok:"text-ok",warn:"text-warn-text",bad:"text-bad",neutral:"text-ink-2"},J1={Paid:"ok",Completed:"ok",Submitted:"ok",Active:"ok",Enabled:"ok",Unpaid:"warn","Partly Paid":"warn","Partly Delivered":"warn",Pending:"warn","Pending Review":"warn","To Bill":"warn","To Deliver":"warn","To Deliver and Bill":"warn","On Hold":"warn",Overdue:"bad",Failed:"bad",Draft:"neutral",Open:"neutral",Working:"neutral",Cancelled:"neutral",Closed:"neutral",Disabled:"neutral","Credit Note Issued":"neutral",Return:"neutral"};function $i(e){return J1[e]??"neutral"}function fr(e,t){return e===null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?Ve(e,Number.isInteger(e)?0:2):e}function Gg({field:e,class:t}){const o=fe();if(e.kind==="status"&&e.value!==null){const i=String(e.value);return c("span",{class:A("inline-flex rounded-badge px-[7px] py-0.5 font-mono text-micro uppercase tracking-chip",qa[$i(i)],t),children:i})}return c("span",{class:A(e.kind==="number"||e.kind==="date"||e.kind==="datetime"?"font-mono tabular-nums":void 0,e.kind==="empty"?"text-ink-dim":void 0,t),children:fr(e.value,o)})}function Mi({fields:e,layout:t,emphasized:o=!1}){return c("dl",{class:A("grid gap-x-7",t==="wide"?"grid-cols-[repeat(auto-fit,minmax(min(100%,18rem),1fr))] gap-y-2":"grid-cols-1 gap-y-1"),children:e.map(i=>c("div",{class:A("grid min-w-0 grid-cols-[minmax(0,1fr)_minmax(0,1fr)] items-baseline gap-x-2.5",t!=="wide"&&"min-h-6"),children:[c("dt",{class:A("min-w-0 [overflow-wrap:anywhere]",o?"text-note text-ink-muted":"font-mono text-chip text-ink-faint"),children:i.label}),c("dd",{class:A("min-w-0 text-right [overflow-wrap:anywhere]",o?"text-cell font-semibold text-ink":"text-note text-ink-2"),children:c(Gg,{field:i})})]},i.key))})}function Am({field:e}){const t=fe();return e.kind==="json"?c("pre",{class:"scroll-slim max-h-64 overflow-auto whitespace-pre-wrap break-words rounded-control border border-line-soft bg-sunken p-2.5 font-mono text-chip leading-relaxed text-ink-2",children:fr(e.value,t)}):c("p",{class:"whitespace-pre-wrap break-words text-cell leading-[1.55] text-ink-2",children:fr(e.value,t)})}function Om({label:e,count:t,first:o,children:i}){return c("details",{class:A("group border-t border-line-soft",o&&"border-t-0"),children:[c("summary",{class:"flex min-h-11 cursor-pointer list-none items-center gap-3 px-4 py-3 text-cell font-medium text-ink-2 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-accent",children:[c("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",class:"h-3.5 w-3.5 shrink-0 text-ink-faint transition-transform group-open:rotate-90",children:c("path",{d:"m6 3 5 5-5 5",fill:"none",stroke:"currentColor","stroke-width":"1.5"})}),c("span",{class:"min-w-0 flex-1 [overflow-wrap:anywhere]",children:e}),c(Ud,{narrow:!0,children:t})]}),c("div",{class:"px-4 pb-4 pt-1",children:i})]})}function Fi({label:e,aside:t,children:o,first:i}){return c("section",{class:A("flex flex-col gap-2 px-4 py-3.5",!i&&"border-t border-line-soft"),children:[(e||t)&&c("div",{class:"flex items-baseline justify-between gap-3",children:[e?c(ft,{children:e}):c("span",{}),t]}),o]})}function js({fields:e,fieldSections:t=[],layoutSections:o=[],emphasizeFields:i=!1,longFields:n=[],progressFields:r=[],collections:a=[],systemFields:s=[],layout:d,heading:l,class:u}){const p=fe(),m=l===void 0?p("document.fields"):l,f=o.reduce((b,g)=>b+g.fields.length+g.longFields.length,0);if(!(e.length>0||n.length>0||r.length>0||a.length>0||s.length>0||f>0||t.some(b=>b.fields.length>0)))return null;let S=!0;const h=()=>{const b=S;return S=!1,b};return c("div",{class:A("flex flex-col",u),children:[e.length>0&&c(Fi,{label:m,first:h(),children:c(Mi,{fields:e,layout:d,emphasized:i})}),t.filter(b=>b.fields.length>0).map(b=>c(Om,{label:b.label,count:b.fields.length,first:h(),children:c(Mi,{fields:b.fields,layout:d})},b.key)),f>0&&c(Om,{label:p("document.all_fields"),count:f,first:h(),children:c("div",{class:"flex flex-col gap-4",children:o.map(b=>c("section",{class:"flex flex-col gap-2",children:[b.label&&c(ft,{children:b.label}),b.fields.length>0&&c(Mi,{fields:b.fields,layout:d}),b.longFields.map(g=>c("div",{class:"flex flex-col gap-1.5",children:[c("span",{class:"font-mono text-chip text-ink-faint [overflow-wrap:anywhere]",children:g.label}),c(Am,{field:g})]},g.key))]},b.key))})}),n.map(b=>c(Fi,{label:b.label,first:h(),children:c(Am,{field:b})},b.key)),r.map(b=>{const g=_r(b.value)??0;return c(Fi,{label:b.label,first:h(),aside:c("span",{class:"font-mono text-meta tabular-nums text-ink-muted",children:p("document.progress_value",{value:Ve(g,0)})}),children:c(F$,{value:g})},b.key)}),a.map(b=>c(Fi,{label:b.label,first:h(),children:b.values.length===0?c("span",{class:"font-mono text-chip text-ink-dim",children:p("document.empty_value")}):c("div",{class:"flex flex-wrap gap-1.5",children:b.values.map((g,y)=>c("span",{class:"max-w-full truncate rounded-chip border border-line bg-control px-2 py-1 font-mono text-chip text-ink-muted",children:fr(g,p)},`${b.key}-${y}`))})},b.key)),s.length>0&&c("details",{class:A("group border-t border-line-soft px-4 py-3",S&&"border-t-0"),children:[c("summary",{class:"flex cursor-pointer list-none items-center justify-between gap-3 rounded-control font-mono text-micro uppercase tracking-label text-ink-faint focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:[c("span",{children:p("document.system_fields")}),c(Ud,{narrow:!0,children:s.length})]}),c("div",{class:"pt-3",children:c(Mi,{fields:s,layout:d})})]})]})}function Yg(e,t){return e==null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?Ve(e,Number.isInteger(e)?0:2):e}function Nm(e,t){return e==="mobile"?t>=3?"grid-cols-[minmax(0,1fr)_52px_82px]":t===2?"grid-cols-[minmax(0,1fr)_82px]":"grid-cols-1":t>=4?"grid-cols-[minmax(0,1.8fr)_minmax(0,1.2fr)_minmax(52px,0.7fr)_minmax(72px,0.8fr)]":t===3?"grid-cols-[minmax(0,1.7fr)_minmax(0,1.15fr)_minmax(72px,0.8fr)]":t===2?"grid-cols-[minmax(0,1fr)_minmax(72px,0.6fr)]":"grid-cols-1"}function K1(e,t,o){return t.map(i=>c("span",{class:A("min-w-0 truncate text-cell text-ink-2",i.numeric&&"text-right font-mono tabular-nums"),title:String(e[i.key]??""),children:Yg(e[i.key],o)},i.key))}function V1({fields:e,layout:t}){return e.length===0?null:c("dl",{class:A("grid gap-x-4 gap-y-2 border-b border-line-soft bg-row-selected px-3 py-2.5",t==="panel"?"grid-cols-1":"grid-cols-3"),children:e.map(o=>c("div",{class:"flex min-w-0 flex-col gap-1",children:[c("dt",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:o.label}),c("dd",{class:"min-w-0 truncate text-data text-ink-2",children:c(Gg,{field:o})})]},o.key))})}function Wi(e){return e!=null&&e!==!1}function Rm({id:e,expanded:t,fields:o,actions:i,layout:n,panel:r}){return c("div",{id:e,hidden:!t,children:[o.length>0&&c(V1,{fields:o,layout:n}),Wi(i)&&c("div",{class:A("flex flex-wrap gap-1.5 border-b border-line-soft bg-sunken",r?"px-3.5 py-2":"justify-end px-4 py-1.5"),children:i})]})}function as({table:e,layout:t,idPrefix:o="document-table",class:i,renderRowActions:n,rowActionsPlacement:r="disclosure",renderRowContextTarget:a,childRowsExpandable:s=!0,activeDisclosure:d,onDisclosureChange:l}){const u=fe(),p=Fa(),m=Cg(e,t),f=`${o}-${e.key.replace(/[^a-zA-Z0-9_-]/g,"-")}`,v=t==="panel",S=s||r==="disclosure"&&!!n;function h(b,g){const y=s?uS(e,g,t):[],T=n?.(e,b,g),_=r==="disclosure"?T:void 0,z=r==="visible"?T:void 0,w=y.length>0||Wi(_),E=w&&d?.tableKey===e.key&&d.rowIndex===g,I=`${f}-row-${g}-details`,B=a?.(e,b,g),ie=String(b[m[0]?.key??""]??`${e.label} ${g+1}`),W=B?.detailLabel??ie,G=()=>l(E?null:{tableKey:e.key,rowIndex:g}),ne=w?{...B??{onActivate:()=>{}},label:u(B?.selected!==void 0?E?"document.row.close_detail":"document.row.open_detail":E?"document.row.close_detail_only":"document.row.open_detail_only",{label:W}),detailLabel:W,expanded:E,controls:I,onDoubleActivate:G,doublePolicy:"local"}:B;return{hidden:y,rowActions:_,visibleActions:z,canDisclose:w,expanded:E,rowPanelId:I,interactionTarget:ne,detailLabel:W,toggle:G}}return c("section",{"aria-label":e.label,class:A("flex min-w-0 flex-col",i),children:[c("div",{class:"flex items-baseline justify-between gap-3 px-4 pb-2 pt-3.5",children:[c(ft,{children:e.label}),c(Ud,{narrow:!0,children:e.rows.length})]}),m.length===0?c("p",{class:"px-4 pb-3.5 font-mono text-chip text-ink-faint",children:u("document.table.no_columns")}):v?c("div",{class:"flex flex-col border-t border-line-soft",children:e.rows.map((b,g)=>{const y=h(b,g),T=!!(y.interactionTarget?.selected||y.expanded),_=c("span",{class:"flex flex-col gap-1.5 px-3.5 py-2.5",children:m.map(z=>c("span",{class:"flex min-w-0 items-baseline justify-between gap-3",children:[c("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:z.label}),c("span",{class:A("min-w-0 truncate text-right text-data text-ink-2",z.numeric&&"font-mono tabular-nums"),children:Yg(b[z.key],u)})]},z.key))});return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",T?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$t(y.interactionTarget,{arbiter:p,key:y.rowPanelId}),class:A("min-w-0 flex-1",y.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:_}),y.canDisclose&&c(Cn,{expanded:y.expanded,label:y.detailLabel,controls:y.rowPanelId,onToggle:y.toggle,touch:!0})]}),Wi(y.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-3.5 py-1.5",children:y.visibleActions}),y.canDisclose&&c(Rm,{id:y.rowPanelId,expanded:y.expanded,fields:y.hidden,actions:y.rowActions,layout:t,panel:!0})]},g)})}):c("div",{class:"min-w-0 border-t border-line-soft",children:[c("div",{role:"row",class:"flex border-b border-line bg-sunken",children:[c("div",{class:A("grid min-w-0 flex-1 gap-3 px-4 py-1.5",Nm(t,m.length)),children:m.map(b=>c("span",{role:"columnheader",class:A("truncate font-mono text-nano uppercase tracking-label text-ink-faint",b.numeric&&"text-right"),children:b.label},b.key))}),S&&c("span",{"aria-hidden":"true",class:"w-10"})]}),e.rows.map((b,g)=>{const y=h(b,g),T=!!(y.interactionTarget?.selected||y.expanded),_=A("grid items-center gap-3 border-l-2 border-l-transparent px-4",t==="mobile"?"min-h-10 py-1":"min-h-9 py-2",Nm(t,m.length));return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",T?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$t(y.interactionTarget,{arbiter:p,key:y.rowPanelId}),class:A(_,"min-w-0 flex-1",y.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:K1(b,m,u)}),y.canDisclose&&c(Cn,{expanded:y.expanded,label:y.detailLabel,controls:y.rowPanelId,onToggle:y.toggle,touch:t==="mobile"})]}),Wi(y.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-4 py-1.5",children:y.visibleActions}),y.canDisclose&&c(Rm,{id:y.rowPanelId,expanded:y.expanded,fields:y.hidden,actions:y.rowActions,layout:t,panel:!1})]},g)})]}),e.total&&c(ig,{label:e.total.label,layout:t,children:Ve(e.total.value,2)})]})}function Um({status:e,pill:t}){return c("span",{class:A("inline-flex shrink-0 font-mono text-micro uppercase tracking-chip",t?"rounded-pill px-2 py-[3px]":"rounded-badge px-[7px] py-0.5",qa[$i(e)]),children:e})}function Lm({target:e,class:t}){return e?c("button",{type:"button",...$t(e),class:A("absolute inset-0 z-0 transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent",t)}):null}function W1({doctype:e,name:t,title:o,status:i,docstatus:n,layout:r,navigation:a,trailing:s,live:d,contextTarget:l}){const u=fe();return r!=="wide"?c("header",{"aria-label":u("document.header"),class:"shrink-0",children:[c("div",{class:"flex min-h-10 items-center justify-between gap-2.5 px-3 py-2",children:[c("div",{class:"min-w-0 flex-1",children:a}),c(ft,{class:"max-w-[45%] truncate text-center",children:e}),c("div",{class:"flex min-w-0 flex-1 items-center justify-end gap-1.5",children:[s,d&&c("span",{"aria-hidden":"true",class:"size-1.5 rounded-full bg-ok"})]})]}),c("div",{class:A("relative border-b border-line transition-colors",l?.selected&&"bg-row-selected"),children:[c(Lm,{target:l}),c("div",{class:"pointer-events-none relative z-[1] flex flex-col gap-1.5 px-3 pb-3 pt-1",children:[c("span",{class:"truncate font-mono text-nano uppercase tracking-label text-ink-faint",children:t}),c("h2",{class:"text-pretty font-display text-card-title font-semibold text-ink",children:o}),(i||n!==void 0)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Um,{status:i,pill:!0}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:u("document.docstatus",{value:n})})]})]})]})]}):c("header",{"aria-label":u("document.header"),class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[c("div",{class:"flex min-w-0 items-start gap-3",children:[a&&c("div",{class:"shrink-0 pt-0.5",children:a}),c("div",{class:A("relative min-w-0 rounded-[4px] transition-colors",l&&"px-1.5 py-1 -ml-1.5 -my-1",l?.selected&&"bg-row-selected"),children:[c(Lm,{target:l,class:"rounded-[4px]"}),c("div",{class:"pointer-events-none relative z-[1] flex min-w-0 flex-col gap-1",children:[c("span",{class:"truncate font-mono text-micro uppercase tracking-label text-ink-faint",children:[e," · ",t]}),c("h2",{class:"truncate font-display text-title font-semibold tracking-title text-ink",children:o}),(i||n!==void 0||d)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Um,{status:i}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:u("document.docstatus",{value:n})}),d&&c(U$,{})]})]})]})]}),s&&c("div",{class:"flex shrink-0 items-center gap-1.5",children:s})]})}const G1=["abbr","country","default_currency","domain"];function ss(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function Y1(e){if(typeof e=="boolean")return e;if(e===0||e==="0")return!1;if(e===1||e==="1")return!0}function Xg(e){const t=[],o=ss(e.company_name)??ss(e.name);o!==void 0&&t.push({key:"company_name",value:o});for(const n of G1){const r=ss(e[n]);r!==void 0&&t.push({key:n,value:r})}const i=Y1(e.is_group);return i!==void 0&&t.push({key:"is_group",value:i}),t}function Qg(e){if(e.doctype==="Company")return Xg(e);const t=[];for(const[o,i]of Object.entries(e))if(!(o.startsWith("_")||o==="refreshRequest"||o==="doctype"||i==null))if(Array.isArray(i))t.push({key:o,value:i.length,arrayCount:i.length});else if(typeof i=="object")for(const[n,r]of Object.entries(i))r!=null&&typeof r!="object"&&t.push({key:`${o}.${n}`,value:String(r)});else t.push({key:o,value:typeof i=="number"||typeof i=="boolean"?i:String(i)});return t.slice(0,12)}const X1=/^(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,6})?)?)?$/;function Q1(e){const t=X1.exec(e);if(!t)return e;const[,o,i,n,r,a,s]=t,d=Number(o),l=Number(i),u=Number(n),p=Number(r??0),m=Number(a??0),f=Number(s??0),v=new Date(0);return v.setUTCFullYear(d,l-1,u),v.setUTCHours(p,m,f,0),v.getUTCFullYear()!==d||v.getUTCMonth()!==l-1||v.getUTCDate()!==u||v.getUTCHours()!==p||v.getUTCMinutes()!==m||v.getUTCSeconds()!==f?e:new Intl.DateTimeFormat(_o(),{timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit",...r!==void 0?{hour:"2-digit",minute:"2-digit",...s!==void 0?{second:"2-digit"}:{}}:{}}).format(v)}const eI={company_name:"document.company.field.company_name",abbr:"document.company.field.abbr",country:"document.company.field.country",default_currency:"document.company.field.default_currency",domain:"document.company.field.domain",is_group:"document.company.field.is_group"};function e_(e,t){const o=eI[e];return o?t(o):void 0}function tI({document:e}){const t=fe(),o=Qg(e);return o.length===0?null:c("dl",{class:"grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-1.5 p-4",children:o.map(i=>c("div",{class:"min-w-0",children:[c("dt",{class:"font-mono text-chip text-ink-faint [overflow-wrap:anywhere]",children:(e.doctype==="Company"?e_(i.key,t):void 0)??i.key.replace(/_/g," ").replace(/\./g," > ")}),c("dd",{class:A("text-note text-ink-2 [overflow-wrap:anywhere]",["grand_total","total","amount"].includes(i.key)&&"font-semibold text-ink"),children:i.arrayCount!==void 0?t("doclist.detail.array_count",{n:i.arrayCount,s:i.arrayCount>1?"s":""}):typeof i.value=="number"?Ve(i.value,Number.isInteger(i.value)?0:2):typeof i.value=="boolean"?t(i.value?"document.boolean.true":"document.boolean.false"):Q1(i.value)})]},i.key))})}function nI({tabs:e,activeId:t,onChange:o,layout:i,idPrefix:n="document"}){const r=fe();function a(s,d){if(!["ArrowLeft","ArrowRight","Home","End"].includes(s.key))return;s.preventDefault();const l=e.map((m,f)=>({tab:m,tabIndex:f})).filter(({tab:m})=>!m.disabled);if(l.length===0)return;const u=l.findIndex(({tabIndex:m})=>m===d),p=s.key==="Home"?l[0]:s.key==="End"?l[l.length-1]:l[(u+(s.key==="ArrowRight"?1:-1)+l.length)%l.length];o(p.tab.id),document.getElementById(`${n}-tab-${p.tab.id}`)?.focus()}return c("div",{role:"tablist","aria-label":r("document.sections"),class:A("drag-scroll flex shrink-0 gap-1.5 overflow-x-auto border-b border-line",i==="mobile"?"px-3 py-2.5":"px-3.5 py-2.5"),children:e.map((s,d)=>{const l=s.id===t;return c("button",{id:`${n}-tab-${s.id}`,type:"button",role:"tab","aria-selected":l,"aria-controls":`${n}-panel-${s.id}`,tabIndex:l?0:-1,disabled:s.disabled,onClick:()=>o(s.id),onKeyDown:u=>a(u,d),class:A("shrink-0 border font-mono text-chip uppercase tracking-chip transition-colors","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",i==="mobile"?"rounded-pill px-2.5 py-1":"rounded-control px-2.5 py-[5px]",l?"border-accent bg-accent/14 text-accent-text":"border-line bg-control text-ink-muted hover:border-line-hover hover:text-ink","disabled:cursor-not-allowed disabled:opacity-40"),children:[s.label,s.count!==void 0&&c("span",{class:"ml-1.5 text-ink-faint",children:s.count})]},s.id)})})}const cs=new Set(["company_name","abbr","default_currency","country","domain","is_group"]),oI=new Set(["Section Break","Tab Break","Column Break"]);function t_(e){if(!Array.isArray(e)||e.length===0)return;const t=[],o=new Set;for(const i of e){if(i===null||typeof i!="object"||Array.isArray(i))return;const n=i;if(typeof n.fieldname!="string"||!n.fieldname.trim()||typeof n.fieldtype!="string"||!n.fieldtype.trim()||o.has(n.fieldname)||n.label!==void 0&&n.label!==null&&typeof n.label!="string")return;o.add(n.fieldname),t.push({fieldname:n.fieldname,fieldtype:n.fieldtype,...typeof n.label=="string"?{label:n.label}:{}})}return t.some(i=>!oI.has(i.fieldtype))?t:void 0}function iI(e,t){const o=t_(t);if(!o){const m=e.filter(v=>cs.has(v.key)),f=e.filter(v=>!cs.has(v.key));return{general:m,sections:f.length?[{key:"other",label:"",fields:f}]:[],schemaAvailable:!1}}const i=[],n=new Map;let r=-1,a=!1,s="";for(const[m,f]of o.entries())if(f.fieldtype!=="Column Break"){if(f.fieldtype==="Section Break"||f.fieldtype==="Tab Break"){if(f.fieldtype==="Tab Break"&&(s=f.label??""),!a)continue;const v=f.label??(f.fieldtype==="Section Break"?s:"");r=i.length,i.push({key:`native:${f.fieldname}`,label:v,fields:[]});continue}a=!0,n.set(f.fieldname,{section:r,order:m})}const d=[],l=i.map(()=>[]),u=[];for(const m of e){const f=n.get(m.key);cs.has(m.key)?d.push(m):!f||f.section===-1?u.push(m):l[f.section].push(m)}const p=(m,f)=>(n.get(m.key)?.order??Number.MAX_SAFE_INTEGER)-(n.get(f.key)?.order??Number.MAX_SAFE_INTEGER);return d.sort(p),{general:d,sections:[...i.flatMap((m,f)=>l[f].length?[{...m,fields:l[f].sort(p)}]:[]),...u.length?[{key:"other",label:"",fields:u}]:[]],schemaAvailable:!0}}const ls="erpnext_doc_get";function rI(e,t){const o=t.doctype==="Company"&&!!e?.getHostCapabilities()?.serverTools&&!!t.availableTools?.includes(ls),i=JSON.stringify([t.doctype,t.name,t.document.modified,t.availableTools]),n=me({app:e,scope:i,allowed:o,envelope:t});n.current={app:e,scope:i,allowed:o,envelope:t};const[r,a]=se({app:e,scope:i,allowed:o,status:o?"loading":"unavailable"});return st(()=>{let s=!1;const d=()=>!s&&n.current.app===e&&n.current.scope===i&&n.current.allowed&&!!e?.getHostCapabilities()?.serverTools&&!!n.current.envelope.availableTools?.includes(ls);return a({app:e,scope:i,allowed:o,status:o?"loading":"unavailable"}),e&&o&&(async()=>{try{if(!d())return;const l=await e.callServerTool({name:ls,arguments:{doctype:"DocType",name:"Company"}},{timeout:15e3});if(!d())return;if(l.isError===!0)throw new Error("schema unavailable");const u=it(l),p=u?an(JSON.parse(u)):null,m=p?.doctype==="DocType"&&p.name==="Company"?t_(p.document.fields):void 0;if(!m)throw new Error("schema unavailable");a({app:e,scope:i,allowed:o,schemaFields:m,status:"ready"})}catch{d()&&a({app:e,scope:i,allowed:o,status:"unavailable"})}})(),()=>{s=!0}},[e,i,o]),r.app!==e||r.scope!==i||r.allowed!==o?{status:o?"loading":"unavailable"}:{status:r.status,schemaFields:r.schemaFields}}function ds(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function to(e){return e!=null&&e!==!1}function aI({model:e,layout:t,panelId:o}){const i=fe(),n=Ra(e.envelope.doctype,e.envelope.document);if(!n)return null;const r=e.docstatus===0||e.status==="Draft",a=t!=="wide";return c("div",{class:A("flex shrink-0 items-center justify-between gap-2.5 border-b border-line bg-sunken",a?"px-3 py-[11px]":"px-4 py-2.5"),children:[c(ft,{children:i("document.purchase_invoice.total")}),c("div",{class:"flex min-w-0 items-center justify-end gap-1",children:[c("span",{class:A("font-semibold tabular-nums text-ink",a?"font-display text-title":"font-mono text-lede"),children:qt(n.amount,n.currency)}),n.showNote&&c(Og,{calculatedTotal:n.calculatedTotal,roundingAdjustment:n.roundingAdjustment,invoiceTotal:n.amount,currency:n.currency,isDraft:r,panelId:o})]})]})}function sI({app:e,model:t,layout:o}){const i=fe(),n=rI(e,t.envelope),r=iI(t.fields,n.schemaFields),a=Xg(t.envelope.document).find(l=>l.key==="is_group")?.value,s=r.general.map(l=>({...l,label:e_(l.key,i)??l.label,...l.key==="is_group"&&typeof a=="boolean"?{value:a,kind:"boolean"}:{}})),d=r.sections.map(l=>({...l,label:l.label||i("document.company.other")}));return c("div",{children:[c(js,{fields:s,heading:i("document.company.general"),emphasizeFields:!0,layout:o}),c("div",{class:"border-t border-line-soft",children:c(js,{fields:[],heading:null,fieldSections:d,longFields:t.longFields,progressFields:t.progressFields,collections:t.collections,systemFields:t.systemFields,layout:o})}),n.status!=="ready"&&c("p",{role:"status",class:"border-t border-line-soft px-4 py-3 text-note text-ink-muted",children:i(n.status==="loading"?"document.company.schema_loading":"document.company.schema_unavailable")})]})}function us({app:e,model:t,layout:o,presentation:i}){return i==="preview"?c(tI,{document:t.envelope.document}):t.envelope.doctype==="Company"?c(sI,{app:e,model:t,layout:o},t.envelope.name):c(js,{fields:t.fields,layoutSections:t.sections,emphasizeFields:t.sections!==void 0,longFields:t.longFields,progressFields:t.progressFields,collections:t.collections,systemFields:t.systemFields,layout:o})}function ms({children:e,class:t}){return c("section",{class:A("min-w-0 border-t border-line",t),children:e})}function n_({app:e,model:t,layout:o,presentation:i="full",navigation:n,headerActions:r,attachments:a,actions:s,footer:d,live:l,class:u,idPrefix:p,activeSectionId:m,onActiveSectionChange:f,scrollMode:v="contained",renderChildRowActions:S,childRowActionsPlacement:h="disclosure",contextTarget:b,renderChildRowContextTarget:g,childRowsExpandable:y=!0}){const T=fe(),_=`document-${ds(t.envelope.doctype)}-${ds(t.envelope.name)}`,z=p??_,w=`${t.envelope.doctype}:${t.envelope.name}`,[E,I]=se({documentKey:w,sectionId:"fields"}),[B,ie]=se({documentKey:w,row:null}),W=E.documentKey===w?E.sectionId:"fields",G=to(a),ne=to(s),ee=i==="preview",M=G||ne,Z=ee?Qg(t.envelope.document).length>0:t.fields.length>0||(t.sections?.length??0)>0||t.longFields.length>0||t.progressFields.length>0||t.collections.length>0||t.systemFields.length>0,O=(ee?[]:t.childTables).map((N,Q)=>({id:`table-${ds(N.key)}-${Q}`,table:N})),U=[...Z?[{id:"fields",label:T("document.fields")}]:[],...O.map(({id:N,table:Q})=>({id:N,label:Q.label,count:Q.rows.length})),...G?[{id:"attachments",label:T("document.attachments")}]:[]],H=m??W,q=U.some(N=>N.id===H)?H:U[0]?.id??"fields",re=v==="contained",ce=B.documentKey===w?B.row:null,_e=A("flex flex-col bg-surface",re&&"min-h-0 flex-1",u);function Te(N){m===void 0&&I({documentKey:w,sectionId:N}),ie({documentKey:w,row:null}),f?.(N)}function Ne(N){ie({documentKey:w,row:N})}const j=c(W1,{doctype:t.envelope.doctype,name:t.envelope.name,title:t.title,status:t.status,docstatus:t.envelope.doctype==="Company"?void 0:t.docstatus,layout:o,navigation:n,trailing:r,live:l,contextTarget:b}),L=!ee&&c(aI,{model:t,layout:o,panelId:`${z}-rounding`});if(o==="wide")return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,c("div",{class:A("grid",re&&"min-h-0 flex-1",M?"grid-cols-[minmax(0,1fr)_268px]":"grid-cols-1"),children:[c("main",{class:A("min-w-0",re&&"scroll-slim overflow-y-auto",M&&"border-r border-line"),children:[Z&&c(us,{app:e,model:t,layout:o,presentation:i}),O.map(({id:N,table:Q})=>c(as,{table:Q,layout:o,idPrefix:z,class:"border-t border-line-soft",renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne},N))]}),M&&c("aside",{"aria-label":T("document.sidebar"),class:A("min-w-0 bg-sunken",re&&"scroll-slim overflow-y-auto"),children:[G&&c("div",{children:a}),ne&&c(ms,{class:"p-3.5",children:s})]})]}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]});if(o==="panel")return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,c("main",{class:A(re&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[Z&&c(us,{app:e,model:t,layout:o,presentation:i}),O.map(({id:N,table:Q})=>c(as,{table:Q,layout:o,idPrefix:z,class:"border-t border-line",renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne},N)),G&&c(ms,{children:a}),ne&&c(ms,{class:"p-3.5",children:s})]}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]});const X=O.find(({id:N})=>N===q);return c("article",{"aria-label":T("document.surface",{name:t.envelope.name}),class:_e,children:[j,L,U.length>0&&c(nI,{tabs:U,activeId:q,onChange:Te,layout:o,idPrefix:z}),c("main",{class:A(re&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[q==="fields"&&Z&&c("div",{id:`${z}-panel-fields`,role:"tabpanel","aria-labelledby":`${z}-tab-fields`,children:c(us,{app:e,model:t,layout:o,presentation:i})}),X&&c("div",{id:`${z}-panel-${X.id}`,role:"tabpanel","aria-labelledby":`${z}-tab-${X.id}`,children:c(as,{table:X.table,layout:o,idPrefix:z,renderRowActions:S,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:y,activeDisclosure:ce,onDisclosureChange:Ne})}),q==="attachments"&&G&&c("div",{id:`${z}-panel-attachments`,role:"tabpanel","aria-labelledby":`${z}-tab-attachments`,children:a})]}),ne&&c("div",{class:"shrink-0 border-t border-line p-3",children:s}),to(d)&&c("footer",{class:"shrink-0 border-t border-line",children:d})]})}const cI=["update","submit","cancel","attachment.added"],lI=new Set(cI),dI=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;function ps(e){return typeof e=="string"&&e.trim().length>0}function uI(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;const t=e;return ps(t.doctype)&&ps(t.name)&&typeof t.mutation=="string"&&lI.has(t.mutation)&&typeof t.committedAt=="string"&&dI.test(t.committedAt)&&Number.isFinite(Date.parse(t.committedAt))&&(t.source===void 0||ps(t.source))}const mI=new Set(["bar","horizontal-bar","stacked-bar","line","area","stacked-area","composed"]),pI=new Set(["bar","line","area"]);function fI(e){return typeof e=="string"&&mI.has(e)?e:void 0}function hI(e){return typeof e=="string"&&pI.has(e)?e:void 0}function hr(e,t){return t.type?t.type:e.type==="line"?"line":e.type==="area"||e.type==="stacked-area"?"area":"bar"}function bI(e,t,o){const i=e.labels[t],n=e.datasets[o]?.label;return(i!==void 0&&n?e.seriesPointJumps?.[i]?.[n]:void 0)??(i!==void 0?e.pointJumps?.[i]:void 0)}function o_(e,t){return t.currency?{currency:t.currency}:t.unit?{unit:t.unit}:t.yAxisId==="right"&&e.rightAxisLabel?.includes("%")?{unit:"%"}:e.currency?{currency:e.currency}:e.unit?{unit:e.unit}:{}}function qi(e){return typeof e=="string"&&e.trim().length>0?e.trim():void 0}function Mm(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function oo(e,t={}){const o=an(e);if(o)return o;const i=Mm(e);if(!i)return null;const n=Mm(i.data)??i,r=qi(n.doctype)??qi(t.doctype),a=qi(n.name)??qi(t.name);return!r||!a?null:an({...i,data:{...n,doctype:r,name:a}})}const vI={erpnext_doc_submit:"submit",erpnext_doc_cancel:"cancel"};function Fm(e,t,o,i){const n=vI[t];if(!n)return null;const r={doctype:e.doctype,name:e.name,mutation:n,committedAt:o,source:i};return uI(r)?r:null}function gI(e){if(!e||typeof e!="object")return null;const t=e;if(!Array.isArray(t.labels))return null;const o=t.labels.map(String),n=(Array.isArray(t.values)?[{label:t.title,values:t.values}]:Array.isArray(t.datasets)?t.datasets:[]).flatMap(r=>{if(!r||typeof r!="object")return[];const a=r;if(!Array.isArray(a.values))return[];const s=a.values;return[{label:typeof a.label=="string"?a.label:"",values:o.map((d,l)=>{const u=Number(s[l]??0);return Number.isFinite(u)?u:0}),color:typeof a.color=="string"?a.color:void 0,type:hI(a.type),stack:typeof a.stack=="string"?a.stack:void 0,yAxisId:a.yAxisId==="left"||a.yAxisId==="right"?a.yAxisId:void 0,showDots:typeof a.showDots=="boolean"?a.showDots:void 0,strokeStyle:a.strokeStyle==="solid"||a.strokeStyle==="dashed"?a.strokeStyle:void 0,unit:typeof a.unit=="string"?a.unit:void 0,currency:typeof a.currency=="string"?a.currency:void 0}]});return n.length===0?null:{labels:o,datasets:n,type:fI(t.type),unit:typeof t.unit=="string"?t.unit:void 0,currency:typeof t.currency=="string"?t.currency:void 0,xAxisLabel:typeof t.xAxisLabel=="string"?t.xAxisLabel:void 0,yAxisLabel:typeof t.yAxisLabel=="string"?t.yAxisLabel:void 0,rightAxisLabel:typeof t.rightAxisLabel=="string"?t.rightAxisLabel:void 0,showRightAxis:typeof t.showRightAxis=="boolean"?t.showRightAxis:void 0,pointJumps:t._pointJumps&&typeof t._pointJumps=="object"?t._pointJumps:void 0,seriesPointJumps:t._seriesPointJumps&&typeof t._seriesPointJumps=="object"?t._seriesPointJumps:void 0}}function _I(e){return!e||typeof e!="object"?null:Array.isArray(e.data)?e:null}function yI({columns:e,chipFilters:t,counts:o,total:i,pill:n,onFilterChange:r}){const a=fe();if(e.length===0)return null;const s=e.some(({col:l})=>t[l]),d=e.filter(({col:l})=>t[l]).length;return c("div",{class:n?"drag-scroll fade-edge-r flex shrink-0 items-center gap-1.5 overflow-x-auto px-3 pb-2.5":"flex shrink-0 flex-wrap items-center gap-1.5 border-b border-line px-4 py-2.5",children:[c(om,{pill:n,active:!s,onClick:()=>{for(const{col:l}of e)r(l,null)},children:a("doclist.chips.all",{n:i})}),e.map(({col:l,values:u})=>u.map(p=>{const m=t[l]===p;return c(om,{pill:n,active:m,onClick:()=>r(l,m?null:p),children:[p," ",o[l]?.[p]??0,m&&c("span",{"aria-hidden":"true",class:"ml-1.5 text-accent-text",children:"×"})]},`${l}:${p}`)})),s&&!n&&c("span",{class:"ml-auto shrink-0 font-mono text-chip text-ink-faint",children:[a("doclist.chips.filter_count",{n:d,s:d>1?"s":""})," · ",a("doclist.chips.row_count",{n:i,s:i>1?"s":""})]})]})}function kI({value:e}){return c(xI,{tone:$i(e),children:e})}function xI({tone:e,children:t,pill:o}){return c("span",{class:`inline-flex shrink-0 font-mono text-micro uppercase tracking-chip ${o?"rounded-pill py-[3px] px-2":"rounded-badge px-[7px] py-0.5"} ${qa[e]}`,children:t})}function wI({layout:e,amountKey:t,sortKey:o,sortDir:i,onSort:n,...r}){const a=fe(),s=Fa();if(r.rows.length===0)return c("p",{class:"px-4 py-10 text-center text-data text-ink-muted",children:a("doclist.table.no_match")});const d=r.columns.find(p=>La(p.id))?.id,l=r.rows.some((p,m)=>!!r.interactionTarget?.(p,m)?.onDoubleActivate),u=(p,m)=>{const f=r.rowId(p,m);return{id:f,row:p,selected:r.selectedId===f,interactionTarget:r.interactionTarget?.(p,m),struck:r.struckId===f,tone:d?$i(String(p[d]??"")):"neutral"}};return e==="mobile"?c(zI,{...r,shape:u,amountKey:t,clickIntent:s,hasDetailControls:l}):e==="panel"?c(TI,{...r,shape:u,amountKey:t,clickIntent:s,hasDetailControls:l}):c($I,{...r,shape:u,statusKey:d,sortKey:o,sortDir:i,onSort:n,clickIntent:s,hasDetailControls:l})}function Xd({target:e,touch:t=!1}){const o=e?.onDoubleActivate;return o?c(Cn,{expanded:!!e.expanded,label:e.detailLabel??e.label,controls:e.controls,onToggle:o,touch:t}):null}function i_(e,t){const o=t?e[t]:void 0;return t==="outstanding_amount"&&o===0?null:o}function fs(e,t){return e.find(o=>o.id===t)?.label??""}function Qd(e,t,o=!1){return["transition-colors",o&&"line-through text-ink-faint",t&&"cursor-pointer",e?"bg-row-selected":"hover:bg-row-hover",t&&!e&&"active:bg-row-selected","focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"].filter(Boolean).join(" ")}function br(e,t){return["border-r-2",e?"border-r-accent":"border-r-transparent",t&&!e&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function $I({columns:e,rows:t,shape:o,statusKey:i,sortKey:n,sortDir:r,onSort:a,detail:s,clickIntent:d,hasDetailControls:l}){const u=fe();return c("table",{class:"w-full table-fixed border-collapse",children:[c("thead",{children:c("tr",{class:"bg-sunken",children:[e.map((p,m)=>c("th",{scope:"col","aria-sort":n===p.id?r==="desc"?"descending":"ascending":"none",class:["border-b border-line py-[7px] font-normal",m===0?"pl-4 pr-3.5":"px-3.5",p.numeric?"text-right":"text-left"].join(" "),children:c("button",{type:"button",onClick:()=>a(p.id),class:`font-mono text-micro uppercase tracking-label transition-colors hover:text-ink-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${n===p.id?"text-accent":"text-ink-faint"}`,children:[p.label,n===p.id&&c("svg",{"aria-hidden":"true",width:"7",height:"5",viewBox:"0 0 7 5",fill:"none",class:"ml-1 inline-block text-accent",children:r==="asc"?c("path",{d:"M1 4L3.5 1L6 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}):c("path",{d:"M1 1L3.5 4L6 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})]})},p.id)),l&&c("th",{scope:"col",class:"w-10 border-b border-line bg-sunken",children:c("span",{class:"sr-only",children:u("doclist.detail.inspector_label")})})]})}),c("tbody",{children:t.map((p,m)=>{const{id:f,row:v,selected:S,interactionTarget:h,tone:b,struck:g}=o(p,m),y=S||!!h?.selected,T=!!h;return c(Le,{children:[c("tr",{class:`border-b border-line-soft ${Qd(y,T,g)}`,...$t(h,{arbiter:d,key:`doclist-row:${f}`}),role:"row","aria-pressed":void 0,"aria-selected":h?.selected,children:[e.map((_,z)=>{const w=v[_.id],E=z===0,I=z===e.length-1;return c("td",{class:["truncate py-2",E?`border-l-2 ${Yd[b]} pl-[14px] pr-3.5`:"px-3.5",I&&!l&&br(!!h?.selected,T),_.numeric?"text-right font-mono text-cell tabular-nums":E?"font-mono text-data":"text-cell",E&&y?"text-accent-text":y?"text-ink":"text-ink-2"].filter(Boolean).join(" "),children:i===_.id&&typeof w=="string"?c(kI,{value:w}):w==null?c("span",{class:"text-ink-ghost",children:"—"}):E?Kd(St(w)):St(w)},_.id)}),l&&c("td",{class:`w-10 p-0 text-center ${br(!!h?.selected,T)}`,children:c(Xd,{target:h})})]}),S&&s&&c("tr",{children:c("td",{class:"p-0",colSpan:e.length+(l?1:0),children:s})})]},f)})})]})}const SI="grid-cols-[92px_1fr_78px]",II="grid-cols-[92px_1fr]",hs="truncate font-mono text-nano uppercase tracking-label text-ink-faint";function zI({columns:e,rows:t,shape:o,amountKey:i,detail:n,clickIntent:r,hasDetailControls:a}){const s=fe(),{idKey:d,labelKey:l,trailingKey:u}=Lg(e,i,La),p=u!==void 0&&u===i,m=u?SI:II;return c("div",{children:[c("div",{class:"flex border-y border-line bg-sunken",children:[c("div",{class:`grid ${m} min-w-0 flex-1 px-3 py-1.5`,children:[c("span",{class:hs,children:i?s("doclist.table.header.id"):fs(e,d)}),c("span",{class:hs,children:i?s("doclist.table.header.party"):fs(e,l)}),u&&c("span",{class:`${hs} text-right`,children:i?s("doclist.table.header.due"):fs(e,u)})]}),a&&c("span",{"aria-hidden":"true",class:"w-10"})]}),c("ul",{children:t.map((f,v)=>{const{id:S,row:h,selected:b,interactionTarget:g,tone:y,struck:T}=o(f,v),_=b||!!g?.selected,z=!!g,w=p?i_(h,i):u?h[u]:void 0;return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Yd[y]}`,br(!!g?.selected,z),_?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`grid ${m} min-w-0 flex-1 items-center px-3 ${Qd(_,z,T)}`,...$t(g,{arbiter:r,key:`doclist-row:${S}`}),children:[c("span",{class:`min-w-0 truncate font-mono text-data ${_?"text-accent-text":"text-ink-2"}`,children:d?Kd(St(h[d]),10,1):""}),c("span",{class:"truncate pr-2 text-data text-ink-muted",children:l?St(h[l]):""}),u&&c("span",{class:`truncate text-right font-mono text-data ${p?"tabular-nums":""} ${w==null?"text-ink-dim":p?`font-medium ${Wg[y]}`:"text-ink-muted"}`,children:w==null?"—":St(w)})]}),a&&c(Xd,{target:g,touch:!0})]}),b&&n]},S)})})]})}function TI({columns:e,rows:t,shape:o,amountKey:i,detail:n,clickIntent:r,hasDetailControls:a}){const{idKey:s,labelKey:d,trailingKey:l}=Lg(e,i,La),u=l!==void 0&&l===i;return c("ul",{class:"flex flex-col",children:t.map((p,m)=>{const{id:f,row:v,selected:S,interactionTarget:h,tone:b,struck:g}=o(p,m),y=S||!!h?.selected,T=!!h,_=u?i_(v,i):l?v[l]:void 0;return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Yd[b]}`,br(!!h?.selected,T),y?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`flex min-w-0 flex-1 items-center justify-between gap-2.5 px-3 py-[9px] ${Qd(y,T,g)}`,...$t(h,{arbiter:r,key:`doclist-row:${f}`}),children:[c("div",{class:"flex min-w-0 flex-col gap-px",children:[c("span",{class:`truncate font-mono text-note ${y?"text-accent-text":"text-ink-2"}`,children:s?Kd(St(v[s])):""}),d&&c("span",{class:"truncate text-note text-ink-muted",children:St(v[d])})]}),l&&c("span",{class:`max-w-[45%] shrink-0 truncate font-mono text-cell ${u?"tabular-nums":""} ${_==null?"text-ink-ghost":u?`font-medium ${Wg[b]}`:"text-ink-muted"}`,children:_==null?"—":St(_)})]}),a&&c(Xd,{target:h,touch:!0})]}),S&&n]},f)})})}function qm({action:e,loading:t,preview:o,onRequest:i}){const n=fe(),r=Ig[e],a=n(r.labelKey);return c(nt,{variant:r.variant,class:B2,disabled:o||t!==null,"aria-busy":t===e,"aria-label":a,title:n(o?"doclist.preview.no_host":r.titleKey),onClick:()=>i(e),children:t===e?"…":a})}function PI({show:e,loading:t,preview:o=!1,feedback:i,onRequest:n}){if(!e.submit&&!e.cancel&&!i)return null;const r=i?K2(i.tone):void 0;return c("div",{class:"flex flex-col",children:[c("div",{"aria-live":"polite","aria-atomic":"true",children:i&&!r&&c("p",{class:A("pb-2 font-mono text-chip",vm(i.tone)),children:i.text})}),i&&r&&c("p",{role:r,class:A("pb-2 font-mono text-chip",vm(i.tone)),children:i.text}),c("div",{class:"flex flex-col gap-2",children:[e.submit&&c(qm,{action:"submit",loading:t,preview:o,onRequest:n}),e.cancel&&c(qm,{action:"cancel",loading:t,preview:o,onRequest:n})]})]})}function r_({jumps:e,asks:t,onJump:o,onAsk:i,narrow:n}){const r=fe();return c("div",{class:"flex flex-col gap-2",children:[e.map(a=>c("button",{type:"button",disabled:!o,onClick:()=>o?.(a),class:A("group focus-visible:outline-2 focus-visible:outline-accent flex w-full items-center justify-between gap-2 rounded-[5px] border border-line-modal bg-count px-2.5 py-[7px] text-left font-mono text-[11.5px] text-ink transition-colors hover:border-accent hover:bg-control disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"truncate",children:F1(a,r)}),c("span",{"aria-hidden":"true",class:A("shrink-0 text-[13px] text-accent",!n&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},a.label)),t.length>0&&c("div",{class:"flex flex-col gap-[9px] pt-1",children:t.map(a=>c("button",{type:"button",disabled:!i,onClick:()=>i?.(a.message),class:A("focus-visible:outline-2 focus-visible:outline-accent flex items-center gap-[7px] self-start font-mono text-[11px] text-ink-muted disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"border-b border-dotted border-ink-faint transition-colors hover:border-ink-muted hover:text-ink",children:a.label}),c("span",{"aria-hidden":"true",class:"text-ink-faint",children:"~"})]},a.label))})]})}function EI(e,t){if(!e)return null;const o=an(e);if(o)return o;const i=typeof e.name=="string"?e.name.trim():"";return!t?.trim()||!i?null:an({data:{...e,doctype:t.trim(),name:i}})}function CI({app:e,envelope:t,data:o,doctype:i,loading:n,fixture:r,layout:a,embedded:s,onClose:d,onJump:l,onAsk:u,onAction:p,onDocumentChanged:m,context:f,contextView:v,contextKey:S}){const h=a!=="wide";if(n)return s?c("div",{role:"status",class:"flex h-[144px] flex-col gap-3.5 border-y border-accent/45 bg-surface p-4",children:[c(wt,{class:"h-[15px] w-3/4"}),c(wt,{class:"h-[15px] w-1/3"}),Array.from({length:3},(g,y)=>c(wt,{class:"h-3"},y))]}):c(jI,{narrow:h,onClose:d,children:c("div",{class:"flex flex-col gap-3.5 p-3.5",children:[c(wt,{class:"h-[15px] w-3/4"}),c(wt,{class:"h-[15px] w-1/3"}),Array.from({length:5},(g,y)=>c(wt,{class:"h-3"},y))]})});const b=t??EI(o,i);return b?c(DI,{app:e,envelope:b,fixture:r,outerLayout:a??"panel",embedded:s,onClose:d,onJump:l,onAsk:u,onAction:p,onDocumentChanged:m,context:f,contextView:v,contextKey:S},`${b.doctype}\0${b.name}`):null}function DI({app:e,envelope:t,fixture:o,outerLayout:i,embedded:n,onClose:r,onJump:a,onAsk:s,onAction:d,onDocumentChanged:l,context:u,contextView:p,contextKey:m}){const f=fe(),v=Ug(),[S,h]=se(null),[b,g]=se(null),y=n?i:i==="mobile"?"mobile":"panel",T=!n&&i!=="wide",_=Ua(t),z=qd(e.getHostCapabilities(),t.availableTools,t.refreshRequest),w=Jd({app:e,envelope:t,capabilities:z,onDocumentChanged:l}),E={id:t.name,name:t.name,doctype:t.doctype},I=t.sendMessageHints??[],B=t.availableTools,ie=Na(_,p??t.doctype,m),W=P2(t),G=u?.supported?u.reconcileDocument:void 0;Ce(()=>{if(!G)return;const N=[ie,..._.childTables.flatMap(Q=>Q.rows.flatMap((F,C)=>{const Y=Dn(t,Q,F,C,W);return Y?[Y]:[]}))];G(ie.id,N)},[W,m,p,t,G]);const ne=N=>!!(a&&e.getHostCapabilities()?.serverTools&&B&&B.includes(N)),ee=N=>!N.tool||!ne(N.tool)?null:Ht(N,E,f("nav.linked_to",{id:t.name}),{key:"nav.linked_to",params:{id:t.name}}),M=I.map(ee).filter(N=>N!==null),Z=s?I.flatMap(N=>{if(!N.message||ee(N))return[];const Q=Nt(N.message,E);return Zt(Q)?[]:[{label:wi(N),message:Q}]}):[],O=wg(t.doctype,t.document),U=zg({docstatus:_.docstatus,status:_.status,canSubmit:z.canSubmit,canCancel:z.canCancel,preview:o}),H=Tg(t.doctype,t.name,t.document);st(()=>{Pg(v.pending,U,H)&&v.dismiss()},[v.pending,U.submit,U.cancel,H]);async function q(N){if(o||!(N==="submit"?z.canSubmit:z.canCancel))return;h(N),g(null);const F=await d(N==="submit"?"erpnext_doc_submit":"erpnext_doc_cancel",{doctype:t.doctype,name:t.name});g(V2(F,f(N==="submit"?"doclist.detail.action.submit_ok":"doclist.detail.action.cancel_ok"),f)),h(null)}const ce=M.length>0||Z.length>0||U.submit||U.cancel||b!==null?c("div",{class:"flex flex-col gap-2",children:[M.length>0&&c(ft,{children:f("nav.goto")}),(M.length>0||Z.length>0)&&c(r_,{narrow:!0,jumps:M,asks:Z,onJump:a,onAsk:s}),c(PI,{show:U,loading:S,preview:o,feedback:b,onRequest:N=>v.request(J2(N,{doctype:t.doctype,name:t.name,documentSnapshot:H,amount:N==="submit"?O:void 0,translate:f,onConfirm:()=>void q(N)}))})]}):void 0,_e=T?c("button",{type:"button",onClick:r,"aria-label":f("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:f("doclist.detail.back_list_label")}):void 0,Te=T?void 0:c("button",{type:"button",onClick:r,"aria-label":f("doclist.detail.close_inspector"),class:"grid size-7 place-items-center rounded-control text-lede text-ink-faint transition-colors hover:bg-control hover:text-ink focus-visible:outline-2 focus-visible:outline-accent",children:"×"});function Ne(N,Q,F){const C=Dn(t,N,Q,F,W),Y=a&&e.getHostCapabilities()?.serverTools?Kg({hints:I,rootVars:E,row:Q,availableTools:B,subtitle:f("nav.linked_to",{id:C?.label??t.name}),subtitleKey:"nav.linked_to",subtitleParams:{id:C?.label??t.name}}):[],K=s?Vg({hints:I,rootVars:E,row:Q}).filter(xe=>!Y.some(Se=>Se.label===xe.label)):[];return{item:C,rowJumps:Y,rowAsks:K}}const j=n?(N,Q,F)=>{const{rowJumps:C,rowAsks:Y}=Ne(N,Q,F);if(!(C.length===0&&Y.length===0))return c(Le,{children:[C.map(K=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>a?.(K),children:[K.label,c("span",{"aria-hidden":"true",children:"›"})]},`${K.tool.name}:${K.label}`)),Y.map(K=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>s?.(K.message),children:[K.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${K.label}`))]})}:void 0,L=u?.supported?{label:f("context.active.toggle",{label:ie.label}),selected:u.isSelected(ie),onActivate:()=>void u.toggle(ie)}:void 0,X=n?(N,Q,F)=>{const{item:C}=Ne(N,Q,F);return C&&u?.supported?{label:f("context.active.toggle",{label:C.label}),detailLabel:C.label,selected:u.isSelected(C),onActivate:()=>u.toggleReversible(C)}:void 0}:void 0;return c(Le,{children:[c(n_,{app:e,model:_,layout:y,presentation:"preview",navigation:_e,headerActions:Te,attachments:z.canListAttachments?c(Fd,{controller:w,capabilities:z,layout:y,context:u}):void 0,actions:ce,scrollMode:n?"flow":"contained",renderChildRowActions:j,childRowActionsPlacement:n?"visible":"disclosure",contextTarget:L,renderChildRowContextTarget:X,childRowsExpandable:!n,class:n?"border-y border-accent/45":"h-full"}),c(mr,{confirm:v})]})}function jI({children:e,narrow:t,onClose:o}){const i=fe();return c("aside",{class:"scroll-slim flex min-h-0 flex-col overflow-y-auto bg-sunken",children:[c("div",{class:"flex shrink-0 items-center justify-between border-b border-line px-3.5 py-[11px]",children:t?c(Le,{children:[c("button",{type:"button",onClick:o,"aria-label":i("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:i("doclist.detail.back_list_label")}),c(ft,{children:i("doclist.detail.inspector_label")})]}):c(Le,{children:[c(ft,{children:i("doclist.detail.inspector_label")}),c("button",{type:"button",onClick:o,"aria-label":i("doclist.detail.close_inspector"),class:"text-lede leading-none text-ink-faint transition-colors hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:"×"})]})}),e]})}function AI({value:e,onInput:t,onClose:o}){const i=fe(),n=me(null);return Ce(()=>{n.current?.focus()},[]),c("div",{class:"shrink-0 px-3 pb-2.5",children:c("input",{ref:n,type:"search",value:e,placeholder:i("common.filter.placeholder"),"aria-label":i("common.filter.label"),onInput:r=>t(r.target.value),onKeyDown:r=>{r.key==="Escape"&&(t(""),o())},class:"w-full rounded-control border border-line bg-sunken px-2.5 py-1.5 font-mono text-data text-ink placeholder:text-ink-faint focus:border-accent focus:outline-none"})})}function OI(e){if(typeof e!="object"||e===null)return;const t=e._availableTools;if("_availableTools"in e)return Array.isArray(t)?[...new Set(t.filter(o=>typeof o=="string"&&o.length>0))]:[]}function yt(e,t){return e===void 0||e.includes(t)}function As(e,t,o){return!!e&&yt(t,o)}function bs(e){return`doclist-row-${encodeURIComponent(e)}-detail`}function NI(e,t){if(t.top>=e.top&&t.bottom<=e.bottom)return 0;const o=t.bottom-t.top,i=e.bottom-e.top;return o>=i||t.top<e.top?t.top-e.top:t.bottom-e.bottom}const vs=1e4,RI=1500;function Zi(e,t,o){return String(t?z1(e,t.idField)??o:e._id??e.name??o)}function UI({app:e,data:t,list:o,layout:i,fixture:n,error:r,subtitle:a,onError:s,onJump:d,onAsk:l,stale:u,onRefresh:p,onMutationInvalidate:m,onMutationRefresh:f,onMutated:v,onDocumentChanged:S,context:h,contextView:b,contextKey:g}){const y=fe(),{rows:T,pageRows:_,rowAction:z,expandedId:w}=o,E=e.getHostCapabilities()?.serverTools,I=z&&As(E,t._availableTools,z.toolName)?z:void 0,[B,ie]=se({id:null,data:null,loading:!1}),W=me(B),G=F=>{W.current=F,ie(F)},ne=me(null),ee=me(w);ee.current=w;const M=me(!0),Z=me(null);st(()=>(M.current=!0,()=>{M.current=!1,ne.current=null}),[]);const O=n&&T.some(F=>F._detail!=null),U=!!I||O,H=b??t._title??t.doctype??"Document",q=g??H;function re(F,C){if(!h?.supported||!t.doctype)return null;const Y=Zi(F,I,String(C)),K=oo(F,{doctype:t.doctype,name:Y});return K?Na(Ua(K),H,q):null}const ce=h?.supported?h.reconcileView:void 0;Ce(()=>{if(!ce)return;const F=T.flatMap((C,Y)=>{const K=re(C,Y);return K?[K]:[]});ce(q,F)},[t.doctype,q,H,ce,I,T]),Ce(()=>{if(w===null){ne.current=null,G({id:null,data:null,loading:!1});return}const F=_.find((C,Y)=>Zi(C,I,String(Y))===w);if(!F){ne.current=null,G({id:null,data:null,loading:!1}),o.setExpandedId(null);return}if(W.current.id!==w){if(n||!I&&F._detail){const C=oo(F._detail??F,{doctype:t.doctype,name:w});if(!C){s(y("doclist.error.load_details")),o.setExpandedId(null);return}G({id:w,data:C,loading:!1});return}I&&(G({id:w,data:null,loading:!0}),ne.current=w,(async()=>{try{const C=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:w}},{timeout:vs});if(ne.current!==w)return;if(C.isError)s(y("doclist.error.load_details")),o.setExpandedId(null);else{const Y=it(C);if(Y){const K=JSON.parse(Y),xe=oo(K,{doctype:t.doctype,name:w});if(!xe)throw new Error("document envelope is invalid");G({id:w,data:xe,loading:!1}),s(null)}else s(y("doclist.error.load_details")),o.setExpandedId(null)}}catch(C){if(ne.current!==w)return;s(`${y("doclist.error.load_details")} — ${C instanceof Error?C.message:String(C)}`),o.setExpandedId(null)}finally{ne.current===w&&G({...W.current,loading:!1})}})())}},[w,T,I,n,t.doctype]),Ce(()=>{if(B.id===null)return;const F=document.getElementById(bs(B.id)),C=Z.current;if(!F||!C)return;const Y=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,K=NI(C.getBoundingClientRect(),F.getBoundingClientRect());K!==0&&C.scrollTo({top:C.scrollTop+K,behavior:Y?"auto":"smooth"})},[B.id,B.loading]);function _e(F,C){const Y=Zi(F,I,String(C)),K=re(F,C);if(!K&&!U)return;const xe=K?.label??Y,Se=K?h?.isSelected(K)??!1:void 0;return{label:U?y(K?w===Y?"document.row.close_detail":"document.row.open_detail":w===Y?"document.row.close_detail_only":"document.row.open_detail_only",{label:xe}):y("context.active.toggle",{label:xe}),selected:Se,expanded:U?w===Y:void 0,detailLabel:xe,controls:U?bs(Y):void 0,onActivate:()=>{if(K){if(U)return h?.toggleReversible(K);h?.toggle(K)}},doublePolicy:"local",onDoubleActivate:U?()=>o.setExpandedId(w===Y?null:Y):void 0}}function Te(F){v?.(F.name),S?.(F)}function Ne(F){Te(F),m?.(),f?.()}function j(F){const C=W.current.data;return M.current&&!!F&&ee.current===F.name&&ne.current===F.name&&C?.doctype===F.doctype&&C.name===F.name}async function L(F){if(!F||!j(F))return!1;const C=F.name;m?.();try{if(await new Promise(ge=>setTimeout(ge,RI)),!I||!j(F))return!1;const Y=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:C}},{timeout:vs});if(!j(F))return!1;if(Y.isError)throw new Error("canonical read-back failed");const K=it(Y);if(!K)throw new Error("canonical read-back is empty");const xe=JSON.parse(K),Se=oo(xe,{doctype:F?.doctype??t.doctype,name:F?.name??C});if(!Se||Se.doctype!==F?.doctype||Se.name!==C)throw new Error("canonical document envelope is invalid");return G({id:C,data:Se,loading:!1}),s(null),!0}catch{return j(F)&&(s(y("doclist.error.load_details")),o.setExpandedId(null)),!1}finally{f?.()}}async function X(F,C){const Y=W.current.data;if(n||!E||!Y?.availableTools?.includes(F)||!j(Y))return!1;try{let K;try{K=await e.callServerTool({name:F,arguments:C},{timeout:vs})}catch(Pe){if(!j(Y))return!1;const Fe=dr(F,C,{transportFailure:Pe});return Fe.applies&&Fe.reread?(await L(Y),{transport:!0}):{error:Pe instanceof Error?Pe.message:null}}if(!j(Y))return!1;const xe=dr(F,C,{result:K});if(xe.applies){if(xe.kind==="error")return{error:it(K)??null};if(xe.emitCommittedEvent){const Fe=Fm(Y,F,new Date().toISOString(),"doclist.inline-detail");Fe?Te(Fe):w&&v?.(w)}const Pe=await L(Y);return xe.claimSubmitted?Pe?!0:{refreshPending:!0}:{unconfirmed:!0}}if(K.isError)return{error:it(K)??null};const Se=w,ge=Fm(Y,F,new Date().toISOString(),"doclist.inline-detail");return ge?Te(ge):Se&&v?.(Se),await L(Y)?!0:{refreshPending:!0}}catch(K){return{error:K instanceof Error?K.message:null}}}const Q=w!==null?c("div",{id:bs(w),children:c(CI,{app:e,envelope:B.data,loading:B.loading,fixture:n,layout:i,embedded:!0,onClose:()=>o.setExpandedId(null),onAction:X,onJump:d,onAsk:l,onDocumentChanged:Ne,context:h,contextView:H,contextKey:q})}):void 0;return c(Le,{children:[i==="mobile"&&o.searchOpen&&c(AI,{value:o.filter,onInput:o.setFilter,onClose:()=>o.setSearchOpen(!1)}),i!=="panel"&&c(yI,{columns:o.filterableColumns,chipFilters:o.chipFilters,counts:o.chipCounts,total:T.length,pill:i==="mobile",onFilterChange:o.setChipFilter}),u&&c("div",{role:"status",title:y("nav.stale_title"),class:"flex shrink-0 items-center gap-2 border-b border-warn/20 bg-warn/8 px-4 py-[7px] font-mono text-[10.5px] text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),c("span",{children:y("nav.stale_values",{at:u.at})}),p&&c("button",{type:"button",onClick:p,class:"ml-auto rounded-[3px] border border-warn/40 px-2 py-0.5 uppercase tracking-live text-warn hover:bg-warn/12",children:y("nav.refresh")})]}),r&&c(Ft,{tone:"bad",children:r}),c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{ref:Z,class:"scroll-slim min-h-0 flex-1 overflow-y-auto",children:c(wI,{columns:o.tableColumns,rows:o.pageRows,rowId:(F,C)=>Zi(F,I,String(C)),selectedId:w,struckId:u?.subject??null,sortKey:o.sortKey,sortDir:o.sortDir,onSort:o.handleSort,interactionTarget:_e,layout:i,amountKey:o.amountKey,detail:Q})}),o.amountTotal!==null&&c(ig,{layout:i,label:o.amountKey?.replace(/_/g," ")??y("common.total"),children:St(o.amountTotal)}),c("div",{class:"flex shrink-0 items-center gap-3 border-t border-line-soft bg-sunken px-4 py-[9px]",children:[c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:y("nav.of",{n:o.sorted.length,total:T.length})}),a&&c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:a}),c("div",{class:"flex-1"}),o.totalPages>1&&c("span",{class:"flex items-center gap-1.5",children:[c(nm,{disabled:o.page===0,"aria-label":y("common.pagination.prev"),onClick:()=>o.setPage(o.page-1),children:"‹"}),c("span",{class:"font-mono text-meta text-ink-muted",children:[o.page+1," / ",o.totalPages]}),c(nm,{disabled:o.page>=o.totalPages-1,"aria-label":y("common.pagination.next"),onClick:()=>o.setPage(o.page+1),children:"›"})]})]})]})]})}function LI({embedded:e=!1}){const t=gp(),o=c(Le,{children:[c("div",{class:"flex items-center gap-3 border-b border-line px-4 py-[13px]",children:[c(wt,{class:"h-[17px] w-40"}),c(wt,{class:"h-[17px] w-8"})]}),c("div",{class:"flex gap-1.5 border-b border-line px-4 py-2.5",children:[48,72,64,68].map(i=>c(wt,{class:"h-[19px]",style:{width:i}},i))}),c("div",{class:"flex flex-col",children:Array.from({length:8},(i,n)=>c("div",{class:"border-b border-line-soft px-4 py-2",children:c(wt,{class:"h-[15px]",style:{opacity:1-n*.1}})},n))})]});return e?c("div",{class:"min-h-0 flex-1 bg-surface",children:o}):c(cr,{style:Rg(t.containerDimensions),children:o})}function ao(e){return e.yAxisId==="right"?"right":"left"}function vr(e,t,o){if(t.stack)return`${ao(t)}:${o}:${t.stack}`;if(o==="bar"&&e.type==="stacked-bar")return`${ao(t)}:bar:default`;if(o==="area"&&e.type==="stacked-area")return`${ao(t)}:area:default`}function eu(e,t){const o=e.values[t];return typeof o=="number"&&Number.isFinite(o)?o:0}function MI(e){const t={left:{min:0,max:0},right:{min:0,max:0}};for(let i=0;i<e.labels.length;i++){const n=new Map;e.datasets.forEach(r=>{const a=ao(r),s=hr(e,r),d=eu(r,i),l=vr(e,r,s);if(l){const u=n.get(l)??{axis:a,negative:0,positive:0};d<0?u.negative+=d:u.positive+=d,n.set(l,u)}else t[a].min=Math.min(t[a].min,d),t[a].max=Math.max(t[a].max,d)});for(const r of n.values())t[r.axis].min=Math.min(t[r.axis].min,r.negative),t[r.axis].max=Math.max(t[r.axis].max,r.positive)}const o=i=>i.min===i.max?i.max===0?{min:0,max:1}:{min:Math.min(0,i.min),max:Math.max(1,i.max)}:i;return{left:o(t.left),right:o(t.right)}}function gs(e,t){return(e-t.min)/(t.max-t.min)*100}function FI(e,t,o,i,n){if(!i)return 0;let r=0;for(let a=0;a<t;a++){const s=e.datasets[a],d=hr(e,s);if(vr(e,s,d)!==i)continue;const l=eu(s,o);n<0==l<0&&(r+=l)}return r}const Hi=e=>Number(e.toFixed(3));function qI(e){const t=MI(e),o=[...new Set(e.datasets.flatMap((a,s)=>{const d=hr(e,a);return d!=="bar"?[]:[vr(e,a,d)??`series:${s}`]}))],i=Math.max(1,e.labels.length),n=Math.max(1,o.length),r=e.datasets.map((a,s)=>{const d=hr(e,a),l=ao(a),u=vr(e,a,d),p=d==="bar"?o.indexOf(u??`series:${s}`):0,m=e.labels.map((S,h)=>{const b=eu(a,h),g=FI(e,s,h,u,b),y=t[l],T=100/i,_=T*.72/n;return{labelIndex:h,seriesIndex:s,value:b,x:(h+.5)/i*100,y:gs(g+b,y),baseY:gs(g,y),barLeft:h*T+T*.14+p*_,barWidth:Math.max(.8,_-Math.min(1.5,_*.14))}}),f=d==="line"||d==="area"?m.map((S,h)=>`${h===0?"M":"L"} ${Hi(S.x)} ${Hi(100-S.y)}`).join(" "):void 0,v=d==="area"&&m.length>0?`${f} ${m.toReversed().map(S=>`L ${Hi(S.x)} ${Hi(100-S.baseY)}`).join(" ")} Z`:void 0;return{seriesIndex:s,kind:d,axis:l,stack:u,points:m,linePath:f,areaPath:v}});return{domains:t,zero:gs(0,t.left),series:r}}const Zm=["var(--color-cat-1)","var(--color-cat-2)","var(--color-cat-3)","var(--color-cat-4)","var(--color-cat-5)","var(--color-cat-6)","var(--color-cat-7)","var(--color-cat-8)"];function _s(e,t,o){return e.color?e.color:o===1?"var(--color-accent)":Zm[Math.min(t,Zm.length-1)]}function Hm(e,t,o,i){if(i<=1||o<=0)return 0;const n=Math.min(.999999,Math.max(0,(e-t)/o));return Math.floor(n*i)}function ZI({chart:e,activeIndex:t,contextEnabled:o,pointKey:i,isPointSelected:n,isPointDetailEnabled:r,onPointContext:a,onPointDetail:s,caption:d,narrow:l}){const u=fe(),p=Fa(),{labels:m,datasets:f}=e,v=qI(e),[S,h]=se(null),[b,g]=se(null),y=m.map((j,L)=>f.reduce((X,N)=>X+Math.abs(N.values[L]??0),0)),T=Math.max(0,y.indexOf(Math.max(...y))),z=Math.min(Math.max(0,t??T),Math.max(0,m.length-1)),w=S??b??{labelIndex:z,seriesIndex:0},E=w.labelIndex,I=f.length>1,B=(j,L)=>{const X=o_(e,j);return X.currency?ro(L,X.currency):X.unit==="%"?vp(L,L%1===0?0:1):`${Ve(L,L%1===0?0:1)}${X.unit?` ${X.unit}`:""}`},ie=(j,L)=>{const X=f[L],N=B(X,X.values[j]??0);return`${m[j]} · ${X.label||`#${L+1}`} · ${N}`},W=(j,L)=>!!(o&&a)&&m[j]!==void 0&&f[L]!==void 0,G=(j,L)=>!!(s&&r?.(j,L)),ne=(j,L)=>W(j,L)||G(j,L),ee=m.some((j,L)=>f.some((X,N)=>G(L,N))),M=ee?f.length:0,Z=l?40:28,O=Math.max(100,m.length*Math.max(42,26+f.length*5,M>0?M*(Z+4)+8:0)),U=(j,L)=>({key:i?.(j,L)??`nested-chart:${j}:${L}`,onSingle:()=>a?.(j,L),onDouble:()=>s?.(j,L),doublePolicy:"local"}),H=(j,L)=>{const X={labelIndex:j,seriesIndex:L};g(X),h(X)},q=(j,L)=>{H(j,L)},re=(j,L,X)=>{if(ne(j,L)&&(q(j,L),W(j,L))){p.click(U(j,L),X);return}},ce=(j,L)=>{G(j,L)&&(q(j,L),W(j,L)?p.doubleClick(U(j,L)):s?.(j,L))},_e=(j,L,X)=>{if(!X.repeat){if(q(j,L),W(j,L)&&G(j,L)){p.keyDown(U(j,L),X);return}if(X.key===" "&&W(j,L)){X.preventDefault(),a?.(j,L);return}X.key==="Enter"&&G(j,L)&&(X.preventDefault(),s?.(j,L))}},Te=(j,L)=>{h(null),g({labelIndex:j,seriesIndex:L}),p.activateDetail(U(j,L))},Ne=j=>({left:`${j.x}%`,bottom:`${j.y}%`});return c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{class:l?"px-3.5 pb-3 pt-4":"px-4 pb-3 pt-[18px]",children:[(e.yAxisLabel||e.rightAxisLabel)&&c("div",{class:"mb-2 flex justify-between font-mono text-nano text-ink-faint",children:[c("span",{children:e.yAxisLabel}),c("span",{children:e.rightAxisLabel})]}),I&&c("div",{class:"mb-3 flex flex-wrap items-center gap-x-3 gap-y-1.5",role:"list",children:f.map((j,L)=>{const X=v.series[L].kind;return c("span",{class:"inline-flex min-w-0 items-center gap-1.5 font-mono text-chip text-ink-muted",role:"listitem",children:[c("span",{class:X==="line"?"h-0.5 w-2.5 shrink-0 rounded-full":X==="area"?"h-2 w-2.5 shrink-0 rounded-[2px] opacity-45":"size-2 shrink-0 rounded-[2px]",style:{background:_s(j,L,f.length)},"aria-hidden":"true"}),c("span",{class:"truncate",children:j.label||`#${L+1}`})]},`${j.label}-${L}`)})}),c("div",{class:"overflow-x-auto pb-1",children:c("div",{style:{minWidth:`${O}px`},children:[c("div",{class:"relative h-[132px]",onMouseLeave:()=>h(null),children:[c("span",{class:"pointer-events-none absolute inset-x-0 border-t border-line-soft",style:{bottom:`${v.zero}%`},"aria-hidden":"true"}),v.series.map(j=>{const L=f[j.seriesIndex],X=_s(L,j.seriesIndex,f.length);if(j.kind==="bar")return j.points.map(C=>{const Y=ne(C.labelIndex,C.seriesIndex),K=!!n?.(C.labelIndex,C.seriesIndex),xe=Math.min(C.y,C.baseY),Se=Math.abs(C.y-C.baseY);return c("button",{type:"button",disabled:!Y,"aria-pressed":o?K:void 0,"aria-keyshortcuts":W(C.labelIndex,C.seriesIndex)&&G(C.labelIndex,C.seriesIndex)?"Space Enter":W(C.labelIndex,C.seriesIndex)?"Space":G(C.labelIndex,C.seriesIndex)?"Enter":void 0,"aria-label":ie(C.labelIndex,C.seriesIndex),onClick:ge=>{ge.stopPropagation(),re(C.labelIndex,C.seriesIndex,ge.detail)},onDblClick:ge=>{ge.stopPropagation(),ce(C.labelIndex,C.seriesIndex)},onKeyDown:ge=>_e(C.labelIndex,C.seriesIndex,ge),onMouseEnter:()=>H(C.labelIndex,C.seriesIndex),onFocus:()=>H(C.labelIndex,C.seriesIndex),onBlur:()=>h(null),class:`absolute min-h-px rounded-[2px] border-0 p-0 transition-opacity focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent ${Y?"cursor-pointer":"cursor-default"} ${l&&Y?"after:absolute after:left-1/2 after:top-1/2 after:size-10 after:-translate-x-1/2 after:-translate-y-1/2 after:content-['']":""}`,style:{background:X,bottom:`${xe}%`,height:`${Se}%`,left:`${C.barLeft}%`,width:`${C.barWidth}%`,opacity:K?1:C.labelIndex===E?.9:.65,boxShadow:K?"0 0 0 1px var(--color-accent)":void 0}},`${C.seriesIndex}-${C.labelIndex}`)});const N=j.points.some(C=>ne(C.labelIndex,C.seriesIndex)),Q=C=>{C.stopPropagation();const Y=C.currentTarget.ownerSVGElement;if(!Y)return;const K=Y.getBoundingClientRect(),xe=Hm(C.clientX,K.left,K.width,m.length);re(xe,j.seriesIndex,C.detail)},F=C=>{C.stopPropagation();const Y=C.currentTarget.ownerSVGElement;if(!Y)return;const K=Y.getBoundingClientRect(),xe=Hm(C.clientX,K.left,K.width,m.length);ce(xe,j.seriesIndex)};return c("svg",{class:"pointer-events-none absolute inset-0 size-full overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[j.areaPath&&c("path",{d:j.areaPath,fill:X,"fill-opacity":"0.16",stroke:"none",class:N?"pointer-events-auto cursor-pointer":void 0,onClick:N?Q:void 0,onDblClick:N?F:void 0}),c("path",{d:j.linePath,fill:"none",stroke:X,"stroke-width":"2","stroke-dasharray":L.strokeStyle==="dashed"?"6 3":void 0,"vector-effect":"non-scaling-stroke",class:N?"pointer-events-auto cursor-pointer":void 0,onClick:N?Q:void 0,onDblClick:N?F:void 0})]},j.seriesIndex)}),v.series.flatMap(j=>{if(j.kind==="bar")return[];const L=f[j.seriesIndex],X=_s(L,j.seriesIndex,f.length);return j.points.map(N=>{const Q=ne(N.labelIndex,N.seriesIndex),F=!!n?.(N.labelIndex,N.seriesIndex);return c("button",{type:"button",disabled:!Q,"aria-pressed":o?F:void 0,"aria-keyshortcuts":W(N.labelIndex,N.seriesIndex)&&G(N.labelIndex,N.seriesIndex)?"Space Enter":W(N.labelIndex,N.seriesIndex)?"Space":G(N.labelIndex,N.seriesIndex)?"Enter":void 0,"aria-label":ie(N.labelIndex,N.seriesIndex),onClick:C=>{C.stopPropagation(),re(N.labelIndex,N.seriesIndex,C.detail)},onDblClick:C=>{C.stopPropagation(),ce(N.labelIndex,N.seriesIndex)},onKeyDown:C=>_e(N.labelIndex,N.seriesIndex,C),onMouseEnter:()=>H(N.labelIndex,N.seriesIndex),onFocus:()=>H(N.labelIndex,N.seriesIndex),onBlur:()=>h(null),class:`absolute grid -translate-x-1/2 translate-y-1/2 place-items-center rounded-full border-0 bg-transparent p-0 focus-visible:outline-2 focus-visible:outline-accent ${l?"size-10":"size-6"} ${Q?"cursor-pointer":"cursor-default"}`,style:Ne(N),children:c("span",{"aria-hidden":"true",class:L.showDots===!1?"size-1.5 rounded-full opacity-0":F?"size-2 rounded-full ring-1 ring-accent ring-offset-1 ring-offset-surface":"size-1.5 rounded-full",style:{background:X}})},`point-${N.seriesIndex}-${N.labelIndex}`)})})]}),c("div",{class:"mt-2.5 flex gap-2 border-t border-line-soft pt-2",children:m.map((j,L)=>c("span",{title:j,class:`min-w-0 flex-1 truncate text-center font-mono text-[9.5px] ${L===E?"text-accent":"text-ink-faint"}`,children:j},L))}),ee&&c("div",{class:"mt-0.5 flex gap-2",children:m.map((j,L)=>c("div",{class:"flex min-w-0 flex-1 items-center justify-center gap-1",children:f.map((X,N)=>G(L,N)?c(Cn,{label:I?`${j} · ${X.label||`#${N+1}`}`:j,hint:u("interaction.detail.button_hint"),hintSide:L<m.length/2?"right":"left",touch:l,onToggle:()=>Te(L,N)},N):c("span",{"aria-hidden":"true",class:l?"size-10 shrink-0":"size-7 shrink-0"},N))},L))}),e.xAxisLabel&&c("div",{class:"mt-1.5 text-right font-mono text-nano text-ink-faint",children:e.xAxisLabel})]})})]}),(d||I||G(w.labelIndex,w.seriesIndex))&&m.length>0&&f.length>0&&c("div",{class:"flex flex-wrap items-center gap-x-3 gap-y-1.5 border-t border-line bg-sunken px-4 py-2.5",children:[c("span",{class:"font-mono text-[11px] font-medium text-accent",children:m[E]}),f.map((j,L)=>c("span",{class:"inline-flex items-center gap-1.5 font-mono text-meta text-ink",children:[I&&c("span",{class:"text-ink-muted",children:[j.label||`#${L+1}`,":"]}),B(j,j.values[E]??0)]},`${j.label}-${L}`)),d&&c("span",{class:"font-sans text-note text-ink-dim",children:d})]})]})}function Os(e){return encodeURIComponent(e.trim())}function HI(e,t,o){const i=o_(e,t);return i.currency?ro(o,i.currency):i.unit==="%"?vp(o,o%1===0?0:1):`${Ve(o,o%1===0?0:1)}${i.unit?` ${i.unit}`:""}`}function BI(e){return`chart:${Os(e)}`}function a_(e,t,o,i,n){const r=e.labels[i],a=e.datasets[n];if(r===void 0||!a)return null;const s=a.label||`#${n+1}`;return{id:`${t}:point:${Os(r)}:${Os(s)}`,view:o,reconcileKey:t,label:`${r} · ${s}`,value:HI(e,a,a.values[i]??0)}}function JI(e,t,o){return e.labels.flatMap((i,n)=>e.datasets.flatMap((r,a)=>{const s=a_(e,t,o,n,a);return s?[s]:[]}))}const Bm={count:0,data:[]};function s_(e){return e.kind!=="list"?Bm:e.body??Bm}function Jm({level:e,app:t,list:o,layout:i,fixture:n,onJump:r,onAsk:a,onError:s,onRefresh:d,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,children:v}){const S=fe();if(e.kind==="root")return c(Le,{children:v});if(e.loading)return c(LI,{embedded:!0});if(e.error)return c(Ft,{tone:"bad",children:e.error});const h=c(Ft,{tone:"bad",children:S("nav.unexpected_body")});if(e.kind==="record"){const b=oo(e.body);return b?c(VI,{app:t,envelope:b,levelJumps:e.jumps,layout:i,onJump:r,onAsk:a,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id},`${b.doctype}\0${b.name}`):h}if(e.kind==="chart"){const b=gI(e.body);return b?c(KI,{level:e,chart:b,layout:i,onJump:r,context:f},e.id):h}return _I(e.body)?c(UI,{app:t,data:s_(e),list:o,layout:i,fixture:n,subtitle:Ma(e,S),onError:s,onJump:r,onAsk:a,stale:e.stale,onRefresh:d,onMutated:l,onDocumentChanged:u,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id}):h}function KI({level:e,chart:t,layout:o,onJump:i,context:n}){const r=fe(),a=e.title,s=_o(),d=BI(e.key??e.id),l=n?.supported?n.reconcileView:void 0;Ce(()=>{l&&l(d,JI(t,d,a))},[t,d,l,a,s]);const u=(S,h)=>{if(!i)return null;const b=bI(t,S,h),g=t.labels[S],y=t.datasets[h]?.label,T=y?`${g} · ${y}`:g;return b?Ht(b,{},r("nav.linked_to",{id:T}),{key:"nav.linked_to",params:{id:T}}):null},p=(S,h)=>a_(t,d,a,S,h),m=t.labels.some((S,h)=>t.datasets.some((b,g)=>u(h,g)!==null)),f=!!n?.supported,v=f&&m?r("chart.tooltip.click_action_context"):f?r("chart.tooltip.click_action_context_only"):m?r("chart.tooltip.click_action_fallback"):void 0;return c(ZI,{chart:t,narrow:o!=="wide",caption:v,contextEnabled:f,pointKey:(S,h)=>p(S,h)?.id??`${d}:point:${S}:${h}`,isPointSelected:f?(S,h)=>{const b=p(S,h);return b?n.isSelected(b):!1}:void 0,isPointDetailEnabled:(S,h)=>u(S,h)!==null,onPointContext:f?(S,h)=>{const b=p(S,h);return b?n.toggleReversible(b):void 0}:void 0,onPointDetail:m?(S,h)=>{const b=u(S,h);b&&i?.(b)}:void 0})}function VI({app:e,envelope:t,levelJumps:o,layout:i,onJump:n,onAsk:r,onMutated:a,onDocumentChanged:s,onMutationInvalidate:d,onMutationRefresh:l,context:u,contextView:p,contextKey:m}){const f=fe(),v=Ua(t),S=qd(e.getHostCapabilities(),t.availableTools,t.refreshRequest),b=Jd({app:e,envelope:t,capabilities:S,onDocumentChanged:ee=>{a?.(ee.name),s?.(ee),d?.(),l?.()}}),g={id:t.name,name:t.name,doctype:t.doctype},y=t.sendMessageHints??[],T=t.availableTools,_=ee=>!n||!ee.tool||!e.getHostCapabilities()?.serverTools||!T?.includes(ee.tool)?null:Ht(ee,g,f("nav.linked_to",{id:t.name}),{key:"nav.linked_to",params:{id:t.name}}),z=y.map(_).filter(ee=>ee!==null),w=[...o??[],...z],E=r?y.flatMap(ee=>{if(!ee.message||_(ee))return[];const M=Nt(ee.message,g);return Zt(M)?[]:[{label:wi(ee),message:M}]}):[],I=Na(v,p??t.doctype,m),B=u?.supported?u.reconcileDocument:void 0;Ce(()=>{if(!B)return;const ee=[I,...v.childTables.flatMap(M=>M.rows.flatMap((Z,O)=>{const U=Dn(t,M,Z,O,m);return U?[U]:[]}))];B(I.id,ee)},[m,p,t,B]);const ie=w.length>0||E.length>0?c("div",{class:"flex flex-col gap-2",children:[w.length>0&&c(ft,{children:f("nav.goto")}),c(r_,{narrow:i!=="wide",jumps:w,asks:E,onJump:n,onAsk:r})]}):void 0,W=u?.supported?{label:f("context.active.toggle",{label:I.label}),selected:u.isSelected(I),onActivate:()=>void u.toggle(I)}:void 0,G=(ee,M)=>{const Z=n&&e.getHostCapabilities()?.serverTools?Kg({hints:y,rootVars:g,row:M,availableTools:T,subtitle:f("nav.linked_to",{id:t.name}),subtitleKey:"nav.linked_to",subtitleParams:{id:t.name}}):[],O=r?Vg({hints:y,rootVars:g,row:M}).filter(U=>!Z.some(H=>H.label===U.label)):[];if(!(Z.length===0&&O.length===0))return c(Le,{children:[Z.map(U=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>n?.(U),children:[U.label,c("span",{"aria-hidden":"true",children:"›"})]},`${U.tool.name}:${U.label}`)),O.map(U=>c(nt,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>r?.(U.message),children:[U.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${U.label}`))]})},ne=(ee,M,Z)=>{if(!u?.supported)return;const O=Dn(t,ee,M,Z,m);return O?{label:f("context.active.toggle",{label:O.label}),detailLabel:O.label,selected:u.isSelected(O),onActivate:()=>u.toggleReversible(O)}:void 0};return c(n_,{app:e,model:v,layout:i,presentation:"preview",attachments:S.canListAttachments?c(Fd,{controller:b,capabilities:S,layout:i,context:u}):void 0,actions:ie,contextTarget:W,renderChildRowActions:G,renderChildRowContextTarget:ne,childRowActionsPlacement:"visible"})}function WI(e){return typeof e=="object"&&e!==null}function Za(e){return WI(e?.message?.text)}async function tu(e,t){if(!Za(e.getHostCapabilities()))return!1;try{const o=await e.sendMessage({role:"user",content:[{type:"text",text:t}]});return!(typeof o=="object"&&o!==null&&"isError"in o&&o.isError===!0)}catch{return!1}}async function GI(e,t,o){const i=Hg(o),n=Wd(o.tool),r={outcome:"ignored",id:"",epoch:""};if(e.set(d=>{if(jn(d).loading)return d;const l=A1(d,n);if(l>=0)return r.outcome="popped",pr(d,l);const u=qg(d,i);return r.id=jn(u).id,r.epoch=Yt(d),r.outcome="pushed",u}),r.outcome!=="pushed")return r.outcome;const a=r.id,s=await Gd(t,o.tool);return e.set(d=>Yt(d)!==r.epoch?d:gn(d,a,{loading:!1,body:s.body,count:s.count,error:s.error})),r.outcome}async function YI(e,t,o,i=Wd(o.tool)){const n={...Hg(o),rootTriggerKey:i},r={outcome:"pushed",id:"",epoch:""};if(e.set(s=>{if(s.levels[1]?.rootTriggerKey===i)return r.outcome="closed",pr(s,0);const l=s.levels.length>1,u=l?pr(s,0):s,p=qg(u,n);return r.id=jn(p).id,r.epoch=Yt(s),r.outcome=l?"replaced":"pushed",p}),r.outcome==="closed")return r.outcome;const a=await Gd(t,o.tool);return e.set(s=>Yt(s)!==r.epoch?s:gn(s,r.id,{loading:!1,body:a.body,count:a.count,error:a.error})),r.outcome}async function XI(e,t){const o={id:"",epoch:""};if(e.set(s=>{const d=jn(s);return d.tool?(o.id=d.id,o.epoch=Yt(s),o.tool=d.tool,gn(s,d.id,{loading:!0})):s}),!o.tool)return!1;const{id:i,epoch:n,tool:r}=o,a=await Gd(t,r);return a.error?(e.set(s=>Yt(s)===n?gn(s,i,{loading:!1}):s),!1):(e.set(s=>Yt(s)!==n?s:Zg(gn(s,i,{loading:!1,body:a.body,count:a.count,error:void 0}),i)),!0)}function QI(e,t){const[o,i]=se(()=>Fg(t)),n=Vd(t);st(()=>{i(T=>E1(T,t))},[n,t.title,t.titleKey,t.titleParams,t.titleSuffix,t.subtitle,t.subtitleKey,t.subtitleParams]);const r=fe(),a=jn(o),s=bo(a,r),d=Ma(a,r),l=ot(()=>U1(a,r),[a,s,d]),u=ot(()=>({set:T=>i(_=>T(_))}),[]),p=Ue(T=>GI(u,e,T),[u,e]),m=Ue((T,_)=>YI(u,e,T,_),[u,e]),f=Ue(()=>i(T=>C1(T)),[]),v=Ue(T=>i(_=>pr(_,T)),[]),S=Ue(T=>{i(_=>D1(_,jn(_).id,T))},[]),h=Ue(T=>{i(_=>O1(_,Km(new Date),T))},[]),b=Ue(T=>{const _=new Date(T.committedAt);i(z=>N1(z,Km(_),T))},[]),g=Ue(()=>XI(u,e),[u,e]),y=Ue(T=>{i(_=>Zg(_,T))},[]);return{stack:o,current:l,depth:o.levels.length,isRoot:o.levels.length===1,jump:p,toggleRootChild:m,pop:f,popTo:v,patchUi:S,markStale:h,reportDocumentChange:b,refreshLevel:g,clearStale:y}}function Km(e){const t=o=>String(o).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}`}function e3(e,t,{fixture:o=!1,rootList:i}={}){const n=QI(e,t),{current:r,isRoot:a}=n,s=!o&&L1(e.getHostCapabilities()),d=!o&&Za(e.getHostCapabilities()),l=P1(a&&i?i:s_(r),r.ui,n.patchUi),u=Ue(m=>tu(e,m),[e]);return{nav:n,current:r,isRoot:a,jumpsEnabled:s,messagesEnabled:d,list:l,ask:d?u:void 0}}async function t3(e,t,o=()=>!0){return await hg(e,t)==="shared"?"context":o()?"none":"superseded"}function n3(e,t){let o=t,i=t,n=0,r={selections:[],pending:!1,failed:!1,evictedLabel:null};const a=new Set,s=t2(),d=new Set;let l=0,u=0,p=[],m=[],f=0;function v(w){if(!Object.entries(w).every(([E,I])=>r[E]===I)){r={...r,...w};for(const E of a)E(r)}}function S(w=n,E){const I=++l,B=E??I;return d.add(I),v({pending:!0}),Object.assign(W=>{if(!d.delete(I))return;const G={pending:d.size>0};W!==void 0&&w===n&&(!W||B>=u)&&(u=Math.max(u,B),G.failed=!W),v(G)},{id:I})}function h(){const w=Y$(p,m);p=w.base,m=w.mutations}function b(w,E=!1){const I={id:++f,active:!0,reversible:E,apply:w};return m.push(I),h(),I}function g(w){m.includes(w)&&(w.reversible=!1,h())}function y(w){v({selections:w})}function T(w){return w.length===0?um(e):hg(e,w.map(E=>E.item))}function _(){if(!sg(e.getHostCapabilities()))return Promise.resolve("unsupported");const w=S();return v({evictedLabel:null}),s.run(async()=>{try{const E=await um(e);return E==="cleared"&&(p=[],m=[],y([])),w(E==="unsupported"?void 0:E==="cleared"),E}finally{w()}})}function z(w){const E=n,I=()=>E===n;function B(O){return U=>cm(lm(U,w),w,O).selections}function ie(O,U){const H=U&&r.selections.find(q=>q.scopeKey===w&&q.item.id===O.id);if(H){const q=re=>dm(re,H);return{selections:q(r.selections),evicted:null,removing:!0,apply:q}}return{...cm(lm(r.selections,w),w,O),removing:!1,apply:B(O)}}function W(O,U=!1){const H=S(E);return s.run(async()=>{try{if(!I())return"superseded";const q=ie(O,U),re=q.removing?await T(q.selections):void 0,ce=q.removing?re==="shared"||re==="cleared"?"context":"none":await t3(e,q.selections.map(_e=>_e.item),I);return ce==="context"&&(b(q.apply),y(q.selections),I()&&(q.removing||q.evicted)&&v({evictedLabel:q.evicted?.item.label??null})),H(ce==="context"),I()?ce:"superseded"}finally{H()}})}function G(O,U=!1){const H=S(E);let q=H.id;const re=s.run(async()=>{try{if(!I())return()=>!1;const ce=ie(O,U),_e=await T(ce.selections);if(_e!=="shared"&&_e!=="cleared")return H(!1),()=>!1;const Te=b(ce.apply,!0);y(ce.selections),I()&&(ce.removing||ce.evicted)&&v({evictedLabel:ce.evicted?.item.label??null}),H(!0);const Ne=()=>{const j=S(E,q);return s.run(async()=>{try{if(!Te.active||!m.includes(Te))return!0;Te.active=!1;const L=fg(m,p);if(Qa(r.selections,L))return!0;const X=await T(L),N=X==="shared"||X==="cleared";return N?(y(L),v({evictedLabel:null})):Te.active=!0,j(N),N}finally{j()}})};return Ne.release=()=>g(Te),Ne}finally{H()}});return Object.assign(re,{retainPending:()=>{const ce=S(E);return q=ce.id,ce}})}function ne(O){const U=S(E);return s.run(async()=>{try{if(!I())return"superseded";const H=_e=>dm(_e,O),q=H(r.selections);if(Qa(r.selections,q))return b(H),"unchanged";const re=await T(q),ce=re==="shared"||re==="cleared";return ce&&(b(H),y(q)),U(ce),re}finally{U()}})}function ee(O){return s.run(async()=>{if(!I())return"unchanged";const U=O(r.selections);if(Qa(r.selections,U))return b(O),"unchanged";const H=S(E);try{const q=await T(U),re=q==="shared"||q==="cleared";return re&&(b(O),y(U)),H(re),q}finally{H()}})}function M(){return r.pending?new Promise(O=>{const U=H=>{H.pending||(a.delete(U),O())};a.add(U)}):Promise.resolve()}async function Z(O,U){if(!await U||!I())return!1;for(;I();){await M();const H=await s.run(()=>!I()||r.failed?Promise.resolve("cancel"):r.pending?Promise.resolve("retry"):(O(),Promise.resolve("sent")));if(H!=="retry")return H==="sent"}return!1}return{activate:W,activateReversible:G,toggle:O=>W(O,!0),toggleReversible:O=>G(O,!0),remove:ne,clear:_,runConversation:Z,reconcile:O=>ee(U=>X$(U,w,O)),reconcileView:(O,U)=>ee(H=>Q$(H,w,O,U)),reconcileDocument:(O,U)=>ee(H=>e2(H,w,O,U)),isSelected:O=>r.selections.some(U=>U.scopeKey===w&&U.item.id===O.id)}}return{getSnapshot:()=>r,subscribe(w){return a.add(w),()=>{a.delete(w)}},setScope(w){o!==w&&(o=w,n+=1)},clearPreviousScope(){if(i!==o)return i=o,_()},dismissEviction:()=>v({evictedLabel:null}),actionsForScope:z}}function o3(e,t){const o=ot(()=>n3(e,t),[e]),[i,n]=se(o.getSnapshot);o.setScope(t);const r=ot(()=>o.actionsForScope(t),[o,t]);return st(()=>{const a=o.subscribe(n);return n(o.getSnapshot()),a},[o]),st(()=>{o.clearPreviousScope()},[o,t]),Ce(()=>{if(!i.evictedLabel)return;const a=setTimeout(o.dismissEviction,2400);return()=>clearTimeout(a)},[o,i.evictedLabel]),{...i,supported:sg(e.getHostCapabilities()),...r}}function i3(e,t){const o=[];e.kind==="record"&&o.push(t("nav.kind.record")),e.kind==="chart"&&o.push(t("nav.kind.chart"));const i=Ma(e,t);i&&o.push(i);const n=e.ui;typeof n.sortKey=="string"&&n.sortKey&&o.push(t("nav.ui.sort",{key:n.sortKey.replace(/_/g," "),dir:n.sortDir==="desc"?"↓":"↑"})),typeof n.filter=="string"&&n.filter&&o.push(t("nav.ui.filter",{q:n.filter}));for(const[r,a]of Object.entries(n.chipFilters??{}))a&&o.push(t("nav.ui.filter",{q:`${r.replace(/_/g," ")} ${a}`}));return typeof n.page=="number"&&n.page>0&&o.push(t("nav.ui.page",{n:n.page+1})),typeof n.expandedId=="string"&&n.expandedId&&o.push(t("nav.ui.active",{id:n.expandedId})),o.join(" · ")}const c_=c("span",{class:"font-mono text-[11px] text-line-hover",children:"/"});function Vm({stack:e,onBack:t,onJump:o,loading:i,layout:n}){const r=fe(),[a,s]=se(!1),d=me(null),l=R1(e);if(Ce(()=>{if(!a)return;const m=f=>{d.current?.contains(f.target)||s(!1)};return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[a]),Ce(()=>s(!1),[e.levels.length]),!l.showBar)return null;const u=l.current.level,p=u.kind==="chart"?r("nav.kind.chart"):u.kind==="record"?r("nav.kind.record"):r("nav.kind.list");return c("nav",{"aria-label":r("nav.trail"),class:"relative shrink-0 border-b border-line bg-sunken",onKeyDown:m=>{m.key==="Escape"&&s(!1)},children:[c("div",{class:A("flex h-9 min-w-0 items-center gap-[9px]",n&&n!=="wide"?"px-3":"px-4"),children:[c("button",{type:"button","aria-label":r("nav.back"),title:r("nav.back"),onClick:t,class:A(n==="mobile"?"size-10 -ml-2":"size-6","flex shrink-0 items-center justify-center rounded-[4px] font-mono text-[15px] font-medium text-accent transition-colors hover:bg-accent/12 active:bg-accent/20 active:text-accent-text focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),children:"‹"}),l.trail.map(m=>"elided"in m?c("span",{class:"contents",children:[c("button",{type:"button","aria-expanded":a,"aria-haspopup":"menu","aria-label":r("nav.elided_title"),onClick:()=>s(f=>!f),class:A("rounded-[3px] border px-1.5 py-0.5 font-mono text-[11px] transition-colors",a?"border-accent bg-accent/12 text-ink":"border-dotted border-line-modal text-ink-dim hover:border-line-hover hover:text-ink"),children:r("nav.elided",{n:m.elided.length})}),c_]},`elided:${m.elided[0]?.index}`):c(r3,{crumb:m,onJump:o},m.level.id)),c("span",{"aria-current":"page",class:"truncate font-mono text-[11.5px] font-medium text-ink",children:bo(u,r)}),c("div",{class:"flex-1"}),i?c("span",{class:"flex items-center gap-1.5",children:[c("span",{class:"size-[5px] rounded-full bg-accent"}),c("span",{class:"font-mono text-[10px] uppercase tracking-live text-accent",children:r("nav.loading")})]}):c(Le,{children:[c("span",{class:A("rounded-[3px] border px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-label",u.kind==="chart"?"border-brand/40 text-brand":"border-line text-ink-faint"),children:p}),u.count!==void 0&&u.kind==="list"&&c("span",{class:"rounded-[3px] bg-count px-[7px] py-0.5 font-mono text-[11px] text-ink-muted",children:u.count})]})]}),a&&c("div",{ref:d,role:"menu",class:"absolute left-4 top-9 z-20 w-[300px] overflow-hidden rounded-b-[6px] border border-line-modal bg-control shadow-modal",children:l.elided.map(m=>c("button",{type:"button",role:"menuitem",onClick:()=>o(m.index),class:"flex w-full items-baseline gap-2.5 border-b border-line-soft px-3.5 py-[9px] text-left transition-colors last:border-b-0 hover:bg-row-hover",children:[c("span",{class:"w-[10px] shrink-0 font-mono text-[10px] text-ink-faint",children:m.index+1}),c("span",{class:"flex min-w-0 flex-col gap-0.5",children:[c("span",{class:"truncate font-mono text-[11.5px] text-ink",children:bo(m.level,r)}),c("span",{class:"font-sans text-[11px] text-ink-dim",children:i3(m.level,r)})]})]},m.level.id))})]})}function r3({crumb:e,onJump:t}){const o=fe(),i=e.level.stale;return c(Le,{children:[c("button",{type:"button",onClick:()=>t(e.index),title:i?o("nav.stale_values",{at:i.at}):void 0,class:A("truncate border-b border-transparent pb-px font-mono text-[11.5px] transition-colors hover:border-accent hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e.level.origin==="chart"?"text-brand":"text-ink-muted"),children:[i&&c("span",{"aria-hidden":"true",class:"mr-1.5 inline-block size-[5px] rounded-full bg-warn align-middle"}),bo(e.level,o)]}),c_]})}function Wm({status:e}){return c("span",{class:A("rounded-badge py-[2px] px-[7px]","font-mono text-micro uppercase tracking-chip",qa[$i(e)]),children:e})}const a3={_availableTools:[],data:{doctype:"Sales Invoice",name:"ACC-SINV-2026-00042",customer:"CUST-ACME",customer_name:"Acme Corp",company:"Casys",posting_date:"2026-08-01",due_date:"2026-08-31",status:"Unpaid",docstatus:1,grand_total:2160,net_total:1800,total_taxes_and_charges:360,outstanding_amount:2160,currency:"EUR",contact_email:"billing@acme.test",items:[{item_code:"ITEM-LAPTOP",item_name:"Laptop Pro 14",qty:2,rate:800,amount:1600},{item_code:"ITEM-MOUSE",item_name:"Wireless Mouse",qty:2,rate:100,amount:200}]},refreshRequest:{toolName:"erpnext_sales_invoice_get",arguments:{name:"ACC-SINV-2026-00042"}},_sendMessageHints:[{key:"payments",label:"Payments",message:"Show payment entries for invoice {id}",tool:"erpnext_doc_list",args:{doctype:"Payment Entry",fields:["name","posting_date","paid_amount","mode_of_payment","docstatus"],filters:[["Payment Entry Reference","reference_name","=","{id}"]],limit:20},kind:"list"},{key:"customer",label:"Customer",message:"Show customer CUST-ACME",tool:"erpnext_customer_get",args:{name:"CUST-ACME"},kind:"record"},{key:"item",label:"Item",message:"Show item {item}",tool:"erpnext_item_get",args:{name:"{item}"},kind:"record"},{key:"stock",label:"Stock",message:"Show stock balance for item {item}",tool:"erpnext_stock_balance",args:{item_code:"{item}",limit:50},kind:"list"}]},s3=[{id:"FILE-SINV-00042-PDF",fileName:"ACC-SINV-2026-00042.pdf",fileSize:184320,isPrivate:!0},{id:"FILE-SINV-00042-DELIVERY",fileName:"signed-delivery-note.png",fileSize:426812,isPrivate:!1}],c3={"ITEM-LAPTOP":{item:{name:"ITEM-LAPTOP",item_name:"Laptop Pro 14",item_group:"Products",stock_uom:"Nos",standard_rate:800},stock:[{warehouse:"Stores - CI",actual_qty:12},{warehouse:"Finished Goods - CI",actual_qty:3}]},"ITEM-MOUSE":{item:{name:"ITEM-MOUSE",item_name:"Wireless Mouse",item_group:"Products",stock_uom:"Nos",standard_rate:100},stock:[{warehouse:"Stores - CI",actual_qty:48},{warehouse:"Finished Goods - CI",actual_qty:0}]}};function l3(){return typeof window>"u"?!1:new URLSearchParams(globalThis.location.search).has("fixture")}function Gm(e,t,o,i){return{doctype:e,name:t,mutation:o,committedAt:i,source:"invoice-viewer"}}function ys(e,t){return t==="mutation-committed"}const d3={"Sales Order":{submit:"erpnext_sales_order_submit",cancel:"erpnext_sales_order_cancel"},"Sales Invoice":{submit:"erpnext_sales_invoice_submit"}};function u3(e,t,o,i=!1){if(i)return{submit:null,cancel:null};const n=d3[e],r=n?.submit&&yt(o,n.submit)?{toolName:n.submit,args:{name:t}}:yt(o,"erpnext_doc_submit")?{toolName:"erpnext_doc_submit",args:{doctype:e,name:t}}:null,a=n?.cancel&&yt(o,n.cancel)?{toolName:n.cancel,args:{name:t}}:yt(o,"erpnext_doc_cancel")?{toolName:"erpnext_doc_cancel",args:{doctype:e,name:t}}:null;return{submit:r,cancel:a}}function Ns(e,t,o){return e!==null||t||o}const m3=new Set(["item","stock"]);function p3(e,t,o,i,n){if(!e?.length)return[];const r=new Set,a=Object.fromEntries(Object.entries(t).filter(([,s])=>s!==""));return e.flatMap((s,d)=>{const l=s.key?.trim()||`related-${d}`;if(m3.has(l)||r.has(l))return[];const u=n&&s.tool&&yt(i,s.tool)?Ht(s,a,o):null,p=s.message?Nt(s.message,a):null,m=p&&!Zt(p)?p:null;return!u&&!m?[]:(r.add(l),[{key:l,label:u?.label??wi(s),jump:u,message:m}])})}const Ym=1e4;function Xm({app:e,itemCode:t,onClose:o,fixture:i,lineIndex:n,lineCount:r,taxRate:a,availableQty:s,lineQty:d,hints:l,availableTools:u,onJump:p}){const m=fe(),f={item:t},v=m("nav.linked_to",{id:t}),S=l?.filter(Z=>!Z.tool||yt(u,Z.tool)),h=p?Ht(S?.find(Z=>Z.key==="stock")??{label:""},f,v):null,b=p?Ht(S?.find(Z=>Z.key==="item")??{label:""},f,v):null,g=!i&&Za(e.getHostCapabilities()),[y,T]=se(null),[_,z]=se(null),[w,E]=se(!0),[I,B]=se(null);Ce(()=>{if(i){const q=c3[t];q?(T(q.item),z(q.stock)):B(m("invoice.item.error.load_failed")),E(!1);return}const Z=e.getHostCapabilities()?.serverTools,O=As(Z,u,"erpnext_item_get"),U=As(Z,u,"erpnext_stock_balance");if(!O&&!U){E(!1);return}let H=!1;return(async()=>{try{const[q,re]=await Promise.all([O?e.callServerTool({name:"erpnext_item_get",arguments:{name:t}},{timeout:Ym}):Promise.resolve(null),U?e.callServerTool({name:"erpnext_stock_balance",arguments:{item_code:t}},{timeout:Ym}):Promise.resolve(null)]);if(H)return;if(q&&!q.isError){const _e=it(q);if(_e){const Te=JSON.parse(_e);T(Te.data??Te)}}if(re&&!re.isError){const _e=it(re);if(_e){const Te=JSON.parse(_e);z(Te.data??[])}}const ce=[q,re].filter(_e=>_e!==null);ce.length>0&&ce.every(_e=>_e?.isError===!0)&&B(m("invoice.item.error.load_failed"))}catch(q){H||B(q instanceof Error?q.message:m("invoice.item.error.load_failed"))}finally{H||E(!1)}})(),()=>{H=!0}},[t,i,u]);async function ie(Z){const O=await tu(e,Z);return O||B(m("invoice.error.action_failed")),O}const W=y?.stock_uom!=null?String(y.stock_uom):void 0,G=_?.[0]?.warehouse!=null?String(_[0].warehouse):void 0,ne=a??(y?.item_tax_rate!=null?Number(y.item_tax_rate):void 0),ee=s??_?.reduce((Z,O)=>Z+Number(O.actual_qty??0),0),M=ee!==void 0&&d!==void 0&&ee<d;return c("div",{class:"border-t border-line-soft bg-sunken",children:[c("div",{class:"flex items-center justify-between border-b border-line-soft px-4 py-2.5",children:[c("div",{class:"flex items-baseline gap-2",children:[c("span",{class:"truncate font-mono text-cell font-medium text-ink",children:t}),c("span",{class:"font-mono text-chip text-ink-faint",children:m("invoice.item.position",{n:n+1,total:r})})]}),c(nt,{variant:"quiet",class:"text-chip py-0.5 px-1.5",onClick:o,"aria-label":m("invoice.item.close.aria_label"),children:m("common.close")})]}),w&&c(Ft,{children:m("invoice.item.loading")}),I&&c(Ft,{tone:"bad",children:I}),!w&&!I&&c("div",{class:"grid grid-cols-4 gap-x-5 px-4 py-3",children:[c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.uom")}),c("span",{class:"font-mono text-data text-ink-2",children:W??"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.warehouse")}),c("span",{class:"font-mono text-data text-ink-2",children:G??"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.vat")}),c("span",{class:"font-mono text-data text-ink-2",children:ne!==void 0?`${ne} %`:"—"})]}),c("div",{class:"flex flex-col gap-1",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-faint",children:m("invoice.item.available")}),c("span",{class:A("font-mono text-data",M?"text-warn":"text-ink-2"),children:ee!==void 0?String(ee):"—"})]})]}),c("div",{class:"flex flex-wrap gap-1.5 px-4 pb-3",children:[Ns(h,g,!!i)&&c(nt,{variant:"accent",disabled:i,title:m(i?"invoice.preview.title":"invoice.item.btn.stock.title"),class:"group",onClick:()=>{h?p(h):ie(m("invoice.item.stock.message",{itemCode:t}))},children:[m("invoice.item.btn.stock.label"),h&&c("span",{"aria-hidden":"true",class:"ml-1 text-accent opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",children:"›"})]}),Ns(b,g,!!i)&&c(nt,{variant:"secondary",disabled:i,title:m(i?"invoice.preview.title":"invoice.item.btn.details.title"),class:"group",onClick:()=>{b?p(b):ie(m("invoice.item.details.message",{itemCode:t}))},children:[m("invoice.item.btn.details.label"),b&&c("span",{"aria-hidden":"true",class:"ml-1 text-accent opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",children:"›"})]})]})]})}function f3(e){const t=e.refreshRequest,o=t?.arguments?.doctype;if(typeof o=="string"&&o.trim()!=="")return o;const i=t?.toolName??"";if(i.startsWith("erpnext_sales_order_"))return"Sales Order";if(i.startsWith("erpnext_sales_invoice_"))return"Sales Invoice";if(i.startsWith("erpnext_quotation_"))return"Quotation";const n=e.data??e;return typeof n.customer=="string"&&n.customer.trim()!==""?"Sales Invoice":"Purchase Invoice"}function h3(e){const t=e.data??e;if(typeof t!="object"||t===null)return null;const o=t;return typeof o.name!="string"||o.name.trim()===""?null:typeof o.doctype=="string"&&o.doctype.trim()!==""?o:{...o,doctype:f3(e)}}function Qm(e){const t=h3(e);if(!t)return null;const o=an({...e,data:t});if(!o)return null;const i=OI(e);return{...o,document:o.document,...i!==void 0?{availableTools:i}:{}}}const Je=new Rd({name:"Invoice Viewer",version:"3.0.0"}),b3=15e3,ep=1e4,Gi=1500,v3=960;function g3(){const e=fe(),t=l3(),o=t?Qm(a3):null,[i,n]=se(o),[r,a]=se(!t),[s,d]=se(!1),[l,u]=se(!1),[p,m]=se(null),[f,v]=se(null),[S,h]=se(null),[b,g]=se(!1),[y,T]=se(!1),[_,z]=se(0),[w,E]=se(0),I=Ug(),B=me(null),ie=me(o),W=me(o?.refreshRequest??null),G=me(C2()),ne=me(null),ee=me(0),M=me(o?.availableTools),Z=me(!1),O=me(!1),U=me(!1),H=me(0),q=me(!0);st(()=>(q.current=!0,()=>{q.current=!1}),[]);function re(Q){ie.current=Q,n(Q),U.current=!1,O.current=!1,T(F=>ys(F,"canonical-hydrated")),z(++H.current)}function ce(Q){if(Q.isError){const C=it(Q);return m(C??e("invoice.error.tool_error")),a(!1),!1}const F=it(Q);if(!F)return!1;try{const C=JSON.parse(F),Y=Qm(C);if(!Y)throw new Error("Missing explicit document identity");M.current=Y.availableTools;const K=A2(C,W.current);return W.current=K,re({...Y,...K?{refreshRequest:K}:{}}),m(null),a(!1),!0}catch{return m(e("invoice.error.parse_failed")),a(!1),!1}}async function _e(Q={}){if(t||U.current)return!1;const F=G.current;if(Q.force){if(F.inFlight!==null)return G.current=hm(F,{force:!0}).state,ne.current??!1;G.current={...bm(F),pendingForced:!0}}else if(F.inFlight!==null)return!1;const C=(async()=>{try{for(;;){const Y=G.current,K=W.current,xe=Y.pendingForced;if(!K||!Je.getHostCapabilities()?.serverTools||!yt(M.current,K.toolName)||!j2({request:K,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:!1,now:Date.now(),lastRefreshStartedAt:ee.current,minIntervalMs:b3},{ignoreInterval:Q.ignoreInterval||xe}))return!1;const Se=hm(Y,{force:xe});if(Se.generation===null)return!1;G.current=Se.state,ee.current=Date.now(),u(!0);let ge=null,Pe=null;try{ge=await Je.callServerTool({name:K.toolName,arguments:K.arguments},{timeout:ep})}catch(un){Pe={cause:un}}const Fe=D2(G.current,Se.generation);G.current=Fe.state;let Be=!1;if(Fe.accept&&(Pe?m(O2(Pe.cause)):ge?.isError?m(e("invoice.error.refresh_failed")):ge&&(Be=ce(ge))),!Fe.runPending)return Be}}finally{u(!1)}})();return ne.current=C,C.finally(()=>{ne.current===C&&(ne.current=null)}),C}function Te(){G.current=bm(G.current)}function Ne(){U.current=!0,Te(),E(++H.current)}function j(){return U.current=!1,_e({ignoreInterval:!0,force:!0})}async function L(Q,F,C,Y,K,xe){if(t||Z.current||O.current||!q.current||!Je.getHostCapabilities()?.serverTools||!yt(M.current,F))return;Z.current=!0,v(Q),h(null),g(!1);const Se=()=>{const ge=ie.current;return q.current&&ge?.doctype===K.doctype&&ge.name===K.name};try{let ge;try{ge=await Je.callServerTool({name:F,arguments:C},{timeout:ep})}catch(Fe){const Be=dr(F,C,{transportFailure:Fe});if(Be.applies&&Be.reread){if(!Se()||(O.current=!0,T(!0),g(!0),h(e("document.purchase_invoice.submit.transport")),Ne(),await new Promise(un=>setTimeout(un,Gi)),!Se()))return;await j();return}throw Fe}if(!Se())return;const Pe=dr(F,C,{result:ge});if(Pe.applies){if(Pe.kind==="error"){const Be=it(ge);g(!0),h(Be??e("invoice.error.action_failed"));return}if(Pe.reread&&(O.current=!0,T(Be=>ys(Be,"mutation-committed"))),Pe.emitCommittedEvent&&xe(Gm(K.doctype,K.name,Q,new Date().toISOString())),Pe.reread&&Ne(),g(!Pe.claimSubmitted),h(Pe.claimSubmitted?Y:e("document.purchase_invoice.submit.unconfirmed")),await new Promise(Be=>setTimeout(Be,Gi)),!Se())return;const Fe=await j();if(!Se())return;!Fe&&Pe.claimSubmitted&&O.current&&(g(!0),h(e("invoice.error.refresh_failed")));return}if(ge.isError){const Fe=it(ge);g(!0),h(Fe??e("invoice.error.action_failed"))}else{if(O.current=!0,T(Be=>ys(Be,"mutation-committed")),xe(Gm(K.doctype,K.name,Q,new Date().toISOString())),Ne(),g(!1),h(Y),await new Promise(Be=>setTimeout(Be,Gi)),!Se())return;const Fe=await j();if(!Se())return;!Fe&&O.current&&(g(!0),h(e("invoice.error.refresh_failed")))}}catch{Se()&&(g(!0),h(e("invoice.error.action_failed")))}finally{Z.current=!1,q.current&&v(null)}}async function X(Q,F){if(t)return!1;v(Q),h(null),g(!1);const C=await tu(Je,F);return C||(g(!0),h(e("invoice.error.action_failed"))),v(null),C}if(Ce(()=>{t||(Je.ontoolresult=Q=>{Te(),ce(Q)},Je.ontoolinputpartial=()=>{ie.current||a(!0)},Je.connect().then(()=>H_(Je)).catch(()=>d(!0)))},[t]),Ce(()=>{if(t)return;const Q=()=>void _e({ignoreInterval:!0}),F=()=>{document.visibilityState==="visible"&&_e({ignoreInterval:!0})};return window.addEventListener("focus",Q),document.addEventListener("visibilitychange",F),()=>{window.removeEventListener("focus",Q),document.removeEventListener("visibilitychange",F)}},[t]),r||!i){const Q=s&&!i;return c(cr,{containerRef:B,children:[c(Ft,{tone:Q?"bad":"neutral",children:e(Q?"common.error.connect_failed":r?"invoice.loading":"invoice.no_data")}),c(mr,{confirm:I})]})}const N=i.document;return c(_3,{data:N,envelope:i,mutationCommitted:y,error:p,refreshing:l,fixture:t,confirm:I,actionLoading:f,actionMessage:S,actionIsError:b,rootFreshEvent:_,rootMutationEvent:w,callAction:L,onBeginCanonicalReadback:Ne,onCanonicalRefresh:j,onNavigate:X,setError:m})}function _3(e){const t=j1("invoice",void 0,{doctype:e.data.doctype,name:e.data.name}),o=o3(Je,t);return _n(y3,{...e,key:`${e.data.doctype}:${e.data.name}`,rootKey:t,activeContext:o})}function y3({data:e,envelope:t,rootKey:o,activeContext:i,mutationCommitted:n,error:r,refreshing:a,fixture:s,confirm:d,actionLoading:l,actionMessage:u,actionIsError:p,rootFreshEvent:m,rootMutationEvent:f,callAction:v,onBeginCanonicalReadback:S,onCanonicalRefresh:h,onNavigate:b,setError:g}){const{ref:y,width:T,layout:_}=m1(),z=fe(),w=e3(Je,{title:e.name,kind:"root",origin:"record",key:o},{fixture:s}),E=Fa(),I=w.nav,B=I.stack.levels[0].id;st(()=>{m>f&&I.clearStale(B)},[m,f,B]);const{list:ie}=w,[W,G]=se(null),[ne,ee]=se(!1),M=me(null),Z=me(0),O=me(!0);st(()=>(O.current=!0,()=>{O.current=!1}),[]),Ce(()=>()=>{Z.current+=1,M.current!==null&&clearTimeout(M.current)},[]);const U=s?void 0:Je.getHostCapabilities(),H={supported:!s&&i.supported,activate:i.activate,activateReversible:i.activateReversible,toggle:i.toggle,toggleReversible:i.toggleReversible,reconcileView:i.reconcileView,reconcileDocument:i.reconcileDocument,isSelected:i.isSelected,canShareResource:V=>sm(U,V)},q=t.availableTools,re=t.sendMessageHints?[...t.sendMessageHints]:null,ce=qd(U,q,t.refreshRequest),_e={...ce,canUploadAttachment:ce.canUploadAttachment&&l===null&&!n&&!ne};function Te(V=!0){if(!O.current)return;V&&S(),ee(!0);const je=++Z.current;M.current!==null&&clearTimeout(M.current),M.current=window.setTimeout(()=>{if(M.current=null,!O.current)return;const qe=()=>!O.current||Z.current!==je?!1:(ee(!1),!0);h().then(Re=>{qe()&&!Re&&g(z("invoice.error.refresh_failed"))},()=>{qe()&&g(z("invoice.error.refresh_failed"))})},Gi)}const Ne=Jd({app:Je,envelope:t,capabilities:_e,fixtureFiles:s?s3:void 0,onDocumentChanged:V=>{I.reportDocumentChange(V),Te()}}),j=Ne.state.upload!=="idle"&&Ne.state.upload!=="error",L=e.currency??"EUR",X=e.doctype,N=e.customer_name??e.customer??e.supplier_name??e.supplier??e.party_name??"—",Q=e.outstanding_amount??0,F=Q<=0,C=e.items??[],Y=e.net_total??C.reduce((V,je)=>V+je.amount,0),K=e.total_taxes_and_charges??(e.grand_total??0)-Y,xe=e.status==="Draft"||e.docstatus===0,Se=e.docstatus===1,ge=Ra(X,e),Pe=wg(X,e),Fe=`invoice-rounding-note-${e.name.replace(/[^A-Za-z0-9_-]/g,"-")}`,Be=V=>c("div",{class:"flex min-w-0 items-center justify-end gap-1",children:[c("span",{class:V,children:ge?qt(ge.amount,ge.currency):ro(e.grand_total,L)}),ge?.showNote&&c(Og,{calculatedTotal:ge.calculatedTotal,roundingAdjustment:ge.roundingAdjustment,invoiceTotal:ge.amount,currency:ge.currency,isDraft:xe,panelId:Fe})]}),un=!!U?.serverTools,l_=un&&(yt(q,"erpnext_item_get")||yt(q,"erpnext_stock_balance")),nu=!s&&Za(Je.getHostCapabilities()),vt=l_||nu||s,mn=C.map((V,je)=>({...V,idx:je})),ou=Ua(t),pn=ou.childTables.find(V=>V.key==="items"),Si=`${X} · ${e.name}`,Wn=Na(ou,Si),Ii=I.isRoot&&H.supported?{label:z("context.active.toggle",{label:Wn.label}),selected:H.isSelected(Wn),onActivate:async()=>{await H.toggle(Wn)}}:void 0,d_=[Wn,...pn?pn.rows.flatMap((V,je)=>{const qe=Dn(t,pn,V,je);return qe?[qe]:[]}):[]],Ha=H.supported?H.reconcileDocument:void 0;Ce(()=>{Ha&&Ha(Wn.id,d_)},[Si,t,Ha]);const Gn=V=>`invoice-line-${V}-detail`,iu=(V,je)=>{const qe=pn?.rows[je],Re=H.supported&&pn&&qe?Dn(t,pn,qe,je):null;if(!Re&&!vt)return;const gt=Re?.label??V.item_code,v_=Re?H.isSelected(Re):void 0;return{label:vt?z(Re?W===V.idx?"document.row.close_detail":"document.row.open_detail":W===V.idx?"document.row.close_detail_only":"document.row.open_detail_only",{label:gt}):z("context.active.toggle",{label:gt}),selected:v_,expanded:vt?W===V.idx:void 0,detailLabel:gt,controls:vt?Gn(je):void 0,onActivate:()=>{if(Re){if(vt)return H.toggleReversible(Re);H.toggle(Re)}},doublePolicy:"local",onDoubleActivate:vt?()=>G(W===V.idx?null:V.idx):void 0}},Ba=s?z("invoice.preview.title"):void 0,zi=_==="wide",Yn=_==="mobile",Ja=I.stack.levels[0].stale,ru=I.isRoot&&Ja?c("span",{role:"status","aria-label":z("nav.stale_values",{at:Ja.at}),title:z("nav.stale_title"),class:"inline-flex items-center gap-1.5 font-mono text-nano text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),!Yn&&c("span",{children:z("nav.stale_values",{at:Ja.at})})]}):null,au=c(Z$,{selections:i.selections,failed:i.failed,pending:i.pending,evictedLabel:i.evictedLabel,onRemove:i.remove,onClear:i.clear,compact:!zi,popoverAlign:zi?"start":"end"}),su=s||ce.canListAttachments,Ti=su&&zi&&T!==null&&T>=v3,Xn=su?c(Fd,{controller:Ne,capabilities:_e,layout:_,context:{canShareResource:V=>sm(U,V),activate:i.activate,isSelected:i.isSelected}}):null,{jumpsEnabled:Qn}=w,u_=e.customer??e.supplier??e.party_name??"",m_=z("nav.linked_to",{id:e.name}),p_=p3(re,{id:e.name,doctype:X,party:u_},m_,q,Qn),xt=u3(X,e.name,un?q:[],n),Ka=zg({docstatus:e.docstatus,status:e.status,canSubmit:!!xt.submit&&!ne&&!j,canCancel:!!xt.cancel&&!ne&&!j}),Pi=Tg(X,e.name,e);st(()=>{Pg(d.pending,Ka,Pi)&&d.dismiss()},[d.pending,Ka.submit,Ka.cancel,Pi]);const{ask:cu}=w,lu=c(Le,{children:[r&&c("div",{class:"px-4 pt-3",children:c(Ft,{tone:"bad",children:r})}),!r&&u&&c("div",{class:"px-4 pt-3",children:c(Ft,{tone:p?"bad":"neutral",children:u})})]});function f_(V){if(!Ns(V.jump,nu&&V.message!==null,s))return null;const je=`nav_${V.key}`;return c(nt,{variant:V.key==="payments"?"accent":"secondary",class:A("group",Yn?"min-h-[44px] w-full rounded-touch text-body":"text-cell"),disabled:s||l===je,title:s?Ba:z("invoice.btn.related.title",{label:V.label}),onClick:()=>{V.jump?I.jump(V.jump):V.message&&b(je,V.message)},children:[l===je?"…":V.label,V.jump&&c("span",{"aria-hidden":"true",class:A("ml-1 text-accent",!Yn&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},V.key)}const Va=p_.map(f_),Wa=xe&&(xt.submit||s)&&c(nt,{variant:"accent",class:Yn?"min-h-[44px] rounded-touch text-body":"text-cell",disabled:s||l==="submit"||ne||j,title:s?Ba:z("invoice.btn.submit.title"),onClick:()=>d.request({subject:Ds(X,e.name),key:"submit",documentSnapshot:Pi,tone:"accent",title:z("invoice.confirm.submit"),titleKey:"invoice.confirm.submit",detail:Pe?z("invoice.confirm.submit.detail_with_amount",{amount:Pe}):z("invoice.confirm.submit.detail"),detailKey:Pe?"invoice.confirm.submit.detail_with_amount":"invoice.confirm.submit.detail",actionLabel:Pe?z("invoice.confirm.submit.action_with_amount",{amount:Pe}):z("invoice.confirm.submit.action"),actionLabelKey:Pe?"invoice.confirm.submit.action_with_amount":"invoice.confirm.submit.action",params:Pe?{amount:Pe}:void 0,onConfirm:()=>{xt.submit&&v("submit",xt.submit.toolName,xt.submit.args,z("invoice.action.submitted"),{doctype:X,name:e.name},I.reportDocumentChange)}}),children:l==="submit"?"…":z("invoice.btn.submit.label")}),Ga=Se&&(xt.cancel||s)&&c(nt,{variant:"danger",class:A("border-bad/30",Yn?"w-full min-h-[44px] rounded-touch text-body":"ml-auto text-cell"),disabled:s||l==="cancel"||ne||j,title:s?Ba:z("invoice.btn.cancel.title"),onClick:()=>d.request({subject:Ds(X,e.name),key:"cancel",documentSnapshot:Pi,title:z("invoice.confirm.cancel"),titleKey:"invoice.confirm.cancel",detail:z("invoice.confirm.cancel.detail"),detailKey:"invoice.confirm.cancel.detail",actionLabel:z("invoice.confirm.cancel.action"),actionLabelKey:"invoice.confirm.cancel.action",onConfirm:()=>{xt.cancel&&v("cancel",xt.cancel.toolName,xt.cancel.args,z("invoice.action.cancelled"),{doctype:X,name:e.name},I.reportDocumentChange)}}),children:l==="cancel"?"…":z("invoice.btn.cancel.label")}),h_=!!(Va.some(V=>V!==null)||Wa||Ga),b_=c("div",{class:"flex flex-col gap-1.5 bg-sunken border-l border-line px-4 py-3.5",children:[c("div",{class:"flex items-baseline justify-between",children:[c("span",{class:"font-mono text-meta text-ink-faint",children:z("invoice.totals.subtotal")}),c("span",{class:"font-mono text-body tabular-nums text-ink-2",children:Ve(Y)})]}),c("div",{class:"flex items-baseline justify-between",children:[c("span",{class:"font-mono text-meta text-ink-faint",children:z("invoice.totals.taxes")}),c("span",{class:"font-mono text-body tabular-nums text-ink-faint",children:K!==0?Ve(K):"—"})]}),c("div",{class:"flex items-center justify-between border-t border-line-soft pt-2",children:[c("span",{class:"font-mono text-meta uppercase tracking-chip text-ink-muted",children:z(ge?"document.purchase_invoice.total":"invoice.totals.grand_total")}),Be("font-display font-semibold tabular-nums text-ink text-[19px]")]})]});return zi?c(cr,{containerRef:y,children:[c("div",{class:"grid gap-5 border-b border-line p-4",style:{gridTemplateColumns:"1fr auto"},children:[c("div",{class:"flex min-w-0 flex-col gap-1.5",children:[c("span",{class:"font-mono text-micro uppercase tracking-eyebrow text-ink-faint",children:X}),c("h2",{class:"m-0 font-display font-semibold text-doc text-ink",style:{letterSpacing:"-0.015em"},children:I.isRoot?c("button",{type:"button",...$t(Ii),class:A("rounded-[4px] transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-accent",Ii?.selected&&"bg-row-selected"),children:e.name}):I.current.title}),c("div",{class:"flex items-center gap-2",children:[I.isRoot&&c(Wm,{status:e.status}),a&&c("span",{class:"font-mono text-nano text-ink-faint",children:z("common.refreshing")}),ru,au,I.isRoot&&c("span",{class:"text-data text-ink-muted",children:[N,e.company?` · ${e.company}`:""]})]})]}),I.isRoot&&c("div",{class:"flex flex-col items-end gap-1 border-l border-line pl-6",children:[c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint",children:z("invoice.header.outstanding")}),c("span",{class:A("font-display font-semibold tabular-nums leading-[1.05]",F?"text-ok":"text-bad"),style:{fontSize:"30px"},children:ro(Q,L)}),e.due_date&&c("span",{class:"font-mono text-meta text-ink-muted",children:z("invoice.header.due",{date:e.due_date})})]})]}),c(Vm,{layout:_,stack:I.stack,onBack:I.pop,onJump:I.popTo,loading:I.current.loading}),c(Jm,{level:I.current,app:Je,list:ie,layout:_,fixture:s,onJump:Qn?I.jump:void 0,onAsk:cu,onError:g,onMutated:I.markStale,onDocumentChanged:I.reportDocumentChange,onMutationInvalidate:S,onMutationRefresh:()=>Te(!1),onRefresh:()=>void I.refreshLevel(),context:H,contextView:Si,children:[lu,c("div",{class:Ti?"grid min-w-0":"min-w-0",style:Ti?{gridTemplateColumns:"minmax(0, 1fr) 268px"}:void 0,children:[c("div",{class:"min-w-0",children:[c("div",{class:"flex border-b border-line bg-sunken",children:[c("div",{class:"grid min-w-0 flex-1",style:{gridTemplateColumns:"2.6fr 0.5fr 0.9fr 1fr",padding:"8px 16px"},children:[c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint",children:z("invoice.table.col.item")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.qty")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.rate")}),c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint text-right",children:z("invoice.table.col.amount")})]}),vt&&c("span",{"aria-hidden":"true",class:"w-10"})]}),mn.map((V,je)=>{const qe=iu(V,je),Re=vt&&W===V.idx,gt=!!qe?.selected;return c("div",{children:[c("div",{class:A("flex min-w-0 items-stretch border-b border-line-soft transition-colors",Re||gt?"bg-row-selected":"hover:bg-row-hover"),style:{borderLeft:`2px solid ${Re?"var(--color-accent)":"transparent"}`,borderRight:`2px solid ${gt?"var(--color-accent)":"transparent"}`},children:[c("div",{class:A("grid min-w-0 flex-1 items-center focus-visible:outline-2 focus-visible:outline-accent",qe&&"cursor-pointer"),style:{gridTemplateColumns:"2.6fr 0.5fr 0.9fr 1fr",padding:"10px 16px"},...$t(qe,{arbiter:E,key:`invoice-line:${e.name}:${je}`}),children:[c("div",{class:"flex flex-col gap-0.5",children:[c("span",{class:"text-body text-ink",children:V.item_name??V.item_code}),c("span",{class:"font-mono text-chip text-ink-faint",children:V.item_code})]}),c("span",{class:"font-mono text-cell tabular-nums text-ink-2 text-right",children:Ve(V.qty)}),c("span",{class:"font-mono text-cell tabular-nums text-ink-muted text-right",children:Ve(V.rate)}),c("span",{class:"font-mono text-cell font-medium tabular-nums text-ink text-right",children:Ve(V.amount)})]}),vt&&c(Cn,{expanded:Re,label:qe?.detailLabel??V.item_code,controls:Gn(je),onToggle:()=>qe?.onDoubleActivate?.()})]}),Re&&c("div",{id:Gn(je),children:c(Xm,{app:Je,itemCode:V.item_code,fixture:s,availableTools:q,hints:re??void 0,onJump:Qn?I.jump:void 0,onClose:()=>G(null),lineIndex:V.idx,lineCount:mn.length,lineQty:V.qty})})]},`${V.idx}-${V.item_code}`)}),c("div",{class:"grid border-t border-line",style:{gridTemplateColumns:"1fr 300px"},children:[c("div",{class:"flex flex-wrap items-center gap-2 px-4 py-3.5",children:[Wa,Va,Ga]}),b_]}),!Ti&&Xn&&c("div",{class:"border-t border-line",children:Xn})]}),Ti&&c("aside",{class:"min-w-0 border-l border-line bg-sunken/35",children:Xn})]})]}),c("div",{class:"flex justify-end border-t border-line px-4 py-[9px]",children:c(tm,{})}),c(mr,{confirm:d})]}):c(cr,{containerRef:y,children:[c("div",{class:"flex flex-col gap-[10px] border-b border-line px-3 py-[13px]",children:[c("div",{class:"flex flex-col gap-[3px]",children:[c("span",{class:"font-mono text-nano uppercase tracking-eyebrow text-ink-faint",children:X}),c("h3",{class:"m-0 font-display font-semibold text-title text-ink tracking-title",children:I.isRoot?c("button",{type:"button",...$t(Ii),class:A("rounded-[4px] transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-accent",Ii?.selected&&"bg-row-selected"),children:e.name}):I.current.title}),I.isRoot&&c("span",{class:"text-data text-ink-muted",children:N})]}),I.isRoot&&c("div",{class:"flex items-end justify-between gap-3 border-t border-line-soft pt-[10px]",children:[c("div",{class:"flex flex-col gap-0.5",children:[c("span",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:z("invoice.header.outstanding")}),c("span",{class:A("font-display font-semibold text-amount tabular-nums leading-[1.05]",F?"text-ok":"text-bad"),children:ro(Q,L)})]}),c("div",{class:"flex flex-col items-end gap-[5px]",children:[c(Wm,{status:e.status}),ru,au,e.due_date&&c("span",{class:"font-mono text-chip text-ink-muted",children:z("invoice.header.due",{date:e.due_date.slice(5)})})]})]})]}),c(Vm,{layout:_,stack:I.stack,onBack:I.pop,onJump:I.popTo,loading:I.current.loading}),c(Jm,{level:I.current,app:Je,list:ie,layout:_,fixture:s,onJump:Qn?I.jump:void 0,onAsk:cu,onError:g,onMutated:I.markStale,onDocumentChanged:I.reportDocumentChange,onMutationInvalidate:S,onMutationRefresh:()=>Te(!1),onRefresh:()=>void I.refreshLevel(),context:H,contextView:Si,children:[lu,c("div",{class:"flex flex-col gap-[7px] border-b border-line px-3 py-[11px]",children:[c("span",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:z("invoice.lines.count",{n:mn.length,s:mn.length>1?"s":""})}),mn.map((V,je)=>{const qe=iu(V,je),Re=vt&&W===V.idx,gt=!!qe?.selected;return c("div",{children:[c("div",{class:A("flex min-h-11 items-stretch rounded-chip border border-line transition-colors",Re||gt?"bg-row-selected":"bg-row-hover"),style:{borderLeft:`2px solid ${Re?"var(--color-accent)":"transparent"}`,borderRight:`2px solid ${gt?"var(--color-accent)":"transparent"}`},children:[c("div",{class:A("flex min-w-0 flex-1 flex-col gap-[5px] px-[11px] py-[10px] focus-visible:outline-2 focus-visible:outline-accent",qe&&"cursor-pointer"),...$t(qe,{arbiter:E,key:`invoice-line:${e.name}:${je}`}),children:[c("span",{class:A("text-cell",Re||gt?"text-ink":"text-ink-2"),children:V.item_name??V.item_code}),c("div",{class:"flex items-baseline justify-between gap-[10px]",children:[c("span",{class:"font-mono text-chip text-ink-faint",children:[Ve(V.qty)," × ",Ve(V.rate)]}),c("span",{class:A("font-mono text-cell tabular-nums text-ink",Re||gt?"font-medium":""),children:Ve(V.amount)})]})]}),vt&&c(Cn,{expanded:Re,label:qe?.detailLabel??V.item_code,controls:Gn(je),onToggle:()=>qe?.onDoubleActivate?.(),touch:!0})]}),Re&&c("div",{id:Gn(je),children:c(Xm,{app:Je,itemCode:V.item_code,fixture:s,availableTools:q,hints:re??void 0,onJump:Qn?I.jump:void 0,onClose:()=>G(null),lineIndex:V.idx,lineCount:mn.length,lineQty:V.qty})})]},`${V.idx}-${V.item_code}`)})]}),c("div",{class:"flex items-center justify-between border-b border-line bg-sunken px-3 py-[11px]",children:[c("span",{class:"font-mono text-micro uppercase tracking-chip text-ink-muted",children:z(ge?"document.purchase_invoice.total":"invoice.totals.grand_total")}),Be("font-display text-title font-semibold tabular-nums text-ink")]}),Xn&&c("div",{class:"border-b border-line",children:Xn}),h_&&c("div",{class:"flex flex-col gap-[7px] px-3 py-[11px]",children:[Va,Ga,Wa]})]}),c("div",{class:"flex justify-end border-t border-line px-3 py-[9px]",children:c(tm,{compact:!0})}),c(mr,{confirm:d})]})}K_(V_());ws(c(g3,{}),document.getElementById("app"));</script>
|
|
111
111
|
<style rel="stylesheet" crossorigin>/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:"";--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Work Sans", ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;--spacing:.25rem;--container-md:28rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-surface:#fff;--color-sunken:#f4f7f8;--color-ink:#101519;--color-ink-2:#2c3740;--color-ink-muted:#5b6a74;--color-ink-faint:#687781;--color-ink-ghost:#9aa5ad;--color-ink-dim:#7b8892;--color-line:#dbe3e7;--color-line-soft:#eef3f4;--color-line-hover:#b6c4cb;--color-accent:#0d7c8a;--color-accent-text:#0a6673;--color-accent-edge:#86c0c8;--color-brand:#8a4fa3;--color-ok:#12855f;--color-warn:#d98b1f;--color-warn-text:#a56815;--color-bad:#c9453c;--color-row-hover:#f9fbfb;--color-row-selected:#f2f7f8;--color-control:#fff;--color-count:#eef3f4;--color-track:#e2e9ec;--color-scrim:#10151973;--color-line-modal:#c3ced4;--color-cat-1:#2a78d6;--color-cat-2:#eb6834;--color-cat-3:#1baf7a;--color-cat-4:#eda100;--color-cat-5:#e87ba4;--color-cat-6:#008300;--color-cat-7:#4a3aa7;--color-cat-8:#e34948;--font-display:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;--text-nano:9.5px;--text-micro:10px;--text-chip:10.5px;--text-meta:11px;--text-note:11.5px;--text-data:12px;--text-cell:12.5px;--text-body:13px;--text-lede:14px;--text-title:17px;--text-card-title:15.5px;--text-doc:23px;--text-amount:24px;--tracking-title:-.01em;--tracking-metric:-.025em;--tracking-mono:.04em;--tracking-chip:.06em;--tracking-live:.08em;--tracking-label:.1em;--tracking-eyebrow:.12em;--shadow-tooltip:0 2px 8px #10151929;--radius-bar:2px;--radius-badge:3px;--radius-chip:4px;--radius-control:5px;--radius-touch:6px;--radius-card:8px;--radius-pill:13px}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}html{border-radius:var(--radius-card);background:var(--color-surface);overflow:hidden}body{background:var(--color-surface);color:var(--color-ink);font-family:var(--font-sans);font-size:var(--text-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;overflow:auto}:root[dir=rtl]{--tracking-mono:0;--tracking-chip:0;--tracking-live:0;--tracking-label:0;--tracking-eyebrow:0}code,kbd,samp,pre,.font-mono{font-variant-numeric:tabular-nums}}@layer components{.skeleton{border-radius:var(--radius-chip);background:linear-gradient(90deg,var(--color-sunken) 25%,var(--color-row-hover) 50%,var(--color-sunken) 75%);background-size:200% 100%;animation:1.5s infinite shimmer}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-9{top:calc(var(--spacing) * 9)}.top-full{top:100%}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:calc(var(--spacing) * 4)}.z-0{z-index:0}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\[1\]{z-index:1}.row-7{grid-row:7}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.m-4{margin:calc(var(--spacing) * 4)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.-my-0\.5{margin-block:calc(var(--spacing) * -.5)}.-my-1{margin-block:calc(var(--spacing) * -1)}.-mt-1{margin-top:calc(var(--spacing) * -1)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.-mr-1{margin-right:calc(var(--spacing) * -1)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mb-0{margin-bottom:0}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.-ml-1\.5{margin-left:calc(var(--spacing) * -1.5)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-\[5px\]{width:5px;height:5px}.size-\[13px\]{width:13px;height:13px}.size-full{width:100%;height:100%}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-9{height:calc(var(--spacing) * 9)}.h-\[3px\]{height:3px}.h-\[15px\]{height:15px}.h-\[17px\]{height:17px}.h-\[19px\]{height:19px}.h-\[132px\]{height:132px}.h-\[144px\]{height:144px}.h-\[min\(92vh\,860px\)\]{height:min(92vh,860px)}.h-full{height:100%}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-\[44px\]{min-height:44px}.min-h-px{min-height:1px}.w-1\/3{width:33.3333%}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-3\/4{width:75%}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-20{width:calc(var(--spacing) * 20)}.w-40{width:calc(var(--spacing) * 40)}.w-56{width:calc(var(--spacing) * 56)}.w-\[10px\]{width:10px}.w-\[300px\]{width:300px}.w-full{width:100%}.w-max{width:max-content}.max-w-24{max-width:calc(var(--spacing) * 24)}.max-w-36{max-width:calc(var(--spacing) * 36)}.max-w-\[45\%\]{max-width:45%}.max-w-\[436px\]{max-width:436px}.max-w-\[680px\]{max-width:680px}.max-w-\[1080px\]{max-width:1080px}.max-w-\[calc\(100vw-24px\)\]{max-width:calc(100vw - 24px)}.max-w-\[min\(17\.5rem\,calc\(100vw-1rem\)\)\]{max-width:min(17.5rem,100vw - 1rem)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-1\/2{--tw-translate-y: 50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-90{rotate:90deg}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[92px_1fr\]{grid-template-columns:92px 1fr}.grid-cols-\[92px_1fr_78px\]{grid-template-columns:92px 1fr 78px}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[minmax\(0\,1\.7fr\)_minmax\(0\,1\.15fr\)_minmax\(72px\,0\.8fr\)\]{grid-template-columns:minmax(0,1.7fr) minmax(0,1.15fr) minmax(72px,.8fr)}.grid-cols-\[minmax\(0\,1\.8fr\)_minmax\(0\,1\.2fr\)_minmax\(52px\,0\.7fr\)_minmax\(72px\,0\.8fr\)\]{grid-template-columns:minmax(0,1.8fr) minmax(0,1.2fr) minmax(52px,.7fr) minmax(72px,.8fr)}.grid-cols-\[minmax\(0\,1fr\)_52px_82px\]{grid-template-columns:minmax(0,1fr) 52px 82px}.grid-cols-\[minmax\(0\,1fr\)_82px\]{grid-template-columns:minmax(0,1fr) 82px}.grid-cols-\[minmax\(0\,1fr\)_268px\]{grid-template-columns:minmax(0,1fr) 268px}.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.grid-cols-\[minmax\(0\,1fr\)_minmax\(72px\,0\.6fr\)\]{grid-template-columns:minmax(0,1fr) minmax(72px,.6fr)}.grid-cols-\[repeat\(auto-fit\,minmax\(min\(100\%\,10rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}.grid-cols-\[repeat\(auto-fit\,minmax\(min\(100\%\,18rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-\[3px\]{gap:3px}.gap-\[5px\]{gap:5px}.gap-\[7px\]{gap:7px}.gap-\[9px\]{gap:9px}.gap-\[10px\]{gap:10px}.gap-px{gap:1px}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-\[9px\]{row-gap:9px}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4px\]{border-radius:4px}.rounded-\[5px\]{border-radius:5px}.rounded-badge{border-radius:var(--radius-badge)}.rounded-bar{border-radius:var(--radius-bar)}.rounded-card{border-radius:var(--radius-card)}.rounded-chip{border-radius:var(--radius-chip)}.rounded-control{border-radius:var(--radius-control)}.rounded-full{border-radius:3.40282e38px}.rounded-pill{border-radius:var(--radius-pill)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-touch{border-radius:var(--radius-touch)}.rounded-b-\[6px\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-accent{border-color:var(--color-accent)}.border-accent-edge{border-color:var(--color-accent-edge)}.border-accent\/45{border-color:#0d7c8a73}@supports (color:color-mix(in lab,red,red)){.border-accent\/45{border-color:color-mix(in oklab,var(--color-accent) 45%,transparent)}}.border-bad\/20{border-color:#c9453c33}@supports (color:color-mix(in lab,red,red)){.border-bad\/20{border-color:color-mix(in oklab,var(--color-bad) 20%,transparent)}}.border-bad\/25{border-color:#c9453c40}@supports (color:color-mix(in lab,red,red)){.border-bad\/25{border-color:color-mix(in oklab,var(--color-bad) 25%,transparent)}}.border-bad\/30{border-color:#c9453c4d}@supports (color:color-mix(in lab,red,red)){.border-bad\/30{border-color:color-mix(in oklab,var(--color-bad) 30%,transparent)}}.border-brand\/40{border-color:#8a4fa366}@supports (color:color-mix(in lab,red,red)){.border-brand\/40{border-color:color-mix(in oklab,var(--color-brand) 40%,transparent)}}.border-ink-faint{border-color:var(--color-ink-faint)}.border-line{border-color:var(--color-line)}.border-line-modal{border-color:var(--color-line-modal)}.border-line-soft{border-color:var(--color-line-soft)}.border-transparent{border-color:#0000}.border-warn\/20{border-color:#d98b1f33}@supports (color:color-mix(in lab,red,red)){.border-warn\/20{border-color:color-mix(in oklab,var(--color-warn) 20%,transparent)}}.border-warn\/40{border-color:#d98b1f66}@supports (color:color-mix(in lab,red,red)){.border-warn\/40{border-color:color-mix(in oklab,var(--color-warn) 40%,transparent)}}.border-warn\/45{border-color:#d98b1f73}@supports (color:color-mix(in lab,red,red)){.border-warn\/45{border-color:color-mix(in oklab,var(--color-warn) 45%,transparent)}}.border-r-accent{border-right-color:var(--color-accent)}.border-r-transparent{border-right-color:#0000}.border-l-bad{border-left-color:var(--color-bad)}.border-l-ok{border-left-color:var(--color-ok)}.border-l-transparent{border-left-color:#0000}.border-l-warn{border-left-color:var(--color-warn)}.bg-accent{background-color:var(--color-accent)}.bg-accent\/8{background-color:#0d7c8a14}@supports (color:color-mix(in lab,red,red)){.bg-accent\/8{background-color:color-mix(in oklab,var(--color-accent) 8%,transparent)}}.bg-accent\/12{background-color:#0d7c8a1f}@supports (color:color-mix(in lab,red,red)){.bg-accent\/12{background-color:color-mix(in oklab,var(--color-accent) 12%,transparent)}}.bg-accent\/14{background-color:#0d7c8a24}@supports (color:color-mix(in lab,red,red)){.bg-accent\/14{background-color:color-mix(in oklab,var(--color-accent) 14%,transparent)}}.bg-bad{background-color:var(--color-bad)}.bg-bad\/8{background-color:#c9453c14}@supports (color:color-mix(in lab,red,red)){.bg-bad\/8{background-color:color-mix(in oklab,var(--color-bad) 8%,transparent)}}.bg-bad\/10{background-color:#c9453c1a}@supports (color:color-mix(in lab,red,red)){.bg-bad\/10{background-color:color-mix(in oklab,var(--color-bad) 10%,transparent)}}.bg-bad\/14{background-color:#c9453c24}@supports (color:color-mix(in lab,red,red)){.bg-bad\/14{background-color:color-mix(in oklab,var(--color-bad) 14%,transparent)}}.bg-brand{background-color:var(--color-brand)}.bg-cat-1{background-color:var(--color-cat-1)}.bg-cat-2{background-color:var(--color-cat-2)}.bg-cat-3{background-color:var(--color-cat-3)}.bg-cat-4{background-color:var(--color-cat-4)}.bg-cat-5{background-color:var(--color-cat-5)}.bg-cat-6{background-color:var(--color-cat-6)}.bg-cat-7{background-color:var(--color-cat-7)}.bg-cat-8{background-color:var(--color-cat-8)}.bg-control{background-color:var(--color-control)}.bg-count{background-color:var(--color-count)}.bg-ink{background-color:var(--color-ink)}.bg-ink-faint{background-color:var(--color-ink-faint)}.bg-ink-ghost{background-color:var(--color-ink-ghost)}.bg-ink-muted{background-color:var(--color-ink-muted)}.bg-line{background-color:var(--color-line)}.bg-line-soft{background-color:var(--color-line-soft)}.bg-ok{background-color:var(--color-ok)}.bg-ok\/14{background-color:#12855f24}@supports (color:color-mix(in lab,red,red)){.bg-ok\/14{background-color:color-mix(in oklab,var(--color-ok) 14%,transparent)}}.bg-row-hover{background-color:var(--color-row-hover)}.bg-row-selected{background-color:var(--color-row-selected)}.bg-scrim{background-color:var(--color-scrim)}.bg-sunken{background-color:var(--color-sunken)}.bg-sunken\/35{background-color:#f4f7f859}@supports (color:color-mix(in lab,red,red)){.bg-sunken\/35{background-color:color-mix(in oklab,var(--color-sunken) 35%,transparent)}}.bg-sunken\/95{background-color:#f4f7f8f2}@supports (color:color-mix(in lab,red,red)){.bg-sunken\/95{background-color:color-mix(in oklab,var(--color-sunken) 95%,transparent)}}.bg-surface{background-color:var(--color-surface)}.bg-track{background-color:var(--color-track)}.bg-transparent{background-color:#0000}.bg-warn{background-color:var(--color-warn)}.bg-warn\/8{background-color:#d98b1f14}@supports (color:color-mix(in lab,red,red)){.bg-warn\/8{background-color:color-mix(in oklab,var(--color-warn) 8%,transparent)}}.bg-warn\/10{background-color:#d98b1f1a}@supports (color:color-mix(in lab,red,red)){.bg-warn\/10{background-color:color-mix(in oklab,var(--color-warn) 10%,transparent)}}.bg-warn\/14{background-color:#d98b1f24}@supports (color:color-mix(in lab,red,red)){.bg-warn\/14{background-color:color-mix(in oklab,var(--color-warn) 14%,transparent)}}.object-contain{object-fit:contain}.p-0{padding:0}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-\[7px\]{padding-inline:7px}.px-\[11px\]{padding-inline:11px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-\[2px\]{padding-block:2px}.py-\[3px\]{padding-block:3px}.py-\[5px\]{padding-block:5px}.py-\[7px\]{padding-block:7px}.py-\[9px\]{padding-block:9px}.py-\[10px\]{padding-block:10px}.py-\[11px\]{padding-block:11px}.py-\[13px\]{padding-block:13px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-\[10px\]{padding-top:10px}.pt-\[18px\]{padding-top:18px}.pr-0\.5{padding-right:calc(var(--spacing) * .5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3\.5{padding-right:calc(var(--spacing) * 3.5)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-3\.5{padding-bottom:calc(var(--spacing) * 3.5)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-px{padding-bottom:1px}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-\[14px\]{padding-left:14px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-display{font-family:var(--font-display)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\[9\.5px\]{font-size:9.5px}.text-\[10\.5px\]{font-size:10.5px}.text-\[10px\]{font-size:10px}.text-\[11\.5px\]{font-size:11.5px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[19px\]{font-size:19px}.text-amount{font-size:var(--text-amount)}.text-body{font-size:var(--text-body)}.text-card-title{font-size:var(--text-card-title)}.text-cell{font-size:var(--text-cell)}.text-chip{font-size:var(--text-chip)}.text-data{font-size:var(--text-data)}.text-doc{font-size:var(--text-doc)}.text-lede{font-size:var(--text-lede)}.text-meta{font-size:var(--text-meta)}.text-micro{font-size:var(--text-micro)}.text-nano{font-size:var(--text-nano)}.text-note{font-size:var(--text-note)}.text-title{font-size:var(--text-title)}.leading-\[1\.05\]{--tw-leading:1.05;line-height:1.05}.leading-\[1\.55\]{--tw-leading:1.55;line-height:1.55}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-chip{--tw-tracking:var(--tracking-chip);letter-spacing:var(--tracking-chip)}.tracking-eyebrow{--tw-tracking:var(--tracking-eyebrow);letter-spacing:var(--tracking-eyebrow)}.tracking-label{--tw-tracking:var(--tracking-label);letter-spacing:var(--tracking-label)}.tracking-live{--tw-tracking:var(--tracking-live);letter-spacing:var(--tracking-live)}.tracking-mono{--tw-tracking:var(--tracking-mono);letter-spacing:var(--tracking-mono)}.tracking-title{--tw-tracking:var(--tracking-title);letter-spacing:var(--tracking-title)}.text-pretty{text-wrap:pretty}.\[overflow-wrap\:anywhere\]{overflow-wrap:anywhere}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-text{color:var(--color-accent-text)}.text-bad{color:var(--color-bad)}.text-brand{color:var(--color-brand)}.text-ink{color:var(--color-ink)}.text-ink-2{color:var(--color-ink-2)}.text-ink-dim{color:var(--color-ink-dim)}.text-ink-faint{color:var(--color-ink-faint)}.text-ink-ghost{color:var(--color-ink-ghost)}.text-ink-muted{color:var(--color-ink-muted)}.text-line-hover{color:var(--color-line-hover)}.text-ok{color:var(--color-ok)}.text-warn{color:var(--color-warn)}.text-warn-text{color:var(--color-warn-text)}.uppercase{text-transform:uppercase}.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,)}.line-through{text-decoration-line:line-through}.accent-accent{accent-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-45{opacity:.45}.shadow-modal{--tw-shadow:0 16px 44px var(--tw-shadow-color,#1015193d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-accent{--tw-ring-color:var(--color-accent)}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.ring-offset-surface{--tw-ring-offset-color:var(--color-surface)}.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,)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-open\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}.group-focus-within\:text-accent-text:is(:where(.group):focus-within *){color:var(--color-accent-text)}.group-focus-within\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-focus-visible\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.placeholder\:text-ink-faint::placeholder{color:var(--color-ink-faint)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:top-1\/2:after{content:var(--tw-content);top:50%}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:size-10:after{content:var(--tw-content);width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.after\:-translate-y-1\/2:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-accent-edge:focus-within{border-color:var(--color-accent-edge)}.focus-within\:outline-2:focus-within{outline-style:var(--tw-outline-style);outline-width:2px}.focus-within\:-outline-offset-\[1px\]:focus-within{outline-offset:-1px}.focus-within\:outline-accent\/20:focus-within{outline-color:#0d7c8a33}@supports (color:color-mix(in lab,red,red)){.focus-within\:outline-accent\/20:focus-within{outline-color:color-mix(in oklab,var(--color-accent) 20%,transparent)}}@media(hover:hover){.hover\:border-accent:hover{border-color:var(--color-accent)}.hover\:border-ink-muted:hover{border-color:var(--color-ink-muted)}.hover\:border-line-hover:hover{border-color:var(--color-line-hover)}.hover\:bg-accent\/12:hover{background-color:#0d7c8a1f}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/12:hover{background-color:color-mix(in oklab,var(--color-accent) 12%,transparent)}}.hover\:bg-accent\/22:hover{background-color:#0d7c8a38}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/22:hover{background-color:color-mix(in oklab,var(--color-accent) 22%,transparent)}}.hover\:bg-bad\/10:hover{background-color:#c9453c1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-bad\/10:hover{background-color:color-mix(in oklab,var(--color-bad) 10%,transparent)}}.hover\:bg-control:hover{background-color:var(--color-control)}.hover\:bg-row-hover:hover{background-color:var(--color-row-hover)}.hover\:bg-sunken:hover{background-color:var(--color-sunken)}.hover\:bg-warn\/12:hover{background-color:#d98b1f1f}@supports (color:color-mix(in lab,red,red)){.hover\:bg-warn\/12:hover{background-color:color-mix(in oklab,var(--color-warn) 12%,transparent)}}.hover\:text-accent:hover{color:var(--color-accent)}.hover\:text-bad:hover{color:var(--color-bad)}.hover\:text-ink:hover{color:var(--color-ink)}.hover\:text-ink-muted:hover{color:var(--color-ink-muted)}}.focus\:w-\[220px\]:focus{width:220px}.focus\:border-accent:focus{border-color:var(--color-accent)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:rounded-badge:focus-visible{border-radius:var(--radius-badge)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-2:focus-visible{outline-offset:-2px}.focus-visible\:outline-offset-1:focus-visible{outline-offset:1px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-offset-\[-2px\]:focus-visible{outline-offset:-2px}.focus-visible\:outline-accent:focus-visible{outline-color:var(--color-accent)}.focus-visible\:outline-bad:focus-visible{outline-color:var(--color-bad)}.active\:border-r-accent-edge:active{border-right-color:var(--color-accent-edge)}.active\:bg-accent\/20:active{background-color:#0d7c8a33}@supports (color:color-mix(in lab,red,red)){.active\:bg-accent\/20:active{background-color:color-mix(in oklab,var(--color-accent) 20%,transparent)}}.active\:bg-row-selected:active{background-color:var(--color-row-selected)}.active\:text-accent-text:active{color:var(--color-accent-text)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-45:disabled{opacity:.45}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-55:disabled{opacity:.55}.disabled\:opacity-60:disabled{opacity:.6}@media(hover:hover){.disabled\:hover\:text-ink-muted:disabled:hover{color:var(--color-ink-muted)}}@media(min-width:48rem){.md\:p-6{padding:calc(var(--spacing) * 6)}}.brand-rule{background:linear-gradient(90deg,var(--color-accent) 0%,var(--color-brand) 100%);flex-shrink:0;height:2px}.scroll-slim::-webkit-scrollbar{width:6px;height:6px}.scroll-slim::-webkit-scrollbar-track{background:0 0}.scroll-slim::-webkit-scrollbar-thumb{background:var(--color-line);border-radius:3px}.scroll-slim::-webkit-scrollbar-thumb:hover{background:var(--color-line-hover)}.fade-edge-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000)}.select-chevron{appearance:none;background-image:none;padding-inline-end:2rem}.select-chevron::-ms-expand{display:none}.select-chevron-wrap{display:block;position:relative}.select-chevron-wrap:after{content:"";pointer-events:none;background-color:var(--color-ink-muted);top:50%;width:11px;height:11px;position:absolute;inset-inline-end:.7rem;transform:translateY(-50%);-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><path d='M3 4.5 6 7.5 9 4.5'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><path d='M3 4.5 6 7.5 9 4.5'/></svg>");-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.detail-toggle{position:relative}.detail-toggle:after{content:attr(data-detail-hint);z-index:40;width:max-content;max-width:min(180px,calc(100vw - 16px),var(--detail-hint-max-width,180px));border:1px solid var(--color-line);border-radius:var(--radius-chip);background:var(--color-control);box-shadow:var(--shadow-tooltip);color:var(--color-ink-muted);font-family:var(--font-mono);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;opacity:0;padding:4px 7px;font-size:9px;font-weight:400;line-height:1.25;transition:opacity .12s,transform .12s;position:absolute;top:50%;right:calc(100% + 6px);overflow:hidden;transform:translateY(-50%)translate(2px)}.detail-toggle:hover:after,.detail-toggle:focus-visible:after{opacity:1;transform:translateY(-50%)translate(0)}.detail-toggle[data-detail-hint-side=right]:after{left:calc(100% + 6px);right:auto;transform:translateY(-50%)translate(-2px)}.detail-toggle[data-detail-hint-side=right]:hover:after,.detail-toggle[data-detail-hint-side=right]:focus-visible:after{transform:translateY(-50%)translate(0)}@media(pointer:coarse){.detail-toggle{min-width:40px;min-height:40px}}@media(hover:none){.detail-toggle:after{display:none}}.drag-scroll{scrollbar-width:none}.drag-scroll::-webkit-scrollbar{display:none}}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 600;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAHpsABIAAAABMqgAAHoCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoE4G4caHIGacgZgP1NUQVSBICceAIUiL0wRCAqB3DiBrC4LhhYAMIGcXgE2AiQDjBoEIAWHRgejDFtJFnGBsU2lnge5WVVyxx2bn8k4NuF2FGQmX4ZnRm0XabU42f//JyUdMjTEGqDSdar2O+SQccghITKCZESYriN72BqZaY6RUJB0uPlEx4STwvdgyWM3TuN0dmkHp1ih39djHtzlZcqjBEH+ukP3Wz2Jw710mcz4TFNrmNOowSgzl/nbXWIQYdApTKZOe7tkuslj1O5nl5Xxs02ucpl/GRe5jCSh2wdn5w+vLRqoQQaS6d12/ahE1x4WOtXW1XwVGLvMRqwTlb7w/3yd/a99zq1bSbrwIKT7UWk++xPjPwI01EzUCEbn5/nc7M+97xFCjCGFmCITMY0pRowMpimlfMpHmvIj5TNphjI0EylFDBH5lOIWaUSkacSIkV1gEFn2MtRPcUPcMhQ3xI1mKFKLqY2UobhhGkN4GZ50818CCAFBBURmCFmEBBISMhbJXcYlZJDjSCCcIWGEESCwBRWqiFoVa504Fiq1RXeljtVhqzhmFSsdnzpWrdphh/bDTzn1e29IoxGMbE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vw71ve2/7zs=)format("woff2")}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:500 600;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAFcwABMAAAAAzqQAAFbDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoMkG/p0HIlOP0hWQVKDKQZgP1NUQVRYJx4AhFovRBEICoGBMOZ3C4RIADDoWAE2AiQDiQwEIAWEbgeLChvXvQeYZx0G6A7Q0RWtqjobUbsd37GEeKCAG0M3bBwANMmI7P//hAQ1ROY/tUcgoZvOiQgRZYq0tQqtrtq0OPuUj1ppo9lTWkHmsaqsgMwUGIipKXJ0KjzWWJ80IoTP6rPTjtqOPehg2PrRVv9O597vba1taam0nOjkldFY2WftKiv9hRBCyGUufEOI8zZfPXycK8k4QmDpPJb+rFeBATgChFh44jhUamELwaUnvcN3N4+vyxNzh/+7rgJjl8eIqFgn2pcoqn36kdWPVjKD2Aj7Vkam8T8C48lH+kg3AlD/PO+2P/c9BHyCgxAQEQkJHIiIiohITly4kWi4No4sbSwrbYxpZWPb2DSWbfWbjV82/8/VXsO/m9WLiJKEJIRgIWgppVS2e2qSQHdP/Mv9S8w6s+4jdm3HKQz/zvl/qAEdu/fCxFin1onzRIzvJ/Yp+knGnttVZS63QCmyUnPSeJOT5CRN0jRNE6Rssc7eE5TCKRKMQn4IAok4YTWC4XngsP27jWMO6wjiQBMO4wU0jTJ/8+n0a1ijkTl2gL4Dyx/y4f3N+gjb6t6Os1Q111515QJCiK3YkgU04IdrvTPJpjAvKZORwLocOORPskAbu2dL4L4qsFLtEG7aMeloSF6q1Gi3UoVhDRIhJESAgAe8Qk3n0pl0P7MX8XWi3YvJXkRBtUkleIAE3aaTaucJhF80mUPrnBD6QtnqQmoPYiAOCLgpJe9NC+zAS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l8R/y30xmPVqhM2WzQMGTpNRjBylHHHHbEJZc5sOOCbzeSLYQ2O+MsewcdctFM4dxYo9vrmiv2yZVnkXx9bihw1XVtbrqlVaHb2v1jvyKLNbur0x3FXnqtVIky5cwqNKrUb6Qq1UapMVqtMcYab5wJJplokwNmm2KyOlO9ctIb620wwyxzzTEP2WkUDVaoZ0H12Sdf2HrrneMEXA20VJgcTaaLMN99/1rggUceO+fNtyArqqYbpmU7ro9EplBpdAaTxVbgcHmKfIFQSaQcXF5iFdWArdQ1JJpSLW0dXT19SwaWDa0YWTW2Zt2GTQwnFocncHHzEHn5+AUEhYRFSCnwvxdNrKhr024b185Ta9lmIUJUtn2Mn92enXCIRfhQkujJTrkfyVCln2VEA3fmDq4CJs3wSaukKzMM5om3xZ2TN4y5Y/sLa7OqrqhdE9JFBhLpLr2QFneywlTjzQRM3Jx6ujcvU3q4uQ1FgIw3RcaS1TVaMxVPTbCLz3iJYBd05Vw5HV0GAnFWE3s05/hgmNlv74M8j/mLx2j/JWQyp9YhIB4+o6n/NVQC4fWoY0XJAVda9BF+wd49BzsJWmc8bnIZGsToKk9Gh57lBfhMHlzQW5v5fRrHMxSifd+ma21LxgMkWSham/jJp17Y4z0g4BBa6nDANwMRwO2NspJtxfmM/fYKad6K3TR0Fmt51ejNFmEWaiKG+Lun1tijT7wC7khvEyYOuQaBO9znNdDhMWgQdJqm2mLN+j7dyeV1RGhKHUcU)format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:400 500;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAMVcABMAAAABl+gAAMTrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpJiG4KsVByQGj9IVkFSiUkGYD9TVEFUgTgnLgCFNi9+EQgKgaZogYVUC4U6AD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wISHbdQ7b6Se0Boj1VXP8k6y+K6TFgi4UCUktMgSrFKIC/0EdeDz806YMaurVCaDjfskiVGONiAmn9iIXbeuyJLRuIpjn1GyioDSmwo7OJCjoKKwzCcaludmVSaNPRUqlCxG0K50iOmFaxE6TcbkabGfNP8wLtfyHvGP5btTM33gA3+UqXPI64dEEB9ClzeqAbXzW9WiWUaCQbXAgErV2sGAA==)format("woff2")}[data-theme=dark]{--color-surface:#13161a;--color-sunken:#0f1215;--color-ink:#e6ecf0;--color-ink-2:#c3ccd3;--color-ink-muted:#8895a0;--color-ink-faint:#74818b;--color-ink-ghost:#4a5661;--color-ink-dim:#6f7c88;--color-line:#262c33;--color-line-soft:#1d2227;--color-line-hover:#3d464f;--color-line-inner:#232a30;--color-accent:#3ec1cf;--color-accent-text:#6fd7e2;--color-accent-edge:#2b7f89;--color-brand:#b47ec9;--color-brand-text:#c99ad9;--color-ok:#4fbf8b;--color-warn:#e8a94f;--color-warn-text:#e8a94f;--color-bad:#f07067;--color-row-hover:#181c21;--color-row-selected:#1b2126;--color-control:#1a1e23;--color-count:#1d2329;--color-track:#262c33;--color-scrim:#040608a8;--color-line-modal:#2d353d;--shadow-modal:0 16px 44px #0000008c;--shadow-tooltip:0 2px 8px #0006;--color-chart-1:#3ec1cf;--color-chart-2:#3595a3;--color-chart-3:#2f6b76;--color-chart-4:#2b4a52;--color-cat-1:#3987e5;--color-cat-2:#d95926;--color-cat-3:#199e70;--color-cat-4:#c98500;--color-cat-5:#d55181;--color-cat-6:#008300;--color-cat-7:#9085e9;--color-cat-8:#e66767;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme]){--color-surface:#13161a;--color-sunken:#0f1215;--color-ink:#e6ecf0;--color-ink-2:#c3ccd3;--color-ink-muted:#8895a0;--color-ink-faint:#5d6a74;--color-ink-ghost:#4a5661;--color-ink-dim:#6f7c88;--color-line:#262c33;--color-line-soft:#1d2227;--color-line-hover:#3d464f;--color-line-inner:#232a30;--color-accent:#3ec1cf;--color-accent-text:#6fd7e2;--color-accent-edge:#2b7f89;--color-brand:#b47ec9;--color-brand-text:#c99ad9;--color-ok:#4fbf8b;--color-warn:#e8a94f;--color-warn-text:#e8a94f;--color-bad:#f07067;--color-row-hover:#181c21;--color-row-selected:#1b2126;--color-control:#1a1e23;--color-count:#1d2329;--color-track:#262c33;--color-scrim:#040608a8;--color-line-modal:#2d353d;--shadow-modal:0 16px 44px #0000008c;--shadow-tooltip:0 2px 8px #0006;--color-chart-1:#3ec1cf;--color-chart-2:#3595a3;--color-chart-3:#2f6b76;--color-chart-4:#2b4a52;--color-cat-1:#3987e5;--color-cat-2:#d95926;--color-cat-3:#199e70;--color-cat-4:#c98500;--color-cat-5:#d55181;--color-cat-6:#008300;--color-cat-7:#9085e9;--color-cat-8:#e66767;color-scheme:dark}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}</style>
|
|
112
112
|
</head>
|
|
113
113
|
<body>
|