(("undefined"!=typeof self?self:this).webpackJsonp__wix_members_about_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_members_about_ooi||[]).push([[8634],{97701:(e,t,l)=>{"use strict";l.d(t,{Sh:()=>s,st:()=>o});var a="o__1DSfUq",s={root:"sFvtY36",overlay:"sRrueY1"},o=l.sts.bind(null,a)},52253:(e,t,l)=>{"use strict";l.d(t,{C:()=>v});var a=l(29470),s=l(44026),o=l(64533),n=l(42787),r=l(27762),i=l.n(r),c=l(64730),u=l(73065),m=l(87681),d=l(97701),p=l(8300),g=l(64138);const b=(0,n.ZP)({resolved:{},chunkName:()=>"AboutEditModal",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!l.m[t]},importAsync:()=>Promise.all([l.e(2221),l.e(9133),l.e(9626),l.e(4725),l.e(7945)]).then(l.bind(l,28802)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return l(t)},resolve(){return 28802}}),E=(0,n.ZP)({resolved:{},chunkName:()=>"Viewer",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!l.m[t]},importAsync:()=>Promise.all([l.e(734),l.e(2221),l.e(464),l.e(4725),l.e(7934)]).then(l.bind(l,68071)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return l(t)},resolve(){return 68071}}),v=()=>{const e=(0,r.useRef)(null),t=(0,s.YA)(),{isPreview:l,isMobile:n}=(0,o.O)(),{canEditMember:v}=(0,u.Xu)(),{id:h,about:S}=(0,u.Kb)(),{showModal:f}=(0,c.d)(),y=v&&(!l||!n);return i().createElement("div",{ref:e,className:(0,d.st)(d.Sh.root,{withHoverColor:y})},(0,g.v)(S)?i().createElement(p.Z,null):i().createElement(E,null),y&&i().createElement("button",{type:"button","data-hook":m.DataHook.AboutOverlay,className:d.Sh.overlay,onClick:()=>{var l;const s=null!=(l=e.current)&&l.offsetWidth?`${e.current.offsetWidth??0}px`:"100%";t.report((0,a.$l)({action_type:"about_click",formOrigin:"profile_page",member_chosen:h??void 0})),f(b,{width:s})}}))}},8300:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var a=l(30293),s=l(27762),o=l.n(s),n=l(21411),r=l(67432);const i=e=>{let{className:t}=e;return o().createElement("svg",{className:t,width:"19",height:"19",viewBox:"0 0 19 19"},o().createElement("g",{fill:"none",fillRule:"evenodd"},o().createElement("g",{fill:"#000",fillRule:"nonzero"},o().createElement("path",{d:"M11.677 3c.388 0 .74.224.905.576L13.25 5H16c.553 0 1 .448 1 1v8c0 .552-.447 1-1 1H3c-.552 0-1-.448-1-1V6c0-.552.448-1 1-1h2.75l.668-1.424c.164-.352.517-.576.905-.576zm-.195 1H7.518L6.5 6H3v8h13V6h-3.5l-1.018-2zM9.5 7C10.88 7 12 8.12 12 9.5S10.88 12 9.5 12 7 10.88 7 9.5 8.12 7 9.5 7zm0 1C8.672 8 8 8.672 8 9.5S8.672 11 9.5 11s1.5-.672 1.5-1.5S10.328 8 9.5 8z",transform:"translate(-853 -606) translate(803 485) translate(30 52) translate(20 69)"}))))};var c="swEgvme",u="sPQv144",m="s__7xEn30",d="sW19QXR";const p=e=>{let{className:t}=e;return o().createElement("svg",{className:t,width:"19",height:"19",viewBox:"0 0 19 19"},o().createElement("g",{fill:"none",fillRule:"evenodd"},o().createElement("g",{fill:"#000"},o().createElement("path",{d:"M18.002 3v1H14v4.027h2.85v1H14v7.1h-1V3h5.002zM10 3.028v13.066H9V3.028h1zm-6.78 0C4.754 3.028 6 4.363 6 6.009h-.922c0-1.1-.832-1.992-1.859-1.992H3c-1.148 0-2.078.997-2.078 2.228v6.566c0 1.23.93 2.228 2.078 2.228 1.148 0 2.078-.998 2.078-2.228v-1.843c0-.273-.207-.495-.461-.495H2.772v-.989h1.845c.764 0 1.383.664 1.383 1.484v1.843c0 1.777-1.343 3.217-3 3.217s-3-1.44-3-3.217V6.245c0-1.777 1.343-3.217 3-3.217z",transform:"translate(-896 -606) translate(803 485) translate(30 52) translate(20 69) translate(43)"}))))},g=e=>{let{className:t}=e;return o().createElement("svg",{className:t,width:"19",height:"19",viewBox:"0 0 19 19"},o().createElement("g",{fill:"none",fillRule:"evenodd"},o().createElement("g",{transform:"translate(-939 -606) translate(803 485) translate(30 52) translate(20 69) translate(86)"},o().createElement("path",{fill:"#333",fillRule:"nonzero",d:"M13 4c.552 0 1 .448 1 1v1.999l2.842-1.42c.395-.198.876-.038 1.074.358.055.11.084.233.084.357v6.412c0 .441-.358.8-.8.8-.124 0-.247-.03-.358-.085L14 12v2c0 .552-.448 1-1 1H2c-.552 0-1-.448-1-1V5c0-.552.448-1 1-1h11zm0 1H2v9h11V5zm3.977 1.833c-.05-.099-.17-.139-.269-.09L14 8.098V10.9l2.708 1.354c.014.007.029.012.044.016l.046.005c.11 0 .2-.09.2-.2V6.922c0-.03-.007-.061-.021-.089z"}))))},b=()=>{const e=(0,a.r)();return o().createElement("div",{className:c},o().createElement(n.x,{tagName:"div",className:u},e.get(r.Z.aboutDescriptionPlaceholder)),o().createElement("div",{className:m},o().createElement(i,{className:d}),o().createElement(g,{className:d}),o().createElement(p,{className:d})))}},64138:(e,t,l)=>{"use strict";l.d(t,{O:()=>r,v:()=>n});var a=l(8155),s=l(39345),o=l(73065);const n=e=>(0,a.l)(e)?(0,s.g)(e):!(0,a._)(e)||(0,s.M)(e),r=()=>{const{about:e}=(0,o.Kb)(),{canEditMember:t}=(0,o.Xu)(),l=!n(e);return{shouldRenderAbout:t||l}}},70736:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>Ul});var a=l(64533),s=l(27762),o=l.n(s),n=l(39743),r=l(27346),i=l(64730),c=l(21627),u=l(59809),m=l(96108),d=l(73065),p=l(87681);var g="oYDUc9y",b="sK62x3Z",E=l.sts.bind(null,g);const v=()=>{const{t:e}=(0,c.$)(),{isMobile:t}=(0,a.O)(),{toast:l}=(0,d.l8)(),{hideToast:s}=(0,d.a0)(),{toastContent:n,toastSkin:r}=((e,t)=>{let l,a;switch(e){case p.Toast.AboutPublish:a=t("about-page.success-message"),l=m.g.success;break;case p.Toast.AboutPublishErrorTooManyLinks:a=t("about-page.error-message.too-many-links"),l=m.g.error;break;case p.Toast.AboutPublishErrorTextTooLong:a=t("about-page.error-text-too-long"),l=m.g.error;break;case p.Toast.AboutPublishErrorUnknown:a=t("about-page.error-unknown"),l=m.g.error;break;default:a=null,l=m.g.success}return{toastContent:a,toastSkin:l}})(l.type,e);return o().createElement(u.F,{className:E(b,{mobile:t,displayNone:!l.isVisible}),"data-hook":p.DataHook.Toast,skin:r,placement:t?m.h.bottomFullWidth:m.h.inline,children:n,isShown:l.isVisible,shouldShowCloseButton:!0,onClose:()=>s()})},h=e=>{let{children:t}=e;const{toast:l}=(0,d.l8)(),{hideToast:a}=(0,d.a0)();return(0,s.useEffect)((()=>{if(l.isVisible){const e=setTimeout(a,5e3);return()=>clearTimeout(e)}}),[l.isVisible,a]),o().createElement(o().Fragment,null,o().createElement(v,null),t)};var S=l(30293),f=l(21411),y=l(67432),T="sVr8b6f";const P=e=>{let{children:t}=e;return o().createElement(f.x,{className:T,tagName:"h3"},t)};var N="sMIBtSO",k="sz11deI";const w=e=>{let{backgroundColor:t,icon:l,title:a}=e;const s={...t&&{backgroundColor:t}};return o().createElement("div",{className:N,style:s},l&&o().createElement("img",{className:k,src:l,alt:a??void 0}))};var x="opUzBSy",C="sJsRjDp",D="siWulT5",R="syBu1Nw",B="skPlxE3",M="sPP8Hd6",O=l.sts.bind(null,x);const L=()=>{const{badges:e}=(0,d.Kb)(),{isMobile:t}=(0,a.O)(),l=(0,S.r)();return o().createElement(o().Fragment,null,o().createElement(P,null,l.get(y.Z.badgesSectionTitle)),o().createElement("ul",null,e.map((e=>o().createElement("li",{key:e.id,className:O(C,{mobile:t,desktop:!t})},o().createElement("div",{className:D},o().createElement(w,{backgroundColor:e.backgroundColor,icon:e.icon,title:e.title})),o().createElement("div",{className:R},o().createElement(f.x,{className:M,tagName:"div"},e.title),e.description&&o().createElement(f.x,{className:B,tagName:"div"},e.description)))))))};var A=l(58971),I=l(41007),F=l(96933),_=l(29470),V=l(44026);const Z=[p.Role.Admin,p.Role.BlogEditor,p.Role.BlogWriter],H=e=>{let{tabOpened:t,sectionOpened:l,sectionState:a}=e;return t===p.SettingsTab.Sections&&l===p.SettingsSection.PostList&&a===p.SettingsSectionState.Empty},W=(e,t,l)=>e&&t&&l,U=()=>{const e=(0,S.r)(),t=(0,d.Hv)(),{roles:l,blogPosts:a}=(0,d.Kb)(),{canEditMember:s}=(0,d.Xu)(),{isBlogInstalled:o}=(0,d.W4)(),n=e.get(y.Z.showBlogPostsSection),r=s||H(t)||a.length>0,i=((e,t)=>e&&t.some((e=>Z.includes(e))))(o,l);return{shouldRenderBlogPosts:W(n,r,i)}},$=(0,_.UZ)({referralInfo:p.BlogNavigationReference.CreatePost}),K=()=>{const e=(0,V.YA)(),{isPreview:t}=(0,a.O)(),{createBlogPostUrl:l}=(0,d.EZ)(),{navigateToPath:s}=(0,d.MF)();return{handleCreatePostLinkClick:a=>{e.report($),t&&(a.preventDefault(),a.stopPropagation(),s(l.relativeUrl))}}};var z="ohjh8Wx",J="sa2xAf3",j="saG4vPD",Q="s_jC4WE",Y="s__6_i9x7",X="ssEMygv",G=l.sts.bind(null,z);const q=()=>{const e=(0,S.r)(),{isMobile:t}=(0,a.O)(),{createBlogPostUrl:l}=(0,d.EZ)(),{handleCreatePostLinkClick:s}=K(),{experiments:n}=(0,A.j)(),r=!n.enabled(p.Experiment.BlogLiveSiteEditingDeprecation);return o().createElement("div",{className:G(J,{mobile:t})},o().createElement("div",{className:j},o().createElement(f.x,{tagName:"H2",className:Q},e.get(y.Z.blogPostsEmptyStateTitle)),r&&o().createElement("div",{className:Y},o().createElement(I.z,{"data-hook":p.DataHook.WriteYourFirstPostLink,className:X,as:"a",href:l.url,onClick:s,priority:F.Ji.primary,size:F.qE.medium},e.get(y.Z.blogPostsEmptyStateDescription)))))};var ee=l(448),te=l.n(ee),le=l(82652);var ae=l(26449),se=l(67264),oe=l(65345),ne=l(17616),re="oDx3YBt",ie="sgf5xyE",ce="sOsUPFz",ue="--Cover2330120807-coverHeight",me=l.sts.bind(null,re);var de=l(47684),pe=l(13352),ge=l(98968);const be=()=>{const e=(0,S.r)();return{postImageFill:e.get(y.Z.postImageFill),postImageRatio:e.get(y.Z.postImageRatio)}},Ee=e=>{var t,l,s;const{postWidth:o}=(()=>{const e=(0,pe.y)(),{dimensions:t}=(0,a.O)(),l=e.get(ge.default.blogPostCardWidth),s=e.get(ge.default.blogPostCardMargin),o=t.width&&t.width<980?t.width-60:920;let n=Math.floor(o/l)||1;n*l+s*(n-1)>o&&n--;const r=o-l*n-s*(n-1);return{postWidth:Math.round(l+r||1/n||1)}})(),{postImageFill:n,postImageRatio:r}=be(),i=null!=e&&null!=(t=e.image)&&t.url?e.image:null==e||null==(l=e.video)?void 0:l.thumbnail,c=null==i||null==(s=i.url)?void 0:s.replace("https://static.wixstatic.com/media/",""),u=n===p.PostImageFill.Fill?o:Math.round(o/r);if(!c)return{coverUrl:"",coverHeight:u};if(c===(null==i?void 0:i.url))return{coverUrl:c,coverHeight:u};return{coverUrl:(n===p.PostImageFill.Fill?de.sdk.getScaleToFillImageURL:de.sdk.getScaleToFitImageURL)(c,o,u,(null==i?void 0:i.width)??0,(null==i?void 0:i.height)??0,{quality:85}),coverHeight:u}},ve=e=>{let{coverMedia:t}=e;const{coverUrl:l,coverHeight:a}=Ee(t),{postImageFill:s}=be();return o().createElement("div",{className:me(ie,{filled:s===p.PostImageFill.Fill,cropped:s===p.PostImageFill.Crop}),style:{[ue]:`${a}px`}},o().createElement("img",{className:ce,src:l,alt:""}))};var he="o__9KBAxD",Se="s__6Ig2wS",fe="sqFebDF",ye="s_fKL_B",Te="sqlOJxM",Pe="s__5GYEQe",Ne="sy8JGI7",ke="s__3ViMMa",we="sjvV5do",xe="smCTbv_",Ce="sXIjy9c",De="swqPTGs",Re="sac92OT",Be="sniGvoQ",Me="sitFMp9",Oe="sm16pd2",Le="snAQvC4",Ae="sgzKruR",Ie="sTLd8ny",Fe=l.sts.bind(null,he);const _e=(0,s.forwardRef)(((e,t)=>{let{coverMedia:l,firstPublishedDate:s,minutesToRead:r,url:i,title:u,excerpt:m,postCountInfo:g}=e;const b=(0,V.YA)(),{t:E}=(0,c.$)(),{language:v,isPreview:h,isMobile:S}=(0,a.O)(),{navigateToPath:y}=(0,d.MF)(),T=`${i.base}${i.path}`;return o().createElement("a",{ref:t,"data-hook":p.DataHook.Post,className:Fe(Se,{mobile:S}),href:T,onClick:e=>{(e=>{e.report((0,_.UZ)({referralInfo:p.BlogNavigationReference.ViewPost}))})(b),h&&(e.preventDefault(),e.stopPropagation(),y(i.path))}},(e=>{var t,l;return null!=e&&null!=(t=e.image)&&t.url?!!e.image:!(null==e||null==(l=e.video)||!l.thumbnail)})(l)&&o().createElement(ve,{coverMedia:l}),o().createElement("div",{className:Fe(fe)},o().createElement(f.x,{tagName:"div",className:ye},o().createElement("span",{className:Fe(we,Te)},((e,t)=>new Date(e).toLocaleDateString(t,{year:"numeric",month:"short",day:"numeric"}))(s,v)),o().createElement("span",{className:Fe(we,Pe)}," \u2219 "),o().createElement("span",{className:Fe(we,Ne)},r," ",E("recent-posts.post-card.minutes"))),o().createElement("div",{className:xe},o().createElement(f.x,{tagName:"div",className:Ce},u),o().createElement(f.x,{tagName:"div",className:ke},m))),o().createElement("div",{className:Fe(De)},o().createElement(n.i,{className:Re}),o().createElement(f.x,{tagName:"div",className:Be},o().createElement("div",{className:Me},o().createElement("div",{className:Fe(Le,Ae)},o().createElement(ae.Z,null),o().createElement("span",null,g.views??0)),o().createElement("div",{className:Fe(Le,Ie)},o().createElement(se.Z,null),o().createElement("span",null,g.comments??0))),o().createElement("div",{className:Oe},g.likes>0&&o().createElement("span",null,g.likes),g.likes?o().createElement(oe.Z,null):o().createElement(ne.Z,null)))))}));var Ve="s_nYCwR",Ze="sGRPNEC",He="sYrODkI",We="sTi3D_I",Ue="sufVkvQ";const $e=e=>{let{posts:t,paging:l,arePostsLoading:a}=e;const{t:n}=(0,c.$)(),{fetchPosts:r}=(0,d.no)(),{indexToFocus:i,focusRef:u}=((e,t)=>{const l=(0,s.useRef)(e),a=(0,s.useRef)(t),o=(0,s.useRef)(null);return(0,s.useEffect)((()=>{var t;l.current&&!e&&(null==(t=o.current)||t.focus()),l.current=e}),[e]),{indexToFocus:a,focusRef:o}})(a,l.count),m=l.total>l.count;return o().createElement("div",{className:Ve},o().createElement("div",{className:Ze},t.map(((e,t)=>o().createElement(_e,te()({key:e.id,ref:e=>t===i.current&&(u.current=e)},e))))),m&&o().createElement("div",{className:He},a?o().createElement(le.F,{"data-hook":p.DataHook.PostsLoader,className:Ue}):o().createElement(I.z,{type:"button","data-hook":p.DataHook.LoadMorePostsButton,className:We,priority:F.Ji.secondary,upgrade:!0,onClick:()=>{i.current=l.count,r()}},n("recent-posts.load-more"))))};var Ke=l(3941),ze=l(91190),Je="sESktwK",je="sXQ8YDm",Qe="sTGdb2J";const Ye=e=>{let{postCount:t}=e;const l=(0,S.r)(),{t:a}=(0,c.$)(),{canEditMember:s}=(0,d.Xu)(),{createBlogPostUrl:n}=(0,d.EZ)(),{handleCreatePostLinkClick:r}=K(),{experiments:i}=(0,A.j)(),u=t>0,m=!i.enabled(p.Experiment.BlogLiveSiteEditingDeprecation);return o().createElement("div",{className:Je},o().createElement(P,null,l.get(y.Z.blogPostsTitle),u?o().createElement("span",{className:je},` (${t})`):null),s&&m&&o().createElement(Ke.A,{"data-hook":p.DataHook.CreatePostLink,className:Qe,as:"a",href:null==n?void 0:n.url,priority:ze.Q.primary,onClick:r},a("recent-posts.create-post")))},Xe=()=>{const{blogPosts:e}=(0,d.Kb)(),{canEditMember:t}=(0,d.Xu)(),l=(0,d.Hv)(),a=t&&!e.length,{posts:s,paging:n,arePostsLoading:r}=(0,d.EZ)();return o().createElement(o().Fragment,null,o().createElement(Ye,{postCount:null==n?void 0:n.total}),a||H(l)?o().createElement(q,null):o().createElement($e,{posts:s,paging:n,arePostsLoading:r}))};var Ge="o__8rTW2e",qe="szMo_SI",et=l.sts.bind(null,Ge);const tt=e=>{let{className:t,children:l}=e;const{isMobile:s}=(0,a.O)();return o().createElement("div",{className:et(qe,{mobile:s},t)},l)};const lt=l(52253).C;var at="sc3SyxF",st="sLi_5By",ot="sN1cp5B";var nt=l(64138);const rt={showCommentsStats:!1,showLikesReceivedStats:!1,showTopCommentsStats:!1},it=()=>{const e=(0,S.r)(),{isForumInstalled:t}=(0,d.W4)(),l=e.get(y.Z.showCommentsStats),a=e.get(y.Z.showLikesReceivedStats),s=e.get(y.Z.showTopCommentsStats);return t?{showCommentsStats:l,showLikesReceivedStats:a,showTopCommentsStats:s}:rt};var ct=l(22155),ut="sX1ZKjh",mt="s__2l6Mlo";const dt=1e3,pt=Math.pow(dt,2),gt=Math.pow(dt,3),bt=e=>{let{className:t,dataHook:l,tooltipText:a,count:s,title:n}=e;return o().createElement(ct.u,{className:t,content:a,placement:"top-start",minWidth:200},o().createElement(f.x,{"data-hook":l,className:ut},o().createElement("span",null,(r=s)>=gt?`${Math.floor(r/gt)}B`:r>=pt?`${Math.floor(r/pt)}M`:r>=dt?`${Math.floor(r/dt)}k`:r),"\xa0",o().createElement("span",{className:mt},n)));var r},Et=e=>{let{count:t,singular:l,plural:a}=e;return t>1?a:l},vt=(e,t,l)=>t?e("profile-stats-likes-received-icu",{count:l}):Et({singular:e("profile-stats-like-received"),plural:e("profile-stats-likes-received"),count:l}),ht=(e,t,l)=>t?e("profile-stats-comments-icu",{count:l}):Et({count:l,singular:e("profile-stats-comment"),plural:e("profile-stats-comments")}),St=(e,t,l)=>t?e("profile-stats-top-comments-icu",{count:l}):Et({count:l,singular:e("profile-stats-top-comment"),plural:e("profile-stats-top-comments")}),ft=()=>{const e=(0,S.r)(),{t}=(0,c.$)(),{isMobile:l}=(0,a.O)(),{numbers:s}=(0,d.Kb)(),{shouldRenderAbout:r}=(0,nt.O)(),i=it(),{experiments:u}=(0,A.j)(),m=Object.values(i).some(Boolean),g=u.enabled(p.Experiment.EnablePluralStatisticFix);return o().createElement(o().Fragment,null,o().createElement(P,null,e.get(y.Z.aboutSectionTitle)),m&&o().createElement("div",{className:at},i.showLikesReceivedStats&&o().createElement(bt,{dataHook:p.DataHook.LikesReceivedStats,className:st,tooltipText:t("profile-stats-likes-received-tooltip"),count:s.likesReceived,title:vt(t,g,s.likesReceived)}),i.showCommentsStats&&o().createElement(bt,{dataHook:p.DataHook.CommentsStats,className:st,tooltipText:t("profile-stats-comments-tooltip"),count:s.commentsReceived,title:ht(t,g,s.commentsReceived)}),i.showTopCommentsStats&&o().createElement(bt,{dataHook:p.DataHook.TopCommentsStats,className:st,tooltipText:t("profile-stats-top-comments-tooltip"),count:s.topCommentsCount,title:St(t,g,s.topCommentsCount)})),m&&r&&!l&&o().createElement(n.i,{className:ot}),r&&o().createElement(lt,null))};var yt="oeFuX4M",Tt="suhh0PN",Pt="sjITplM",Nt="sE29jvM",kt="sjyv0QO",wt="sRCTKsy",xt=l.sts.bind(null,yt);const Ct=e=>{let{isBlocked:t}=e;const l=(0,S.r)(),{isMobile:s}=(0,a.O)(),{t:n}=(0,c.$)(),{navigateToMyAccount:r}=(0,d.D$)(),i=t?n("no-about.blocked-member.content"):l.get(y.Z.emptyStateTitle);return o().createElement("div",{className:xt(Tt,{mobile:s})},o().createElement("div",{className:Pt},o().createElement(f.x,{tagName:"H2",className:Nt},i),t?o().createElement(Ke.A,{className:wt,priority:ze.Q.primary,onClick:()=>r()},n("no-about.blocked-member.my-account-link")):o().createElement(f.x,{tagName:"p",className:kt},l.get(y.Z.emptyStateText))))},Dt=e=>{let{shouldRenderDescription:t,shouldRenderBadges:l,shouldRenderOverview:s,shouldRenderBlogPosts:o}=e;const{isMobile:n}=(0,a.O)();return(e=>{let{tabOpened:t,sectionOpened:l,sectionState:a,isMobile:s}=e;return a===p.SettingsSectionState.Empty&&(t===p.SettingsTab.Sections&&l===p.SettingsSection.About||t===p.SettingsTab.Design&&l===p.SettingsSection.TextStyle||s&&t===p.SettingsTab.Design)})({...(0,d.Hv)(),isMobile:n})?{shouldRenderEmptyState:!0}:{shouldRenderEmptyState:!(t||l||s||o)}};var Rt=l(55220),Bt="sxbQRqA";const Mt=()=>o().createElement(Rt.Z,{className:Bt});var Ot="oYjV6Pz",Lt="s_csFbR",At="syUIf84",It="sEWCuO1",Ft="sBkIEBa",_t="su9o42y",Vt="s__3BPAj2",Zt="sAeQCrL",Ht="s__14FG09",Wt=l.sts.bind(null,Ot);const Ut=()=>{const e=(0,S.r)(),{navigateToMyAccount:t}=(0,d.D$)();return o().createElement(I.z,{type:"button","data-hook":p.DataHook.EditProfileButton,className:Ft,priority:F.Ji.secondary,upgrade:!0,onClick:()=>t()},o().createElement("div",{className:Zt},o().createElement("div",{className:Vt},o().createElement(Mt,null)),o().createElement("span",null,e.get(y.Z.headerSectionButtonText))))},$t=()=>{const e=(0,S.r)(),{navigateToMyAccount:t}=(0,d.D$)();return o().createElement(I.z,{type:"button","data-hook":p.DataHook.EditProfileButton,className:It,priority:F.Ji.secondary,prefixIcon:o().createElement(Mt,null),upgrade:!0,onClick:()=>t()},o().createElement("div",{className:Ht},e.get(y.Z.headerSectionButtonText)))},Kt=()=>{const e=(0,S.r)(),{isMobile:t,language:l}=(0,a.O)(),{createdDate:s}=(0,d.Kb)(),{canEditMember:n}=(0,d.Xu)();return o().createElement(o().Fragment,null,o().createElement("div",{className:Wt(Lt,{mobile:t})},o().createElement(f.x,{className:At,tagName:"h2",id:"members-area-page-title"},e.get(y.Z.headerSectionTitle)),s?o().createElement(f.x,{tagName:"div",className:_t},`${e.get(y.Z.headerSectionSubtitle)} ${((e,t)=>new Date(e).toLocaleDateString(t,{year:"numeric",month:"short",day:"numeric"}))(s,l)}`):null,n&&(t?o().createElement(Ut,null):o().createElement($t,null))))};var zt="s_w_HQw";const Jt=()=>{const{t:e}=(0,c.$)();return o().createElement(f.x,{className:zt},e("about.widget.overview-empty-state"))};var jt="styL8JR",Qt="sF1l0aO",Yt="sG3kYQc",Xt="snMwwVv";const Gt=e=>{let{id:t,type:l,value:a}=e;return l===p.FieldType.URL?o().createElement(o().Fragment,null,a.map(((e,l)=>o().createElement("a",{key:`${t}-${l}`,className:Yt,href:e,rel:"noreferrer",target:"_blank"},o().createElement(f.x,{className:Qt,tagName:"div"},a))))):o().createElement(o().Fragment,null,a.map(((e,l)=>o().createElement(f.x,{key:`${t}-${l}`,className:Qt,tagName:"div"},e))))},qt=e=>{let{field:t}=e;const{t:l}=(0,c.$)(),{getFieldLabel:a}=(0,d.JD)();return o().createElement(o().Fragment,null,o().createElement(f.x,{className:jt,tagName:"div"},a(t.origin,t.key,t.name)),t.value?o().createElement(Gt,{id:t.id,type:t.type,value:t.value}):o().createElement(f.x,{className:Xt,tagName:"div"},l("about.widget.not-published")))},el=()=>{const{canEditMember:e}=(0,d.Xu)(),{customProfile:t}=(0,d.Kb)();if(!e){const{fields:e,socialLinks:l}=t;return{fields:e.filter((e=>{let{value:t}=e;return null==t?void 0:t.length})),socialLinks:l.filter((e=>{let{href:t}=e;return t}))}}return t};var tl="oWg_PWd",ll="s__4XJhmQ",al="swmp03l",sl=l.sts.bind(null,tl);var ol=l(39443),nl=l(78939),rl=l(73713),il=l(98691),cl=l(62575),ul=l(23825),ml=l(87286),dl=l(49472),pl=l(3659),gl=l(40205),bl=l(11560),El=l(73243),vl=l(84616),hl=l(27769);const Sl={[p.SocialType.DEVIANTART]:ol.Z,[p.SocialType.FACEBOOK]:nl.Z,[p.SocialType.INSTAGRAM]:rl.Z,[p.SocialType.LINKEDIN]:il.Z,[p.SocialType.ODNOKLASSNIKI]:cl.Z,[p.SocialType.OTHER]:ul.Z,[p.SocialType.PINTEREST]:ml.Z,[p.SocialType.SOUNDCLOUD]:dl.Z,[p.SocialType.TIKTOK]:pl.Z,[p.SocialType.TUMBLR]:gl.Z,[p.SocialType.TWITTER]:bl.Z,[p.SocialType.UNKNOWN]:ul.Z,[p.SocialType.VIMEO]:El.Z,[p.SocialType.VKONTAKTE]:vl.Z,[p.SocialType.YOUTUBE]:hl.Z};var fl="sE_CmRm",yl="soLQOXy",Tl="s__4fvhDv",Pl="sUEwxAF";const Nl=e=>{let{name:t,socialType:l,href:a}=e;const{t:s}=(0,c.$)(),n=Sl[l];return a?o().createElement("a",{className:fl,href:a,rel:"noreferrer",target:"_blank"},o().createElement(f.x,{className:yl,tagName:"div"},n&&o().createElement(n,{className:Pl}),t)):o().createElement(f.x,{className:Tl,tagName:"div"},n&&o().createElement(n,{className:Pl}),s("about.widget.not-published"))};var kl=l(90855),wl="ocibmBU",xl="sgUBSMO",Cl="s__28nnIy",Dl=l.sts.bind(null,wl);const Rl=e=>{let{customProfile:t}=e;const{canEditMember:l}=(0,d.Xu)(),{isMobile:s}=(0,a.O)(),{t:n}=(0,c.$)(),r=(0,S.r)();return o().createElement("div",{className:Dl(xl)},o().createElement(P,null,r.get(y.Z.overviewSectionTitle)),(e=>{let{customProfile:{fields:t,socialLinks:l},canEditMember:a,isMobile:s}=e;return!s&&a&&(t.length>0||l.length>0)})({customProfile:t,canEditMember:l,isMobile:s})&&o().createElement(ct.u,{content:n("about.widget.overview-tooltip"),placement:"top-end",minWidth:200},o().createElement(kl.Z,{className:Cl})))},Bl=e=>({link:e.type===p.FieldType.URL}),Ml=()=>{const e=el(),{fields:t,socialLinks:l}=e;return t.length||l.length?o().createElement(o().Fragment,null,o().createElement(Rl,{customProfile:e}),t.length>0&&o().createElement("div",null,t.map((e=>o().createElement("div",{key:e.id,className:sl(ll,Bl(e))},o().createElement(qt,{field:e}))))),t.length>0&&l.length>0&&o().createElement(n.i,{className:al}),l.length>0&&o().createElement("div",null,l.map((e=>o().createElement("div",{key:e.id,className:sl(ll,{link:!0})},o().createElement(Nl,e)))))):o().createElement(o().Fragment,null,o().createElement(Rl,{customProfile:e}),o().createElement(Jt,null))};var Ol="oEPb_Jj",Ll="sLoT8EQ",Al="sJJQm9T",Il="s_9v9ai",Fl="sYJ952C",_l="sBPRlPC",Vl=l.sts.bind(null,Ol);const Zl=(e,t)=>({fullWidth:!e||!t}),Hl=(e,t)=>({fullWidth:!t||!e}),Wl=()=>{const{shouldRenderDescription:e}=(()=>{const e=(0,S.r)(),{shouldRenderAbout:t}=(0,nt.O)(),l=it();return e.get(y.Z.showAboutSection)?{shouldRenderDescription:Object.values(l).some(Boolean)||t}:{shouldRenderDescription:!1}})(),{shouldRenderBadges:t}=(()=>{const e=(0,S.r)(),{badges:t}=(0,d.Kb)(),l=e.get(y.Z.showBadgesSection),a=t.length>0;return{shouldRenderBadges:l&&a}})(),{shouldRenderOverview:l}=(()=>{const{isEditor:e}=(0,a.O)(),{fields:t,socialLinks:l}=el(),s=(0,S.r)().get(y.Z.showOverviewSection),o=t.length>0||l.length>0;return{shouldRenderOverview:s&&(e||o)}})(),{shouldRenderBlogPosts:s}=U(),{shouldRenderEmptyState:r}=Dt({shouldRenderDescription:e,shouldRenderBadges:t,shouldRenderOverview:l,shouldRenderBlogPosts:s}),{shouldRenderBlockedEmptyState:i}=(()=>{const{id:e}=(0,d.Kb)();return{shouldRenderBlockedEmptyState:"-1"===e}})(),{isMobile:c,isRTL:u,isEditorX:m}=(0,a.O)(),g=e||t,b=!c||m;return o().createElement("div",{className:Vl(Ll,{mobile:c}),dir:u?"rtl":"ltr","data-hook":p.DataHook.WidgetWrapper},o().createElement(Kt,null),(!c||i||r)&&o().createElement(n.i,{className:Al}),i||r?o().createElement(Ct,{isBlocked:i}):o().createElement(o().Fragment,null,o().createElement("div",{className:Vl(Il,{childrenFullWidth:!b,responsive:m})},g&&o().createElement("div",{className:Vl(Fl,Zl(b,l))},e&&o().createElement(tt,null,o().createElement(ft,null)),t&&o().createElement(tt,null,o().createElement(L,null))),l&&o().createElement(tt,{className:Vl(_l,Hl(b,g))},o().createElement(Ml,null))),s&&o().createElement(tt,null,o().createElement(Xe,null))))},Ul=e=>{var t;const{isMobile:l,isRTL:s}=(0,a.O)();return null!=(t=e.member)&&t.id?o().createElement(d.fP,e,o().createElement(r.CU,{value:{mobile:l,rtl:s}},o().createElement(i.p,null,o().createElement(h,null,o().createElement(Wl,e))))):null}},67432:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var a=l(94343),s=l(89489),o=l(87681);const n=(0,a.N)({aboutSectionTitle:{type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about-page.about")}},aboutDescriptionPlaceholder:{key:"placeholder",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("settings.texts-tab.placeholder-default-text")}},badgesSectionTitle:{key:"badgesTitle",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about-page.badges")}},overviewSectionTitle:{key:"overviewTitle",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about.widget.overview")}},blogPostsTitle:{key:"postListTitle",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("recent-posts.posts")}},blogPostsEmptyStateTitle:{key:"postListEmptyStateTitle",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("no-posts.title")}},blogPostsEmptyStateDescription:{key:"postListEmptyStateLinkText",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("no-posts.write-your")}},headerSectionTitle:{key:"headerTitleText",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about.widget.profile")}},headerSectionSubtitle:{key:"headerSubtitleText",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about-page.joined-date-text-only")}},headerSectionButtonText:{key:"headerButtonText",type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("about.widget.edit-profile")}},showAboutSection:{type:s.p.Boolean,getDefaultValue:()=>!0},showBadgesSection:{type:s.p.Boolean,getDefaultValue:()=>!0},showOverviewSection:{type:s.p.Boolean,getDefaultValue:()=>!0},showBlogPostsSection:{key:"showPostListSection",type:s.p.Boolean,getDefaultValue:()=>!0},showBlogPostsCounter:{key:"showPostListCounter",type:s.p.Boolean,getDefaultValue:()=>!1},showJoinDate:{type:s.p.Boolean,getDefaultValue:()=>!0},showCommentsStats:{type:s.p.Boolean,getDefaultValue:()=>!0},showLikesReceivedStats:{type:s.p.Boolean,getDefaultValue:()=>!0},showTopCommentsStats:{type:s.p.Boolean,getDefaultValue:()=>!0},postListPageSize:{type:s.p.Number,getDefaultValue:()=>3},postImageFill:{key:"postListLayoutResizing",type:s.p.String,getDefaultValue:()=>o.PostImageFill.Fill},postImageRatio:{key:"postListImageRatio",type:s.p.Number,getDefaultValue:()=>o.PostImageRatio.OneToOne},showPostCover:{key:"postListShowCoverImage",type:s.p.Boolean,getDefaultValue:()=>!0},showPostPublishDate:{key:"postListShowPublishDate",type:s.p.Boolean,getDefaultValue:()=>!0},showPostReadingTime:{key:"postListShowReadingTime",type:s.p.Boolean,getDefaultValue:()=>!0},showPostExcerpt:{key:"postListShowDescription",type:s.p.Boolean,getDefaultValue:()=>!0},showPostViewsCounter:{key:"postListShowViewsCounter",type:s.p.Boolean,getDefaultValue:()=>!0},showPostCommentsCounter:{key:"postListShowCommentsCounter",type:s.p.Boolean,getDefaultValue:()=>!0},showPostLikesCounter:{key:"postListShowLikesCounter",type:s.p.Boolean,getDefaultValue:()=>!0},emptyStateTitle:{type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("no-about.title")}},emptyStateText:{type:s.p.Text,getDefaultValue:e=>{let{t}=e;return t("no-about.content")}},isMobileSectionSettingsEnabled:{type:s.p.Boolean,getDefaultValue:()=>!1}})},64730:(e,t,l)=>{"use strict";l.d(t,{p:()=>c,d:()=>u});var a=l(27762),s=l.n(a),o=l(448),n=l.n(o),r="sKIKIRJ";const i=(0,a.createContext)(null),c=e=>{let{children:t}=e;const[l,o]=(0,a.useState)(null),[c,u]=(0,a.useState)(),[m,d]=(0,a.useState)(!1);(0,a.useEffect)((()=>{l&&d(!0)}),[l]),(0,a.useEffect)((()=>{m||(o(null),u(null))}),[m]);const p={showModal:(e,t)=>{u(t),o((()=>e))},hideModal:()=>d(!1)},g=(0,a.useCallback)((()=>d(!1)),[]);return s().createElement(i.Provider,{value:p},s().createElement(s().Fragment,null,t,l&&s().createElement("div",{className:r},s().createElement(l,n()({},c,{isOpen:m,onClose:g})))))},u=()=>(0,a.useContext)(i)},73065:(e,t,l)=>{"use strict";l.d(t,{fP:()=>i,Hv:()=>g,EZ:()=>d,no:()=>v,Xu:()=>f,cc:()=>u,JD:()=>y,fz:()=>c,Kb:()=>m,D$:()=>E,W4:()=>p,MF:()=>h,l8:()=>b,a0:()=>S});var a=l(21627),s=l(27762),o=l.n(s),n=l(38449);const r=(0,s.createContext)(null),i=e=>o().createElement(r.Provider,{value:e},e.children),c=()=>{const{instance:e}=(0,s.useContext)(r);return{instance:e}},u=()=>{const{defaultBIParams:e}=(0,s.useContext)(r);return{defaultBIParams:e}},m=()=>(0,s.useContext)(r).member,d=()=>{const{member:e,blogPosts:t}=(0,s.useContext)(r);return{...t,posts:e.blogPosts}},p=()=>(0,s.useContext)(r).site,g=()=>(0,s.useContext)(r).appSettings,b=()=>(0,s.useContext)(r).ui,E=()=>(0,s.useContext)(r).memberHandlers,v=()=>(0,s.useContext)(r).blogPostsHandlers,h=()=>(0,s.useContext)(r).siteHandlers,S=()=>(0,s.useContext)(r).uiHandlers,f=()=>{const{sameSessionMember:e}=p(),{isPublicProfilePreview:t}=b();return{canEditMember:e&&!t}},y=()=>{const{t:e}=(0,a.$)();return{getFieldLabel:(t,l,a)=>(e=>(t,l,a)=>t!==n.aP.CUSTOM&&e(l)!==l?e(l):a)(e)(t,l,a)}}},77669:()=>{},87681:(e,t,l)=>{"use strict";l.d(t,{BlogNavigationReference:()=>n,DataHook:()=>c,Experiment:()=>u,FieldType:()=>m.Dy,PostImageFill:()=>r,PostImageRatio:()=>i,Role:()=>d,SettingsSection:()=>s,SettingsSectionState:()=>o,SettingsTab:()=>a,SocialType:()=>m.rx,Toast:()=>p});let a=function(e){return e.Main="main",e.Layout="layout",e.Design="design",e.Sections="sections",e.Support="support",e}({}),s=function(e){return e.Header="header",e.About="about",e.PostList="post-list",e.TextStyle="text-style",e}({}),o=function(e){return e.Default="default",e.Empty="empty",e}({}),n=function(e){return e.CreatePost="blog-bwp-create-post",e.ViewPost="blog-bwp-view-post",e}({}),r=function(e){return e.Crop="cover",e.Fill="fill",e}({}),i=function(e){return e[e.SixteenToNine=+(16/9).toFixed(4)]="SixteenToNine",e[e.FourToThree=+(4/3).toFixed(4)]="FourToThree",e[e.OneToOne=1]="OneToOne",e[e.ThreeToFour=+(3/4).toFixed(4)]="ThreeToFour",e[e.NineToSixteen=+(9/16).toFixed(4)]="NineToSixteen",e}({}),c=function(e){return e.WidgetWrapper="Profile-Wrapper",e.GeneralSettingsOverviewModal="GeneralSettings-modal",e.EditProfileButton="Profile-EditProfileButton",e.LikesReceivedStats="Profile-LikesReceivedStats",e.CommentsStats="Profile-CommentsStats",e.TopCommentsStats="Profile-TopCommentsStats",e.AboutOverlay="Profile-AboutOverlay",e.AboutEditModal="Profile-AboutEditModal",e.CreatePostLink="Profile-CreatePostLink",e.WriteYourFirstPostLink="Profile-WriteYourFirstPostLink",e.Post="Profile-Post",e.PostsLoader="Profile-PostsLoader",e.LoadMorePostsButton="Profile-LoadMorePostsButton",e.Toast="Profile-Toast",e.AboutInputDialogPrimaryButton="InputDialog-primaryButton",e}({});l(77669);let u=function(e){return e.EnableSectionsTabInMobileAS="specs.membersAboutOOI.enableSectionsMobileAS",e.EnableOOIInEditor="specs.membersArea.framelessEditorProfilePage",e.EnableCSSOptimization="specs.membersAboutOOI.EnableCSSOptimization",e.AboutPublishValidation="specs.about.MembersAboutSpecs$ValidateLinksInAboutContent",e.BlogLiveSiteEditingDeprecation="specs.wixBlog.LiveSiteEditorDeprication",e.EnableMobileDesignTabSectionHeaders="specs.membersAboutOOI.EnableMobileDesignTabSectionHeaders",e.EnableButtonBorderSettings="specs.membersAboutOOI.EnableButtonBorderSettings",e.EnableMobileTitleSetting="specs.membersAboutOOI.EnableMobileTitleSetting",e.DisableButtonOnPublish="specs.membersAboutOOI.DisableButtonOnPublish",e.EnablePluralStatisticFix="specs.membersAboutOOI.EnablePluralStatisticFix",e.EnablePostListInSEO="specs.membersAbout.EnablePostListInSEO",e.EnableRicosContentInSEO="specs.membersAbout.EnableRicosContentInSEO",e.EnableWDSPanels="specs.membersAbout.EnableWDSPanels",e.EnableCSSIndicators="specs.membersAbout.EnableCSSIndicators",e.RenderBlogContributorSEOTags="specs.membersAbout.renderBlogContributorSEOTags",e}({});var m=l(38449);let d=function(e){return e.Admin="admin",e.BlogEditor="blog_editor",e.BlogWriter="blog_writer",e}({});l(40543);l(16136),l(31988),l(24456);let p=function(e){return e[e.None=0]="None",e[e.AboutPublish=1]="AboutPublish",e[e.AboutPublishErrorTooManyLinks=2]="AboutPublishErrorTooManyLinks",e[e.AboutPublishErrorTextTooLong=3]="AboutPublishErrorTextTooLong",e[e.AboutPublishErrorUnknown=4]="AboutPublishErrorUnknown",e}({})},40543:()=>{},16136:()=>{},31988:()=>{},24456:()=>{}}]); //# sourceMappingURL=RootWidget.chunk.min.js.map