(window.ansFrontendRelayWebpackJsonpFunction=window.ansFrontendRelayWebpackJsonpFunction||[]).push([["section-QuestionDesktopSidebar"],{"/3oY":function(e,n,t){"use strict";var a;!function(e){e.question_right_rail="question_right_rail",e.home_right_rail="home_right_rail",e.feed_answer_modal="feed_answer_modal",e.feed_story="feed_story",e.question_answer_expand="question_answer_expand",e.tribe_post_modal="tribe_post_modal",e.feed_post_modal="feed_post_modal",e.following_feed_post_modal="following_feed_post_modal",e.following_feed_answer_modal="following_feed_answer_modal",e.following_right_rail="following_right_rail",e.notif_right_rail="notif_right_rail",e.search_right_rail="search_right_rail",e.tribe_answer_modal="tribe_answer_modal",e.question_bottom="question_bottom"}(a||(a={})),n.a=a},"254s":function(e,n,t){"use strict";var a,l=t("1cij"),i=t("v2zQ"),o=t("jufJ"),r=t("Yc5t"),s=t("VwvB"),u=t("AaDK"),d=t("nwxp"),c=t("FuLD"),m=t("q1tI"),g=t.n(m),f=t("0UDP"),p=t("bpBL"),b=t("F5vG"),y=function(e){var n=e.question,m=e.limit,y=e.position,h=void 0===y?"bottom":y,v=e.tribeId,k=Object(f.useFragment)(void 0!==a?a:a=t("Y+Pn"),n),_=k.qid;if(k.shouldHideRelatedQuestionsAndAnswers)return null;var S="bottom"===h?null===k||void 0===k?void 0:k.bottomRelatedQuestionsInfo:null===k||void 0===k?void 0:k.rightHandSideRelatedQuestionsInfo,E=(null===S||void 0===S?void 0:S.relatedQuestions)||[],F=(null===S||void 0===S?void 0:S.hashSuffix)||"";return 0===E.length?null:g.a.createElement(s.e,{spaceBottom:!0,className:"dom_annotate_related_questions"},Object(l.c)()&&g.a.createElement(i.h,{question:k}),g.a.createElement(r.a,{onImpression:function(){Object(u.a)("question_page_monitoring",{qid:_,component_type:"related_questions"})}},g.a.createElement(b.a,{questions:E,title:Object(o.plaintextTranslate)("Related questions"),hashFn:Object(p.a)(F),showAddNewQuestionOnDesktop:"right"===h,navStyle:Object(d.c)()&&!Object(c.a)()?"present":"push",limit:m,tribeId:v})))};y.displayName="QuestionRelatedQuestions",n.a=y},"3bz9":function(e,n,t){"use strict";t.r(n);var a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"questionSlugEncoded"}],n=[{kind:"Variable",name:"slugEncoded",variableName:"questionSlugEncoded"}],t={alias:null,args:null,kind:"ScalarField",name:"isDeleted",storageKey:null},a=[{kind:"Literal",name:"placementType",value:"question_right_rail"}],l={alias:null,args:a,kind:"ScalarField",name:"canSeeProgrammaticAds",storageKey:'canSeeProgrammaticAds(placementType:"question_right_rail")'},i={platforms:["DESKTOP"]},o={alias:null,args:null,kind:"ScalarField",name:"canSeeDeletedContent",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"uid",storageKey:null},c={name:"annotate_with_ids",value:"true"},m={alias:null,args:null,kind:"ScalarField",name:"tribeItemId",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"QuestionDesktopSidebarSectionQuery",selections:[{alias:"question",args:n,concreteType:"Question",kind:"LinkedField",name:"questionFromSlugEncoded",plural:!1,selections:[t,l,{kind:"Condition",passingValue:!0,isCustom:!0,customValue:i,condition:"onPlatform",selections:[{args:null,kind:"FragmentSpread",name:"QuestionRightRailGoogleProgrammaticAds_adsInfo"}]},{args:[{kind:"Literal",name:"rightSidebar",value:!0}],kind:"FragmentSpread",name:"QuestionRelatedQuestions_question"}],storageKey:null},{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[o],storageKey:null}],type:"QueryRoot",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"QuestionDesktopSidebarSectionQuery",selections:[{alias:"question",args:n,concreteType:"Question",kind:"LinkedField",name:"questionFromSlugEncoded",plural:!1,selections:[t,l,r,s,u,{alias:null,args:null,kind:"ScalarField",name:"shouldHideRelatedQuestionsAndAnswers",storageKey:null},{alias:null,args:null,concreteType:"RightHandSideRelatedQuestionsInfo",kind:"LinkedField",name:"rightHandSideRelatedQuestionsInfo",plural:!1,selections:[r,s,{alias:null,args:null,kind:"ScalarField",name:"hashSuffix",storageKey:null},{alias:null,args:null,concreteType:"Question",kind:"LinkedField",name:"relatedQuestions",plural:!0,selections:[r,s,u,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isPartnerQuestion",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isTrendyQuestion",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"asker",plural:!1,selections:[r,s,{alias:null,args:null,kind:"ScalarField",name:"isEmployee",storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"Network",kind:"LinkedField",name:"network",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"nid",storageKey:null},r],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tribeItem",plural:!1,selections:[s,{alias:null,args:null,concreteType:"Tribe",kind:"LinkedField",name:"tribe",plural:!1,selections:[r],storageKey:null},r],storageKey:null},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:{platforms:["MOBILE"]},condition:"onPlatform",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewCount",storageKey:null}]},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:c,condition:"onGate",selections:[{alias:null,args:null,kind:"ScalarField",name:"debugInfo",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tribeItem",plural:!1,selections:[m],storageKey:null},{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[d,r],storageKey:null},r],storageKey:null}]}],storageKey:null}],storageKey:null},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:i,condition:"onPlatform",selections:[{alias:null,args:a,concreteType:"GoogleProgrammaticAdsInfo",kind:"LinkedField",name:"googleProgrammaticAdsInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"targetingKeyValuePairs",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"behavior",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"apsPubId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placementType",storageKey:null},{alias:null,args:null,concreteType:"GoogleProgrammaticAd",kind:"LinkedField",name:"googleProgrammaticAds",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"googleProgrammaticAdId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"slotName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sizes",storageKey:null},r],storageKey:null},r],storageKey:'googleProgrammaticAdsInfo(placementType:"question_right_rail")'}]},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:c,condition:"onGate",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tribeItem",plural:!1,selections:[r,s,m],storageKey:null}]}],storageKey:null},{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[o,r],storageKey:null}]},params:{id:"1a7f600fd6e93f7bfa24e875f3156919bcef95cd29beccf32469873994a02446",metadata:{},name:"QuestionDesktopSidebarSectionQuery",operationKind:"query",text:null}}}();a.hash="232a4b441c209b5823fb1e2d5bd840c7",n["default"]=a},F5vG:function(e,n,t){"use strict";var a,l=t("lwsE"),i=t.n(l),o=t("W8MJ"),r=t.n(o),s=t("7W2i"),u=t.n(s),d=t("a1gu"),c=t.n(d),m=t("Nsbk"),g=t.n(m),f=t("Sod0"),p=t("68Yv"),b=t("6ij1"),y=t("NL3F"),h=t("jufJ"),v=t("zLpq"),k=t("OMLc"),_=t("cBSy"),S=t("MI6j"),E=t("jQ0q"),F=t("06DM"),O=t("rAPm"),j=t("RA+f"),I=t("VyO/"),P=t("d1zJ"),K=t("nwxp"),w=t("s/A7"),A=t("FuLD"),q=t("q1tI"),T=t.n(q),Q=t("UDrg"),D=t("Wf7G"),R=t("eRI6"),C=t("1cij"),L=t("v2zQ"),N=t("eP4p"),x=t("OP/U"),V=t("IJ0f"),z=t("AaDK"),B=t("wTYd"),G=t("maJS"),H=t("oJBy"),U=t("Kk/C"),J=function(e){var n=e.question,t=e.hashFn,a=e.navStyle,l=function(e){var l=e.includeHref,i=e.openUrl;return T.a.createElement(D.a,{key:n.qid,impressionType:G.a.related_question,impressionHash:t&&t(n)},T.a.createElement(R.a,null,(function(e){var t=e.logClickthrough;return T.a.createElement(T.a.Fragment,null,T.a.createElement(S.c,{variant:"link",mainText:T.a.createElement(x.b,{isEnabledOnLoad:!0},T.a.createElement(j.e,{py:Object(K.c)()?"tiny":undefined,px:Object(K.c)()?"medium":undefined},T.a.createElement(U.a,{question:n,variant:"simple",color:"blue_dark",truncateLines:Object(K.c)()?2:undefined,linked:!1}))),subText:(null===n||void 0===n?void 0:n.viewCount)!==undefined&&Object(K.f)()&&T.a.createElement(h.Translate,null,T.a.createElement(h.PluralTranslate,{value:n.viewCount},{ONE:T.a.createElement(T.a.Fragment,null,T.a.createElement(h.FormattedNumber,{value:n.viewCount})," ","View"),OTHER:T.a.createElement(T.a.Fragment,null,T.a.createElement(h.FormattedNumber,{value:n.viewCount})," ","Views")})),href:l?n.url:null,propagateOnClickSecondaryComponent:!0,onClick:function(e){Object(z.a)("log_qp_related_question_clicks",{}),t("QuestionLinkClickthrough"),Object(K.d)()&&e.currentTarget.blur(),Object(K.h)()&&!Object(A.a)()?Object(N.n)(H.a.native_app_related_question):null===i||void 0===i||i()},navStyle:a,size:Object(K.f)()?"regular":"dense",includePageMargin:Object(K.f)(),hover:{textDecoration:undefined}}),Object(C.c)()&&T.a.createElement(L.g,{question:n}))})))};return T.a.createElement(B.a,null,(function(e){var t,i;return null==(null===n||void 0===n||null===(t=n.tribeItem)||void 0===t?void 0:t.tribe)&&(null===n||void 0===n||null===(i=n.network)||void 0===i?void 0:i.nid)===e&&Object(K.h)()?T.a.createElement(V.a,{href:n.url,rootClsKey:"QuestionPage",rootProps:{},queryVariables:{questionSlugEncoded:encodeURIComponent(n.slug),first:4},targetRef:null,navStyle:a,isSimpleLink:!0,underlineHover:!1},(function(e){var n=e.openUrl;return l({includeHref:!1,openUrl:n})})):l({includeHref:!0})}))};J.displayName="QuestionQuestionsListItem",J.displayName="QuestionQuestionsListItem",J.fragments={question:void 0!==a?a:a=t("L3p0")};var Y,M=Object(I.b)(J);function X(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=g()(e);if(n){var l=g()(this).constructor;t=Reflect.construct(a,arguments,l)}else t=a.apply(this,arguments);return c()(this,t)}}var W=function(e){u()(t,e);var n=X(t);function t(){var e;i()(this,t);for(var a=arguments.length,l=new Array(a),o=0;o<a;o++)l[o]=arguments[o];return(e=n.call.apply(n,[this].concat(l))).listEndRef=T.a.createRef(),e.scrollToBottom=function(){!Object(K.f)()&&e.props.subtitle&&e.listEndRef.current&&Object(w.a)(e.listEndRef.current)},e}return r()(t,[{key:"render",value:function(){var e,n=this,t=this.props,a=t.title,l=t.subtitle,i=t.limit,o=t.hashFn,r=t.showAddNewQuestionOnDesktop,s=t.navStyle,u=t.tribeId,d=this.props.questions||[],c=i?d.slice(0,i):d,m=T.a.createElement("div",{ref:this.listEndRef,style:{position:"relative",top:-P.b}});if(Object(K.f)()){var g=l?T.a.createElement(T.a.Fragment,null,a,T.a.createElement(y.a,null),T.a.createElement(b.a,null,l)):a;e=T.a.createElement(F.b,{inCard:!1,titleText:g})}else e=T.a.createElement(F.b,{inCard:!1,titleText:a,secondaryComponent:l?T.a.createElement(v.a,{variant:"gray",size:"tiny",text:l,onClick:function(){return n.scrollToBottom()}}):T.a.createElement(j.f,{onClick:function(){return n.scrollToBottom()}},T.a.createElement(O.a,null,l)),includePageMargin:!0,includePt:!0});var I=p.c.relatedQuestions;return T.a.createElement(T.a.Fragment,null,e,T.a.createElement(_.a,null,c.map((function(e){return T.a.createElement(M,{key:e.qid,question:e,hashFn:o,navStyle:s})}))),!Object(K.f)()&&l&&m,Object(A.a)()&&(r||Object(K.f)())&&T.a.createElement(E.a,{modalFlowProps:Object(f.b)({targetType:u?Q.a.tribe:null,targetOid:u,sourceLocation:I})},(function(e){var n=e.openModalFlow,t=function(){Object(f.c)(!0,I),n()};return Object(K.f)()?T.a.createElement(S.c,{icon:T.a.createElement(k.c,{color:"blue",name:"AskQuestion"}),mainText:T.a.createElement(j.s,{color:"blue"},Object(h.plaintextTranslate)("Ask new question")),onClick:t}):r&&T.a.createElement(S.c,{mainText:T.a.createElement(j.s,{color:"gray_light"},Object(h.plaintextTranslate)("Add question")),borderBottom:!1,onClick:t})})))}}]),t}(T.a.Component);W.fragments={questions:void 0!==Y?Y:Y=t("QgtO")},W.displayName="QuestionQuestionsList";n.a=Object(I.b)(W)},GrGk:function(e,n,t){"use strict";t.r(n),t.d(n,"load",(function(){return a}));var a=function(){window.blockthrough=window.blockthrough||{};var e=window.blockthrough;e.o=5163716952719360,e.upapi=!0;var n="https://btloader.com/tag?o="+e.o+"&upapi="+e.upapi,t=document.createElement("script"),a=document.getElementsByTagName("script")[0];t.type="text/javascript",t.async=!0,t.src=n,a.parentNode.insertBefore(t,a)}},JZtY:function(e,n,t){"use strict";t.r(n);var a,l=t("vJPj"),i=t("Uk3T"),o=t("RA+f"),r=t("254s"),s=t("SKAY"),u=t("8lmh"),d=t("q1tI"),c=t.n(d),m=t("0UDP"),g=function(){var e=Object(m.useLazyLoadQuery)(void 0!==a?a:a=t("3bz9"),Object(s.getSetting)("inlinedQueryVariables").QuestionDesktopSidebarSectionQuery),n=e.question,d=e.viewer;return Object(u.tempFailureInvariant)(n,"question is ".concat(n)),n.isDeleted&&!d.canSeeDeletedContent?null:n.canSeeProgrammaticAds?c.a.createElement(o.e,{height:"100%"},c.a.createElement(i.a,{adsInfo:n},c.a.createElement(r.a,{question:n,position:"right"}))):c.a.createElement(o.r,{top:l.c},c.a.createElement(o.e,{mb:"large"},c.a.createElement(r.a,{question:n,position:"right"})))};g.displayName="QuestionDesktopSidebarSection",n["default"]=g},L3p0:function(e,n,t){"use strict";t.r(n);var a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"QuestionQuestionsListItem_question",selections:[e,{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},{alias:null,args:null,concreteType:"Network",kind:"LinkedField",name:"network",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"nid",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tribeItem",plural:!1,selections:[{alias:null,args:null,concreteType:"Tribe",kind:"LinkedField",name:"tribe",plural:!1,selections:[e],storageKey:null}],storageKey:null},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:{platforms:["MOBILE"]},condition:"onPlatform",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewCount",storageKey:null}]},{args:null,kind:"FragmentSpread",name:"QuestionTitle_question"},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:{name:"annotate_with_ids",value:"true"},condition:"onGate",selections:[{args:null,kind:"FragmentSpread",name:"QuestionId_question"}]}],type:"Question",abstractKey:null}}();a.hash="3785e0a6483e948cbcf6318eaa43364a",n["default"]=a},QgtO:function(e,n,t){"use strict";t.r(n);var a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"QuestionQuestionsList_questions",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{args:null,kind:"FragmentSpread",name:"QuestionQuestionsListItem_question"}],type:"Question",abstractKey:null,hash:"bbb45a4d209c679d339ec5bd63da27c6"};n["default"]=a},UDQX:function(e,n,t){"use strict";var a=t("J4zp"),l=t.n(a),i=t("dYjh"),o=t("aZpm"),r=t("VwdU"),s=t("RA+f"),u=t("SW3P"),d=t("q1tI"),c=t.n(d),m=function(e){var n=e.googleProgrammaticAdPropsList,t=e.placementType,a=Object(d.useState)(new Set),m=l()(a,2),g=m[0],f=m[1],p=Object(d.useState)(!1),b=l()(p,2),y=b[0],h=b[1];window.addEventListener("BTAADetection",(function(e){var n;null!==e&&void 0!==e&&null!==(n=e.detail)&&void 0!==n&&n.ab&&h(!0)}));var v=!y&&!Object(u.a)("keep_empty_programmatic_ad_slot_for_ad_blocker");return c.a.createElement(r.a,{condition:g.size!==n.length,wrapper:function(e){return c.a.createElement(o.a,{placementType:t},e)},elseWrapper:function(){return c.a.createElement(c.a.Fragment,null)}},n.map((function(e){var n=Object.assign({},e,{onSlotRenderEnded:function(e,n){f((function(t){var a=new Set(t);return e&&v?a.add(n):a["delete"](n),a}))}});return c.a.createElement(s.e,{key:e.slotID,cursor:"pointer",pb:"small",className:"dom_annotate_google_ad"},c.a.createElement(i.a,Object.assign({key:e.slotID,shouldHideEmptySlot:v},n)))})))};m.displayName="GenericGoogleProgrammaticAdWithWrapper",n.a=m},Uk3T:function(e,n,t){"use strict";var a,l=t("RA+f"),i=t("o8/o"),o=t("q1tI"),r=t.n(o),s=t("0UDP"),u=t("/3oY"),d=t("UDQX"),c=t("vJPj"),m=t("u/tP"),g=function(e){var n=e.children,o=e.adsInfo,g=Object(s.useFragment)(void 0!==a?a:a=t("nAzo"),null!==o&&void 0!==o?o:null);if(!g)return r.a.createElement(r.a.Fragment,null,n);var f=g.googleProgrammaticAdsInfo,p=f.targetingKeyValuePairs,b=f.behavior,y=f.apsPubId,h=f.placementType,v=f.googleProgrammaticAds;if(0===v.length||h!==u.a.question_right_rail)return r.a.createElement(r.a.Fragment,null,n);var k=c.c,_=v.map((function(e){var n=e.googleProgrammaticAdId,t=e.slotName,a=e.sizes;return{slotID:n,slotName:t,sizes:JSON.parse(a)}}));if(2===_.length){var S=[{slotID:_[0].slotID,slotName:_[0].slotName,toDisplaySlotConfigs:_,toRefreshSlotConfigs:_,behavior:b,targetingKeyValuePairs:p,apsPubId:y},{slotID:_[1].slotID,slotName:_[1].slotName,toDisplaySlotConfigs:[],toRefreshSlotConfigs:[],behavior:b,targetingKeyValuePairs:p,apsPubId:y}];return r.a.createElement(r.a.Fragment,null,n,r.a.createElement(l.r,{top:k},r.a.createElement(d.a,{googleProgrammaticAdPropsList:S,placementType:h})))}if(1===_.length&&(Object(m.k)({stringifiedDict:p,expectedKey:"ogaqrrlih",expectedValue:"holdout"})||Object(m.k)({stringifiedDict:p,expectedKey:"ogaqrrloh",expectedValue:"holdout"}))){var E=[{slotID:_[0].slotID,slotName:_[0].slotName,toDisplaySlotConfigs:_,toRefreshSlotConfigs:_,behavior:b,targetingKeyValuePairs:p,apsPubId:y}];return r.a.createElement(r.a.Fragment,null,n,r.a.createElement(l.r,{top:k},r.a.createElement(d.a,{googleProgrammaticAdPropsList:E,placementType:h})))}return Object(i.c)("slotConfigs should be of length <= 2 but get: ".concat(_))};g.displayName="QuestionRightRailGoogleProgrammaticAds",n.a=g},"Y+Pn":function(e,n,t){"use strict";t.r(n);var a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t=[e,n,{alias:null,args:null,kind:"ScalarField",name:"hashSuffix",storageKey:null},{alias:null,args:null,concreteType:"Question",kind:"LinkedField",name:"relatedQuestions",plural:!0,selections:[e,n,{args:null,kind:"FragmentSpread",name:"QuestionQuestionsList_questions"}],storageKey:null}];return{argumentDefinitions:[{defaultValue:!1,kind:"LocalArgument",name:"bottomOfPage"},{defaultValue:!1,kind:"LocalArgument",name:"rightSidebar"}],kind:"Fragment",metadata:null,name:"QuestionRelatedQuestions_question",selections:[e,n,{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"shouldHideRelatedQuestionsAndAnswers",storageKey:null},{kind:"Condition",passingValue:!0,isCustom:!0,customValue:{name:"annotate_with_ids",value:"true"},condition:"onGate",selections:[{args:null,kind:"FragmentSpread",name:"RelatedQuestionsId_question"}]},{condition:"bottomOfPage",kind:"Condition",passingValue:!0,isCustom:!1,customValue:null,selections:[{alias:null,args:null,concreteType:"BottomRelatedQuestionsInfo",kind:"LinkedField",name:"bottomRelatedQuestionsInfo",plural:!1,selections:t,storageKey:null}]},{condition:"rightSidebar",kind:"Condition",passingValue:!0,isCustom:!1,customValue:null,selections:[{alias:null,args:null,concreteType:"RightHandSideRelatedQuestionsInfo",kind:"LinkedField",name:"rightHandSideRelatedQuestionsInfo",plural:!1,selections:t,storageKey:null}]}],type:"Question",abstractKey:null}}();a.hash="b34cecad12db595c11333932c3dc13b6",n["default"]=a},aZpm:function(e,n,t){"use strict";var a=t("EFAP"),l=t("VwvB"),i=t("YpKk"),o=t("RA+f"),r=t("xO31"),s=t("bTDQ"),u=t("nwxp"),d=t("FuLD"),c=t("wQB2"),m=t("q1tI"),g=t.n(m),f=t("/3oY"),p=function(e){var n=e.children;return g.a.createElement(g.a.Fragment,null,g.a.createElement(o.j,{flex:1,py:"tiny",justifyContent:"center"},g.a.createElement(o.s,{fontSize:"small",color:"gray_light"},g.a.createElement(c.Translate,null,"Advertisement"))),g.a.createElement(o.j,{mx:Object(u.f)()?"tiny":"small",pb:Object(u.f)()?"tiny":"small",flexDirection:"column"},n))};p.displayName="UnifiedWrapperInner";var b=function(e){var n=e.children,t=e.placementType,u=function(e){return[f.a.feed_answer_modal,f.a.following_feed_answer_modal,f.a.tribe_answer_modal,f.a.question_answer_expand,f.a.feed_post_modal,f.a.following_feed_post_modal,f.a.tribe_post_modal].includes(e)}(t),b=Object(m.useContext)(a.d),y=Object(l.f)(b).paddingX,h=Object(m.useContext)(r.a);if(t===f.a.feed_story)return g.a.createElement(l.e,{style:{overflow:"hidden"},spaceBottom:!0},g.a.createElement(l.a,{disablePadding:!0},g.a.createElement(p,null,n)));if(u)return g.a.createElement(g.a.Fragment,null,h&&g.a.createElement(i.a,{mt:"tiny",mx:y}),g.a.createElement(o.e,{borderTop:!h},g.a.createElement(p,null,n)));if(t===f.a.home_right_rail)return g.a.createElement(o.e,{pb:"medium"},g.a.createElement(l.e,{style:{overflow:"hidden"}},g.a.createElement(l.a,{disablePadding:!0},g.a.createElement(o.j,{py:"small",bg:"gray_ultralight",flexDirection:"column"},n),g.a.createElement(o.j,{flex:1,py:"tiny",justifyContent:"center",borderTop:!0},g.a.createElement(o.s,{fontSize:"tiny",color:"gray_light"},g.a.createElement(c.Translate,null,"Advertisement"))))));if(t===f.a.question_right_rail){var v=Object(d.a)()&&Object(s.b)(),k=undefined;if(!Object(d.a)()&&Array.isArray(n)&&(k=2===n.length?460:230),!v)return g.a.createElement(o.e,{pb:"medium"},g.a.createElement(l.e,{style:{overflow:"hidden"}},g.a.createElement(l.a,{disablePadding:!0},g.a.createElement(o.j,{py:"small",bg:"gray_ultralight",flexDirection:"column",minHeight:k},n),g.a.createElement(o.j,{flex:1,py:"tiny",justifyContent:"center",borderTop:!0},g.a.createElement(o.s,{fontSize:"tiny",color:"gray_light"},g.a.createElement(c.Translate,null,"Advertisement"))))))}return g.a.createElement(g.a.Fragment,null,n)};b.displayName="GoogleProgrammaticAdWrapper",n.a=b},bpBL:function(e,n,t){"use strict";function a(e){return function(n){var t=n.qid;return"related_questions|".concat(t,"|").concat(e)}}t.d(n,"a",(function(){return a}))},dYjh:function(e,n,t){"use strict";var a=t("J4zp"),l=t.n(a),i=t("yn16"),o=t("wMKn"),r=t("HZII"),s=t.n(r),u=!1,d=[],c=s()((function(){Object(i.a)("https://securepubads.g.doubleclick.net/tag/js/gpt.js",(function(){for(;d.length;){var e;u=!0,null===(e=d.pop())||void 0===e||e()}}))})),m=t("RA+f"),g=t("HKeO"),f=t("Pp7N"),p=t("AaDK"),b=t("q1tI"),y=t.n(b),h=t("u/tP"),v=t("ob4f");var k=function(e){var n=e.slotName,t=e.refreshIntervalSeconds,a=e.maxRotation,i=e.refreshBid,o=Object(v.b)({threshold:.5,rootMargin:Object(h.j)(!1)}),r=l()(o,2),s=r[0],u=r[1],d=Object(b.useState)(null!==a&&void 0!==a?a:0),c=l()(d,2),m=c[0],f=c[1],y=Object(b.useState)(!!Object(g.b)()&&!document.hidden),k=l()(y,2),_=k[0],S=k[1];return Object(b.useEffect)((function(){var e=function(){S(!document.hidden)};return document.addEventListener("visibilitychange",e),function(){document.removeEventListener("visibilitychange",e)}}),[S,_]),Object(b.useEffect)((function(){if(u&&t&&a&&_&&!(m<=0)){var e=setTimeout((function(){Object(p.a)("adx_funnel_debug",{slotName:Object(h.h)(n),checkPoint:"GoogleAdXs_onTimeoutRefreshBid"}),i(),f(m-1)}),1e3*t);return function(){return clearTimeout(e)}}}),[u,_,m,t,a,i,n]),{ref:s}},_=!1,S=[],E=s()((function(){function e(e,n){window.apstag._Q.push([e,n])}window.apstag={init:function(){e("i",arguments)},fetchBids:function(){e("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]};Object(i.a)("https://c.amazon-adsystem.com/aax2/apstag.js",(function(){for(;S.length;){var e;_=!0,null===(e=S.pop())||void 0===e||e()}}))})),F=t("GrGk"),O=function(e){var n=e.slotID,t=e.slotName,a=e.behavior,l=e.targetingKeyValuePairs,i=e.qid,r=e.apsPubId,s=e.toDisplaySlotConfigs,u=e.toRefreshSlotConfigs,d=e.centering,c=void 0===d||d,f=e.onSlotRenderEnded,v=e.isGranularRefresh,_=e.refreshIntervalSeconds,S=e.maxRotation,E=e.shouldHideEmptySlot,F=void 0===E||E,O=10,j=undefined;s.sort(),u.sort(),Object(b.useEffect)((function(){Object(p.a)("adx_funnel_debug",{slotName:t,checkPoint:"GoogleAdXs_didMount"});var e="non_personalized"===a;Object(o.a)((function(){return I({toDisplaySlotConfigs:s,apsPubId:r,qid:i,shouldShowNonPersonalizedAd:e,targetingKeyValuePairs:l,initRotation:P,centering:c,onSlotRenderEnded:f,shouldHideEmptySlot:F})}))}),[]);var P=function(){Object(g.d)((function(e){j=e.setInterval(K,6e4),e.document.addEventListener("visibilitychange",q)}))},K=function(){Object(g.d)((function(e){e.document.hidden?(j&&e.clearTimeout(j),j=undefined):v||(Object(p.a)("adx_funnel_debug",{slotName:Object(h.h)(t),checkPoint:"GoogleAdXs_onTimerRefreshBid"}),Q())}))},q=function(){Object(g.d)((function(e){e.document.hidden||j||v||(Object(p.a)("adx_funnel_debug",{slotName:Object(h.h)(t),checkPoint:"GoogleAdXs_onVisibilityChangeRefreshBid"}),Q())}))},T=function(){Object(g.d)((function(e){j||(j=e.setInterval(K,6e4)),0===--O&&(e.clearTimeout(j),e.document.removeEventListener("visibilitychange",q))}))},Q=function(){var e=Object(g.d)((function(e){return e.apstag}))||{},n=Object(g.d)((function(e){return e.googletag}))||{cmd:[]};if(e&&n&&0!==u.length){Object(p.a)("adx_funnel_debug",{slotName:Object(h.h)(t),checkPoint:"GoogleAdXs_refreshBidStart"});var a=u.map((function(e){return e.slotID}));try{r?e.fetchBids({slots:u},(function(){w(a),A({slotIDs:a,isFirstRefresh:!1,targetingKeyValuePairs:l}),n.cmd.push((function(){e.setDisplayBids();var t=Object(h.f)(a);n.pubads().refresh(t),T()}))})):(w(a),A({slotIDs:a,isFirstRefresh:!1,targetingKeyValuePairs:l}),n.cmd.push((function(){var e=Object(h.f)(a);n.pubads().refresh(e),T()})))}catch(i){Object(p.a)("adx_funnel_debug",{slotName:u[0].slotName,checkPoint:"GoogleAdXs_refreshBidFailed"}),console.error(i)}}},D=k({slotName:t,refreshIntervalSeconds:_,maxRotation:S,refreshBid:Q}).ref;return v?y.a.createElement(m.e,{cursor:"pointer",id:n,className:"dom_annotate_google_ad",innerRef:D}):y.a.createElement(m.e,{cursor:"pointer",id:n,className:"dom_annotate_google_ad"})};O.displayName="GoogleProgrammaticAd";var j=function(e){if(!e.isEmpty){var n,t,a,l=null===e||void 0===e||null===(n=e.slot)||void 0===n?void 0:n.getSizes(),i=Array.isArray(l)&&l.length?"string"===typeof l[0]?l[0]:l[0].width+"x"+l[0].height:"";Object(p.a)("adx_impression",{size:i,slotName:null===e||void 0===e||null===(t=e.slot)||void 0===t?void 0:t.getAdUnitPath(),adId:null===e||void 0===e||null===(a=e.slot)||void 0===a?void 0:a.getSlotElementId()})}},I=function(e){var n=e.toDisplaySlotConfigs,t=e.apsPubId,a=e.qid,l=e.shouldShowNonPersonalizedAd,i=e.targetingKeyValuePairs,r=e.initRotation,s=e.centering,m=e.onSlotRenderEnded,g=e.shouldHideEmptySlot;F.load(),function(e){_?e():(Object(o.b)(E),S.push(e))}((function(){var e;e=function(){P({toDisplaySlotConfigs:n,apsPubId:t,qid:a,shouldShowNonPersonalizedAd:l,targetingKeyValuePairs:i,initRotation:r,centering:s,onSlotRenderEnded:m,shouldHideEmptySlot:g})},u?e():(Object(o.b)(c),d.push(e))}))},P=function(e){var n,t=e.toDisplaySlotConfigs,a=e.apsPubId,l=e.qid,i=e.shouldShowNonPersonalizedAd,o=e.targetingKeyValuePairs,r=e.initRotation,s=e.centering,u=e.onSlotRenderEnded,d=e.shouldHideEmptySlot;if(0!==t.length){var c=Object(g.d)((function(e){return e.googletag}))||{cmd:[]},m=t.map((function(e){return e.slotID}));c.cmd.push((function(){t.forEach((function(e){var n=e.slotID,t=e.slotName,a=e.sizes,l=Object(h.f)([n]);(l.length>0?l[0]:c.defineSlot(t,a,n)).addService(c.pubads())})),c.pubads().disableInitialLoad(),c.pubads().enableSingleRequest(),d&&c.pubads().collapseEmptyDivs(),c.pubads().setCentering(!!s),A({slotIDs:m,isFirstRefresh:!0,targetingKeyValuePairs:o}),i&&c.pubads().setPrivacySettings({nonPersonalizedAds:!0}),c.pubads().addEventListener("slotRenderEnded",(function(e){var n,a,i,o,r=e.slot.getSlotElementId();m.includes(r)&&(null===u||void 0===u||u(e.isEmpty,r),e.isEmpty?Object(p.a)("adx_funnel_debug",{slotName:null===(n=t[0])||void 0===n?void 0:n.slotName,checkPoint:"GoogleAdXs_emptySlotAfterRender"}):(f.c.dispatch({type:f.a.DESKTOP_SIDE_COLUMN_HEIGHT_CHANGED,payload:{}}),Object(p.a)("adx_funnel_debug",{slotName:null===(a=t[0])||void 0===a?void 0:a.slotName,checkPoint:"GoogleAdXs_rendered"}),Object(p.a)("adx_rendering",{qid:l,advertiserId:e.advertiserId,campaignId:e.campaignId,creativeId:e.creativeId,size:e.size,slotName:null===e||void 0===e||null===(i=e.slot)||void 0===i?void 0:i.getAdUnitPath(),adId:null===e||void 0===e||null===(o=e.slot)||void 0===o?void 0:o.getSlotElementId(),sourceAgnosticCreativeId:e.sourceAgnosticCreativeId,sourceAgnosticLineItemId:e.sourceAgnosticLineItemId})))})),c.pubads().removeEventListener("impressionViewable",j),c.pubads().addEventListener("impressionViewable",j),c.enableServices()})),K({toDisplaySlotConfigs:t,toDisplaySlotIDs:m,shouldShowNonPersonalizedAd:i,apsPubId:a,initRotation:r}),c.cmd.push((function(){m.forEach((function(e){c.display(e)}))})),Object(p.a)("adx_funnel_debug",{slotName:null===(n=t[0])||void 0===n?void 0:n.slotName,checkPoint:"GoogleAdXs_afterLoadAdTagService"})}},K=function(e){var n=e.toDisplaySlotConfigs,t=e.toDisplaySlotIDs,a=e.shouldShowNonPersonalizedAd,l=e.apsPubId,i=e.initRotation,o=Object(g.d)((function(e){return e.apstag}))||{};if(l){var r=a?{aps_privacy:"1YY"}:{};o.init({pubID:l,adServer:"googletag",bidTimeout:2e3,params:r}),o.fetchBids({slots:n},(function(){googletag.cmd.push((function(){o.setDisplayBids();var e=Object(h.f)(t);googletag.pubads().refresh(e),i()}))}))}else googletag.cmd.push((function(){var e=Object(h.f)(t);googletag.pubads().refresh(e),i()}))},w=function(e){Object(h.f)(e).forEach((function(e){return e.clearTargeting()}))},A=function(e){var n=e.slotIDs,t=e.isFirstRefresh,a=e.targetingKeyValuePairs,i=JSON.parse(a),o=Object(h.f)(n);t?o.forEach((function(e){return e.setTargeting("refresh","first")})):o.forEach((function(e){return e.setTargeting("refresh","subsequent")})),i&&Object.entries(i).forEach((function(e){var n=l()(e,2),t=n[0],a=n[1];return o.forEach((function(e){return e.setTargeting(t,a)}))}))};n.a=O},nAzo:function(e,n,t){"use strict";t.r(n);var a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"QuestionRightRailGoogleProgrammaticAds_adsInfo",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Literal",name:"placementType",value:"question_right_rail"}],concreteType:"GoogleProgrammaticAdsInfo",kind:"LinkedField",name:"googleProgrammaticAdsInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"targetingKeyValuePairs",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"behavior",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"apsPubId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"placementType",storageKey:null},{alias:null,args:null,concreteType:"GoogleProgrammaticAd",kind:"LinkedField",name:"googleProgrammaticAds",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"googleProgrammaticAdId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"slotName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sizes",storageKey:null}],storageKey:null}],storageKey:'googleProgrammaticAdsInfo(placementType:"question_right_rail")'}],type:"Question",abstractKey:null,hash:"41af99e3dd19ab12b9d20c26b50c8fff"};n["default"]=a},"s/A7":function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var a=t("HKeO"),l=Promise.resolve();Object(a.b)()&&!("scrollBehavior"in document.documentElement.style)&&(l=t.e("vendor-scrollPolyfill").then(t.bind(null,"xDtx")).then((function(e){e.elementScrollIntoViewPolyfill(),e.elementScrollPolyfill()})));var i=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"start";e&&l.then((function(){e.scrollIntoView({behavior:"smooth",block:n})}))}},vJPj:function(e,n,t){"use strict";t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var a=t("edYY"),l=36,i=Object(a.a)({})+8,o=Object(a.a)({})+16},xO31:function(e,n,t){"use strict";var a=t("q1tI"),l=t.n(a).a.createContext(!1);l.displayName="QuestionRelevantAnswerGroupingContext",n.a=l}}]);