1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1597],{99376:function(e,t,a){var s=a(35475);a.o(s,"ServerInsertedHTMLContext")&&a.d(t,{ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext}}),a.o(s,"notFound")&&a.d(t,{notFound:function(){return s.notFound}}),a.o(s,"useParams")&&a.d(t,{useParams:function(){return s.useParams}}),a.o(s,"usePathname")&&a.d(t,{usePathname:function(){return s.usePathname}}),a.o(s,"useRouter")&&a.d(t,{useRouter:function(){return s.useRouter}}),a.o(s,"useSearchParams")&&a.d(t,{useSearchParams:function(){return s.useSearchParams}})},61597:function(e,t,a){a.r(t);var s=a(57437),n=a(76870),r=a(2265),d=a(99376),i=a(54166),c=a(56728),u=a(25493),o=a(74112),h=a(69772),l=a(38141);t.default=()=>{let e=(0,d.useRouter)(),{isOpen:t,onClose:a,type:m,data:x}=(0,i.a)(),[f,p]=(0,r.useState)(!1),{backendAxiosInstance:M}=(0,c.Z)(),D=(0,n.pm)(),C=t&&"deleteDedicatedMachineModal"===m,y={..."deleteDedicatedMachineModal"===x.type&&x.data},{mutate:E}=(0,l.Z)().deployedDedicatedMachineList(C),{mutate:L}=(0,l.Z)().purchasedDedicatedMachineList(C),g=async()=>{try{if(p(!0),!y.machineId)throw Error("MachineId is missing");let t="".concat(o.Z.services.subgraphBackend).concat(u.Z.DEDICATED_MACHINE_APIS.v1.MACHINES.DELETE(y.machineId)),s=await M.delete(t);p(!1),D("Success",{status:"success",message:s.data.data.message}),E(),L(),a(),e.push("/traceye/graph-node")}catch(e){p(!1),D("Error",{status:"error",message:(0,h.e$)(e)})}};return(0,s.jsxs)(n.u_,{isOpen:C,handleClose:a,children:[(0,s.jsx)(n.ZA,{}),(0,s.jsxs)(n.hz,{children:[(0,s.jsx)(n.fe,{onKeyDown:e=>"Escape"===e.key&&a(),children:(0,s.jsx)(n.r6,{className:"text-lg font-semibold lg:text-2xl",children:"Are you sure you want to delete the Node?"})}),(0,s.jsxs)(n.mz,{children:[(0,s.jsx)(n.zx,{isFullWidth:!0,variant:"outline",className:"text-brand-primary",onClick:g,isLoading:f,children:"Continue"}),(0,s.jsx)(n.zx,{onClick:a,isFullWidth:!0,children:"Close"})]})]})]})}},38141:function(e,t,a){var s=a(39967);t.Z=()=>({purchasedDedicatedMachineList:s.dT,deployedDedicatedMachineList:s.CO,dedicatedMachineData:s.RN,dedicatedMachineSubgraphData:s.eD,dedicatedMachineSubgraphList:s.BP,analyticsDetails:s.Yf,indexPruneConfig:s.uB,webhookList:s.E6,webhookData:s.qh,undeliveredWebhookList:s.OW,tableList:s.vy})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.