').replace(/\s*<\/p>/g,""),children:JSON.parse((null===(r=t.querySelector("children"))||void 0===r?void 0:r.innerHTML)||"{}")})})),zb.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return r.sent(),[2,this.data]}}))}))},e}(),Hb=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e,t=this.RSS.getArgs().triggerButton.label;e=t?"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t").concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"):"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"),this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('"));var r=document.createElement("div");r.setAttribute("id",this.getFlyoutID()),r.setAttribute("class",e.join(" ")),r.setAttribute("role","dialog"),r.innerHTML='\n\t\t
\n\n\t\t\n\t\t'),document.body.appendChild(r)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var r=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(r){var n=r.querySelector(".new-notification-count");if(t){var a=t>9?"9+":t;n.innerHTML=a.toString()}else n.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r="");var n=["whats-new-rss-flyout-inner-content-item"];return t&&n.push("rss-new-post"),r&&n.push(r),'\n\t\t\n\t\t\t').concat(t?'New ✨':"","\n\t\t\t").concat(e,"\n\t\t
\n\t\t")},e.prototype.createExcerpt=function(e,t,r){var n=r.wordLimit,a=r.moreSymbol,o=r.readMore;if(!n)return e;var l=e.replace(/<[^>]*>/g,"").split(/\s+/),s=l.slice(0,n).join(" ");return a&&(s+=a),n>l.length?e:t&&(null==o?void 0:o.label)?"".concat(s,' ').concat(o.label,"
"):"".concat(s,"
")},e.prototype.listChildrenPosts=function(e){var t=this,r=Object.values(e);if(!r.length)return"";var n=document.createElement("details"),a=document.createElement("summary"),o=document.createElement("div");return r.forEach((function(e){var r=(new DOMParser).parseFromString(e.post_content,"text/html"),n=document.createElement("div");n.classList.add("sub-version-item"),n.innerHTML='\n\t\t\t\t\n\t\t\t\t').concat(r.documentElement.textContent,"
\n\t\t\t"),o.appendChild(n)})),a.innerHTML='See More
See Less
',n.appendChild(a),n.appendChild(o),o.classList.add("sub-version-items-wrapper"),n.classList.add("whats-new-rss-sub-version-details"),n.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,r=e.getTime(),n=t.getTime()-r,a=36e5,o=24*a,l=7*o,s=30*o;if(n<6e4)return"Just now";if(n