“+t+””+”script>”},d=function()tryn=document.domain&&new ActiveXObject(“htmlfile”)catch(t)var t,r;d=n?function(t)t.write(h(“”)),t.close();var r=t.parentWindow.Object;return t=null,r(n):((r=s(“iframe”)).style.display=”none”,c.appendChild(r),r.src=String(“javascript:”),(t=r.contentWindow.document).open(),t.write(h(“document.F=Object”)),t.close(),t.F);for(var e=u.length;e–;)delete d.prototype[u[e]];return d();a[l]=!0,t.exports=Object.create||function(t,r)var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===r?e:i(e,r)},6048:function(t,r,e)var n=e(9781),o=e(3070),i=e(9670),u=e(1956);t.exports=n?Object.defineProperties:function(t,r)i(t);for(var e,n=u(r),a=n.length,c=0;a>c;)o.f(t,e=n[c++],r[e]);return t,3070:function(t,r,e)var n=e(9781),o=e(4664),i=e(9670),u=e(7593),a=Object.defineProperty;r.f=n?a:function(t,r,e),1236:function(t,r,e)var n=e(9781),o=e(5296),i=e(9114),u=e(5656),a=e(7593),c=e(6656),s=e(4664),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r)if(t=u(t),r=a(r,!0),s)tryreturn f(t,r)catch(t)if(c(t,r))return i(!o.f.call(t,r),t[r]),8006:function(t,r,e)var n=e(6324),o=e(748).concat(“length”,”prototype”);r.f=Object.getOwnPropertyNames,5181:function(t,r)r.f=Object.getOwnPropertySymbols,9518:function(t,r,e)var n=e(6656),o=e(7908),i=e(6200),u=e(8544),a=i(“IE_PROTO”),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t)return t=o(t),n(t,a)?t[a]:”function”==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null,6324:function(t,r,e)var n=e(6656),o=e(5656),i=e(1318).indexOf,u=e(3501);t.exports=function(t,r)var e,a=o(t),c=0,s=[];for(e in a)!n(u,e)&&n(a,e)&&s.push(e);for(;r.length>c;)n(a,e=r[c++])&&(~i(s,e),1956:function(t,r,e)var n=e(6324),o=e(748);t.exports=Object.keys,5296:function(t,r)”use strict”;var e=.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call(1:2,1);r.f=o?function(t)var r=n(this,t);return!!r&&r.enumerable:e,7674:function(t,r,e)(“__proto__”in?function()var t,r=!1,e=;try(t=Object.getOwnPropertyDescriptor(Object.prototype,”__proto__”).set).call(e,[]),r=e instanceof Arraycatch(t)return function(e,i)return n(e),o(i),r?t.call(e,i):e.__proto__=i,e():void 0),288:function(t,r,e)”use strict”;var n=e(1694),o=e(648);t.exports=n?.toString:function()return”[object “+o(this)+”]”,3887:function(t,r,e)var n=e(5005),o=e(8006),i=e(5181),u=e(9670);t.exports=n(“Reflect”,”ownKeys”),857:function(t,r,e)var n=e(7854);t.exports=n,2534:function(t)t.exports=function(t)tryreturnerror:!1,value:t()catch(t)returnerror:!0,value:t,9478:function(t,r,e)var n=e(9670),o=e(111),i=e(8523);t.exports=function(t,r)if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise,2248:function(t,r,e)var n=e(1320);t.exports=function(t,r,e)for(var o in r)n(t,o,r[o],e);return t,1320:function(t,r,e)var n=e(7854),o=e(8880),i=e(6656),u=e(3505),a=e(2788),c=e(9909),s=c.get,f=c.enforce,l=String(String).split(“String”);(t.exports=function(t,r,e,a)o(e,”name”,r),(c=f(e)).source)(Function.prototype,”toString”,(function())),7651:function(t,r,e)var n=e(4326),o=e(2261);t.exports=function(t,r)var e=t.exec;if(“function”==typeof e)var i=e.call(t,r);if(“object”!=typeof i)throw TypeError(“RegExp exec method returned something other than an Object or null”);return iif(“RegExp”!==n(t))throw TypeError(“RegExp#exec called on incompatible receiver”);return o.call(t,r),2261:function(t,r,e){“use strict”;var n,o,i=e(7066),u=e(2999),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,f=(n=/a/,o=/b*/g,a.call(n,”a”),a.call(o,”a”),0!==n.lastIndex||0!==o.lastIndex),l=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec(“”)[1];(f||p||l)&&(s=function(t)u.multiline&&”n”!==t[u.lastIndex-1])&&(d=”(?: “+d+”)”,g=” “+g,v++),e=new RegExp(“^(?:”+d+”)”,h)),p&&(e=new RegExp(“^”+d+”$(?!\s)”,h)),f&&(r=u.lastIndex),n=a.call(s?e:u,g),s?n?(n.input=n.input.slice(v),n[0]=n[0].slice(v),n.index=u.lastIndex,u.lastIndex+=n[0].length):u.lastIndex=0:f&&n&&(u.lastIndex=u.global?n.index+n[0].length:r),p&&n&&n.length>1&&c.call(n[0],e,(function()for(o=1;o
,I.defaultProps=commentInputClass:””,buttonsWrapperClass:””,isReply:!1,id:!1,instanceId:1},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsAlert=t.AlertTypes=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=(t.AlertTypes=ERROR:”error”,SUCCESS:”success”,t.CommentsAlert=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.type,n=e.role,r=e.children,o=e.Icon;return h.default.createElement(“div”,role:n,className:”comments__alert”,h.default.createElement(“div”,className:”comments-“+t+”-message”,o&&h.default.createElement(“div”,className:”comments-success-message-icon”,h.default.createElement(o,null)),h.default.createElement(“div”,className:”comments-success-message-text”,r)))]),t(p.Component));y.displayName=”CommentsAlert”,y.propTypes=type:p.PropTypes.string.isRequired,role:p.PropTypes.string,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),Icon:p.PropTypes.func},function(e,t,n)function(e)for(var t=1;t= 2.9.0. You are using Moment.js “+e.version+”.”),e.defaultZone=t?_(t):null,e;var U=e.momentProperties;return”[object Array]”===Object.prototype.toString.call(U)?(U.push(“_z”),U.push(“_a”)):U&&(U._z=null),e),function(e,t,n)(function(e)!function(t,n)e.exports=n()(this,function()”use strict”;function t()return xr.apply(null,arguments)function n(e)xr=efunction r(e)”[object Array]”===Object.prototype.toString.call(e)function o(e)return null!=e&&”[object Object]”===Object.prototype.toString.call(e)function i(e)if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0function a(e)return void 0===efunction s(e)return”number”==typeof efunction u(e)function l(e,t)var n,r=[];for(n=0;n
,o,n&&h.default.createElement(t,id:”stats-activity-hub-link”,labels:label:”activity-hub-link”,fireOnView:!0,fireOnClick:!0,h.default.createElement(“a”,className:”comments__display-name”,href:e,n)))]),t}(p.Component);v.displayName=”IdctaSignedInMessage”,v.propTypes=displayName:p.PropTypes.string,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func),WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,t.IdctaSignedInMessage=v},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ShowNewCommentsButton=void 0;var o=n(99),i=r(o),a=n(169),s=n(187),u=r(s),l=function(e)return e?i.default.createElement(“span”,className:”header-icon-refresh”,i.default.createElement(u.default,iconName:e)):i.default.createElement(“noscript”,null),c=t.ShowNewCommentsButton=function(e)var t=e.newCommentCount,n=e.onClick;if(tn To use comments you will need to have JavaScript enabled.n ‘)}},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsModerationMessage=void 0;var o=n(99),i=r(o),a=n(148),s=r(a),u=n(196),l=r(u),c=function(e)return i.default.createElement(“span”,null,”are “,i.default.createElement(“a”,className:”comments-moderation__rules-link”,href:e,”moderated”),” and”),d=t.CommentsModerationMessage=function(e)var t=e.moderationStatus,n=e.rulesPageUrl;return i.default.createElement(“p”,className:(0,s.default)(“comments-moderation__rules-msg”),”Comments “,t===l.default.PRE_MODERATED.toString()?c(n):””,” must follow the “,i.default.createElement(“a”,href:n,”house rules”),”.”);d.displayName=”CommentsModerationMessage”,d.propTypes=moderationStatus:o.PropTypes.string,rulesPageUrl:o.PropTypes.string,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsSort=void 0;var o=n(117),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(244),_=r(v),b=n(205),T=r(b),E=n(245),C=r(E),P=n(148),S=r(P),w=t.CommentsSort=function(e){function t(e)(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__return(0,h.default)(t,e),(0,d.default)(t,[key:”handleSort”,value:function(e)this.props.sortCallback(e),key:”getSortLabel”,value:function(e)return this.context.theme.formatMessage(“commentsSort”+e),key:”isRelevantOption”,value:function(e),key:”getRelevantSortOptions”,value:function()var e=this;return(0,i.default)(_.default).filter(function(t)return e.isRelevantOption(t)).map(function(e)return e.name),key:”render”,value:function()var e=this,t=this.context.theme.formatMessage,n=t(“commentsSortLabel”),r=this.props,o=r.isLoading,i=r.defaultValue,a=(0,S.default)(“comments-sort__select”,”comments-sort__select–loading”:o),s=function(e)o&&e.preventDefault();return g.default.createElement(“div”,className:”comments-sort”,g.default.createElement(“label”,className:”comments-sort__label”,”aria-hidden”:”true”,”Show”),g.default.createElement(“div”,className:”comments-sort__dropdown”,g.default.createElement(“select”,id:”sort-select”,”aria-label”:n,className:a,defaultValue:i,onChange:function(t)return e.handleSort(t.target.value),autoComplete:”off”,onMouseDown:s,onKeyPress:s,this.getRelevantSortOptions().map(function(t)return g.default.createElement(“option”,id:t,key:t,value:t,e.getSortLabel(t)))),g.default.createElement(“div”,className:”comments-sort__icon”,”aria-hidden”:”true”,o?g.default.createElement(T.default,null):g.default.createElement(C.default,null))))]),t}(y.Component);w.displayName=”CommentsSort”,w.propTypes=sortCallback:y.PropTypes.func,isLoading:y.PropTypes.bool,defaultValue:y.PropTypes.string,w.defaultProps=defaultValue:_.default.NewestFirst.name,w.contextTypes=isFeatureEnabled:y.PropTypes.func.isRequired,theme:y.PropTypes.shape(formatMessage:y.PropTypes.func)},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=NewestFirst:name:”NewestFirst”,indexName:”startIndex”,statsName:”Latest”,OldestFirst:name:”OldestFirst”,indexName:”startIndex”,statsName:”Oldest”,HighestRated:name:”HighestRated”,indexName:”startAtItem”,featureToggles:[“ratings”,”downRatings”],statsName:”HighestRated”,MostRepliesFirst:name:”MostRepliesFirst”,indexName:”startAtItem”,featureToggles:[“replies”],statsName:”MostReplied”,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function()return i.default.createElement(“svg”,className:”down-arrow”,xmlns:”http://www.w3.org/2000/svg”,width:”24″,height:”24″,viewBox:”0 0 24 24″,i.default.createElement(“path”,d:”M12 21l-10-14h20z”));a.displayName=”DownArrow”,t.default=a,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsSortError=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(187),g=r(y),v=t.CommentsSortError=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()return h.default.createElement(“div”,className:”comments-sort-error comments–border comments–shadow”,h.default.createElement(“div”,className:”comments-sort-error__icon”,”aria-hidden”:”true”,h.default.createElement(g.default,iconName:”info”,additionalClassNames:”comments-sort__icon-gel”)),h.default.createElement(“div”,className:”comments-sort-error__message”,this.context.theme.formatMessage(“commentsSortError”)))]),t(p.Component);v.displayName=”CommentsSortError”,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ViewCommentsButton=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(187),g=r(y),v=t.ViewCommentsButton=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.totalCommentsCount,n=e.onClick,r=this.context.theme.formatMessage(“viewCommentsButton”),o=t>0?”, “+t:””,i=””+r+o;return h.default.createElement(“div”,className:”comments view-comments-button-container”,h.default.createElement(“button”,className:”view-comments-button”,onClick:n,”aria-label”:i,h.default.createElement(“span”,className:”view-comments-button__icon”,h.default.createElement(g.default,iconName:”comments”,additionalClassNames:”view-comments__icon-gel”)),h.default.createElement(“span”,className:”view-comments-button__text”,r),t>0&&h.default.createElement(“span”,className:”view-comments-button__count”,t)))]),t(p.Component);v.displayName=”ViewCommentsButton”,v.propTypes=totalCommentsCount:p.PropTypes.number,onClick:p.PropTypes.func,v.defaultProps=totalCommentsCount:0,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ForumLinks=t.getForumLinks=void 0;var o=n(150),i=r(o),a=n(2),s=r(a),u=n(99),l=r(u),c=n(178),d=n(181),m=(t.getForumLinks=function(e)var t=e.forumAdminLinks,n=void 0===t?:t,r=;return n.administerCommentsForum&&(r.administerCommentsForumUrl=(0,d.formatForumAdminLinkUrlTemplate)(n.administerCommentsForum.url)),(0,s.default)(hasLinks:(0,i.default)(r).length>0,r),t.ForumLinks=function(e)var t=e.forumLinks;return l.default.createElement(c.ActionLinks,className:”action-links–forum-links”,l.default.createElement(c.ActionLink,href:t.administerCommentsForumUrl,”Administer Comment Forum”)));m.displayName=”ForumLinks”,m.propTypes=forumLinks:u.PropTypes.shape(administerCommentsForumUrl:u.PropTypes.string.isRequired),m.defaultProps=forumLinks:,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ToTop=void 0;var o=n(99),i=r(o),a=t.ToTop=function(e)var t=e.height,n=void 0===t?14:t,r=e.width,o=void 0===r?14:r;return i.default.createElement(“span”,className:”to-top-icon”,”aria-hidden”:”true”,i.default.createElement(“svg”,xmlns:”http://www.w3.org/2000/svg”,height:n,width:o,viewBox:”0 0 32 32″,i.default.createElement(“rect”,y:”2″,width:”32″,height:”3″),i.default.createElement(“polygon”,points:”16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5″)));a.displayName=”ToTop”,a.propTypes=height:o.PropTypes.number,width:o.PropTypes.number,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.A11yAlertMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(179),g=t.A11yAlertMessage=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”getMessageFragment”,value:function(e)return h.default.createElement(“div”,className:”comments__a11y-message comment__hidden-text”,”aria-live”:”assertive”,”aria-atomic”:”true”,e),key:”render”,value:function()return h.default.createElement(y.A11yText,contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout)]),t(p.Component);g.displayName=”A11yAlertMessage”,g.propTypes=message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number,g.defaultProps=timeout:0},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.A11yPoliteMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(179),g=t.A11yPoliteMessage=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”getMessageFragment”,value:function(e)return h.default.createElement(“div”,className:”comments__a11y-message comment__hidden-text”,”aria-live”:”polite”,”aria-atomic”:”true”,e),key:”render”,value:function()return h.default.createElement(y.A11yText,contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout)]),t(p.Component);g.displayName=”A11yPoliteMessage”,g.propTypes=message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number,g.defaultProps=timeout:0},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.ThemeVariants=DEFAULT:”default”,CHILDRENS:”childrens”,t.Products=DEFAULT:”default”,CBBC:”cbbc”,CBEEBIES:”cbeebies”,OWNIT:”stay-safe”,NEWSROUND:”newsround”,NIGHTFALL:”nightfall”,SPORT:”sport”,NEWS:”news”,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=ALERT:”Alert”,POLITE:”Polite”,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)return e.length0?t-1:0),(0,u.default)(a,c.default.OldestFirst.name,function(e)return o(e)+1),(0,u.default)(a,c.default.HighestRated.name,function(e)return e.length),(0,u.default)(a,c.default.MostRepliesFirst.name,function(e)return e.length),a),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CannotCommentMessage=void 0;var o=n(99),i=r(o),a=t.CannotCommentMessage=function(e)var t=e.message;return i.default.createElement(“p”,dangerouslySetInnerHTML:__html:t);a.displayName=”CannotCommentMessage”,a.propTypes=message:o.PropTypes.string,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(257),i=r(o),a=n(125),s=r(a),u=n(264),l=r(u),c=n(164),d=r(c),m=n(265),f=r(m),p=t.MODE_STANDALONE=”standalone”,h=[p],y=function(e)return”acc”===e?s.default.resolve():d.default.setupIdctaLibrary(e);t.addModeSupport=function(e)var t=e.component,n=e.mode;h.indexOf(n)!==-1&&l.default.selfTransitiveThenUpdate(“modes-“+n,t),t.addModeSupportOnBrowser=function(e)var t=e.mode;return t===p?(document.title=”Standalone Comment Morph View”,s.default.all([y(e.idctaEnv),f.default.atiStatsListener()]).then(function(e)var t=(0,i.default)(e,1),n=t[0];returnidctaCss:n)):s.default.resolve(),function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:et.__esModule=!0;var o=n(258),i=r(o),a=n(261),s=r(a);t.default=function()function e(e,t)var n=[],r=!0,o=!1,i=void 0;trycatch(e)o=!0,i=efinallytry!r&&u.return&&u.return()finallyif(o)throw ireturn nreturn function(t,n)if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)()},function(e,t,n)e.exports=default:n(259),__esModule:!0,function(e,t,n)n(73),n(62),e.exports=n(260),function(e,t,n)var r=n(128),o=n(72)(“iterator”),i=n(66);e.exports=n(8).isIterable=function(e)”@@iterator”in t,function(e,t,n)e.exports=default:n(262),__esModule:!0,function(e,t,n)n(73),n(62),e.exports=n(263),function(e,t,n)var r=n(13),o=n(133);e.exports=n(8).getIterator=function(e)var t=o(e);if(“function”!=typeof t)throw TypeError(e+” is not iterable!”);return r(t.call(e)),function(e,t)e.exports=transitive:function(e,t)return Morph.requireTransitiveWithCaller(“bbc-morph-comments-view@3.67.1”,e,t),selfTransitive:function(e,t)return Morph.requireTransitiveWithCaller(“bbc-morph-comments-view@3.67.1”,e,t,!0),transitiveThenUpdate:function(e,t)return Morph.requireTransitiveWithCallerThenUpdate(“bbc-morph-comments-view@3.67.1”,e,t),selfTransitiveThenUpdate:function(e,t)return Morph.requireTransitiveWithCallerThenUpdate(“bbc-morph-comments-view@3.67.1″,e,t,!0),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(156),i=r(o);t.default=atiStatsListener:function()var e=”ac-ati-stats-listener”;window.sessionStorage.setItem(e,”[]”),document.addEventListener(“bbc-user-event”,function(t)var n=JSON.parse(window.sessionStorage.getItem(e));n.push(t.detail),window.sessionStorage.setItem(e,(0,i.default)(n))),e.exports=t.default,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=MAX_API_LIMIT_PAGE_SIZE:50,MIN_PAG_SIZE_MULTIPLIER:1,MAX_PAG_SIZE_MULTIPLIER:4,PAGE_SIZE:20,REPLIES_PAGE_SIZE:10,e.exports=t.default,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.initialViewOptions=BUTTON:”button”,COMMENTS:”comments”,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(2),i=r(o),a=n(121),s=r(a),u=n(124),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t)var n=t.apiKey,r=t.forumId;return s.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.prev=0,e.next=3,p.default.getAdminLinks(apiKey:n,forumId:r);case 3:return e.abrupt(“return”,e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt(“return”,);case 9:case”end”:return e.stop(),e,this,[[0,6]])));return function(t)return e.apply(this,arguments)}(),d=n(269),m=r(d),f=n(181),p=r(f),h=n(208);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId;return(0,l.default)(s.default.mark(function e()var a,u;return s.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.prev=0,e.next=3,m.default.getModeratedUserDetails(n);case 3:if(a=e.sent,!a.isEditor)e.next=10;breakreturn e.next=7,c(apiKey:n,forumId:o);case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=;case 11:return u=e.t0,e.abrupt(“return”,(0,i.default)(userId:a.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(a.displayNameStatus),isEditor:a.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl,u));case 15:return e.prev=15,e.t1=e.catch(0),e.abrupt(“return”,);case 18:case”end”:return e.stop(),e,t,[[0,15]])))()}},e.exports=t.default},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(158),i=r(o),a=n(161),s=r(a),u=n(163),l=n(164);t.default={getModeratedUserDetails:function(e)return(0,l.refreshToken)().then(function()return i.default.get(s.default.getModeratedUserUrl((0,u.getEnv)()),headers:”x-api-key”:e))},e.exports=t.default},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=e.themeVariant,n=e.product,r=e.productLabel,o=e.getIcon,a=e.getComponent,u=e.formatMessage;returnthemeVariant:t,product:n,productLabel:r,formatMessage:u,getIcon:o,getComponent:a,ratingsNumberPlacement:t===i.ThemeVariants.CHILDRENS?s.default.LEFT:s.default.RIGHTObject.defineProperty(t,”__esModule”,value:!0);var i=n(252),a=n(204),s=r(a),u=n(271),l=r(u),c=n(264),d=r(c),m=n(273),f=r(m);t.default=use:function(e)var t=e.component,n=e.themeVariant,r=e.product,a=n===i.ThemeVariants.CHILDRENS?n:i.ThemeVariants.DEFAULT,s=d.default.selfTransitiveThenUpdate(“messages-“+a,t),u=l.default.use(s),c=d.default.selfTransitiveThenUpdate(“icons-“+a,t),m=d.default.selfTransitiveThenUpdate(“product-config-“+a,t),p=r in m?r:”default”,h=m[p],y=h.label?h.label:””,g=f.default.use(h,c);return o(themeVariant:a,product:p,productLabel:y,getIcon:g.getIcon,getComponent:g.getComponent,formatMessage:u.formatMessage),e.exports=t.default,function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,value:!0);var r=n(272);t.default=use:function()var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:;returnformatMessage:function(t,n)var o=e[t];if(o)return(0,r.formatString)(e[t],n);throw new Error(‘”‘+t+'” does not exist’),e.exports=t.default},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:;return(0,a.default)(t).reduce(function(e,n)var r=new RegExp(“”+n+””,”g”);return e.replace(r,t[n]),e)Object.defineProperty(t,”__esModule”,value:!0);var i=n(150),a=r(i);t.formatString=o},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e,t)h[e]=tfunction i(e)return e in h?h[e]:m.defaultfunction a(e)return e in y?y[e]:m.defaultfunction s(e)var t=a(e.flagIconDistress);return c.default.createElement(f.DistressMessageFlag,product:e.product,productLabel:e.label,Logo:t)function u(e,t)var n=a(e.flagIconNotable);return c.default.createElement(p.NotableMessageFlag,product:e.product,Logo:n,type:t)Object.defineProperty(t,”__esModule”,value:!0);var l=n(99),c=r(l),d=n(274),m=r(d),f=n(275),p=n(276),h=,y=;t.default=use:function(e)var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:;return y=t,o(“distressMessageFlag”,s(e)),o(“notableCommentFlag”,u(e,”comment”)),o(“notableReplyFlag”,u(e,”reply”)),add:o,getIcon:a,getComponent:i,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function()return i.default.createElement(“div”,className:”icon”);a.displayName=”PlaceholderIcon”,t.default=a,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.DistressMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.DistressMessageFlag=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.product,n=e.productLabel,r=e.Logo,o=”comment__product-flag-“+t;return h.default.createElement(“div”,className:(0,g.default)(“comment__distress-message-product-flag”,o),role:”text”,h.default.createElement(“span”,className:”comment__distress-message-logo”,r&&h.default.createElement(r,null)),h.default.createElement(“span”,className:”comment__hidden-text”,”Message from “+n),h.default.createElement(“span”,className:”comment__distress-message-username”,”aria-hidden”:”true”,n))]),t(p.Component);v.displayName=”DistressMessageFlag”,v.propTypes=product:p.PropTypes.string,productLabel:p.PropTypes.string,Logo:p.PropTypes.func},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.NotableMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(148),g=r(y),v=t.NotableMessageFlag=function(e)function t()(0,i.default)(t)).apply(this,arguments))return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.product,n=e.Logo,r=e.type,o=”comment__product-flag-“+t,i=”comment__product-flag-“+r;return h.default.createElement(“div”,className:(0,g.default)(“comment__notable-flag”,”comment__distress-message-product-flag”,i,o),”aria-hidden”:”true”,h.default.createElement(“span”,className:”comment__distress-message-logo comment__product-logo”,n&&h.default.createElement(n,null)))]),t(p.Component);v.displayName=”NotableMessageFlag”,v.propTypes=product:p.PropTypes.string,Logo:p.PropTypes.func,type:p.PropTypes.string},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=under13:”u13″,under16:”u16″,under18:”u18″,over18:”o18″,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsStatsProvider=void 0;var o=n(117),i=r(o),a=n(153),s=r(a),u=n(2),l=r(u),c=n(48),d=r(c),m=n(53),f=r(m),p=n(54),h=r(p),y=n(58),g=r(y),v=n(91),_=r(v),b=n(99),T=r(b),E=n(279),C=n(198),P=n(252),S=n(196),w=r(S),O=t.CommentsStatsProvider=function(e){function t(e)(0,d.default)(t)).call(this,e));return n.state=statsSent:,instanceIds:,n.setStatSent=n.setStatSent.bind(n),n.canSendStat=n.canSendStat.bind(n),n.clearStatsSent=n.clearStatsSent.bind(n),n.getInstanceId=n.getInstanceId.bind(n),nreturn(0,_.default)(t,e),(0,h.default)(t,[key:”setStatSent”,value:function(e,t)this.setState(function(n)var r=n.statsSent[e]?n.statsSent[e]:(0,l.default)(,C.postStatsSentValues);r[t]=!0;var o=(0,l.default)(,n.statsSent,(0,s.default)(,e,r));returnstatsSent:o),key:”canSendStat”,value:function(e,t)return!(this.state.statsSent[e]&&this.state.statsSent[e][t]),{key:”clearStatsSent”,value:function(e)this.setState(function(t)var n=t.instanceIds[e]?t.instanceIds[e]+1:2;returnstatsSent:(0,l.default)(,t.statsSent,(0,s.default)(,e,(0,l.default)(,C.postStatsSentValues))),instanceIds:(0,l.default)(,t.instanceIds,(0,s.default)(,e,n)))},key:”getInstanceId”,value:function(e)return this.state.instanceIds[e]?this.state.instanceIds[e]:1,key:”getChildContext”,value:function()returnWithStatsIncludeCommonLabels:E.WithStatsIncludeCommonLabels,canSendStat:this.canSendStat,setStatSent:this.setStatSent,clearStatsSent:this.clearStatsSent,getInstanceId:this.getInstanceId,key:”render”,value:function()var e=(0,C.commonStatsLabels)(this.props.forumData,this.props.themeVariant);return T.default.createElement(E.WithStatsCommonLabelsProvider,labels:e,this.props.children)]),t}(b.Component);O.displayName=”CommentsStatsProvider”,O.propTypes=children:b.PropTypes.node,themeVariant:b.PropTypes.oneOf((0,i.default)(P.ThemeVariants)),forumData:b.PropTypes.shape(title:b.PropTypes.string.isRequired,totalCommentsCount:b.PropTypes.number.isRequired,commentTextLimit:b.PropTypes.number.isRequired,moderation:b.PropTypes.shape(rulesPageUrl:b.PropTypes.string.isRequired,status:b.PropTypes.oneOf((0,i.default)(w.default)).isRequired),createForum:b.PropTypes.bool.isRequired,isClosed:b.PropTypes.bool.isRequired).isRequired,O.childContextTypes=WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired},function(e,t,n)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),Object.defineProperty(t,”logClickEvent”,enumerable:!0,get:function()return r.logClickEvent),Object.defineProperty(t,”logImpressionEvent”,enumerable:!0,get:function()return r.logImpressionEvent),Object.defineProperty(t,”WithStats”,enumerable:!0,get:function()return o.WithStats),Object.defineProperty(t,”WithStatsCommonLabelsProvider”,enumerable:!0,get:function()return i.WithStatsCommonLabelsProvider),Object.defineProperty(t,”WithStatsIncludeCommonLabels”,enumerable:!0,get:function()return a.WithStatsIncludeCommonLabels);var r=n(280),o=n(362),i=n(437),a=n(439),function(e,t,n){“use strict”;function r(e,t)var n=Object.keys(e);if(Object.getOwnPropertySymbols)var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t)return Object.getOwnPropertyDescriptor(e,t).enumerable)),n.push.apply(n,r)return nfunction o(e)for(var t=1;t
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 over multiple lines and contains further lines that are separated by
n many line breaks.
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,replies:[],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 by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment without description”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,avatarUrl:le,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment without avatar image”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,description:ue,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment with wrong avatar url image”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,avatarUrl:ce,description:ue,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by 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,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable 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,replies:[],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 by a notable user.”,status:L.default.PASS,rulesPageUrl:r,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: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 you sound like you need to talk to someone about what you are going through at the moment.n You could speak to a family member, a friend, a guardian or a teacher.
n If there’s really no one you can speak to, you can speak with a ChildLine counsellor by callingn 0800 11 11 (calls are free), visiting their website at childline.org.uk, or by downloadingn the free ChildLine app, called For Me.
n Or you could call the Samaritans on their helpline: 08457 90 90 90 (charged at local rates) or visit their website.
n Always remember bullying is NOT acceptable and you don’t have to stand for it
n For further help, we also have some useful advice and helplines.
n We 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 love this episode. I know what Drew is feeling.
n I am being bullied too and sometimes you just need to ignore them 🙁
n
And also emojis 😁”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Comment with Distress Message with admin links”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],distressMessage:text:”Hi Spiderman,
n you sound like you need to talk to someone about what you are going through at the moment.n You could speak to a family member, a friend, a guardian or a teacher.”,author:displayName:”Spiderman”,isNotable:!1,userId:300,dateCreated:”2019-08-02T11:56:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This a comment with a Distress Message if you are logged 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 admin links (closed)”),T.default.createElement(“p”,null,'(this causes an React Warning/Error: “checksum was invalid” in the console that you can ignore)’),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.PASS,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”,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:positive:0,negative:0,text:”This is a comment with admin links”,status:L.default.PASS,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”,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,”Comment that failed moderation”),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,dateCreated:”2019-04-10T10:08:45+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment that failed moderation”,status:L.default.FAIL,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0),T.default.createElement(ae,null,”Comment that failed moderation 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,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”,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,”Comment by the 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 comment by the current user who has an un-moderated 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 inside comment”),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 that has a link.’,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 by the current user with an un-moderated 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 comment by the current user who has an un-moderated display name”,status:L.default.PASS,personalisationDetails: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()var 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();returnindex:o,id:1233+o,key:1233+o,author:,dateCreated:u,actions:e,text:i,rating:positive:0,negative:0,status:L.default.PASS,replies:a?[t(id:o+1,text:a,displayName:”CarrotSmilingGiraffe”,inReplyToId:0,commentId:0)]:[],totalReplies:a?1:0,replyTo:displayName:”displayNamePlaceholder”,text:”text placeholder”,r=4,o=[n(id:3,text:”This is a single line comment”,r),n(id:2,text:”This is another single line comment, with replies”,reply:”This is the first reply to a parent comment”,r),n(id:1,text:”This is a test comment that goes on for quite a while and it
spans over multiple lines and contains further lines that are separated by
many line breaks.
And also emojis 😂”,r),n(id:0,text:”😂”,r)];return T.default.createElement(se,heading:”Comments List”,id:”comments-list”,T.default.createElement(ae,null,”Standard List”),T.default.createElement(x.CommentsList,comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:”dummy”,idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0),T.default.createElement(ae,null,”New comments available”),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,comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:”dummy”,idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0)))},key:”alerts”,value:function()var e=this.theme.formatMessage(“postCommentSuccessPremoderated”),t=this.theme.getIcon(“SuccessIcon”);return T.default.createElement(se,heading:”Alerts”,id:”comments-alerts”,T.default.createElement(ae,null,”Under Character Limit Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,remainingCharacters:2,isTextOverLimit:!1,textLimit:750,remainingCharactersMessage:”You have 2 characters remaining”)),T.default.createElement(ae,null,”Over Character Limit Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,remainingCharacters:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:”You’ve written 5 too many characters!”)),T.default.createElement(ae,null,”Error Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,type:k.AlertTypes.ERROR,”Sorry, there was a problem. Please refresh your browser and try again.”)),T.default.createElement(ae,null,”Success Message Pre-moderated”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,type:k.AlertTypes.SUCCESS,Icon:t,e)),T.default.createElement(ae,null,”Comments Loading”),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:”positive”,Icon:e.theme.getIcon(“Upvote”),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:”right”,handleClick:G,t));return T.default.createElement(se,heading:”Ratings”,id:”comments-ratings”,T.default.createElement(ae,null,”Positive rating”),T.default.createElement(“p”,null,”Text on the right side.”),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,”Text on the left side.”),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,”Sending”),T.default.createElement(t,isSendingRating:!0),T.default.createElement(ae,null,”Rated”),T.default.createElement(t,hasRatedComment:!0),T.default.createElement(ae,null,”Disabled”),T.default.createElement(t,isDisabled:!0)),key:”donwRatings”,value:function()var e=this,t=function(t)return T.default.createElement(x.CommentRating,(0,s.default)(ratingType:”negative”,Icon:e.theme.getIcon(“Downvote”),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:”right”,handleClick:G,t));return T.default.createElement(se,heading:”Down Ratings”,id:”comments-down-ratings”,T.default.createElement(ae,null,”Negative rating”),T.default.createElement(“p”,null,”Text on the right side.”),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,”Text on the left side.”),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,”Sending”),T.default.createElement(t,isSendingRating:!0),T.default.createElement(ae,null,”Down Rated”),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:”tool-tip”,T.default.createElement(ae,null,”Tooltip”),T.default.createElement(“div”,className:”comments-styleguide__tooltip”,T.default.createElement(x.Tooltip,subtitle:”Sign in to your BBC account to do this.”,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.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(ae,null,”Error 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.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(ae,null,”Tooltip Launcher”),T.default.createElement(x.TooltipLauncher,tooltipSubtitle:”Sign in to your BBC account to do this.”,isTooltipOpen:!1,tooltipBody:T.default.createElement(x.IdctaSignInButton,markup:e.signInButton),T.default.createElement(x.CommentsButton,null,”Click me to view Tooltip”))),{key:”replies”,value:function(){var e=reportUrl:”/#/”,t=”/rulesPageUrl”,n=[“This is a snippet only with text”,”😂”,”😂😂😂😂😂😂😂😂”,”
Yee😂eeeeeeeeeeeeeeee   😂
n    is a snippet 😂 with everything.
n Emoticons 😂😂😂 and text like this and break lines
n like this, I really like this snippet component 😂😂😂😂”];return T.default.createElement(se,heading:”Replies”,id:”comments-replies”,T.default.createElement(ae,null,”Reply button”),T.default.createElement(x.ReplyButton,null),T.default.createElement(ae,null,”Reply functionality when signed out”),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 single line comment with Reply Button and functionality when signed out”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Reply functionality when the user is ineligible 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:e,rating:positive:0,negative:0,text:”This is a comment that the user can not reply because the user is ineligible to comment”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:ee),T.default.createElement(ae,null,”Replying to a parent comment”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”Thor”,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 with Reply Button and functionality when signed in and the user is eligible to comment”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:$),T.default.createElement(ae,null,”Replying 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 single line comment”,status:L.default.PASS,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 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(ae,null,”Reply snippet in place”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:12345,author:displayName:”CarpetMan”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂
This is the test comment that goes on for quite a while and it
n spans over multiple lines and contains further lines that are separated by
n many line breaks.
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 reply of the comment and it is the only one”,status:L.default.PASS,inReplyToId:12345,commentId:12345,replyTo:displayName:”CarpetMan”,text:”😂
This is the test comment that goes on for quite a while and it
n spans over multiple lines and contains further lines that are separated by
n many line breaks.
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()returnisFeatureEnabled: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:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(165),i=r(o);t.default=getSignedOutResponse:function()return i.default.new().signedIn(!1).withSignInButton(‘ ‘).build(),getSignedInResponse:function()return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage(‘
n You need a display name to comment, reply and react.n Create a display namen n
‘).build(),e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!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=function(e)return null!==e;t.default=l.default.create(displayName:”CommentsAggregator”,getInitialState:function()returnfirstPageOfCommentsRequestUri:null,latestCommentsDataRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:this.buildSortOrderArrays(),forumData:totalCommentsCount:0,repliesDataPaginationRequestUri:null,sortDataRequestUri:null,retryCounters:,sortOrder:p.default.NewestFirst.name,latestResponseType:null,fetchingSortedComments:!1,canLoadMore:!1,alreadySortedByNewestFirst:!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);break;case 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[e.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.default)(,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.getSortParameter(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=this.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;n
//# sourceMappingURL=bundle.js.map;
});