1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3927],{16630:function(e,t,n){"use strict";n.d(t,{B:function(){return X}});var a,o=n(11010),i=n(75766),r=n(72253),E=n(14932),s=n(91309),_=n(97582),l=n(85893),c=n(55759),d=n(59833),u=n(86560),D=n(27484),T=n.n(D),A=n(70178),L=n.n(A),O=n(57043),R=n.n(O),I=n(27361),S=n.n(I),U=n(35161),C=n.n(U),N=n(78718),m=n.n(N),p=n(84238),v=n.n(p),W=n(54061),f=n.n(W),P=n(47037),h=n.n(P),w=n(41609),V=n.n(w),x=n(67294),g=n(58533),y=n(59747),G={USER_LOGGED_IN:"userLoggedIn",USER_LOGGED_OUT:"userLoggedOut",USER_CREATED:"userCreated",USER_UPDATED:"userUpdated",USER_FOLLOWED:"userFollowed",USER_UNFOLLOWED:"userUnfollowed",USER_PROFILE_COMPLETED:"userProfileCompleted",USER_AWARD_GRANTED:"userAwardGranted",USER_AWARD_REMOVED:"userAwardRemoved",USER_BADGE_GRANTED:"userBadgeGranted",USER_BADGE_REMOVED:"userBadgeRemoved",USER_THROTTLED:"userThrottled",USER_FORUMS_IMPORTED:"forumsImported",USER_EMAIL_ADDED:"userEmailAdded",USER_EMAIL_REMOVED:"userEmailRemoved",USER_EMAIL_UPDATED:"userEmailUpdated",USER_REPUTATION_TIER_ACHIEVED:"userReputationTierAchieved",USER_BLOCKED:"userBlocked",USER_UNBLOCKED:"userUnblocked",QUESTION_CREATED:"questionCreated",QUESTION_UPDATED:"questionUpdated",QUESTION_DELETED:"questionDeleted",QUESTION_VIEWED:"questionViewed",QUESTION_CURATED:"questionCurated",QUESTION_FLAGGED:"questionFlagged",QUESTION_UPVOTED:"questionUpvoted",QUESTION_DOWNVOTED:"questionDownvoted",QUESTION_VOTE_REMOVED:"questionVoteRemoved",QUESTION_FOLLOWED:"questionFollowed",QUESTION_UNFOLLOWED:"questionUnfollowed",QUESTION_CLOSED:"questionClosed",QUESTION_OPENED:"questionOpened",ANSWER_CREATED:"answerCreated",ANSWER_UPDATED:"answerUpdated",ANSWER_DELETED:"answerDeleted",ANSWER_VIEWED:"answerViewed",ANSWER_ACCEPTED:"answerAccepted",ANSWER_UNACCEPTED:"answerUnaccepted",ANSWER_FLAGGED:"answerFlagged",ANSWER_REVIEWED:"answerReviewed",ANSWER_UPVOTED:"answerUpvoted",ANSWER_DOWNVOTED:"answerDownvoted",ANSWER_VOTE_REMOVED:"answerVoteRemoved",COMMENT_CREATED:"commentCreated",COMMENT_UPDATED:"commentUpdated",COMMENT_DELETED:"commentDeleted",COMMENT_FLAGGED:"commentFlagged",ARTICLE_CREATED:"articleCreated",ARTICLE_UPDATED:"articleUpdated",ARTICLE_DELETED:"articleDeleted",ARTICLE_VIEWED:"articleViewed",ARTICLE_CURATED:"articleCurated",ARTICLE_FLAGGED:"articleFlagged",ARTICLE_UPVOTED:"articleUpvoted",ARTICLE_DOWNVOTED:"articleDownvoted",ARTICLE_VOTE_REMOVED:"articleVoteRemoved",ARTICLE_FOLLOWED:"articleFollowed",ARTICLE_UNFOLLOWED:"articleUnfollowed",AWS_ARTICLE_CREATED:"awsArticleCreated",AWS_ARTICLE_UPDATED:"awsArticleUpdated",AWS_ARTICLE_DELETED:"awsArticleDeleted",AWS_ARTICLE_VIEWED:"awsArticleViewed",AWS_ARTICLE_UPVOTED:"awsArticleUpvoted",AWS_ARTICLE_DOWNVOTED:"awsArticleDownvoted",AWS_ARTICLE_VOTE_REMOVED:"awsArticleVoteRemoved",AWS_ARTICLE_FOLLOWED:"awsArticleFollowed",AWS_ARTICLE_UNFOLLOWED:"awsArticleUnfollowed",KNOWLEDGE_PLAYLIST_CREATED:"knowledgePlaylistCreated",KNOWLEDGE_PLAYLIST_UPDATED:"knowledgePlaylistUpdated",KNOWLEDGE_PLAYLIST_DELETED:"knowledgePlaylistDeleted",KNOWLEDGE_PLAYLIST_VIEWED:"knowledgePlaylistViewed",KNOWLEDGE_PLAYLIST_UPVOTED:"knowledgePlaylistUpvoted",KNOWLEDGE_PLAYLIST_DOWNVOTED:"knowledgePlaylistDownvoted",KNOWLEDGE_PLAYLIST_VOTE_REMOVED:"knowledgePlaylistVoteRemoved",KNOWLEDGE_PLAYLIST_FOLLOWED:"knowledgePlaylistFollowed",KNOWLEDGE_PLAYLIST_UNFOLLOWED:"knowledgePlaylistUnfollowed",TAG_FOLLOWED:"tagFollowed",TAG_UNFOLLOWED:"tagUnfollowed",ADD_BLOCKED_KEYWORD:"adminAddBlockedKeyword",REMOVE_BLOCKED_KEYWORD:"adminRemoveBlockedKeyword",ADD_CUSTOM_TAG:"adminAddCustomTag",REMOVE_CUSTOM_TAG:"adminRemoveCustomTag",ADD_USER_ROLE:"adminAddUserRole",REMOVE_USER_ROLE:"adminRemoveUserRole",ADD_PLAYLIST_USE_CASE:"adminAddPlaylistUseCase",REMOVE_PLAYLIST_USE_CASE:"adminRemovePlaylistUseCase",UPDATE_WEB_SITE_PREFERENCES:"adminUpdateWebSitePreferences"},M=n(44496),F=n(60247),b=n(28276),k=n(24158),j=n(97472),B=n.n(j),K=n(87573),Y=n(24025),Q=n(91320),q=n(23650),Z=n.n(q),z=function(e){var t=(0,b.$G)().t;return(0,l.jsx)("span",{className:Z().iconContainer,children:(0,l.jsx)(Q.Z,{className:(0,F.WM)(Z().icon,e.isActive?Z().expanded:null),tabIndex:0,role:"button","aria-label":t(e.isActive?"Collapse":"Expand"),"aria-labelledby":e.ariaLabelledBy,"aria-expanded":e.isActive})})},H=n(23751);T().extend(L());var J=(a={},(0,i._)(a,G.ANSWER_ACCEPTED,"Accepted"),(0,i._)(a,G.ANSWER_UNACCEPTED,"Unaccepted"),(0,i._)(a,G.ANSWER_CREATED,"Posted"),(0,i._)(a,G.ANSWER_DELETED,"Deleted"),(0,i._)(a,G.ANSWER_UPDATED,"Updated"),(0,i._)(a,G.ANSWER_DOWNVOTED,"Downvoted"),(0,i._)(a,G.ANSWER_UPVOTED,"Upvoted"),(0,i._)(a,G.ANSWER_FLAGGED,"Flagged"),(0,i._)(a,G.ANSWER_REVIEWED,"Reviewed"),(0,i._)(a,G.ANSWER_VIEWED,"Viewed"),(0,i._)(a,G.ANSWER_VOTE_REMOVED,"Vote removed for"),(0,i._)(a,G.USER_LOGGED_IN,"Logged in"),(0,i._)(a,G.USER_LOGGED_OUT,"Logged out"),(0,i._)(a,G.USER_CREATED,"Created profile"),(0,i._)(a,G.USER_UPDATED,"Updated profile"),(0,i._)(a,G.USER_THROTTLED,"Throttled"),(0,i._)(a,G.USER_FOLLOWED,"Followed"),(0,i._)(a,G.USER_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.USER_PROFILE_COMPLETED,"Completed profile"),(0,i._)(a,G.USER_AWARD_GRANTED,"Granted award"),(0,i._)(a,G.USER_AWARD_REMOVED,"Removed award"),(0,i._)(a,G.USER_BADGE_GRANTED,"Granted badge"),(0,i._)(a,G.USER_BADGE_REMOVED,"Removed badge"),(0,i._)(a,G.USER_BLOCKED,"User blocked"),(0,i._)(a,G.USER_UNBLOCKED,"User unblocked"),(0,i._)(a,G.USER_FORUMS_IMPORTED,"User account migrated from AWS Forums (deprecated)"),(0,i._)(a,G.USER_REPUTATION_TIER_ACHIEVED,"New reputation tier"),(0,i._)(a,G.QUESTION_CREATED,"Posted"),(0,i._)(a,G.QUESTION_UPDATED,"Updated"),(0,i._)(a,G.QUESTION_DELET
1ED,"Deleted"),(0,i._)(a,G.QUESTION_VIEWED,"Viewed"),(0,i._)(a,G.QUESTION_CURATED,"Curated"),(0,i._)(a,G.QUESTION_FLAGGED,"Flagged"),(0,i._)(a,G.QUESTION_UPVOTED,"Upvoted"),(0,i._)(a,G.QUESTION_DOWNVOTED,"Downvoted"),(0,i._)(a,G.QUESTION_VOTE_REMOVED,"Vote removed for"),(0,i._)(a,G.QUESTION_FOLLOWED,"Followed"),(0,i._)(a,G.QUESTION_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.QUESTION_CLOSED,"Closed"),(0,i._)(a,G.QUESTION_OPENED,"Opened"),(0,i._)(a,G.ARTICLE_CREATED,"Posted"),(0,i._)(a,G.ARTICLE_UPDATED,"Updated"),(0,i._)(a,G.ARTICLE_DELETED,"Deleted"),(0,i._)(a,G.ARTICLE_VIEWED,"Viewed"),(0,i._)(a,G.ARTICLE_CURATED,"Curated"),(0,i._)(a,G.ARTICLE_FLAGGED,"Flagged"),(0,i._)(a,G.ARTICLE_UPVOTED,"Upvoted"),(0,i._)(a,G.ARTICLE_DOWNVOTED,"Downvoted"),(0,i._)(a,G.ARTICLE_VOTE_REMOVED,"Vote removed for"),(0,i._)(a,G.ARTICLE_FOLLOWED,"Followed"),(0,i._)(a,G.ARTICLE_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.AWS_ARTICLE_CREATED,"Posted"),(0,i._)(a,G.AWS_ARTICLE_UPDATED,"Updated"),(0,i._)(a,G.AWS_ARTICLE_DELETED,"Deleted"),(0,i._)(a,G.AWS_ARTICLE_VIEWED,"Viewed"),(0,i._)(a,G.AWS_ARTICLE_UPVOTED,"Upvoted"),(0,i._)(a,G.AWS_ARTICLE_DOWNVOTED,"Downvoted"),(0,i._)(a,G.AWS_ARTICLE_VOTE_REMOVED,"Vote removed for"),(0,i._)(a,G.AWS_ARTICLE_FOLLOWED,"Followed"),(0,i._)(a,G.AWS_ARTICLE_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_CREATED,"Posted"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_UPDATED,"Updated"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_DELETED,"Deleted"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_VIEWED,"Viewed"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_UPVOTED,"Upvoted"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_DOWNVOTED,"Downvoted"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_VOTE_REMOVED,"Vote removed for"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_FOLLOWED,"Followed"),(0,i._)(a,G.KNOWLEDGE_PLAYLIST_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.COMMENT_CREATED,"Posted"),(0,i._)(a,G.COMMENT_UPDATED,"Updated"),(0,i._)(a,G.COMMENT_DELETED,"Deleted"),(0,i._)(a,G.COMMENT_FLAGGED,"Flagged"),(0,i._)(a,G.TAG_FOLLOWED,"Followed"),(0,i._)(a,G.TAG_UNFOLLOWED,"Unfollowed"),(0,i._)(a,G.ADD_BLOCKED_KEYWORD,"Added blocked terminology"),(0,i._)(a,G.REMOVE_BLOCKED_KEYWORD,"Removed blocked terminology"),(0,i._)(a,G.ADD_CUSTOM_TAG,"Added custom tag"),(0,i._)(a,G.REMOVE_CUSTOM_TAG,"Removed custom tag"),(0,i._)(a,G.ADD_USER_ROLE,"Added user role"),(0,i._)(a,G.REMOVE_USER_ROLE,"Removed user role"),(0,i._)(a,G.ADD_PLAYLIST_USE_CASE,"Added use case"),(0,i._)(a,G.REMOVE_PLAYLIST_USE_CASE,"Removed use case"),(0,i._)(a,G.UPDATE_WEB_SITE_PREFERENCES,"Updated website preferences"),a);(0,F.MH)()&&(J[G.USER_EMAIL_ADDED]="User email added",J[G.USER_EMAIL_REMOVED]="User email removed",J[G.USER_EMAIL_UPDATED]="User email updated");var $=function(e,t,n,a){var o,i,s,_,c,D,A,L,O,R,I,U,N,p,v,W,P,w,x,g,b,k,j,Q,q,Z,$,X,ee,et,en,ea="activityItem-".concat(t),eo=function(){return(0,l.jsx)("span",{id:ea,children:T()(e.eventDateTime).local().format("LLL")})},ei=function(a,o){return(0,l.jsx)(d.Z.Item,{label:eo(),children:(0,l.jsx)(u.Z,{className:B().collapse,ghost:!0,collapsible:"icon",expandIcon:function(e){return(0,l.jsx)(z,(0,E._)((0,r._)({},e),{ariaLabelledBy:ea}))},children:(0,l.jsx)(u.Z.Panel,{header:(0,l.jsxs)("span",{"aria-labelledby":ea,children:[n(S()(J,e.eventType))," ",a]}),children:"string"==typeof o?(0,l.jsx)("div",{className:"custom-md-style",children:(0,l.jsx)(y.U,{rehypePlugins:[[K.Z,{rel:["nofollow","noopener","noreferrer"],target:"_blank"}],[Y.Z]],children:o})}):o},"1")})},t)},er=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,l.jsx)(d.Z.Item,{label:eo(),children:(0,l.jsxs)("div",{className:B().nonCollapsibleItem,children:[n(S()(J,e.eventType))," ",a]})},t)},eE=function(e){var t,n=e.questionId,a=e.articleId,o=e.knowledgePlaylistId,i=e.resourceId,r=e.localizedName;if(!n&&!a&&!o&&i)return r;t=n?"".concat(M.VT.viewQuestion(n,"").asPath):a?"".concat(M.VT.viewArticle(a,"").asPath):"".concat(M.VT.viewPlaylist(o,"").asPath);var E=n||a||o||i;return i&&(t+="#".concat(i),E+="#".concat(i)),(0,l.jsx)("a",{id:E,href:t,target:"_blank",rel:"noopener noreferrer",onClick:function(e){return e.stopPropagation()},"aria-labelledby":"".concat(E," ").concat(ea),children:r})},es=function(t){var n=m()(e.resource,["userId","displayName"]),a=n.userId,o=n.displayName,i="".concat(M.VT.user(t||a));return(0,l.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",onClick:function(e){return e.stopPropagation()},children:o||t})},e_=function(){if(!a)return null;var t=m()(e.user,["userId","displayName"]),o=t.userId,i=t.displayName,r="".concat(M.VT.user(o)),E=(0,l.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:function(e){return e.stopPropagation()},children:i});return(0,l.jsxs)("span",{children:[n("by")," ",E]})};switch(e.eventType){case G.ANSWER_ACCEPTED:case G.ANSWER_UNACCEPTED:case G.ANSWER_CREATED:case G.ANSWER_DELETED:case G.ANSWER_UPDATED:case G.ANSWER_DOWNVOTED:case G.ANSWER_UPVOTED:case G.ANSWER_FLAGGED:case G.ANSWER_REVIEWED:case G.ANSWER_VIEWED:case G.ANSWER_VOTE_REMOVED:return s=e.resource,_=!a&&eE({questionId:s.questionId,resourceId:s.answerId,localizedName:n("answer")}),c=(0,l.jsxs)(l.Fragment,{children:[V()(s)?n("answer"):_," ",e_()]}),V()(s.body)?er(c):ei(c,s.body);case G.USER_LOGGED_IN:case G.USER_LOGGED_OUT:return er();case G.USER_BLOCKED:case G.USER_UNBLOCKED:return ei(null,(D=e.reason,A=e.userBlockedBy,L=e.resourceId,O=e.eventType===G.USER_BLOCKED?"Blocked":"Unblocked",(0,l.jsxs)("div",{children:[L&&(0,l.jsxs)("div",{children:[n("".concat(O," user:"))," ",es(L)]}),A&&(0,l.jsxs)("div",{children:[n("".concat(O," by:"))," ",es(A)]}),D&&(0,l.jsx)("div",{children:n("Reason: {{reason}}",{reason:D})})]})));case G.USER_CREATED:case G.USER_UPDATED:case G.USER_PROFILE_COMPLETED:case G.USER_THROTTLED:case G.USER_FORUMS_IMPORTED:case G.USER_REPUTATION_TIER_ACHIEVED:return er();case G.USER_FOLLOWED:case G.USER_UNFOLLOWED:return er((0,l.jsxs)("span",{children:[n("user")," ",es()]}));case G.USER_AWARD_GRANTED:case G.USER_AWARD_REMOVED:return e.points?ei(null,(R=e.awards,I=e.points,U=C()(R,function(e){return(0,l.jsx)("div",{children:e.points>0?n("Granted award: {{award}} points: {{points}}",{award:e.awardId,points:e.points,keySeparator:">",nsSeparator:"|"}):n("Removed award: {{award}} points: {{points}}",{award:e.awardId,points:-e.points,keySeparator:">",nsSeparator:"|"})},e.awardId)}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{children:I>0?n("Total {{points}} points awarded",{points:I}):n("Total {{points}} points removed",{points:-I})}),U]}))):null;case G.USER_BADGE_GRANTED:case G.USER_BADGE_REMOVED:return ei(null,(N=e.badges,C()(N,function(e){return(0,l.jsx)("div",{children:n("Granted badge:{{badge}} count:{{count}}",{badge:e.badgeId,count:e.count,keySeparator:">",nsSeparator:"|"})},e.badgeId)})));case G.QUESTION_CREATED:case G.QUESTION_UPDATED:case G.QUESTION_DELET
1ED:case G.QUESTION_VIEWED:case G.QUESTION_CURATED:case G.QUESTION_FLAGGED:case G.QUESTION_UPVOTED:case G.QUESTION_DOWNVOTED:case G.QUESTION_VOTE_REMOVED:case G.QUESTION_FOLLOWED:case G.QUESTION_UNFOLLOWED:case G.QUESTION_CLOSED:case G.QUESTION_OPENED:return function(){var t=e.resource,o=t.body,i=!!t.title,r=!a&&eE({questionId:t.questionId,localizedName:i?t.title:n("question")}),E=i?(0,l.jsxs)(l.Fragment,{children:[n("question")," ",r," ",e_()]}):(0,l.jsxs)(l.Fragment,{children:[r," ",e_()]});if(e.eventType===G.QUESTION_CLOSED){o=(0,F.s)(t.closeType);var s=t.message;s&&(o="".concat(o," - ").concat(s))}return V()(o)?er(E):ei(E,o)}();case G.ARTICLE_CREATED:case G.ARTICLE_UPDATED:case G.ARTICLE_DELETED:case G.ARTICLE_VIEWED:case G.ARTICLE_CURATED:case G.ARTICLE_FLAGGED:case G.ARTICLE_UPVOTED:case G.ARTICLE_DOWNVOTED:case G.ARTICLE_VOTE_REMOVED:case G.ARTICLE_FOLLOWED:case G.ARTICLE_UNFOLLOWED:return v=!!(p=e.resource).title,W=!a&&eE({articleId:p.articleId,localizedName:v?p.title:n("article")}),P=v?(0,l.jsxs)(l.Fragment,{children:[n("article")," ",W," ",e_()]}):(0,l.jsxs)(l.Fragment,{children:[W," ",e_()]}),V()(p.body)?er(P):ei(P,p.body);case G.AWS_ARTICLE_CREATED:case G.AWS_ARTICLE_UPDATED:case G.AWS_ARTICLE_DELETED:case G.AWS_ARTICLE_VIEWED:case G.AWS_ARTICLE_UPVOTED:case G.AWS_ARTICLE_DOWNVOTED:case G.AWS_ARTICLE_VOTE_REMOVED:case G.AWS_ARTICLE_FOLLOWED:case G.AWS_ARTICLE_UNFOLLOWED:return w=e.resource,x=(0,l.jsxs)(l.Fragment,{children:[n("Knowledge Center content")," ",e_()]}),V()(w.body)?er(x):ei(x,w.body);case G.KNOWLEDGE_PLAYLIST_CREATED:case G.KNOWLEDGE_PLAYLIST_UPDATED:case G.KNOWLEDGE_PLAYLIST_DELETED:case G.KNOWLEDGE_PLAYLIST_VIEWED:case G.KNOWLEDGE_PLAYLIST_UPVOTED:case G.KNOWLEDGE_PLAYLIST_DOWNVOTED:case G.KNOWLEDGE_PLAYLIST_VOTE_REMOVED:case G.KNOWLEDGE_PLAYLIST_FOLLOWED:case G.KNOWLEDGE_PLAYLIST_UNFOLLOWED:return b=!!(g=e.resource).title,k=!a&&eE({knowledgePlaylistId:g.knowledgePlaylistId,localizedName:b?g.title:n("Selection")}),j=b?(0,l.jsxs)(l.Fragment,{children:[n("Selection")," ",k," ",e_()]}):(0,l.jsxs)(l.Fragment,{children:[k," ",e_()]}),Q=h()(g.content)?JSON.parse(g.content):g.content,V()(Q)?er(j):ei(j,(0,l.jsx)(H.c,{playlistId:g.knowledgePlaylistId,content:Q}));case G.COMMENT_CREATED:case G.COMMENT_UPDATED:case G.COMMENT_DELETED:case G.COMMENT_FLAGGED:return q=e.resource,Z=!a&&eE({questionId:q.questionId,articleId:q.articleId,resourceId:q.commentId,localizedName:n("comment")}),$=(0,l.jsxs)(l.Fragment,{children:[V()(q)?n("comment"):Z," ",e_()]}),V()(q.body)?er($):ei($,q.body);case G.TAG_FOLLOWED:case G.TAG_UNFOLLOWED:return X=e.resource,i=("TAG"===(o=e.resource).status?M.VT.viewTag:M.VT.viewTopic)(o.tagId,o.name).asPath,ee=(0,l.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:o.name}),er((0,l.jsxs)(l.Fragment,{children:["TAG"===X.status?n("tag"):n("topic")," ",ee]}));case G.ADD_BLOCKED_KEYWORD:case G.REMOVE_BLOCKED_KEYWORD:return er(e.resource.keyword);case G.ADD_CUSTOM_TAG:case G.REMOVE_CUSTOM_TAG:case G.ADD_PLAYLIST_USE_CASE:case G.REMOVE_PLAYLIST_USE_CASE:return er(e.resource.name);case G.ADD_USER_ROLE:case G.REMOVE_USER_ROLE:return et=e.resource,er("".concat(et.role,", user: ").concat(et.userId," "));case G.UPDATE_WEB_SITE_PREFERENCES:return en=e.resource,er(f()(en,function(e,t,n){return"title"===n||"description"===n?"".concat(e,", ").concat(n,": ").concat(t.en):"".concat(e,", ").concat(n,": ").concat(t)},""));default:return null}},X=function(e){var t,n=e.loadMore,a=e.id,i=e.isResourceActivity,u=void 0!==i&&i,D=e.withModal,T=void 0!==D&&D,A=(0,b.$G)().t,L=(0,s._)((0,x.useState)([]),2),O=L[0],I=L[1],S=(0,s._)((0,x.useState)(null),2),U=S[0],N=S[1],m=(0,s._)((0,x.useState)(!1),2),p=m[0],W=m[1],f=(0,c.c)(a),P=(t=(0,o._)(function(){var e;return(0,_.Jh)(this,function(t){switch(t.label){case 0:return[4,f({callerName:"loadData",showInfoMessages:!1,asyncCallBack:function(){return n(U)}})];case 1:return N((e=t.sent()).nextToken),I(function(t){return R()(t,e.activities)}),[2]}})}),function(){return t.apply(this,arguments)});return((0,x.useEffect)(function(){var e;(e=(0,o._)(function(){return(0,_.Jh)(this,function(e){switch(e.label){case 0:return e.trys.push([0,,2,3]),W(!0),[4,P()];case 1:return e.sent(),[3,3];case 2:return W(!1),[7];case 3:return[2]}})}),function(){return e.apply(this,arguments)})()},[]),p)?(0,l.jsx)(k.$,{}):(0,l.jsx)("div",{className:(0,F.WM)(B().container,T?B().withModal:null),id:a,children:(0,l.jsx)(g.Z,(0,E._)((0,r._)({dataLength:v()(O),next:P,hasMore:!!U,loader:(0,l.jsx)(k.$,{})},T?{scrollableTarget:a}:{}),{children:(0,l.jsx)(d.Z,{mode:"left",children:C()(O,function(e,t){return $(e,"".concat(t),A,u)})})}))})}},63993:function(e,t,n){"use strict";n.d(t,{B:function(){return R}});var a=n(72253),o=n(14932),i=n(91309),r=n(85893),E=n(79115),s=n(41609),_=n.n(s),l=n(84238),c=n.n(l),d=n(12571),u=n.n(d),D=n(67294),T=n(28276),A=n(66437),L=n(49101),O=n.n(L),R=function(e){var t=e.items,n=e.initialItemsToShow,s=void 0===n?10:n,l=e.loadMoreValue,d=void 0===l?5:l,L=e.renderItem,R=e.renderButton,I=e.title,S=e.itemDescription,U=e.publishMetricOnLoadMore,C=e.showMoreButtonStyle,N=(0,i._)((0,D.useState)(u()(t,0,s)),2),m=N[0],p=N[1],v=(0,D.useCallback)(function(e){return Math.min(d,c()(t)-c()(e))},[t,d]),W=(0,i._)((0,D.useState)(-1),2),f=W[0],P=W[1],h=(0,i._)((0,D.useState)(v(m)),2),w=h[0],V=h[1],x=(0,T.$G)().t,g=void 0===S?{singular:"item",plural:"items"}:S;g||(g={singular:x("item"),plural:x("items")}),(0,D.useEffect)(function(){var e=u()(t,0,s);p(e),V(v(e))},[s,t,v]);var y=function(){P(c()(m)-1);var e=t.slice(0,c()(m)+w);p(e),V(Math.min(d,c()(t)-c()(e))),U&&U(t,e)};return(0,r.jsxs)(r.Fragment,{children:["string"==typeof I?(0,r.jsx)("h2",{className:O().text,children:I}):I,!_()(t)&&(0,r.jsx)(E.ZP,{className:O().list,itemLayout:"horizontal",dataSource:m,renderItem:function(e,t){return L((0,o._)((0,a._)({},e),{autoFocus:-1!=f&&f===t-1}),t)}}),w>0?R?R(w,y):(0,r.jsx)(A.z,{variant:"secondary",size:"small",state:"default",onClick:y,className:(void 0===C?"":C)||O().showMore,children:x("Show {{count}} more {{descriptionText}}",{count:w,descriptionText:1===w?g.singular:g.plural})}):null]})}},92173:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var a=n(72253),o=n(14932),i=n(54117),r=n(95368),E=n.n(r);function s(e){i.Z.confirm((0,o._)((0,a._)({},e),{okButtonProps:{"data-test":"confirm-modal-btn",size:"small",className:[E().primary,E().default,E().small].join(" ")},cancelButtonProps:{size:"small",className:[E().secondary,E().default,E().small].join(" ")}}))}},23751:function(e,t,n){"use strict";n.d(t,{c:function(){return f}});var a=n(85893),o=n(35161),i=n.n(o),r=n(28276),E=n(72253),s=n(67804),_=n.n(s),l=n(60247),c=n(69076),d=n(11163),u=n(79259),D=n(25675),T=n.n(D),A=n(45007),L=function(e){var t=e.playlistId,n=e.link,o=e.title,i=e.description,E=e.image,s=e.index,D=e.sectionIndex;(0,r.$G)().t;var L=(0,d.useRouter)();(0,A.oR)();var O=new u.Y("PlaylistLink"),R=!!(0,l.qS)(n),I=function(e){return n&&!R?(0,a.jsx)("a",{className:_().cardLink,onClick:U,href:n,target:"_blank",rel:"noopener noreferrer",children:e}):e},S=R?(0,a.jsx)(c.n,{href:n,title:o}):(0,a.jsx)(T(),{src:E||"/static/images/Playlist_Default.png",alt:"",unoptimized:!0,fill:!0,sizes:"100vw"}),U=function(e){R||O.publishMetric({playlistId:t,cardType:"Link"},"Clicks","Count",1,{title:o,navigatingTo:n,navigatingFrom:L.asPath},null,!0),e.stopPropagation()};return(0,a.jsxs)("div",{className:(0,l.WM)(_().card),"data-test":"card-playlist-".concat(D,"-").concat(s),children:[(0,a.jsx)("div",{className:(0,l.WM)(_().imageContainer,_().imageDivider,_().fill),"aria-hidden":!0,
1children:I(S)}),(0,a.jsx)("div",{className:_().headerContainer,children:(0,a.jsx)("div",{className:_().titleContainer,children:(0,a.jsx)("h3",{className:_().title,children:I(o)})})}),(0,a.jsx)("div",{className:_().contentContainer,children:(0,a.jsx)("div",{className:_().descriptionBody,children:I(i)})})]})},O=n(59747),R=n(65970),I=n(87573),S=n(34545),U=n.n(S),C=n(24025),N=n(89347),m=function(e){var t=e.body,n=e.index,o=e.sectionIndex;return(0,r.$G)().t,(0,a.jsx)("div",{className:(0,l.WM)("custom-md-style",U().textGroup),"data-test":"playlist-text-assert-".concat(o,"-").concat(n),children:(0,a.jsx)(O.U,{components:N.r,remarkPlugins:[(0,R.o)({autoLink:!(0,l.K9)()})],rehypePlugins:[[I.Z,{rel:["nofollow","noopener","noreferrer"],target:"_blank"}],[C.Z]],children:t})})},p=n(410),v=n.n(p),W=function(e){var t,n,o=e.playlistId,s=e.sectionIndex,_=e.section,l=e.isLastSection;(0,r.$G)().t;var c=function(e){return(0,a.jsx)("div",{className:v().linkGrid,children:i()(e,function(e,t){return(0,a.jsx)("div",{className:v().col,children:(0,a.jsx)(L,(0,E._)({playlistId:o,index:t,sectionIndex:s},e))})})})};return(0,a.jsxs)(a.Fragment,{children:[(null==_?void 0:_.title)&&(0,a.jsx)("h2",{className:v().sectionTitle,children:(null==_?void 0:_.title)||""}),(null==_?void 0:_.description)&&(0,a.jsx)("div",{className:v().sectionDescription,children:_.description||""}),(t=[],n=[],null==_||_.assets.forEach(function(e,o){"link"===e.contentType?n.push(e):"markdown"===e.contentType&&(n.length>0&&(t.push(c(n)),n=[]),t.push((0,a.jsx)(m,(0,E._)({index:o,sectionIndex:s},e))))}),n.length>0&&(t.push(c(n)),n=[]),t),!l&&(0,a.jsx)("hr",{className:v().sectionDivider})]})},f=function(e){var t=e.playlistId,n=e.content;return(0,r.$G)().t,(0,a.jsx)("div",{children:i()(null==n?void 0:n.sections,function(e,o){return(0,a.jsx)(W,{playlistId:t,section:e,sectionIndex:o,isLastSection:n.sections.length===o+1})})})}},69076:function(e,t,n){"use strict";n.d(t,{n:function(){return O}});var a=n(11010),o=n(91309),i=n(97582),r=n(85893),E=n(67294),s=n(3191),_=n(25675),l=n.n(_),c=n(60247),d=n(35540),u=n.n(d),D=n(79259),T=n(7538),A=n(69792),L=new D.Y("Video"),O=function(e){var t,n,_=e.href,d=e.title,D=(0,o._)((0,E.useState)(!1),2),O=D[0],R=D[1],I=(0,o._)((0,E.useState)({videoId:null,videoTitle:null,videoUrl:null}),2),S=I[0],U=I[1],C=(0,E.useRef)(null);if(!_)return null;var N=function(e,t){L.publishMetric({videoId:e},"Clicks","Count",1,{title:t},null,!0)},m={Play:"Play",Pause:"Pause",Complete:"Complete100Pct"},p=(t=(0,a._)(function(e){var t,n,a,o,r;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(!(n=null==C?void 0:null===(t=C.current)||void 0===t?void 0:t.getInternalPlayer())||!S.videoUrl)return[2];return[4,n.getCurrentTime()];case 1:return a=i.sent(),[4,n.getDuration()];case 2:return o=i.sent(),r=new CustomEvent("custom_aws_video",{detail:{name:e,playerName:"react-youtube",videoUrl:S.videoUrl,videoTitle:S.videoTitle,time:Math.round(a),duration:Math.round(o)}}),document.dispatchEvent(r),[2]}})}),function(e){return t.apply(this,arguments)}),v=(n=(0,a._)(function(){var e,t,n;return(0,i.Jh)(this,function(a){switch(a.label){case 0:if(!(n=!!(t=null==C?void 0:null===(e=C.current)||void 0===e?void 0:e.getInternalPlayer())))return[3,2];return[4,t.getPlayerState()];case 1:n=1===a.sent(),a.label=2;case 2:return n&&p(m.Pause),R(!1),U({videoId:null,videoTitle:null,videoUrl:null}),[2]}})}),function(){return n.apply(this,arguments)}),W=(0,c.qS)(_),f="Watch now";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:u().imageContainer,children:(0,r.jsx)("a",{href:"#",onClick:function(){return N(W,f),R(!0),U({videoId:W,videoTitle:f,videoUrl:_}),!1},children:(0,r.jsx)(l(),{src:"https://i.ytimg.com/vi/".concat(W,"/mqdefault.jpg"),alt:f,unoptimized:!0,fill:!0,sizes:"100vw"})},W)}),(0,r.jsx)("div",{className:u().playIconContainer,children:(0,r.jsx)(A.Z,{className:u().playIcon})}),(0,r.jsxs)(T.Z,{visible:O,hide:v,className:u().modal,ariaLabel:d,children:[(0,r.jsx)(T.Z.Header,{children:d}),(0,r.jsx)(T.Z.Body,{children:S.videoId&&(0,r.jsx)(s.Z,{ref:C,videoId:S.videoId,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1}},className:u().youtubeContainer,iframeClassName:u().youtubeIFrame,title:S.videoTitle,onPlay:function(){return p(m.Play)},onPause:function(){return p(m.Pause)},onEnd:function(){return p(m.Complete)}})})]})]})}}
1,77225:function(e,t,n){"use strict";n.d(t,{U:function(){return _}});var a,o=n(11010),i=n(97582),r=n(27361),E=n.n(r),s=n(35402),_=(a=(0,o._)(function(e,t){var n,a,o,r,_;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return n=e.ctx,a=e.token,o=(0,s.s8)({serviceName:s.EJ.WebClient,ctx:n,token:a}),r="/listResourceActivity",[4,o.post(r,t)];case 1:return _=i.sent().data,[2,{activities:E()(_,"data.activity",[]),nextToken:E()(_,"data.nextToken")}]}})}),function(e,t){return a.apply(this,arguments)})},97472:function(e){e.exports={collapse:"ActivityTimeline_collapse__j2Xnr",nonCollapsibleItem:"ActivityTimeline_nonCollapsibleItem__kcWtI",container:"ActivityTimeline_container__VRAos",withModal:"ActivityTimeline_withModal__5ldw8"}},23650:function(e){e.exports={iconContainer:"AntCollapseExpandIcon_iconContainer__axNmO",icon:"AntCollapseExpandIcon_icon__vZn_S",expanded:"AntCollapseExpandIcon_expanded__nBy3w"}},49101:function(e){e.exports={list:"ListView_list__vpi0q",text:"ListView_text__nvozJ",showMore:"ListView_showMore__2_d8I"}},67804:function(e){e.exports={card:"LinkAsset_card__IiN9Y",fadeIn:"LinkAsset_fadeIn__7iuL7",headerContainer:"LinkAsset_headerContainer__oUqMK",contentContainer:"LinkAsset_contentContainer__RORmi",imageContainer:"LinkAsset_imageContainer__pxRRv",imageDivider:"LinkAsset_imageDivider__60yiO",titleContainer:"LinkAsset_titleContainer__bbSkk",title:"LinkAsset_title__NPS0W",cardLink:"LinkAsset_cardLink__Im1IL",descriptionBody:"LinkAsset_descriptionBody__ixvkq",fill:"LinkAsset_fill__FKPn9",removeButton:"LinkAsset_removeButton__B_qby"}},410:function(e){e.exports={linkGrid:"Section_linkGrid__bTsOo",col:"Section_col__lEOGp",sectionButton:"Section_sectionButton__uJgM_",sectionButtonText:"Section_sectionButtonText__Ig_mL",sectionButtonImage:"Section_sectionButtonImage__JxFrY",sectionDivider:"Section_sectionDivider__afTIa",linkGroup:"Section_linkGroup__l4Ga6",sectionHat:"Section_sectionHat__dXuiB",sectionControls:"Section_sectionControls__hu0UL",sectionTitle:"Section_sectionTitle__0TKfM",sectionDescription:"Section_sectionDescription__hwhW8",sectionInputs:"Section_sectionInputs__9HMjm",buttonRow:"Section_buttonRow__BxGgG"}},34545:function(e){e.exports={label:"TextAsset_label__qucP3",textGroup:"TextAsset_textGroup__L4fQO",removeButton:"TextAsset_removeButton__F6NhB",bodyContainer:"TextAsset_bodyContainer__TVmbo"}},35540:function(e){e.exports={playIconContainer:"Video_playIconContainer__2nj4U",imageContainer:"Video_imageContainer__DZUdX",modal:"Video_modal__mZm5S",youtubeContainer:"Video_youtubeContainer__P8URF",youtubeIFrame:"Video_youtubeIFrame__uiBbu",videoTitle:"Video_videoTitle__aoZSE",playIcon:"Video_playIcon__qoRUB"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.