/*! VERSION | 11.0.90 */"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6686],{76315:(e,t,o)=>{o.d(t,{Z:()=>_});var n=o(27378),a=o(29413),l=o(99748),s=o(97606),c=o(95654),i=o(80092);let r={root:"ModelChatActionsLayout#KH",root_overlay:"ModelChatActionsLayout_overlay#yj",rootOverlay:"ModelChatActionsLayout_overlay#yj",content:"ModelChatActionsLayout__content#di",content_shrinkToBottom:"ModelChatActionsLayout__content_shrinkToBottom#o6",contentShrinkToBottom:"ModelChatActionsLayout__content_shrinkToBottom#o6",content_default:"ModelChatActionsLayout__content_default#zU",contentDefault:"ModelChatActionsLayout__content_default#zU",content_private:"ModelChatActionsLayout__content_private#dN",contentPrivate:"ModelChatActionsLayout__content_private#dN",content_fullscreen:"ModelChatActionsLayout__content_fullscreen#DB",contentFullscreen:"ModelChatActionsLayout__content_fullscreen#DB",content_bottomSheet:"ModelChatActionsLayout__content_bottomSheet#Dl",contentBottomSheet:"ModelChatActionsLayout__content_bottomSheet#Dl",is_pinned_header:"ModelChatActionsLayout__is_pinned_header#pb",isPinnedHeader:"ModelChatActionsLayout__is_pinned_header#pb",content_canScrollTop:"ModelChatActionsLayout__content_canScrollTop#_U",contentCanScrollTop:"ModelChatActionsLayout__content_canScrollTop#_U",header:"ModelChatActionsLayout__header#GN",body:"ModelChatActionsLayout__body#Vm",closeBtn:"ModelChatActionsLayout__closeBtn#_e",closeIcon:"ModelChatActionsLayout__closeIcon#hW",outerCloseBtn:"ModelChatActionsLayout__outerCloseBtn#Zc",outerCloseIcon:"ModelChatActionsLayout__outerCloseIcon#wC"},_=({children:e,onClose:t,rootClassName:o,isPrivateTitle:_,isHeader:d,isWithComment:u,isOverlay:m,isShrinkToBottom:h,style:C,canScrollTop:v})=>{let y=(0,c.C)(i.F9),{trans:A}=(0,s.QT)(),p="fullscreen"===C,L=A("actionList.titleSendTip");return _&&(L=A(u?"actionList.titleSendPrivateTipWithComment":"actionList.titleSendPrivateTip")),n.createElement("div",{className:(0,l.AK)(r.root,o,{[r.root_overlay]:m,[r.is_pinned_header]:y})},p&&n.createElement("div",{onClick:t,className:(0,l.AK)(r.outerCloseBtn)},n.createElement(a.Z,{className:r.outerCloseIcon,img:"close-3"})),n.createElement("div",{className:(0,l.AK)(r.content,r[`content_${C}`],{[r.content_shrinkToBottom]:h,[r.content_canScrollTop]:v})},d&&n.createElement("div",{className:r.header},n.createElement("span",null,L),!p&&n.createElement("div",{onClick:t,className:(0,l.AK)(r.closeBtn)},n.createElement(a.Z,{className:r.closeIcon,img:"close-3"}))),n.createElement("div",{className:r.body},e)))}},14007:(e,t,o)=>{o.r(t),o.d(t,{default:()=>A});var n=o(27378),a=o(94537),l=o(29697),s=o(29502),c=o(95366),i=o(92248),r=o(67333),_=o(38924),d=o(94380),u=o(95654),m=o(36886),h=o(35395),C=o(79561),v=o(76315);let y={form:"ModelChatActionsPrivateTip__form#bG"},A=({className:e})=>{let t=(0,d.T)(),o=(0,u.C)(_.VH),A=(0,u.C)(C.$1),p=(0,u.C)(_.YP),L=(0,m.t)(),M=()=>t((0,s.Jg)(!1)),[T,E]=(0,n.useState)((0,r.X)({hasComment:null==o?void 0:o.showMessage,comment:null==o?void 0:o.message,amount:(null==o?void 0:o.amount)||null}));return L?n.createElement(a.Z,null,p&&n.createElement(l.Z,{classNames:"fade-transition-quick",key:"private-model-chat-actions",timeout:h.E},n.createElement(v.Z,{isPrivateTitle:!0,isHeader:!0,isWithComment:T,isOverlay:!0,isShrinkToBottom:!0,onClose:M,rootClassName:e,style:"private"},n.createElement("div",{onClick:e=>e.stopPropagation()},n.createElement(i.H,{...o,onChange:e=>{E((0,r.X)({hasComment:e.values.hasComment,comment:e.values.comment,amount:e.values.amount}))},source:c.buX.PRIVATE_TAB,buyTokensSource:A?"private_Show_TipDialog":"privateTab",amplitudeEventProps:{source:c.buX.PRIVATE_TAB,isFromMenu:!0},isPrivateTip:!0,onClose:M,className:y.form}))))):null}},92248:(e,t,o)=>{o.d(t,{H:()=>n});let n=(0,o(98846).n7)({resolved:{},chunkName:()=>"SendTipFormNewConnected",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&!!o.m[t]},importAsync:()=>Promise.all([o.e(2902),o.e(8467)]).then(o.bind(o,2648)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){return o(this.resolve(e))},resolve:()=>2648})},67333:(e,t,o)=>{o.d(t,{X:()=>n.X,h:()=>n.h});var n=o(22835)}}]);