(()=>{var __webpack_exports__={},_document$getElementB,_document$getElementB2;function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o,r,n,l,a=[],c=!0,d=!1;try{if(n=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;c=!1}else for(;!(c=(o=n.call(i)).done)&&(a.push(o.value),a.length!==t);c=!0);}catch(e){d=!0,r=e}finally{try{if(!c&&null!=i.return&&(l=i.return(),Object(l)!==l))return}finally{if(d)throw r}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function _objectSpread(e){for(var t=1;te.length)&&(t=e.length);for(var i=0,o=Array(t);i100&&window.ScrollBee&&(window.ScrollBee.hasScrolled=!0)}));var AppHive=function(){return _createClass((function e(){_classCallCheck(this,e),this.config={}}),[{key:"productContainer",value:function(e){var t,i,o,r;if(null!==(t=this.config)&&void 0!==t&&t.qsProductGrid)return e.querySelector(null===(i=this.config)||void 0===i?void 0:i.qsProductGrid);var n=null!==(o=null!==(r=e.querySelector("main"))&&void 0!==r?r:e.querySelector("#main"))&&void 0!==o?o:e,l=Array.from(n.querySelectorAll('a[href*="products"]:not([href*="?page="]):not(footer a)')).filter((function(e){return e.offsetWidth>0||e.offsetHeight>0})),a=[l[0],l[l.length-1]],c=a[0],d=a[1];return c&&d?this.commonAncestor(c,d):null}},{key:"productElements",value:function(e){var t;return null!==(t=this.config)&&void 0!==t&&t.qsaProducts?e.querySelectorAll(this.config.qsaProducts):this.productContainer(e).children}},{key:"lastProductElement",value:function(e){var t;if(null!==(t=this.config)&&void 0!==t&&t.qsLastProductElement)return e.querySelector(this.config.qsLastProductElement);var i=Array.from(this.productElements(e)).filter((function(e){return"__scrollBeeLoadingElement"!==e.id}));return i[i.length-1]}},{key:"paginationElements",value:function(e){var t;if(null!==(t=this.config)&&void 0!==t&&t.qsaPaginationPages)return e.querySelectorAll(this.config.qsaPaginationPages);var i=window.location.pathname,o='a[href*="'.concat(i,'?page="]:not([href=""])');return e.querySelectorAll(o)}},{key:"elementsToHide",value:function(e){var t;return null!==(t=this.config)&&void 0!==t&&t.qsaHideElements?e.querySelectorAll(this.config.qsaHideElements):this.paginationElements(e)}},{key:"hideElements",value:function(e){e.forEach((function(e){e.style.display="none"}))}},{key:"lastPaginationPage",value:function(e){var t=Array.from(this.paginationElements(e)).map((function(e){var t,i,o=new URL(e);return parseInt(o.searchParams.get(null!==(t=null===(i=this.config)||void 0===i?void 0:i.pageParam)&&void 0!==t?t:"page"))}));return Math.max.apply(Math,_toConsumableArray(t))}},{key:"parents",value:function(e){for(var t=[e];e;e=e.parentNode)t.unshift(e);return t}},{key:"commonAncestor",value:function(e,t){var i=this.parents(e),o=this.parents(t);if(i[0]!=o[0])return null;for(var r=0;r ul.product-grid",qsaProducts:"#product-grid > li.grid__item",pageParam:"page",minimumLoadingTimeout:500,debug:!1,forceProductContainer:!1,disableLoading:!1,afterLoadCallback:null};var e=document.getElementById("__scrollBeeConfig");e&&(this.config=_objectSpread(_objectSpread({},this.config),JSON.parse(e.getAttribute("data-config")))),this.addKeyframes(),this.setupExecution()}return _createClass(ScrollBee,[{key:"addDisplayNoneCSS",value:function(){var e=document.createElement("style");document.head.appendChild(e);var t=" .scrollBeeHidden { display: none !important; }";e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}},{key:"setupExecution",value:function(){this.clearCurrentObserver(),window.ScrollBeeLastHandledHREF=window.location.href;try{var e,t;if(null!==(e=this.config)&&void 0!==e&&e.depleted)return;var i=new URLSearchParams(window.location.search).get("page");if(i&&(i=parseInt(i)),this.hasScrolled=!1,this.lastLoadedPage=null!==(t=i)&&void 0!==t?t:null,this.isLoading=!1,this.lastPaginationPage=this.getLastPaginationPage(),this.lastProductElement=this.getLastProductElement(),this.intersectionObserver=null,isNaN(this.lastPaginationPage))return;if(this.getLoadMoreButton())return void this.setupLoadMoreButton();if(!1===this.lastPaginationPage||!1===this.lastProductElement)return;this.applyObserver(),this.hideElements()}catch(e){}}},{key:"addKeyframes",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");e.innerHTML="@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}",document.getElementsByTagName("head")[0].appendChild(e)}},{key:"getLastPaginationPage",value:function(e){var t=this,i=[],o=[this.config.qsaPaginationPages,"span.page > a[href*=page]","ul.pagination > li > span > a[href*=page]","ul.pagination > li > a[href*=page]","ul.pagination-custom > li > a[href*=page]","nav.pagination > ul > li > a[href*=page]","nav.pagination__nav > a[href*=page]",'div.pagination > div.row > div > ul > li > a[href*=page]:not([href=""])',"#pagination > .pagination-wrapper > div.links > a[href*=page]","div.pagination > a.page-number[href*=page]","div.Pagination__Nav > a[href*=page]","a.pagination--item[href*=page]","a.pagination-custom__page[href*=page]","span.pagination__number > a[href*=page]","li.pagination-arrow > a[href*=page]",'link[rel="next"]'];if((o=o.filter((function(e){return""!==e}))).forEach((function(t){if(0===i.length){var o=null!=e?e:document;i=Array.from(o.querySelectorAll(t))}})),0===i.length&&(i=Array.from(document.querySelectorAll('a[href*="?page="]'))),0===i.length)return!1;var r=i.map((function(e){"link"===e.tagName.toLowerCase()&&(e=location.origin+e.getAttribute("href"));var i=new URL(e);return parseInt(i.searchParams.get(t.config.pageParam))}));return Math.max.apply(Math,_toConsumableArray(r))}},{key:"parents",value:function(e){for(var t=[e];e;e=e.parentNode)t.unshift(e);return t}},{key:"commonAncestor",value:function(e,t){var i=this.parents(e),o=this.parents(t);if(i[0]!=o[0])return null;for(var r=0;r div.blog-articles","div.row[data-collection-products]","div.grid.grid--uniform","#collection-products",".grid-uniform","div.collection-grid__wrapper > .new-grid","div.new-grid.product-grid.collection-grid","#main-collection-product-grid > #CollectionProductGrid > ul","product-list > .product-list__inner","div.grid.grid--view-items.grid-products","#Collection > ul.grid.grid--uniform.grid--view-items","#main-collection-product-grid","div.grid.rwcols-2.rwcols-md-3.rwcols-lg-3.grid-products.grid--view-items","product-list","div.ProductListWrapper > div.ProductList","ul.productgrid--items","#CollectionLoop","div.product-list","#Collection > div.col-md-12 > div.product-grid","div.container > div.grid--view-items.row","ul#facets-results","#results > .collection-list","div.boost-sd__product-list","div.collection__products > div.grid","div.collection-listing > div.product-grid","#col-mobil","ul.page-width.list-view-items","div#product-loop",'[data-html="productgrid-items"]',"div.productgrid--items","div#ProductGridContainer > ul.collection__grid","#__scrollBeeProductContainerElement"].forEach((function(i){var o;t||(this.usedContainerSelector=i,t=null!==(o=e.querySelectorAll(i)[0])&&void 0!==o?o:null)})),!t){var i,o,r=null!==(i=null!==(o=e.querySelector("main"))&&void 0!==o?o:e.querySelector("#main"))&&void 0!==i?i:e,n=Array.from(r.querySelectorAll('a[href*="products"]:not([href*="?page="]):not(footer a)')).filter((function(e){return e.offsetWidth>0||e.offsetHeight>0})),l=n.slice(0,1)[0],a=n.slice(-1)[0];l&&a&&(t=this.commonAncestor(l,a)),t&&(t.id?this.config.qsProductGrid="#"+t.id:t.id="__scrollBeeProductContainerElement")}return this.config.forceProductContainer&&(t=e.querySelector(this.config.qsProductGrid)),t}},{key:"getProductsFromSmartScrollBeeContainer",value:function(e){var t,i;this.debugMessage("Adding Scroll Bee product container identifier to new HTML.");var o=null,r=null!==(t=null!==(i=e.querySelector("main"))&&void 0!==i?i:e.querySelector("#main"))&&void 0!==t?t:e,n=document.createElement("div");n.id="__scrollBeeHiddenNewHTML",n.style.width="100%",n.style.height="100%",n.style.opacity="0",n.innerHTML=r.innerHTML,document.body.appendChild(n),r=document.querySelector("#__scrollBeeHiddenNewHTML"),this.debugMessage("SEARCH ELEMENT:"),this.debugMessage(r),this.debugMessage("------------------------");var l=Array.from(r.querySelectorAll('a[href*="products"]:not([href*="?page="]):not(footer a)')).filter((function(e){return e.offsetWidth>0||e.offsetHeight>0}));this.debugMessage("PRODUCT LINKS:"),this.debugMessage(l),this.debugMessage("------------------------");var a=l.slice(0,1)[0],c=l.slice(-1)[0];a&&c&&(o=this.commonAncestor(a,c)),this.debugMessage("PRODUCT CONTAINER:"),this.debugMessage(o),this.debugMessage("------------------------"),o&&(this.debugMessage("Product Container found in new HTML."),o.id="__scrollBeeProductContainerElement",this.debugMessage(o));var d=document.querySelector("#__scrollBeeHiddenNewHTML");return d&&(this.debugMessage("Hidden New HTML removed from page."),d.remove()),ƒ,r.querySelectorAll("#__scrollBeeProductContainerElement > *")}},{key:"getLastProductElement",value:function(){if(!this.getProductsContainer())return!1;var e=[],t=[this.config.qsaProducts,".scroll-bee-products","div.main-blog > div.blog-articles > div.article","div.collection-grid__wrapper > div.new-grid.product-grid.collection-grid > is-land.grid-item","div.grid.grid--uniform > div.grid__item","#collection-products > div.product",".grid__item .grid-uniform div.grid__item","div.grid__item.grid-product","div.grid div.grid__item div.grid-uniform.grid-link__container div.grid__item","ul.grid.product-grid > li.grid__item","div.new-grid.product-grid.collection-grid > div.grid-item.grid-product","#CollectionProductGrid > ul.collection-list > li","product-list > .product-list__inner > product-item","div.grid.grid--view-items.grid-products > div.grid__item.small--one-half.medium-up--one-third.widescreen--one-third","#Collection > ul > li.grid__item","#main-collection-product-grid > div.product-index","#main-collection-product-grid > div.collection-template__product-item","#product-grid > li.grid-item","product-list > product-card","#product-grid > card-product","div.ProductListWrapper > div.ProductList > div.Grid__Cell","#product-grid > div.content-item","ul.productgrid--items > li.productgrid--item","#CollectionLoop > div.product-item","div.product-list > div.product-block","#Collection > div.col-md-12 > div.product-grid > div.grid__item","div.container > div.grid--view-items.row > div.col-xl-3.col-lg-3.col-md-4.col-sm-6.col-6.mg-5","#main-collection-product-grid > div.product--item","ul#facets-results > *","#results > .collection-list > li","div.boost-sd__product-list > div.boost-sd__product-item","div.collection__products > div.grid > div.product-grid-item","div.collection-listing > div.product-grid > product-block.product-block","#col-mobil > li.grid-item","ul.page-width.list-view-items > li.list-view-item","div.product-list > div.product-item",".grid-uniform > .grid-item","#main-collection-product-grid > div.product-item","div#product-loop > div.product-index","div.collection-product-list.product-list__inner > div.product__card",'[data-html="productgrid-items"] > div.productgrid--item',"div.productgrid--items > div.productgrid--item","div#ProductGridContainer > ul.collection__grid > li.collection__grid-item","#__scrollBeeProductContainerElement > *",this.config.qsProductGrid+" > *"],i=this;return t.forEach((function(t){0===e.length&&(i.config.qsaProducts=t,e=Array.from(document.querySelectorAll(t)))})),0!==e.length&&e.slice(-1)[0]}},{key:"hideElements",value:function(){var e=["#pagination",this.config.qsaHideElements,"div.content-data.pagination__container","div.pagination","ul.pagination-custom","div.pagination-wrapper","ul.pagination","page-pagination.pagination","div.Pagination","nav.pagination--container","nav.pagination-custom","nav.pagination","#__scrollBeePaginationElement"];try{var t=document.querySelectorAll('a[href*="?page=2"]'),i=document.querySelectorAll('a[href*="?page=3"]');if(t&&i){var o=this.commonAncestor(t,i);o&&(o.id="__scrollBeePaginationElement")}}catch(e){}e.forEach((function(e){Array.from(document.querySelectorAll(e)).forEach((function(e){e.style.display="none",e.classList.add("scrollBeeHidden")}))}))}},{key:"handleNewHtml",value:function handleNewHtml(html){var _this$getProductsCont,_window$theme,_window$theme2,_this=this,htmlParser=new DOMParser,htmlResponse=htmlParser.parseFromString(html,"text/html");this.debugMessage(htmlResponse.documentElement.innerHTML);var options=[this.config.qsaProducts,"#product-grid > li","#__scrollBeeProductContainerElement > *"],productElements=[];options.forEach((function(e){0===productElements.length&&(productElements=htmlResponse.querySelectorAll(e))})),null!==document.querySelector("#__scrollBeeProductContainerElement")&&(productElements=this.getProductsFromSmartScrollBeeContainer(htmlResponse)),this.debugMessage("NEW PRODUCT ELEMENTS TO APPEND:"),this.debugMessage(productElements),this.debugMessage("----------------------"),(_this$getProductsCont=this.getProductsContainer()).append.apply(_this$getProductsCont,_toConsumableArray(productElements));var clickElementOptions=["div.collection-filters > div > div.active"];if(clickElementOptions.forEach((function(e){var t;null===(t=document.querySelector(e))||void 0===t||t.click()})),this.lastPaginationPage=this.getLastPaginationPage(htmlResponse),document.querySelectorAll("div.product-item.animation--item-revealed").length>0&&document.querySelectorAll(".product-item").forEach((function(e){return e.classList.add("animation--item-revealed")})),this.config.afterLoadCallback)try{eval(this.config.afterLoadCallback)}catch(e){console.log(e)}if(window.hc_fetch_resources){this.debugMessage("hook hc_fetch_resources");try{window.hc_fetch_resources()}catch(e){console.log(e)}}if(window.globoswatch){this.debugMessage("hook globoswatch");try{window.globoswatch.init()}catch(e){console.log("Error running globoswatch.init()")}}if(window.uwl_script_run){this.debugMessage("hook uwl script run");try{window.uwl_script_run()}catch(e){console.log(e)}}if(window.window.uwl_script_run){this.debugMessage("hook uwl script run (double window)");try{window.uwl_script_run()}catch(e){console.log(e)}}if(window.uwl_script_collection_ajax){this.debugMessage("hook uwl script collection ajax");try{window.uwl_script_collection_ajax()}catch(e){console.log(e)}}if(null!==(_window$theme=window.theme)&&void 0!==_window$theme&&_window$theme.initAnimateOnScroll){this.debugMessage("hook animate scroll");try{window.theme.initAnimateOnScroll()}catch(e){console.log(e)}}if(null!==(_window$theme2=window.theme)&&void 0!==_window$theme2&&null!==(_window$theme2=_window$theme2.ProductBlockManager)&&void 0!==_window$theme2&&_window$theme2.loadImages){this.debugMessage("hook product block manager");try{window.theme.ProductBlockManager.loadImages()}catch(e){console.log(e)}}if(window.StampedFn){this.debugMessage("hook uwl stamped fn");try{window.StampedFn.loadBadges()}catch(e){console.log(e)}}if(window.acoLoadScript){this.debugMessage("hook aco load script");try{window.acoLoadScript()}catch(e){console.log(e)}}try{this.scriptExists("size-swatch")&&(this.debugMessage("hook size swatch"),window.getPageSectionWithProducts&&(window.getPageSectionWithProducts(),window.generateProductSwatchList&&window.generateProductSwatchList()))}catch(e){console.log("Error while Scroll Bee applies size swatch")}Array.from(document.querySelectorAll("product-item.product-item[reveal]")).forEach((function(e){e.style.opacity=1})),Array.from(document.querySelectorAll("[data-wlh-id]")).forEach((function(e){if(!e.innerHTML){var t=new CustomEvent("wishlist-hero-add-to-custom-element",{detail:e});document.dispatchEvent(t)}}));var elementsWithDataSrcset=document.querySelectorAll("[data-srcset]"),filteredElements=Array.from(elementsWithDataSrcset).filter((function(e){return!e.hasAttribute("srcset")}));filteredElements.forEach((function(e){var t=e.getAttribute("data-srcset");e.setAttribute("srcset",t)})),window.dispatchEvent(new Event("shopify:section:load")),document.dispatchEvent(new CustomEvent("theme:rimg:watch")),document.dispatchEvent(new CustomEvent("scrollbee:loaded")),["empire","main_v","bss-b2b","samita.rfq"].forEach((function(e){_this.reloadScript(e)}));var anchors=document.querySelectorAll('a[data-hover-image="true"]');anchors.forEach((function(e){return e.setAttribute("data-hover-image","loaded")})),this.removeClassesCallback(),this.addClassesCallback(),this.stopLoading(),this.reapplyObserver(),this.hideElements(),this.addAttributesCallback(),this.outerHTMLCallback(),this.stopLoading(),this.forceImageDecoding()}},{key:"forceImageDecoding",value:function(){document.querySelectorAll("img").forEach((function(e){e.complete&&e.decode().catch((function(e){console.error("Image decoding failed:",e)}))}))}},{key:"scriptExists",value:function(e){for(var t=document.getElementsByTagName("script"),i=0;i=this.lastPaginationPage)){this.startLoading();var t=new URL(window.location.href),i=(null!==(e=this.lastLoadedPage)&&void 0!==e?e:1)+1;t.searchParams.set(this.config.pageParam,String(i));var o=this;try{var r,n,l,a;fetch("https://scroll-bee.app-hive.dev/api/scroll",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ulid:null===(r=this.config)||void 0===r?void 0:r.ulid,url:null==t?void 0:t.href,theme:{id:null===(n=window.Shopify)||void 0===n||null===(n=n.theme)||void 0===n?void 0:n.id,name:null===(l=window.Shopify)||void 0===l||null===(l=l.theme)||void 0===l?void 0:l.name,theme_store_id:null===(a=window.Shopify)||void 0===a||null===(a=a.theme)||void 0===a?void 0:a.theme_store_id}})})}catch(e){}setTimeout((function(){fetch(t.href).then((function(e){return e.text()})).then((function(e){o.lastLoadedPage=i,o.handleNewHtml(e)})).catch((function(e){}))}),this.config.minimumLoadingTimeout)}}},{key:"applyObserver",value:function(){this.clearCurrentObserver();var e=this;this.intersectionObserver=new IntersectionObserver((function(t){t[0].isIntersecting&&e.fetchNewHTML()}),{root:null}),this.intersectionObserver.observe(this.lastProductElement),this.isElementVisible(this.lastProductElement)&&(this.hasScrolled=!0,e.fetchNewHTML())}},{key:"isElementVisible",value:function(e){var t=e.getBoundingClientRect();return t.top0}},{key:"reapplyObserver",value:function(){this.clearCurrentObserver(),this.intersectionObserver.observe(this.getLastProductElement())}},{key:"clearCurrentObserver",value:function(){var e;null===(e=this.intersectionObserver)||void 0===e||e.disconnect()}},{key:"startLoading",value:function(){this.debugMessage("start loading"),this.isLoading=!0;var e=document.getElementById("__scrollBeeLoadingElement");this.config.disableLoading||e||this.createLoadingElement()}},{key:"createLoadingElement",value:function(){var e,t=this.loadingIndicatorLocation();t||(t=this.getLastProductElement().parentElement);var i=this.getLastProductElement().tagName.toLowerCase(),o=document.createElement("li"===i?"li":"div");o.id="__scrollBeeLoadingElement",o.style.padding="2rem",o.style.borderRadius="0.375rem",o.style.justifyContent="center",o.style.alignItems="center",o.style.width="100%",o.style.display="flex",o.classList.add("flex");var r=document.createElement("div");r.style.color="#6D727E",r.style.marginRight="2rem",r.textContent=null!==(e=this.config.loadingText)&&void 0!==e?e:"Loading...";var n=document.createElement("span");n.className="loader",n.style.marginLeft="0",n.style.animation="spin 1s linear infinite",n.style.width="24px",n.style.height="24px",n.style.border="4px solid #6D727E",n.style.borderBottomColor="transparent",n.style.borderRadius="50%",n.style.display="inline-block",n.style.boxSizing="border-box",o.appendChild(r),o.appendChild(n),t.appendChild(o)}},{key:"stopLoading",value:function(){this.isLoading=!1,this.debugMessage("stop loading");var e=document.getElementById("__scrollBeeLoadingElement");e&&e.remove()}},{key:"removeClassesCallback",value:function(){for(var e=function(){var e=_slicedToArray(i[t],2),o=e[0],r=e[1];Array.from(document.querySelectorAll(r)).forEach((function(e){e.classList.remove(o)}))},t=0,i=Object.entries({"scroll-trigger":"li.grid__item.scroll-trigger.animate--slide-in.scroll-trigger--offscreen","grid-product__image-link--loading":"a.grid-product__image-link.grid-product__image-link--loading"});t div.bg-scheme-background.text-scheme-text.section-x-padding","div.border-t-gridline.border-gridline-color"].forEach((function(t){e||(e=document.querySelector(t))})),e}},{key:"getLoadMoreButton",value:function(){var e=null;return["#load-more-button[data-next='']","div.infinitpaginOuter > .infinitpagin > a.loadMore","button.js-btn-load-more","[data-load-more]","button.load-more.load-next","a.btn.btn-primary.load-more","div.dbtfy-infinite-scroll a"].forEach((function(t){e||(e=document.querySelector(t))})),e}},{key:"debugMessage",value:function(e){var t;null!==(t=this.config)&&void 0!==t&&t.debug&&console.log(e)}},{key:"setupLoadMoreButton",value:function(){this.applyLoadMoreButtonObserver()}},{key:"applyLoadMoreButtonObserver",value:function(){this.clearCurrentObserver();var e=this;this.intersectionObserver=new IntersectionObserver((function(t){var i;e.isLoading||t[0].isIntersecting&&(e.isLoading=!0,null===(i=e.getLoadMoreButton())||void 0===i||i.click(),setTimeout((function(){e.isLoading=!1,e.clearCurrentObserver(),e.setupLoadMoreButton()}),750))}),{root:null});var t=this.getLoadMoreButton();t&&this.intersectionObserver.observe(t)}}])}(),scrollBeeConfig=JSON.parse(null!==(_document$getElementB=null===(_document$getElementB2=document.getElementById("__scrollBeeConfig"))||void 0===_document$getElementB2?void 0:_document$getElementB2.getAttribute("data-config"))&&void 0!==_document$getElementB?_document$getElementB:null);null===scrollBeeConfig&&console.log("%cScroll Bee config not found on page","font-weight: bold; background-color: #fff; color: #000");var scrollBeeVersion=null==scrollBeeConfig?void 0:scrollBeeConfig.version;window.ScrollBee=3===scrollBeeVersion?new AppHive:new ScrollBee,window.AppHive=new AppHive})();