PageSourceSearch

https://www.allbusiness.com/static/dist/social-ux/6442.ec8a330f66e2b99d1ce9.bundle.mjs

js allbusiness.com collected 2026-09-24 08:30:17 UTC 20,791 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[6442],{9344:function(e,t,n){function o(){return Promise.all([n.e(1466),n.e(1742)]).then(n.bind(n,1742)).then((e=>e.default))}function r(e){return Promise.all([n.e(1466),n.e(1742)]).then(n.bind(n,1742)).then((t=>t.default(e||{})))}n.d(t,{A:function(){return r},C:function(){return o}})},1759:function(e,t,n){const o=(0,n(3964).A)(((e,t)=>{if("object"==typeof t)return(Array.isArray(e)?e:[e]).reduce(((e,t)=>e&&e[t]?e[t]:void 0),t)}));t.A=o},590:function(e,t,n){n.d(t,{F:function(){return i},O:function(){return s}});var o=n(298);const r="/core/feeds/avatar/";function s(e){return(0,o.af)(r,"POST",{logo:e})}function i(e){const t=new FormData;return t.append("logo",e),(0,o.MF)(r,"POST",t)}},4764:function(e,t,n){n.d(t,{a:function(){return s},v:function(){return i}});var o=n(298);function r(e){return`/core/feeds/site/${e}`}function s(e){return(0,o.mQ)(r(e),"GET")}function i(e,t){return(0,o.af)(r(e),"PUT",{id:e,...t})}},6864:function(e,t,n){n.d(t,{U5:function(){return c},Vy:function(){return i},h1:function(){return s}});var o=n(298);function r(e){return e?`?voter_id=${e}`:""}function s(e,t,n){return(0,o.mQ)(function(e,t,n){return`/core/v1.1/sites/${e}/posts/${t}/poll${n=r(n)}`}(e,t,n))}function i(e,t,n,s){return(0,o.af)(function(e,t,n){return`/core/v1.1/sites/${e}/posts/${t}/poll/votes${n=r(n)}`}(e,t,n),"POST",s)}function c(e){return(0,o.mQ)(`/core/v1/polls/post:${e}:comments:reviews`)}},3195:function(e,t,n){function o(e,t){let n,o=null;return function(...r){let s=!0;null!=o&&(s=e.apply(null,o.concat(r))),o=r,s&&(n&&(n(),n=null),n=t.apply(null,r))}}n.d(t,{A:function(){return o}})},1592:function(e,t,n){n.d(t,{A:function(){return s}});var o=n(6382);const r=(0,n(3964).A)((function(e,t,n,o,r){return o().then((t=>t(e))).then((e=>e(t,n,r)))}));function s(e,t,n,s){const i=e in window.RM_OVERRIDES?window.RM_OVERRIDES[e]:null,c=i||s;return(0,o.A)().then((e=>{const o=r(e,t,n),a=i?()=>o(s,null):null;return o(c,a).then((t=>[e,t]))}))}},4868:function(e,t,n){n.d(t,{U:function(){return r}});var o=n(3964);const r=(0,o.A)(((e,t,n,o,r)=>{n.classList.add("loaded","rm-preact");const s=e.preact.h(t,o);return e.preact.render(s,n,r)}));t.A=(0,o.A)((function(e,t,n,o){return r(e,t,n,o,null)}))},1443:function(e,t,n){n.d(t,{p:function(){return r},x:function(){return i}});var o=n(1759);function r(e,t,n=!0){const r=[];return Object.keys(t).forEach((i=>{const c=e[i],a=(0,o.A)("message")(t[i])||t[i];((0,o.A)("validation")(t[i])||s(n))(c)||r.push(a)})),r}const s=e=>t=>!(e&&!t||null==t),i=e=>e&&/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},6442:function(e,t,n){n.r(t),n.d(t,{default:function(){return Ne}});var o=n(3195),r=n(959),s=n(367),i=n(254),c=n(1592);const a=e=>{const t=u(e);document.body.appendChild(t);const n=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):"";l(t),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},u=e=>{const t=document.createElement("textarea");return t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",t},l=e=>{e.select(),document.execCommand("copy")};var d=n(48);const m=()=>n.e(1541).then(n.bind(n,1541)).then((e=>e.default));var f=n(3964),p=n(4868),h=n(9344);const g=(0,f.A)((function([e,t],n,o){(0,p.U)(e,t,n,o,n.children[0])})),C=()=>n.e(7490).then(n.bind(n,7490)).then((e=>e.default));function v(e,t,n,o){return(0,c.A)("NativeTalkCommentBox",e,{layoutStatus:t,showRating:n,editorLoader:h.A,Review:o},C)}const A=(0,f.A)((function([e,t],n,o,r,s){r&&(o.textContent=""),(0,p.A)(e,t,o,{comments:s,shouldDisable:!1,...n})})),k=()=>n.e(3871).then(n.bind(n,3871)).then((e=>e.default)),b=(0,f.A)((function([e,t],n,o){(0,p.A)(e,t,n,o)})),_=()=>n.e(7889).then(n.bind(n,7889)).then((e=>e.default));function I(e){return(0,c.A)("NativeTalkLoadMore",e,{},_)}const w=(0,f.A)((function([e,t],n,o){(0,p.A)(e,t,n,o)})),y=()=>n.e(8616).then(n.bind(n,8616)).then((e=>e.default));function L(e){return(0,c.A)("NativeTalkReorder",e,{},y)}const S=()=>n.e(520).then(n.bind(n,520)).then((e=>e.default));function R(e){return(0,c.A)("NativeTalkReview",e,{},S)}const $=(0,f.A)((function([e,t],n,o){n&&(n.classList.remove("hidden"),(0,p.A)(e,t,n,o))})),P=()=>n.e(9474).then(n.bind(n,9474)).then((e=>e.default));function T(e,t){return(0,c.A)("NativeTalkPostReview",e,{Review:t},P)}function O(e,t){e.children.length||e.appendChild(t.cloneNode(!0))}var x=n(1759),E=n(298),j=n(1443);const N={order:"oldest",limit:10,offset:0,mode:"public"},B=e=>{const{siteId:t,postId:n,messageId:o,order:r,offset:s,limit:i,excludedIds:c,mode:a}={...N,...e};let u=`order=${r}&limit=${i}&offset=${s}&mode=${a}`;
1return u+=c?`&excluded_ids=${c}`:"",`/core/v1/sites/${t}/talks/post:${n}:comments/messages${o?`/${o}/replies`:""}?${u}`};function U(e){const{siteId:t,postId:n,messageId:o}=e;return`/core/v1/sites/${t}/talks/post:${n}:comments/messages/${o}/reactions`}function M(e){const t=(0,j.p)(e,{siteId:"missing siteId",postId:"missing postId"});if(t.length>0)return Promise.reject(t);const n=B(e);return(0,E.mQ)(n).then((t=>{const n=e.limit||N.limit;return[t,{offset:(e.offset||0)+n,limit:n}]}))}function D(e,t,n,o){return(0,E.mQ)(function(e,t,n,o){return`/core/v1/sites/${e}/talks/post:${t}:comments?include=featured-messages,authors,reactions,replies,poll,bans&order=${n}&limit=${o}`}(e,t,n,o),"GET")}var q=n(6864),F=n(590),Q=n(4764),J=n(7611),V=n(9124);let z={featuredComments:[],forcedComments:[],topLevelComments:[],disabled:!1,review:{poll:{reactions:{rating:{stars:{count:0,total:0}}}},vote:{reactions:{rating:{stars:!1}}}}};function G(e,t){return e.reduce(((e,n)=>(e[n[t]]=n,e)),{})}function X({parents:e}){return e&&e.length?Array.isArray(e)?e:e.split(","):[]}function Z(e,t,n,o,r,s){const i=function(e,t){return t.forEach((t=>{t.author_id in e&&(e[t.author_id].isBanned=!0)})),e}(n,s),c=G(r,"message_id");return o.map((({author_id:n,...o})=>{const r=[...X(o),o.id].join(","),s=`${e}?messageid=${t}:${r}#comment-${o.id}`,a=encodeURIComponent(s),u=c[o.id]?c[o.id].reaction:null;return{...o,author_id:n,shareUrl:s,encodedUrl:a,reaction:u,replies:[],author:i[n]||o.author}}))}function K(e,{...t}){const n={[e.owner_id]:e};return Object.entries(t).reduce(((e,[t,o])=>(e[t]=function(e,t){return t.map((({author_id:t,...n})=>({...n,author_id:t,author:e[t]||n.author})))}(n,o),e)),{})}function H(e){const t=G(e,"id");let n=[];return e.forEach((e=>{if(t[e.id]!==e)return;const o=X(e);if(o.length){const n=t[o[0]];n&&n.replies.push(e)}else n.push(e)})),n}const W=(0,f.A)((function(e,t){const n=e.querySelector('script[type="rm-preact-state"]');n&&(n.textContent=JSON.stringify(t))}));function Y(e,t,n,o,r,s){return Z(t,e,G(n,"owner_id"),o,r,s)}function ee(e,t,{authors:n,messages:o,replies:r,reactions:s,bans:i}){const c=s||[],a=i||[];return H([...Y(e,t,n,o,c,a),...Y(e,t,n,r,c,a)])}function te(e,t,{authors:n,message:o,reactions:r,bans:s}){return Y(e,t,n,[o],r,s||[])}function ne(e,t,n){return n.map((n=>(n.replies.length&&(n.replies=ne(e,t,n.replies)),n.author_id===t?{...n,status:e}:{...n})))}function oe(e,t,n){return["featuredComments","forcedComments","topLevelComments"].reduce(((n,o)=>(n[o]=ne(e,t,n[o]),n)),{...n})}const re={onFeatureClick:J.A,onApproveClick:J.A,onRejectClick:J.A,onAuthorRate:J.A},se={onToggleBan:J.A},ie={onReplyClick:J.A,onPublishClick:J.A,onCommentBoxClick:J.A,onDislikeClick:J.A,onLikeClick:J.A,onNewAvatar:J.A};function ce(e,t,n){return M({...e,order:t,offset:n||0})}function ae(e,t){let n,o,r,s,i;return e.find(((e,c)=>{if(e.id===t)return n=e,r=c,!0;if(e.replies.length){const a=ae(e.replies,t);if(a)return s=!0,o=e,i=c,[n,r]=a,!0}}))?[n,r,s,o,i]:null}function ue(e,t,n,o,r,s){let i=e,c=n;if(o){const e=r.replies.slice(0,c),t=r.replies.slice(c+1);r.replies=[...e,i,...t],c=s,i={...r}}return[...t.slice(0,c),i,...t.slice(c+1)]}function le(e,t,n){return function(o,r,s,i){const c=r[s],a=ae(c,i);if(!a)return Promise.resolve(r);const[u]=a;return!n&&u.replies.length>=10?Promise.resolve(r):function(e,t,n){return function(e){const t=(0,j.p)(e,{messageId:"missing messageId"});return t.length>0?Promise.reject(t):M(e)}({...e,messageId:t,offset:n||0})}(o,i,u.replies.length).then((([n])=>function(e,t,{authors:n,replies:o,reactions:r,bans:s}){return Y(e,t,n,o,r||[],s||[])}(e,t,n))).then((e=>{!function(e,t){const[n,o,r,s]=e;if(r){const e=s.replies.slice(0,o),n=s.replies.slice(o);return s.replies=[...e,...t,...n],s}n.replies=[...n.replies,...t]}(a,e)})).then((()=>({...r,[s]:[...c]})))}}function de(e,t){return function(n,o,r,s){return ce(n,s,0).then((([{talk:n,...s}])=>{const i=ee(e,t,s);return[{...o,[r]:i},n.counts]}))}}function me(e,t){return function(n,o,r,s){const i=o[r];return ce(n,s,i.length).then((([{talk:n,...s}])=>{const c=ee(e,t,s),a=[...i,...c];return[{...o,[r]:a},n.counts]}))}}function fe(e,t,n){return function(o,r,s,i){const c=r[s],a=ae(c,i);if(!a)return Promise.resolve(r);const[u,...l]=a;let d;const m={...o,messageId:i};return d=u.reaction===n?function(e){const t=(0,j.p)(e,{siteId:"missing siteId",postId:"missing postId",messageId:"missing messageId"});return t.length>0?Promise.reject(t):(0,E.mQ)(U(e),"DELETE")}(m):function(e,t){const n=(0,j.p)(e,{siteId:"missing siteId",postId:"missing postId",messageId:"missing messageId"});return n.length>0?Promise.reject(n):(0,E.af)(U(e),"POST",{...e,reaction:t})}(m,n),d.then((n=>te(e,t,n))).then((e=>{const t=ue(e[0],c,...l);return{...r,[s]:t}}))}}function pe(e){return function(t,n,o,r){const s=n[o],i=ae(s,r);if(!i)return Promise.resolve(n);const[c,...a]=i;return c.status===e?Promise.resolve(n):function(e,t){const n=(0,j.p)(e,{siteId:"missing siteId",messageId:"missing messageId"});return n.length>0?Promise.reject(n):(0,E.af)(function(e){const{siteId:t,messageId:n}=e;return`/core/v1/sites/${t}/talks/dashboard/messages?ids=${n}`}(e),"POST",{ids:e.messageId,changes:[{status:t}]})}({...t,messageId:r},e).then((()=>{const t=ue({...c,status:e},s,...a);return{...n,[o]:t}}))}}function he(e,t,n,o){const r=ae(e[t],n);if(!r)return Promise.resolve(e);const[s]=r,i=s.author;return(c=i.id,a=o,(0,E.af)(`/core/feeds/rating/${c}`,"PUT",{id:c,rating:a})).then((({rating:t})=>{const{topLevelComments:n,featuredComments:o,forcedComments:r}=e;return{...e,...K({...i,rating:t},{topLevelComments:n,featuredComments:o,forcedComments:r})}}));var c,a}function ge(e){return function(t,n,o,r){const s=ae(n[o],r);if(!s)return Promise.resolve(n);const[i]=s,c=i.author,a=c.owner_id;return new Promise((o=>{(0,V.A)(e,{title:"User Actions",body:`Are you sure you want to ${c.isBanned?"unban":"ban"} the user?`,negativeAction:{label:"Cancel",callback:()=>o(n)},possitiveAction:{label:"OK",callback:()=>function(e){let o;const r=c.isBanned;var s,i;r?(s=t.siteId,i=a,o=(0,E.af)(function(e,t){return`/core/v1/sites/${e}/talks/bans/${t}`}
1(s,i),"DELETE",{author_id:i})):o=function(e,t,n){return(0,E.af)(function(e){return`/core/v1/sites/${e}/talks/bans`}(e),"POST",{author_id:t,messages:"hide"})}(t.siteId,a),o.then((()=>{const{topLevelComments:e,featuredComments:t,forcedComments:o}=n;return{...n,...K({...c,isBanned:!r},{topLevelComments:e,featuredComments:t,forcedComments:o})}})).then((e=>r?e:oe("rejected",c.owner_id,e))).then(e)}(o)}})}))}}function Ce(e,t){return{onOrderChange:de(e,t),loadMoreComments:me(e,t),onShowMore:le(e,t,!0),onShowReplies:le(e,t,!1)}}function ve(e,t){return function(n,o,r,s){const i=o.topLevelComments;let c=o.review.vote,a=o.review.poll;const u="reactions"in c&&"rating"in c.reactions&&c.reactions.rating.stars,l=u?null:r;return function(e,t,n,o){const r={site_id:e,talk_id:t,text:n,prepend:!0,messageId:0};return o&&(r.payload={review_score:o}),(0,E.af)(`/core/v1/sites/${e}/talks/${t}/messages`,"POST",r)}(n.siteId,e,s,l).then((n=>te(e,t,n))).then((e=>{const t=[...e,...i];return!u&&r&&(c={reactions:{rating:{stars:r}}},a.reactions.rating.stars.count||(a={reactions:{rating:{stars:{count:1,total:r}}}})),{...o,review:{poll:a,vote:c},topLevelComments:t}})).catch((e=>{const{message:t}=e;return{...o,error:t}}))}}function Ae(e,t){return function(n,o,r,s){let i,c,a;return["topLevelComments","forcedComments","featuredComments"].find((e=>(c=e,a=o[c],i=ae(a,s),i))),i?function(e,t,n,o){const r={site_id:e,talk_id:t,text:n,messageId:o,prepend:!0};return(0,E.af)(function(e,t,n){return`/core/v1/sites/${e}/talks/${t}/messages/${n}/replies`}(e,t,o),"POST",r)}(n.siteId,e,r,s).then((n=>te(e,t,n))).then((e=>function(e,t){const[n,o,r,s]=e;if(r){const e=s.replies.slice(0,o),n=s.replies.slice(o+1),r=s.replies[o];return s.replies=[...e,r,...t,...n],s}return n.replies=[...t,...n.replies],n}(i,e))).then((e=>(e.counts.replies.public.total+=1,e.counts.replies.total+=1,{...o,[c]:a}))).catch((e=>{const{message:t}=e;return{...o,error:t}})):Promise.resolve(o)}}function ke(e,t,n){return function(o,r){return(0,F.F)(r).then((({logo:e,image_id:n})=>(0,Q.v)(t.id,{logo:e,storage:n}))).then((({display_logo:r})=>{let s,i;if(["topLevelComments","forcedComments","featuredComments"].find((e=>o[e].find((e=>{const n=e.author;n.id!==t.id||(s=n)})))),s){const e={...s,image:r},{topLevelComments:t,forcedComments:n,featuredComments:c}=o;i={...o,...K(e,{topLevelComments:t,forcedComments:n,featuredComments:c}),authors:o.authors||{}}}else i={...o,authors:o.authors||{},uploadingAvatar:!1};return n(i),e.refreshUserInfo(),i}))}}const be=(0,x.A)("id"),_e={max:null,min:0},Ie=(0,f.A)((function([e,t,n,o,r],s,i,c,a,u,l,d,m){const p=!d,h=p&&m.runnerSite.permissions.manage_post_comments,g=p&&m.runnerSite.permissions.manage_users,C=parseInt(s.dataset.limit,10),v={wordsLimit:s.dataset.wordsPerMessage?JSON.parse(s.dataset.wordsPerMessage):_e,expandReplies:"true"===(s.dataset.expand_replies||"").toLowerCase()},A=p?function(e,t){return function(n,o,r,s,i){const c=e?{onFeatureClick:pe("featured"),onApproveClick:pe("approved"),onRejectClick:pe("rejected"),onAuthorRate:he}:re,a=t?{onToggleBan:ge(r)}:se;return{...Ce(n,o),...c,...a,onCommentBoxClick:J.A,onReplyClick:Ae(n,o),onPublishClick:ve(n,o),onDislikeClick:fe(n,o,"dislike"),onLikeClick:fe(n,o,"like"),onNewAvatar:ke(r,s,i)}}}(h,g):function(e){return function(...t){const n=function(e,t){return{...Ce(e,t),...ie,...re,...se}}(...t);return function(e,t){const n=function(e){const t=e.querySelector("template");if(t)return t.content?t.content:t.children[0];{const e=document.createElement("div");return e.classList.add("login-signup-wrapper"),e}}(e);function o(e){O(e.target.closest(".comment--item-text").querySelector(".comment-login-wrp"),n)}function r(e){O(e.target.closest(".comment--item-text-input").parentNode.querySelector(".comment-login-wrp"),n)}return{...t,onCommentBoxClick:r,onPublishClick:r,onReplyClick:o,onDislikeClick:o,onLikeClick:o}}(e,n)}}(s),k=m?m.profileSite:{},b=A(u,l,i,k,W(s)),_=s.querySelector(".comment-header"),I=s.querySelector(".talk--load_more-wrp"),w=s.querySelector(".talk--messages__featured"),y=s.querySelector(".talk-linked-comment"),L=s.querySelector(".talk--messages__top_level"),S=s.querySelector(".talk__review"),R=s.querySelector(".add-comment"),$=Ee(n,S,p),P=Pe(I,o,b),T=Te(_,r,b),x=[t,b,p,h,g,k,v],E=xe(...x,w,"featuredComments"),j=xe(...x,y,"forcedComments"),N=xe(...x,L,"topLevelComments"),B=Re(R,e,p,k,b,v),U=(0,f.A)(((e,t,n,o)=>{const r={siteId:c,postId:a,limit:C,mode:h||g?"manage":"public",order:t,excludedIds:[...o.featuredComments||[],...o.forcedComments||[]].map(be)},s=U(!1),i=U(!1,t,n);
1[E,j,N].forEach((t=>t(e,r,o,i))),[P,T].forEach((e=>e(r,o,s,t,n))),B(r,o,i),$(o)})),q=function(e,t,n){let o={...z};const r=e.querySelector('script[type="rm-preact-state"]');if(!r)return o;try{return o={...o,...JSON.parse(r.textContent)},function(e,t,{authors:n,disabled:o,review:r,replies:s=[],...i}){function c(o){return Z(e,t,n,o,[],[])}return Object.entries(i).reduce(((e,[t,n])=>(e[t]=H([...c(n),...c(s)]),e)),{disabled:o,review:r})}(n,t,o)}catch(e){return console.error("Error parsing state",e),o}}(s,u,l),F=s.dataset.order||"best",Q="true"===(s.dataset.show_rating||"").toLowerCase();U(s.dataset.contentRendered,F,I&&I.classList.contains("has_load_more"),q),s.dataset.contentRendered=1,p&&!s.dataset.didLoggedInRefresh?(s.dataset.didLoggedInRefresh=1,function({forcedComments:e,...t},n,o,r,s,i,c,a,u,l){const d=[D(n,o,i,c).then((e=>{const t={...e,messages:e.messages.featured};return ee(r,s,t)})).then((t=>{const l=[...t,...e].map(be);return M({siteId:n,postId:o,order:i,limit:c,excludedIds:l,mode:a||u?"manage":"public"}).then((([e])=>ee(r,s,e))).then((n=>({topLevelComments:n,featuredComments:t,forcedComments:e})))})).catch((e=>{console.error(e);const{topLevelComments:n,featuredComments:o,forcedComments:r}=t;return{topLevelComments:n,featuredComments:o,forcedComments:r}}))];return!0===l?(d.unshift(we(t,o)),Promise.all(d).then((([e,n])=>({...t,review:e,...n})))):Promise.all(d).then((([e])=>({...t,...e})))}(q,c,a,u,l,F,C,h,g,Q).then(U(!1,s.dataset.order||"best",I&&I.classList.contains("has_load_more")))):s.dataset.didLoggedOutRefresh||(s.dataset.didLoggedOutRefresh=1,!0===Q&&function(e,t){return we(e,t).then((t=>({...e,review:t})))}(q,a).then(U(!1,s.dataset.order||"best",I&&I.classList.contains("has_load_more"))))}));function we(e,t){return(0,q.U5)(t).catch((t=>(console.error(t),e.review)))}const ye=(0,s.A)((function(e){return{...e,error:null}}),(function(e){return{...e,disabled:!0}}));function Le(e){return{...e,disabled:!1}}const Se=(0,f.A)((function(e,t,n,o){t({...e,uploadingAvatar:!0}),n(e,o).then(t)})),Re=(0,f.A)((function(e,t,n,o,{onPublishClick:r,onNewAvatar:i,...c},a,u,l,d){let m;m=n?{onPublishClick:(e,t)=>{d(ye(l)),r(u,l,e,t).then((0,s.A)(Le,d))},onNewAvatar:Se(l,d,i)}:{onPublishClick:r,onNewAvatar:i},g(t,e,{isLoggedIn:n,userInfo:o,error:l.error,disabled:l.disabled,uploadingAvatar:l.uploadingAvatar,vote:l.review.vote,settings:a,...c,...m})}));function $e(e,t,n,o){return n[e].length>t[e].length&&o.messages.public>n[e].length}const Pe=(0,f.A)((function(e,t,n,o,r,s,i,c){e&&b(t,e,{hasMore:c,loadMoreComments:function(){n.loadMoreComments(o,r,"topLevelComments",i).then((([e,t])=>{s(i,$e("topLevelComments",r,e,t),e)}))}})})),Te=(0,f.A)((function(e,t,n,o,r,s,i){function c(e){const t=e.target.value;a(t),n.onOrderChange(o,r,"topLevelComments",t).then((([e,n])=>{s(t,$e("topLevelComments",r,e,n),e)}))}function a(n){w(t,e,{selectedOrder:n,onOrderChange:c})}e&&a(i)})),Oe=(0,f.A)((function(e,t,n,o,r){return function(s){const i=s.target.closest("[data-message_id]").dataset.message_id;return r(e,t,n,i).then(o)}})),xe=(0,f.A)((function(e,{onShowMore:t,onShowReplies:n,onDislikeClick:o,onLikeClick:r,onFeatureClick:i,onApproveClick:c,onRejectClick:a,onAuthorRate:u,onToggleBan:l,onReplyClick:d,...m},f,p,h,g,C,v,k,b,_,I,w){if(!v)return;const y=Oe(_,I,k,w),L={...m,...f?{onDislikeClick:y(o),onLikeClick:y(r),onReplyClick:(e,t)=>{w(ye(I)),d(_,I,e,t).then((0,s.A)(Le,w))}}:{onDislikeClick:o,onLikeClick:r,onReplyClick:d},...p?{onFeatureClick:y(i),onApproveClick:y(c),onRejectClick:y(a),onAuthorRate:(...e)=>u(I,k,...e).then(w)}:{onFeatureClick:i,onApproveClick:c,onRejectClick:a,onAuthorRate:u,onToggleBan:l},...h?{onToggleBan:y(l)}:{onToggleBan:l},isLoggedIn:f,userInfo:g,canManage:p,canBan:h,settings:C,error:I.error,disabled:I.disabled,vote:I.review.vote,uploadingAvatar:I.uploadingAvatar,onShowMore:y(t),onShowReplies:y(n)};A(e,L,v,b,I[k])})),Ee=(0,f.A)((function(e,t,n,o){$(e,t,{poll:o.review.poll,isLoggedIn:n})}));function je(e,t,n,o){return e!=n||o.profileSite.id!==t.profileSite.id||o.profileSite.display_logo!==t.profileSite.display_logo}function Ne(e,t){const n=e.settings.site.id,u=e.settings.post.id,l=t.dataset.talk_id,f=decodeURIComponent(e.settings.post.shareUrl),p=function(e){return e.dataset.all_element_order?e.dataset.all_element_order.split(","):[]}(t),h=function(e){let t=[],n=[];const o={};return e.dataset.inactive_layout_attributes&&(t=e.dataset.inactive_layout_attributes.split(",")),e.dataset.active_layout_attributes&&(n=e.dataset.active_layout_attributes.split(",")),t.forEach((e=>{o[e]="inactive"}
1)),n.forEach((e=>{o[e]="active"})),o}(t),g="true"===(t.dataset.show_rating||"").toLowerCase();(function(e,t,n,o){return Promise.all([R(e),I(e),L(e)]).then((([u,l,f])=>{const p=u[1];return Promise.all([v(e,n,o,p),T(e,p)]).then((([o,u])=>{const h=o[1];return function(e,t,n,o,u){return(0,c.A)("NativeTalkComment",e,{formatDate:r.A,layoutOrder:t,layoutStatus:n,CommentBox:o,Review:u,copyToClipboard:(0,s.A)(a,(0,i.A)(d.A,"copied to clipboard","success"))},m)}(e,t,n,h,p).then((([t,n])=>function(e,t){return(0,c.A)("NativeTalkCommentList",e,{Comment:t},k)}(e,n).then((e=>[o,e,u,l,f]))))}))}))})(e,p,h,g).then((r=>{e.listenForUserInfo((0,o.A)(je,Ie(r,t,e,n,u,l,f)))}))}}}]);
2//# sourceMappingURL=6442.ec8a330f66e2b99d1ce9.bundle.mjs.map

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.