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