1"use strict";(self.webpackChunkmusicboard_web=self.webpackChunkmusicboard_web||[]).push([[1506],{1506:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var s=r(65043),i=r(36643),n=r(57919),d=r(97508),u=r(39526),o=r(3495),l=r(29364),a=r(98863),c=r(56841),h=r(70579);const p=function(e){let{options:{review:t}}=e;const{openPopup:r}=(0,n.O)(),{openAlert:p}=(0,a.M)(),g=(0,d.wA)(),w=(0,c.W6)(),f=(0,d.d4)((e=>e.reviews.deleteReviewStatus)),v=(0,d.d4)((e=>e.reviews.errorMessage)),R=(0,d.d4)((e=>e.ratings.deleteRatingStatus)),m=(0,d.d4)((e=>e.ratings.errorMessage)),y=(0,d.d4)((e=>e.me.username)),C=(0,s.useRef)(!0);(0,s.useEffect)((()=>{C.current?C.current=!1:f===u.h.SUCCESS?g((0,l.pp)(t.rating.uid)):f===u.h.ERROR&&p({p:"Could not delete review. Error (Rating): "+v,style:"red",timer:8e3})}),[f]);const E=(0,s.useRef)(!0);return(0,s.useEffect)((()=>{E.current?E.current=!1:R===u.h.SUCCESS?w.push(`/${y}?deleted-review=success`):R===u.h.ERROR&&p({p:"Could not delete review. Error (Rating): "+m,style:"red",timer:8e3})}),[R]),(0,h.jsxs)("div",{children:[(0,h.jsx)("p",{className:"highDarkGrey",style:{fontSize:16,lineHeight:"1.5"},children:"Are you sure you want to delete this review?"}),(0,h.jsxs)("div",{className:"flex-row justify-end margin-top-16",children:[(0,h.jsx)(i.A,{height:40,type:"secondary-two",text:"No",className:"margin-right-16",onClicked:()=>r(null)}),(0,h.jsx)(i.A,{height:40,type:"destructive",text:"Delete",loading:f===u.h.BEGIN||f===u.h.BEGIN,onClicked:()=>{g((0,o.Wr)(t.uid))}})]})]})}}}]); 2//# sourceMappingURL=1506.abe999a5.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.