HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/school/wp-content/themes/blocksy/static/bundle/308.2ee8fef50afaa8799e6e.js
(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[308],{6308:function(t,e,n){"use strict";n.r(e),n.d(e,{mount:function(){return u}});var i=n(48),o=n.n(i),s=n(9139),r=n(1601),l=n.n(r);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const h=function(t){const e=["active","ct-active","wpgb-enabled","e-lazyloaded"];let n=[],i=t;for(;i&&i!==document;i=i.parentNode)i.matches(".yit-wcan-container")||n.push(i);return n=n.reverse(),n.filter((function(t){return!t.matches("body, html")})).map((function(n){if(n===document.body)return"body";let i=n.tagName;if(n!==t&&(i+=""!=n.id?"#"+n.id:"",i+=n.dataset.target?`[data-target="${n.dataset.target}"]`:""),n.className){const t=n.className.split(/\s/);for(let n=0;n<t.length;n++)t[n]&&-1===e.indexOf(t[n])&&(i+="."+t[n])}if(n===t){const t=[...n.parentNode.children].indexOf(n);t>-1&&(i+=`:nth-child(${t+1})`)}return i})).join(" > ")};o().imagesLoaded=function(t,e){return e()},o().Button.prototype.hide=function(){},o().prototype.onPageScroll=o().throttle((function(){let t=this.getBottomDistance();t<=this.options.scrollThreshold&&t>-this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}));const u=function(t){let e=[...t.parentNode.children].reduce((function(t,e){return[...t,...e.children]}),[...t.parentNode.children]).find((function(t){return t.classList.contains("products")||t.classList.contains("entries")||t.classList.contains("ct-query-template-grid")||t.classList.contains("ct-query-template-default")}));if(!t)return;let n=t.dataset.pagination;if(n.indexOf("simple")>-1)return;if(n.indexOf("next_prev")>-1)return;if(!t.querySelector(".next"))return;if(t.infiniteScroll)return;const i=d(e,{toAppend:".ct-pagination"})||".ct-pagination",r=t.querySelector(".next");let c=`${i} .next`;if(r&&r.href&&r.href.indexOf("paged=")>-1){const t=new URL(r.href);t.searchParams.set("paged","{{#}}"),c=decodeURIComponent(t.toString())}let a=new(o())(e,{checkLastPage:`${i} .next`,path:c,append:d(e),button:"load_more"===n?t.querySelector(".ct-load-more"):null,outlayer:null,scrollThreshold:"infinite_scroll"===n&&400,onInit(){this.on("load",(function(e){t.querySelector(".ct-load-more-helper").classList.remove("ct-loading"),setTimeout((function(){l().trigger("ct:infinite-scroll:load"),l().trigger("blocksy:frontend:init"),l().trigger("blocksy:parallax:init"),window.jQuery&&jQuery(document.body).trigger("wc_price_based_country_ajax_geolocation"),document.dispatchEvent(new CustomEvent("cfvswVariationLoad",{detail:{}}))}),100)})),this.on("append",(function(){(0,s.Z)(e),[...e.querySelectorAll("[srcset]")].forEach((function(t){const e=t.srcset;t.srcset="",t.srcset=e}))})),this.on("request",(function(){t.querySelector(".ct-load-more-helper").classList.add("ct-loading")})),this.on("last",(function(){t.classList.add(t.querySelector(".ct-last-page-text")?"ct-last-page":"ct-last-page-no-info")}))}});t.infiniteScroll=a};function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({toAppend:"default"},e),t.closest(".ct-posts-shortcode"))return t.classList.contains("products")?`${h(t.closest(".ct-posts-shortcode"))} ${"default"===e.toAppend?".products > li":e.toAppend}`:`${h(t.closest(".ct-posts-shortcode"))} ${"default"===e.toAppend?".entries > *":e.toAppend}`;if(t.closest(".wp-block-blocksy-query")){const n=`.wp-block-blocksy-query[data-id="${t.closest(".wp-block-blocksy-query").dataset.id}"]`;return`${n} ${"default"===e.toAppend?`[class*="ct-query-template"] > *, ${n} .entries > *`:e.toAppend}`}if(t.classList.contains("products")){const n=h(t);return"default"!==e.toAppend?null:`${n} > *`}return`section > ${"default"===e.toAppend?".entries > *":e.toAppend}`}},7158:function(t){var e,n;e="undefined"!=typeof window?window:this,n=function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let n=this._events=this._events||{},i=n[t]=n[t]||[];return i.includes(e)||i.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this},e.off=function(t,e){let n=this._events&&this._events[t];if(!n||!n.length)return this;let i=n.indexOf(e);return-1!=i&&n.splice(i,1),this},e.emitEvent=function(t,e){let n=this._events&&this._events[t];if(!n||!n.length)return this;n=n.slice(0),e=e||[];let i=this._onceEvents&&this._onceEvents[t];for(let o of n)i&&i[o]&&(this.off(t,o),delete i[o]),o.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t},t.exports?t.exports=n():e.EvEmitter=n()},9047:function(t){var e,n;e=this,n=function(t){let e={extend:function(t,e){return Object.assign(t,e)},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?[...t]:[t]},removeFrom:function(t,e){let n=t.indexOf(e);-1!=n&&t.splice(n,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if((t=t.parentNode).matches(e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){let e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,n){return(t=e.makeArray(t)).filter((t=>t instanceof HTMLElement)).reduce(((t,e)=>{if(!n)return t.push(e),t;e.matches(n)&&t.push(e);let i=e.querySelectorAll(n);return t=t.concat(...i)}),[])},debounceMethod:function(t,e,n){n=n||100;let i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[o]);let t=arguments;this[o]=setTimeout((()=>{i.apply(this,t),delete this[o]}),n)}},docReady:function(t){let e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,n){return e+"-"+n})).toLowerCase()}},n=t.console;return e.htmlInit=function(i,o){e.docReady((function(){let s="data-"+e.toDashed(o),r=document.querySelectorAll(`[${s}]`),l=t.jQuery;[...r].forEach((t=>{let e,r=t.getAttribute(s);try{e=r&&JSON.parse(r)}catch(e){return void(n&&n.error(`Error parsing ${s} on ${t.className}: ${e}`))}let c=new i(t,e);l&&l.data(t,o,c)}))}))},e},t.exports?t.exports=n(e):e.fizzyUIUtils=n(e)},8163:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(6717),n(9047)):i(e,e.InfiniteScroll,e.fizzyUIUtils)}(window,(function(t,e,n){class i{constructor(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}onClick(t){t.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}}return e.create.button=function(){let t=n.getQueryElement(this.options.button);t&&(this.button=new i(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},e.Button=i,e}))},6717:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(7158),n(9047)):e.InfiniteScroll=i(e,e.EvEmitter,e.fizzyUIUtils)}(window,(function(t,e,n){let i=t.jQuery,o={};function s(t,e){let r=n.getQueryElement(t);if(r){if((t=r).infiniteScrollGUID){let n=o[t.infiniteScrollGUID];return n.option(e),n}this.element=t,this.options={...s.defaults},this.option(e),i&&(this.$element=i(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(r||t))}s.defaults={},s.create={},s.destroy={};let r=s.prototype;Object.assign(r,e.prototype);let l=0;r.create=function(){let t=this.guid=++l;if(this.element.infiniteScrollGUID=t,o[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath()){this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let t in s.create)s.create[t].call(this)}else console.error("Disabling InfiniteScroll")},r.option=function(t){Object.assign(this.options,t)},r.callOnInit=function(){let t=this.options.onInit;t&&t.call(this,this)},r.dispatchEvent=function(t,e,n){this.log(t,n);let o=e?[e].concat(n):n;if(this.emitEvent(t,o),!i||!this.$element)return;let s=t+=".infiniteScroll";if(e){let n=i.Event(e);n.type=t,s=n}this.$element.trigger(s,n)};let c={initialized:t=>`on ${t}`,request:t=>`URL: ${t}`,load:(t,e)=>`${t.title||""}. URL: ${e}`,error:(t,e)=>`${t}. URL: ${e}`,append:(t,e,n)=>`${n.length} items. URL: ${e}`,last:(t,e)=>`URL: ${e}`,history:(t,e)=>`URL: ${e}`,pageIndex:function(t,e){return`current page determined to be: ${t} from ${e}`}};r.log=function(t,e){if(!this.options.debug)return;let n=`[InfiniteScroll] ${t}`,i=c[t];i&&(n+=". "+i.apply(this,e)),console.log(n)},r.updateMeasurements=function(){this.windowHeight=t.innerHeight;let e=this.element.getBoundingClientRect();this.top=e.top+t.scrollY},r.updateScroller=function(){let e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:n.getQueryElement(e),!this.scroller)throw new Error(`Unable to find elementScroll: ${e}`)}else this.scroller=t},r.updateGetPath=function(){let t=this.options.path;if(!t)return void console.error(`InfiniteScroll path option required. Set as: ${t}`);let e=typeof t;"function"!=e?"string"==e&&t.match("{{#}}")?this.updateGetPathTemplate(t):this.updateGetPathSelector(t):this.getPath=t},r.updateGetPathTemplate=function(t){this.getPath=()=>{let e=this.pageIndex+1;return t.replace("{{#}}",e)};let e=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),n=new RegExp(e),i=location.href.match(n);i&&(this.pageIndex=parseInt(i[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let a=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],h=s.getPathParts=function(t){if(t)for(let e of a){let n=t.match(e);if(n){let[,t,e,i]=n;return{begin:t,index:e,end:i}}}};r.updateGetPathSelector=function(t){let e=document.querySelector(t);if(!e)return void console.error(`Bad InfiniteScroll path option. Next link not found: ${t}`);let n=e.getAttribute("href"),i=h(n);if(!i)return void console.error(`InfiniteScroll unable to parse next link href: ${n}`);let{begin:o,index:s,end:r}=i;this.isPathSelector=!0,this.getPath=()=>o+(this.pageIndex+1)+r,this.pageIndex=parseInt(s,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},r.updateGetAbsolutePath=function(){let t=this.getPath();if(t.match(/^http/)||t.match(/^\//))return void(this.getAbsolutePath=this.getPath);let{pathname:e}=location,n=t.match(/^\?/),i=e.substring(0,e.lastIndexOf("/")),o=n?e:i+"/";this.getAbsolutePath=()=>o+this.getPath()},s.create.hideNav=function(){let t=n.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},r.destroy=function(){this.allOff();for(let t in s.destroy)s.destroy[t].call(this);delete this.element.infiniteScrollGUID,delete o[this.guid],i&&this.$element&&i.removeData(this.element,"infiniteScroll")},s.throttle=function(t,e){let n,i;return e=e||200,function(){let o=+new Date,s=arguments,r=()=>{n=o,t.apply(this,s)};n&&o<n+e?(clearTimeout(i),i=setTimeout(r,e)):r()}},s.data=function(t){let e=(t=n.getQueryElement(t))&&t.infiniteScrollGUID;return e&&o[e]},s.setJQuery=function(t){i=t},n.htmlInit(s,"infinite-scroll"),r._init=function(){};let{jQueryBridget:u}=t;return i&&u&&u("infiniteScroll",s,i),s}))},9774:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(6717),n(9047)):i(e,e.InfiniteScroll,e.fizzyUIUtils)}(window,(function(t,e,n){let i=e.prototype;Object.assign(e.defaults,{history:"replace"});let o=document.createElement("a");return e.create.history=function(){if(!this.options.history)return;o.href=this.getAbsolutePath(),(o.origin||o.protocol+"//"+o.host)==location.origin?this.options.append?this.createHistoryAppend():this.createHistoryPageLoad():console.error(`[InfiniteScroll] cannot set history with different origin: ${o.origin} on ${location.origin} . History behavior disabled.`)},i.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},i.bindHistoryAppendEvents=function(e){let n=e?"addEventListener":"removeEventListener";this.scroller[n]("scroll",this.scrollHistoryHandler),t[n]("unload",this.unloadHandler)},i.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=i.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},i.onAppendHistory=function(t,e,n){if(!n||!n.length)return;let i=n[0],s=this.getElementScrollY(i);o.href=e,this.scrollPages.push({top:s,path:o.href,title:t.title})},i.getElementScrollY=function(e){if(this.options.elementScroll)return e.offsetTop-this.top;return e.getBoundingClientRect().top+t.scrollY},i.onScrollHistory=function(){let t=this.getClosestScrollPage();t!=this.scrollPage&&(this.scrollPage=t,this.setHistory(t.title,t.path))},n.debounceMethod(e,"onScrollHistory",150),i.getClosestScrollPage=function(){let e,n;e=this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.scrollY+this.windowHeight/2;for(let t of this.scrollPages){if(t.top>=e)break;n=t}return n},i.setHistory=function(t,e){let n=this.options.history;n&&history[n+"State"]&&(history[n+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},i.onUnload=function(){if(0===this.scrollPage.top)return;let e=t.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,e)},i.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e}))},48:function(t,e,n){
/*!
 * Infinite Scroll v5.0.0
 * Automatically add next page
 * MIT License
 * https://infinite-scroll.com
 * Copyright 2018-2025 Metafizzy
 */
var i;window,t.exports&&(t.exports=(i=n(6717),n(2484),n(3610),n(9774),n(8163),n(7792),i))},2484:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(6717)):i(e,e.InfiniteScroll)}(window,(function(t,e){let n=e.prototype;Object.assign(e.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),e.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},n.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let i=new DOMParser;function o(t){let e=document.createDocumentFragment();return t&&e.append(...t),e}return n.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:t,domParseResponse:e,fetchOptions:n}=this.options,o=this.getAbsolutePath();this.isLoading=!0,"function"==typeof n&&(n=n());let s=fetch(o,n).then((n=>{if(!n.ok){let t=new Error(n.statusText);return this.onPageError(t,o,n),{response:n}}return n[t]().then((s=>("text"==t&&e&&(s=i.parseFromString(s,"text/html")),204==n.status?(this.lastPageReached(s,o),{body:s,response:n}):this.onPageLoad(s,o,n))))})).catch((t=>{this.onPageError(t,o)}));return this.dispatchEvent("request",null,[o,s]),s},n.onPageLoad=function(t,e,n){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e,n]),this.appendNextPage(t,e,n)},n.appendNextPage=function(t,e,n){let{append:i,responseBody:s,domParseResponse:r}=this.options;if(!("text"==s&&r)||!i)return{body:t,response:n};let l=t.querySelectorAll(i),c={body:t,response:n,items:l};if(!l||!l.length)return this.lastPageReached(t,e),c;let a=o(l),h=()=>(this.appendItems(l,a),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,l,n]),c);return this.options.outlayer?this.appendOutlayerItems(a,h):h()},n.appendItems=function(t,e){t&&t.length&&(function(t){let e=t.querySelectorAll("script");for(let t of e){let e=document.createElement("script"),n=t.attributes;for(let t of n)e.setAttribute(t.name,t.value);e.innerHTML=t.innerHTML,t.parentNode.replaceChild(e,t)}}(e=e||o(t)),this.element.appendChild(e))},n.appendOutlayerItems=function(n,i){let o=e.imagesLoaded||t.imagesLoaded;return o?new Promise((function(t){o(n,(function(){let e=i();t(e)}))})):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},n.onAppendOutlayer=function(t,e,n){this.options.outlayer.appended(n)},n.checkLastPage=function(t,e){let n,{checkLastPage:i,path:o}=this.options;if(i){if("function"==typeof o){if(!this.getPath())return void this.lastPageReached(t,e)}"string"==typeof i?n=i:this.isPathSelector&&(n=o),n&&t.querySelector&&(t.querySelector(n)||this.lastPageReached(t,e))}},n.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},n.onPageError=function(t,e,n){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e,n]),t},e.create.prefill=function(){if(!this.options.prefill)return;let t=this.options.append;t?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error(`append option required for prefill. Set as :${t}`)},n.prefill=function(){let t=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},n.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},n.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e}))},3610:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(6717),n(9047)):i(e,e.InfiniteScroll,e.fizzyUIUtils)}(window,(function(t,e,n){let i=e.prototype;return Object.assign(e.defaults,{scrollThreshold:400}),e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let t=this.options.scrollThreshold;(t||0===t)&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},i.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},i.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},i.bindScrollWatchEvents=function(e){let n=e?"addEventListener":"removeEventListener";this.scroller[n]("scroll",this.pageScrollHandler),t[n]("resize",this.resizeHandler)},i.onPageScroll=e.throttle((function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")})),i.getBottomDistance=function(){let e,n;return this.options.elementScroll?(e=this.scroller.scrollHeight,n=this.scroller.scrollTop+this.scroller.clientHeight):(e=this.top+this.element.clientHeight,n=t.scrollY+this.windowHeight),e-n},i.onResize=function(){this.updateMeasurements()},n.debounceMethod(e,"onResize",150),e}))},7792:function(t,e,n){!function(e,i){t.exports?t.exports=i(e,n(6717),n(9047)):i(e,e.InfiniteScroll,e.fizzyUIUtils)}(window,(function(t,e,n){let i=e.prototype;function o(t){r(t,"none")}function s(t){r(t,"block")}function r(t,e){t&&(t.style.display=e)}return e.create.status=function(){let t=n.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},i.bindHideStatus=function(t){let e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},i.showRequestStatus=function(){this.showStatus("request")},i.showErrorStatus=function(){this.showStatus("error")},i.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},i.showStatus=function(t){s(this.statusElement),this.hideStatusEventElements(),s(this.statusEventElements[t])},i.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()},i.hideStatusEventElements=function(){for(let t in this.statusEventElements){o(this.statusEventElements[t])}},e}))}}]);