1"use strict";function _asyncToGenerator(t){return function(){var n=t.apply(this,arguments);return new Promise((function(t,e){return function r(o,a){try{var u=n[o](a),i=u.value}catch(t){return void e(t)}if(!u.done)return Promise.resolve(i).then((function(t){r("next",t)}),(function(t){r("throw",t)}));t(i)}("next")}))}}var cartMenuEmptyApp=new Vue({el:"#cartMenuEmptyApp",created:function(){this.initSubscription(),this.resize()},data:function(){return{cart:null,isMobile:!1}},methods:{initSubscription:function(){var t=_asyncToGenerator(regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:shoppingCartMenuEventBus.$on("productAdded",function(){var t=_asyncToGenerator(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(document.querySelector("#cartMenuNotEmptyApp")){t.next=7;break}return(r=document.querySelector("#cartMenuApp .quantity-products")).innerHTML=e.productsCount,r.classList.remove("quantity-products-empty"),t.next=7,n.loadCartMenu();case 7:n.$data.cart=e;case 8:case"end":return t.stop()}}),t,n)})));return function(n){return t.apply(this,arguments)}}()),shoppingCartMenuEventBus.$on("itemRemovedFromMenu",(function(t,e){""===e&&(n.$data.cart=null)})),shoppingCartMenuEventBus.$on("clearAllFromMenu",(function(){n.$data.cart=null})),shoppingCartMenuEventBus.$on("itemRemovedFromCart",(function(t){""===t.totalPriceString&&(n.$data.cart=null)})),shoppingCartMenuEventBus.$on("clearAllFromCart",(function(){n.$data.cart=null}));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),loadCartMenu:function(){return fetch("/CartMenu/GetCartMenuNotEmpty",{method:"get"}).then((function(t){return 204!==t.status?t.text():null})).then((function(t){addContent(t,"#cartMenuEmptyApp")}))},isShow:function(){return!this.$data.cart},resize:function(){var t=this;this.$data.isMobile=this.$isMobile(),window.addEventListener("resize",(function(){t.$data.isMobile=t.$isMobile()}))},backToMainMenuClick:function(t){t.stopPropagation(),document.querySelector("#cartMenuApp").classList.remove("selected");var n=this.$el.parentNode;n.style.zIndex="1",n.style.display="none"}}});
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.