1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[855],{43855:function(e,n,t){t.d(n,{A:function(){return eo}});var o=t(14251),i=t(52875),a=t(85893),r=t(10367),s=t(34755),c=t(5152),l=t.n(c),p=t(9008),d=t.n(p),u=t(67294),m=t(14614),f=t(50106),x=t(51857),h=t.n(x),b=t(74674),g=t(42080),w=t(74317),v=t(60126),y=function(){return(0,a.jsx)(s.G7,{children:(0,a.jsxs)(s.rU,{href:"/advice",target:"_self",variant:"inline",className:"fold-link",children:[(0,a.jsx)(h(),{id:"1e6d983d92ecb795",dynamic:[s.O9.primary[60],s.O9.primary[60],s.O9.primary[80],s.O9.primary[60]],children:".fold-link{text-decoration:none!important;font-size:16px;line-height:20px;font-weight:600}.fold-link:visited{color:".concat(s.O9.primary[60],"!important;text-decoration:none!important}.fold-link:hover{color:").concat(s.O9.primary[60],"!important}.fold-link:hover>div>svg>path{fill:").concat(s.O9.primary[80],"}.fold-link:visited>div>svg>path{fill:").concat(s.O9.primary[60],"}.fold-link svg{height:14px}")}),(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:h().dynamic([["1e6d983d92ecb795",[s.O9.primary[60],s.O9.primary[60],s.O9.primary[80],s.O9.primary[60]]]]),children:(0,a.jsx)("path",{d:"M11.5919 13.0307C12.0287 13.4812 12.0287 14.2116 11.5919 14.662C11.1551 15.1125 10.4468 15.1125 10.0099 14.662L4.4082 8.81563C3.97136 8.36513 3.97136 7.63473 4.4082 7.18424L10.0099 1.33779C10.4468 0.887297 11.1551 0.887297 11.5919 1.33779C12.0287 1.78829 12.0287 2.51869 11.5919 2.96919L6.78113 7.99993L11.5919 13.0307Z",fill:s.O9.neutral[100],className:h().dynamic([["1e6d983d92ecb795",[s.O9.primary[60],s.O9.primary[60],s.O9.primary[80],s.O9.primary[60]]]])})}),"ARTICLES & ADVICE"]})})},j=function(e){var n=e.hash,t=e.type,o=(0,v.Z)().user,i=(0,w.ZP)(t,n,!1).content;return(0,a.jsxs)(s.G7,{display:"flex",justifyContent:"space-between",pt:{_:"32px",sm:"32px",md:"40px"},pb:{_:"24px",sm:"34px"},children:[(0,a.jsx)(y,{}),(0,a.jsx)(g.zt,{singleAttributionContentHash:n,attributionMode:"single",content:[i],children:(0,a.jsx)(b.B,{hash:n,type:"editorial-content",isAdmin:o.isAdmin})})]})},k=function(e){var n=e.contentTitle;
1return(0,a.jsx)(C,{children:(0,a.jsxs)(s.C4,{size:{_:12,sm:12,md:11,lg:11},children:[(0,a.jsx)(h(),{id:"4de2a11f3dedc4e5",children:'a.jsx-4de2a11f3dedc4e5{textdecoration:"none"}'}),(0,a.jsx)(s.X6,{variant:{_:"headingLg",md:"heading2xl"},as:"h1",children:n})]})})};k.displayName="ContentTitle";var C=(0,r.ZP)(s.rj).withConfig({componentId:"sc-5ac079d0-0"})({maxWidth:"100%"}),_=t(25675),Z=t.n(_),M=t(31414),z=t(44747),L=t(77579),I=t(52429),P=function(){return(0,a.jsxs)("svg",{width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jsx-c232b7813a2d9b1e",children:[(0,a.jsx)(h(),{id:"c232b7813a2d9b1e",children:"svg.jsx-c232b7813a2d9b1e{position:relative;top:2px;padding-right:4px}"}),(0,a.jsx)("path",{d:"M8 0L10.1678 5.01635L15.6085 5.52786L11.5075 9.13965L12.7023 14.4721L8 11.688L3.29772 14.4721L4.4925 9.13965L0.391548 5.52786L5.83225 5.01635L8 0Z",fill:"#B394F2",className:"jsx-c232b7813a2d9b1e"})]})},S=function(e){var n=e.hash,t=e.type,o=e.contentTitle,i=e.canonicalUrl;return(0,a.jsxs)(s.G7,{width:"147px",children:[(0,a.jsx)(h(),{id:"7abef7153f8941ce",children:".component-SocialShareBar.jsx-7abef7153f8941ce{-webkit-box-pack:start;-webkit-justify-content:start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:start}@media screen and (min-width:600px){.component-SocialShareBar.jsx-7abef7153f8941ce{-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}}.at-svc-link.jsx-7abef7153f8941ce{margin-right:0px!important}.at-svc-linkedin.jsx-7abef7153f8941ce{margin-left:0px!important}"}),(0,a.jsx)(I.ZP,{hash:n,type:t,contentTitle:o,canonicalUrl:i,location:"singleContent"})]})},H=(0,u.forwardRef)(function(e,n){var t=e.author,r=e.contentModifiedDate,c=e.hash,l=e.type,p=e.contentTitle,d=(0,z.Z)(e,["author","contentModifiedDate","hash","type","contentTitle"]),u=t.image,m=t.username,x=t.karmaScore,b=t.profileCredential,g=t.authorHash,w=t.authorName,v=t.authorImage,y=t.active,j=t.isVip,k=w||(y?m:"Fairygodboss");k=k||"Fairygodboss";var C=g?"/users/profile/".concat(g,"/").concat(k):null,_=(null==v?void 0:v.src)?v:y?u:{src:"/v1/production/tip/9/owner.webp"};return _=(null==_?void 0:_.src)?_:{src:"/v1/avatar_black_160_vtg7lw.svg"},(0,a.jsx)(s.G7,(0,i.Z)((0,o.Z)({ref:n,display:"flex"},d),{children:(0,a.jsxs)(s.G7,{display:"flex",justifyContent:"space-between",flexDirection:{_:"column",sm:"row"},width:"100%",alignItems:"start",pt:{_:"50px",xs:"20px",sm:"20px",md:"25px",lg:"40px"},children:[(0,a.jsx)(s.G7,{display:"flex",flexDirection:"column",children:(0,a.jsxs)(s.G7,{display:"flex",flex:"1",children:[(0,a.jsxs)(s.G7,{as:C&&y?"a":"div",href:y?C:"",mr:"16px",target:"_self",className:"author-container",children:[(0,a.jsx)(h(),{id:"432aa5ba4305dabc",children:".author-container{position:relative}.author-image{height:48px;width:48px}.author-image img{-webkit-clip-path:circle(24px);clip-path:circle(24px)}.vip-badge{width:16px;position:absolute;left:32px;top:33px}@media screen and (max-width:905px){.vip-badge{left:11px;top:12px}}"}),(0,a.jsx)(Z(),{className:"author-image",src:"".concat(f.X,"/dpr_1,q_auto,c_scale,f_webp,w_48/").concat((null==_?void 0:_.src)?_.src:"v1/production/tip/9/owner.webp","?temp=1"),alt:(null==_?void 0:_.alt)||"Profile Picture",width:"48",height:"48",loading:"lazy",style:{width:"100% !important",height:"auto !important",clipPath:"circle(24px)"}}),j&&y&&(0,a.jsx)(s.G7,{children:(0,a.jsx)(Z(),{className:"vip-badge",src:"".concat(f.X,"/dpr_1,q_auto,c_scale,f_webp,w_16/v1/SVGs/VIP_LARGE.webp?temp=1"),alt:"VIP",width:"16",height:"16",loading:"lazy"})})]}),(0,a.jsxs)(s.G7,{display:"flex",flexWrap:"wrap",flexDirection:"column",children:[(0,a.jsxs)(s.G7,{display:"flex",flexDirection:{_:"column",lg:"row"},alignItems:{_:"start",lg:"center"},flexWrap:"wrap",children:[(0,a.jsx)(s.G7,{display:"flex",children:(0,a.jsxs)(s.xv,{className:"author-name",fontWeight:"700",margin:"0",textAlign:"left",variant:"labelMd",letterSpacing:"-0.4px",lineHeight:"18px",color:s.O9.neutral[100],children:[(0,a.jsx)(h(),{id:"92932657cd44ba4d",dynamic:[s.O9.neutral[100]],children:".author-name{font-weight:700;color:".concat(s.O9.neutral[100],"}")}),k,x&&y?(0,a.jsxs)(s.xv,{pr:{_:"0",lg:"12px"},pl:{_:"4px",md:"12px"},color:s.O9.neutral[100],variant:"labelMd",fontWeight:"400",children:[(0,a.jsx)(P,{}),(0,L.pF)(x,2)]}):null]})}),(0,a.jsx)(s.xv,{pt:{_:"2px",lg:"0px"},letterSpacing:"-0.4px",color:s.O9.neutral[100],variant:"labelMd",children:y?b:""})]}),(0,a.jsx)(s.G7,{flex:"1",mt:{_:"0px",lg:"4px"},children:(0,a.jsx)(s.xv,{color:s.O9.neutral[70],variant:"labelMd",children:r})})]})]})}),(0,a.jsx)(s.G7,{pl:{_:"0px",sm:"8px"},pt:{_:"16px",sm:"0px"}
1,children:(0,a.jsx)(S,{hash:c,type:l,contentTitle:p})})]})}))}),E=l()(function(){return Promise.resolve().then(t.bind(t,8826)).then(function(e){return e.Convincer})},{loadableGenerated:{webpack:function(){return[8826]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),A=(0,u.forwardRef)(function(e,n){var t=e.contentImage,o=e.contentTitle,i=e.author,r=e.contentModifiedDate,c=e.createdDate,l=e.paidCompany,p=e.isSponsor,d=e.showSponsoredBy,m=e.topConvincerRef,x=e.description,b=e.hash,g=e.type,w=(0,u.useState)(28),y=t.alt,j=t.credit,k=t.src,C=(0,v.Z)().user,_=(0,u.useRef)(),z=(0,M.cv)({cloudinaryID:k});return(0,a.jsxs)(s.G7,{display:"flex",justifyContent:"space-between",children:[(0,a.jsx)(h(),{id:"179ce8f272a8c58e",dynamic:[s.O9.primary[60],s.O9.primary[60]],children:".paidCompany{text-decoration:none}.paidCompany:hover{color:".concat(s.O9.primary[60],"!important}.paidCompany:visited{color:").concat(s.O9.primary[60],"!important}")}),(0,a.jsxs)(s.C4,{size:{xs:12,sm:12,md:7.8,lg:7.6},pl:"0px",pr:"0px",children:[(null==x?void 0:x.length)?(0,a.jsx)(s.X6,{pt:"24px",variant:"headingSm",fontWeight:"600",fontSize:{_:"16px",md:"20px"},lineHeight:{_:"24px",md:"30px"},color:s.O9.neutral[100],as:"h2",children:x}):null,!!(p&&(null==l?void 0:l.length)>0&&d)&&(0,a.jsxs)(s.xv,{pt:"24px",as:"p",margin:"0",textAlign:"left",variant:"labelLg",color:s.O9.neutral[60],children:["Sponsored by"," ",(0,a.jsx)(s.rU,{href:"/company-overview/".concat(l[0].url),variant:"inline",target:"_self",className:"paidCompany",children:l[0].longName})]}),(0,a.jsx)(T,{ref:n,pt:{_:"24px",sm:"32px",md:"48px"},children:(0,a.jsx)(Z(),{className:"component-Elements-Picture__img",src:"".concat(f.X,"/dpr_1,q_auto,c_scale,f_webp,w_669").concat(z.filename,"?temp=1"),sizes:"(max-width: 480px) 96vw, (max-width: 768px) 74vw,(max-width: 1024px) 64vw. 56vw",fetchpriority:"high",alt:y||"profile image",width:"669",height:"376",priority:!0,loading:"eager",style:{maxWidth:"100%",height:"auto",aspectRatio:"669 / 376"}})}),(0,a.jsx)(s.xv,{as:"p",color:s.O9.neutral[60],margin:"0",textAlign:"left",variant:"labelSm",pt:"4px",children:j}),i&&(0,a.jsx)(H,{pt:"".concat(w,"px"),author:i,type:g,hash:b,contentTitle:o,contentCreatedDate:c,contentModifiedDate:r,ref:_})]}),(null==C?void 0:C.isLoggedIn)?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(s.C4,{size:{xs:0,sm:0,md:3.5,lg:3.05},pr:{_:"0px",md:"24px",lg:"0px"},pl:"0px",children:(0,a.jsx)(E,{onConvincerClick:!0,ref:m})})]})});A.displayName="ContentInfo";var T=(0,r.ZP)(s.G7).withConfig({componentId:"sc-92fa9d8a-0"})({".component-Elements-Picture":{display:"block !important",height:"auto !important"},img:{display:"block",height:"auto",width:"100%"}}),N=t(57632),O=t(16889),R="\n .fr-rounded, .fr-img-caption.fr-rounded img {\n border-radius: 10px;\n -moz-border-radius: 10px;\n -webkit-border-radius: 10px;\n -moz-background-clip: padding;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n }\n .fr-bordered, .fr-img-caption.fr-bordered img {\n border: solid 5px #ccc;\n }\n .fr-bordered {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n }\n .fr-img-caption.fr-bordered img {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n .fr-shadow, .fr-img-caption.fr-shadow img {\n -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);\n -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);\n }\n .fr-view {\n word-wrap: break-word;\n }\n .fr-view span[style~='color:'] a {\n color: inherit;\n }\n .fr-view strong {\n font-weight: 600;\n }\n .fr-view table {\n border: none;\n border-collapse: collapse;\n empty-cells: show;\n max-width: 100%;\n }\n .fr-view table td {\n min-width: 5px;\n padding-left: 8px;\n padding-right: 8px;\n }\n .fr-view table td ul {\n margin-left: 0px;\n }\n .fr-view table.fr-dashed-borders td, .fr-view table td, .fr
1-view table th {\n border: 1px solid #ddd;\n }\n .fr-view table td:empty, .fr-view table th:empty {\n height: 20px;\n }\n .fr-view table td.fr-highlighted, .fr-view table th.fr-highlighted {\n border: 1px double red;\n }\n .fr-view table td.fr-thick, .fr-view table th.fr-thick {\n border-width: 2px;\n }\n .fr-view table th {\n background: #e6e6e6;\n }\n .fr-view hr {\n clear: both;\n user-select: none;\n -o-user-select: none;\n -moz-user-select: none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n page-break-after: always;\n }\n .fr-view .fr-file {\n position: relative;\n }\n .fr-view .fr-file::after {\n position: relative;\n content: '\\1F4CE';\n font-weight: normal;\n }\n .fr-view pre {\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow: visible;\n }\n .fr-view[dir='rtl'] blockquote {\n border-left: none;\n border-right: solid 2px #5e35b1;\n margin-right: 0;\n padding-right: 5px;\n padding-left: 0px;\n }\n .fr-view[dir='rtl'] blockquote blockquote {\n border-color: #00bcd4;\n }\n .fr-view[dir='rtl'] blockquote blockquote blockquote {\n border-color: #43a047;\n }\n .fr-view blockquote {\n border-left: solid 2px #b394f2;\n margin-left: 32px;\n padding-left: 22px;\n color: #b394f2;\n }\n @media screen and (max-width: 905px) {\n .fr-view blockquote {\n margin: 16px 0px 16px 8px;\n }\n }\n .fr-view blockquote p {\n font-size: 18px;\n line-height: 30px;\n font-style: italic;\n font-weight: 600;\n }\n @media screen and (max-width: 905px) {\n .fr-view blockquote p {\n font-size: 16px;\n line-height: 26px;\n }\n }\n .fr-view blockquote blockquote {\n border-color: #00bcd4;\n color: #00bcd4;\n }\n .fr-view blockquote blockquote blockquote {\n border-color: #43a047;\n color: #43a047;\n }\n .fr-view span.fr-emoticon {\n font-weight: normal;\n font-family: 'Open sans', sans-serif;\n display: inline;\n line-height: 0;\n }\n .fr-view span.fr-emoticon.fr-emoticon-img {\n background-repeat: no-repeat !important;\n font-size: inherit;\n height: 1em;\n width: 1em;\n min-height: 20px;\n min-width: 20px;\n display: inline-block;\n margin: -0.1em 0.1em 0.1em;\n line-height: 1;\n vertical-align: middle;\n }\n .fr-view .fr-text-gray {\n color: #aaa !important;\n }\n .fr-view .fr-text-bordered {\n border-top: solid 1px #222;\n border-bottom: solid 1px #222;\n padding: 10px 0;\n }\n .fr-view .fr-text-spaced {\n letter-spacing: 1px;\n }\n .fr-view .fr-text-uppercase {\n text-transform: uppercase;\n }\n .fr-view img {\n position: relative;\n max-width: 100%;\n }\n .fr-view .fr-dib {\n margin: 5px auto;\n display: block;\n float: none;\n vertical-align: top;\n text-align: center;\n }\n .fr-view .fr-dib.fr-fil {\n margin-left: 0;\n text-align: left;\n }\n .fr-view .fr-dib.fr-fir {\n margin-right: 0;\n text-align: right;\n }\n .fr-view .fr-dii {\n display: inline-block;\n float: none;\n vertical-align: bottom;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n height: auto;\n }\n .fr-view .fr-dii.fr-fil {\n float: left;\n margin: 5px 5px 5px 0;\n max-width: calc(100% - 5px);\n }\n .fr-view .fr-dii.fr-fir {\n float: right;\n margin: 5px 0 5px 5px;\n max-width: calc(100% - 5px);\n }\n .fr-view span.fr-img-caption {\n position: relative;\n max-width: 100%;\n }
1\n .fr-view span.fr-img-caption.fr-dib {\n margin: 16px auto;\n margin-top: 32px;\n margin-bottom: 0px;\n display: block;\n float: none;\n }\n .fr-view span.fr-img-caption.fr-dib.fr-fil {\n margin-left: 0;\n text-align: left;\n }\n .fr-view span.fr-img-caption.fr-dib.fr-fir {\n margin-right: 0;\n text-align: right;\n }\n .fr-view span.fr-img-caption.fr-dii {\n display: inline-block;\n float: none;\n vertical-align: bottom;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n }\n .fr-view span.fr-img-caption.fr-dii.fr-fil {\n float: left;\n margin: 0px 24px 0px 0;\n max-width: calc(100% - 5px);\n }\n @media screen and (max-width: 600px) {\n .fr-view span.fr-img-caption.fr-dii.fr-fil {\n max-width: 50vw;\n }\n }\n .fr-view span.fr-img-caption.fr-dii.fr-fir {\n float: right;\n margin: 5px 0 5px 5px;\n max-width: calc(100% - 5px);\n }\n .fr-view .fr-video {\n text-align: center;\n position: relative;\n padding-top: 16px;\n }\n .fr-view .fr-video > * {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n max-width: 100%;\n border: none;\n }\n .fr-view .fr-video.fr-dvb {\n display: block;\n clear: both;\n }\n .fr-view .fr-video.fr-dvb.fr-fvl {\n text-align: left;\n }\n .fr-view .fr-video.fr-dvb.fr-fvr {\n text-align: right;\n }\n .fr-view .fr-video.fr-dvi {\n display: inline-block;\n }\n .fr-view .fr-video.fr-dvi.fr-fvl {\n float: left;\n }\n .fr-view .fr-video.fr-dvi.fr-fvr {\n float: right;\n }\n .fr-view a.fr-strong {\n font-weight: 700;\n }\n .fr-view a.fr-green {\n color: green;\n }\n .fr-view .fr-img-caption {\n text-align: center;\n }\n .fr-view .fr-img-caption .fr-img-wrap {\n padding: 0px;\n display: inline-block;\n margin: auto;\n text-align: center;\n width: 100%;\n }\n .fr-view .fr-img-caption .fr-img-wrap img {\n display: block;\n margin: auto;\n }\n .fr-view .fr-img-caption .fr-img-wrap > span {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 14px;\n /* identical to box height, or 117% */\n letter-spacing: -0.4px;\n /* Neutral/60 */\n color: #868686;\n display: flex;\n padding-top: 4px;\n }\n .fr-view button.fr-rounded, .fr-view input.fr-rounded, .fr-view textarea.fr-rounded {\n border-radius: 10px;\n -moz-border-radius: 10px;\n -webkit-border-radius: 10px;\n -moz-background-clip: padding;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n }\n .fr-view button.fr-large, .fr-view input.fr-large, .fr-view textarea.fr-large {\n font-size: 24px;\n }\n /** * Image style. */\n a.fr-view.fr-strong {\n font-weight: 700;\n }\n a.fr-view.fr-green {\n color: green;\n }\n /** * Link style. */\n span.fr-view {\n position: relative;\n max-width: 100%;\n }\n .fr-view.fr-dib {\n margin: 5px auto;\n display: block;\n float: none;\n vertical-align: top;\n }\n .fr-view.fr-dib.fr-fil {\n margin-left: 0;\n text-align: left;\n }\n .fr-view.fr-dib.fr-fir {\n margin-right: 0;\n text-align: right;\n }\n .fr-view.fr-dii {\n display: inline-block;\n float: none;\n vertical-align: bottom;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n }\n .fr-view.fr-dii.fr-fil {\n float: left;\n margin: 5px 5px 5px 0;\n max-width: calc(100% - 5px);\n }\n .fr-view.fr-dii.fr-fir {\n float: right;\n margin: 5px 0 5px 5px;\n max-width: calc(100% - 5px);\n }\n span.fr-img-caption.fr-view {\n position: relative;\n max-width: 100%;\n }\n span.fr-img-caption.fr-view.fr-dib {\n margin: 5px auto;\n display: block;\n float: none;\n vertical-align: top;\n }\n span.fr-img-caption.fr-view.fr-dib.fr-fil {\n margin-left: 0;\n text-align: left;\n }\n span.fr-img-caption.fr-view.fr-dib.fr-fir {\n margin-right: 0;\n text-align: right;\n }\n span.fr-img-caption.fr-view.fr-dii {\n display: inline-block;\n float: none;\n vertical-align: bottom;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n }\n span.fr-img-caption.fr-view.fr-dii.fr-fil {\n float: left;\n margin: 5px 5px 5px 0;\n max-width: calc(100% - 5px);\n }\n span.fr-img-caption.fr-view.fr-dii.fr-fir {\n float: right;\n margin: 5px 0 5px 5px;\n max-width: calc(100% - 5px);\n }\n .fr-view p, .fr-view div {\n font-size: 18px;\n line-height: 30px;\n color: #353535;\n }\n @media screen and (max-width: 905px) {\n .fr-view p, .fr-view div {\n font-size: 16px;
1\n line-height: 26px;\n }\n }\n @media screen and (max-width: 600px) {\n .fr-view p, .fr-view div {\n margin-bottom: 12px;\n }\n }\n .fr-view a {\n text-decoration: underline !important;\n color: #982ea9;\n }\n .fr-view a:hover {\n color: #611d6c;\n }\n .fr-view a:visited {\n color: #22385e;\n }\n .fr-view h2 {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 32px;\n line-height: 44px;\n color: #353535;\n padding-top: 16px;\n padding-bottom: 16px;\n margin: 0px;\n }\n @media screen and (max-width: 905px) {\n .fr-view h2 {\n font-size: 26px;\n line-height: 38px;\n }\n }\n @media screen and (max-width: 600px) {\n .fr-view h2 {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n }\n .fr-view h3 {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 26px;\n line-height: 38px;\n color: #353535;\n padding-top: 16px;\n padding-bottom: 16px;\n margin: 0px;\n }\n @media screen and (max-width: 905px) {\n .fr-view h3 {\n font-size: 20px;\n line-height: 30px;\n font-weight: 600;\n }\n }\n @media screen and (max-width: 600px) {\n .fr-view h3 {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n }\n .fr-view table tbody {\n font-size: 14px;\n color: #353535;\n line-height: 24px;\n vertical-align: baseline;\n }\n .fr-view table thead tr th {\n border: 1px solid #8155db !important;\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n /* identical to box height, or 150% */\n /* Neutral/100 */\n color: #353535;\n flex-direction: row;\n align-items: center;\n text-align: start;\n padding: 8px;\n position: static;\n width: 220px;\n left: 0px;\n top: 0px;\n /* Semantic/Info Purple Light */\n background: #f2ecfe !important;\n }\n .fr-view table ul {\n font-size: 14px;\n line-height: 24px;\n padding-left: 16px;\n }\n .fr-view table ul li {\n list-style: none;\n position: relative;\n }\n .fr-view table ul li::before {\n content: 'â¢';\n position: absolute;\n left: -10px;\n }\n .fr-view ul {\n font-size: 18px;\n line-height: 30px;\n margin-left: 12px;\n padding: 0px;\n margin-top: 0px;\n margin-bottom: 0px !important;\n /* Neutral/100 */\n color: #353535;\n }\n @media screen and (max-width: 905px) {\n .fr-view ul {\n font-size: 16px;\n line-height: 26px;\n }\n }\n .fr-view ul li {\n padding-left: 2px;\n margin-bottom: 0px;\n list-style: none;\n position: relative;\n }\n @media screen and (max-width: 600px) {\n .fr-view ul li {\n padding-bottom: 0px;\n }\n }\n .fr-view ul li::before {\n content: 'â¢';\n position: absolute;\n left: -10px;\n }\n",U=t(39476),D=t(8826),F={a:{textDecoration:"underline !important",":visited":{color:"".concat(s.O9.secondary[70]," !important")},position:"relative",maxWidth:"100%"}},B=function(e){var n=e.isSponsored;return(0,a.jsx)(O.c,{redirectUrl:"/community/feed",loginTrigger:"article_join_sticky_button",customMetric:{fireMultiple:!0},children:(0,a.jsx)(s.G7,{position:"fixed",right:{_:"0px",sm:"24px"},justifyContent:{_:"center",sm:"end"},width:"100%",bottom:{_:n?"16px":"96px",sm:n?"16px":"126px"},zIndex:"10",display:{_:"-webkit-box",md:"none"},children:(0,a.jsx)(D.ConvincerButton,{text:"Join the community"})})})},q=function(e){var n=e.type,t=e.content,i=e.alt,r=e.caption,c=e.style,l=e.classes,p=e.width,d=e.height,u=(0,N.Z)();if("HTML"===n){var m={style:F,as:"span",dangerouslySetInnerHTML:{__html:(0,U.bM)(t)}};return(0,a.jsx)(s.G7,(0,o.Z)({},m),u)}return"IMAGE"===n?(0,a.jsx)(s.G7,{style:F,children:(0,a.jsxs)("span",{className:h().dynamic([["3a146b060d84912d",[c]]])+" "+(l||""),children:[(0,a.jsx)(h(),{id:"3a146b060d84912d",dynamic:[c],children:".fr-img-caption.__jsx-style-dynamic-selector{".concat(c,"\n }")}),(0,a.jsxs)("span",{className:h().dynamic([["3a146b060d84912d",[c]]])+" fr-img-wrap",children:[(0,a.jsx)(M.ZP,{cloudinaryID:t,alt:i,autoWidth:!0}),(0,a.jsx)(s.G7,{as:"span",className:"fr-inner",dangerouslySetInnerHTML:{__html:r}}
1)]})]})},u):"IMAGEOLD"===n?(0,a.jsx)(s.G7,{style:F,children:(0,a.jsxs)("span",{className:"jsx-1669fac699bf629a "+(l||""),children:[(0,a.jsx)(h(),{id:"1669fac699bf629a",children:".fr-img-wrap-old.jsx-1669fac699bf629a{text-align:center}"}),(0,a.jsx)("span",{className:"jsx-1669fac699bf629a",children:(0,a.jsx)(M.ZP,{cloudinaryID:t,alt:i,width:p,height:d,baseClass:"fr-img"})})]})},u):(0,a.jsx)(a.Fragment,{children:" "})},G=function(e){var n=e.contentBody;return(0,a.jsxs)(s.G7,{className:"fr-view fr-view-deconstructed",children:[(0,a.jsx)(h(),{id:"baab3b74be8ea5b9",dynamic:[R],children:"".concat(R,"\n ")}),n.map(function(e){return q(e)})]})},V=function(e){var n=e.contentBody,t=e.isSponsored,o=(0,v.Z)().user;return(0,a.jsxs)(s.G7,{display:"flex",justifyContent:"flex-start",className:"fr-view",children:[(null==o?void 0:o.isLoggedIn)?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(B,{isSponsored:t})," ",(0,a.jsx)(s.C4,{size:{xs:12,sm:12,md:7.8,lg:7.6},pt:{_:"24px",sm:"32px"},pl:{_:"0px",sm:"0px"},pr:{_:"0px",sm:"0px"},children:(0,a.jsx)(G,{contentBody:n})}),(0,a.jsx)(W,{size:{xs:0,sm:0,md:3.5,lg:3.05},ml:{_:"auto"},display:{_:"none",md:"block"},pr:{_:"0px",md:"24px",lg:"0px"},children:(null==o?void 0:o.isLoggedIn)?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.G7,{height:"380px"}),(0,a.jsx)(s.G7,{position:"sticky",top:"119px",children:(0,a.jsx)(D.ConvincerWithBullets,{location:"article"})})]})})]})};V.displayName="MainArticleBody";var W=(0,r.ZP)(s.C4).withConfig({componentId:"sc-548a8246-0"})({paddingLeft:"0px"}),K={active:!0,authorHash:"",connectWithMeText:"",credential:"",hash:"",userId:0,username:"Fairygodboss",image:{src:"/v1/production/tip/9/owner.webp",alt:"Profile Picture"},authorImage:{src:"/v1/production/tip/9/owner.webp",alt:"Profile Picture"},authorName:"Fairygodboss"},X=l()(function(){return t.e(566).then(t.bind(t,77396)).then(function(e){return e.BottomConvincer})},{loadableGenerated:{webpack:function(){return[77396]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),Q=l()(function(){return t.e(539).then(t.bind(t,88539)).then(function(e){return e.default})},{loadableGenerated:{webpack:function(){return[88539]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),Y=l()(function(){return t.e(163).then(t.bind(t,50163)).then(function(e){return e.default})},{loadableGenerated:{webpack:function(){return[50163]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),$=l()(function(){return t.e(633).then(t.bind(t,78633)).then(function(e){return e.RecentContentContainer})},{loadableGenerated:{webpack:function(){return[78633]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),J=l()(function(){return t.e(634).then(t.bind(t,12634)).then(function(e){return e.ModalHandler})},{loadableGenerated:{webpack:function(){return[12634]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),ee=l()(function(){return t.e(372).then(t.bind(t,45372)).then(function(e){return e.Footer})},{loadableGenerated:{webpack:function(){return[45372]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),en=l()(function(){return Promise.all([t.e(658),t.e(896)]).then(t.bind(t,87896)).then(function(e){return e.CommentContainer})},{loadableGenerated:{webpack:function(){return[87896]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),et=l()(function(){return Promise.all([t.e(658),t.e(111)]).then(t.bind(t,16111)).then(function(e){return e.SocialCTA})},{loadableGenerated:{webpack:function(){return[16111]}},loading:function(){return(0,a.jsx)(a.Fragment,{})},ssr:!1}),eo=(0,u.memo)(function(e){var n,t,r,c,l,p,x,h,b,g,w,v,y,C,_,Z,M,z,L=e.article,I=e.hash,P=e.type,S=e.parsedContentBody,H=e.pageName,E=(0,u.useRef)(),T=(0,u.useRef)(),N=L.title;if(!N||!S)throw Error("Article not found ");var O=L.paidCompany,R=L.author,U={contentImage:L.contentImage,contentTitle:N,author:R||K,ref:T,contentCreatedDate:L.createdAt,contentModifiedDate:L.contentModifiedDate,paidCompany:O,isSponsor:L.isSponsor,showSponsoredBy:L.showSponsoredBy,topConvincerRef:E,description:L.description,hash:I,type:P,backgroundHeight:800},D=(null==L?void 0:L.metaTitle)&&""!==L.metaTitle?L.metaTitle:"Jobs and company reviews for women | Fairygodboss",F=(null==L?void 0:L.metaDescription)&&""!==L.metaDescription?L.metaDescription:"Fairygodboss",B=(null==L?void 0:L.canonicalUrl)?(0,a.jsx)("link",{rel:"canonical",href:L.canonicalUrl}):(0,a.jsx)("link",{rel:"canonical",href:"https://fairygodboss.com/career-topics/".concat(I
1)});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(d(),{children:[(0,a.jsx)("title",{children:D}),(0,a.jsx)("meta",{property:"og:url",content:"https://fairygodboss.com/career-topics/".concat(I)}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:image",content:"".concat(f.X,"/dpr_1,q_auto,c_scale,f_webp,w_669").concat(null===(C=L.contentImage)||void 0===C?void 0:C.src)}),(0,a.jsx)("meta",{property:"og:image:alt",content:null===(_=L.contentImage)||void 0===_?void 0:_.alt}),(0,a.jsx)("meta",{property:"og:image:width",content:"699"}),(0,a.jsx)("meta",{property:"og:image:height",content:"377"}),(0,a.jsx)("meta",{name:"twitter:title",content:"".concat(D," | Fairygodboss")},"twittterTitle"),(0,a.jsx)("meta",{name:"twitter:description",content:F},"twitterDescription"),(0,a.jsx)("meta",{name:"twitter:Image",content:"".concat(f.X,"/dpr_1,q_auto,c_scale,f_webp,w_669").concat(null===(Z=L.contentImage)||void 0===Z?void 0:Z.src)},"twitterImage"),(0,a.jsx)("meta",{name:"twitter:image:height",content:"699"},"twitterImageHeight"),(0,a.jsx)("meta",{name:"twitter:image:width",content:"377"},"twitterImageWidth"),(0,a.jsx)("meta",{name:"description",content:F}),(0,a.jsx)("meta",{property:"og:title",content:D}),(0,a.jsx)("meta",{property:"og:description",content:F}),(0,a.jsx)("meta",{name:"twitter:title",content:"Fairygodboss"},"twitterTitle"),(0,a.jsx)("meta",{name:"twitter:image",content:"https://res.cloudinary.com/fairygodboss/image/upload/v1681846562/articles_upload/content/bepbejxmscgrncvwbzsb.webp"},"twitterImage"),(0,a.jsx)("meta",{property:"og:image",content:"https://res.cloudinary.com/fairygodboss/image/upload/v1681846562/articles_upload/content/bepbejxmscgrncvwbzsb.webp"}),B]}),(n=L.contentImage,t=L.publishedAt,r=L.modifiedAt,c=L.metaDescription,l=R||K,x=(p=function(e){if(!e)return null;var n=new Date(e);return Number.isNaN(n.getTime())?null:n.toISOString()})(t),h=p(r),b="career-topics",w="Fairygodboss"===(g=(g=l.authorName||(l.active?l.username:"Fairygodboss"))||"Fairygodboss"),v=l.authorHash?"/users/profile/".concat(l.authorHash,"/").concat(g):null,y=(0,i.Z)((0,o.Z)({"@context":"http://schema.org","@type":"Article",url:"https://fairygodboss.com/".concat(b,"/").concat(I),headline:null==N?void 0:N.replace(/"/g,"'"),image:{"@type":"ImageObject",url:n?"https://d207ibygpg2z1x.cloudfront.net/image/upload".concat(null==n?void 0:n.src):"",width:"669px",height:"337px"}},x?{datePublished:x}:{},h?{dateModified:h}:{}),{author:(0,o.Z)({name:null==g?void 0:g.replace(/"/g,"'"),type:w?"Organization":"Person"},w?{url:"https://www.fairygodboss.com"}:{},!w&&v?{url:"https://fairygodboss.com".concat(v)}:{}),publisher:{"@type":"Organization",name:"Fairygodboss",url:"https://www.fairygodboss.com",logo:{"@type":"ImageObject",url:"https://d207ibygpg2z1x.cloudfront.net/image/upload/dpr_2.0,c_scale,g_center,r_max,q_auto,w_48,h_48/v1/production/tip/9/owner.jpg",width:"48px",height:"48px"},sameAs:["https://www.facebook.com/fairygodboss/","https://www.instagram.com/fairygodboss/","https://twitter.com/fairygodboss/","https://linkedin.com/company/fairygodboss"]},description:c,mainEntityOfPage:{"@type":"WebPage","@id":"https://fairygodboss.com/".concat(b,"/").concat(I)},isAccessibleForFree:!0}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}})),(0,a.jsxs)(ea,{display:"flex",width:"100%",color:s.O9.neutral[100],children:[(0,a.jsx)(Y,{gclientId:"683298296265-8dfcatd4ag89esso1jep5hm5mae4m2k2.apps.googleusercontent.com"}),(0,a.jsx)(m.sb,{pageCompanyId:null!==(z=null==O?void 0:null===(M=O[0])||void 0===M?void 0:M.id)&&void 0!==z?z:null,pageSection:m.$B.ADVICE,pageEntityId:"".concat(P,"-").concat(I),pageType:m.F5.CONTENT}),(0,a.jsx)(s.G7,{display:"flex",width:"100%",flexDirection:"column",alignItems:"center",children:(0,a.jsxs)(s.T3,{width:"100%",children:[(0,a.jsx)(s.rj,{maxWidth:"1176px",justifyContent:{_:"left",sm:"center",md:"left",lg:"right"},children:(0,a.jsxs)(ei,{size:{xs:12,sm:9,md:12,lg:11},pl:{_:"0px",md:"24px",lg:"8px"},children:[(0,a.jsx)(j,{hash:I,type:P}),(0,a.jsx)(k,{contentTitle:N}),(0,a.jsx)(A,(0,o.Z)({},U)),(0,a.jsx)(V,{contentBody:S,isSponsored:L.isSponsor}),(0,a.jsx)(et,{hash:I,type:P})]})}),(0,a.jsx)(s.rj,{justifyContent:{_:"left",sm:"center",md:"left",lg:"right"},style:{paddingLeft:"0px",paddingRight:"0px"},children:(0,a.jsx)(en,{hash:I,type:P})}),(0,a.jsx)($,{article:L,hash:I}),(0,a.jsx)(X,{jobPage:!1,loginTrigger:"article_join_footer_button",miscEventType:"article_join_footer_button",redirectUrl:"/community/feed",alwaysDisplayButton:"none",rightAltTag:"Fairygodboss members",leftAltTag:"Fairygodboss VIP"}),(0,a.jsx)(ee,{}),(0,a.jsx)(Q,{article:L,pageName:H,hash:I,type:P}),(0,a.jsx)(J,{article:L})]})})]})]})}),ei=(0,r.ZP)(s.C4).withConfig({componentId:"sc-6bc26251-0"})({paddingLeft:"0px",paddingRight:"0px"}),ea=(0,r.ZP)(s.G7).withConfig({componentId:"sc-6bc26251-1"})({fontFamily:"Open Sans",background:"linear-gradient(to bottom, #F6F2FE 660px, white 0%)","@media (min-width: 720px)":{background:"linear-gradient(to bottom, #F6F2FE 700px, white 0%)"},"@media (min-width:907px)":{background:"linear-gradient(to bottom, #F6F2FE 740px, white 0%)"},"@media (min-width: 1000px)":{background:"linear-gradient(to bottom, #F6F2FE 760px, white 0%)"}})},54615:function(e,n,t){var o=t(85893);t(67294),n.Z=function(e){var n=e.width,t=e.height;return(0,o.jsxs)("svg",{width:void 0===n?"32px":n,height:void 0===t?"32px":t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"20",height:"20",rx:"1",fill:"#425893"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4487 5.13332H13.8572V2.81669C13.6146 2.78538 12.7789 2.71423 11.8059 2.71423C9.77503 2.71423 8.38412 3.92093 8.38412 6.13795V8.17852H6.14288V10.7684H8.38412V17.2857H11.1309V10.7684H13.2815L13.6234 8.17852H11.1309V6.39409C11.1309 5.6456 11.3442 5.13332 12.4487 5.13332Z",fill:"white"})]})}},70259:function(e,n,t){var o=t(85893);t(67294),n.Z=function(e){var n=e.width,t=e.height;return(0,o.jsxs)("svg",{width:void 0===n?"32px":n,height:void 0===t?"32px":t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"20",height:"20",rx:"1",fill:"#3375B0"}),(0,o.jsx)("path",{d:"M6.57185 16H4.19783V7.29526H6.57185V16ZM5.38484 6.29185C4.62041 6.29185 4 5.66669 4 4.89592C4 4.12516 4.62041 3.5 5.38484 3.5C6.14928 3.5 6.76969 4.12516 6.76969 4.89592C6.76969 5.66669 6.15007 6.29185 5.38484 6.29185ZM16.0679 16H13.6939V11.5653C13.6939 8.9001 10.5286 9.10189 10.5286 11.5653V16H8.15453V7.29526H10.5286V8.69198C11.6333 6.64558 16.
10679 6.49443 16.0679 10.6513V16Z",fill:"white"})]})}},74674:function(e,n,t){t.d(n,{B:function(){return et}});var o=t(14251),i=t(52875),a=t(44747),r=t(80969),s=t(85893),c=t(10367),l=t(51857),p=t.n(l),d=t(34755),u=t(67294),m=t(97762),f=t(99997),x=t(74317),h=t(60126),b=t(16889),g=t(34727),w=t(70655),v=t(6154),y=t(45697),j=t.n(y),k=t(95209),C=t(75815),_=t(18352),Z=t(67573),M=t(55577),z=t(43206),L=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(){return(0,C.Z)(this,t),n.apply(this,arguments)}return(0,_.Z)(t,[{key:"render",value:function(){var e=this.props,n=e.minHeight,t=e.minWidth,o=e.maxHeight,i=e.maxWidth,a=e.clickOutside,r=e.absolutePosition,c=e.showPopUp,l=e.cancel,u=e.className,m=e.hideCloseButton,f=e.title,x=e.showLogo,h=e.logoType,b=e.children,g=e.close,w=e.buttonText,v=e.showOverlay;if(!c)return null;var y=function(){a&&l()};return(0,s.jsxs)("div",{className:"jsx-cf560ad94859bebc component-Elements-PopUp",children:[(0,s.jsx)(p(),{id:"cf560ad94859bebc",children:'.component-Elements-PopUp.jsx-cf560ad94859bebc div.overlay.jsx-cf560ad94859bebc{position:fixed;width:100%;height:100%;display:block;top:0;left:0;background-color:rgba(0,0,0,.6);z-index:100}.component-Elements-PopUp.jsx-cf560ad94859bebc .msg-panel.jsx-cf560ad94859bebc .fgb-bubble-logo.jsx-cf560ad94859bebc{width:120px;height:120px;background-image:url(https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/fgb-bubble-logo.webp);background-position:50%;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;margin:auto}.component-Elements-PopUp.jsx-cf560ad94859bebc .msg-panel.jsx-cf560ad94859bebc .fgb-logo.jsx-cf560ad94859bebc{width:100px;height:100px;background-image:url(https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/fgb-logo-no-bubble_j3hjfz.webp);background-position:50%;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;margin:auto}.component-Elements-PopUp.jsx-cf560ad94859bebc .close.jsx-cf560ad94859bebc{width:18px;height:18px;background-image:url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1540910119/icons/close-white.webp");background-position:center;background-repeat:no-repeat;position:absolute;top:15px;right:15px}.component-Elements-PopUp.jsx-cf560ad94859bebc .close.jsx-cf560ad94859bebc span.jsx-cf560ad94859bebc{line-height:1}.component-Elements-PopUp.jsx-cf560ad94859bebc .close.jsx-cf560ad94859bebc:hover{cursor:pointer}.component-Elements-PopUp.jsx-cf560ad94859bebc .button-div.jsx-cf560ad94859bebc{width:150px;margin:15px auto}.component-Elements-PopUp.jsx-cf560ad94859bebc .fixed.jsx-cf560ad94859bebc{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-60%);-moz-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);-o-transform:translate(-50%,-60%);transform:translate(-50%,-60%);width:auto;height:auto;background-color:#fff;z-index:2000}.component-Elements-PopUp.jsx-cf560ad94859bebc .FGBPopUp.jsx-cf560ad94859bebc{max-height:400px;background-color:transparent;background-image:url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1540932215/assets/sumome_login.jpg");-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;font-family:"Open Sans",sans-serif;color:white;-webkit-box-shadow:rgba(0,0,0,0)0px 0px 0px inset;-moz-box-shadow:rgba(0,0,0,0)0px 0px 0px inset;box-shadow:rgba(0,0,0,0)0px 0px 0px inset}.component-Elements-PopUp.jsx-cf560ad94859bebc .relative.jsx-cf560ad94859bebc{position:relative}.component-Elements-PopUp.jsx-cf560ad94859bebc .moderation-flag-style.jsx-cf560ad94859bebc{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-Elements-PopUp.jsx-cf560ad94859bebc svg.jsx-cf560ad94859bebc{width:20px;height:20px}.component-Elements-PopUp.jsx-cf560ad94859bebc .fixed.jsx-cf560ad94859bebc{position:fixed!important}@media(min-width:768px){.component-Elements-PopUp.jsx-cf560ad94859bebc .fixed.jsx-cf560ad94859bebc{position:fixed!important;top:50%;left:50%;-webkit-transform:translate(-50%,-60%);-moz-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);-o-transform:translate(-50%,-60%);transform:translate(-50%,-60%);width:auto;height:auto}.component-Elements-PopUp.jsx-cf560ad94859bebc .allContent.jsx-cf560ad94859bebc{height:auto}.component-Elements-PopUp.jsx-cf560ad94859bebc .text-center.jsx-cf560ad94859bebc{height:220px;padding:30px}.component-Elements-PopUp.jsx-cf560ad94859bebc .content.jsx-cf560ad94859bebc{grid-template-rows:auto;height:auto;width:100%}}@media only screen and (max-width:360px){.component-Elements-PopUp.jsx-cf560ad94859bebc .msg-panel.jsx-cf560ad94859bebc .fgb-bubble-logo.jsx-cf560ad94859bebc{width:90px;height:90px}.component-Elements-PopUp.jsx-cf560ad94859bebc p.jsx-cf560ad94859bebc{font-size:12px}}@media(max-width:576px){.component-Elements-PopUp.jsx-cf560ad94859bebc .FGBPopUp.jsx-cf560ad94859bebc{min-width:320px;max-height:220px}}@media(min-width:576px)and (max-width:960px){.component-Elements-PopUp.jsx-cf560ad94859bebc .FGBPopUp.jsx-cf560ad94859bebc{min-width:500px;min-height:320px;max-height:360px}}@media(min-width:600px)and (orientation:landscape){.component-Elements-PopUp.jsx-cf560ad94859bebc .fixed.jsx-cf560ad94859bebc{position:fixed!important;top:75%}}'}),(0,s.jsxs)("div",{style:{minHeight:n,minWidth:t,maxHeight:o,maxWidth:i},"data-qa":"popup",className:"jsx-cf560ad94859bebc "+"text-center ".concat(r?"fixed":"relative"," whiteSpace ").concat(u),children:[l&&!m&&(0,s.jsx)("div",{className:"jsx-cf560ad94859bebc close",children:(0,s.jsx)(d.zx,{onPress:l,width:"18px",height:"18px",padding:"0px",children:"x"})}),f?(0,s.jsx)("h4",{className:"jsx-cf560ad94859bebc",children:f}):null,(0,s.jsxs)("div",{className:"jsx-cf560ad94859bebc allContent",children:[x?(0,s.jsx)("div",{className:"jsx-cf560ad94859bebc msg-panel",children:(0,s.jsx)("div",{className:"jsx-cf560ad94859bebc "+(h||"")})}):null,(0,s.jsx)("div",{className:"jsx-cf560ad94859bebc content popupChildren",children:b}),w?(0,s.jsx)("div",{className:"jsx-cf560ad94859bebc button-div",children:(0,s.jsx)(d.zx,{className:"popup-button test",onPress:g,type:"solid",disabled:!g,borderRadius:"0px",width:"180px",children:w})}):null]})]}),c&&v&&(0,s.jsx)("div",{onClick:y,onKeyPress:y,role:"button",tabIndex:0,"aria-label":"overlay",className:"jsx-cf560ad94859bebc overlay"})]})}}]),t}(u.PureComponent),I='\n.component-Elements-Icon {\n width: 48px;\n height: 48px;\n border-radius: 50%;\n display: inline-block;\n }\n .component-Elements-Icon .primary-bg {\n background-color: #a234b2;\n }\n .component-Elements-Icon .black-bg {\n background-color: black;\n }\n .component-Elements-Icon .white-bg {\n background-color: white;\n }\n .component-Elements-Icon .gray-bg {\n background-color: #f2f2f2;\n }\n .component-Elements-Icon .icon {\n width: 48px;\n height: 48px;\n border-radius: 50%;\n background-size: auto;\n }\n .component-Elements-Icon .facebook {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/facebook.webp");\n background-size: contain;\n }\n .component-Elements-Icon .twitter {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/twitter.webp");\n background-size: contain;\n }\n .component-Elements-Icon .instagram {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/instagram.webp");\n background-size: contain;\n }\n .component-Elements-Icon .email {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/email.webp");\n background-size: contain;\n }\n .component-Elements-Icon .question {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/question.webp");\n background-size: contain;\n }\n .component-Elements-Icon .share-arrow {\n background-image: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1/icons/shareArrow.webp");\n background-size: contain;\n }\n .component-Elements-Icon .dotdotdot {\n background: url("https://d207ibygpg2z1x.cloudfront.net/image/upload/v1572445960/reactionBarIcons/more-options.svg") center no-repeat;\n background-size: contain;\n border-radius: 0;\n }\n @media only screen and (max-width: 360px) {\n .component-Layout-Icon {\n width: 38px;\n height: 38px;\n }\n .component-Layout-Icon .icon {\n width: 38px;\n height: 38px;\n }\n }\n .component-Elements-Icon.small {\n width: 32px;\n height: 32px;\n }\n .component-Elements-Icon.small .icon {\n width: 32px;\n height: 32px;\n }\n .component-Elements-Icon.xsmall {\n width: 22px;\n height: 22px;\n }\n .component-Elements-Icon.xsmall .icon {\n width: 22px;\n height: 22px;\n }\n ',P=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(){return(0,C.Z)(this,t),n.apply(this,arguments)}return(0,_.Z)(t,[{key:"render",value:function(){return(0,s.jsxs)("div",{className:p().dynamic([["765e63e38f1116b6",[I]]])+" "+"component-Elements-Icon ".concat(this.props.size),children:[(0,s.jsx)(p(),{id:"76
15e63e38f1116b6",dynamic:[I],children:"".concat(I,"\n ")}),(0,s.jsx)("div",{className:p().dynamic([["765e63e38f1116b6",[I]]])+" "+"icon ".concat(this.props.name," ").concat(this.props.bgColor)})]})}}]),t}(u.PureComponent);P.propTypes={name:j().string.isRequired,bgColor:j().string,size:j().string},P.defaultProps={bgColor:"primary-bg",size:""};var S=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(e){var o;return(0,C.Z)(this,t),o=n.call(this,e),(0,Z.Z)((0,k.Z)(o),"callManagementApi",function(e,n){(0,v.Z[n])(e).then(function(e){return o.setState({msg:e.data.msg,showConfirmation:!0,showMenu:!1})}).catch(console.error)}),(0,Z.Z)((0,k.Z)(o),"renderTitle",function(){var e=o.props.hash?o.props.hash.split("-").join(" "):"";return(0,s.jsx)("div",{className:"title",children:"Manage ".concat(o.props.type,": ").concat(e)})}),(0,Z.Z)((0,k.Z)(o),"renderMenuItems",function(){return(0,s.jsxs)("ul",{className:"jsx-9e49781d872467ce admin-menu",children:[(0,s.jsx)(p(),{id:"9e49781d872467ce",children:".btn-outline-primary{background-color:transparent;background-image:none;border-color:#a234b2;font-size:16px;color:#a234b2}.btn-outline-primary:hover{background-color:#a234b2;border-color:#a234b2;color:#fff}.btn-outline-primary:hover a{color:#fff!important}.btn-outline-primary:active{background-color:#a234b2;border-color:#a234b2;color:#fff}.btn-outline-primary a{color:#a234b2!important;text-decoration:none}.btn-outline-primary a:hover{color:#fff!important}.btn-outline-primary a:active{color:#a234b2}"}),o.renderTitle(),o.props.adminMenu.map(function(e){return(0,s.jsx)(d.zx,{type:"button",variant:"primary",className:"link btn btn-outline-primary new-outline",onPress:function(){return o.callManagementApi(e.url,e.action)},onKeyPress:function(){return o.callManagementApi(e.url,e.action)},children:e.name},e.name)}),(0,s.jsx)(d.zx,{variant:"primary",className:"link btn btn-outline-primary",children:(0,s.jsx)("a",{href:o.props.cmsLink,target:"_blank",rel:"noreferrer",className:"jsx-9e49781d872467ce",children:"View In CMS"})})]})}),(0,Z.Z)((0,k.Z)(o),"renderConfirmation",function(){return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"title align-items-center p-5",children:o.state.msg}),(0,s.jsx)("div",{className:"link text-right underline",onClick:function(){return o.setState({showMenu:!0,showConfirmation:!1})},onKeyPress:function(){return o.setState({showMenu:!0,showConfirmation:!1})},tabIndex:0,role:"button",children:"Back to Menu"})]})}),(0,Z.Z)((0,k.Z)(o),"onClose",function(){o.props.closeAdminMenu(),o.setState({showMenu:!0,showConfirmation:!1})}),o.state={showMenu:!0,showConfirmation:!1,msg:""},o}return(0,_.Z)(t,[{key:"render",value:function(){var e=this.props.showMenuIcon&&(0,s.jsx)("div",{className:"pt-1 pl-2",onClick:this.props.toggleAdminMenu,onKeyPress:this.props.toggleAdminMenu,tabIndex:0,role:"button",children:(0,s.jsx)(P,{name:"dotdotdot",bgColor:"white-bg",size:"xsmall"})});return(0,s.jsxs)("div",{className:"jsx-e80b670f9142ffbc Admin-menu",children:[(0,s.jsx)(p(),{id:"e80b670f9142ffbc",children:".Admin-menu.jsx-e80b670f9142ffbc .title.jsx-e80b670f9142ffbc{max-width:400px;margin:10px}.Admin-menu.jsx-e80b670f9142ffbc ul.jsx-e80b670f9142ffbc{padding:0;margin:1rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.Admin-menu.jsx-e80b670f9142ffbc .link.jsx-e80b670f9142ffbc{margin:10px;padding:5px;width:240px}.Admin-menu.jsx-e80b670f9142ffbc .link.jsx-e80b670f9142ffbc:focus{outline:none}.Admin-menu.jsx-e80b670f9142ffbc .link.jsx-e80b670f9142ffbc:hover a.jsx-e80b670f9142ffbc,.Admin-menu.jsx-e80b670f9142ffbc .link.jsx-e80b670f9142ffbc a.jsx-e80b670f9142ffbc:hover{color:white}.Admin-menu.jsx-e80b670f9142ffbc .pt-1.jsx-e80b670f9142ffbc:focus{outline:none}"}),e,(0,s.jsxs)(L,{showPopUp:this.props.openAdminMenu,showOverlay:!0,clickOutside:!0,className:"fixed",cancel:this.onClose,showLogo:!1,minWidth:"360px",hideCloseButton:!0,children:[this.state.showMenu?this.renderMenuItems():null,this.state.showConfirmation?this.renderConfirmation():null]})]})}}]),t}(u.PureComponent),H=function(e){var n=e.hash,t=e.title,o=e.type,i=(0,r.Z)((0,u.useState)(!1),2),a=i[0],c=i[1],l=(0,r.Z)((0,u.useState)(""),2),d=l[0],m=l[1],f=(0,r.Z)((0,u.useState)([]),2),x=f[0],h=f[1],b=(0,u.useCallback)((0,g.Z)(function(){var e,t,i;return(0,w.__generator)(this,function(r){switch(r.label){case 0:if(a)return[3,2];return[4,v.Z.get("/api/content-management/admin-menu/".concat(o,"/").concat(n))];case 1:h(null===(e=(i=r.sent()).data)||void 0===e?void 0:e.actions),m(null===(t=i.data)||void 0===t?void 0:t.cmsLink),c(!a),r.label=2;case 2:return[2]}})}),[a,o,n]),y=(0,u.useCallback)(function(){return c(!1)},[c]);return(0,s.jsxs)("div",{onClick:b,onKeyPress:b,role:"button",tabIndex:0,className:"jsx-ec851d09bc2ec2e0 component-ModerationAdmin",children:[(0,s.jsx)(p(),{id:"ec851d09bc2ec2e0",children:".component-ModerationAdmin.jsx-ec851d09bc2ec2e0{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.component-ModerationAdmin.jsx-ec851d09bc2ec2e0:focus{outline:none}.component-ModerationAdmin.jsx-ec851d09bc2ec2e0 .moderationAdmin-label.jsx-ec851d09bc2ec2e0{padding-left:6px;font-size:14px;line-height:34px;color:#353535;padding-top:2px}@media(max-width:905px){.Admin-menu.jsx-ec851d09bc2ec2e0 .allContent.jsx-ec851d09bc2ec2e0{height:300px!important}}"}),(0,s.jsx)("span",{className:"jsx-ec851d09bc2ec2e0 moderationAdmin-label",children:"Admin tools"}),a&&"jobbing"!==o&&(0,s.jsx)(S,{hash:n,type:o,contentTitle:t,adminMenu:x,cmsLink:d,openAdminMenu:a,closeAdminMenu:y,toggleAdminMenu:b,showMenuIcon:!1})]})};H.propTypes={hash:j().string.isRequired,title:j().string.isRequired,type:j().string.isRequired},H.defaultProps={},H.displayName="ModerationAdmin";var E=t(9784),A=t(30006),T=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(){return(0,C.Z)(this,t),n.apply(this,arguments)}return(0,_.Z)(t,[{key:"render",value:function(){return(0,s.jsxs)("div",{className:"jsx-efce62308faa0e7f "+"component-Elements-ErrorLabel ".concat(this.props.cssClass),children:[(0,s.jsx)(p(),{id:"efce62308faa0e7f",children:".component-Elements-ErrorLabel.jsx-efce62308faa0e7f{font-size:12px;font-weight:bold;font-style:italic;color:#ff4578;margin-top:-4px;height:20px}"}),this.props.error]})}}]),t}(u.PureComponent),N=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(){return(0,C.Z)(this,t),n.apply(this,arguments)}
1return(0,_.Z)(t,[{key:"componentDidMount",value:function(){document.querySelector("body").classList.add("overlay-open"),"message"===this.props.drawerType&&document.querySelector("body").classList.add("message-drawer")}},{key:"componentWillUnmount",value:function(){document.querySelector("body").classList.remove("overlay-open","message-drawer")}},{key:"render",value:function(){var e=this.props,n=e.children,t=e.cssClass,o=e.handleClose,i=e.type;return(0,s.jsxs)(d.G7,{className:"component-Overlay ".concat(i," ").concat(t),onClick:o,children:[(0,s.jsx)(p(),{id:"2fa711408ec56b3e",children:".component-Overlay{height:100%;width:100vw;position:fixed;background-color:rgba(0,0,0,.7);top:0;left:0;z-index:200}.component-Overlay.transparent{left:0;background-color:rgba(0,0,0,0)}@media screen and (min-width:576px){.component-Overlay.messages-overlay{display:none}}body.overlay-open,body.message-drawer{overflow:hidden!important}@media screen and (min-width:576px){body.overlay-open.message-drawer{overflow:auto!important}}"}),n]})}}]),t}(u.PureComponent),O=function(e){(0,M.Z)(t,e);var n=(0,z.Z)(t);function t(){var e;return(0,C.Z)(this,t),e=n.apply(this,arguments),(0,Z.Z)((0,k.Z)(e),"handleButtonClick",function(n,t){return function(o){if(t||o.preventDefault(),n){n();return}e.props.onClose()}}),(0,Z.Z)((0,k.Z)(e),"renderButton",function(n){var t=n.onClickHandler,o=n.buttonText,i=n.redirectUrl,a=n.buttonType,r=n.cssClass;return(0,s.jsx)("a",{href:i,children:(0,s.jsx)(d.zx,{onPress:e.handleButtonClick(t,i),variant:a,className:"popup-button ".concat(void 0===r?"":r," ").concat(a),children:o})},o)}),e}return(0,_.Z)(t,[{key:"render",value:function(){var e=this.props,n=e.buttonMetas,t=e.cssClass,o=e.heading,i=e.imageSrc,a=e.inputOnChange,r=e.onClose,c=e.subheading;return(0,s.jsxs)("div",{className:"jsx-245e417f1ef8b3e8 "+"component-ConfirmationPopup ".concat(t),children:[(0,s.jsx)(p(),{id:"245e417f1ef8b3e8",children:'.popup-button{width:129px;-webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px;height:40px}.popup-button.secondary{background-color:#8e9db9;color:#fff;border:none}.component-ConfirmationPopup{position:fixed;top:0;bottom:0;left:0;right:0;z-index:300}.component-ConfirmationPopup .flex-align-justify-center{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ConfirmationPopup .modal-scroll{height:100%;width:100%;padding:5vh 0;overflow-y:auto;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ConfirmationPopup .popup-container{margin:auto;z-index:100;width:95vw}.component-ConfirmationPopup .popup-content{background-color:#fff;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;height:560px}.component-ConfirmationPopup .popup-content img{height:100px;width:60px}.component-ConfirmationPopup .popup-content>span{width:240px;text-align:center;word-break:break-word}.component-ConfirmationPopup .popup-content>span.heading{font-family:"Open Sans",sans-serif;font-size:22px;font-weight:200;min-height:70px;line-height:1.21;letter-spacing:-.4px}.component-ConfirmationPopup .popup-content>span.subheading{font-size:14px;font-style:italic;min-height:65px;line-height:1.43}.component-ConfirmationPopup .popup-button{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:120px;margin-top:20px}.component-ConfirmationPopup .popup-button input{width:100%;height:auto;padding:10px 0}.component-ConfirmationPopup .popup-input{background-color:#f3f5f8;padding:16px;width:240px;margin-top:10px}.component-ConfirmationPopup .button-row a:nth-child(odd) .popup-button{margin-right:10px}.component-ConfirmationPopup .button-row a:nth-child(even) .popup-button{margin-left:10px}.component-ConfirmationPopup .button-row{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.component-ConfirmationPopup .button-row a:only-child .popup-button{width:180px;margin:20px auto 0}@media screen and (min-width:375px){.component-ConfirmationPopup .popup-container{width:340px}}@media screen and (min-width:576px){.component-ConfirmationPopup .popup-container{width:500px}}'}),(0,s.jsx)(N,{handleClose:r,children:(0,s.jsx)("div",{className:"jsx-245e417f1ef8b3e8 modal-scroll",children:(0,s.jsx)("div",{className:"jsx-245e417f1ef8b3e8 popup-container",children:(0,s.jsxs)("div",{className:"jsx-245e417f1ef8b3e8 popup-content flex-align-justify-center",children:[(0,s.jsx)("img",{alt:"confirmation",src:(0,A.Aq)(i,"xLarge"),className:"jsx-245e417f1ef8b3e8"}),(0,s.jsx)("span",{className:"jsx-245e417f1ef8b3e8 heading flex-align-justify-center",children:o}),(0,s.jsx)("span",{className:"jsx-245e417f1ef8b3e8 subheading flex-align-justify-center",children:c}),a&&(0,s.jsx)(d.UP,{classname:"popup-input",changeHandler:a}),(0,s.jsx)(T,{error:this.props.inputError}),(0,s.jsx)("div",{className:"jsx-245e417f1ef8b3e8 button-row",children:n.map(this.renderButton)})]})})})})]})}}]),t}(u.PureComponent),R=function(e){var n=e.hash,t=e.onHandleDelete,o=(0,u.useContext)(f.G),i=o.getContent,a=o.deleteCommunityContent,c=(0,h.Z)().user,l=c.isLoggedIn,d=c.id,m=c.username,x=(0,r.Z)((0,u.useState)(!1),2),b=x[0],g=x[1],w=i(n),v=(0,u.useCallback)(function(){l&&((0,E.qQ)({community_content_key:"".concat(w.type,"-").concat(n),misc_event_c
1ount:1,misc_event_type:"delete_content_clicked"}),b||g(!0))},[w.type,n,l,b]),y=(0,u.useCallback)(function(){b&&g(!1)},[b]),j=(0,u.useCallback)(function(){a(w.type,n),t&&t(),y()},[a,y,n,w.type,w.hash,d,m]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{onClick:v,onKeyPress:v,role:"button",tabIndex:0,className:"jsx-9d042488e49ec4a1 component-ModerationDelete",children:[(0,s.jsx)(p(),{id:"9d042488e49ec4a1",children:".component-ModerationDelete.jsx-9d042488e49ec4a1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.component-ModerationDelete.jsx-9d042488e49ec4a1:focus{outline:none}.component-ModerationDelete.jsx-9d042488e49ec4a1 .moderationDelete-label.jsx-9d042488e49ec4a1{font-size:14px;line-height:34px;color:#353535;padding-top:2px}"}),(0,s.jsx)("span",{className:"jsx-9d042488e49ec4a1 moderationDelete-label",children:"Delete"})]}),(0,s.jsx)("div",{children:b&&(0,s.jsx)(O,{onClose:y,cssClass:"delete-confirmation",heading:"Are you sure you want to delete this ".concat("community-comment"===w.type?"comment":"post","?"),subheading:"This cannot be undone.",imageSrc:"v1562791783/EditDelete/deletemodule_trashcan.svg",buttonMetas:[{onClickHandler:j,buttonText:"Yes",buttonType:"primary"},{onClickHandler:y,buttonText:"No",buttonType:"secondary"}]})})]})};R.propTypes={hash:j().string.isRequired,onHandleDelete:j().func},R.defaultProps={onHandleDelete:function(){}},R.displayName="ModerationDelete";var U=function(e){var n=e.url,t=e.closeModal;return(0,s.jsxs)("a",{href:n,rel:"noreferrer",target:"_blank",onClick:t,className:"jsx-3d0525590290a24b component-Community-ModerationMenu-ModerationDirectLink",children:[(0,s.jsx)(p(),{id:"3d0525590290a24b",children:".component-Community-ModerationMenu-ModerationDirectLink.jsx-3d0525590290a24b{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%;font-size:14px;line-height:34px;color:#353535;padding-top:2px}.component-Community-ModerationMenu-ModerationDirectLinka.jsx-3d0525590290a24b,.component-Community-ModerationMenu-ModerationDirectLink.jsx-3d0525590290a24b:link,.component-Community-ModerationMenu-ModerationDirectLink.jsx-3d0525590290a24b:visited{color:#353535;text-decoration:none}.component-Community-ModerationMenu-ModerationDirectLink.jsx-3d0525590290a24b .component-Icons-DirectLinkIcon.jsx-3d0525590290a24b{margin-right:10px}"}),"Direct link"]})};U.propTypes={url:j().string.isRequired,closeModal:j().func},U.defaultProps={closeModal:function(){}},U.displayName="ModerationDirectLink";var D=u.memo(U),F=function(e){var n=e.hash,t=e.handleOnEditClick,o=e.closeMenu,i=(0,u.useContext)(f.G).getContent,a=(0,h.Z)().user.isLoggedIn,r=i(n),c=(0,u.useCallback)(function(){a&&(o(),t(),(0,E.qQ)({community_content_key:"".concat(r.type,"-").concat(n),misc_event_count:1,misc_event_type:"edit_content_clicked"}))},[r.type,n,a,t,o]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{onClick:c,onKeyPress:c,role:"button",tabIndex:0,className:"jsx-bd05679941007b48 component-ModerationEdit",children:[(0,s.jsx)(p(),{id:"bd05679941007b48",children:".component-ModerationEdit.jsx-bd05679941007b48{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.component-ModerationEdit.jsx-bd05679941007b48:focus{outline:none}.component-ModerationEdit.jsx-bd05679941007b48 .moderationEdit-label.jsx-bd05679941007b48{font-size:14px;line-height:34px;color:#353535;padding-top:2px}.component-ModerationEdit.jsx-bd05679941007b48 svg.jsx-bd05679941007b48{position:relative;left:6px;top:-webkit-calc(50% - 9.87px/2 + 1.06px);top:-moz-calc(50% - 9.87px/2 + 1.06px);top:calc(50% - 9.87px/2 + 1.06px);margin-right:13px}"}),(0,s.jsx)("span",{className:"jsx-bd05679941007b48 moderationEdit-label",children:"Edit"})]})})};F.propTypes={hash:j().string.isRequired,handleOnEditClick:j().func.isRequired,closeMenu:j().func},F.defaultProps={closeMenu:{}},F.displayName="ModerationEdit";var B=function(e){var n=e.title,t=e.secondaryText,o=e.buttonText,i=e.buttonOnClick,a=e.cancelButtonOnClick,r=e.className,c=e.minHeight,l=e.minWidth;return(0,s.jsxs)("div",{className:"jsx-eae9a3cc11c5a46 component-Elements-PopUp-SuccessPopup",children:[(0,s.jsx)(p(),{id:"eae9a3cc11c5a46",children:'.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .close.jsx-eae9a3cc11c5a46{cursor:pointer}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .fgb-bubble-logo.jsx-eae9a3cc11c5a46{width:120px;height:120px;background-image:url(https://d207ibygpg2z1x.cloudfront.net/image/upload/v1519321352/icons/fgb-bubble-logo.webp);background-position:50%;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;margin:auto}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .text-center.jsx-eae9a3cc11c5a46{background-color:white;padding:30px}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .allContent.jsx-eae9a3cc11c5a46{font-style:normal;height:200px}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .content.jsx-eae9a3cc11c5a46{height:128px!important;min-height:128px!important}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .title.jsx-eae9a3cc11c5a46{font-family:"Open sans",sans-serif;font-weight:200;font-size:30px;margin-bottom:20px;color:#353535}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .popupText.jsx-eae9a3cc11c5a46{font-family:"Open Sans",sans-serif;font-size:14px;
1width:200px;margin-bottom:30px;color:#353535}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .component-Elements-PopUp.jsx-eae9a3cc11c5a46 .text-center.jsx-eae9a3cc11c5a46 .button-div.jsx-eae9a3cc11c5a46{width:180px;height:40px;margin:20px auto 0}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .component-Elements-PopUp.jsx-eae9a3cc11c5a46 .component-Input-Button.jsx-eae9a3cc11c5a46{margin:auto}.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .component-Elements-PopUp.jsx-eae9a3cc11c5a46 .component-Input-Button.jsx-eae9a3cc11c5a46 input.jsx-eae9a3cc11c5a46{height:35px;font-size:13px}@media(max-width:905px){.component-Elements-PopUp-SuccessPopup.jsx-eae9a3cc11c5a46 .content.jsx-eae9a3cc11c5a46{height:363px!important;min-height:363px!important}}'}),(0,s.jsxs)(L,{className:r,showPopUp:!0,absolutePosition:!0,showOverlay:!0,cancel:a,showLogo:!1,maxHeight:"370px",maxWidth:"360px",close:i,buttonText:o,minHeight:c,minWidth:l,hideCloseButton:!0,clickOutside:!0,children:[(0,s.jsx)("div",{className:"jsx-eae9a3cc11c5a46 title",children:n}),(0,s.jsx)("div",{className:"jsx-eae9a3cc11c5a46 popupText",children:t})]})]})};B.displayName="SuccessPopup";var q=function(e){var n=e.hash,t=(0,u.useContext)(f.G),o=t.vote,i=t.getContent,a=(0,h.Z)().user,c=a.isLoggedIn,l=a.id,d=a.username,m=(0,r.Z)((0,u.useState)(!1),2),x=m[0],g=m[1],w=(0,r.Z)((0,u.useState)(!1),2),v=w[0],y=w[1],j=i(n),k=(0,u.useCallback)(function(){o(n,"flag"),g(!1)},[n,o,g]),C=(0,u.useCallback)(function(){g(!1)},[g]),_=(0,u.useCallback)(function(){if(c){if(v){o(n,"flag");return}g(!0)}},[n,v,c,o,j.type,j.hash,l,d]);(0,u.useEffect)(function(){y(j.userFlagged)},[y,j.userFlagged]);var Z={login_trigger:"moderation-menu-flag",community_content_key:"".concat(j.type,"-").concat(n),community_on_comment:"community-comment"===j.type,fireMultiple:!0};return(0,s.jsxs)(b.c,{redirectUrl:null==window?void 0:window.location.pathname,loginTrigger:"moderation-menu-flag-".concat(n),customMetrics:Z,children:[(0,s.jsx)(p(),{id:"c6a874303fb30c61",children:".component-ModerationFlag{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.component-ModerationFlag:focus{outline:none}.component-ModerationFlag .moderationFlag-label{font-size:14px;line-height:34px;color:#353535;padding-top:2px}.allContent{height:200px!important}.content{height:128px!important;min-height:128px!important}@media(max-width:905px){.component-Elements-PopUp-SuccessPopup .content{height:163px!important;min-height:163px!important}.component-Elements-PopUp-SuccessPopup .allContent{width:200px}.component-ModerationAdmin .content{height:363px!important;min-height:363px!important}}@media(max-width:770px){.component-Elements-PopUp-SuccessPopup .allContent{width:255px;height:255px!important}.component-Elements-PopUp-SuccessPopup .content{padding-left:30px;padding-right:30px;padding-top:25px}}"}),(0,s.jsx)("div",{onClick:_,onKeyPress:_,role:"button",tabIndex:0,className:"jsx-c6a874303fb30c61 component-ModerationFlag",children:(0,s.jsx)("span",{className:"jsx-c6a874303fb30c61 moderationFlag-label",children:v?"Flagged":"Flag"})}),(0,s.jsx)("div",{className:"jsx-c6a874303fb30c61",children:x&&(0,s.jsx)(B,{title:"Flag this item",buttonOnClick:k,buttonText:"Yes, please.",cancelButtonOnClick:C,secondaryText:"Would you like to submit this item for review by our Community Manager?",showLogo:!1,className:"moderation-flag-style"})})]})};q.propTypes={hash:j().string.isRequired},q.defaultProps={},q.displayName="ModerationFlag";var G=function(e){var n,t,o,i,a,c=e.hash,l=e.type,d=e.handleOnEditClick,m=e.editboxShowing,g=e.onMenuClick,w=e.disableDelete,v=e.onHandleDelete,y=(0,h.Z)().user,j=(0,u.useContext)(f.G).getContent,k="editorial-content"!==l?j(c):(0,x.L5)(l,c,!1),C=null==y?void 0:y.isAdmin,_=(null===(n=k.author)||void 0===n?void 0:n.userId)===(null==y?void 0:y.id),Z=(null==k?void 0:k.type)==="community-comment",M=k.flaggingEnabled&&!_||!1,z=(0,r.Z)((0,u.useState)(!1),2),L=z[0],I=z[1],P=(0,u.useRef)();(0,u.useEffect)(function(){g&&g(L)},[L,g]),Z&&!_&&(M=!0);var S=!!k.deletable&&!w,E=!!k.editable&&"community-podcast"!==k.type&&"editorial-content"!==k.type,A=(0,u.useCallback)(function(){switch(k.type){case"editorial-content":return k.article.contentTitle;
1case"community-podcast":return k.podcast.contentTitle;case"community-link":var e;return null===(e=k.link)||void 0===e?void 0:e.previewDescription;default:return k.title||k.description}},[null===(t=k.article)||void 0===t?void 0:t.contentTitle,k.description,null===(o=k.link)||void 0===o?void 0:o.previewDescription,null===(i=k.podcast)||void 0===i?void 0:i.contentTitle,k.title,k.type]),T={login_trigger:"moderation-menu",community_content_key:"".concat(k.type,"-").concat(k.hash),community_on_comment:"community-comment"===k.type,fireMultiple:!0},N=function(e){if(null==P?void 0:P.current.contains(e.target)){I(!0);return}I(!1)};(0,u.useEffect)(function(){return document.addEventListener("mousedown",N),function(){document.removeEventListener("mousedown",N)}},[]);var O="{moderationMenu-".concat(k.hash,"}");return(0,s.jsx)(b.c,{redirectUrl:null==window?void 0:null===(a=window.location)||void 0===a?void 0:a.pathname,loginTrigger:O,customMetric:T,children:(0,s.jsxs)("div",{ref:P,className:"jsx-2347aab15b8e0b08 component-ModerationMenu",children:[(0,s.jsx)(p(),{id:"2347aab15b8e0b08",children:".component-ModerationMenu.jsx-2347aab15b8e0b08{width:30px;height:30px;position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ModerationMenu.jsx-2347aab15b8e0b08 .moderationMenu-content.jsx-2347aab15b8e0b08{display:block;position:absolute;right:0;top:30px;z-index:1;width:175px;min-height:60px;padding:12px 0;-webkit-box-shadow:1px 1px 2px 0#c4c8cc;-moz-box-shadow:1px 1px 2px 0#c4c8cc;box-shadow:1px 1px 2px 0#c4c8cc;border:solid 1px#c4c8cc;background-color:#fff;cursor:pointer}.component-ModerationMenu.jsx-2347aab15b8e0b08 .moderationMenu-content.jsx-2347aab15b8e0b08 .moderationMenu-item.jsx-2347aab15b8e0b08{text-decoration:none;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:40px;padding:0 15px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ModerationMenu.jsx-2347aab15b8e0b08 .moderationMenu-content.jsx-2347aab15b8e0b08 .moderationMenu-item.jsx-2347aab15b8e0b08 .wrap-auth-div.jsx-2347aab15b8e0b08{width:100%}.component-ModerationMenu.jsx-2347aab15b8e0b08 .moderationMenu-content.jsx-2347aab15b8e0b08 .moderationMenu-item.jsx-2347aab15b8e0b08:hover{background-color:#f3f5f8;font-weight:700}"}),(0,s.jsx)("button",{"aria-label":"Edit",type:"button",onClick:N,className:"jsx-2347aab15b8e0b08 moderationMenu-button pt-1 pl-2"}),L?(0,s.jsxs)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-content",children:[C&&!Z?(0,s.jsx)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-item",children:(0,s.jsx)(D,{url:window.location.pathname,closeModal:function(){return I(!1)}})}):null,M?(0,s.jsx)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-item",children:(0,s.jsx)(q,{hash:c})}):null,(E||_)&&!m?(0,s.jsx)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-item",children:(0,s.jsx)(F,{hash:c,handleOnEditClick:d,closeMenu:function(){I(!1)}})}):null,S||_?(0,s.jsx)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-item",children:(0,s.jsx)(R,{hash:c,onHandleDelete:v})}):null,C?(0,s.jsx)("div",{className:"jsx-2347aab15b8e0b08 moderationMenu-item",children:(0,s.jsx)(H,{hash:c,title:A(),type:k.type||l})}):null]}):null]})})};G.displayName="ModerationMenu";var V=function(){return(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jsx-33579276383d8a20",children:[(0,s.jsx)(p(),{id:"33579276383d8a20",children:'.Admin-menu.jsx-33579276383d8a20{font-family:"Open sans",sans-serif}.Admin-menu.jsx-33579276383d8a20 .title.jsx-33579276383d8a20{max-width:400px;margin:10px}.Admin-menu.jsx-33579276383d8a20 ul.jsx-33579276383d8a20{padding:0;margin:1rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.Admin-menu.jsx-33579276383d8a20 .link.jsx-33579276383d8a20{margin:10px;padding:5px;width:240px}.Admin-menu.jsx-33579276383d8a20 .link.jsx-33579276383d8a20:focus{outline:none}.Admin-menu.jsx-33579276383d8a20 .link.jsx-33579276383d8a20 a.jsx-33579276383d8a20:hover{color:white}.Admin-menu.jsx-33579276383d8a20 .pt-1.jsx-33579276383d8a20:focus{outline:none}@media(max-width:905px){.component-Elements-PopUp-SuccessPopup.jsx-33579276383d8a20 .content.jsx-33579276383d8a20{height:363px!important;min-height:363px!important}.Admin-menu.jsx-33579276383d8a20 .allContent.jsx-33579276383d8a20{height:300px!important}.allContent.jsx-33579276383d8a20{width:auto}}'}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2C8 1.44772 8.44772 1 9 1H11C11.5523 1 12 1.44772 12 2V3H15H17H18C18.5523 3 19 3.44772 19 4C19 4.55228 18.5523 5 18 5H17V17C17 18.1046 16.1046 19 15 19H5C3.89543 19 3 18.1046 3 17V5H2C1.44772 5 1 4.55228 1 4C1 3.44772 1.44772 3 2 3H3H5H8V2ZM5 5L5 17H15V5H5ZM7 14.5C7 15.0523 7.44772 15.5 8 15.5C8.55228 15.5 9 15.0523 9 14.5V7.5C9 6.94771 8.55228 6.5 8 6.5C7.44772 6.5 7 6.94771 7 7.5V14.5ZM12 15.5C11.4477 15.5 11 15.0523 11 14.5V7.5C11 6.94771 11.4477 6.5 12 6.5C12.5523 6.5 13 6.94771 13 7.5V14.5C13 15.0523 12.5523 15.5 12 15.5Z",fill:"#353535",className:"jsx-33579276383d8a20"})]})},W=function(){return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2H8C9.30625 2 10.4175 2.83485 10.8293 4.00009L15 4C16.5977 4 17.9037 5.24892 17.9949 6.82373L18 7V13C18 14.5977 16.7511 15.9037 15.1763 15.9949L15 16H12C10.6941 16 9.58312 15.1656 9.17102 14.0009L4 14V17C4 17.5523 3.55228 18 3 18C2.44772 18 2 17.5523 2
117V3C2 2.44772 2.44772 2 3 2ZM11 6V13C11 13.5128 11.386 13.9355 11.8834 13.9933L12 14H15C15.5128 14 15.9355 13.614 15.9933 13.1166L16 13V7C16 6.48716 15.614 6.06449 15.1166 6.00673L15 6H11ZM8 4H4V12H9V5C9 4.48716 8.61396 4.06449 8.11662 4.00673L8 4Z",fill:"#202532"})})},K=function(e){var n=e.color;return(0,s.jsxs)("svg",{width:"4",height:"20",viewBox:"0 0 4 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_1396_67234)",children:[(0,s.jsx)("circle",{cx:"2",cy:"18",r:"2",transform:"rotate(-90 2 18)",fill:n}),(0,s.jsx)("circle",{cx:"2",cy:"10",r:"2",transform:"rotate(-90 2 10)",fill:n}),(0,s.jsx)("circle",{cx:"2",cy:"2",r:"2",transform:"rotate(-90 2 2)",fill:n})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_1396_67234",children:(0,s.jsx)("rect",{width:"20",height:"4",fill:"white",transform:"translate(0 20) rotate(-90)"})})})]})},X=function(){return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 16C17.5523 16 18 16.4477 18 17C18 17.5523 17.5523 18 17 18H3C2.44772 18 2 17.5523 2 17C2 16.4477 2.44772 16 3 16H17ZM6.29289 9.29289L13.2929 2.29289C13.6534 1.93241 14.2206 1.90468 14.6129 2.2097L14.7071 2.29289L17.7071 5.29289C18.0676 5.65338 18.0953 6.22061 17.7903 6.6129L17.7071 6.70711L10.7071 13.7071C10.5508 13.8634 10.3481 13.9626 10.1314 13.9913L10 14H7C6.48716 14 6.06449 13.614 6.00673 13.1166L6 13V10C6 9.77899 6.07316 9.56552 6.20608 9.39197L6.29289 9.29289L13.2929 2.29289L6.29289 9.29289ZM14 4.41421L8 10.4142V12H9.58579L15.5858 6L14 4.41421Z",fill:"#202532"})})},Q=function(){return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2C1.89543 2 1 2.89543 1 4V12C1 13.1014 1.88978 14 2.99755 14H6V17C6 18.1046 6.89543 19 8 19H16C17.1046 19 18 18.1046 18 17V9C18 7.89543 17.1046 7 16 7H13V4C13 2.89543 12.1046 2 11 2H3ZM11 7V4L3 4V12H6V9C6 7.89543 6.89543 7 8 7H11ZM8 14H11L9.95284 14.9623C9.60783 15.3935 9.67775 16.0228 10.109 16.3678C10.5403 16.7128 11.1696 16.6429 11.5146 16.2117L14.0588 13.2529C14.2203 13.0649 14.2199 12.787 14.0577 12.5996L11.5704 9.72616C11.1799 9.33563 10.5467 9.33563 10.1562 9.72616C9.76565 10.1167 9.76565 10.7498 10.1562 11.1404L11 12.0013L8 12V9H16V17H8V14Z",fill:"#353535"})})},Y=function(){return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0066 3.85486L13.6685 4.25227C13.6685 4.25227 15.6448 3.89745 15.7597 3.88664C16.3577 3.81118 17.0018 4.14158 17.3026 4.67759L18.1321 6.15558C18.4342 6.69385 18.3909 7.43558 18.0413 7.90489C17.9602 8.02239 16.6754 9.60531 16.6754 9.60531C16.6754 9.60531 16.6835 9.72221 16.6835 9.99992C16.6835 10.1337 16.6723 10.4 16.6723 10.4C16.6723 10.4 17.9602 11.9774 18.0266 12.0743C18.3891 12.5694 18.4329 13.3083 18.1321 13.8443L17.3026 15.3222C17.0005 15.8606 16.3543 16.1928 15.7786 16.1154C15.7739 16.1149 13.6579 15.7465 13.6579 15.7465L13.0066 16.1415C13.0066 16.1415 12.3154 18.0801 12.2671 18.1877C12.0316 18.7581 11.4314 19.1666 10.8298 19.1666H9.17081C8.56655 19.1666 7.96379 18.757 7.74349 18.2108C7.68519 18.0799 6.99214 16.1344 6.99214 16.1344L6.32811 15.7449C6.32811 15.7449 4.35561 16.1025 4.24079 16.1133C3.64281 16.1887 2.99883 15.8582 2.69803 15.3222L1.86852 13.8443C1.56639 13.3059 1.60983 12.5641 1.95947 12.0948C2.04062 11.9773 3.32662 10.3931 3.32662 10.3931C3.32662 10.3931 3.31716 10.2777 3.31716 9.99992C3.31716 9.8687 3.32789 9.60761 3.32789 9.60761C3.32789 9.60761 2.04062 8.02251 1.97413 7.92564C1.61158 7.4306 1.56769 6.6916 1.86852 6.15558L2.69803 4.67759C3.00013 4.13932 3.64623 3.80707 4.2161 3.88382C4.35561 3.89736 6.34764 4.25432 6.34764 4.25432L7.00168 3.85435C7.00168 3.85435 7.68519 1.91997 7.73347 1.81236C7.96895 1.24186 8.56914 0.833252 9.17081 0.833252H10.8298C11.434 0.833252 12.0368 1.24273 12.2571 1.78879C12.3154 1.91977 13.0066 3.85486 13.0066 3.85486ZM11.5372 5.19142L11.4175 4.77951C11.2435 4.18056 10.7501 2.82267 10.6975 2.69557C10.667 2.6219 9.33357 2.62192 9.30311 2.69561C9.25056 2.82271 8.75727 4.18056 8.58325 4.77943L8.46356 5.19136L8.07913 5.36006C7.71587 5.51947 7.37279 5.72381 7.05712 5.96813L6.72267 6.22697L6.31546 6.12748C5.72388 5.98293 4.33317 5.74333 4.19979 5.7266C4.12248 5.71689 3.45574 6.90492 3.50256 6.96893C3.58334 7.07936 4.48029 8.19828 4.89766 8.65293L5.18429 8.96516L5.13453 9.39155C5.11112 9.59218 5.09931 9.79518 5.09931 9.9999C5.09931 10.2046 5.11112 10.4076 5.13453 10.6082L5.18429 11.0346L4.89766 11.3469C4.48029 11.8015 3.58334 12.9204 3.50256 13.0309C3.45574 13.0949 4.12248 14.2829 4.19979 14.2732C4.33317 14.2565 5.72388 14.0169 6.31546 13.8723L6.72267 13.7728L7.05712 14.0317C7.37279 14.276 7.71587 14.4803 8.07913 14.6397L8.46356 14.8084L8.58325 15.2204C8.75727 15.8192 9.25056 17.1771 9.30311 17.3042C9.33357 17.3779 10.667 17.3779 10.6975 17.3042C10.7501 17.1771 11.2435 15.8192 11.4175 15.2203L11.5372 14.8084L11.9216 14.6397C12.2848 14.4802 12.6279 14.2759 12.9436 14.0316L13.278 13.7727L13.6853 13.8722C14.2768 14.0167 15.6674 14.2564 15.8008 14.2731C15.8464 14.2789 16.5449 13.0949 16.4981 13.0308C16.4173 12.9204 15.5204 11.8014 15.1029 11.3467L14.8163 11.0345L14.8661 10.6081C14.8895 10.4075 14.9013 10.2046 14.9013 9.9999C14.9013 9.79524 14.8895 9.5923 14.8661 9.39172L14.8163 8.96535L15.1029 8.65313C15.5204 8.19842 16.4173 7.07939 16.4981 6.96896C16.5449 6.90494 15.8781 5.71695 15.8008 5.72666C15.6674 5.74341 14.2768 5.98307 13.6853 6.1276L13.278 6.2271L12.9436 5.96823C12.6279 5.7239 12.2848 5.51955 11.9216 5.36013L11.5372 5.19142ZM10.0003 12.7499C8.52392 12.7499 7.32706 11.5187 7.32706 9.99992C7.32706 8.48113 8.52392 7.24992 10.0003 7.24992C11.4767 7.24992 12.6736 8.48113 12.6736 9.99992C12.6736 11.5187 11.4767 12.7499 10.0003 12.7499ZM10.0003 10.9166C10.4924 10.9166 10.8914 10.5062 10.8914 9.99994C10.8914 9.49368 10.4924 9.08328 10.0003 9.08328C9.50815 9.08328 9.10919 9.49368 9.10919 9.99994C9.10919 10.5062 9.50815 10.9166 10.0003 10.9166Z",fill:"#353535"})})},$=function(){return(0,s.jsx)("svg",{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1.96934 7.5919C1.51884 8.02874 0.788447 8.02874 0.337951 7.5919C-0.112545 7.15506 -0.112545 6.44679 0.337951 6.00995L6.18437 0.4082C6.63487 -0.0286447 7.36527 -0.0286447 7.81576 0.4082L13.6622 6.00995C14.1127 6.44679 14.1127 7.15506 13.6622 7.5919C13.2117 8.02874 12.4813 8.02874 12.0308 7.5919L7.00007 2.78113L1.96934 7.5919Z",fill:"#353535"})})},J=function(){return(0,s.jsx)("svg",{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M12.0307 0.4081C12.4812 -0.0287442 13.2116 -0.0287442 13.662 0.4081C14.1125 0.844944 14.1125 1.55321 13.662 1.99005L7.81563 7.5918C7.36513 8.02864 6.63473 8.02864 6.18424 7.5918L0.337792 1.99005C-0.112703 1.55321 -0.112703 0.844944 0.337792 0.4081C0.788288 -0.0287442 1.51869 -0.0287442 1.96919 0.4081L6.99993 5.21887L12.0307 0.4081Z",fill:"#353535"})})},ee={normal:"#999999",hover:"#353535"},en=function(e,n){var t=ee[n]||ee.normal,o={up:(0,s.jsx)($,{}),down:(0,s.jsx)(J,{}),settings:(0,s.jsx)(Y,{}),link:(0,s.jsx)(Q,{}),ellipse:(0,s.jsx)(K,{color:t}),edit:(0,s.jsx)(X,{}),flag:(0,s.jsx)(W,{}),delete:(0,s.jsx)(V,{})};return'url("data:image/svg+xml,'.concat(encodeURIComponent((0,m.renderToStaticMarkup)(o[e])),'")')},et=function(e){var n=e.hash,t=e.type,c=e.location,l=e.handleOnEditClick,d=e.editboxShowing,m=e.isAdmin,f=(0,a.Z)(e,["hash","type","location","handleOnEditClick","editboxShowing","isAdmin"]),x=(0,r.Z)((0,u.useState)(!1),2),h=x[0],b=x[1];return m||"editorial-content"!==t&&"community-podcast"!==t?(0,s.jsxs)(eo,(0,i.Z)((0,o.Z)({pr:{_:"0px",md:"12px"},position:{_:"absolute",md:"inherit"},right:"4px"},f),{children:[(0,s.jsx)(p(),{id:"887ac4b34fa9e067",dynamic:[en("link"),en("settings"),en("edit"),en("flag"),en("delete"),en("ellipse",h&&"hover"),en("ellipse",h&&"hover")],children:'.Admin-menu{font-family:"Open sans",sans-serif}.Admin-menu .title{max-width:400px;margin:10px}.Admin-menu ul{padding:0;margin:1rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.Admin-menu .link{margin:10px;padding:5px;width:240px}.Admin-menu .link:focus{outline:none}.Admin-menu .link a:hover{color:white}.Admin-menu .pt-1:focus{outline:none}.moderationMenu-content{margin-top:10px!important;width:160px!important;boxshadow:0px 4px 8px rgba(53,53,53,.2)!important;-webkit-border-radius:6px!important;-moz-border-radius:6px!important;border-radius:6px!important;border:none}.component-Community-ModerationMenu-ModerationDirectLink{background-repeat:no-repeat;padding-left:28px;background-image:'.concat(en("link"),";background-position-y:3px;background-position-x:2px;text-transform:capitalize}.component-Community-ModerationMenu-ModerationDirectLink svg{display:none}.component-ModerationAdmin{background-repeat:no-repeat;padding-left:20px;background-image:").concat(en("settings"),";background-position-y:9px;background-position-x:0px;text-transform:capitalize}.component-ModerationAdmin svg{display:none}.component-ModerationEdit{background-repeat:no-repeat;padding-left:30px;background-image:").concat(en("edit"),";background-position-y:9px;background-position-x:2px;text-transform:capitalize}.component-ModerationEdit svg{display:none}.component-ModerationFlag{background-repeat:no-repeat;padding-left:29px;background-image:").concat(en("flag"),";background-position-y:9px;background-position-x:2px;text-transform:capitalize}.component-ModerationFlag svg{display:none}.component-ModerationDelete{background-repeat:no-repeat;padding-left:30px;background-image:").concat(en("delete"),";background-position-y:9px;background-position-x:2px;text-transform:capitalize}.component-ModerationDelete svg{display:none}.moderationMenu-item{padding-left:18px!important}.moderationMenu-item svg{display:none}.moderationMenu-item:hover{background-color:#f0f2f5!important;font-weight:600!important}.component-Dots{display:none}.component-ModerationMenu .moderationMenu-button{display:inline-block;border:none;text-decoration:none;cursor:pointer;background:none}.component-ModerationMenu .moderationMenu-button:focus{outline:none}.component-ModerationMenu .moderationMenu-button{background-image:").concat(en("ellipse",h&&"hover"),";background-position-x:12px!important;background-repeat:no-repeat!important;font-family:Open Sans!important;font-style:normal;height:28px;width:28px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ModerationMenu .moderationMenu-button svg{display:none}.component-ModerationMenu .moderationMenu-button:hover{background-image:").concat(en("ellipse",h&&"hover"),";background-position-x:12px!important;background-repeat:no-repeat!important;font-family:Open Sans!important;font-style:normal;height:28px;width:28px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-ModerationMenu{width:auto;height:auto}.component-ModerationMenu .compoent-Dots{display:none}.component-ModerationMenu .active.component-Dots svg{display:none!important}@media(max-width:905px){.Admin-menu .allContent{height:300px!important}}")}),(0,s.jsx)(G,{hash:n,type:t,onMenuClick:b,disableDelete:!l,location:c,handleOnEditClick:l,editboxShowing:d})]})):null},eo=(0,c.ZP)(d.G7).withConfig({componentId:"sc-37776071-0"})({})},91060:function(e,n,t){t.d(n,{a:function(){return o}});var o={FACEBOOK:"facebook",LINKED_IN:"linkedin",CLICKED_LINK:"link"}},52429:function(e,n,t){t.d(n,{ZP:function(){return w},sW:function(){return h},cg:function(){return b}});var o=t(34727),i=t(80969),a=t(70655),r=t(85893),s=t(51857),c=t.n(s),l=t(67294),p=t(9784),d=function(e){var n=e.width,t=e.height;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",style:{fill:"rgb(255, 255, 255)",width:void 0===n?"32px":n,height:void 0===t?"32px":t},children:(0,r.jsx)("path",{d:"M23.476 20.663c0-.324-.114-.6-.34-.825l-2.524-2.524a1.124 1.124 0 00-.826-.34c-.34 0-.63.13-.873.388.024.024.1.1.23.225s.217.212.26.26c.046.05.106.126.183.23a.976.976 0 01.2.644c0 .325-.113.6-.34.827-.226.226-.5.34-.825.34-.12 0-.23-.015-.332-.043a.976.976 0 01-.31-.158 2.89 2.89 0 01-.23-.182 7.506 7.506 0 01-.26-.26l-.226-.23c-.267.25-.4.545-.4.885 0 .322.113.597.34.824l2.5 2.512c.218.218.493.328.825.328.323 0 .598-.106.825-.316l1.784-1.772a1.11 1.11 0 00.34-.813zm-8.532-8.556c0-.323-.113-.598-.34-.825l-2.5-2.512a1.124 1.124 0 00-.825-.34c-.316 0-.59.11-.826.328L8.67 10.53a1.11 1.11 0 00-.34.813c0 .323.113.598.34.825l2.524 2.524c.22.22.494.328.825.328.34 0 .63-.126.873-.376-.024-.025-.1-.1-.23-.225a7.506 7.506 0 01-.26-.262 2.89 2.89 0 01-.183-.23.976.976 0 01-.2-.644c0-.323.113-.598.34-.825.226-.227.5-.34.824-.34a.976.976 0 01.643.2c.106.077.183.137.23.182.05.044.137.13.262.26s.2.207.224.23c.267-.25.4-.545.4-.885zm10.862 8.556c0 .97-.344 1.792-1.032 2.464L22.99 24.9c-.67.67-1.492 1.006-2.463 1.006-.98 0-1.805-.344-2.476-1.032l-2.5-2.512c-.67-.67-1.006-1.493-1.006-2.463 0-.997.356-1.842 1.068-2.538l-1.068-1.068c-.696.712-1.538 1.068-2.525 1.068-.97 0-1.797-.34-2.476-1.02L7.02 13.82C6.34 13.138 6 12.314 6 11.343c0-.97.344-1.792 1.032-2.464l1.784-1.773c.67-.67 1.492-1.007 2.463-1.007.978 0 1.803.344 2.475 1.032l2.5 2.512c.67.67 1.007 1.492 1.007 2.463 0 .995-.356 1.84-1.068 2.537l1.068 1.068c.696-.712 1.537-1.068 2.524-1.068.97 0 1.797.34 2.476 1.02l2.524 2.523c.68.68 1.02 1.505 1.02 2.476z"})})},u=t(54615),m=function(e){var n=e.width,t=e.height,o=e.color;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"rgb(255, 255, 255)",width:void 0===n?"32px":n,height:void 0===t?"32px":t},children:(0,r.jsx)("path",{fill:void 0===o?"#fff":o,fillRule:"evenodd",d:"M3 12a9 9 0 1118 0 9 9 0 01-18 0zm9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.8 7.6a1 1 0 10-1.6-1.2l-5.308 7.078-2.185-2.185a1 1 0 00-1.414 1.414l3 3A1 1 0 0010.8 16.6l6-8z",clipRule:"evenodd"})})},f=t(70259),x=t(91060),h=function(e){var n=encodeURIComponent(e);return"".concat("https://www.facebook.com/sharer/sharer.php?u=").concat(n)},b=function(e){var n=encodeURIComponent(e);return"".concat("https://www.linkedin.com/sharing/share-offsite/?url=").concat(n)},g=function(e){var n,t=e.hash,s=e.type,g=e.location,w="".concat("https://fairygodboss.com").concat("editorial-content"===s?"/career-topics":"","/").concat(t),v=(0,i.Z)(l.useState(!1),2),y=v[0],j=v[1],k=function(e,n){(0,p.qQ)({community_content_key:"".concat(s,"-").concat(t),community_content_location:g,share_destination:n,misc_event_type:"social-bar-share",share:1})},C=(n=(0,o.Z)(function(e){return(0,a.__generator)(this,function(n){switch(n.label){case 0:if(!(null==navigator?void 0:navigator.clipboard))return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,navigator.clipboard.writeText("".concat(w,"?utm_source=").concat(x.a.CLICKED_LINK,"&utm_medium=content-share"))];case 2:return n.sent(),j(!0),setTimeout(function(){return j(!1)},2e3),k(e,"link"),[3,4];case 3:return n.sent(),console.warn(e),[3,4];case 4:return[2]}})}),function(e){return n.apply(this,arguments)});return(0,r.jsxs)("div",{className:"jsx-867838171c639953 component-SocialShareBar",children:[(0,r.jsx)(c(),{id:"867838171c639953",children:'.component-SocialShareBar.jsx-867838171c639953{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.share-btn.jsx-867838171c639953{margin-right:5px;padding:5px;display:inline-block;line-height:0}.share-btn.jsx-867838171c639953:hover{-webkit-transform:translatey(-4px);-moz-transform:translatey(-4px);-ms-transform:translatey(-4px);-o-transform:translatey(-4px);transform:translatey(-4px)}.link-copied.jsx-867838171c639953{position:absolute;right:-82px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0px}.copied-label.jsx-867838171c639953{font-family:"Open Sans";font-size:14px;margin-left:10px}'}),(0,r.jsx)("a",{role:"button",onClick:function(e){return k(e,"linkedin")},href:b(w),target:"_blank",tabIndex:"0",style:{backgroundColor:"rgb(0, 119, 181)"},className:"jsx-867838171c639953 share-btn",children:(0,r.jsx)(f.Z,{})}),(0,r.jsx)("a",{target:"_blank",onClick:function(e){return k(e,"facebook")},href:h(w),role:"button",tabIndex:"0",style:{backgroundColor:"rgb(59, 89, 152)"},className:"jsx-867838171c639953 share-btn",children:(0,r.jsx)(u.Z,{})}),(0,r.jsxs)("div",{onClick:function(e){return C(e,"link")},role:"button",tabIndex:"0",onKeyDown:function(){return null},style:{backgroundColor:"rgb(23, 139, 244)"},className:"jsx-867838171c639953 share-btn",children:[!y&&(0,r.jsx)(d,{}),y&&(0,r.jsx)(m,{})]})]})};g.displayName="SocialShareBar";var w=g},42080:function(e,n,t){t.d(n,{zt:function(){return P}});var o=t(95209),i=t(34727),a=t(75815),r=t(18352),s=t(67573),c=t(55577),l=t(14251),p=t(52875),d=t(69779),u=t(43206),m=t(70655),f=t(85893),x=t(6154),h=t(67294),b=t(9784),g=["/v1525721195/userImages/blurred-avatar-01.webp","/v1525721195/userImages/blurred-avatar-02.webp","/v1525721196/userImages/blurred-avatar-03.webp","/v1525721196/userImages/blurred-avatar-04.webp","/v1525721195/userImages/blurred-avatar-05.webp","/v1525721195/userImages/blurred-avatar-06.webp","/v1525721195/userImages/blurred-avatar-07.webp","/v1525721195/userImages/blurred-avatar-08.webp","/v1525721196/userImages/blurred-avatar-09.webp","/v1525721196/userImages/blurred-avatar-11.webp","/v1525721196/userImages/blurred-avatar-12.webp","/v1525721197/userImages/blurred-avatar-13.webp","/v1525721196/userImages/blurred-avatar-14.webp","/v1525721196/userImages/blurred-avatar-15.webp","/v1525721197/userImages/blurred-avatar-16.webp","/v1525721197/userImages/blurred-avatar-17.webp","/v1525721197/userImages/blurred-avatar-18.webp","/v1525721197/userImages/blurred-avatar-19.webp","/v1525721197/userImages/blurred-avatar-20.webp","/v1525721198/userImages/blurred-avatar-21.webp","/v1525721198/userImages/blurred-avatar-22.webp","/v1525721196/userImages/blurred-avatar-23.webp","/v1525721197/userImages/blurred-avatar-24.webp","/v1525721198/userImages/blurred-avatar-25.webp","/v1525721198/userImages/blurred-avatar-26.webp","/v1525721198/userImages/blurred-avatar-27.webp","/v1525721198/userImages/blurred-avatar-28.webp","/v1525721198/userImages/blurred-avatar-29.webp","/v1525721198/userImages/blurred-avatar-30.webp","/v1525721198/userImages/blurred-avatar-31.webp","/v1525721199/userImages/blurred-avatar-32.webp","/v1525721198/userImages/blurred-avatar-33.webp","/v1525721199/userImages/blurred-avatar-34.webp","/v1525721199/userImages/blurred-avatar-35.webp","/v1525721199/userImages/blurred-avatar-36.webp","/v1525721199/userImages/blurred-avatar-37.webp"],w=t(45697),v=t.n(w),y="community-comment",j="like",k="flag",C="none",_="single",Z="none",M="/api/user/user-community-profile-attribution",z=function(e){(0,c.Z)(t,e);var n=(0,u.Z)(t);function t(e){(0,a.Z)(this,t),d=n.call(this,e);var r,c,l,p,d,u=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"attribution",(0,i.Z)(function(){var e,n,t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:if(u.updateAuthorRelationsToUser(),!u.props.isLoggedIn)return[3,4];if(u.props.attributionMode!==_)return[3,2];return e=u.getContent(u.props.singleAttributionContentHash),[4,u.attributionRequestSingle(e.type,e.hash)];case 1:return n=o.sent(),u.resolveAttribution(n),[3,4];case 2:if("cherrypick"!==u.props.attributionMode)return[3,4];return[4,u.attributionRequestAll()];case 3:t=o.sent(),u.resolveAttributionAll(t),o.label=4;case 4:return[2]}})}));var f=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"attributionRequestAll",(0,i.Z)(function(){var e,n,t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:e=[],n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.map(function(e){t.push(e.hash),t.concat(n(e.comments))}),t},f.state.content.map(function(t){e.push({contentType:t.type,hash:t.hash,commentHashes:n(t.comments)})}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,x.Z.post("/api/community/community-votes/attribute/contents",{contentArray:e})];case 2:return[2,o.sent().data];case 3:return console.log("error",t=o.sent()),f.sentry&&f.sentry.captureException(t),[2,!1];case 4:return[2]}})})),(0,s.Z)((0,o.Z)(d),"resolveAttributionAll",function(e){var n=[],t=function(e){Object.keys(e).map(function(t){var o=e[t];n.push({hash:t,voteTypes:o.voteTypes,moderation:o.moderation,commentHashes:[]})})};e.map(function(e){n.push({hash:e.hash,voteTypes:e.voteTypes,moderation:e.moderation,commentHashes:[]}),t(e.commentHashes)}),d.resolveAttribution(n)}),(0,s.Z)((0,o.Z)(d),"resolveAttribution",function(e){var n=[];e.map(function(e){n.push({hash:e.hash,updates:{userLiked:e.voteTypes.includes(j),userFlagged:e.voteTypes.includes(k),editable:e.moderation.editable,deletable:e.moderation.deletable}}),Object.keys(e.commentHashes).map(function(t){var o=e.commentHashes[t];n.push({hash:t,updates:{userLiked:o.voteTypes.includes(j),userFlagged:o.voteTypes.includes(k),editable:o.moderation.editable,deletable:o.moderation.deletable}})})}),d.updateContentBatch(n)});var h=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"attributionRequestSingle",(r=(0,i.Z)(function(e,n){var t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,x.Z.get("/api/community/community-votes/attribute/".concat(e,"/").concat(n))];case 1:return[2,o.sent().data];case 2:return console.log("error",t=o.sent()),h.sentry&&h.sentry.captureException(t),[2,!1];case 3:return[2]}})}),function(e,n){return r.apply(this,arguments)}));var b=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"vote",(c=(0,i.Z)(function(e,n){var t,o,i;return(0,m.__generator)(this,function(a){switch(a.label){case 0:if(t=b.getContent(e),n!==j)return[3,2];return[4,b.voteRequest(t,j,t.userLiked)];case 1:return a.sent()&&(o=t.userLiked?-1:1,i=t.likes+o,b.updateContent(e,{likes:i,userLiked:!0!==t.userLiked}),b.emitContentMetric(t,{community_vote_type:j,vote:o})),[3,3];case 2:n===k?(b.voteRequest(t,k,t.userFlagged),b.updateContent(e,{userFlagged:!t.userFlagged}),b.emitContentMetric(t,{community_vote_type:k,vote:t.userFlagged?-1:1})):(console.error("BAD VOTE TYPE:"+n),b.sentry&&b.sentry.captureMessage("".concat(b.props.attributionMode," MODE NOT SUPPORTED YET!"))),a.label=3;case 3:return[2]}})}),function(e,n){return c.apply(this,arguments)}));var g=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"voteRequest",(l=(0,i.Z)(function(e,n){var t,o,i,a,r,s=arguments;return(0,m.__generator)(this,function(c){switch(c.label){case 0:t=s.length>2&&void 0!==s[2]&&s[2],o="vote",i=e.type,a=e.hash,t&&(o="unvote"),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,x.Z.post("/api/community/community-votes/".concat(o,"/").concat(i),{t
1ype:n,hash_id:a,value:1})];case 2:return c.sent(),[2,!0];case 3:return console.log("ERROR",r=c.sent()),g.sentry&&g.sentry.captureException(r),[2,!1];case 4:return[2]}})}),function(e,n){return l.apply(this,arguments)})),(0,s.Z)((0,o.Z)(d),"updateContent",function(e,n){d.updateContentBatch([{hash:e,updates:n}])}),(0,s.Z)((0,o.Z)(d),"updateContentBatch",function(e){var n=Object.assign({},d.state),t={};d.createHashRef(n.content,t),e.map(function(e){var n=e.hash,o=e.updates;Object.keys(o).map(function(e){t[n]&&(t[n][e]=o[e]),d.state.refs[n]&&(d.state.refs[n][e]=o[e])})}),d.setState({content:n.content})}),(0,s.Z)((0,o.Z)(d),"getContent",function(e){return Object.assign({},d.state.refs[e])});var w=(0,o.Z)(d);(0,s.Z)((0,o.Z)(d),"emitMetricByHash",(p=(0,i.Z)(function(e,n){var t;return(0,m.__generator)(this,function(o){return t=w.getContent(e),w.emitContentMetric(t,n),[2]})}),function(e,n){return p.apply(this,arguments)})),(0,s.Z)((0,o.Z)(d),"emitMetric",function(e,n){return d.emitMetricByHash(e,n)}),(0,s.Z)((0,o.Z)(d),"createHashRef",function(e,n){var t=function(e){n[e.hash]=e,n[e.hash].userFlagged=!!e.userFlagged&&e.userFlagged,n[e.hash].userLiked=!!e.userLiked&&e.userLiked,n[e.hash].contentDate=e.contentDate},o=function(e,n,o,i,a,r){t(e),n[e.hash].type=y,n[e.hash].replyOpened=!!e.replyOpened&&e.replyOpened,n[e.hash].getTotalCount=(function(){var e=this.commentCount;return this.comments&&this.comments.forEach(function(n){e+=n.getTotalCount()}),e}).bind(n[e.hash]),n[e.hash].isNew=!1,n[e.hash].contentDate=e.contentDate,n[e.hash].parentContentHash=i,n[e.hash].parentContentType=a,n[e.hash].parentType=o,n[e.hash].parentHash=r},i=function(e,n,t,a,r){e.map(function(e){o(e,n,y,t,a,r),e.comments&&e.comments.length>0&&i(e.comments,n,t,a,e.hash)})};e.map(function(e){t(e),e.comments&&e.comments.length>0&&e.comments.map(function(t){o(t,n,e.type,e.hash,e.type,e.hash),t.comments&&t.comments.length>0&&i(t.comments,n,e.hash,e.type,t.hash)})})}),(0,s.Z)((0,o.Z)(d),"isLoggedIn",function(){return d.state.loggedIn}),(0,s.Z)((0,o.Z)(d),"setLoggedIn",function(e){d.setState({loggedIn:e})}),(0,s.Z)((0,o.Z)(d),"updateAuthorRelationsToUser",function(){}),d.sentry=e.pageContext?e.pageContext.sentry:null;var v={},C=e.content;return C[0]&&d.createHashRef(C,v),d.state={pageProps:e.pageContext&&e.pageContext.pageProps,loggedIn:d.props.isLoggedIn,refs:v,authorRefs:{},content:d.props.content,attributionMode:d.props.attributionMode,singleAttributionContentHash:d.props.singleAttributionContentHash,vote:d.vote,getContent:function(e){return d.getContent(e)}},d}return(0,r.Z)(t,[{key:"componentDidMount",value:function(){var e=this;this.updateAuthorRelationsToUser(),this.props.attributionMode!==C&&this.state.content.length>0&&this.attribution().catch(function(n){console.error(n),e.sentry&&e.sentry.captureException(n)})}}]),t}(h.Component);(0,s.Z)(z,"propTypes",{content:v().array,attributionMode:v().string,singleAttributionContentHash:v().string,userRelationshipMode:v().oneOf([Z,"user_relationship_attribution_on"])}),(0,s.Z)(z,"defaultProps",{content:[],userRelationshipMode:Z,attributionMode:C,singleAttributionContentHash:null});var L=t(99997),I="/api/community/feed/master/",P=function(e){(0,c.Z)(t,e);var n=(0,u.Z)(t);function t(e){(0,a.Z)(this,t),P=n.call(this,e),(0,s.Z)((0,o.Z)(P),"openCommentReply",function(e){P.setState({openedCommentHash:e})});var r,c,u,f,h,w,v,j,k,C,z,L,P,S=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"submitComment",(r=(0,i.Z)(function(e,n,t,o){var i,a,r,s,c,l,p;return(0,m.__generator)(this,function(d){switch(d.label){case 0:i=S.getContent(e),a=e,r=null,s=i.type,o.id,o.username,i.type===y&&(a=i.parentContentHash,r=e,s=i.parentContentType),d.label=1;case 1:return d.trys.push([1,3,,4]),c={comment:n,anon:t,parent_comment_hash_id:r,content_hash_id:a},[4,x.Z.post("/api/community/community-comments/create/".concat(s),c)];case 2:return l=d.sent(),S.emitMetricByHash(e,{comment_posted:1}),p=l.data.data,S.addComment(e,{hash:p.new_comment_hash_id,comment:p.comment,author:p.author,parentHash:r?p.parent_comment_hash_id:e,isAnon:p.anon,likes:0,contentDate:new Date}),[2,!0];case 3:return d.sent(),S.setState({openedCommentHash:null}),[2,!1];case 4:return[2]}})}),function(e,n,t,o){return r.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"addComment",function(e,n){var t,o,i=(0,l.Z)({},P.state),a={};P.createHashRef(i.content,a);var r=(o=(t=P.getContent(n.parentHash)).type!==y?t:P.getContent(t.parentContentHash),{hash:n.hash,isAnon:n.isAnon,type:y,commentCount:0,likes:0,comment:n.comment,author:n.author,parentType:t.type,parentHash:t.hash,parentContentType:o.type,parentContentHash:o.hash,isNew:!0,getTotalCount:function(){return 0},replyOpened:!1,userLiked:!1,userFlagged:!1,comments:[],editable:!0,deletable:!0,contentDate:new Date});a[r.parentHash].comments.unshift(r),a[r.parentHash].commentCount+=1,a[r.hash]=r,P.setState({content:i.content,refs:a,openedCommentHash:null},function(){var e="link-id-".concat(r.hash);r.parentHash!==r.parentContentHash&&window&&window.document.getElementById(e)&&(window.document.getElementById(e).scrollIntoView(!0),window.scrollBy(0,-100))})}),(0,s.Z)((0,o.Z)(P),"addComments",function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=function(e){return{hash:e.hash,isAnon:e.isAnon,type:y,commentCount:e.commentCount,likes:e.likes,comment:e.comment,author:e.author,parentType:e.parentType,parentHash:e.parentHash,parentContentType:e.parentContentType,parentContentHash:e.parentContentHash,moderationOption:e.moderationOption,isNew:!1,getTotalCount:function(){return 0},replyOpened:!1,userLiked:!1,userFlagged:!1,comments:e.comments?e.comments.map(function(e){return o(e)}):[],editable:!0,deletable:!0,contentDate:e.contentDate,flaggingEnabled:e.flaggingEnabled}},i=(0,l.Z)({},P.state),a={};P.createHashRef(i.content,a);var r=function(e){var n=o(e);a[n.hash]=n,a[n.parentHash]&&!a[n.parentHash].comments.some(function(e){return e.hash===n.hash}
1)&&a[n.parentHash].comments.push(n),(e.comments||[]).forEach(function(e){return r(e)})};e.forEach(r),i.content[0].commentCount=n,i.content[0].likes=t,i.content[0].preloading=!1,P.setState({content:i.content,refs:a,openedCommentHash:null})}),(0,s.Z)((0,o.Z)(P),"setSort",function(e,n){if(e!==P.state.sort){var t={feedGroup:"GlobalFeed",feedGroupId:"master",hash:"",setIsLoading:n};P.setState({sort:e,content:[],newRefs:{},authorRefs:{},feedPage:1,feedLastResultCount:0,openedCommentHash:null,hasNext:!1},function(){(0,b.qQ)({community_sort_type:null==e?void 0:e.toLowerCase(),click:1}),P.fetchMoreContent(t)})}});var H=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"fetchFeed",(c=(0,i.Z)(function(e,n,t){var o,i,a,r,s,c,p;return(0,m.__generator)(this,function(d){switch(d.label){case 0:return o=H.state.feedPage,i=e+"?limit=".concat(n,"&page=").concat(o),t.feedGroup&&(i+="&feedGroup=".concat(t.feedGroup)),t.feedGroupId&&(i+="&feedGroupId=".concat(t.feedGroupId)),(a=new URLSearchParams(window.location.search).get("sort"))?i+="&sort=".concat(a.toUpperCase()):H.state.sort&&(i+="&sort=".concat(H.state.sort)),[4,x.Z.get(i)];case 1:return r=d.sent(),(s=(0,l.Z)({},H.state)).content=s.content.concat(r.data.result),c={},H.createHashRef(s.content,c),p={},H.createUserHashRef(s.content,p),e.startsWith(I)&&1===o&&(0,b.qQ)({community_sort_type:"default",misc_event_type:"feed-load",misc_event_count:1}),H.setState({content:s.content,authorRefs:p,refs:c,openedCommentHash:null,hasNext:r.data.hasNext,feedLastResultCount:r.data.result.length},function(){H.attribution(),t.setIsLoading&&t.setIsLoading()}),[2]}})}),function(e,n,t){return c.apply(this,arguments)}));var E=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"updateContentFromUPBResponse",(u=(0,i.Z)(function(e){var n,t,o;return(0,m.__generator)(this,function(i){switch(i.label){case 0:return(n=(0,l.Z)({},E.state)).content=[e].concat((0,d.Z)(n.content)),t={},E.createHashRef(n.content,t),o={},E.createUserHashRef(n.content,o),[4,E.setState({content:n.content,authorRefs:o,refs:t})];case 1:return i.sent(),E.attribution(),setTimeout(function(){return E.turnIsNewPostFlagOff()},1e3),[2]}})}),function(e){return u.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"turnIsNewPostFlagOff",function(){P.setState(function(e){return(0,p.Z)((0,l.Z)({},e),{content:e.content.map(function(e,n){return 0===n?(0,p.Z)((0,l.Z)({},e),{isNewPost:!1}):e})})})});var A=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"fetchMoreContent",(f=(0,i.Z)(function(e){var n,t,o,i,a,r,s,c,p,d,u;return(0,m.__generator)(this,function(m){switch(m.label){case 0:if("topicList"!==A.props.fetchMode)return[3,2];return n=A.state.content.length,t=(0,l.Z)({},A.state),[4,x.Z.get("/community/".concat(e.topicUrl,"?_jsonMode=true&_jsonLimit=").concat(10,"&_jsonOffset=").concat(n))];case 1:return o=m.sent(),t.content=t.content.concat(o.data.content),i={},A.createHashRef(t.content,i),a={},A.createUserHashRef(t.content,a),A.setState({content:t.content,authorRefs:a,refs:i,openedCommentHash:null},function(){A.attribution()}),[3,8];case 2:if("miniFeed"!==A.props.fetchMode)return[3,3];return A.fetchFeed("/api/community/feed/mini/",5,e),[3,8];case 3:if("feed"!==A.props.fetchMode)return[3,4];return A.fetchFeed(I,10,e),[3,8];case 4:if("groupFeed"!==A.props.fetchMode)return[3,5];return r=e.hash,s="/api/community/feed/group/".concat(r),A.fetchFeed(s,10,e),[3,8];case 5:if(A.props.attributionMode!==_)return[3,8];return c=(0,l.Z)({},A.state),[4,x.Z.get("/api/community/content/".concat(e.contentType,"/").concat(e.contentHash))];case 6:return p=m.sent().data,c.content=c.content.concat(p),d={},A.createHashRef(c.content,d),u={},A.createUserHashRef(c.content,u),[4,A.setState({content:c.content,authorRefs:u,refs:d})];case 7:m.sent(),A.attribution(),m.label=8;case 8:return A.setState({feedPage:A.state.feedPage+1}),[2]}})}),function(e){return f.apply(this,arguments)}));var T=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"fetchMoreComments",(h=(0,i.Z)(function(e,n){var t,o,i,a,r,s,c,l=arguments;return(0,m.__generator)(this,function(p){switch(p.label){case 0:t=l.length>2&&void 0!==l[2]?l[2]:null,o=l.length>3?l[3]:void 0,i=l.length>4&&void 0!==l[4]?l[4]:null,a=l.length>5?l[5]:void 0,r="/api/community/content/".concat(e,"/").concat(n,"/comments").concat(t?"/".concat(t):""),s=new URLSearchParams,i&&s.append("lastId",i),a&&s.append("fetchImmediate",!0),o&&s.append("limit",o),p.label=1;case 1:return p.trys.push([1,3,,4]),[4,x.Z.get(r+(s.toString()?"?".concat(s.toString()):""))];case 2:return c=p.sent().data,T.addComments(c.comments,c.commentCount,c.commentLikes),T.attribution(),[2,c.lastId];case 3:return p.sent(),[2,-1];case 4:return[2]}})}),function(e,n){return h.apply(this,arguments)}));var N=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"emitContentMetric",(w=(0,i.Z)(function(e,n){var t,o,i,a,r;return(0,m.__generator)(this,function(s){return o=e.type===y?"".concat(e.parentContentType,"-").concat(e.parentContentHash):"".concat(e.type,"-").concat(e.hash),i={community_on_comment:e.type===y,community_content_key:o,community_vote_type:null,community_content_location:null},(null===(t=N.props)||void 0===t?void 0:t.fetchMode)==="feed"&&(i.community_sort_type=null===(a=N.state.sort)||void 0===a?void 0:a.toLowerCase()),r=(0,l.Z)({},i,n),(0,b.qQ)(r),[2]})}),function(e,n){return w.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"createUserHashRef",function(e,n){Object.keys(e).map(function(t){var o,i=e[t];(null==i?void 0:i.author)&&(null==i?void 0:null===(o=i.author)||void 0===o?void 0:o.userId)&&(n.hasOwnProperty(i.author.userId)?i.author=n[i.author.userId]:n[i.author.userId]=i.author)})});var O=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"requestToConnect",(v=(0,i.Z)(function(e){var n,t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,x.Z.post("/api/user/connection/request",{toUserId:e})];case 1:return n=o.sent(),(0,b.qQ)({misc_event_type:"user-request-connection",misc_event_c
1ount:1}),O.updateAuthorRelationsToUser(),O.closeHoverComponent(),[2,n];case 2:throw console.error(t=o.sent()),t;case 3:return[2]}})}),function(e){return v.apply(this,arguments)}));var R=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"subscribeToTopic",(j=(0,i.Z)(function(e,n){var t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,x.Z.post("/api/user/subscription/subscribe",{topicId:e})];case 1:return o.sent(),n(),R.closeHoverComponent(),[3,3];case 2:throw console.error(t=o.sent()),t;case 3:return[2]}})}),function(e,n){return j.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"unsubscribeToTopic",(k=(0,i.Z)(function(e,n){var t;return(0,m.__generator)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,x.Z.delete("/api/user/subscription/unsubscribe",{data:{topicId:e}})];case 1:return o.sent(),n(),[3,3];case 2:throw console.error(t=o.sent()),t;case 3:return[2]}})}),function(e,n){return k.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"setHoverComponent",function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e!==P.state.hoveredComponent&&"author"===n&&(0,b.qQ)({misc_event_type:"username_hover",misc_event_count:1}),clearTimeout(P.hoverTimer),P.setState({hoveredComponent:e})}),(0,s.Z)((0,o.Z)(P),"setStandaloneHoverOverlay",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;P.setState({standAloneOverlayComponent:null,standAloneHoverRef:null},function(){P.setState({standAloneOverlayComponent:e,standAloneHoverRef:n})})}),(0,s.Z)((0,o.Z)(P),"getStandAloneHoverPosition",function(){var e=P.state.standAloneHoverRef;return e&&e.getBoundingClientRect?e.getBoundingClientRect():null}),(0,s.Z)((0,o.Z)(P),"closeHoverComponent",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;P.hoverTimer=setTimeout(function(){return P.setState({hoveredComponent:null,standAloneOverlayComponent:null,standAloneHoverRef:null})},e)}),(0,s.Z)((0,o.Z)(P),"fetchUserRelations",(0,i.Z)(function(){var e,n=arguments;return(0,m.__generator)(this,function(t){switch(t.label){case 0:e=n.length>0&&void 0!==n[0]?n[0]:[],t.label=1;case 1:return t.trys.push([1,3,,4]),[4,x.Z.post(M,{userIds:e})];case 2:return[2,t.sent()];case 3:return console.error(t.sent()),[2,null];case 4:return[2]}})}));var U=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"updateAuthorRelationsToUser",(0,i.Z)(function(){var e,n,t,o,i;return(0,m.__generator)(this,function(a){switch(a.label){case 0:if(U.props.userRelationshipMode===Z)return[2];a.label=1;case 1:if(a.trys.push([1,5,,6]),e={},U.createUserHashRef(U.state.refs,e),!((n=Object.keys(e).map(function(e){return Number(e)})).length>0))return[3,3];return[4,x.Z.post(M,{userIds:n})];case 2:return o=a.sent(),[3,4];case 3:o=null,a.label=4;case 4:return(t=o)&&t.data&&t.data.data.map(function(n){e[n.userId].relation=n.relation,e[n.userId].userCommunityData=n.userCommunityData,e[n.userId].connectWithMeText=n.connectWithMeText,e[n.userId].interests=n.interests}),U.setState({authorRefs:e}),[3,6];case 5:throw console.error(i=a.sent()),i;case 6:return[2]}})})),(0,s.Z)((0,o.Z)(P),"setEditingCommentHash",function(e){return P.setState({editingCommentHash:e})});var D=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"deleteCommunityContent",(C=(0,i.Z)(function(e,n){var t,o,i;return(0,m.__generator)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,x.Z.delete("/api/community/moderate/".concat(e,"/").concat(n))];case 1:return o={hash:(t=(a.sent().data||{}).data).hash,updates:{moderationOption:t.moderationOption}},D.updateContentBatch([o]),(0,b.qQ)({community_content_key:"".concat(e,"-").concat(n),misc_event_count:1,misc_event_type:"delete_content_completed"}),[3,3];case 2:throw console.error(i=a.sent()),i;case 3:return[2]}})}),function(e,n){return C.apply(this,arguments)}));var F=(0,o.Z)(P);(0,s.Z)((0,o.Z)(P),"editCommunityContent",(z=(0,i.Z)(function(e,n,t,o,i){var a,r,s,c,d,u,f,h;return(0,m.__generator)(this,function(m){switch(m.label){case 0:return m.trys.push([0,2,,3]),s=n,[4,x.Z.post("/api/community/moderate/".concat(e,"/edit/").concat(t),n)];case 1:if(200!==(c=m.sent()).status)throw Error("Error updating content (status code: ".concat(c.status,")"));return u=(d=F.getContent(t)).isAnon,f=d.author,(null===(a=c.data)||void 0===a?void 0:null===(r=a.data)||void 0===r?void 0:r.moderationOption)&&(s.moderationOption=c.data.data.moderationOption,s.didEdit=c.data.data.moderationOption.status.type,s.updatedAt=c.data.data.updatedAt),o&&(s.description=s.title,s.title=null),s.anon!==u&&(s.author=n.anon?(0,p.Z)((0,l.Z)({},f),{userId:null,username:"Anonymous",image:{alt:"Anonymous image",src:g[Math.floor(Math.random()*g.length)]},credential:null,karmaScore:null}):(0,p.Z)((0,l.Z)({},f),{userId:i.id,username:i.username,image:{alt:"".concat(i.username," image"),src:i.baseLogo||"/v1/avatar_black_160_vtg7lw.svg"}
1,credential:i.credential,karmaScore:i.karma_score}),s.isAnon=s.anon),F.updateContent(t,s),(0,b.qQ)({community_content_key:"".concat(e,"-").concat(t),misc_event_count:1,misc_event_type:"edit_content_completed"}),F.setState({contentBeingEdited:null}),[3,3];case 2:throw console.error(h=m.sent()),h;case 3:return[2]}})}),function(e,n,t,o,i){return z.apply(this,arguments)})),(0,s.Z)((0,o.Z)(P),"editContentTrigger",function(e){if(!P.getContent(e))return console.error("No Hash");P.setState({contentBeingEdited:e})}),(0,s.Z)((0,o.Z)(P),"setContentGroup",function(e){P.setState(function(n){return(0,p.Z)((0,l.Z)({},n),{content:n.content.map(function(n){return n.group&&n.group.hash===e.hash?(0,p.Z)((0,l.Z)({},n),{group:e}):n})})})}),(0,s.Z)((0,o.Z)(P),"toggleCreateContentWidget",function(){return P.setState({contentBeingEdited:null})});var B={};P.createUserHashRef(e.content,B);var q=e.topics?e.topics.reduce(function(e,n){return e[n.id]=n,e},{}):null,G=(0,o.Z)(P);return P.state=Object.assign(P.state,{pageContext:null,openedCommentHash:null,hasNext:!1,openCommentReply:function(e){return P.openCommentReply(e)},submitComment:(L=(0,i.Z)(function(e,n,t,o){return(0,m.__generator)(this,function(i){return[2,G.submitComment(e,n,t,o)]})}),function(e,n,t,o){return L.apply(this,arguments)}),setLoggedIn:function(e){return P.setLoggedIn(e)},fetchMoreContent:function(e){P.fetchMoreContent(e)},fetchMode:P.props.fetchMode,emitMetric:P.emitMetric,requestConnection:P.requestToConnect,followUser:P.followUser,subscribeToTopic:P.subscribeToTopic,unsubscribeToTopic:P.unsubscribeToTopic,fetchSingleAuthor:P.fetchSingleAuthor,fetshSingleContent:P.fetchSingleContent,setHoverComponent:P.setHoverComponent,hoveredComponent:null,closeHoverComponent:P.closeHoverComponent,topics:q,authorRefs:B,feedPage:1,sort:"DEFAULT",setSort:P.setSort,updateAuthorRelationsToUser:P.updateAuthorRelationsToUser,fetchUserRelations:P.fetchUserRelations,deleteCommunityContent:P.deleteCommunityContent,editCommunityContent:P.editCommunityContent,editingCommentHash:null,setEditingCommentHash:P.setEditingCommentHash,editContentTrigger:function(e){return P.editContentTrigger(e)},contentBeingEdited:null,editSuccessPopup:!1,defaultPostLocation:e.defaultPostLocation||null,standAloneOverlayComponent:null,standAloneHoverRef:null,getStandAloneHoverPosition:P.getStandAloneHoverPosition,setStandaloneHoverOverlay:P.setStandaloneHoverOverlay,updateContentFromUPBResponse:P.updateContentFromUPBResponse,turnIsNewPostFlagOff:P.turnIsNewPostFlagOff,fetchMoreComments:P.fetchMoreComments,setContentGroup:P.setContentGroup,content:e.content}),P.hoverTimer=null,P}return(0,r.Z)(t,[{key:"render",value:function(){return(0,f.jsx)(L.G.Provider,{value:this.state,children:this.props.children})}}]),t}(z);L.G.Consumer},99997:function(e,n,t){t.d(n,{G:function(){return o}});var o=t(67294).createContext({})},77579:function(e,n,t){t.d(n,{YB:function(){return c},pF:function(){return l}});var o={lowercase:{true:"pm",false:"am"},uppercase:{true:"PM",false:"AM"}},i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"lowercase",t=new Date(e),i=t.getHours(),a=t.getMinutes(),r=o[n][i>=12],s=a<10?"0".concat(a):a,c=i%12||12;return"00"===s?"".concat(c).concat(r):"".concat(c,":").concat(s).concat(r)},a=function(){var e=new Date().toLocaleString("en",{timeZoneName:"short"}).split(" ").pop(),n=-1!==e.indexOf(":");return"PM"===e||"AM"===e||n?"":e},r=function(e){return e<10?"0".concat(e):e},s=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,t=r(new Date(e).getMonth()+1),o=r(new Date(e).getDate()),i=new Date(e).getFullYear().toString().substr(n);return"".concat(t,"/").concat(o,"/").concat(i)},c=function(e){var n=s(e),t=i(e,"uppercase"),o=a();return"".concat(n," at ").concat(t," ").concat(o)},l=function(e,n){var t=[{value:1,symbol:""},{value:1e3,symbol:"k"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}].reverse().find(function(n){return e>=n.value});return t?(e/t.value).toFixed(n).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+t.symbol:"0"}},74317:function(e,n,t){t.d(n,{L5:function(){return l},li:function(){return p}});var o,i=t(34727),a=t(70655),r=t(6154),s=t(49770),c=(o=(0,i.Z)(function(e){return(0,a.__generator)(this,function(n){return[2,r.Z.get(e).then(function(e){return e.data})]})}),function(e){return o.apply(this,arguments)}),l=function(e,n,t){var o=(0,s.Z)("/api/community/content/".concat(e,"/").concat(n,"/").concat(t?"comments":""),c,{onErrorRetry:function(e,n,t,o,i){var a=i.retryCount;404!==e.status&&(a>=4||setTimeout(function(){return o({retryCount:a})},5e3))}}),i=o.data,a=o.error;return{content:i,isLoading:o.isLoading,isError:a,type:void 0,parentType:"",parentHash:"",hash:void 0}},p=function(e,n){var t=(0,s.Z)("/api/community/content/".concat(e,"/").concat(n,"/comments"),c,{onErrorRetry:function(e,n,t,o,i){var a=i.retryCount;404!==e.status&&(a>=4||setTimeout(function(){return o({retryCount:a})},5e3))}}),o=t.data,i=t.error;return{comments:o,isLoading:t.isLoading,isError:i}};n.ZP=l},30006:function(e,n,t){t.d(n,{Aq:function(){return p},xh:function(){return l}});var o,i=t(67573),a=t(50106),r={XXS_SMALL:"xxSmall",XS_SMALL:"xSmall",SMALL:"small",SMALL_MEDIUM:"small-medium",MEDIUM:"medium",LARGE:"large"},s="".concat(a.X.split("/image/upload")[0],"/video/upload/");o={},(0,i.Z)(o,r.XXS_SMALL,"c_scale,f_webp,q_auto,w_32"),(0,i.Z)(o,r.XS_SMALL,"c_scale,f_webp,q_auto,w_60"),(0,i.Z)(o,r.SMALL,"c_scale,f_webp,q_auto,w_70"),(0,i.Z)(o,r.SMALL_MEDIUM,"c_scale,f_webp,q_auto,w_80"),(0,i.Z)(o,r.MEDIUM,"c_scale,f_webp,q_auto,w_120"),(0,i.Z)(o,r.LARGE,"c_scale,f_webp,q_auto,w_180");var c=/\/?v[0-9]*\//,l=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:320,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:180,o="/v1".concat(e.replace(c,"/"));return s+"w_".concat(n,",h_").concat(t,",dpr_auto,q_auto")+o},p=function(e,n,t){var o="".concat(a.X,"/"),i=/\/?v[0-9]+\//,r=e.startsWith("/")?"/v1".concat(e.replace(i,"/").replace(".anim","")):"/v1/".concat(e.replace(i,"/").replace(".anim",""));return o+(t||{button:"c_scale,f_webp,q_auto,h_22",xxSmall:"c_scale,f_webp,q_auto,h_24",xSmall:"c_scale,f_webp,q_auto,w_60",small:"c_scale,f_webp,q_auto,w_70",default:"c_scale,f_webp,q_auto,h_300",fullScreen:"c_scale,f_webp,q_auto,w_1500",xLarge:"c_scale,g_center,r_max,w_90,h_90,z_0.6",xxLarge:"c_scale,g_center,r_max,w_106,h_106,z_0.6",size150:"c_scale,g_center,r_max,w_150,h_100,z_0.6","small-lPad":"c_lpad,f_webp,q_auto,w_60,h_60"})[n]+r}},57632:function(e,n,t){let o;t.d(n,{Z:function(){return l}});let i="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var a={randomUUID:i};let r=new Uint8Array(16);function s(){if(!o&&!(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(r)}let c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));var l=function(e,n,t){if(a.randomUUID&&!n&&!e)return a.randomUUID();e=e||{};let o=e.random||(e.rng||s)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=o[e];return n}return function(e,n=0){return(c[e[n+0]]+c[e[n+1]]+c[e[n+2]]+c[e[n+3]]+"-"+c[e[n+4]]+c[e[n+5]]+"-"+c[e[n+6]]+c[e[n+7]]+"-"+c[e[n+8]]+c[e[n+9]]+"-"+c[e[n+10]]+c[e[n+11]]+c[e[n+12]]+c[e[n+13]]+c[e[n+14]]+c[e[n+15]]).toLowerCase()}(o)}},69779:function(e,n,t){t.d(n,{Z:function(){return r}});var o=t(63641),i=t(62893),a=t(12267);function r(e){return function(e){if(Array.isArray(e))return(0,o.Z)(e)}(e)||(0,i.Z)(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]); 2//# sourceMappingURL=855-6863d1335420bd54.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.