1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[19525,49016],{22410:(w,C,l)=>{var d,e;d=[l(91749),l(29930),l(49897)],e=function(A,g,_){const a={};let r,f=0,i=!1,h,s=0;a.init=function(o,u){const n=$("body");typeof o=="function"?(r=o,h=n):(r=u,h=o||n),f=$(window).scrollTop(),$(window).off("scroll",m).on("scroll",m),n.height()<=$(window).height()&&(!ajaxify.data.hasOwnProperty("pageCount")||ajaxify.data.pageCount>1)&&r(1)};function m(){s&&clearTimeout(s),s=setTimeout(function(){s=0,p()},60)}function p(){const o=utils.findBootstrapEnvironment(),u=(o==="xs"||o==="sm")&&$("html").hasClass("composing");if(i||u||app.flags._glance)return;const n=$(window).scrollTop(),t=$(window).height(),c=h.height()-t,v=h.offset()?h.offset().top:0,E=100*(n-v)/(c<=0?t:c),D=15,P=85,T=n>f?1:-1;(E<D&&n<f||E>P&&n>f||E<0&&T>0&&c<0)&&r(T),f=n}return a.loadMore=function(o,u,n){if(i)return;i=!0;const t={method:o,data:u};A.fire("action:infinitescroll.loadmore",t),(t.method.startsWith("/")?_.get:socket.emit)(t.method,t.data,function(v,E){if(v)return i=!1,g.error(v);n(E,function(){i=!1})})},a.loadMoreXhr=function(o,u){if(i)return;i=!0;const n=config.relative_path+"/api"+location.pathname.replace(new RegExp("^"+config.relative_path),""),t={url:n,data:o};A.fire("action:infinitescroll.loadmore.xhr",t),$.get(n,o,function(c){u(c,function(){i=!1})}).fail(function(c){i=!1,g.error(String(c.responseJSON||"[[error:no-connection]]"))})},a.removeExtra=function(o,u,n){let t=$();if(o.length<=n)return t;const c=o.length-n;if(u>0){const v=$(document).height(),E=$(window).scrollTop();t=o.slice(0,c).remove(),$(window).scrollTop(E+($(document).height()-v))}else t=o.slice(o.length-c).remove();return t},a}.apply(C,d),e!==void 0&&(w.exports=e)},63984:(w,C,l)=>{var d,e;d=[l(67910),l(22410),l(91749)],e=function(A,g,_){const a={};let r,f=1;a.init=function(){A.init(),$('[component="post/content"] img:not(.not-responsive)').addClass("img-fluid"),a.handleInfiniteScroll("account/posts")},a.handleInfiniteScroll=function(s){r=s,f=ajaxify.data.pagination.currentPage,config.usePagination||g.init(i)};function i(s){if(s<0)return;const m=utils.params();f+=1,m.page=f,g.loadMoreXhr(m,function(p,o){p.posts&&p.posts.length?h(p.posts,o):o()})}function h(s,m){app.parseAndTranslate(r,"posts",{posts:s},function(p){$('[component="posts"]').append(p),p.find("img:not(.not-responsive)").addClass("img-fluid"),p.find(".timeago").timeago(),_.fire("action:posts.loaded",{posts:s}),m()})}return a}.apply(C,d),e!==void 0&&(w.exports=e)},72699:(w,C,l)=>{var d,e;d=[l(67910),l(63984)],e=function(A,g){const _={};return _.init=function(){A.init(),$('[component="post/content"] img:not(.not-responsive)').addClass("img-fluid"),g.handleInfiniteScroll("account/downvoted")},_}.apply(C,d),e!==void 0&&(w.exports=e)}}]);
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.