(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[9570],{29378:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>W,Bx:()=>Fe,CA:()=>Pe,CD:()=>Ne,C_:()=>H,D3:()=>Z,D8:()=>ie,Dl:()=>o,Dt:()=>ye,Ef:()=>x,F4:()=>Le,F5:()=>b,Fb:()=>R,Fm:()=>Ce,Gg:()=>be,Hc:()=>Re,Hr:()=>s,I_:()=>D,Ii:()=>S,KM:()=>He,Ly:()=>k,M2:()=>fe,M3:()=>y,NJ:()=>ke,Nx:()=>Ue,Oz:()=>G,P1:()=>f,Pg:()=>Be,Pr:()=>j,Ry:()=>M,SE:()=>Ae,T6:()=>de,U7:()=>l,UW:()=>N,X_:()=>U,YW:()=>$,YX:()=>J,ZT:()=>Ee,ZU:()=>h,Zs:()=>ue,Zy:()=>r,_Y:()=>K,_v:()=>Q,bG:()=>P,bL:()=>we,bR:()=>xe,bV:()=>F,cT:()=>Y,eG:()=>w,fd:()=>Se,ff:()=>L,fn:()=>V,fp:()=>i,gj:()=>c,gm:()=>ae,hP:()=>z,ig:()=>p,jP:()=>re,jl:()=>q,k3:()=>g,kP:()=>d,kd:()=>Me,kf:()=>ce,lL:()=>se,mE:()=>te,mK:()=>X,mT:()=>_,mk:()=>Oe,mn:()=>m,nq:()=>a,pB:()=>oe,pC:()=>Ie,pD:()=>_e,pN:()=>E,q:()=>ee,q0:()=>O,qm:()=>le,qq:()=>he,rJ:()=>C,sK:()=>u,ti:()=>T,u1:()=>A,u5:()=>ne,uc:()=>I,un:()=>B,vL:()=>ge,w2:()=>We,wA:()=>Te,wO:()=>ve,xC:()=>v,y:()=>De,yQ:()=>me,zV:()=>pe});const o="wc-root",r="wc-header-title",s="wc-header",i="wc-sorting-selector",a="es-zero-comment-title",l="es-zero-comment-content",c="comment-box",d="comment-box-top",u="comment-box-bottom",m="comment-box-placeholder",p="comment-box-placeholder-text",h="comment-box-rce-wrapper",g="comment-box-rce-toolbar",f="comment-box-username",E="comment-box-email",v="comment-box-error",y="is-locked",b="loading",C="list-item",w="pending",N="deleted",I="top-level",R="reply",L="error",T="marked",O="edited",x="comment-content",S="comments-author",k="featured-badge",A="primary-btn",_="secondary-btn",M="login-as-member-text-button",D="confirmation-modal",P="report-comment-modal",B="actions-menu",F="actions-menu-btn",H="actions-menu-edit-btn",U="actions-menu-delete-btn",W="actions-menu-share-btn",V="actions-menu-mark-btn",G="actions-menu-report-btn",K="wc-toast",Y="reply-btn",z="reply-text",j="load-more-next",q="load-more-prev",$="load-more-replies-newer",Z="load-more-replies-older",X="load-more-replies",J="with-live",Q="spinner",ee="top-level-comment-list",te="reply-list",ne="list-loading",oe="comment-not-found",re="default-list-fetch-error",se="list-fetch-error-retry-button",ie="report-reason-radio-button-group",ae="report-reason-details-input",le="edited-comment-indicator",ce="replying-to-btn",de="show-more-btn",ue="someone-is-typing-start",me="someone-is-typing-end",pe="show-live-comments-start",he="show-live-comments-end",ge="show-live-replies-root",fe="show-live-replies-end",Ee="live-comment-indicator",ve="member-follow-btn",ye="member-is-followed",be="member-list",Ce="vote-container",we="upvote-button",Ne="downvote-button",Ie="vote-count",Re="active",Le="disabled",Te="comment-footer-error-edit",Oe="comment-footer-error-retry",xe="header-ratings",Se="ratings-display",ke="rating-input",Ae="user-action-menu",_e="user-auth-login",Me="user-auth-logout",De="edit-history-modal",Pe="load-next-history",Be="history-item",Fe="edit-history-list",He="pending-comment-modal",Ue="block-moderated-comment-modal",We="skeleton"},6832:(e,t,n)=>{"use strict";var o;n.d(t,{KH:()=>d,iE:()=>i,xA:()=>m,ki:()=>h,rP:()=>u,Ny:()=>E,hi:()=>g,Zb:()=>p,Fk:()=>l,Z0:()=>a,_o:()=>c,Dw:()=>v,ah:()=>f}),function(e){e.Site="Site",e.Editor="Editor",e.Preview="Preview",e.Dashboard="Dashboard"}(o||(o={}));const r=e=>e.baseParams,s=e=>r(e).viewMode,i=e=>r(e).instance,a=e=>r(e).language||"en",l=e=>r(e).isSSR,c=e=>r(e).isDebug,d=e=>r(e).appDefinitionId,u=e=>r(e).isMaInstalled,m=e=>r(e).isChatInstalled,p=e=>r(e).isRTL,h=e=>s(e)===o.Editor,g=e=>s(e)===o.Preview,f=e=>r(e).isSeo,E=e=>"Mobile"===r(e).formFactor,v=e=>c(e)},69503:(e,t,n)=>{"use strict";n.d(t,{H$:()=>m,JI:()=>v,QQ:()=>u,Yo:()=>y,a9:()=>p,cA:()=>s,ce:()=>E,dj:()=>f,ik:()=>d,iq:()=>b,mv:()=>l,ny:()=>h,rf:()=>i});var o=n(79458),r=n(16252);const s=e=>{const t=e.members.currentOwner;return"MEMBER"===t.type?t.member:void 0},i=e=>e.members.membersCache,a=(e,t)=>t?e.members.membersCache[t]:void 0,l=(e,t)=>{const n=a(e,t);return n?.memberRoles??[]},c=(()=>{const e=new WeakMap,t=(0,r.memoize)((e=>({type:"ANONYMOUS",identityId:e}))),n={type:"UNKNOWN"},o={type:"PLACEHOLDER"};return{getMember:t=>{if(e.has(t))return e.get(t);{const n={type:"MEMBER",member:t};return e.set(t,n),n}},getAnonymous:t,getUnknown:()=>n,getPlaceholder:()=>o}})(),d=(e,t,n)=>{const o=e.members;switch(n.type){case"REPLY_TYPING":case"REPLY_CREATE_PENDING":case"REPLY_CREATE_ERROR":case"REPLY_CREATE_ERROR_EDITING":case"REPLY_DELETED":case"REPLY_LIVE_PENDING":const{targetId:r}=n,s=((e,t)=>n=>{const o=e.comments[t];if("READY"!==o?.type)return c.getUnknown();const r=o.commentsById[n];return r?u(r,e.members):c.getUnknown()})(e,t)(r);return s;default:const i=n.comment.replyTo?.author;return g({author:i,membersState:o,fallback:c.getUnknown()})}},u=(e,t)=>{switch(e.type){case"COMMENT_CREATE_PENDING":case"REPLY_CREATE_PENDING":return"MEMBER"===t.currentOwner.type?t.currentOwner:e.asGuest?"ANONYMOUS"===t.currentOwner.type?{...t.currentOwner,authorName:e.authorName}:t.currentOwner:c.getPlaceholder();case"COMMENT_CREATE_ERROR_EDITING":case"COMMENT_CREATE_ERROR":case"REPLY_CREATE_ERROR":case"REPLY_CREATE_ERROR_EDITING":return"MEMBER"===t.currentOwner.type?t.currentOwner:e.asGuest?"ANONYMOUS"===t.currentOwner.type?{...t.currentOwner,authorName:e.authorName}:t.currentOwner:c.getUnknown();case"REPLY_TYPING":return t.currentOwner;case"COMMENT_LIVE_PENDING":case"REPLY_LIVE_PENDING":{const n=e.author;return g({author:n,membersState:t,fallback:c.getPlaceholder()})}case"REPLY_DELETED":case"COMMENT_DELETED":return c.getUnknown();default:const n=e.comment.author;return g({author:n,membersState:t,fallback:c.getUnknown()})}},m=(e,t)=>{switch(e.type){case"MEMBER":return p(e.member)??t("user-info.unknown-member");case"ANONYMOUS":return e?.authorName??t("user-info.guest-commenter",{id:void 0});case"PLACEHOLDER":return"\xa0";case"UNKNOWN":return t("user-info.unknown-member");default:throw(0,o.HB)(e)}},p=e=>e.profile?.nickname?e.profile?.nickname:e.contact?.firstName||e.contact?.lastName?[e.contact?.firstName,e.contact?.lastName].filter(o.O9).join(" "):void 0,h=e=>{switch(e.type){case"MEMBER":return e.member.id;case"ANONYMOUS":return e.identityId;case"UNKNOWN":case"PLACEHOLDER":return;default:throw(0,o.HB)(e)}},g=({author:e,membersState:t,fallback:n})=>{if(!e)return n;switch(e.identityType){case"MEMBER":const o=e.identityId&&t.membersCache[e.identityId];return o?c.getMember(o):n;case"ANONYMOUS":return e.identityId?{...c.getAnonymous(e.identityId),authorName:e.authorName}:n;default:return n}},f=(e,t)=>{const n=e[t];return n?c.getMember(n):c.getAnonymous(t)},E=e=>"MEMBER"===e.type?e.member.id:e.identityId,v=(e,t)=>e.members.followedMembers.find((e=>e.id===t)),y=e=>{switch(e.type){case"MEMBER":return e.member.id;case"ANONYMOUS":return e.identityId;case"UNKNOWN":return;default:throw(0,o.HB)(e)}},b=e=>{const t=y(e.currentOwner);if(t)return{identityId:t,identityType:"MEMBER"===e.currentOwner.type?"MEMBER":"ANONYMOUS"}}},44303:(e,t,n)=>{"use strict";function o(e,{target:t=document.body}={}){const n=document.createElement("textarea"),o=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const r=document.getSelection();let s=!1;r.rangeCount>0&&(s=r.getRangeAt(0)),t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}return n.remove(),s&&(r.removeAllRanges(),r.addRange(s)),o&&o.focus(),i}n.d(t,{e:()=>o})},9176:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var o=n(30837),r=n(79458);const s=(e={type:"DEFAULT"})=>{switch(e.type){case"CUSTOM":return e.icon;case"NONE":return null;case"DEFAULT":return o.A;default:throw(0,r.HB)(e)}}},28647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});const o=()=>window&&void 0!==window.ResizeObserver},83395:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});const o=(e,t)=>{if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>e===t[n]));if(e&&t&&e.constructor===Object&&t.constructor===Object){const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>Object.is(e[n],t[n])))}return!1}},75158:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});const o=e=>{switch(!0){case/^.*#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/i.test(e):return function(e){e=e.replace(/^.#?([a-f\d])([a-f\d])([a-f\d])$/i,((e,t,n,o)=>t+t+n+n+o+o));const t=/^.#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);case(e=>/(.*?)(rgb|rgba)\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)/i.test(e))(e):return(e=>{const t=/(.*?)(rgb|rgba)\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)/i.exec(e);return t?{r:parseInt(t[3],10),g:parseInt(t[4],10),b:parseInt(t[5],10)}:null})(e);default:return null}}},13672:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});const o=(e,t)=>e.reduce(((e,n,o)=>0===o?[n]:[...e,t,n]),[])},86540:(e,t,n)=>{"use strict";n.d(t,{ZB:()=>i,bX:()=>l,i7:()=>r,rw:()=>s,xj:()=>a});var o=n(16252);const r=({commentId:e,localId:t})=>t||e,s=({commentId:e,localId:t})=>a(e||t),i=()=>(0,o.uniqueId)("local-comment-id"),a=e=>`C-${e}`,l=e=>`comment-list-inner-${e}`},44619:(e,t,n)=>{"use strict";n.d(t,{IG:()=>m,IY:()=>d,ly:()=>c});var o=n(60751),r=n(86540);const s={timeoutBeforeHighlight:0,shouldScroll:!0,shouldHighlightBackground:!0,shouldUseTransitions:!0,highlightDuration:1500,smoothScroll:!0},i=({isMobile:e,type:t,screenshotMode:n})=>({CRUD_SUCCESS:{...s,shouldScroll:e,shouldUseTransitions:!n},MARK_TARGET:{...s,shouldUseTransitions:!n},DEEP_LINK:{...s,highlightDuration:5e3,smoothScroll:!1,shouldUseTransitions:!n},CRUD_ERROR:{...s,timeoutBeforeHighlight:500,shouldHighlightBackground:!1,shouldUseTransitions:!n},NAVIGATION_PROMPT:{...s,shouldHighlightBackground:!1,shouldUseTransitions:!n}}[t]),a="wc-highlight-bg-color",l="wc-bg-transition",c=(e,t,n)=>{(0,o.useEffect)((()=>{if(e?.id){const o=document.getElementById((0,r.xj)(e.id)),s=i({isMobile:t,type:e.type,screenshotMode:n});o&&setTimeout((()=>u(o,s)),s.timeoutBeforeHighlight)}}),[e?.id,e?.timestamp,e?.type,t])},d=(e,t)=>{const n=document.getElementById(e);n&&u(n,i({isMobile:t,type:"NAVIGATION_PROMPT"}))},u=(e,t)=>{if(t.shouldScroll){const n=e.getBoundingClientRect();m(n)&&window.scrollBy({top:n.top-document.documentElement.clientHeight/4,left:0,behavior:t.smoothScroll?"smooth":"auto"})}if(e.focus(),t.shouldHighlightBackground&&!e.classList.contains(a)&&!e.classList.contains(l)){const n=t.shouldUseTransitions?l:"wc-disable-transition";e.classList.add(a,n),setTimeout((()=>{e.classList.remove(a),t.shouldUseTransitions,setTimeout((()=>e.classList.remove(n)),500)}),t.highlightDuration)}},m=e=>{const t=document.documentElement.clientHeight/12,n=e.top-t<0,o=e.top+e.height>document.documentElement.clientHeight;return n||o}},44613:(e,t,n)=>{"use strict";n.d(t,{W:()=>u,i:()=>d});var o=n(60751),r=n.n(o),s=n(66991),i="o__1VlMua",a="sX2_wnj",l="sVqO8DJ",c=n.sts.bind(null,i);const d=({className:e,type:t="default"})=>r().createElement(s.c,{className:c(a,{type:t},e)}),u=({className:e})=>r().createElement("div",{className:c(l,e)},"\u2022")},37969:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(60751),r=n.n(o),s="oIrglxa",i="sfVD0FS",a=n.sts.bind(null,s);const l=({className:e,disabled:t=!1,buttonProps:{children:n,className:o,...s},initialState:l=!1,onShowCallback:c,buttonComponent:d,children:u,isMobile:m})=>{const[p,h]=r().useState({isVisible:l,isKbTriggered:!1}),g=r().useRef(null);r().useEffect((()=>(p.isVisible&&(document.addEventListener("click",E),document.addEventListener("keyup",v)),()=>{document.removeEventListener("click",E),document.removeEventListener("keyup",v)})),[p.isVisible]),r().useEffect((()=>{p.isVisible&&c?.()}),[p.isVisible,c]);const f=r().useMemo((()=>({returnFocus:e})=>{e&&g.current?.focus(),h({isKbTriggered:!1,isVisible:!1})}),[]),E=e=>{g.current?.contains(e.target)||f({returnFocus:!1})},v=e=>{("Escape"===e.key||"Tab"===e.key&&!m)&&f({returnFocus:"Escape"===e.key})},y=d||"button",b="function"==typeof u?u({isKbTriggered:p.isKbTriggered,closeDropdown:()=>{f({returnFocus:!0})}}):u;return r().createElement("div",{className:e},r().createElement("div",{ref:g},r().createElement(y,{className:a(i,o),...s,onClick:()=>{t||p.isVisible||h({isKbTriggered:!1,isVisible:!0})},onKeyDown:e=>{t||p.isVisible||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h({isKbTriggered:!0,isVisible:!0}))},"aria-haspopup":"true","aria-expanded":p.isVisible},n||null)),p.isVisible?b:null)}},91252:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(7081),r=n(60751),s=n.n(r),i=n(64343),a=n(43700);const l={dsn:"https://c9bdeb1ef4594bce927a38251efaac47@sentry.wixpress.com/694",config:{environment:"wix-comments-ooi-client-production"},tags:{release:i.v}},c=(e,t)=>{const n=(0,o.m)(e,l,t);return e=>s().createElement(n,{...(0,a.g)(((e,t,n,o)=>({host:n,ravenUserContextOverride:o.ravenUserContextOverride}))),sentryRelease:i.v,...e})}},36826:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var o=n(60751),r=n.n(o);const s=e=>r().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e},r().createElement("path",{d:"M15 4v2h4v1h-1v13H6V7H5V6h4V4h6zm2 3H7v12h10V7zm-3 2v8h-1V9h1zm-3 0v8h-1V9h1zm3-4h-4v1h4V5z",transform:"translate(-12 -470) translate(0 306) translate(0 155) translate(12 9)"}))},11683:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var o=n(60751),r=n.n(o);const s=e=>r().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e},r().createElement("path",{fillRule:"evenodd",d:"M16.679 5.602l1.702 1.704c.826.827.826 2.172 0 3l-8.17 8.18L4 20l1.512-6.218 8.17-8.18c.799-.802 2.196-.803 2.997 0zM8.661 16.046l1.312 1.314 5.652-5.658-3.336-3.341-5.652 5.659 1.317 1.319 3.193-3.193c.195-.195.512-.195.707 0 .195.196.195.512 0 .708L8.66 16.046zm7.645-5.026L17.7 9.624c.45-.451.45-1.186 0-1.637l-1.702-1.704c-.437-.437-1.197-.436-1.634 0L12.97 7.679l3.336 3.34zm-10.88 7.554l3.569-.83-2.741-2.745-.828 3.575z"}))},45176:(e,t,n)=>{"use strict";n.d(t,{e:()=>f});var o=n(60751),r=n.n(o),s=n(68536),i=n(71056),a=n(49182),l=n(29378),c=n(99062),d=n(17620),u="opEEK7A",m="sd0aDVq",p="s__6t4w_H",h="sl5CJHg",g=n.sts.bind(null,u);const f=({text:e,onClick:t,className:n,isPending:o=!1,dataHook:u,icon:f})=>{const{screenshotMode:E}=(0,d._)();return r().createElement(s.$,{className:g(m,n),onClick:t&&t,priority:i.dk.secondary,"data-hook":u,upgrade:!0,hoverStyle:i.fO.underline},r().createElement(c.A,{typography:"buttonSecondary",priority:"buttonSecondary"},e),f||null,o?r().createElement(a.y,{className:p,"data-hook":l._v,diameter:17,isStatic:E}):r().createElement("div",{className:h}))}},9420:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o=(0,n(64255).A)({importFn:()=>Promise.all([n.e(8303),n.e(736),n.e(9093)]).then(n.bind(n,17467)),errorHandling:{type:"HANDLE"}})},26766:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(64255),r=n(38644);const s=(0,o.A)({importFn:()=>Promise.all([n.e(8303),n.e(318),n.e(736),n.e(8227),n.e(3971)]).then(n.bind(n,7646)),errorHandling:{type:"HANDLE"}}),i=(0,r.A)((()=>null),s)},88771:(e,t,n)=>{"use strict";n.d(t,{CC:()=>s,KI:()=>i,RP:()=>l,VF:()=>r,_0:()=>m,h$:()=>d,jv:()=>c,r9:()=>u,vB:()=>p,w3:()=>a});var o=n(60751);const r=(0,o.lazy)((()=>n.e(5357).then(n.bind(n,12374)))),s=(0,o.lazy)((()=>n.e(9852).then(n.bind(n,99092)))),i=(0,o.lazy)((()=>n.e(2876).then(n.bind(n,18508)))),a=(0,o.lazy)((()=>n.e(8891).then(n.bind(n,70350)))),l=(0,o.lazy)((()=>n.e(3579).then(n.bind(n,82743)))),c=((0,o.lazy)((()=>n.e(2279).then(n.bind(n,39275)))),(0,o.lazy)((()=>n.e(5158).then(n.bind(n,72700))))),d=(0,o.lazy)((()=>n.e(1528).then(n.bind(n,72531)))),u=(0,o.lazy)((()=>n.e(4308).then(n.bind(n,73772)))),m=(0,o.lazy)((()=>n.e(5227).then(n.bind(n,40164)))),p=(0,o.lazy)((()=>n.e(8501).then(n.bind(n,95515))))},2680:(e,t,n)=>{"use strict";n.d(t,{Vs:()=>l,Zn:()=>c,hS:()=>d});var o=n(60751),r=n.n(o),s=n(16252),i=n(83395),a=n(76562);const l=(0,a.q6)({showModal:()=>null,modals:{}}),c=e=>{const[t,n]=(0,o.useState)({}),i=r().useCallback(((e,t)=>{n((n=>({...n,[e]:{modal:t,prevFocusOwner:document.activeElement}})))}),[]),a=r().useCallback((e=>()=>{n((t=>{const n=t[e].prevFocusOwner;return n&&n.focus(),(0,s.omit)(t,e)}))}),[]),c=r().useCallback((e=>{const t=(0,s.uniqueId)();i(t,e(a(t)))}),[i,a]);return r().createElement(l.Provider,{value:r().useMemo((()=>({showModal:c,modals:t})),[c,t])},e.children)},d=()=>(0,a.i7)(l,(e=>e.showModal),i.h)},78451:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,O:()=>s});var o=n(60751),r=n.n(o);const s="external-plugin-toolbar",i=r().forwardRef((({toolbarId:e,className:t},n)=>{const o=e?`${s}-${e}`:s;return r().createElement("div",{className:t,id:o,ref:n})}))},48391:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(60751),r=n.n(o),s=n(43700),i=n(17620),a=n(69503),l=n(16252),c=n(38013),d=n(54710);const u=(e,t)=>{const{navigatableMembersRoles:n,isNavigationAllowed:o}=(e=>e.maNavigation)(e);if(o&&void 0!==t){if(0===n.length)return!0;{const o=(0,a.mv)(e,t).map((e=>(e=>{switch(e){case d.Xh.OWNER:case d.Xh.CONTRIBUTOR:return c.RoleId.ADMIN;case d.Xh.BLOG_WRITER:return c.RoleId.SET_BLOG_WRITER;case d.Xh.BLOG_EDITOR:return c.RoleId.SET_BLOG_EDITOR;case d.Xh.FORUM_MODERATOR:return c.RoleId.SET_FORUM_MODERATOR;default:return}})(e))).filter((e=>e));return(0,l.intersection)(n,o).length>0}}return!1},m=e=>e.maNavigation.profileLinkTemplate,p=({member:e,className:t,children:n,tabIndex:o})=>{const{navigateToMember:a,isMemberNavigatable:l,profileLinkTemplate:c}=(0,s.g)(((t,n)=>({navigateToMember:n.navigateToMember,isMemberNavigatable:u(t,e?.id),profileLinkTemplate:m(t)}))),{resourceId:d}=(0,i._)();return r().createElement(r().Fragment,null,l?r().createElement("a",{className:t,style:{cursor:"pointer"},onClick:t=>{t.preventDefault(),t.stopPropagation(),e&&e.profile.slug&&a(e.id,e.profile.slug,d)},href:e?.profile.slug?c.replace("{memberSlug}",e?.profile.slug):"",tabIndex:o},n):r().createElement("div",{className:t},n))}},85447:(e,t,n)=>{"use strict";n.d(t,{g7:()=>r,pL:()=>s,py:()=>i});var o=n(23736);const r=e=>({mention:{onMentionHover:(t,n)=>{e?.setHoverMentionData?.({mention:t,ref:n})}},[o.V5]:{},[o.Dr]:{componentDataDefaults:{config:{size:"small",alignment:"center"}}}}),s=e=>({}),i=[o.N,o.W$]},7334:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});const o=(e,t)=>({..."viewer"===t?{p:{fontFamily:"var(--comment-font-family)",fontStyle:"var(--comment-font-style)",fontWeight:"var(--comment-font-weight)",color:"var(--comment-text-color)",fontSize:e?"var(--comment-font-size-mobile)":"var(--comment-font-size-desktop)",lineHeight:e?1.43:1.5,backgroundColor:"transparent"}}:{editor:{placeholder:{color:"var(--placeholder-text-color)"}},p:{color:"var(--box-text-color)",fontFamily:"var(--placeholder-font-family)",fontStyle:"var(--placeholder-font-style)",fontWeight:"var(--placeholder-font-weight)",fontSize:e?"var(--placeholder-font-size-mobile)":"var(--placeholder-font-size-desktop)",lineHeight:1.5,backgroundColor:"transparent"}}})},70614:(e,t,n)=>{"use strict";n.d(t,{X1:()=>K,k0:()=>V,n:()=>G});var o=n(16252),r=n(85447);function s(e){return o.isArray(e.nodes)}var i=n(16307),a=n(70119),l=n(97282),c=n(99173),d=n(2901),u=n(65054),m=n(71634),p=n(92895),h=n(45786),g=n(16199),f=n(92099);const E=e=>t=>{const n=[];var o;return(o=(t,o)=>{e(t,o)&&n.push(t)},({nodes:e})=>{const t=(e,t)=>e.map(((e,n,o)=>[e,{parents:t,previousSibling:o[n-1]}]));let n=t(e??[],[]);for(;n.length;){const[e,r]=n.shift();o(e,r);const s=[e,...r.parents];n=[...t(e.nodes||[],s),...n]}})(t),n},v=e=>(0,f.DS)(e.type),y=e=>(0,f.V8)(e.type),b=e=>e.type===u.A.PARAGRAPH&&0===e.nodes?.length,C=e=>e.type===u.A.TEXT,w=e=>e.id,N=e=>(0,p.o)(e).map((({textData:e})=>e?.text??"")).get().flat().join("").split(" ").filter((e=>""!==e)),I=e=>(0,p.o)(e).map((({textData:e})=>e?.text?.length??0)).get().flat().reduce(((e,t)=>e+t),0),R=(0,a.L3)(N,i.Ej),L=e=>(0,a.Fs)([e,e],c.wu(R,w)),T=(e,t)=>{if(R(e)===t)return e;const n=N(e).slice(0,t).join(" ").length,o=e.nodes?.filter(C).map(I)??[],r=o.reduce((([e,t],n)=>[[...e,Math.min(n,t)],Math.max(t-n,0)]),[[],n])[0],s=e=>r[e]>0&&r[e]0&&0===r[e+1],i=e.nodes?.filter(C).map(((e,t)=>({...e,textData:{...e.textData,decorations:e.textData?.decorations??[],text:e.textData?.text?.slice(0,r[t]).concat(s(t)?"\u2026":"")??""}}))).filter((e=>e.textData?.text?.length))??[];return{...e,nodes:i}},O=e=>!b(e)&&f.ek.includes(e.type),x=e=>t=>(0,a.Fs)((0,p.o)(t.nodes??[]).filter((0,m.Uo)([y,(0,l.AU)(b)])).get(),i.Tj(L),(e=>t=>t.reduce((([e,t],[n,o])=>[[...e,[n,Math.min(t,o)]],Math.max(t-o,0)]),[[],e])[0])(e),g.P,(e=>t=>(0,h.J)(e).filter((e=>Object.keys(t).includes(e.id))).set((e=>0===t[e.id]?[]:[T(e,t[e.id])])))(t)),S=e=>t=>(0,h.J)(e).set((e=>t.includes(e.id)?[]:[e])),k=e=>(0,h.J)(e).filter((e=>[u.A.LIST_ITEM,u.A.ORDERED_LIST,u.A.BULLETED_LIST,u.A.BLOCKQUOTE,u.A.TABLE,u.A.COLLAPSIBLE_LIST].includes(e.type))).set((e=>0===e.nodes?.length||e.type===u.A.LIST_ITEM&&e.nodes.every((e=>0===e.nodes.length))?[]:[e])),A=e=>(0,h.J)(e).filter((e=>[u.A.COLLAPSIBLE_ITEM_TITLE,u.A.COLLAPSIBLE_ITEM_BODY].includes(e.type))).set((e=>e.nodes&&0!==e.nodes.length?[e]:[])),_=e=>(0,h.J)(e).filter((e=>e.type===u.A.COLLAPSIBLE_ITEM)).set((e=>{if(!e.nodes||0===e.nodes.length)return[];return t=e,Boolean(t.nodes&&t.nodes.some((e=>e.type===u.A.COLLAPSIBLE_ITEM_TITLE))&&t.nodes.some((e=>e.type===u.A.COLLAPSIBLE_ITEM_BODY)))?[e]:[];var t})),M=e=>(0,h.J)(e).filter((e=>e.type===u.A.COLLAPSIBLE_LIST)).set((e=>e.nodes&&0!==e.nodes?.length?[e]:[])),D=e=>(0,a.Fs)(e,A,_,M),P=e=>(0,h.J)(e).filter((e=>[u.A.TABLE_ROW,u.A.COLLAPSIBLE_ITEM].includes(e.type))).set((e=>e.nodes?.every((e=>0===e.nodes?.length))?[]:[e])),B=e=>(0,a.Fs)(e,E(((e,{previousSibling:t})=>!!(b(e)&&t&&b(t)))),(e=>e.map(w)),S(e)),F=(e,t,n)=>{const{nodeCount:o,wordCount:r,maxPlugins:s}=(e=>({nodeCount:1/0,wordCount:1/0,maxPlugins:1/0,...e}))(t),[i,l]=(e=>{const t=new Set;return[(0,h.J)(e).filter((e=>!e.id&&!C(e))).set((e=>{const n=(0,d.$)();return t.add(n),[{...e,id:n}]})),t]})(e),c=(0,a.Fs)(i,(u=s,e=>(0,a.Fs)((0,p.o)(e?.nodes??[]).filter(v).map(w).get().slice(u),S(e))),((e,t)=>n=>(0,a.Fs)(n,E(t),(t=>t.slice(e).map(w)),S(n)))(o,n?.selectCountableNodes||O),x(r),P,k,D,n?.keepEmptyParagraphs?a.D_:B);var u;return((e,t)=>(0,h.J)(e).filter((e=>t.has(e.id))).set((e=>[{...e,id:""}])))(c,l)},H=(e,t,n)=>{if(function(e){return o.isArray(e.blocks)&&o.isObject(e.entityMap)}(e))return U(e,t);if(s(e)){const r=F(e,(e=>({nodeCount:e.blocksCount??1/0,wordCount:e.wordsCount??1/0,maxPlugins:e.maxPlugins??1/0}))(t),n);return{content:r,isTruncated:!o.isEqual(e,r)}}return{content:e,isTruncated:!1}},U=(e,t={})=>{const{blocks:n,entityMap:o}=e,{wordsCount:r=1/0,maxPlugins:s=1/0,blocksCount:i=1/0}=t;if(i<0||i>n.length&&r===1/0&&s===1/0)return{content:e,isTruncated:!1};const a={},l={},c=[];let d=0,u=0,m=!1;try{n.forEach(((e,t)=>{if(t===i)throw l;const n=e.text.split(" ").filter((e=>""!==e));if("atomic"===e.type&&u++,u>s)throw l;if(d+n.length>r?c.push({...e,text:n.slice(0,r-d).join(" ")+"\u2026"}):c.push(e),d+=n.length,e.entityRanges.forEach((e=>{a[e.key]=o[e.key]})),d>=r)throw l}))}catch(e){if(e!==l)throw e;m=!0}return{content:{...e,blocks:c,entityMap:a},isTruncated:m}},W=(e,t,n)=>({...(0,r.g7)(n)[t],...e,...(0,r.pL)(n)[t]}),V=(e,t)=>{if((0,o.isPlainObject)(e)){const n=[];return{plugins:Object.keys(e).map((o=>{const{editorModule:r,editorConfig:s={}}=e[o];if(!t?.disabledPlugins?.includes(o))return s.exposeEmbedButtons&&n.push(...s.exposeEmbedButtons),s.exposeButtons&&n.push(...s.exposeButtons),r?r(W(s,o,t)):void 0})).filter((e=>e)),exposedPluginButtons:n}}return{plugins:[],exposedPluginButtons:[]}},G=(e,t)=>{if((0,o.isPlainObject)(e)){return Object.keys(e).map((n=>{const{viewerModule:o,viewerConfig:r={}}=e[n];return o?o(W(r,n,t)):void 0})).filter((e=>e))}return[]},K=(e,{truncationThreshold:t})=>{const n=e&&t?H(e,{wordsCount:t}):void 0;return s(e)?n&&s(n.content)?{content:e,truncatedContent:n?.isTruncated?n.content:void 0}:{content:e,truncatedContent:void 0}:{content:void 0,truncatedContent:void 0}}},80017:(e,t,n)=>{"use strict";n.d(t,{A:()=>O});var o=n(60751),r=n.n(o),s=n(27426),i=(n(287),n(55530)),a=n.n(i),l=n(43700),c=n(6832),d=n(17620),u=n(70614);const m=(e,t,n)=>class extends r().Component{constructor(){super(...arguments),this.state={error:void 0},this.renderFallback=()=>t?r().createElement(t,{error:this.state.error}):null}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){n?n(e,t):console.log(e,t)}render(){return this.state.error?this.renderFallback():r().createElement(e,{...this.props})}};var p=n(99062),h=n(20571),g=n(29378);const f=e=>r().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...e},r().createElement("path",{d:"M11.999 15L6 9.759 6.657 9l5.342 4.666L17.343 9l.657.759z"})),E=e=>r().createElement(f,{...e,style:{transform:"scaleY(-1"}});var v=n(26766),y=n(7334),b=n(28647);const C="t7d4_P",w="AFrwsw",N="USlpga",I="I6Vh23",R="emVBzv",L="LxhQTT",T=m((({content:e,onShowMoreClick:t,disableShowMore:n=!1,contentId:o})=>{const[i,m,T,O,x,S,k,A,_]=(0,l.g)(((e,t,n)=>[e.experiments,e.baseParams.biMetadata,(0,c.iE)(e),e.baseParams?.language,(0,c.Ny)(e),(0,c.ah)(e),(0,c.rP)(e),n,(0,c.KH)(e)])),{pluginConfig:M,ricosTheming:D,contentTruncationLimit:P,transformCommentOnRender:B}=(0,d._)(),F=(0,h.W)(),H=r().useRef(null),[U,W]=r().useState(null),V=r().useMemo((()=>M?(0,u.n)("async"===M?.type?M.plugins:M,{setHoverMentionData:W}):[]),[M]),G=B&&e?B({content:e}):e,K=r().useMemo((()=>(0,u.X1)(G,{truncationThreshold:n?void 0:P})),[G,n,P]),[Y,z]=r().useState("auto"),[j,q]=r().useState((()=>K.truncatedContent?"TruncatedCollapsed":"NonTruncated"));r().useEffect((()=>{if(H.current&&K.truncatedContent&&(0,b.X)()){const e=new window.ResizeObserver((e=>{z(e[0].contentRect.height)}));return e.observe(H.current),()=>{e.disconnect()}}}),[]);const $="TruncatedCollapsed"===j?K.truncatedContent:K.content;return r().createElement("div",{className:C},k&&U&&U.ref&&r().createElement(v.A,{key:U.mention.id,viewedMemberId:U.mention.id,elementRef:U.ref}),r().createElement("div",{className:a()(w,{[N]:"TruncatedCollapsed"===j,[I]:"TruncatedExpanded"===j,[R]:"TruncatedCollapsed"===j}),style:{height:Y}},r().createElement("div",{ref:H},r().createElement(s.u,{content:$,wixExperiments:i,plugins:V,locale:O,isMobile:x,seoSettings:S,theme:{palette:A.style.siteColors,...D?.theme,parentClass:w,customStyles:(0,y.E)(x,"viewer")},instance:T,biSettings:{consumer:"wixComments",platform:"Livesite",defaultParams:m,contentId:o,postId:o,containerId:_},linkSettings:{relValue:"nofollow ugc"}}))),"NonTruncated"===j||n?null:r().createElement("button",{"data-hook":g.T6,className:L,onClick:()=>{t?.("TruncatedCollapsed"===j),q("TruncatedCollapsed"===j?"TruncatedExpanded":"TruncatedCollapsed")}},r().createElement(p.A,{typography:"content",priority:"buttonSecondary"},F("TruncatedExpanded"===j?"comment.show-less":"comment.show-more")),"TruncatedExpanded"===j?r().createElement(E,null):r().createElement(f,null)))}));T.displayName="RicosViewer";const O=T},15981:(e,t,n)=>{"use strict";n.d(t,{L:()=>pm});var o=n(60751),r=n.n(o),s=n(16252),i=n(91252),a=n(29378),l=n(99062),c=n(77732),d=n(3851),u=n(77656),m=n(95939),p=n(68536),h=n(71056),g=n(55530),f=n.n(g),E=n(6832),v=n(43700),y=n(17620),b="oBlfT2n",C="sdCiVHw",w=n.sts.bind(null,b);const N="A2Zb5X",I="RTJmsL",R="a2nj8Y",L=({children:e})=>{const{resourceId:t,hideAvatars:n,isLocked:o}=(0,y._)(),{isRtl:s,isMobile:i,showContainerBorderDev:l,ssrLoadedCorrectly:c}=(0,v.g)(((e,n,o,r)=>({isRtl:(0,E.Zb)(e),isMobile:(0,E.Ny)(e),showContainerBorderDev:r.wcDevToolsState.showContainerBorder,ssrLoadedCorrectly:!!r.wcSsrLoadedCorrectly&&!!r.wcSsrLoadedCorrectly[t]}))),d=c?"div":"section",u=c?"SSR_LOADED":"CSR_LOADED";return r().createElement(d,{className:f()(N,R,"wc-comments-root",{[I]:l}),dir:s?"rtl":"ltr","data-hook":f()(a.Dl,t,{[a.M3]:o}),"data-render":u},r().createElement("div",{className:w(C,{withoutAvatars:Boolean(n)},i?"wc-app-mobile":"wc-app-desktop")},e))};var T=n(44613);const O={container:"End1Qd",headerContainer:"NfMTYD",commentCount:"i8wK2V",text:"B0oDou",buttonContainer:"FgArLt",errorCode:"eknF2x"};var x=n(76562);const S={"error-boundary-fallback.message":"Hmm, that didn\u2019t work. Refresh the page and try again.","error-boundary-fallback.button-label":"Refresh","header.all-comments":"Comments"},k=e=>{let t=S["header.all-comments"],n=S["error-boundary-fallback.message"],i=S["error-boundary-fallback.button-label"],g=s.noop,f=!1,v=!1,y="";const b=e?.workerError?.error,C=e?.workerError?.errorId;b&&console.info(b);try{const o=r().useContext(d.$),a=((e,t,n)=>(o,r)=>{if(e)return o;const i=(t||n||s.identity)(o,r);return i&&i!==o?i:S[o]})("undefined"!=typeof window&&window.location.search.includes("debug-translate"),e.t,o.t);n=a("error-boundary-fallback.message"),i=a("error-boundary-fallback.button-label"),t=a("header.all-comments",{count:e.commentCount??0});const l=(0,x.NT)(c._),m=r().useContext(u.Q);y=m.resourceId??y,g=l?.actions.biShowFallbackState??g,f=(0,E.Ny)(l)??f,v=(0,E.Zb)(l)??v}catch{}return(0,o.useEffect)((()=>{g({resourceId:y})}),[]),r().createElement(m.li,{value:{mobile:f,rtl:v}},r().createElement(L,null,f&&r().createElement(T.i,{type:"header"}),r().createElement("div",{className:O.headerContainer},r().createElement("div",{"data-hook":a.Zy,className:O.left},r().createElement(l.v,{className:O.commentCount,typography:"titleSmall",mobile:f},t))),r().createElement("div",{className:O.container},r().createElement("div",{className:O.text},r().createElement(l.v,{priority:"primary",mobile:f},n)),r().createElement("div",{className:O.buttonContainer},r().createElement(p.$,{onClick:()=>window.location.reload(),hoverStyle:h.fO.underline},i)),C&&r().createElement("div",{className:O.text},r().createElement(l.v,{priority:"secondary",typography:"contentXSmall",mobile:f},"ErrorId: ",C)))))},A=e=>{try{return r().createElement(k,{...e})}catch{return r().createElement("div",null,"Unexpected error")}},_=r().lazy((()=>n.e(4354).then(n.bind(n,41750)))),M=()=>{const{resourceId:e}=(0,y._)(),{toggle:t,enabled:n,isSSR:o}=(0,v.g)(((t,n,o,r)=>({enabled:e===r.wcDevToolsState.panelIsOpenForResource,toggle:()=>r.wcDevToolsApi.set("panelIsOpenForResource",e===r.wcDevToolsState.panelIsOpenForResource?null:e),isSSR:(0,E.Fk)(t)})));return r().createElement(r().Fragment,null,r().createElement("button",{style:{border:"1px solid #999",borderTop:"0px",padding:"0px 10px 3px",opacity:"0.5",backgroundColor:"#ccc",borderRadius:"0 0 6px 6px",textAlign:"center",position:"absolute",top:"0",left:"50%",marginLeft:"-50px",cursor:"pointer",zIndex:100},onClick:t},"comments debug"),!o&&n&&r().createElement(r().Suspense,{fallback:null},r().createElement(_,{toggle:t})))};var D,P,B;!function(e){e.OLDEST_FIRST="OLDEST_FIRST",e.NEWEST_FIRST="NEWEST_FIRST",e.MOST_REACTIONS_FIRST="REACTION_COUNT",e.MOST_VOTES_FIRST="NET_VOTE_COUNT",e.LEAST_VOTES_FIRST="NET_VOTE_COUNT_ASC",e.HIGHEST_RATED_FIRST="RATING",e.LOWEST_RATED_FIRST="RATING_ASC"}(D||(D={})),function(e){e.ASC="ASC",e.DESC="DESC"}(P||(P={})),function(e){e.GROUP="GROUP"}(B||(B={}));const F={replyShowMoreLimit:10,ordering:D.NEWEST_FIRST,initialPage:{commentLimit:5,replyLimit:1},pagination:{commentLimit:15,replyLimit:3},maxPagesBeforeDrop:{commentPages:4,replyPages:5}},H={commentReactions:{type:"likes",mainEmotion:"heart"},replyReactions:{type:"likes",mainEmotion:"heart"}},U=({size:e,...t})=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:e||"24",height:e||"24",...t},o.createElement("path",{fillRule:"evenodd",d:"M8.1816,5.0039 C7.9276,5.0039 7.6696,5.0279 7.4106,5.0759 C5.7326,5.3909 4.3566,6.8479 4.0646,8.6189 C3.9346,9.4039 4.0036,10.2029 4.2616,10.9319 C4.2636,10.9379 4.2656,10.9439 4.2676,10.9499 C5.1716,13.8579 10.2066,17.4019 11.7286,18.4189 C11.8966,18.5329 12.1076,18.5309 12.2746,18.4189 C13.7956,17.4019 18.8266,13.8589 19.7326,10.9499 C19.9966,10.2029 20.0646,9.4039 19.9356,8.6189 C19.6426,6.8479 18.2666,5.3909 16.5896,5.0759 C14.9596,4.7749 13.3646,5.4459 12.4126,6.8369 C12.2256,7.1099 11.7736,7.1099 11.5876,6.8369 C10.7866,5.6669 9.5276,5.0039 8.1816,5.0039 M12.0016,19.5029 C11.7136,19.5029 11.4246,19.4189 11.1726,19.2509 C9.1366,17.8899 4.2966,14.3869 3.3156,11.2559 C3.0036,10.3719 2.9216,9.4039 3.0776,8.4569 C3.4436,6.2429 5.1106,4.4889 7.2266,4.0939 C9.0226,3.7539 10.8006,4.3809 11.9996,5.7409 C13.1996,4.3829 14.9766,3.7569 16.7736,4.0939 C18.8896,4.4899 20.5566,6.2429 20.9216,8.4569 C21.0786,9.4069 20.9956,10.3789 20.6816,11.2659 C19.7116,14.3819 14.8676,17.8889 12.8306,19.2509 C12.5786,19.4189 12.2896,19.5029 12.0016,19.5029"}));U.displayName="LikeHeart";var W=U;const V=r().memo((function(e){const t=(0,v.g)(((e,t,n,o)=>o)),n=t?.wcDevToolsState??{},o=r().useMemo((()=>{const{reactions:t={},...o}=e.config,r={..."auto"===n.commentReactions?{}:{commentReactions:{type:n.commentReactions}},..."auto"===n.replyReactions?{}:{replyReactions:{type:n.replyReactions}}},s="auto"===n.hideHeader?o.hideHeader:"on"===n.hideHeader,i="auto"===n.hideSorting?o.hideSorting:"on"===n.hideSorting,a="auto"===n.hideTitle?o.hideTitle:"on"===n.hideTitle;return{pagination:e.config.pagination,reactions:{...H,...t,...r},...o,commentBoxPosition:"auto"===n.commentBoxPosition?o.commentBoxPosition:n.commentBoxPosition,hideHeader:s,hideSorting:i,hideTitle:a,hideReplyingTo:"auto"===n.hideReplyingTo?o.hideReplyingTo:"on"===n.hideReplyingTo,hidePublishDate:"auto"===n.hidePublishDate?o.hidePublishDate:"on"===n.hidePublishDate,hideAvatars:"auto"===n.hideAvatars?o.hideAvatars:"on"===n.hideAvatars,hideBadge:"auto"===n.hideBadge?o.hideBadge:"on"===n.hideBadge,hideHeaderDivider:"auto"===n.hideHeaderDivider?o.hideHeaderDivider:"on"===n.hideHeaderDivider,isLocked:"auto"===n.isLocked?o.isLocked:"on"===n.isLocked,hideZeroCommentsEmptyState:"auto"===n.hideZeroCommentsEmptyState?o.hideZeroCommentsEmptyState:"on"===n.hideZeroCommentsEmptyState,blackAndWhiteModals:"auto"===n.blackAndWhiteModals?o.blackAndWhiteModals:"on"===n.blackAndWhiteModals,markLabels:"auto"===n.markLabels?o.markLabels:"on"===n.markLabels?{markActionLabel:"Custom mark as text",unmarkActionLabel:"Custom unmark text",badgeLabel:"Custom badge label",icon:{type:"CUSTOM",icon:W}}:"no-icon"===n.markLabels?{markActionLabel:"Custom mark as text",unmarkActionLabel:"Custom unmark text",badgeLabel:"Custom badge label",icon:{type:"NONE"}}:void 0,ratings:"auto"===n.ratings.type?o.ratings:"on"===n.ratings.type?{isRequired:n.ratings.isRequired}:void 0,userAuthDisplay:o.userAuthDisplay??"LOGOUT_ONLY"}}),[e.config.isLocked,e.config.resourceId,e.config.reactions,e.config.hideHeader,e.config.hideTitle,e.config.hideHeaderDivider,e.config.hideSorting,e.config.hideZeroCommentsEmptyState,e.config.overlayLayerContainer,e.config.disableNavigationPrompt,e.config.transformCommentOnRender,e.config.blackAndWhiteModals,e.config.markLabels,n]);return r().createElement(u.Q.Provider,{value:o},e.children)}));var G=n(74823);var K=n(51469);const Y=r().memo((function(e){const t=r().useContext(d.$),n="undefined"!=typeof window&&window.location.search.includes("debug-translate");return r().createElement(K.Y.Provider,{value:r().useMemo((()=>{const o=void 0!==e.t?{t:e.t}:t;return n?{t:s.identity}:o}),[e.t,t,n])},e.children)}));var z=n(2680),j=n(83202),q=n(20571),$=n(79458);const Z="data-count",X="data-rating",J=({className:e})=>r().createElement("svg",{viewBox:"3 2 18 18",width:"18",height:"18",className:e},r().createElement("path",{d:"M20.9502,8.8922 C20.8322,8.5282 20.5222,8.2672 20.1432,8.2112 L15.1362,7.4842 L12.8962,2.9472 C12.5572,2.2592 11.4422,2.2592 11.1032,2.9472 L8.8642,7.4842 L3.8562,8.2112 C3.4772,8.2672 3.1682,8.5282 3.0492,8.8922 C2.9312,9.2562 3.0282,9.6502 3.3022,9.9172 L6.9262,13.4492 L6.0712,18.4362 C6.0062,18.8142 6.1582,19.1882 6.4682,19.4132 C6.7782,19.6412 7.1812,19.6692 7.5212,19.4912 L11.9992,17.1352 L16.4792,19.4912 C16.6262,19.5692 16.7862,19.6072 16.9452,19.6072 C17.1512,19.6072 17.3572,19.5412 17.5322,19.4132 C17.8422,19.1882 17.9942,18.8142 17.9292,18.4362 L17.0742,13.4502 L20.6982,9.9172 C20.9722,9.6502 21.0692,9.2562 20.9502,8.8922",fillRule:"evenodd",fill:"currentColor"}));var Q="oL7WjPQ",ee="shL0BmI",te="sQomhTQ",ne=n.sts.bind(null,Q);const oe=({rating:e=0})=>{const t=(0,q.W)();return r().createElement("div",{className:ne(ee,{withRating:!!e}),"data-hook":a.fd,[X]:e},r().createElement("span",{title:t("ratings-display.rating-aria-label",{rating:e}),role:"region"}),r().createElement("div",{"aria-hidden":"true",className:te},r().createElement(J,null)))},re={root:"dg3ARI",a11yLabel:"n7A0ZN",a11YLabel:"n7A0ZN",innerContainer:"hPKvO2",largeGap:"loNe0W",smallGap:"VBkNur",full:"ZLxCgR",empty:"lCkTj0",halfStarWrapper:"AQjHNa",halfStarInnerWrapperStart:"B79H1l",halfStarInnerWrapperEnd:"ujCuGj"};var se="opsfU4o",ie="s__8B8Iau",ae=n.sts.bind(null,se);const le=(e=>{let{Icon:t,gap:n}=e;return e=>{let{rating:o,a11yLabel:s,className:i="",dataHook:a,collapsed:l}=e;const c=Math.min(Math.max(o,0),5);return r().createElement("div",{className:[re.root,"small"===n?re.smallGap:re.largeGap,i].join(" "),"data-hook":a,"data-value":c},s&&r().createElement("span",{className:re.a11yLabel},s),r().createElement("div",{"aria-hidden":"true",className:re.innerContainer},(l?[1]:[1,2,3,4,5]).map((e=>{const n=function(e,t){if(t<=e)return"full";if(t-e<1){const n=t-e;return n<.25?"full":n>.75?"empty":"half"}return"empty"}(c,e);switch(n){case"full":return r().createElement(t,{key:e,className:re.full});case"empty":return r().createElement(t,{key:e,className:re.empty});case"half":return r().createElement("div",{className:re.halfStarWrapper,key:e},r().createElement(t,{key:"start",className:[re.halfStarInnerWrapperStart,re.full].join(" ")}),r().createElement(t,{key:"end",className:[re.halfStarInnerWrapperEnd,re.empty].join(" ")}));default:throw o=n,new Error("Unreachable case with value "+JSON.stringify(o))}var o}))))}})({Icon:J,gap:"small"}),ce=({className:e,rating:t=0,isPending:n=!1})=>{const o=(0,q.W)();return r().createElement("div",{"data-hook":a.fd,[X]:t},r().createElement(le,{className:ae(ie,{isPending:Boolean(n)},e),a11yLabel:o("ratings-display.rating-aria-label",{rating:t}),rating:t}))};var de="sKaZqQk",ue="s__7ruFzb",me="siGYF1W";const pe=e=>{const t=(0,v.g)(E.Ny),n=(0,q.W)();return r().createElement("div",{className:de,"data-hook":a.bR,[Z]:"total"in e?e.total:0},(()=>{switch(e.type){case"DISABLED":return t?r().createElement(oe,null):r().createElement(ce,null);case"ENABLED":return r().createElement(r().Fragment,null,t?r().createElement(oe,{rating:e.average}):r().createElement(ce,{className:ue,rating:e.average}),r().createElement("div",{className:me},(({total:e,average:o})=>t?n("header.rating-count-compact",{count:e,average:o}):0===e?n("header.no-ratings-yet"):`${o} | ${n("header.rating-count",{count:e})}`)({average:e.average.toFixed(1),total:e.total})));default:throw(0,$.HB)(e)}})())};var he=n(88078),ge=n(57905),fe="obCcMhP",Ee="sDIwwPd",ve="s__8hW33z",ye=n.sts.bind(null,fe);var be,Ce,we=n(64957),Ne=n(44774);!function(e){e.largeTitle="largeTitle",e.smallTitle="smallTitle",e.listText="listText",e.runningText="runningText"}(be||(be={})),function(e){e.primary="primary",e.secondary="secondary"}(Ce||(Ce={}));const Ie=e=>{const{typography:t=be.runningText,priority:n=Ce.primary,tagName:r,children:s,className:i,role:a,id:l,"aria-label":c,"aria-hidden":d,...u}=e,p=!!d&&"false"!==d;return o.createElement(m.UR,null,(({mobile:d})=>o.createElement(o.Fragment,null,o.createElement(r||"span",{className:(0,Ne.st)(Ne.classes.root,{typography:t,priority:n,mobile:d},i),"aria-hidden":p||!!c,"aria-label":c,"data-hook":e["data-hook"],"data-mobile":d||null,role:a,id:l,...u},s),!p&&c?o.createElement("span",{className:Ne.classes["sr-only"],"data-sr-only":"true","data-hook":`${e["data-hook"]||"wut-text"}-aria-label`},c):null)))};Ie.displayName="Text";var Re=n(99438),Le=n(13075);class Te extends o.Component{constructor(){super(...arguments),this.liRef=o.createRef(),this._onKeyDown=e=>{!this.props.disabled&&(0,Re.K8)(e)&&(e.preventDefault(),this.props.onClick())}}focus(){this.liRef.current&&this.liRef.current.focus()}render(){const{content:e,prefixIcon:t,subtitle:n,disabled:r,onClick:s,alignment:i,className:a}=this.props;return o.createElement(m.UR,null,(({mobile:l,rtl:c})=>o.createElement("li",{onKeyDown:this._onKeyDown,"aria-label":this.props["aria-label"],tabIndex:-1,ref:this.liRef,key:e,className:(0,we.st)(we.classes.root,{mobile:l,rtl:c,disabled:r,alignment:i,withIcon:!!t},a,Le.r.hasCustomFocus),role:"menuitem","aria-disabled":r,"data-hook":"actions-menu-item","data-content":e,onClick:r?void 0:s},o.createElement("div",{className:we.classes.container},t?o.createElement("div",{className:we.classes.iconContainer},o.createElement("div",{className:we.classes.icon},t)):null,o.createElement("div",{className:we.classes.textContainer},o.createElement("div",{className:we.classes.text},o.createElement(Ie,{className:we.classes.content},e),n&&o.createElement(Ie,{className:we.classes.subtitle},n)))))))}}Te.displayName="ActionsMenuLayout.Item";var Oe=n(66991),xe="shB6dCD";const Se=e=>o.createElement(Oe.c,{...e,className:xe});var ke,Ae;Se.displayName="ActionsMenuLayout.Divider",function(e){e.mobile="data-mobile"}(ke||(ke={})),function(e){e.left="left",e.center="center",e.right="right"}(Ae||(Ae={}));class _e extends o.Component{constructor(){super(...arguments),this.state={focusedIdx:this.props.focusedIndex},this.liRefs={},this._onKeyDown=e=>{e.key!==Re.Rk.ArrowDown&&e.key!==Re.Rk.ArrowDownIE||(e.preventDefault(),this._focusItem(this._getNextItemIdx(1))),e.key!==Re.Rk.ArrowUp&&e.key!==Re.Rk.ArrowUpIE||(e.preventDefault(),this._focusItem(this._getNextItemIdx(-1)))},this._onFocus=e=>{!!Object.values(this.liRefs).find((t=>t.liRef?.current===e.target))||this._focusItem(0)},this._preventFocus=e=>e.preventDefault()}componentDidMount(){const{focusedIndex:e}=this.props;void 0!==e&&this._focusItem(e)}getDataAttributes(e){return{[ke.mobile]:e}}_getNextItemIdx(e){const t=this.state.focusedIdx+e;return 1===e?t===Object.values(this.liRefs).length?0:t:t<0?Object.values(this.liRefs).length-1:t}_addRef(e,t){e&&(this.liRefs[t]=e)}_focusItem(e){this.setState({focusedIdx:e},(()=>{Object.values(this.liRefs)[e]?.liRef?.current.focus()}))}render(){const{alignment:e,children:t,className:n}=this.props;return o.createElement(m.UR,null,(({mobile:r})=>o.createElement("ul",{onFocus:this._onFocus,onMouseDown:this._preventFocus,onKeyDown:this._onKeyDown,className:ye(Ee,{mobile:r},n),...this.getDataAttributes(r),"data-hook":this.props["data-hook"],role:"menu","aria-labelledby":this.props["aria-labeledby"],"aria-label":this.props["aria-label"],tabIndex:0},o.Children.map(t,((t,n)=>t.type===Te?o.cloneElement(t,{className:ve,alignment:e,ref:e=>{this._addRef(e,n)}}):t)))))}}_e.Item=Te,_e.Divider=Se,_e.displayName="ActionsMenuLayout";var Me=n(37969),De=n(88771),Pe=n(70478),Be="sy_vEmK",Fe="sCCdZRq",He="sU6_RmU",Ue="s__7Ig4sh",We="sWsqMZN",Ve="s__0mW5fB";const Ge=e=>{const{requestLogin:t,requestLogout:n,isMobile:o}=(0,v.g)(((e,t)=>({requestLogin:t.requestLogin,requestLogout:t.requestLogout,isMobile:(0,E.Ny)(e)}))),s=(0,q.W)(),i=(0,z.hS)();return r().createElement("div",{className:Be},"login"===e.state?r().createElement(p.$,{className:We,priority:h.dk.secondary,size:h.Mp.tiny,onClick:()=>{t({mode:"login"})},upgrade:!0,"data-hook":a.pD,hoverStyle:h.fO.underline},r().createElement("span",{className:Ve},s("user-actions.log-in"))):(l=e.avatarUrl,c=e.memberName,o?r().createElement("button",{onClick:()=>i((e=>r().createElement(De.jv,{toggle:e,logout:()=>{n()}}))),"data-hook":a.kd,"aria-label":s("user-profile.avatar-button-aria-label",{name:c??""})},r().createElement(he.e,{className:Ue,src:l,size:ge.P.small})):r().createElement(Me.A,{className:Fe,buttonProps:{children:r().createElement(he.e,{className:Ue,src:l,size:ge.P.small}),"data-hook":a.kd,"aria-label":s("user-profile.avatar-button-aria-label",{name:c??""})}},r().createElement(Pe.P,{className:He,offset:32},r().createElement(_e,null,r().createElement(_e.Item,{content:s("user-actions.log-out"),onClick:()=>{n()}}))))));var l,c};var Ke="oTUT_fZ",Ye="s__8aVhn0",ze="sx0_FVP",je="srYLbaT",qe="sNyPkdt",$e="sGcC7RF",Ze="sOTqqI_",Xe="sNJQ5BC",Je=n.sts.bind(null,Ke);const Qe=({hideHeader:e,hideTitle:t,hideRatings:n,userAuthControlState:o})=>e||t&&n&&"HIDDEN"===o.type?{type:"HIDDEN"}:{type:"VISIBLE",visibilityProps:{userAuthControlState:o,hideTitle:!!t,hideRatings:!!n}},et=r().memo((({commentCount:e,hideTitle:t,userAuthControlState:n,...o})=>{const s=(0,q.W)(),{a11yOptions:i,headerTitleText:l}=(0,y._)(),c=(0,v.g)(E.Ny),d=e??0,u=i?.headerRank??"span",{titleArea:m,ratingArea:p,userAuthArea:h}=(({isMobile:e,isTitleVisible:t,isRatingVisible:n,isUserAuthVisible:o})=>e?{titleArea:je,ratingArea:t?o?$e:qe:je}:{titleArea:je,ratingArea:t?qe:je,userAuthArea:t&&n?$e:qe})({isMobile:c,isTitleVisible:!t,isRatingVisible:!o.hideRatings,isUserAuthVisible:"HIDDEN"!==n.type});return r().createElement(r().Fragment,null,c&&r().createElement(T.i,{type:"header"}),r().createElement("div",{className:Je(Ye,{isMobile:c,isOneRow:t||o.hideRatings||"HIDDEN"===n.type}),"data-hook":a.Hr},r().createElement("div",{className:ze},!t&&r().createElement(u,{className:Je(Ze,m),"data-hook":a.Zy},l?l(d):s("header.all-comments",{count:d})),"HIDDEN"!==n.type&&r().createElement("div",{className:Je(Xe,h)},r().createElement(Ge,{..."LOGOUT"===n.type?{state:"logout",avatarUrl:n.memberAvatarUrl,memberName:n.memberName}:{state:"login"}})),!o.hideRatings&&r().createElement("div",{className:p},r().createElement(pe,{...o.ratings})))))}));et.displayName="CommentsHeader";const tt=["COMMENT_CREATE_PENDING","COMMENT_CREATE_ERROR","COMMENT_READY","COMMENT_EDITING","COMMENT_UPDATE_PENDING","COMMENT_DELETE_PENDING","COMMENT_DELETED","COMMENT_LIVE_PENDING"],nt=((0,$.gh)(tt),(0,$.gh)(tt),(0,$.gh)(["COMMENT_READY","COMMENT_EDITING","COMMENT_UPDATE_PENDING","COMMENT_UPDATE_ERROR","COMMENT_DELETE_PENDING"]));var ot=n(69503),rt=n(33769);const st=({state:e,initiatorIdentity:t})=>{const n=it(e.reactions);switch(e.action){case"ADD":return{total:e.total+1,reactions:n.map((n=>n.reactionCode===e.reactionCode?at(n,t):n))};case"REPLACE":return{total:e.total,reactions:n.map((n=>n.hasReacted?lt(n,t):n.reactionCode===e.reactionCode?at(n,t):n))};case"REMOVE":return{total:e.total-1,reactions:e.reactions.map((e=>e.hasReacted?lt(e,t):e))};default:throw(0,$.HB)(e.action)}},it=e=>Object.values(rt.K).map((t=>{const n=e?.find((e=>e.reactionCode===t));return{reactionCode:t,hasReacted:n?.hasReacted||!1,total:n?.total||0,identities:n?.identities||[]}})),at=(e,t)=>({...e,hasReacted:!0,identities:t?[t,...e.identities]:e.identities,total:e.total+1}),lt=(e,t)=>({...e,hasReacted:!1,identities:t?e.identities.filter((e=>e.identityId!==t.identityId)):e.identities,total:e.total-1}),ct=(e,t)=>{const{reactions:n,total:o}=e,r=it(n);return"IDLE"===e.type?{pending:!1,total:o,reactions:r,activeReaction:r.find((e=>e.hasReacted))?.reactionCode}:{...st({state:e,initiatorIdentity:(0,ot.iq)(t)}),pending:!0,activeReaction:e.reactionCode}},dt={UPVOTE:1,DOWNVOTE:-1,NEUTRAL:0},ut=e=>e.scoresWithoutUserVote+dt[e.currentUserVote.type],mt=(e,t)=>"IDLE"===t.type?{isMarked:!!e.isMarked,pending:!1}:{isMarked:"ADD"===t.action,pending:!0},pt=(0,$.gh)(["COMMENT_READY","COMMENT_EDITING","COMMENT_UPDATE_PENDING","COMMENT_UPDATE_ERROR","COMMENT_DELETE_PENDING","REPLY_READY","REPLY_EDITING","REPLY_UPDATE_PENDING","REPLY_UPDATE_ERROR","REPLY_DELETE_PENDING"]),ht=(e,t)=>{const n="reactions"in e?ct(e.reactions,t):void 0,o=pt(e)?mt(e.comment,e.marked):void 0,r=nt(e)?(s=e.votes).currentUserVote.pendingState?{pending:!0,score:(i=s,i.scoresWithoutUserVote+dt[i.currentUserVote.pendingState??i.currentUserVote.type]),state:s.currentUserVote.pendingState}:{pending:!1,score:ut(s),state:s.currentUserVote.type}:void 0;var s,i;return{...e,...n&&{reactions:n},...(0,$.O9)(o)&&{marked:o},...r&&{votes:r}}},gt=(e,t)=>e.filter((e=>!t.includes(e))),ft=e=>{const{nextChunkState:t}=e.topLevelCommentList,n=vt(e.topLevelCommentList.chunks);return n&&n.nextCursor?"IDLE"===t.type?{type:"HAS",cursor:n.nextCursor}:{type:"PENDING"}:{type:"NONE"}},Et=e=>{const{prevChunkState:t}=e.topLevelCommentList,n=yt(e.topLevelCommentList.chunks);return n&&n.previousCursor?"IDLE"===t.type?{type:"HAS",cursor:n.previousCursor}:{type:"PENDING"}:{type:"NONE"}},vt=e=>(0,s.last)(e.filter((e=>"FETCHED"===e.type))),yt=e=>(0,s.first)(e.filter((e=>"FETCHED"===e.type))),bt=(e,t)=>{if(!e)return;const n=Ct(e,e.newRepliesToReplies),o=(e=>{if(!e)return{type:"NONE"};const{nextChunkState:t,chunks:n=[]}=e,o=(0,s.last)(n.filter((0,$.gh)(["FETCHED","INITIAL"])));return o&&o.nextCursor?"IDLE"===t.type?{type:"HAS",cursor:o.nextCursor}:{type:"PENDING"}:{type:"NONE"}})(e),r=(e=>{if(!e)return{type:"NONE"};const{prevChunkState:t,chunks:n=[]}=e,o=(0,s.first)(n.filter((0,$.gh)(["FETCHED","INITIAL"])));return o&&o.previousCursor?"IDLE"===t.type?{type:"HAS",cursor:o.previousCursor}:{type:"PENDING"}:{type:"NONE"}})(e),i=e.parentCommentId;if(0===n.length)return"NONE"===o.type?0===e.liveRepliesPurgatory.length?{type:"EMPTY",parentCommentId:i}:{type:"ONLY_VIEW_LIVE",parentCommentId:i,count:e.liveRepliesPurgatory.length}:0===e.liveRepliesPurgatory.length?{type:"ONLY_LOAD_MORE",parentCommentId:i,next:o}:{type:"ONLY_LOAD_MORE_AND_LIVE",parentCommentId:i,next:o};return{type:"FULL",parentCommentId:i,comments:n.map((e=>t[e])),next:o,prev:r,live:e.liveRepliesPurgatory.length?{type:"SOME",count:e.liveRepliesPurgatory.length}:{type:"NONE"}}},Ct=(e,t)=>{const n=e.chunks||[],o=(0,s.flatMap)(n,(e=>{switch(e.type){case"REPLY_TARGET":return e.commentId;case"NEW":return e.localOrCommentId;case"LIVE":return e.commentIds;case"FETCHED":case"INITIAL":return(0,s.difference)(e.commentIds,n.filter((0,$.gh)("REPLY_TARGET")).map((e=>e.commentId)),(0,s.flatten)(n.filter((0,$.gh)("LIVE")).map((e=>e.commentIds))),(0,s.flatten)((0,s.values)(t)),n.filter((0,$.gh)("NEW")).map((e=>e.localOrCommentId)),(0,s.flatten)(n.filter((0,$.gh)("LIVE")).map((e=>e.commentIds))));default:throw(0,$.HB)(e)}})).reverse();return wt(o,t)},wt=(e,t)=>{const n=e=>(0,s.flatMap)(t[e]||[],(e=>[e,...n(e)]));return(0,s.flatMap)(e,(e=>[e,...n(e)]))},Nt=e=>0===e.total?0:Object.entries(e.breakdown).map((([e,t])=>t*e)).reduce(((e,t)=>e+t),0)/e.total,It=e=>({total:e.total,average:Nt(e),currentRating:"PENDING"===e.currentRating.type?{value:e.currentRating.pendingValue,isPending:!0}:{value:e.currentRating.value,isPending:!1},inputRating:{value:e.inputRating,isPending:"PENDING"===e.currentRating.type}}),Rt=e=>{const t=((e,t)=>{const n=(0,s.flatten)(e.chunks.map((e=>{switch(e.type){case"NEW":{const n=t[e.localOrCommentId];return"commentId"in n?[n.commentId]:[]}case"LIVE":return e.commentIds;case"FETCHED":return[];default:throw(0,$.HB)(e)}})).concat(e.liveCommentsPurgatory));return(0,s.flatMap)(e.chunks,(e=>"FETCHED"===e.type?gt(e.commentIds,n):"LIVE"===e.type?e.commentIds:e.localOrCommentId))})(e.topLevelCommentList,e.commentsById),n=t.map((t=>e.commentsById[t])),o=(0,s.keyBy)(t.map((t=>bt(e.replyLists[t],e.commentsById))).filter($.O9),(e=>e.parentCommentId));return{type:"READY",commentList:n,next:ft(e),prev:Et(e),ordering:e.configs.pagination.ordering,totals:e.totals,isEmpty:0===n.length&&0===e.topLevelCommentList.liveCommentsPurgatory.length,replies:o,permissions:e.configs.permissions,scrollAnchor:e.effects?.scrollAnchor,highlight:e.effects?.highlight,ratings:It(e.ratings),commentBox:e.effects?.commentBox,showLiveCommentsButton:e.topLevelCommentList.liveCommentsPurgatory.length>0?{type:"VISIBLE",count:e.topLevelCommentList.liveCommentsPurgatory.length}:{type:"HIDDEN"},someoneIsTyping:e.effects?.someoneIsTyping||"none",interactionFetchState:e.interactionFetchState}},Lt=(e,t)=>n=>{const o=((e,t)=>n=>{const o=e.comments[t];if("READY"===o?.type)return o.commentsById[n]})(e,t)(n);if(o&&(0,$.gh)(["COMMENT_READY","REPLY_READY"],o))return o.comment},Tt=(e,t)=>{const n=e.comments[t];if("READY"===n?.type)return n.effects?.toast},Ot=(e,t)=>{const n=e.comments[t];if("READY"===n?.type)return n.effects?.modal},xt="_RbgEc",St="e2uSG4",kt="r1qooR";var At=n(49182);const _t=()=>{const e=(0,q.W)(),{screenshotMode:t}=(0,y._)();return r().createElement("div",{"data-hook":a.u5,className:xt},r().createElement("div",{className:kt},r().createElement(At.y,{diameter:17,isStatic:t})),r().createElement("div",{className:St},r().createElement(l.A,{priority:"primary"},e("empty-state.list-loading-text"))))},Mt=e=>{switch(e.type){case"UNKNOWN":return"UNKNOWN";case"ANONYMOUS":return"VISITOR";case"MEMBER":return e.member.privacyStatus??"PRIVATE";default:throw(0,$.HB)(e)}},Dt=({memberType:e,permissions:t,isConsumerPreconditionRequired:n,isVisitorToMemberDisabled:o})=>{switch(e){case"PUBLIC":case"PRIVATE":return n?{type:"ALLOW",precondition:"CONSUMER_PRECONDITION"}:{type:"DENY",reason:"UNKNOWN"};case"UNKNOWN":case"VISITOR":return o||!t.registrationData.registrationOpened||t.registrationData.registrationManuallyApproved||t.registrationData.requireEmailVerification?{type:"DENY",reason:"LOGIN_REQUIRED"}:{type:"ALLOW",precondition:"VISITOR_TO_MEMBER"};default:throw(0,$.HB)(e)}},Pt=e=>"ALLOW"===e.type&&"GUEST_FLOW"===e.precondition;var Bt=n(38644),Ft=n(80017);const Ht=e=>new Date(e).getTime()>(new Date).getTime()-6048e5,Ut=({className:e,...t})=>{const{formatRelativeTime:n,screenshotMode:o}=(0,y._)(),s=(0,q.W)(),i=t.time?(e=>{const t=new Date,n=new Date(e);return n.getTime()>t.getTime()?t:n})(t.time):null;return i?r().createElement("span",{className:e,"data-hook":"time-ago"},o?"