The change we would like to see (2023)

\n .view-comments-button-wrapped-component {display: block !important;}\n .view-comments-button-wrapper {display: none !important;}\n "}}),C.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapper",{"view-comments-button-wrapper-hidden":this.isViewCommentsButtonWrapperHidden()})},C.default.createElement(t,{id:"stats-view-comments",labels:{label:"view-comments",metadata:r},fireOnView:!0,fireOnClick:!0,minimumTimeInView:0},C.default.createElement(M.ViewCommentsButton,{totalCommentsCount:n,onClick:this.showWrappedComponent}))),C.default.createElement("div",{className:(0,S.default)("view-comments-button-wrapped-component",{"view-comments-button-wrapped-component-hidden":this.isCommentsModuleWrapperHidden()})},C.default.createElement(e,(0,d.default)({},this.props,{autoFocusHeader:this.state.isWrappedComponentVisible}))))}}]),n}(E.Component);return t.displayName="WithViewCommentsButton("+i(e)+")",t.propTypes={forumData:E.PropTypes.shape({title:E.PropTypes.string.isRequired,totalCommentsCount:E.PropTypes.number.isRequired,commentTextLimit:E.PropTypes.number.isRequired,moderation:E.PropTypes.shape({rulesPageUrl:E.PropTypes.string.isRequired,status:E.PropTypes.oneOf((0,l.default)(x.default)).isRequired}),createForum:E.PropTypes.bool.isRequired,isClosed:E.PropTypes.bool.isRequired}).isRequired,sortOrder:E.PropTypes.oneOf((0,s.default)(I.default))},t.contextTypes={WithStatsIncludeCommonLabels:E.PropTypes.func.isRequired},t}function i(e){return e.displayName||e.name||"Component"}Object.defineProperty(t,"__esModule",{value:!0});var a=n(150),s=r(a),u=n(117),l=r(u),c=n(2),d=r(c),m=n(48),f=r(m),p=n(53),h=r(p),y=n(54),g=r(y),v=n(58),_=r(v),b=n(91),T=r(b);t.withViewCommentsButton=o;var E=n(99),C=r(E),P=n(148),S=r(P),w=n(160),O=n(196),x=r(O),M=n(247),R=n(244),I=r(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(",");return t.reduce(function(e,t){if(t.indexOf(":")!==-1){var n=t.trim().split(":"),r=(0,m.default)(n,2),o=r[0],i=r[1];e[o]="on"===i.trim()}return e},{})}function i(e,t,n){var r=function(e,n){return t[n]?(0,c.default)({},e,(0,u.default)({},n,t[n])):e},i=f.reduce(r,{});return n&&(i.featureToggles=o(n)),(0,c.default)({},e,i)}function a(e){var t=e.siteConfig,n=void 0===t?{}:t,r=e.overrideProps,o=void 0===r?{}:r,a=e.toggleOverrides,s=void 0===a?"":a,u=e.shouldOverrideConfig,l=void 0!==u&&u;return n.featureToggles||(n.featureToggles={}),l?i(n,o,s):n}Object.defineProperty(t,"__esModule",{value:!0}),t.overridableProps=void 0;var s=n(153),u=r(s),l=n(2),c=r(l),d=n(257),m=r(d);t.parseToggleOverridesProp=o,t.getConfig=a;var f=t.overridableProps=["pageSize","theme","subtheme","initialView"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StyleGuideModule=void 0;var o=n(117),i=r(o),a=n(2),s=r(a),u=n(48),l=r(u),c=n(53),d=r(c),m=n(54),f=r(m),p=n(58),h=r(p),y=n(91),g=r(y),v=n(148),_=r(v),b=n(99),T=r(b),E=n(214),C=n(175),P=n(443),S=r(P),w=n(192),O=r(w),x=n(169),M=n(183),R=r(M),I=n(249),N=n(178),k=n(191),A=n(256),D=n(180),L=r(D),j=n(196),F=r(j),U=n(208),q=r(U),W=n(252),B=n(270),Y=r(B),V=n(166),H=n(194),z=n(250),G=function(){},Z=function(e){var t=e.children;return T.default.createElement("h3",{className:"comments-styleguide__heading"},t)},K=function(e){var t=e.children;return t},X=function(){return!1},J=function(){return 1},Q=S.default.getSignedOutResponse(),$=S.default.getSignedInResponse(),ee=S.default.getSignedInResponseWithoutDisplayName(),te={signedIn:!1,signInButton:Q.signInButton},ne={displayName:"test-u16",under16:!0},re=20,oe=10,ie=6e4;Z.displayName="SectionHeading",Z.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var ae=function(e){var t=e.children;return T.default.createElement("h4",{className:"comments-styleguide__subheading"},t)};ae.displayName="SubHeading",ae.propTypes={children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node])};var se=function(e){var t=e.id,n=e.heading,r=e.children,o=e.className;return T.default.createElement("section",{id:t,className:(0,_.default)("comments-styleguide__section",o)},T.default.createElement(Z,null,n),r)};se.displayName="Section",se.propTypes={id:b.PropTypes.string.isRequired,heading:b.PropTypes.string.isRequired,children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]),className:b.PropTypes.string};var ue="Presenter",le=C.exampleAvatarUrl96x96PngBase64,ce="https://wrong_dummy_url",de=function(e){function t(e){(0,d.default)(this,t);var n=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.theme=Y.default.use({component:n,themeVariant:n.props.themeVariant,product:e.product}),(0,A.addModeSupport)({mode:e.mode,component:n}),n.state={audibleMessage:""},n.setA11yAlertText=n.setA11yAlertText.bind(n),n}return(0,g.default)(t,e),(0,f.default)(t,[{key:"setA11yAlertText",value:function(e){var t=this.state.audibleMessage===e?e+" ":e;this.setState({audibleMessage:t})}},{key:"menu",value:function(){return T.default.createElement(se,{heading:"Comments Styleguide",id:"comments-styleguide-menu"},T.default.createElement("ul",null,T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-typography"},"Typography")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-buttons"},"Buttons")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-alerts"},"Alerts")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-form-elements"},"Form Elements")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-header"},"Header")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-footer"},"Footer")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-comment"},"Comment")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-list"},"Comments List")),T.default.createElement("li",null,T.default.createElement("a",{href:"#tool-tip"},"Tooltip")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-ratings"},"Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-down-ratings"},"Down Ratings")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-replies"},"Replies")),T.default.createElement("li",null,T.default.createElement("a",{href:"#comments-sort"},"Comments Sort")),T.default.createElement("li",null,T.default.createElement("a",{href:"#view-comments-button"},"View Comments Button"))))}},{key:"typography",value:function(){var e=this.theme.formatMessage("moduleTitleText"),t=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Typography",id:"comments-typography"},T.default.createElement(ae,null,"Title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,e),T.default.createElement(x.CommentsTitle,null,"Comments"))),T.default.createElement(ae,null,"Paragraph"),T.default.createElement("p",null,"Sample paragraph with some ",T.default.createElement("b",null,"bold text")," ",T.default.createElement("em",null,"emphasised, italic text")," and a ",T.default.createElement("a",{href:"#"},"Link"),"."),T.default.createElement(ae,null,"Links"),T.default.createElement(N.ActionLink,{href:"#"},"Sample Link"),T.default.createElement(N.ActionLinks,null,T.default.createElement(N.ActionLink,{href:"#"},"Action link without icon"),T.default.createElement(N.ActionLink,{icon:T.default.createElement(R.default,{alignToBaseline:!0}),href:"#"},"Action link with icon")),T.default.createElement(ae,null,"Comments Message"),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},t))}},{key:"buttons",value:function(){return T.default.createElement(se,{heading:"Buttons",id:"comments-buttons"},T.default.createElement(ae,null,"Active"),T.default.createElement(x.CommentsButton,null,"Post comment"),T.default.createElement(ae,null,"Disabled"),T.default.createElement(x.CommentsButton,{isDisabled:!0},"Post comment"),T.default.createElement(ae,null,"Submit Button"),T.default.createElement(x.CommentsButton,{type:"submit"},"Post comment"),T.default.createElement(ae,null,"More Comments Button"),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G},"More comments"),T.default.createElement(ae,null,"Show New Comments Button"),T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:2,onClick:G}),T.default.createElement(ae,null,"Stylized button"),T.default.createElement(x.CommentsButton,{className:"comments-button--styled"},"Stylized button"))}},{key:"formElements",value:function(){return T.default.createElement(se,{heading:"Form Elements",id:"comments-form-elements"},T.default.createElement(ae,null,"Expanding Text Area"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:2,maxRows:8})),T.default.createElement(ae,null,"Comments Input"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsInput,{textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G})))}},{key:"header",value:function(){var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage("moduleTitleText"),n=this.theme.formatMessage("closedForum");return T.default.createElement(se,{heading:"Header",id:"comments-header"},T.default.createElement(ae,null,"Not signed in"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0})),T.default.createElement(ae,null,"Not signed in with comments total"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Not signed in with longer comments heading title"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"Do you think England will qualify for the World Cup?")),T.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),T.default.createElement(x.IdctaSignInButton,{markup:e.signInButton}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),T.default.createElement("div",{className:"comments__comments-total"},T.default.createElement(x.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),T.default.createElement(ae,null,"Signed In"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(O.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:1,maxRows:8}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Pre-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:ne.under16}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Post-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.POST_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Reactively-moderated forum message"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.REACTIVELY_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Signed In With Policy Error"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What is the best pizza topping?")),T.default.createElement(x.IdctaSignedInMessage,{displayName:ne.displayName,under16:!1}),T.default.createElement("p",{className:"comments__message--user-ineligible"},this.theme.formatMessage("ineligibleToComment",{})),T.default.createElement(x.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),T.default.createElement(ae,null,"Closed forum"),T.default.createElement(x.CommentsHeader,null,T.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"-1"},T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,"What was your highlight of 2017?")),T.default.createElement("p",{className:"comments__message comments__message--closed-forum"},n)))}},{key:"footer",value:function(){var e=this.theme.formatMessage("backToTop");return T.default.createElement(se,{heading:"Footer",id:"comments-footer"},T.default.createElement(ae,null,"Without more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With more comments"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With slow loading message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsLoading,{slowMessageTimerInSeconds:6}),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,"With error message"),T.default.createElement(x.CommentsFooter,null,T.default.createElement("div",null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage((0,H.getMessageKeyForError)(V.ErrorTypes.MORE_COMMENTS_FAILED))),T.default.createElement(x.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),T.default.createElement("div",null,T.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},e,T.default.createElement(I.ToTop,null))))))}},{key:"comment",value:function(){var e=(0,E.moment)(),t=(0,E.moment)().subtract(1,"year"),n={reportUrl:"/#/"},r="/rulesPageUrl";return T.default.createElement(se,{heading:"Comment",id:"comments-comment"},T.default.createElement(ae,null,"Contributor Avatar Image"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1,avatarImageUrl:le}),T.default.createElement(ae,null,"Contributor Avatar Letter"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!1}),T.default.createElement(ae,null,"Contributor Avatar Letter for current user"),T.default.createElement(x.ContributorAvatar,{displayName:"ApricotLaughingIguana",isCurrentUser:!0}),T.default.createElement(ae,null,"Username"),T.default.createElement(x.Username,null,"ApricotLaughingIguana"),T.default.createElement(ae,null,"Description"),T.default.createElement(x.UserDescription,null,"Presenter"),T.default.createElement(ae,null,"Date/Time"),T.default.createElement("b",null,"Today:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm")}),T.default.createElement("b",null,"This year:"),T.default.createElement(x.PostedDate,{time:e.format(),formattedTime:e.format("HH:mm D MMM")}),T.default.createElement("b",null,"Last year:"),T.default.createElement(x.PostedDate,{time:t.format(),formattedTime:t.format("HH:mm D MMM YYYY")}),T.default.createElement(ae,null,"Single line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a single line comment",status:L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Multi-line comment"),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:1,id:1,totalReplies:0,replies:[],author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a test comment that goes on for quite a while and it
\n spans multiple lines and contains additional lines separated by

\nToo many newlines.
And also emojis 😂", status: L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment"),T. default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,answers:[],author:{displayName:"HackerTDog",isNotable:!0,userId: 100,description:ue,avatarUrl:le},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment from a featured user".,status:L ., {userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,answers:[],author:{displayName:"HackerTdog",isNotable:!0,userId:100,avatarUrl:le} , dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment from an annotated user".,status:L.default.PASS},rulesPageUrl:r, forumId :" dummy", idctaData:te}),T.default.createElement(ae,null,"Be notable user comment without avatar image"),T.default.createElement(x.Comment,{userCanPostToForum:!0 ,commentData :{index:2,id:2,totalResponses:0,responses:[],author :{displayName:"HackerT Dog",isNotable:!0,userId:100,description:ue},dateCreated:"2014-02-01T10:23:00+00:00",actions:n,text:"This is a comment from a featured user .",status:L.default.PASS } ,rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment with invalid avatar URL image"), T.default.createElement(x.Comment, {userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,answers:[],author:{displayName: "HackerTdog",isNotable: !0, User ID: 100, Avatar URL: ce, Description: ue}, Creation date: "2014-02-01T10: 23: 00 + 00: 00", actions: n, text: "This is a comment from a notable user. ", status :L.default.PASS},rulesPageUrl: r ,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Notable user comment without description and avatar image") ,T.default .createElement(x.Comment,{userCanPostToForum:!0, comment Data:{index:2,id:2,totalReplies:0,answers:[],author:{displayName:"HackerTDog",isNotable:! 0,userId:100},dateCreated:"2014-02-01T10 :23 : 00+00:00",actions:n,text:"This is a comment from a featured user. ",status:L.default.PASS },rulesPageUrl:r,forumId:"dummy",idctaData:te }), T.default.createElement(ae,null,"Notable user comment with admin links"),T.default .createElement(x.Comment, {userCanPostToForum:!0,commentData:{index:2,id:2,totalReplies:0,answers:[],author:{displayName:"HackerTdog",isNotable:!0,userId:100,description:ue,avatarUrl: le},dateCreated:"2014-02-01T10:23:00+00 :00",actions:n,text:"This is a comment from a featured user".,status:L. default .PASS},rulesPageUrl: r , customizationDetails : { isEdi tor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId} ?forumId={forumId}&parentUri={pageUrl} "},memberDetails:{url:"/dummy/MemberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}}, forumId:"dummy",idctaData:te} ),T.default.createElement(ae,null,"comment with distress message"),T.default.createElement(x.Comment , {userCanPostToForum:!0,commentData:{ index:0,id:2,totalReplies: 0,replies:[],distressMessage:{text:"Hi UnicornPrincess,

\n It sounds like you need to talk to someone about what you're going through.\n You may be talking to a family member, friend, tutor, or teacher.

\n If you really don't have anyone to talk to, you can speak to a ChildLine adviser by calling\n on 0800 11 11 (calls are free), visit the website at childline.org.uk or download\n Download ChildLine's app free call For Me.

(Video) Scenes We'd Like to See: Things That Would Change the Atmosphere at a Dinner Party - Mock the Week - BBC Two

\n Or you can call the Samaritans on their hotline: 08457 90 90 90 (local rate) or visit their website.

\n Always remember that bullying is NOT acceptable and you do not have to put up with it.

\n For further help, we also have some helpful tips and hotlines.

(Video) Celeste - I Can See The Change (Official Video)

\nI hope this helps,
\n CBBC"},Author:{DisplayName:"UnicornPrincess",isNotable:!1,UserId:100},DateCreated:"2019-02-20T10:23:00+00:00",Actions:n,Rating:{ Positive:0,negative:0},text:"I loved this episode. Know how Drew feels.
\nI get bullied too and sometimes you just have to ignore them :(

\NORTE
And other emojis 😁", status: L.default.PASS},rulesPageUrl:r,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Comment with distress message with links to admin " ),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],distressMessage:{text:"Hello Spiderman,

\n Sounds like you need to talk to someone about what you're going through.\n You could talk to a family member, friend, guardian, or teacher."}, author:{displayName:"Spiderman ",isNotable: ! 1, User ID: 300 }, date created: "2019-08-02T11:56:00+00:00", actions: n, rating: {positive: 0, negative: 0}, text: "This is a comment with an emergency message when logging in as moderator", status: L.default.PASS},rulesPageUrl:r,personalisationDetails:{isEditor:!0,commentAdminLinks:{makeTopPick:{url:"#AdminLink-makeTopPick"},memberDetails:{ url:" # AdminLink-memberDetails"},viewModerationHistory:{url:"#AdminLink-viewModerationHistory"}}},forumId:"dummy",idctaData:te}),T.default.createElement(ae,null ,"Comment with Links admin ( closed) )")), T.default.createElement("p",null,'(this causes a warning/error response: "Invalid checksum" to the console, which you can ignore)'), T .default .createElement(" br",null),T.default.createElement(x.Comment,{u serCa nPostToForum:!0,commentData:{index:0,id:0,totalRepl ies: 0, rep lies: [], author: {displayName: "Laughing Apricot Iguana", isNotable:! 1, user id: 100}, creation date: "2014- 02-01T10:23:00+00:00", actions: n , score:{positive:0,negative:0}, text:"This is a comment with admin links",status:L.default.PASS}, Personalization Details:{esPublisher:!0,commentAdminLinks:{report:{url: "/dummy/report /{commentId}"},makeTopPick:{ url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri = {pageUrl}"},memberDetails:{url:"/dummy/memberDetails /{userId}" },viewModerationHistory:{url:"/dummy /moderationHistory/{commentId}"}}},rulesPageUrl:r,forumId:" dummy ",idctaData:te}),T.default.createElement(ae, null,"Comment with admin links (open)"),T .default.createElement("br",null),T.default.createElement(x. Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies: 0,Replies:[],Author: {displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:" 2014-02-01T10:23:00+00:00",actions:n,rating: {po Positive:0,negative:0 },text:"This is a comment with admin links",status:L.default. PASS},personalizationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/ dummy /report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId= { forumId }&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{ userId }"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:r , forumId :"dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement ( ae,null,"Comment moderation failed"),T.default.createElement("br",null),T . default .createElement(x.Comment,{userCanPostToForum:!0,commentData:{index :0,id: 0,totalReplies:0,replies:[], author:{displayName:"CaptainAmerica",isNotable:!1,userId : 100 },creation date:"2019-04- 10T10:08:45+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a comment that failed to moderate" , state:L.default.FAILED},rulesPageUrl: r,forumId:"dummy",idctaData:te,isActionTray Open:!0}),T.default.createElement(ae,null,"Comment moderation failed with admin links"), T.default.createElement("br " ,null) ,T.default.createElement(x.Comment ,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0 ,replies:[], author:{displayName:"ApricotLaughingIguana", isNotable :!1 ,userId:100} ,dateCreated:"2014 -02-01T10:23:00+00:00",actions:n,rating:{ positive:0,negative:0},text:"This is a comment with admin links", status: L.default.FAIL}, customization details:{isEditor:!0,commentAdminLinks:{report:{url:" /dummy/report/{commentId}"},makeTopPick:{url:"/dummy /makecommenteditorpick/ {commentId}? forumId={forumId}&parentUri ={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"} }},rulesPageUrl :r,forumId:" dummy",idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,"comment from current user"),T.default.createElement(" br",null) , T.default.createElement( x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[], author:{displayName:"ApricotLaughingIguana",isNotable: !1 ,userId:100},dateCreated:" 2014 -02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a current user review which has an unmoderated display name" ,status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl : r, forumId:"dummy",idctaData: te}),T.default.createElement(ae,null,"Comment with link in comment"),T.default.createElement("br",null),T.default .createElement( x. Comment,{userCanPo stToForum: ! 0,commentData:{index:0,id:0,totalReplies:0,replies:[], author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10 : 23:00+00:00",actions:n,rating:{positive:0,negative:0},text:'This is a comment with ashortcut.',status:L.default.PASS},customizationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy" ,idctaData:te}),T.default.createElement(ae,null,"Current user comment with an unmoderated display name"),T.default.createElement("br",null),T.default. createElement(x.Comment,{userCanPostToForum:!0,commentData:{index:0,id:0,totalReplies:0,replies:[],author:{displayName:"U16123456",isNotable:!1,userId:100} ,dateCreated:"2014-02-01T10:23:00+00:00",actions:n,rating:{positive:0,negative:0},text:"This is a review from the current user who has a - name moderation", status: L.default.PASS}, personalization details: {userId: 100,displayNameModerationStatus:q.default.FAILED_OR_AWAITING,displayNameModerationMessage:"Where is my display name?",displayNameModerationUrl:"/moderation/user /help ", commentAdminLinks :{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:r,forumId:"dummy",idctaData:te}))}},{key:"commentsList ", value: function (){v ar e={reportUrl:"/#/"},t="/rulesPageUrl",n=function t(n,r){var o=n.id,i=n. text, a= n .reply,s =n.displayName,u=(0,E.moment)().subtract(3*(r-o),"minutes").format();return{index:o,id :1233 +o , key:1233+ o,author:{displayName:s||"ApricotLaughingIguana",isNotable:!1,userId:10 0},creation date:u,actions: e,Tex t:i,Rating:{positive:0,negative:0},Status: L.default.PASS,responses:a?[t({id:o+ 1,text:a,displayName:"CarrotSmilingJiraffe" ,inReplyToId: 0,commentId:0})]:[],totalReplies:a?1: 0,replyTo:{displayName:"displayNamePlaceholder",text:"text placeholder"} }},r=4,o=[ n ({id:3,text:"This is a one line comment"},r), n({id:2,text:"This is another one line comment with replies",reply:"This is the first reply to a main comment" },r),n({id:1,text:"This is a test comment that will last a long time and
spans multiple lines and contains additional lines separated by

(Video) Things That Would Change the Atmosphere at a Dinner Party 🥘 😬 Mock the Week - BBC

many line breaks.
E muitos emojis 😂"},r),n({id:0,text:"😂"},r)];return T.default.createElement(se,{heading:"Lista de comentarios",id:"comments - list"},T.default.createElement(ae,null,"Lista Padrão"),T.default.createElement(x.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy" , idctaData:te,pageSize:re,respuestasPageSize:oe,userCanPostToForum:!0}),T.default.createElement(ae,null,"Neue Kommentare verfügbar"),T.default.createElement("div",null,T default.createElement("div",{className:"comments__show-new-comments-container"},T.default.createElement(x.ShowNewCommentsButton,{newCommentCount:12,onClick:G})),T.default.createElement ( x.CommentsList,{comentarios:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0})))}},{chave : "alertas",valor:función(){var e=this.theme.formatMessage("postCommentSuccessPremoderated"),t=this.theme.getIcon("SuccessIcon");return T.default.createElement(se,{heading: " Alertas",id:"comentarios-alertas"},T.def ault.crea teElement (ae, null, "mensaje por debajo del límite de caracteres"), T.default.createElement (x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,{remainingCharacters:2,isTextOverLimit:!1,textLimit :750, restanteCharactersMessage :"Du hast noch 2 Zeichen übrig"})),T.default.createElement(ae,null,"Nachricht über Zeichenbegrenzung"),T.default.createElement(x.CommentsHeader,null,T.default. crearElemento(x. ComentariosTextLimit,{restanteCaracteres:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:"Du hast 5 zu viele Zeichen geschrieben!"})),T.default.createElement(ae,null,"Mensaje de error"), T .default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR}),"Leider ist ein Problem aufgetreten. Bitte aktualisieren Sie Ihren Browser and versuchen Sie es erneut. ")), T.default.createElement(ae,null,"Erfolgsmeldung vormoderiert"),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x .CommentsAlert,{type:k.AlertTypes.SUCCESS ,Icon:t},e)),T.default.createElement(ae,null,"Comentários Carregando"),T.default.createElement(x.CommentsLoading,null)) }},{key:"ratings",value :function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType: "positiv",Icon:e.theme.getIcon ("Voto a favor"), índice de comentario: 0, está deshabilitado:! 1, ID de comentario: 0, controlador de error de calificación: G, está enviando calificación:! 1, valor de calificación: 9, ha clasificadoComm ent:!1,num erPlacement: "right",handleClick:G},t))};return T.default.createElement(se,{heading:"Calificaciones",id:"comentarios-calificaciones"},T.default .createElement(ae,null ," Positive Bewertung"),T.default.createElement("p",null,"Texto auf der rechten Seite."),T.default.createElement("div",null,T.default .createElement(t,null )) ,T.default.createElement("div",null,T.default.createElement(t,{ratingValue:99 })),T.default.createElement("div",null,T .default.createElement(t ,{ratingValue:999})),T.default.createElement("p",null,"Texto auf der linken Seite ."),T.default.createElement("div",null,T .default.createElement(t ,{numberPlacement:"left"})),T.default.createElement("div",null,T.default. createElement(t,{ratingValue:99,numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue:999,numberPlacement:"left"}) ),T.default.createElement(ae,null,"Enviando"),T.default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Classificado"),T. default.createElement(t,{hasRatedComment:!0}),T.default.createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{clave :"donwRatings",value:function(){var e=this,t=function(t){return T.default.createElement(x.CommentRating,(0,s.default)({ratingType:"negative",Icon :e.theme.getIcon("Voto negativo"), índice de comentario: 0, está deshabilitado:! 1, Id. de comentario: 0, calificaciónErrorHandler: G, está enviando calificación:! 1, valor de calificación: 9, tiene comentario calificado:! 1, número de ubicación: "derecho", manejar clic :G},t)};return T.default.createElement(se,{heading:"Down Ratings",id:"comentarios-down-ratings"},T.default.createElement (ae,null,"Negative Bewertung " ),T.default.createElement("p",null,"Texto auf der rechten Seite."),T.default.createElement("div",null,T.default.createElement (t,null)),T . default.createElement("div",null,T.default.createElement(t,{ratingValue:99})),T.default.createElement("div",null,T.default .createElement(t,{ratingValue: 999 })),T.default.createElement("p",null,"Texto auf der linken Seite."),T.default.createEleme nt("d iv",null,T.default .createElement(t,{numberPlacement:"left"})),T.default.createElement("div",null,T.default.createElement(t,{ratingValue: 99,ubicaciónnúmero: "esquerda"})),T .default.createElement("div",null,T.default.createElement(t,{ratingValue:999,ubicaciónnúmero:"esquerda"})),T.default.createElement (ae,null ,"Enviando"),T. default.createElement(t,{isSendingRating:!0}),T.default.createElement(ae,null,"Calificación reducida"),T.default.createElement(t,{hasRatedComment:!0}),T.default . createElement(ae,null,"Disabled"),T.default.createElement(t,{isDisabled:!0}))}},{key:"tooltip",value: function(){var e=S.default . getSignedOutResponse(),t=this.theme.formatMessage("tooltipErrorSubtitle"),n=this.theme.formatMessage("otherErrorBody");return T.default.createElement(se, {heading:"Tooltip",id:" tooltip "},T.default.createElement(ae,null,"Tooltip"),T.default.createElement("div",{className:"comments-styleguide__tooltip"} ,T.default.createElement(x.Tooltip,{ subtítulo :"Melden Sie sich dazu bei Ihrem BBC-Konto an.",handleClose:G,shouldAutoFocus:!1},T.default.createElement(x.IdctaSignInButton,{markup: e.signInButton}))),T.default . createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default .createElement("br",null),T . default.createElement("br",null),T.default.createElement("br",null),T. predeterminado t.createElement("br",null),T .default.createElement("br",null),T.default.createElement(ae,null,"Fehler-Tooltip"),T.default.createElement("div " ,{className:"comments-styleguide__tooltip"},T.default.createElement(x.Tooltip,{subtitle:t,isAlert:!0,handleClose:G,shouldAutoFocus:!1},n)),T.default. createElement ("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T. predeterminado .createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null),T.default.createElement("br",null), T .default.createElement(ae,null,"Lanzador de información sobre herramientas"),T.default.createElement(x.TooltipLauncher,{tooltipSubtitle:"Melden Sie sich dazu bei Ihrem BBC-Konto an.",isTooltipOpen:!1,tooltipBody: t default.createElement(x.IdctaSignInButton,{markup:e.signInButton})},T.default.createElement(x.CommentsButton,null,"Clique em mim para ver a dica")))}},{key:"respostas ", value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=["Dies ist ein Snippet nur mit Text","😂","😂😂😂😂 😂😂 😂😂","

Yee😂eeeeeeeeeeeeee&nbsp&nbsp&nbsp😂
\n &nbsp&nbsp&nbsp is an excerpt 😂 with everything.
\n Emoticons 😂😂😂 and text like this and new line
\n so I really like this snippet component 😂😂😂😂"];return T.default.createElement(se,{heading:"Answers",id:"comments-answers"},T.default.createElement(ae ,null ,"Reply Button"),T.default.createElement(x.ReplyButton,null),T.default.createElement(ae,null,"Response function on exit"),T.default.createElement(x.Comment , {commentData :{index:0,id:0,totalReplies:0,replies:[], author:{displayName:"Superman",isNotable:!1,userId:200},dateCreated:"2019-04-02T16: 33 :00 +00:00",actions:e,rating:{positive:0,negative:0},text:"This is a one line comment with a reply button and logout function",status: L.default.APPROVED}, rulesPageUrl :t ,forumId:"dummy",idctaData:te}),T.default.createElement(ae,null,"Response if user does not have permission to comment"),T. default.createElement (x.Comment, {commentData: {index:0,id:0,totalReplies:0,replies:[],author:{displayName:"MrBean",isNotable:!1,userId:100},dateCreated: "2019-04 -12T10 :08 :38+ 00:00",Actions:y,Cation rating g:{positive:0,negative:0},Text: "This is a comment that the user cannot reply to because they do not have permission to comment ",status:L.default.PASS},rulesPageUrl:t, forumId: " dummy", idctaData:ee}),T.default.createElement(ae,null,"Reply to a parent comment"),T.default. createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F. default. PRE_MODERATED,commentDate:{index:0,id:0,totalReplies: 0,Replies:[],Author:{displayName:"Thor",isNotable:!1,userId:300},dateCreated:"2019-04-02Q18: 05:00+00:00",actions:e,rating: {positive:0,negative:0},text:"This is a one line comment with a reply button and works if you are logged in and the user has permission to comment is",status:L.default.PASS},rulesPageUrl:t,forumId :"dummy",idctaData:$}),T.default.createElement(ae,null,"Reply to a reply"),T. default. createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default. PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!1,userId:300},dateCreated :"2019-04-02T18:05:00+00 :00", actions:e,rating:{positive:0,negative:0},text:"😂 This is a one line comment",status:L. default .PASS,totalReplies:1,replies:[{index: 0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},creation date:"2019-04-05T10: 23:00 +00:00",actions:{reportUrl:"/ #/" }, rating:{positive:0,negative:0},text:"This is the first reply to the comment and it is the only one",status :L .default.PASS,inReplyToId:0,commentId: 0,replyTo :{displayName: "Hercules",text:"😂 This is a one line comment"}}]},rulesPageUrl:t,forumId:"dummy" , idctaData :$,isRatingEnabled:!0,userCanPostToForum:!0 }) ,T.default.createElement (ae,null,"Inplace response snippet"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus :F .default.PRE_MODERATED,comment D ata:{index:0 ,ID :12345,Author: {displayName:"CarpetMan",isNotable:!1,userId:300},Date Created:"2019-04-02T18:05:00 +00:00",actions:e,rating:{positive:0,negative:0},text:"😂
This is the test comment, which will continue for quite some time.
\n spans multiple lines and contains additional lines separated by

\nToo many newlines.
And also emojis 😂", status: L.default.PASS, totalReplies:1,replies:[{index:0,id:12346,author:{displayName:"WaterMan",isNotable:!1,userId:100},dateCreated :"2019-04-06T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first response from comment is the only one", status: L.default.PASS, inReplyToId: 12345, commentId: 12345, replyTo:{displayName:"CarpetMan",text:"😂
This is the test comment, which will continue for quite some time.
\n spans multiple lines and contains additional lines separated by

(Video) Be the Change You Want to See

\nToo many newlines.
And also emojis 😂"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply snippet only text"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[0]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SugarMan",replyToMsg:n[0]})),T.default.createElement(ae,null,"Reply snippet only 1 emoticon"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[1]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"SaltMan",replyToMsg:n[1]})),T.default.createElement(ae,null,"Reply snippet only emoticons"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[2]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"PepperMan",replyToMsg:n[2]})),T.default.createElement(ae,null,"Reply snippet mixed"),T.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[3]}}),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ReplySnippet,{replyToName:"CurryMan",replyToMsg:n[3]})),T.default.createElement(ae,null,"More replies"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:123456,author:{displayName:"PeterPan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"😂 This is a single line comment",status:L.default.PASS,totalReplies:13,replies:[{index:12,id:12,author:{displayName:"Bambi",isNotable:!1,userId:100},dateCreated:"2019-04-07T07:24:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 1",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:11,id:11,author:{displayName:"LionKing",isNotable:!1,userId:100},dateCreated:"2019-04-06T08:39:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 2, replying to Bambi",status:L.default.PASS,inReplyToId:12,commentId:123456,replyTo:{displayName:"Bambi",text:"This is a example of reply number 1"}},{index:10,id:10,author:{displayName:"Romeo",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 3, replying to LionKing",status:L.default.PASS,inReplyToId:11,commentId:123456,replyTo:{displayName:"LionKing",text:"This is a example of reply number 2, replying to Bambi"}},{index:9,id:9,author:{displayName:"Wendy",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 4",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:8,id:8,author:{displayName:"CaptainHook",isNotable:!1,userId:100},dateCreated:"2019-04-05T04:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 5",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:7,id:7,author:{displayName:"Julieta",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 6",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:6,id:6,author:{displayName:"Shirkan",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 7",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:5,id:5,author:{displayName:"Rambo",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 8",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:4,id:4,author:{displayName:"Rocky",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 9",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:3,id:3,author:{displayName:"LuckyLuke",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 10",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:2,id:2,author:{displayName:"CristobalColon",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 11",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:1,id:1,author:{displayName:"Nadal",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 12",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}},{index:0,id:0,author:{displayName:"Federer",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a example of reply number 13",status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:{displayName:"PeterPan",text:"😂 This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Error after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Albert"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.ERROR},this.theme.formatMessage("postCommentIdctaError")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Confirmation after posting a reply"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement("div",{className:"reply"},T.default.createElement("div",{className:"reply__signedin"},T.default.createElement("div",{className:"reply__signedin-eligible"},T.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Henry"),T.default.createElement(x.CommentsAlert,{type:k.AlertTypes.SUCCESS,Icon:this.theme.getIcon("SuccessIcon")},this.theme.formatMessage("postCommentSuccessPremoderated")),T.default.createElement(x.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G}))))),T.default.createElement(ae,null,"Reply of removed parent"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Reply of removed parent with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Planetman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"This comment was removed",status:L.default.FAIL,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Planetman",text:"This comment was removed"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Earthman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"😂 This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Riceman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Riceman",text:"😂 This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Removed reply with admin links"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Martianman",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"😂 This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Foodman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is a reply of parent comment which was removed by moderation",status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:{displayName:"Martianman",text:"😂 This is a single line comment"}}]},rulesPageUrl:t,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,"Replied by notable"),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:300,description:ue,avatarUrl:le},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0,negative:0},text:"😂 This is a single line comment",status:L.default.PASS,totalReplies:1,replies:[{index:0,id:0,author:{displayName:"Hercules",isNotable:!0,userId:100,description:ue,avatarUrl:le},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0,negative:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:{displayName:"Hercules",text:"😂 This is a single line comment"}}]},rulesPageUrl:t,forumId:"dummy",idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(z.A11yAlertMessage,{timeout:ie,message:this.state.audibleMessage}))}},{key:"commentsSort",value:function(){return T.default.createElement(se,{heading:"Comments Sort",id:"comments-sort"},T.default.createElement(ae,null,"Comments Sort Select"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,null)),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.CommentsSort,{isLoading:!0})),T.default.createElement(ae,null,"Comments Sort Error"),T.default.createElement(x.CommentsSortError,null))}},{key:"viewCommentsButton",value:function(){return T.default.createElement(se,{heading:"View Comments Button",id:"view-comments-button"},T.default.createElement(ae,null,"With comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:1})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:11})),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,{totalCommentsCount:263})),T.default.createElement(ae,null,"Without comments"),T.default.createElement("div",{className:"comments-styleguide__white-background"},T.default.createElement(x.ViewCommentsButton,null)))}},{key:"getChildContext",value:function(){return{isFeatureEnabled:function(){return!0},apiKey:"styleguide",forumId:"noForum",theme:this.theme,setA11yAlertText:this.setA11yAlertText,triggerAggregatorDataFetch:G,logImpressionEventWithCommonLabels:G,WithStatsIncludeCommonLabels:K,logClickEventWithCommonLabels:G,canSendStat:X,setStatSent:G,clearStatsSent:G,getInstanceId:J,noJS:!1}}},{key:"render",value:function(){var e=this.theme,t=e.themeVariant,n=e.product;return T.default.createElement("div",{className:(0,_.default)("comments-theme-variant--"+t,"comments__product--"+n)},T.default.createElement("div",{className:"comments-styleguide comments"},T.default.createElement(x.NoJSMessage,null),this.menu(),this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.comment(),this.commentsList(),this.tooltip(),this.ratings(),this.donwRatings(),this.replies(),this.commentsSort(),this.viewCommentsButton()))}}]),t}(b.Component);de.displayName="StyleGuideModule",de.propTypes={mode:b.PropTypes.string,themeVariant:b.PropTypes.string,product:b.PropTypes.oneOf((0,i.default)(W.Products))},de.defaultProps={mode:A.MODE_STANDALONE,themeVariant:W.ThemeVariants.DEFAULT,product:W.Products.DEFAULT},de.childContextTypes={isFeatureEnabled:b.PropTypes.func.isRequired,apiKey:b.PropTypes.string.isRequired,forumId:b.PropTypes.string.isRequired,theme:b.PropTypes.shape({formatMessage:b.PropTypes.func.isRequired,getIcon:b.PropTypes.func.isRequired,getComponent:b.PropTypes.func.isRequired,ratingsNumberPlacement:b.PropTypes.string.isRequired}).isRequired,setA11yAlertText:b.PropTypes.func,triggerAggregatorDataFetch:b.PropTypes.func,logImpressionEventWithCommonLabels:b.PropTypes.func,WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,logClickEventWithCommonLabels:b.PropTypes.func,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired,noJS:b.PropTypes.bool.isRequired},t.StyleGuideModule=de},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(165),i=r(o);t.default={getSignedOutResponse:function(){return i.default.new().signedIn(!1).withSignInButton('\n Login\n or Register-se\n').build()},getSignedInResponse:function(){return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage('You are logged in as test-u16.deliver').build()},getSignedInResponseWithUnder16PolicyError:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('Sorry, looks like you're not old enough to comment.').build()},getSignedInResponseWithoutDisplayName:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('

\NORTEYou need a display name to comment, reply and react.\n Create a display name\n\NORTE

').build()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e} }Objeto.defineProperty(t,"__esModule",{valor:!0});var o=n(2),i=r(o),a=n(150),s=r(a),u= n(445),l=r(u),c=n(446),d=n(234),m=r(d),f=n(244),p=r(f),h=n (254),y=función(e){return null!==e};t.default=l.default.create({displayName:"CommentsAggregator",getInitialState:function(){return{firstPageOfCommentsRequestUri:null,latestCommentsDataRequestUri: null,commentsDataPaginationRequestUri:null,loadedComments:this.buildSortOrderArrays(),forumData:{totalCommentsCount:0},respuestasDataPaginationRequestUri:null,sortDataRequestUri:null,retryCounters:{},sortOrder:p.default.NewestFirst.name,latestResponseType:null,obteniendoSortedComments :!1,canLoadMore:!1,yaSortedByNewestFirst:!1}},buildSortOrderArrays:function(){return(0,s.default)(p.default).reduce(function(e,t){return e[t] =[],e},{})},listenerAdded:function(e){switch(e.requestType){case m.default.replies:this.repliesListenerAdded(e);bre ak;cas e m.default.sort:this.sortListenerAdded(e);break;case m.default.newComments:this.newCommentsListenerAdded(e);break;default:this.commentsListenerAdded(e),this.newCommentsListenerAdded(e) }}, sortListenerAdded:function(e){var t=(0,i.default)({},e.commentsDataUri);if(this.state.sortOrder!==e.sortOrder){var n=p.default [mi. sortOrder].indexName;this.state.sortOrder=e.sortOrder,t.pageSize=e.initialPageSize,delete t[n],t.sortOrder=e.sortOrder,t.retry=this.getRetryCounter(e.sortOrder), this.state.sortDataRequestUri=t,this.state.fetchingSortedComments=!0}},getSortParameter:function(e){return h.sortParameterBySortOrder[e]},newCommentsListenerAdded:function(e){var t=(0,i. predeterminado)({},e.commentsDataUri),n=t.forumId,r=t.apiKey,o=this.getLoadedComments(p.default.NewestFirst.name),a=(0,c.getIndexOfLatestComment)(o) ;this.state.latestCommentsDataRequestUri={forumId:n,apiKey:r,sinceIndex:a,data:"bbc-morph-comments-data"}},commentsListenerAdded:function(e){var t=(0,i.default )({},e.commentsDataUri),n=this.getSo rtParameter(this.state.sortOrder);e.nextIndexToLoadFrom>0?(t[n]=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,t. sortOrder=this.state.sortOrder,this.state.commentsDataPaginationRequestUri=t ):this.state.firstPageOfCommentsRequestUri=t},repliesListenerAdded:function(e){var t=(0,i.default)({},e.repliesDataUri ),n=t hola s.getRetryCounter(e.parentCommentId,e.nextReplyIndexToLoadFrom,e.repliesDataUri.pageSize);this.setCheckingForReplies({commentId:e.parentCommentId,value:!0}),t.startIndex=e.nextReplyIndexToLoadFrom,t.commentId= e .parentCommentId,t.retry=n,this. state.repliesDataPaginationRequestUri=t},getRetryCounter:function(){for(var e=arguments.length,t=Array(e),n=0;n0){var n=(0,c.mapComments)(e.comments),r=this.getLoadedComments(p.default.NewestFirst.name),o=(0,c.prependNewComments)(r,n),i =(0,c.getIndexOfLatestComment)(o);this.setLoadedComments(p.default.NewestFirst.name,o),this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e), this.state.latestCommentsDataRequestUri.sinceIndex=i,this.state.latestResponseType=m.default.newComments}},processFirstPageOfCommentsDataRequest:function(){if(this.state.firstPageOfCommentsRequestUri){var e=this.getDataResponseIfAvailable(this.state. firstPageOfCommentsRequestUri);if(!e)return{uri:this.state.firstPageOfCommentsRequestUri,requireSuccess:!0,updates:!1};this.handleFirstPageOfCommentsDataResponse(e)}return null},processLatestCommentsDataRequest:function(){if(this. state.latestCommentsDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.latestCommentsDataRequestUri);return e&&this.handleLatestCommentsDataResponse(e),{uri:this.state.latestCommentsDataRequestUri,requireSuccess:!0,upda tes: !0}}return null},processPaginatedCommentsDataRequest:function(){if(this.state.commentsDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)return{uri:this. Estado. commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1};var t=(0,c.mapComments)(e.comments),n=this.getLoadedComments(this.state.sortOrder),r=(0,c.appendNewComments )(n,t,this.state.sortOrder);this.setLoadedComments(this.state.sortOrder,r),this.state.commentsDataPaginationRequestUri=null,this.state.latestResponseType=m.default.moreComments,this.state. canLoadMore=e.canLoadMore}return null},processRepliesDataRequest:function(){if(this.state.repliesDataPaginationRequestUri){var e=this.getDataResponseIfAvailable(this.state.repliesDataPaginationRequestUri);if(!e)return[{uri:this .state.repliesDataPaginationRequestUri,requireSuccess:!0,updates:!1}];var t=this.state.repliesDataPaginationRequestUri.commentId;this.setCheckingForReplies({commentId:t,value:!1});var n=this.s tate.repliesDataPaginationRequestUri.startIndex+e.replies.length+e.totalRemaining;this.storeNewRepliesForComment(t,e.replies,n),this.state.latestResponseType=m.default.replies,this.state.repliesDataPaginationRequestUri=null}return null},setCheckingForReplies:function(e){var t=e.commentId,n=e.value,r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,t) ;o&&(o.checkingForReplies=n)},storeNewRepliesForComment:function(e,t,n){var r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,e) ;if(o){var i=(0,c.mapReplies)(t,o,this.state.forumData.siteName);o .firstNewReplyId=(0,c.getFirstNewReplyId)(i),o.replies=( 0,c.appendNewReplies)(o.replies,i),o.totalReplies=n}},handleSortResponse:function(e){var t =e.sortOrder,n=t=p.default.NewestFirst.name, r=this.state.yaSortedByNewestFirst,o=this.getLoadedComments(t),i=(0,c.mapComments)(e.comments) ,a =(0,c.agregarNuevosComentarios)(o,i,t),s =n||r?(0,c.getIndexOfLatestComment)(a):-1;this.state.sortOrder=t,this.state .forumData =(0,c.getUpd atedForumData)(this.state.forumData,e),this.setLoadedComments(t,a),this.state.latestResponseType=m.default.sort,this.state.canLoadMore=e. canLoadMore,this.state.fetchingSortedComments=! 1,this.state.latestCommentsDataRequestUri.sinceIndex=s,this.state.alreadySortedByNewestFirst=n},processSortDataRequest:function(){if(this.state.sortDataRequestUri){var e=this.getDataResponseIfAvailable(this.state.sortDataRequestUri); if(!e)return[{uri:this.state.sortDataRequestUri,requireSuccess:!0,updates:!1}];this.handleSortResponse(e),this.state.sortDataRequestUri=null}return null},getDataResponseIfAvailable:función (e){var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null},setLoadedComments:function(e,t){this.state.loadedComments[e]= t},getLoadedComments:function(e){devolver this.state.loadedComments[e]},data:function(){var e=this.processFirstPageOfCommentsDataRequest(),t=this.processLatestCommentsDataRequest(),n=this.processPaginatedCommentsDataRequest( ),r=this.processRepliesD ataRequest(),o=this.processSortDataRequest();return[e,t,n,r,o].filter(y)},getPayload:function(){var e=this.state ,t=e.forumData, n=e.loadedComments,r=e.sortOrder,o=e.latestResponseType,i=e.obteniendoSortedComments,a=e.canLoadMore,s=n[r];return{meta:{responseCode :200},body:{ forumData:t,loadedComments:s,latestResponseType:o,sortOrder:r,obteniendoSortedComments:i,canLoadMore:a}}}}),e.exports=t.default},function(e,t ){ e.exports={ create:function(e){return Morph.createAggregatorWithCaller("bbc-morph-comments-view@3.67.1",e)}}},function(e,t,n){"usar estrito" ;function r(e ){return e&&e.__esModule?e:{default:e}}function o(e){return(0,l.pickBy)(e,function(e,t){return(0, C. not)("comentarios "===t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.mapComments=t.mapReplies=t.appendNewReplies=t.getFirstNewReplyId=t. appendNewComments=t.prependNewComments =t.getUpdatedForumData=t.getIndexOfLatestComment=t.findById=void 0;var i=n(447),a=r(i),s=n(2),u=r(s), l=n(102 ),c=n(160),d=función(e,t){return t.some(function(t){ return t.id=e.id})},m=función (e ,t){return(0,u.default)({},e,{actions:{reportUrl:e.actions.reportUrl.replace ("[nombre del sitio]",t)}})},f=función (e,t){var n=y(t,e.inReplyToId);return(0,u.default)({},e,{ answerTo:{displayName:n.author.displayName,text:n.text} })},p=function(e){return e.respuestas&&e.respuestas[0]&&(e.respuestas[0].replyTo={displayName :e.author.displayName,text:e.text}),e. hasOwnProperty("checkingFor Respostas")=!1&&(e.checkingForReplies=!1),e},h=function(e,t){var n=e.map(function(e){return e.id}), r= t.filter(function(e){return(0,c.not)(n.indexOf(e.id)!==- 1)});return r},y=t.findById=function(e ,t ){para(var n=0;ne?t.index:e},-1)},t.getUpdatedForumData=función(e,t){var n=o(t),r=Math.max(n.totalCommentsCount,e.totalCommentsCount),i= n.hasOwnProperty("isClosed")?n.isClosed:e.isClosed;return(0,u.default)({},n,e,{totalCommentsCount:r,isClosed:i})},t.prependNewComments=función (e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0=e.length)return t.slice();var r=t.filter( function( t){var n=e.some(function(e){return e.index===t.index});return!n});return r.concat(e)}return e},t. appendNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0=e.length)return t.slice();var r=h (e ,t);return e.concat(r)}return e},t.getFirstNewReplyId=function(e){var t=Array.isArray(e)&&e.length>0;return t?e[0]. id:0},t.appendNewReplies=function(e,t){var n=Array.isArray(t)&&t.length>0;return n?[].concat((0,a.default)(e), (0,a.predeterminado)(t.filter(function(t){return!d(t,e)}))):e},t.mapReplies=function(e,t,n){var r=[ ].concat((0,a.predeterminado)(e),(0,a.predeterminado)(t.respostas),[t]);return e.map(function(e){return f(e,r) }).map(función(e){retorno m(e,n)})},t.mapComments=función(e){retorno e.map(función(e){retorno p(e)})}} , function(e,t ,n){"usar estrito";función r(e){retornar e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(448),i = r(o); t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?Argument[1]:void 0,y=void 0!==h,g=0,v=c(m);if(y&&(h=r(h,p>2?arguments[2]:void). 0,2)),void 0==v||f==Array&&s(v))for(t=u(m.length),n=new f(t);t>g;g++)l(n, g,y?h(m[g],g):m[g]);else for(d=v.call(m),n=new f;!(or=d.next()).feito; g++)l(n,g,y?a(d,h,[o.value,g],!0):o.value);return n.length=g,n}})},function(e, t,n){"use strict";var r=n(12),o=n(20);e.exports=function(e,t,n){t in e?r.f(e,t,o( 0,n)):e[t]=n}}]);;});

Videos

1. Our Permaculture Food Forest - PUTTING SWALES IN - EP1 DAY ZERO
(The Wildlanders Off Grid)
2. All Along The Watchtower (Bob Dylan) feat. Warren Haynes | Playing For Change
(Playing For Change)
3. What if we could change this?
(National Autistic Society)
4. Tears For Fears - Change
(Tears For Fears)
5. Fredo - Change [Music Video] | GRM Daily
(GRM Daily)
6. Drag Queens Monét X Change & The Vivienne Take a Bridgerton Etiquette Class | Netflix
(Still Watching Netflix)
Top Articles
Latest Posts
Article information

Author: Delena Feil

Last Updated: 02/05/2023

Views: 5639

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Delena Feil

Birthday: 1998-08-29

Address: 747 Lubowitz Run, Sidmouth, HI 90646-5543

Phone: +99513241752844

Job: Design Supervisor

Hobby: Digital arts, Lacemaking, Air sports, Running, Scouting, Shooting, Puzzles

Introduction: My name is Delena Feil, I am a clean, splendid, calm, fancy, jolly, bright, faithful person who loves writing and wants to share my knowledge and understanding with you.