import{v as u,w}from"/build/_shared/chunk-UIRB6LME.js";import{a as g}from"/build/_shared/chunk-QYDFB2PH.js";import"/build/_shared/chunk-TVJAN66A.js";import"/build/_shared/chunk-CG7OF7U6.js";import"/build/_shared/chunk-JWVFBRIV.js";import"/build/_shared/chunk-LIQTNBUG.js";import"/build/_shared/chunk-SLNM5P2A.js";import"/build/_shared/chunk-32YOKIWQ.js";import"/build/_shared/chunk-IHR7WGUA.js";import"/build/_shared/chunk-HTTIUZX4.js";import{I as d}from"/build/_shared/chunk-BH32IDM5.js";import"/build/_shared/chunk-J57633IL.js";import"/build/_shared/chunk-ZMXU4C7Z.js";import{a as D,b as P}from"/build/_shared/chunk-LRTFSTL7.js";import{a as N}from"/build/_shared/chunk-YCZ72ESF.js";import{a as h,h as p}from"/build/_shared/chunk-FCFTNN44.js";import{b as c}from"/build/_shared/chunk-N2QZPEPI.js";import{A as l,f as o,k as s,p as m,u as f}from"/build/_shared/chunk-IYEHZB2Y.js";import{d as t}from"/build/_shared/chunk-4AMCPB2Y.js";var L=t(N(),1);var i=t(h(),1);var n=t(D(),1),$=t(w(),1);var b=t(P(),1),e=t(l(),1);function y(){let a=f(),[A]=s(),r=o(),v=(0,i.useSpinDelay)(r.state!=="idle",{delay:200,minDuration:200}),x=(0,i.useSpinDelay)(r.state!=="idle",{delay:0,minDuration:1e3});return(0,e.jsxs)("div",{className:p("grid h-full grid-rows-[1fr,auto]",{"cursor-wait opacity-30":v}),children:[(0,e.jsx)("div",{className:"overflow-y-auto",children:(0,e.jsx)(u,{diff:a.diff,allApps:a.allApps})}),(0,e.jsxs)("div",{className:"flex h-16 items-center justify-end border-t border-border",children:[(0,e.jsx)(d,{content:"Loading diff",children:(0,e.jsx)(m,{to:`.?${A}`,className:"flex h-full w-16 items-center justify-center",children:(0,e.jsx)(c,{name:"Refresh",className:p({"animate-spin":x})})})}),(0,e.jsx)(g,{prev:a.prevLink,next:a.nextLink})]})]})}export{y as default};
//# sourceMappingURL=/build/routes/diff-56CNXYOS.js.map
