2 lines
39 KiB
JavaScript
2 lines
39 KiB
JavaScript
(self.webpackChunklite=self.webpackChunklite||[]).push([[230],{63424:(e,n,i)=>{var a=i(25160);e.exports=function(e){return null!=e&&e.length?a(e,0,-1):[]}},3459:e=>{"use strict";var n=Math.floor(1099511627776*Math.random()).toString(16),i=new RegExp('"@__(F|R|D|M|S|U)-'+n+'-(\\d+)__@"',"g"),a=/\{\s*\[native code\]\s*\}/g,t=/function.*?\(/,d=/.*?=>.*?/,o=/[<>\/\u2028\u2029]/g,l=["*","async"],m={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function s(e){return m[e]}e.exports=function e(m,k){k||(k={}),"number"!=typeof k&&"string"!=typeof k||(k={space:k});var r,u=[],c=[],p=[],v=[],S=[],N=[];return k.ignoreFunction&&"function"==typeof m&&(m=void 0),void 0===m?String(m):(r=k.isJSON&&!k.space?JSON.stringify(m):JSON.stringify(m,k.isJSON?null:function(e,i){if(k.ignoreFunction&&function(e){var n=[];for(var i in e)"function"==typeof e[i]&&n.push(i);for(var a=0;a<n.length;a++)delete e[n[a]]}(i),!i&&void 0!==i)return i;var a=this[e],t=typeof a;if("object"===t){if(a instanceof RegExp)return"@__R-"+n+"-"+(c.push(a)-1)+"__@";if(a instanceof Date)return"@__D-"+n+"-"+(p.push(a)-1)+"__@";if(a instanceof Map)return"@__M-"+n+"-"+(v.push(a)-1)+"__@";if(a instanceof Set)return"@__S-"+n+"-"+(S.push(a)-1)+"__@"}return"function"===t?"@__F-"+n+"-"+(u.push(a)-1)+"__@":"undefined"===t?"@__U-"+n+"-"+(N.push(a)-1)+"__@":i},k.space),"string"!=typeof r?String(r):(!0!==k.unsafe&&(r=r.replace(o,s)),0===u.length&&0===c.length&&0===p.length&&0===v.length&&0===S.length&&0===N.length?r:r.replace(i,(function(n,i,o){return"D"===i?'new Date("'+p[o].toISOString()+'")':"R"===i?"new RegExp("+e(c[o].source)+', "'+c[o].flags+'")':"M"===i?"new Map("+e(Array.from(v[o].entries()),k)+")":"S"===i?"new Set("+e(Array.from(S[o].values()),k)+")":"U"===i?"undefined":function(e){var n=e.toString();if(a.test(n))throw new TypeError("Serializing native function: "+e.name);if(t.test(n))return n;if(d.test(n))return n;var i=n.indexOf("("),o=n.substr(0,i).trim().split(" ").filter((function(e){return e.length>0}));return o.filter((function(e){return-1===l.indexOf(e)})).length>0?(o.indexOf("async")>-1?"async ":"")+"function"+(o.join("").indexOf("*")>-1?"*":"")+n.substr(i):n}(u[o])}))))}},27895:(e,n,i)=>{"use strict";i.d(n,{$:()=>k});var a=i(58168),t=i(96540),d=i(52290),o=i(44402),l=i(7066),m=function(e){var n=(0,a.A)({},e);return t.createElement(d.a,(0,a.A)({display:"flex",flexBasis:"0",flexGrow:"1",flexShrink:"1",justifyContent:"center",alignItems:"center"},n))},s=function(e){return function(n){return{width:"100%",justifyContent:"stretch",display:"flex",backgroundColor:n.backgroundColor,alignItems:"center",height:"".concat(l.x,"px"),borderTop:"solid 1px ".concat(n.colorTokens.border.neutral.primary.base),opacity:e?1:0,visibility:e?"visibile":"hidden"}}},k=(0,t.memo)((function(e){var n=e.multiVoteButton,i=e.responsesButton,a=e.saveButton,d=e.isVisible,l=void 0===d||d,k=(0,o.l)();return t.createElement("div",{className:k(s(l))},t.createElement(m,null,n),t.createElement(m,null,i),a&&t.createElement(m,null,a))}))},30749:(e,n,i)=>{"use strict";i.d(n,{N:()=>s});var a=i(80296),t=i(96540),d=i(68436),o=i(44402),l=i(78693),m=function(e,n){return{position:"sticky",zIndex:n?l.Ay.metabarProgress:l.Ay.selectionMenu,bottom:"0","> *":{transform:"translateY(".concat(e,"px)")}}},s=function(e){var n=e.children,i=e.maxHeightToHideOnScroll,l=e.isUpsellVisible,s=(0,o.l)(),k=(0,t.useRef)(),r=(0,t.useState)(0),u=(0,a.A)(r,2),c=u[0],p=u[1],v=(0,t.useCallback)((function(e){p((function(n){return Math.max(Math.min(n+e,i),0)}))}),[i]),S=(0,t.useCallback)((function(){var e,n=null===(e=g.current)||void 0===e?void 0:e.getBoundingClientRect().y;window.scrollY>0&&k.current&&n&&v(k.current-n),k.current=n}),[v]),N=i>0,F=(0,d._)(N,S),f=F.dockRef,g=F.markerRef,y=F.isStuck;return t.createElement(t.Fragment,null,t.createElement("div",{ref:g}),t.createElement("div",{ref:f,className:s(m(c,l))},"function"==typeof n?n({isStuck:y}):n))}},7066:(e,n,i)=>{"use strict";i.d(n,{S:()=>a,x:()=>t});var a=52,t=48},68436:(e,n,i)=>{"use strict";i.d(n,{_:()=>o});var a=i(80296),t=i(96540),d=i(66305),o=function(e,n){var i=(0,t.useRef)(null),o=(0,t.useRef)(null),l=(0,t.useState)(!0),m=(0,a.A)(l,2),s=m[0],k=m[1];return(0,t.useEffect)((function(){var a=function(){var e,a,t=null===(e=i.current)||void 0===e?void 0:e.getBoundingClientRect().y,d=null===(a=o.current)||void 0===a?void 0:a.getBoundingClientRect().y;t&&d&&k(Boolean(d-t)),null==n||n()};if(a(),e)return d.R5.on("scroll",a),function(){d.R5.off("scroll",a)}}),[e]),{isStuck:e&&s,dockRef:i,markerRef:o}}},30758:(e,n,i)=>{"use strict";i.d(n,{Cj:()=>l,YT:()=>m,Yq:()=>o});var a=i(64467),t=i(90383);function d(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,a)}return i}function o(e){var n=e.miroId,i=e.originalWidth,a=e.originalHeight,d=e.focusPercentX,o=e.focusPercentY,l=e.croppedWidth;if(!n)return null;var m=(0,t.As)({miroId:n,aspectRatio:16/9,croppedWidth:l,originalWidth:i,originalHeight:a,focusPercentX:d,focusPercentY:o}),s=(0,t.As)({miroId:n,aspectRatio:4/3,croppedWidth:l,originalWidth:i,originalHeight:a,focusPercentX:d,focusPercentY:o}),k=(0,t.As)({miroId:n,aspectRatio:1,croppedWidth:l,originalWidth:i,originalHeight:a,focusPercentX:d,focusPercentY:o}),r=new Set([m,s,k]);return Array.from(r)}function l(e){return function(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?d(Object(i),!0).forEach((function(n){(0,a.A)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}({"@type":"ImageObject"},e)}function m(e){var n=e.id,i=e.originalWidth,a=e.originalHeight;if(!n||!i||!a)return null;var d=Math.min(a,60),o=d/a,m=Math.floor(i*o);return l({width:m,height:d,url:(0,t.rP)({miroId:n,width:m,freezeGifs:!0,strategy:t.qY.Resample})})}},49341:(e,n,i)=>{"use strict";i.d(n,{o:()=>o});var a=i(96540),t=i(87147),d=i(54654),o=function(e){var n=e.publisher,i=e.buttonSize,o=e.susiEntry,l=e.width,m=e.trackingV2,s=e.buttonStyleFn;return"Collection"===n.__typename?a.createElement(t.E,{buttonSize:i,collection:n,susiEntry:o,trackingV2:m,buttonStyleFn:s}):a.createElement(d.P,{buttonSize:i,user:n,susiEntry:o,width:l,trackingV2:m,buttonStyleFn:s})}},11656:(e,n,i)=>{"use strict";i.d(n,{iq:()=>v,lx:()=>S,gK:()=>c,o2:()=>p});var a=i(45458),t=i(77485),d=i(55918),o=i(23445),l=i(91052),m=i(62742),s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportUserMenuItem_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SusiClickable_post"}}]}}].concat((0,a.A)(m.CV.definitions))},k=i(49603),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponsePopoverMenu_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportUserMenuItem_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"HideResponseMenuItem_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BlockUserMenuItem_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UndoClapsMenuItem_post"}}]}}].concat((0,a.A)(s.definitions),(0,a.A)(k.$b.definitions),(0,a.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"BlockUserMenuItem_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]),(0,a.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"UndoClapsMenuItem_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}}]}}]))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponsePopoverMenu_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportUserMenuItem_catalog"}},{kind:"FragmentSpread",name:{kind:"Name",value:"HideResponseMenuItem_catalog"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BlockUserMenuItem_catalog"}}]}}].concat((0,a.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportUserMenuItem_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]),(0,a.A)(k._x.definitions),(0,a.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"BlockUserMenuItem_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseHeader_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"latestPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserPronouns_user"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponsePopoverMenu_post"}}]}}].concat((0,a.A)(t.R.definitions),(0,a.A)(d.s.definitions),(0,a.A)(o.pB.definitions),(0,a.A)(l.k.definitions),(0,a.A)(r.definitions))},p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseHeader_postHacky"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserAvatar_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserPronouns_user"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}}]}}].concat((0,a.A)(t.R.definitions),(0,a.A)(d.s.definitions),(0,a.A)(l.k.definitions))},v=([{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseHeader_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserPronouns_user"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponsePopoverMenu_catalog"}}]}}].concat((0,a.A)(d.s.definitions),(0,a.A)(l.k.definitions),(0,a.A)(u.definitions)),{kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseHeaderParentEntity_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponsePopoverMenu_catalog"}}]}}].concat((0,a.A)(u.definitions))}),S={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseHeaderParentEntity_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponsePopoverMenu_post"}}]}}].concat((0,a.A)(r.definitions))}},12471:(e,n,i)=>{"use strict";i.d(n,{VY:()=>l,bh:()=>m});var a=i(45458),t=i(78002),d=i(4209),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseQuote_quote"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Quote"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"quoteId"}},{kind:"Field",name:{kind:"Name",value:"startOffset"}},{kind:"Field",name:{kind:"Name",value:"endOffset"}},{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TextParagraph_paragraph"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"buildQuotePreviewParagraph_quote"}}]}}].concat((0,a.A)(t.Rc.definitions),(0,a.A)(d.E.definitions))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseQuote_mediaResource"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MediaResource"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"href"}},{kind:"Field",name:{kind:"Name",value:"mediumQuote"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_quote"}}]}}]}}].concat((0,a.A)(o.definitions))},m={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ResponseQuote_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inResponseToMediaResource"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_mediaResource"}}]}}]}}].concat((0,a.A)(l.definitions))}},92571:(e,n,i)=>{"use strict";i.d(n,{xP:()=>F,Yk:()=>N,Nx:()=>f,jC:()=>_,uS:()=>y});var a=i(45458),t=i(11656),d=i(3152),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseContent_markup"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Markup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Markups_markup"}}]}}].concat((0,a.A)(d.LO.definitions))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseContent_paragraph"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Paragraph"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"markups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseContent_markup"}}]}}]}}].concat((0,a.A)(o.definitions))},m=i(12471),s=i(20698),k=i(66665),r=i(59265),u=i(55918),c=i(23445),p=i(97595),v={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ThreadedResponseFooter_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MultiVote_post"}}]}}].concat((0,a.A)(p.D.definitions))},S=i(62544),N={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseParentEntity_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeaderParentEntity_post"}}]}}].concat((0,a.A)(t.lx.definitions))},F={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseParentEntity_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeaderParentEntity_catalog"}}]}}].concat((0,a.A)(t.iq.definitions))},f={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponse_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"content"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseContent_paragraph"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"inResponseToMediaResource"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_mediaResource"}}]}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostScrollTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPresentationTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeader_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ThreadedResponseFooter_post"}}]}}].concat((0,a.A)(l.definitions),(0,a.A)(m.VY.definitions),(0,a.A)(s.$.definitions),(0,a.A)(k._.definitions),(0,a.A)(t.gK.definitions),(0,a.A)(v.definitions))},g={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseBodyModel_richText"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RichText"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseBodyModel_paragraph"}}]}}]}}].concat((0,a.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponseBodyModel_paragraph"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Paragraph"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"markups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"href"}},{kind:"Field",name:{kind:"Name",value:"anchorType"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"linkMetadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"httpStatus"}}]}}]}}]}}]))},y={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponse_threadedSimpleResponse_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"latestPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"mediumMemberAt"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}}]}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}}]}},{kind:"Field",name:{kind:"Name",value:"isPublished"}},{kind:"Field",name:{kind:"Name",value:"voterCount"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"allowResponses"}},{kind:"Field",name:{kind:"Name",value:"latestRev"}},{kind:"Field",name:{kind:"Name",value:"recommenders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"content"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseBodyModel_richText"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}},{kind:"Field",name:{kind:"Name",value:"isLimitedState"}},{kind:"Field",name:{kind:"Name",value:"inResponseToType"}},{kind:"Field",name:{kind:"Name",value:"responseDistribution"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPresentationTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostScrollTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeader_post"}}]}}].concat((0,a.A)(r.v0.definitions),(0,a.A)(c.pB.definitions),(0,a.A)(u.s.definitions),(0,a.A)(g.definitions),(0,a.A)(k._.definitions),(0,a.A)(s.$.definitions),(0,a.A)(m.bh.definitions),(0,a.A)(t.gK.definitions))},_={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SimpleResponse_threadedSimpleResponse_defaultPostResponses"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"threadedPostResponses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paging"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}]}},{kind:"Argument",name:{kind:"Name",value:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"autoExpandedPostIds"}},{kind:"Field",name:{kind:"Name",value:"pagingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"next"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"limit"}},{kind:"Field",name:{kind:"Name",value:"to"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"posts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryResponse_threadedStoryResponse_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponse_threadedSimpleResponse_post"}}]}}]}}]}}]}}].concat((0,a.A)(S.uF.definitions),(0,a.A)(y.definitions))}},62544:(e,n,i)=>{"use strict";i.d(n,{MK:()=>r,bh:()=>k,uF:()=>s});var a=i(45458),t=i(11656),d=i(59265),o=i(12471),l=i(23445),m=i(66665),s=([{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryResponse_storyResponse"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StreamItemPostStoryResponse"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"post"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeader_postHacky"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_post"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"Field",name:{kind:"Name",value:"responseDistribution"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPresentationTracker_post"}},{kind:"Field",name:{kind:"Name",value:"previewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}}]}}]}}]}}].concat((0,a.A)(t.o2.definitions),(0,a.A)(o.bh.definitions),(0,a.A)(d.v0.definitions),(0,a.A)(l.pB.definitions),(0,a.A)(m._.definitions)),{kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryResponse_threadedStoryResponse_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"Field",name:{kind:"Name",value:"previewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"responseDistribution"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPresentationTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeader_postHacky"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseQuote_post"}}]}}].concat((0,a.A)(d.v0.definitions),(0,a.A)(l.pB.definitions),(0,a.A)(m._.definitions),(0,a.A)(t.o2.definitions),(0,a.A)(o.bh.definitions))}),k={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryResponseParentEntity_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeaderParentEntity_post"}}]}}].concat((0,a.A)(t.lx.definitions))},r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryResponseParentEntity_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ResponseHeaderParentEntity_catalog"}}]}}].concat((0,a.A)(t.iq.definitions))}},14130:(e,n,i)=>{"use strict";i.d(n,{c5:()=>u,VX:()=>k});var a=i(45458),t=i(92571),d=i(93240),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReadOrEditSimpleResponse_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseParentEntity_catalog"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getCatalogSlugId_Catalog"}}]}}].concat((0,a.A)(t.xP.definitions),(0,a.A)(d.S.definitions))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReadOrEditSimpleResponse_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimpleResponseParentEntity_post"}}]}}].concat((0,a.A)(t.Yk.definitions))},m=i(62544),s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ThreadedReply_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReadOrEditSimpleResponse_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"StoryResponseParentEntity_post"}}]}}].concat((0,a.A)(l.definitions),(0,a.A)(m.bh.definitions))},k={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ThreadedReplies_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ThreadedReply_post"}}]}}].concat((0,a.A)(s.definitions))},r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ThreadedReply_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReadOrEditSimpleResponse_catalog"}},{kind:"FragmentSpread",name:{kind:"Name",value:"StoryResponseParentEntity_catalog"}}]}}].concat((0,a.A)(o.definitions),(0,a.A)(m.MK.definitions))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ThreadedReplies_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ThreadedReply_catalog"}}]}}].concat((0,a.A)(r.definitions))}},49603:(e,n,i)=>{"use strict";i.d(n,{$b:()=>a,_x:()=>t,u7:()=>o,we:()=>d});var a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"HideResponseMenuItem_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isEditor"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"HideResponseMenuItem_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"HidePostResponseOnParentMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentPostId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postResponseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hidePostResponseOnParentPost"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentPostId"},value:{kind:"Variable",name:{kind:"Name",value:"parentPostId"}}},{kind:"Argument",name:{kind:"Name",value:"postResponseId"},value:{kind:"Variable",name:{kind:"Name",value:"postResponseId"}}}]}]}}]},o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"HideCatalogResponseOnParent"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentCatalogId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"catalogResponseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hideCatalogResponseOnParent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentCatalogId"},value:{kind:"Variable",name:{kind:"Name",value:"parentCatalogId"}}},{kind:"Argument",name:{kind:"Name",value:"catalogResponseId"},value:{kind:"Variable",name:{kind:"Name",value:"catalogResponseId"}}}]}]}}]}},658:(e,n,i)=>{"use strict";i.d(n,{i:()=>u});var a=i(45458),t=i(80296),d=i(63424),o=i.n(d),l=i(96540),m=i(23406),s=i(20239),k=i(66305),r=i(50684),u=function(e){var n=e.children,i=l.useState(!1),d=(0,t.A)(i,2),u=d[0],c=d[1],p=(0,s.D)(),v=!!(0,r.pE)("responsesOpen"),S=(0,r.pE)("sortBy"),N=l.useState(!1),F=(0,t.A)(N,2),f=F[0],g=F[1],y=l.useRef(!0),_=l.useRef(0),R=l.useState(!1),h=(0,t.A)(R,2),A=h[0],P=h[1],D=l.useCallback((function(){return g(!0)}),[]),b=l.useState([]),C=(0,t.A)(b,2),T=C[0],E=C[1],M=l.useCallback((function(e){y.current=!1,E([].concat((0,a.A)(T),[e]))}),[T]),I=l.useCallback((function(){E(o()(T))}),[T]),O=l.useCallback((function(){g(!1),E([]),y.current=!0}),[]);l.useEffect((function(){P(!0),g(v)}),[v]);var w=function(){window.innerWidth<p.breakpoints.md&&c(!0)};return l.useEffect((function(){return w(),k.R5.on("resize",w),function(){return k.R5.off("resize",w)}}),[]),l.useEffect((function(){var e,n,i=null===(e=window)||void 0===e||null===(n=e.document)||void 0===n?void 0:n.documentElement;return u&&null!=i&&i.style&&(f?(i.style.top="-".concat(_.current,"px"),_.current=i.scrollTop,i.style.overflow="hidden",i.style.position="fixed"):(i.style.overflow="",i.style.position="",i.style.top="",i.scrollTop=_.current)),function(){u&&null!=i&&i.style&&(i.style.overflow="",i.style.position="",i.style.top="",i.scrollTop=_.current)}}),[f]),l.createElement(m.u.Provider,{value:{addContinueThisThreadSidebar:M,openSidebar:D,closeSidebar:O}},n({showPreviousSidebar:I,hasLoaded:A,initialSidebarRender:y,isVisible:f,continueThisThreadPosts:T,openSidebar:D,cleanupSidebar:O,responseSortOption:S}))}},48049:(e,n,i)=>{"use strict";i.d(n,{W:()=>t,x:()=>a});var a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SuspendedBannerLoader_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isSuspended"}}]}}]},t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SuspendedBannerLoader_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isSuspended"}}]}}]}},37075:(e,n,i)=>{"use strict";i.d(n,{f:()=>l});var a=i(96540),t=i(69733),d=i(75636),o=i(91830),l=function(e){var n=e.user,i=e.post,l=e.forceLoad,m=void 0!==l&&l,s=(0,t.wA)(),k=(0,d.z)({name:"can_view_suspended_content",placeholder:!1})||m;return a.useEffect((function(){k&&(n&&n.isSuspended?s((0,o.MZ)({duration:"NEXTPAGE",toastStyle:"USER_SUSPENDED"})):i&&i.isSuspended&&s((0,o.MZ)({duration:"NEXTPAGE",toastStyle:"POST_SUSPENDED"})))}),[k]),null}}}]);
|
|
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/230.ec2ef161.chunk.js.map
|