PageSourceSearch

https://cdn.bulbapp.io/apps/frontend/_next/static/chunks/1746.08bc4a87501b45cc.js

js bulbapp.io collected 2026-10-02 06:46:48 UTC 7,447 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1746,2060],{62060:function(e,n,t){t.r(n),t.d(n,{default:function(){return a}});var r=t(17340),u=t(65353),o=t(85893),c=t(67294),i=t(75785);function a(e){var n=e.id,t=e.name,a=e.energy,s=void 0===a?0:a,l=e.requiresEnergy,f=void 0===l||l,d=e.delete,_=e.cancel,E=(0,c.useState)(!1),R=E[0],T=E[1];function h(){return(h=(0,r.Z)((function(){return(0,u.__generator)(this,(function(e){switch(e.label){case 0:return T(!0),[4,d(n)];case 1:return e.sent(),T(!1),[2]}}))}))).apply(this,arguments)}return(0,o.jsxs)(i.Row,{children:[(0,o.jsxs)(i.Row,{className:"mb-3",children:[(0,o.jsxs)(i.Text,{className:"text-center mb-3",bold:!0,children:["Are you sure you want to delete your ",t,"?"]}),(0,o.jsxs)(i.Text,{className:"text-center",small:!0,children:[f?"This will cost ".concat(s," energy. "):null,"Your ",t," will be deleted immediately and you can't undo this action. All the points earned by you or other users due to this content will also be removed."]})]}),(0,o.jsx)(i.Row,{className:"mb-3",children:(0,o.jsx)(i.Button,{appearance:"danger",onClick:function(){return h.apply(this,arguments)},loading:R,children:"Delete"})}),(0,o.jsx)(i.Row,{children:(0,o.jsx)(i.Button,{appearance:"outline-dark",darkAppearance:"outline-light",onClick:_,disabled:R,children:"Cancel"})})]})}},96426:function(e,n,t){t.r(n),t.d(n,{DeleteModal:function(){return N}});var r=t(17340),u=t(68873),o=t(65353),c=t(85893),i=t(94184),a=t.n(i),s=t(11163),l=t(67294),f=t(25617),d=t(40782),_=t(81343),E=t(58436),R=t(91932),T=t(3861),h=t(38521),y=t(16228),O=t(27579),m=t(3649),b=t(9193),A=t(75785),p=t(62060);function N(e){var n=e.shouldNavigate,t=void 0===n||n,i=e.deleteBlog,N=e.deleteComment,g=function(e){e&&B.push((0,h._I)(v,S)),w()},I=(0,f.I0)(),B=(0,s.useRouter)(),C=(0,O.Z)(),v=C.userId,S=C.username,j=(0,y.ZP)(),L=j.deleteModalState,w=j.closeDeleteModal,D=(0,R.nn)(),P=D.deleteThread,x=D.deleteThreadFromStore,M=(0,T.Z)({}),Z=M.deleteThreadComment,F=M.deleteThreadCommentFromStore,U=(0,E.Z)().getEnergyByBulbmoji,H=(0,l.useMemo)((function(){var e,n=L.contentType,t=a()((e={},(0,u.Z)(e,b.XdL,n===b.JHE),(0,u.Z)(e,b.zyX,n===b.det||n===b.ZRt||n===b.F6Q),e));return{show:L.show,contentId:L.contentId,contentType:L.contentType,energy:U(t)}}),[L]),V=H.show,Y=H.contentId,k=H.contentType,G=H.energy;function J(){return K.apply(this,arguments)}function K(){return K=(0,r.Z)((function(){var e,n;return(0,o.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,P(Y)];case 1:return 200===(e=r.sent()).status?(x(Y),I((0,m.ay)(U(b.zyX))),d.Am.success("Your thread is deleted."),g(t)):d.Am.error(null!==(n=(0,_.e$)(e))&&void 0!==n?n:"Try again."),[3,3];case 2:return r.trys.push([0,4,,5]),r.sent(),d.Am.error("Try again."),[3,3];case 3:return[3,5];case 4:return r.sent(),[3,5];case 5:return[2]}}
1))})),K.apply(this,arguments)}function W(){return X.apply(this,arguments)}function X(){return X=(0,r.Z)((function(){var e,n;return(0,o.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),null===L.index||void 0===L.index?(d.Am.error("Choose a comment to delete."),[2]):[4,Z(Y)];case 1:return 200===(e=t.sent()).status?(F(L.index,L.childIndex),I((0,m.ay)(U(b.zyX))),d.Am.success("Your comment is deleted."),g(!1)):d.Am.error(null!==(n=(0,_.e$)(e))&&void 0!==n?n:"Try again."),[3,3];case 2:return t.sent(),d.Am.error("Try again."),[3,3];case 3:return[2]}}))})),X.apply(this,arguments)}function z(){return(z=(0,r.Z)((function(e){return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return k!==b.JHE?[3,3]:i?[4,i(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[3,10];case 3:return k!==b.det?[3,6]:N?[4,N(e)]:[3,5];case 4:n.sent(),n.label=5;case 5:return[3,10];case 6:return k!==b.F6Q?[3,8]:[4,J()];case 7:return n.sent(),[3,10];case 8:return k!==b.ZRt?[3,10]:[4,W()];case 9:n.sent(),n.label=10;case 10:return[2]}}
1))}))).apply(this,arguments)}return(0,c.jsx)(A.Modal,{show:V,onHide:w,title:"Delete",children:(0,c.jsx)(p.default,{name:a()({blog:k===b.JHE,comment:k===b.det||k===b.ZRt,user:k===b.$AG,thread:k===b.F6Q}),delete:function(e){return z.apply(this,arguments)},id:Y,cancel:w,energy:G})})}},70396:function(e,n,t){t.d(n,{Ab:function(){return o},BL:function(){return R},Ds:function(){return i},FQ:function(){return I},Jj:function(){return x},Lf:function(){return S},Mr:function(){return O},QD:function(){return c},RK:function(){return A},Sh:function(){return s},Si:function(){return P},Vf:function(){return u},Wx:function(){return l},XB:function(){return y},ZB:function(){return d},_V:function(){return _},ad:function(){return r},bM:function(){return g},cc:function(){return w},ev:function(){return b},fX:function(){return C},fd:function(){return B},iG:function(){return a},m5:function(){return v},mb:function(){return j},mw:function(){return m},nT:function(){return L},ow:function(){return h},pj:function(){return D},tR:function(){return N},u6:function(){return f},wW:function(){return E},yS:function(){return p},zw:function(){return T}});var r="NEED_WALLET",u="CANNOT_CONNECT_WALLET",o="NOT_SAME_ACCOUNT",c="COPIED_LINK",i="COPIED_WALLET",a="PUBLISH_BUTTON_INFO",s="VERIFY_POST",l="BOOST_POST_ACTIVATED",f="BOOST_POST_DEACTIVATED",d="BOOST_POST_ERROR",_="COPIED_WALLET_FORM",E="FAILED_TRANSACTION",R="ONLY_REACT_READ_ONCE",T="NOT_ENOUGH_ENERGY_VOTE",h="COPIED_SHARE_LINK",y="VERIFY_COMMENT",O="VOTE_ERROR",m="ENDORSE_ERROR",b="MODERATE_NOT_ENOUGH_ENERGY",A="BULBMOJI_ACTIVATE_INFO",p="BULBMOJI_NO_SLOTS_CAN_BE_UNLOCK",N="BUY_BULBMOJI_ERROR",g="BUY_ARTICLE_NFT_ERROR",I="UNSUBSCRIBE_ERROR",B="TOO_MANY_TAGS_ERROR",C="NO_TIP_AMOUNT_ERROR",v="CANNOT_TIP_ERROR",S="STAKE_FORM_ERROR",j="VERIFY_THREAD",L="VALIDATE_THREAD",w="PUBLISH_THREAD",D="PICK_CATEGORY_ERROR",P="PICK_CONTENT_ERROR",x="SWAP_ERROR"},58436:function(e,n,t){t.d(n,{Z:function(){return d}});var r=t(17340),u=t(31159),o=t(65353),c=t(25617),i=t(38521),a=t(27579),s=t(26392),l=t(22591),f=t(81343);function d(){var e=function(e){var n={Energy:null,Points:null,Name:e};try{var t=d.bulbmojis[e];return n.Energy=t.Energy,n.Points=t.Points,n}catch(r){return n}},n=(0,c.I0)(),t=(0,a.Z)().loggedIn,d=(0,c.v9)((function(e){return e.bulbmojis}));function _(){return _=(0,r.Z)((function(){var e,r,u,c=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:e=c.length>0&&void 0!==c[0]&&c[0],o.label=1;case 1:return o.trys.push([1,4,,5]),t?!d.refreshed||e?[4,(0,f.Vz)(l.eT5)]:[3,3]:(n((0,s.H7)()),[2]);case 2:r=o.sent(),(0,i.bv)(r.status)&&(u=r.data,n((0,s.HV)(u))),o.label=3;case 3:return[3,5];case 4:return o.sent(),[3,5];case 5:return[2]}}
1))})),_.apply(this,arguments)}return{bulbmojiSettings:d.bulbmojis,refreshBulbmojiSettings:function(){return _.apply(this,arguments)},getEnergyPointsByBulbmoji:e,getEnergyByBulbmoji:function(n){try{return e(n).Energy}catch(t){return null}},getPointsByBulbmoji:function(n){try{return e(n).Points}catch(t){return null}},getImageByBulbmoji:function(e){return d.bulbmojis[e].Image},checkValidBulbmojiSchema:function(){return Object.entries(d.bulbmojis).map((function(e){var n=(0,u.Z)(e,2),t=n[0],r=n[1],o=s._l[t];return t in s._l&&Object.keys(r).map((function(e){return Object.keys(o).includes(e)})).every(Boolean)})).every(Boolean)}}}},21299:function(e,n,t){t.d(n,{T:function(){return u}});var r=t(25617),u=function(){return{energy:(0,r.v9)((function(e){return e.energy.value})),capacity:(0,r.v9)((function(e){return e.energy.capacity}))}}}}]);

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.