!function(){var n=function(){var n=!1,t=function(){var n=!1,t=[],r={};return{addName:function(e){if(!1!==n)throw Error("Unsupported state");if("string"!=typeof(o=e)||""===o)throw Error("Unsupported parameter type");"string"!=typeof r[e]&&(r[e]=e,t.push(e));var o},getExtendsModulesObject:function(n){if(t.length===n.length)return function(){for(var r={},e=0;e=2))return null;r.pop()}else r.push(o)}return r.join("/")}(u);if("string"==typeof f&&""!==f){if(i=r[f],null!==(o=void 0!==i?i.get(t):null))return o;throw Error("There is no definition for module: "+f)}throw Error("There is a problem with path normalization: "+u)}(o):function(n){if(n in t)return t[n];throw Error("There is no definition for external module: "+n)}(o)}}(t)),u}}}(o,u,f)}},install:function(e){if(!1!==n)throw Error("Unsupported state");n=!0,define(t.getModulesName(),function(){var n=Array.prototype.slice.call(arguments,0),o=t.getExtendsModulesObject(n);return function(n,t){if(void 0!==r[n])return r[n].get(t);throw Error("Module not defined: "+n)}(e,o)})}};function e(n){if("string"==typeof n)return n.length>=2&&"./"===n.substr(0,2)||n.length>=3&&"../"===n.substr(0,3);throw Error("Module name should be string")}}();n.getDefine("./amd","infiniteScroll")(["uststd/uststd"],function(n){var t,r,e,o,i,u,f=!0;return{init:function(n){o=function(n){try{return JSON.parse(n.getAttribute("data-params"))}catch(n){return{}}}(r=n),e=t=parseInt(o.offset,10)||0,u=o.categoryUuid,window.addEventListener("scroll",l)}};function a(n){e+=t,r.querySelector(".stream").innerHTML+=n}function l(){i&&clearTimeout(i),i=setTimeout(s,150)}function s(){f&&function(n){return n.offsetHeight-100 *").length,function(t,r){n.environment.picoajax({method:"GET",url:t,success:function(n){n.trim()?r(n):f=!1}})}(function(n,t){return window.location.origin+"/ajax/getMoreListAjax?id="+n+"&offset="+t}(u,e),a))}}),n.getDefine(".","main")(["./amd/infiniteScroll"],function(n){return{infiniteScroll:n.init}}),n.install("./main")}();