1(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"4.106.2@5fb3279d0cc"};var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="3532e9ac-e16a-4333-964b-345868486b98",t._sentryDebugIdIdentifier="sentry-dbid-3532e9ac-e16a-4333-964b-345868486b98")}catch{}})(),(self.webpackChunkvisme_dashboard_web_app=self.webpackChunkvisme_dashboard_web_app||[]).push([["4046"],{73747(t,a,e){e.r(a),e.d(a,{default:()=>E});var s=e(65723),g=e(22155),y=e(17990),S=e(98177),A=e(90487),p=e(87803),I=e(4233),i=e(25236),w=e(5444),k=e(8099),c=e(7637),l=e(37588),j=e(39373),_=e(53702),m=e(47267),x=e(70060);const D=()=>{const{appStore:C,uiStateStore:F}=(0,x.g)(),{auth:P,workspaces:R,projects:d,folders:T}=C,{popupStore:u}=F,h=(0,y.Zp)(),{t:o}=(0,j.Bd)(),[b,f]=(0,g.useState)(!1),n=u.dialogOptions.folder,r={title:o("delete_folder_forever"),success:o("msg.folder_deleted"),error:o("error_{action}_{item}",{action:o("deleting"),item:o("folder")}),desc:o("i18n_auto_390"),cancel:o("i18n_auto_24796"),confirm:o("i18n_auto_24998")},v=()=>{u.closePopup()},L=async()=>{f(!0);try{await A.A.DeleteFolder({userId:P.currentId,workspaceId:R.currentId,folderId:n.id,destroy:!0}),await T.refresh(),await d.refresh(),v(),m.A.success(r.success),d.scope&&d.isFolderScope&&d.scope.scopeId===n.id&&(n.parent?h({pathname:(0,_._J)(l.a$.PROJECTS_SCOPE_WITHID,{scope:c.Dn.FOLDER,scopeId:n.parent})}):h({pathname:(0,_._J)(l.a$.PROJECTS_SCOPE,{scope:c.Dn.ALL})}))}catch{m.A.error(r.error)}finally{f(!1)}};return(0,s.jsx)(k.A,{size:"small",isShown:!0,title:r.title,Buttons:null,withoutStyles:!0,hasCrossButton:!0,children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w.A,{label:r.desc,noMargin:!0}),(0,s.jsxs)(I.A,{mobileGrow:!0,contentEnd:!0,children:[(0,s.jsx)(p.A,{mobileBaseAuto:!0,noGrow:!0,children:(0,s.jsx)(i.A,{disabled:b,mobileFullWidth:!0,theme:"ghost",onClick:v,autoFocus:!0,children:r.cancel})}),(0,s.jsx)(p.A,{mobileBaseAuto:!0,noGrow:!0,children:(0,s.jsx)(i.A,{type:"button",onClick:L,theme:"alert",effect:"shiny",isLoading:b,mobileFullWidth:!0,children:r.confirm})})]})]})})},E=(0,S.PA)(D)}}]); 2 3//# sourceMappingURL=dashboard-popup-FolderDestroy.a27b954af08071a9.chunk.js.map
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.