1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b39f796a-3f2d-4168-ac30-989ef4562aed",e._sentryDebugIdIdentifier="sentry-dbid-b39f796a-3f2d-4168-ac30-989ef4562aed")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9263],{9263:(e,n,t)=>{"use strict";t.r(n),t.d(n,{DeleteSelectionModal:()=>c});var i=t(10749);t(66985);var l=t(68929),a=t(75161),d=t(88115);let o=t(88658).JK.feature("DeleteSelectionModal");var r=t(51686),s=t.n(r);let c=e=>{let{selectionId:n,onClose:t,onDeleted:r}=e,c=(0,a.Rb)(),u=async()=>{try{await c.mutateAsync({selectionId:n}),null==r||r(),t()}catch(e){(0,d.d7)(e)?o("BackendLogicError","ÐÑибка пÑи Ñдалении подбоÑки").emit({originalError:e,extendedParams:{action:"handleDelete",selectionId:n,endpoint:"/api/selections/{selection_id}"}}):o("FrontendLogicError","ÐеизвеÑÑÐ½Ð°Ñ Ð¾Ñибка пÑи Ñдалении подбоÑки").emit({originalError:e,extendedParams:{action:"handleDelete",selectionId:n}})}};return(0,i.jsx)(l.Nb,{isOpen:!0,onClose:t,title:"УдалиÑÑ Ð¿Ð¾Ð´Ð±Ð¾ÑкÑ?",closeOnOverlayClick:!c.isPending,size:"m",children:(0,i.jsxs)("div",{className:s().DeleteSelectionModal,children:["ÐоÑле ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð²Ð¾ÑÑÑановиÑÑ Ð¿Ð¾Ð´Ð±Ð¾ÑÐºÑ Ð±ÑÐ´ÐµÑ Ð½ÐµÐ²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾.",(0,i.jsxs)("div",{className:s().DeleteSelectionButtonContainer,children:[(0,i.jsx)(l.$n,{className:s().DeleteSelectionButton,variant:"primary",onClick:u,disabled:c.isPending,fullWidth:!0,children:c.isPending?"Удаление...":"Ðа, ÑдалиÑÑ"}),(0,i.jsx)(l.$n,{className:s().DeleteSelectionButton,variant:"secondary",onClick:t,disabled:c.isPending,fullWidth:!0,children:"ÐÑмениÑÑ"})]})]})})}},51686:e=>{e.exports={DeleteSelectionButtonContainer:"DeleteSelectionModal_DeleteSelectionButtonContainer___IwIR"}}}]);
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.