PageSourceSearch

https://www.mixanma.com/services/communities-forum-client/1.1393.0/client-viewer/3828.chunk.min.js

js mixanma.com collected 2026-10-04 05:46:34 UTC 27,753 bytes, 2 lines download raw bytes

1"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_forum_client=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_forum_client||[]).push([[3828],{1478:(e,t,n)=>{n.d(t,{j:()=>o});const o=e=>{let{type:t,isPostSeen:n}=e;return"postPage"!==t&&n}},50038:(e,t,n)=>{n.d(t,{O:()=>i});var o=n(69765),s=n(27762),a=n.n(s);const i=(0,o.d)((()=>Promise.all([n.e(9127),n.e(1061),n.e(4544),n.e(6563),n.e(8984),n.e(6288),n.e(7583)]).then(n.bind(n,3325))),{loading:e=>a().createElement("div",{className:e.className},e.children)})},1045:(e,t,n)=>{n.d(t,{W:()=>s});var o=n(74752);const s=e=>{let{postInteraction:t,mainPostReaction:n,additionalPostReactions:s}=e;s=s||[];const l=r({postInteraction:t,isAdditionalReactionsAvailable:s.length>0});switch(l){case"none":return{type:"none"};case"likes":return{type:"likes",mainEmotion:a(null==n?void 0:n.type)};case"emotions":const e=s.map((e=>i(e.type))).filter(o.$K).slice(0,5);return{type:"emotions",mainEmotion:a(null==n?void 0:n.type),emotions:e};default:throw(0,o.t1)(l)}},a=e=>{switch(e){case"love":return"heart";case"thumbs_up":return"thumbsup";case void 0:return"heart";default:return console.error((0,o.t1)(e)),"heart"}},i=e=>{switch(e){case"angry":case"clap":case"sad":case"thinking":return e;case"thumbs_up":return"thumbsup";case"love":return"heart";case"smile":return"smiley";case"wow":return"surprised";case"haha":return"lol";case void 0:return;default:return void console.error((0,o.t1)(e))}},r=e=>{let{postInteraction:t,isAdditionalReactionsAvailable:n}=e;const s=n?"emotions":"likes";switch(t){case"none":return"none";case"reaction":case void 0:return s;default:return(0,o.t1)(t),s}}},17726:(e,t,n)=>{n.d(t,{l:()=>o});const o=e=>t=>{var n;return null==(n=(e=>e.userActivity)(e).newPosts)?void 0:n.includes(t)}},51792:(e,t,n)=>{n.d(t,{s:()=>a});var o=n(27762),s=n(1045);const a=e=>(0,o.useMemo)((()=>(0,s.W)({postInteraction:(null==e?void 0:e.postInteraction)??void 0,mainPostReaction:(null==e?void 0:e.mainPostReaction)??void 0,additionalPostReactions:(null==e?void 0:e.additionalPostReactions)??[]})),[e])},32285:(e,t,n)=>{n.d(t,{o:()=>v});var o=n(94002),s=n(38797),a=n.n(s),i=n(154),r=n.n(i),l=n(29494),c=n.n(l),d=n(26852),m=n.n(d),u=n(56076),p=n.n(u),h=n(66633),g=n.n(h);const v=e=>{const t={[o.O.CHECKMARK]:a(),[o.O.CHECKBADGE]:r(),[o.O.HEART]:c(),[o.O.SMILE]:m(),[o.O.STAR]:p(),[o.O.TAG]:g(),[o.O.NONE]:null}[e];return void 0===t?a():t}},28055:(e,t,n)=>{function o(e,t){let{target:n=document.body}=void 0===t?{}:t;const o=document.createElement("textarea"),s=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";const a=document.getSelection();let i=!1;a.rangeCount>0&&(i=a.getRangeAt(0)),n.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;let r=!1;try{r=document.execCommand("copy")}catch{}return o.remove(),i&&(a.removeAllRanges(),a.addRange(i)),s&&s.focus(),r}n.d(t,{T:()=>o})},94002:(e,t,n)=>{n.d(t,{O:()=>o});const o={CHECKMARK:"checkmark",CHECKBADGE:"checkbadge",HEART:"heart",SMILE:"smile",STAR:"star",TAG:"tag",NONE:"none"}},47229:(e,t,n)=>{n.d(t,{a:()=>o});const o={BEST_ANSWER:"best_answer",SOLVED:"solved",FEATURED:"featured",PINNED:"pinned",CUSTOM:"custom"}},45525:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(17607),s=n(27762),a=n.n(s),i=n(95685),r=n.n(i),l=n(95827),c=n(76167),d=n(68437),m=n(66606),u=n(13711),p=n(
15236),h=n(32285);const g=e=>{let{t,toolTipClassName:n,toolTipContent:o,iconClassName:s,linkComponent:i,commentId:l,post:c,categorySlug:p,markedCommentIcon:g}=e;const v=(0,h.o)(g);return v&&a().createElement(d.Z,{text:o||t("comment.solved"),className:n},a().createElement(i,{className:m.Z.link,to:(0,u.u9)(p,c.slug,l),"aria-label":t("comment.solved.label")},a().createElement(v,{className:r()(s,"button-fill")})))};g.defaultProps={linkComponent:c.Z};const v=(0,o.flowRight)((0,l.$)(((e,t)=>{var n;const o=(0,p.n3)(e,t.post.categoryId)||{};return{categorySlug:o.slug,markedCommentIcon:null==(n=o.commentsMark)?void 0:n.icon}})))(g)},34382:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(45525)},9162:(e,t,n)=>{n.r(t),n.d(t,{ArrowLeftIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"6",height:"11",viewBox:"0 0 6 11",style:{fillRule:"evenodd"}},e),i().createElement("path",{d:"M983.993,700.757l5.155,5.251,0.859-.876-4.548-4.632,4.548-4.632-0.859-.876-5.155,5.252L984,700Z",transform:"translate(-984 -695)"}))},44524:(e,t,n)=>{n.r(t),n.d(t,{ArrowRightIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"6",height:"11",viewBox:"0 0 6 11",style:{fillRule:"evenodd"}},e),i().createElement("path",{d:"M1016.01,700.757l-5.16,5.251-0.86-.876,4.55-4.632-4.55-4.632,0.86-.876,5.16,5.252L1016,700Z",transform:"translate(-1010 -695)"}))},78611:(e,t,n)=>{n.r(t),n.d(t,{CommentDisabledIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>{let{title:t="",...n}=e;return i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"18",viewBox:"0 0 16 18"},n),i().createElement("title",null,t),i().createElement("path",{"fill-rule":"evenodd",d:"M8.386 13C8.262 13 8.142 13.046 8.05 13.13L4.5 16.347V13.5C4.5 13.224 4.276 13 4 13H2C1.724 13 1.5 12.775 1.5 12.5V3.5C1.5 3.225 1.724 3 2 3H2.293L12.293 13H8.386ZM14 3C14.276 3 14.5 3.225 14.5 3.5V12.5C14.5 12.775 14.276 13 14 13H13.706L3.706 3H14ZM16 15.293L14.587 13.88C15.123 13.651 15.5 13.119 15.5 12.5V3.5C15.5 2.673 14.827 2 14 2H2.706L0.706 0L0 0.707L1.413 2.12C0.877 2.349 0.5 2.881 0.5 3.5V12.5C0.5 13.327 1.173 14 2 14H3.5V16.347C3.5 16.748 3.728 17.099 4.094 17.261C4.227 17.32 4.366 17.349 4.504 17.349C4.745 17.349 4.982 17.26 5.171 17.089C5.171 17.089 5.171 17.088 5.172 17.088L8.579 14H13.293L15.293 16L16 15.293Z"}))}},69005:(e,t,n)=>{n.r(t),n.d(t,{LoginIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),i().createElement("path",{fill:"#162D3D",d:"M42 29v2c0 .552-.448 1-1 1H31c-.552 0-1-.448-1-1v-2c0-2.565 1.61-4.753 3.873-5.612C32.748 22.68 32 21.428 32 20c0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.427-.748 2.68-1.873 3.388C40.391 24.247 42 26.435 42 29zm-7-6.171V24.1c-2.282.464-4 2.481-4 4.9v2h10v-2c0-2.419-1.718-4.436-4-4.9v-1.271c1.165-.412 2-1.522 2-2.829 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.307.835 2.417 2 2.829z",transform:"translate(-24 -12)"}))},84746:(e,t,n)=>{n.r(t),n.d(t,{ModeratorSmallIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",style:{fillRule:"evenodd"}},e),i().createElement("path",{d:"M9.38865493,13.0966675 L5.99777689,15.3695159 L5.99777689,15.3695159 C5.81427229,15.492516 5.56580117,15.4434673 5.44280113,15.2599627 C5.37531373,15.1592778 5.35712143,15.0334221 5.39333431,14.9177474 L6.61881162,11.00321 L3.26052421,8.54484297 L3.26052421,8.54484297 C3.0822674,8.41435365 3.04354421,8.16406547 3.17403353,7.98580866 C3.24768718,7.88519303 3.36404913,7.82468064 3.48871678,7.82216208 L7.71933169,7.73669425 L9.12378621,3.84718484 L9.12378621,3.84718484 C9.19881412,3.63940187 9.42807763,3.53178262 9.63586061,3.60681052 C9.74774042,3.64720896 9.83583649,3.73530503 9.87623493,3.84718484 L11.2806895,7.73669425 L15.5113044,7.82216208 L15.5113044,7.82216208 C15.7321732,7.82662412 15.9076056,8.00929089 15.9031435,8.23015972 C15.900625,8.35482737 15.8401126,8.47118932 15.7394969,8.54484297 L12.3812095,11.00321 L13.6066868,14.9177474 L13.6066868,14.9177474 C13.6726871,15.1285718 13.5552839,15.3529825 13.3444596,15.4189828 C13.2287849,15.4551956 13.1029292,15.4370033 13.0022442,15.3695159 L9.61136621,13.0966675 L9.61136621,13.0966675 C9.54399616,13.0515105 9.45602499,13.0515105 9.38865493,13.0966675 Z"}))},71592:(e,t,n)=>{n.r(t),n.d(t,{MoveIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),i().createElement("path",{"fill-rule":"evenodd",d:"M12 19H7c-.552 0-1-.448-1-1V5c0-.552.448-1 1-1h9c1 0 1 1 1 1v5h-1V5H7v13h5v1zm6.293-3H13v-1h5.293l-2.145-2.144c-.195-.195-.195-.511 0-.706.195-.196.512-.196.707 0l3.352 3.35-3.352 3.354c-.195.195-.512.195-.707 0-.195-.195-.195-.512 0-.707L18.293 16z"}))},32495:(e,t,n)=>{n.r(t),n.d(t,{PinIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",role:"img",focu
1sable:"false",width:"24",height:"24",viewBox:"0 0 24 24"},e),i().createElement("path",{"fill-rule":"evenodd",d:"M14.5 3.75l5.75 5.75-.621.621c-.563.563-1.326.879-2.122.879h-.757L15 12.75v1.75c0 1.591-.675 3.108-1.858 4.172l-.642.578-3.546-3.547-3.088 3.15c-.192.195-.505.198-.7.007l-.004-.004c-.196-.196-.197-.513-.003-.71l3.088-3.15-3.497-3.499.577-.64C6.392 9.675 7.909 9 9.5 9h1.75L13 7.25v-.757c0-.796.316-1.56.879-2.122l.621-.621z"}))},99102:(e,t,n)=>{n.r(t),n.d(t,{ReportIcon:()=>r});var o=n(448),s=n.n(o),a=n(27762),i=n.n(a);const r=e=>i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",style:{fillRule:"evenodd"}},e),i().createElement("path",{d:"M680,549a9,9,0,1,1,9-9A9,9,0,0,1,680,549Zm1-12a1,1,0,0,0-2,0v4a1,1,0,0,0,2,0v-4Zm-1,6a1,1,0,1,0,1,1A1,1,0,0,0,680,543Z",transform:"translate(-671 -531)"}))},63746:(e,t,n)=>{n.d(t,{Z:()=>R});var o=n(17607),s=n(27762),a=n.n(s),i=n(95685),r=n.n(i),l=n(22724),c=n(76167),d=n(50962),m=n(89072);const u="Hd4PGa",p="wouVzW",h="j132ID",g="RuqB6D",v="yaG1NR";var E=n(3616),C=n(4141);var f=n(61758),w=n(9162),b=n(44524),k=n(76099),Z=n(13711);class y extends s.Component{render(){const{post:e,category:t,direction:n,withDirectionIcon:o,withText:s,isAvatarSmall:i,t:f}=this.props;let y,R,S;const _=e.recentActivity&&e.recentActivity.activityDate;return _?(y=e.recentActivity.activityDate,R=e.recentActivity.initiator,S=(0,Z.u9)(t.slug,e.slug,e.recentActivity.entityId)):(y=e.lastActivityDate||e.createdDate,R=e.owner,
1S=`/${null==t?void 0:t.slug}/${null==e?void 0:e.slug}`),a().createElement(c.Z,{to:S,asClickHandler:!_,dynamicLocationResolver:undefined,className:r()("forum-text-color","forum-link-hover-color",u),biLocation:C.y,"data-hook":"post-list-item__recent-activity","aria-label":f("post-list-item.recent-activity-nav-a11y")},a().createElement(m.Z,{viewedMemberId:R&&R.siteMemberId,viewedMemberSlug:R&&R.slug,stopPropagation:!1},a().createElement(d.Z,{user:R,type:i?E.Z.SMALL:E.Z.MEDIUM,className:h})),s&&a().createElement("span",{className:v},f(_?"recent-activity.replied":"recent-activity.posted"),"\xa0"),a().createElement(l.Z,{className:p,time:y}),o&&n===k.mQ.RTL&&a().createElement(w.ArrowLeftIcon,{className:r()("forum-icon-fill",g)}),o&&n===k.mQ.LTR&&a().createElement(b.ArrowRightIcon,{className:r()("forum-icon-fill",g)}))}}const R=(0,o.flowRight)((e=>class extends a().Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(e){console.error("componentDidCatch",e),this.setState({hasError:!0})}renderErrorState(){return this.props.renderErrorState?this.props.renderErrorState():null}render(){return this.state.hasError?this.renderErrorState():a().createElement(e,{...this.props})}}),f.Z,k.ZP)(y)},38002:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(57990)},57990:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(17607),s=n(27762),a=n.n(s),i=n(95685),r=n.n(i),l=n(99382),c=n(76167),d=n(34382),m=n(61758),u=n(83070),p=n(45319),h=n(1478);class g extends s.Component{constructor(e){super(e),this.titleRef=a().createRef()}getLineCount(){if(this.titleRef.current){const e=window.getComputedStyle(this.titleRef.current),t=parseInt(e.lineHeight,10);return Math.max(this.titleRef.current.offsetHeight/t,1)}}componentDidMount(){this.props.setLineCount&&this.props.setLineCount(this.getLineCount())}render(){var e;const{title:t,type:n,query:o,className:s,to:i,component:m,t:g,id:v,post:E,category:C,clamp:f,showBestAnswer:w,isPostSeen:b}=this.props,k=t.length>38,Z=(0,h.j)({type:n,isPostSeen:b}),y=r()(u.Z.container,u.Z.content,u.Z[n],"post-title",s,Z?u.Z.isSeen:null),R=f>0?{WebkitLineClamp:f,MozLineClamp:f}:{},S=(null==E||null==(e=E.markedComments)?void 0:e.length)>0,_=(0,p.j)(null==C?void 0:C.commentsMark,g);return a().createElement(m,{id:v,className:y,"data-hook":"post-title "+(Z?"":"post-title-with-activity")},a().createElement("div",{className:u.Z.title},w&&S&&_?a().createElement(d.Z,{t:g,commentId:E.bestAnswerCommentId,post:E,linkComponent:c.Z,toolTipClassName:u.Z.tooltip,iconClassName:r()(u.Z.icon,u.Z.bestAnswerIcon,k&&u.Z.extraSpacing),toolTipContent:g("post-list-item.marked-comment-tooltip",{label:_})}):w&&Boolean(null==E?void 0:E.bestAnswerCommentId)&&a().createElement("div",{className:r()(u.Z.bestAnswerIcon,k&&u.Z.extraSpacing)},a().createElement(d.Z,{t:g,commentId:E.bestAnswerCommentId,post:E,linkComponent:c.Z,toolTipClassName:u.Z.tooltip,iconClassName:u.Z.icon})),a().createElement("div",{ref:this.titleRef,className:r()(u.Z.linkContainer,f>0?u.Z.lineClamp:""),style:R},((e,t,n)=>t?a().createElement(n,{to:t,className:r()(u.Z.link,"forum-text-color","forum-link-hover-color")},e):a().createElement("span",null,e))(o?a().createElement(l.Z,{text:t,query:o}):t,i,c.Z))))}}g.SMALL="small",g.MEDIUM="medium",g.SEARCH="search",g.FOOTER_POST="footerPost",g.POST_PAGE="postPage",g.RECENT_POSTS_WIDGET="recentPostsWidget",g.defaultProps={component:"h2",clamp:0,showBestAnswer:!0};const v=(0,o.flowRight)(m.Z)(g)},21421:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(93213),s=n.n(o),a=n(27762),i=n.n(a),r=n(17607),l=n(95827),c=n(26524),d=n(74780),m=n(16609),u=n(61758),p=n(73417),h=n(7137),g=n(68102),v=n(3616),E=n(69005);class C extends a.Component{constructor(){super(...arguments),s()(this,"handleGoToProfile",(()=>{const{navigateToProfile:e,currentUser:t,userEventsClickProfileLink:n}=this.props;n({isOwnProfile:!0}),e({memberId:t.siteMemberId,memberSlug:t.slug})})),s()(this,"handleLogout",(()=>
1{const{buttonClicked:e,navigateToRoot:t,logoutMember:n}=this.props;t(),e({action:"logout"}),n()})),s()(this,"handleLogin",(()=>{const{buttonClicked:e,loginMember:t}=this.props;e({action:"login"}),t()}))}render(){const{isAuthenticated:e,t,theme:n,isMaInstalled:o}=this.props,s=n?"":"forum-text-color",a=e?i().createElement(d.Z,{"data-hook":"private-profile-actions__profile",onClick:this.handleGoToProfile,theme:n},i().createElement(h.Z,{type:v.Z.SMALL}),t("breadcrumbs.profile")):null,r=e?i().createElement(d.Z,{dataHook:"private-profile-actions__notifications",theme:n},i().createElement(p.NotificationIcon,null),i().createElement(m.Z,{class:s},"Notifications")):null,l=e?null:i().createElement(d.Z,{"data-hook":"private-profile-actions__logout",onClick:this.handleLogin,theme:n},i().createElement(E.LoginIcon,null),t("private-profile-actions.login"));return i().createElement(i().Fragment,null,o&&a,o&&r,l)}}const f=(0,r.flowRight)((0,l.$)(((e,t,n)=>({logoutMember:n.logout,loginMember:n.requestLogin,navigateToRoot:n.navigateToRoot,navigateToProfile:n.navigateToProfile,userEventsClickProfileLink:n.userEventsClickProfileLink,buttonClicked:n.buttonClicked,isMaInstalled:(0,g.a)(e)}))),c.Z,u.Z)(C)},62792:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(17607),s=n(27762),a=n.n(s),i=n(95685),r=n.n(i),l=n(22724),c=n(88727),d=n(37708),m=n(13541),u=n(95827),p=n(60172),h=n(79572);function g(e){let{date:t,showDate:n,showBadges:o,showFirstSeparator:s,membersBadge:i,isTinyBadge:m,isBadgesEnabled:u,noMargin:p,truncateBadgeTitle:g,className:v}=e;const E=()=>a().createElement("div",{className:d.Z.separator},a().createElement(c.Wo,null),a().createElement(c.DL,null)),C=o&&u&&(()=>{if(i)return a().createElement("div",{className:d.Z.badgeContainer},s&&E(),a().createElement("div",{className:d.Z.badge},a().createElement(h.C,{badge:i,size:m?"tiny":"small",truncateTitle:g,hideBackground:!0,textStyle:{fontSize:"inherit"}})),n&&E())})(),f=n&&a().createElement("div",{className:d.Z.time},a().createElement(l.Z,{time:t,className:d.Z.date}));return C||f?a().createElement("span",{className:r()(d.Z.container,!p&&d.Z.extraMarginTop,v),"data-hook":"quick-user-info"},C,f):null}g.defaultProps={showBadges:!0,isTinyBadge:!0,truncateBadgeTitle:!0};const v=(0,o.flowRight)((0,u.$)(((e,t,n,s)=>{const a=(0,p.$y)(e,s.style);return{isBadgesEnabled:a,membersBadge:a&&(0,m.F)(e,(0,o.get)(t,"user.badges",""))}})))(g)},56919:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(85705)},85705:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(27762),s=n.n(o),a=n(95685),i=n.n(a),r=n(61758),l=n(96116),c=n(17771),d=n(84746),m=n(89569),u=n(57849);const p={[l.ROLE_OWNER]:"role.admin",[l.ROLE_ADMIN]:"role.admin",[l.ROLE_MODERATOR]:"role.moderator"},h={[l.ROLE_OWNER]:c.OwnerSmallIcon,[l.ROLE_ADMIN]:c.OwnerSmallIcon,[l.ROLE_MODERATOR]:d.ModeratorSmallIcon};const g=(0,r.Z)((e=>{let{t,user:n,className:o}=e;const a=(0,u.getUserRole)(n),r=function(e,t){const n=p[e];return n?t(n):null}(a,t),l=h[a];return l?s().createElement(l,{"aria-label":t(r),className:i()(m.Z.role,"forum-icon-fill",o)}):null}))},22724:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(17250)},17250:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(17607),s=n(27762),a=n.n(s),i=n(95685),r=n.n(i),l=n(61758),c=n(98232),d=n(67790),m=n(95827),u=n(44267);const p=e=>new Date(e).getTime()>(new Date).getTime()-6048e5,h=e=>p(e)?"time-relative":(e=>(new Date).getYear()!==new Date(e).getYear())(e)?"fullDate":"date",g=e=>{const t=new Date;return new Date(e).getTime()>t.getTime()?t:new Date(e)},v=(0,o.flowRight)((0,m.$)((e=>({screenShotTest:(0,u.Bk)(e)}))),l.Z,d.Z)((e=>{let t,{className:n,t:o,time:s,formatRelativeTime:i,screenShotTest:l}=e;const d=h(s);return t=l?"<time>":"time-relative"===d?i(s):o(d,{time:g(s)}),a().createElement("span",{className:r()(c.Z.timeAgo,n,"time-ago"),"data-hook":"time-ago"},t)}))},4141:(e,t,n)=>{n.d(t,{j:()=>o,y:()=>s});const o="post_sidebar",s="post_list_item_recent_activity"},89072:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(61977)},61977:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(448),s=n.n(o),a=n(93213),i=n.n(a),r=n(27762),l=n.n(r),c=n(50038);let d=!1;class m extends l().Component{constructor(){super(...arguments),i()(this,"state",{shouldRender:d}),i()(this,"renderCard",(()=>{this.state.shouldRender||c.O.load().then((()=>{d=!0,this.setState({shouldRender:!0})}))}))}render(){const{children:e,...t}=this.props;return d||this.state.shouldRender?l().createElement(c.O,t,e):l().createElement("div",s()({},t,{onMouseOver:this.renderCard}),e)}}},78907:(e,t,n)=>{n.d(t,{Z:()=>o.Z});var o=n(41974)}
1,41974:(e,t,n)=>{n.d(t,{Z:()=>q});var o=n(93213),s=n.n(o),a=n(17607),i=n(60216),r=n.n(i),l=n(27762),c=n.n(l),d=n(13589),m=n.n(d),u=n(95827),p=n(99335),h=n(71592),g=n(99102),v=n(5840),E=n(74780),C=n(73081),f=n(13274),w=n(34687),b=n(73434),k=n(31362),Z=n(61758),y=n(5236),R=n(7519),S=n(26524),_=n(41814),I=n(42228),L=n(92627),M=n(73417),P=n(77052),A=n(78611),T=n(40961),N=n(20370),x=n(21421),D=n(32495),O=n(92988),B=n(44267),H=n(40087),$=n(51815),U=n(30228),W=n(58489),z=n(28055),F=n(19538),G=n(17116);const V=(0,b.Z)(E.Z);class j extends l.Component{constructor(e){super(e),s()(this,"copyLink",(async()=>{const{buildCustomizedUrl:e,sectionUrl:t,post:n,category:o,showMessage:s}=this.props,a=`/${o.slug}/${n.slug}`,i=e(a)||(0,$.Z)(a,t);(0,z.T)(i)?s(U.Cp):s(U.I3)})),s()(this,"sharePost",(()=>{const{buttonClicked:e,post:t,category:n,sectionUrl:o,openNativeShareIfSupported:s}=this.props,a=this.copyLink;e({action:"share-post"}),s({title:t.title,url:`${o}/${n.slug}/${t.slug}`},a)})),s()(this,"navigateToEditPost",(()=>{const{buttonClicked:e,category:t,post:n,navigateWithinForum:o}=this.props;e({action:"edit"}),o(`/${t.slug}/${n.slug}/edit`)})),this.handlePin=this.handlePin.bind(this),this.handleComments=this.handleComments.bind(this),this.showModal=this.showModal.bind(this),this.copyLink=this.copyLink.bind(this),this.handleSubscription=this.handleSubscription.bind(this)}componentDidMount(){this.props.actionsOpened({type:"post"})}componentWillUnmount(){this.props.actionsClosed({type:"post"})}handlePin(){const{post:{_id:e,isPinned:t},buttonClicked:n,pinPost:o,unpinPost:s,openModal:a}=this.props;n({action:"pin",flag:Number(!t)}),t?s(e):a(G.z,{}).then((t=>{t&&o(e,t.pinDuration)}))}handleSubscription(){const{post:{_id:e,isSubscribed:t},buttonClicked:n,subscribe:o,unsubscribe:s}=this.props;n({action:"follow_post",flag:Number(!t)}),t?s(e):o(e)}handleComments(){const{post:{_id:e,isCommentsDisabled:t,postType:n},buttonClicked:o,enablePostComments:s,disablePostComments:a}=this.props;o({action:"lock",flag:Number(!t)}),t?s(e,n):a(e,n)}showModal(e){const t={categoryId:this.props.category._id,categorySlug:this.props.category.slug,postId:this.props.post._id,postType:this.props.post.postType,postSlug:this.props.post.slug},{buttonClicked:n,openModal:o,focusOnCloseId:s,origin:a}=this.props;return()=>{n({action:e}),o(e,t,{focusOnCloseId:s,origin:a})}}render(){const{canRender:e,post:t,categoryCount:n,t:o,forPublicUser:s,shouldShowShareButton:a,isDiscussion:i,showProfileActions:r,theme:l,isAuthenticated:d,markPostAsRead:u,markPostAsUnread:b,buttonClicked:k,showMessage:Z}=this.props,y=e([["edit","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__edit",onClick:s(this.navigateToEditPost),theme:l},c().createElement(v.EditIcon,null),o("post-actions.edit-post")))),R=a&&e([["read","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__share",onClick:this.sharePost,theme:l},c().createElement(m(),null),o("share-link.copy")))),S=e([["pin","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__pin",onClick:this.handlePin,theme:l},c().createElement(D.PinIcon,{className:"button-hover-color"}),t.isPinned?o("post-actions.unpin-post"):o("post-actions.pin-post")))),_=e([["toggle-comments","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__comments",onClick:this.handleComments,theme:l},t.isCommentsDisabled?c().createElement(T.CommentIcon,{className:"forum-icon-stroke"}):c().createElement(A.CommentDisabledIcon,null),t.isCommentsDisabled?o(i?"post-actions.enable-commenting":"post-actions.enable-answering"):o(i?"post-actions.disable-commenting":"post-actions.disable-answering")))),O=n>1&&e([["move","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__move",onClick:this.showModal(w.x),theme:l},c().createElement(h.MoveIcon,null),o("post-actions.move-to-cateogory")))),B=e([["report","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__report",onClick:s(this.showModal(f.A)),theme:l},c().createElement(g.ReportIcon,null),o("post-actions.report-post")))),H=e([["delete","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__delete",onClick:s(this.showModal(C.V)),theme:l},c().createElement(p.DeleteIcon,null),o("post-actions.delete-post")))),$=e([["subscribe","post",t],["read","post",t]],(e=>{let[n]=e;const a=n?E.Z:V;
1return c().createElement(a,{actionDetails:{action:I.q$,args:[t._id]},dataHook:"post-actions__subscriptions",onClick:s(this.handleSubscription),theme:l},t.isSubscribed?c().createElement(L.NotificationFollowingIcon,{strokeClass:P.Z.notificationsStroke,fillClass:P.Z.notificationsFill}):c().createElement(M.NotificationIcon,null),t.isSubscribed?o("post-actions.unfollow"):o("post-actions.follow"))})),z=d&&!t.isRead&&e([["read","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__mark-as-read",onClick:async()=>{await u(t._id),k({action:"mark_as_read"}),Z(U.XY)},theme:l},c().createElement(W.CheckMarkIcon,null),o("post-actions.mark-as-read")))),G=d&&t.isRead&&e([["read","post",t]],(()=>c().createElement(E.Z,{dataHook:"post-actions__mark-as-read",onClick:async()=>{await b(t._id),k({action:"mark_as_unread"}),Z(U.x$)},theme:l},c().createElement(W.CheckMarkIcon,null),o("post-actions.mark-as-unread")))),j=r&&c().createElement(x.Z,{theme:F.b.BlackAndWhite}),q=($||z||G||y||R||S||_||O||B)&&(H||y||j);return c().createElement("div",null,$,z,G,R,B,S,_,O,r&&y,r&&H,q&&c().createElement(N.Z,null),!r&&y,!r&&H,j)}}const q=(0,a.flowRight)(H.Z,(0,u.$)(((e,t,n)=>{let{post:o}=t;return{category:(0,y.n3)(e,o.categoryId),categoryCount:(0,y._C)(e),isDiscussion:(0,R.kf)(o.postType),openModal:n.openModal,showMessage:n.showMessage,subscribe:n.subscribeToPost,unsubscribe:n.unsubscribeFromPost,actionsOpened:n.actionsOpened,actionsClosed:n.actionsClosed,pinPost:n.pinPost,unpinPost:n.unpinPost,enablePostComments:n.enablePostComments,disablePostComments:n.disablePostComments,navigateWithinForum:n.navigateWithinForum,buttonClicked:e=>n.buttonClicked({name:"action_click",type:"post",...e,categoryId:o.categoryId,postId:o._id}),shouldShowShareButton:!(0,_.hz)(e)&&!(0,_.JF)(e),sectionUrl:(0,B.Uc)(e),openNativeShareIfSupported:r().func.isRequired,markPostAsRead:n.markPostAsRead,markPostAsUnread:n.markPostAsUnread}})),S.Z,k.Z,Z.Z,O.Z)(j)},92988:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(95827),s=n(41814),a=n(48494),i=n(5728);function r(e){return(0,o.$)((e=>({openNativeShareIfSupported:(0,s.W7)(e)?i.x:(e,t)=>t()})),[a.r.BASIC_PARAMS])(e)}},67790:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(27762),s=n.n(o),a=n(95827),i=n(34961),r=n(41814);let l,c;function d(e){return(0,a.$)(((e,t,n)=>{const o=(0,r.G3)(e);let s,a=!1;return l||(l=o),o===l&&o===t.language||(a=!0,s={extra:{language:o,initialLanguage:l,ownPropsLanguage:t.language,basicParams:e.basicParams,forumData:e.forumData}}),c||(c=(0,i.K)(o,{floorSeconds:!0,extraShortExpression:!0},{style:"narrow"})),{formatRelativeTime:c,...t,captureMessage:n.captureMessage,messagePayload:s,hasMissMatch:a}}))((t=>{let{hasMissMatch:n,messagePayload:o,captureMessage:a,...i}=t;return s().useEffect((()=>{n&&a("Inconsistent language for RTF",o)}),[]),s().createElement(e,i)}))}},13711:(e,t,n)=>{n.d(t,{J0:()=>m,SI:()=>u,u9:()=>c});var o=n(79087),s=n(5710),a=n(51815),i=n(21901),r=n(66622),l=n(44267);const c=function(e,t,n,s,a){void 0===s&&(s=""),void 0===a&&(a="");const i=new o.Z(s).query();return`/${e}/${t}/dl-${n}${i?`?${i}${a?"&"+a:""}`:a?`?${a}`:""}`},d="____commentId____",m=e=>{const t=`/main/comment/${d}`,n=(0,l.Uc)(e);return(0,r.X6)(e,s.Av)&&(0,i.J)(e,t)||(0,a.Z)(t,n)},u=(e,t,n)=>{const s=(0,o.Z)(e.replace(d,t));return n&&s.setQuery({postId:n}),s.toString()}},45319:(e,t,n)=>{n.d(t,{j:()=>s});var o=n(47229);const s=function(e,t){var n;if(void 0===e&&(e={}),!t)return null;const s=Object.values(o.a).includes(e.type)?e.type:o.a.BEST_ANSWER;return{[o.a.BEST_ANSWER]:t("comment-marked-type.best-answer"),[o.a.SOLVED]:t("comment-marked-type.solved"),[o.a.FEATURED]:t("comment-marked-type.featured"),[o.a.PINNED]:t("comment-marked-type.pinned"),[o.a.CUSTOM]:null==(n=e)?void 0:n.customLabel}[s]}},25928:(e,t,n)=>{n.d(t,{K:()=>o});const o=e=>e.isRead},5728:(e,t,n)=>{function o(e,t){let{title:n,url:o}=e;if("undefined"==typeof navigator||!navigator.share)return t();
1navigator.share({...n&&{title:n},url:o})}n.d(t,{x:()=>o})},66606:(e,t,n)=>{n.d(t,{Z:()=>o});const o={link:"TgaR6k"}},83070:(e,t,n)=>{n.d(t,{Z:()=>o});const o={container:"umX2DU",content:"kI0YT7",small:"EOeWxJ",medium:"rIjHxn",recentPostsWidget:"jRc8Oe",search:"SmjeK1",footerPost:"RypZnz",single:"OdSj2U",postPage:"ChJqcL",linkContainer:"NWUMmd",linkContainerClamped:"Mra8I8",link:"Lz4zpe",lineClamp:"SC7GGP",category:"btaoU4",categoryLink:"o8v4oQ",title:"x2rEMQ",bestAnswerIcon:"VFq6cg",extraSpacing:"qazUMK",postAndCategory:"fkBiQG",icon:"bf8wtM",isSeen:"sRbbMZ"}},37708:(e,t,n)=>{n.d(t,{Z:()=>o});const o={container:"szoT9o",extraMarginTop:"wUZCVL",badgeContainer:"kay1L0",badge:"Tk7k86",date:"TRnkW5",time:"b15rtT",separator:"wk8tIB"}},89569:(e,t,n)=>{n.d(t,{Z:()=>o});const o={role:"eSR5C5"}},98232:(e,t,n)=>{n.d(t,{Z:()=>o});const o={timeAgo:"NGGLat"}},77052:(e,t,n)=>{n.d(t,{Z:()=>o});const o={notificationsStroke:"t6xC1j",notificationsFill:"syrTTa"}}}]);
2//# sourceMappingURL=3828.chunk.min.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.