!function(){window.AjaxQueue=function(e){var d=$({});return function(i){var o=void 0,n=$.Deferred(),s=n.promise(),a=function(t){return(o=e(i)).retry&&o.retry({times:2,statusCodes:[500,503]}),o.done(n.resolve).fail(n.reject).then(t,t)},t=function(t){var e,r;return o?o.abort(t):(r=d.queue(),-1<(e=[].indexOf.call(r,a))&&r.splice(e,1),n.rejectWith(i.context||i,[s,t,""]),s)};return d.queue(a),s.abort=t,s}}}.call(this),function(){function e(t,e){return function(){return t.apply(e,arguments)}}var t,r;function i(t){null==t&&(t={}),this.getCurrentProductWithVariations=e(this.getCurrentProductWithVariations,this),this.setProductWithVariationsCache=e(this.setProductWithVariationsCache,this),this.getProductWithVariations=e(this.getProductWithVariations,this),t.hostURL&&(r=t.hostURL),t.ajax?this.ajax=t.ajax:window.AjaxQueue?this.ajax=window.AjaxQueue($.ajax):this.ajax=$.ajax,this.promise=t.promise||$.when,this.cache={productWithVariations:{}}}(t=window.location).origin||(t.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),r=window.location.origin,i.prototype.getProductWithVariations=function(e){var r=this;return this.promise(this.cache.productWithVariations[e]||$.ajax(this._getBaseCatalogSystemURL()+"/products/variations/"+e)).done(function(t){return r.setProductWithVariationsCache(e,t)})},i.prototype.setProductWithVariationsCache=function(t,e){return this.cache.productWithVariations[t]=e},i.prototype.getCurrentProductWithVariations=function(){var t,e,r;if(window.skuJson)return this.promise(window.skuJson);for(t in r=this.cache.productWithVariations)return e=r[t],this.promise(e)},i.prototype._getBaseCatalogSystemURL=function(){return r+"/api/catalog_system/pub"},t=i,window.vtexjs||(window.vtexjs={}),window.vtexjs.Catalog=t,window.vtexjs.catalog=new window.vtexjs.Catalog}.call(this),function(){function e(t,e){return function(){return t.apply(e,arguments)}}var r,i,o,n,t,s,a,d,h,c=[].slice;function u(t){null==t&&(t={}),this._getFinishTransactionURL=e(this._getFinishTransactionURL,this),this._getGatewayCallbackURL=e(this._getGatewayCallbackURL,this),this._getProfileURL=e(this._getProfileURL,this),this._getPostalCodeURL=e(this._getPostalCodeURL,this),this._getSimulationURL=e(this._getSimulationURL,this),this._getOrdersURL=e(this._getOrdersURL,this),this._manualPriceURL=e(this._manualPriceURL,this),this._getAddToCartURL=e(this._getAddToCartURL,this),this._getRemoveGiftRegistryURL=e(this._getRemoveGiftRegistryURL,this),this._getUpdateSelectableGifts=e(this._getUpdateSelectableGifts,this),this._getCloneItemURL=e(this._getCloneItemURL,this),this._getUpdateItemURL=e(this._getUpdateItemURL,this),this._startTransactionURL=e(this._startTransactionURL,this),this._getAddCouponURL=e(this._getAddCouponURL,this),this._getCustomDataUrl=e(this._getCustomDataUrl,this),this._getChangeOrdinationURL=e(this._getChangeOrdinationURL,this),this._getItemAttachmentURL=e(this._getItemAttachmentURL,this),this._getBundleItemAttachmentURL=e(this._getBundleItemAttachmentURL,this),this._getRemoveOfferingsURL=e(this._getRemoveOfferingsURL,this),this._getAddOfferingsURL=e(this._getAddOfferingsURL,this),this._getSaveAttachmentURL=e(this._getSaveAttachmentURL,this),this._getOrderFormURLWithId=e(this._getOrderFormURLWithId,this),this._getOrderFormURL=e(this._getOrderFormURL,this),this._getOrderFormIdFromURL=e(this._getOrderFormIdFromURL,this),this._getOrderFormIdFromCookie=e(this._getOrderFormIdFromCookie,this),this._getOrderFormId=e(this._getOrderFormId,this),this.replaceSKU=e(this.replaceSKU,this),this.getChangeToAnonymousUserURL=e(this.getChangeToAnonymousUserURL,this),this.removeAccountId=e(this.removeAccountId,this),this.clearMessages=e(this.clearMessages,this),this.getOrders=e(this.getOrders,this),this.startTransaction=e(this.startTransaction,this),this.getProfileByEmail=e(this.getProfileByEmail,this),this.getAddressInformation=e(this.getAddressInformation,this),this.simulateShipping=e(this.simulateShipping,this),this.calculateShipping=e(this.calculateShipping,this),this.removeGiftRegistry=e(this.removeGiftRegistry,this),this.removeDiscountCoupon=e(this.removeDiscountCoupon,this),this.setCustomData=e(this.setCustomData,this),this.addDiscountCoupon=e(this.addDiscountCoupon,this),this.removeBundleItemAttachment=e(this.removeBundleItemAttachment,this),this.addBundleItemAttachment=e(this.addBundleItemAttachment,this),this.removeItemAttachment=e(this.removeItemAttachment,this),this.addItemAttachment=e(this.addItemAttachment,this),this.removeManualPrice=e(this.removeManualPrice,this),this.setManualPrice=e(this.setManualPrice,this),this.changeItemsOrdination=e(this.changeItemsOrdination,this),this.cloneItem=e(this.cloneItem,this),this.removeAllItems=e(this.removeAllItems,this),this.removeItems=e(this.removeItems,this),this.updateItems=e(this.updateItems,this),this.addToCart=e(this.addToCart,this),this.removeOffering=e(this.removeOffering,this),this.addOffering=e(this.addOffering,this),this.addOfferingWithInfo=e(this.addOfferingWithInfo,this),this.updateSelectableGifts=e(this.updateSelectableGifts,this),this.finishTransaction=e(this.finishTransaction,this),this.sendLocale=e(this.sendLocale,this),this.sendAttachment=e(this.sendAttachment,this),this.getOrderForm=e(this.getOrderForm,this),this._updateOrderForm=e(this._updateOrderForm,this),this._broadcastOrderFormUnlessPendingRequests=e(this._broadcastOrderFormUnlessPendingRequests,this),this._decreasePendingRequests=e(this._decreasePendingRequests,this),this._increasePendingRequests=e(this._increasePendingRequests,this),this._cacheOrderForm=e(this._cacheOrderForm,this),t.hostURL&&(d=t.hostURL),t.ajax?this.ajax=t.ajax:window.AjaxQueue?this.ajax=window.AjaxQueue($.ajax):this.ajax=$.ajax,this.promise=t.promise||$.when,this.CHECKOUT_ID="checkout",this.orderForm=void 0,this.orderFormId=void 0,this._pendingRequestCounter=0,this._urlToRequestMap={},this._allOrderFormSections=["items","totalizers","clientProfileData","shippingData","paymentData","sellers","messages","marketingData","clientPreferencesData","storePreferencesData","giftRegistryData","ratesAndBenefitsData","openTextField","commercialConditionData","customData"]}t=function(t){return t.replace(/^\s+|\s+$/g,"")},r=function(t,e,r,i,o){for(var n,s,a={},d=t.split(e),h=0,u=d.length;h