(()=>{var __webpack_modules__={8152:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Accordion=void 0,i(1181);var r=i(6055);function n(e,t,i){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function a(e,t){var i=function(e,t,i){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t);return l(e,i)}function o(e,t,i){return c(e,t),s(i,"get"),l(e,i)}function s(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function c(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function l(e,t){return t.get?t.get.call(e):t.value}var u=new WeakMap,d=new WeakMap;class p{static create(){return o(this,p,h)||(e=this,t=p,i=h,r=new this,c(e,t),s(i,"set"),function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,i,r)),o(this,p,h);var e,t,i,r}constructor(){n(this,u,{writable:!0,value:".js-accordion-private-toggle"}),n(this,d,{writable:!0,value:".js-accordion-private-content"}),this.init()}init(){this.initializeEvents(),window.innerWidth<768?(0,r.jQueryNuvem)("".concat(a(this,d),"-mobile")).hide():(0,r.jQueryNuvem)("".concat(a(this,u),"-mobile")).css("cursor","default").removeAttr("href")}initializeEvents(){const e=[a(this,u)];window.innerWidth<768&&e.push("".concat(a(this,u),"-mobile")),(0,r.jQueryNuvem)(document).on("click",e.join(", "),(function(e){e.preventDefault(),p.toggle(this)}))}static toggle(e){(0,r.jQueryNuvem)(e).hasClass("js-accordion-private-show-only")?(0,r.jQueryNuvem)(e).hide():((0,r.jQueryNuvem)(e).find(".js-accordion-private-toggle-inactive").toggle(),(0,r.jQueryNuvem)(e).find(".js-accordion-private-toggle-active").toggle()),(0,r.jQueryNuvem)(e).closest(".js-accordion-private-container").find(".js-accordion-private-content").first().slideToggle("fast")}}t.Accordion=p;var h={writable:!0,value:void 0}},2590:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddToCartButtons=void 0,i(1181);var r=i(1115),n=i(4285),a=i(4556),o=i(7761);function s(e,t){c(e,t),t.add(e)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t){return f(e,u(e,t,"get"))}function u(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}function d(e,t,i){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return i}function p(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}function h(e,t,i){return m(e,t),v(i,"get"),f(e,i)}function v(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function m(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function f(e,t){return t.get?t.get.call(e):t.value}var g=new WeakMap,y=new WeakSet,w=new WeakSet,_=new WeakSet,j=new WeakSet,b=new WeakSet,S=new WeakSet,E=new WeakSet;class C{static create(){var e,t,i;return h(this,C,O)||(this,e=C,t=O,i=new this,m(this,e),v(t,"set"),p(this,t,i)),h(this,C,O)}constructor(){var e,t;s(this,E),s(this,S),s(this,b),s(this,j),s(this,_),s(this,w),s(this,y),t={writable:!0,value:void 0},c(this,e=g),e.set(this,t),this.onClick=this.onClick.bind(this),this.initializeEvents()}initializeEvents(){d(this,y,N).call(this),d(this,w,T).call(this)}onClick(e){const t=d(this,_,k).call(this,e);t&&window.metricService.dispatch(t)}}function N(){if(LS.template!==o.ThemePage.PRODUCT)return;const e=d(this,E,A).call(this);e&&e.addEventListener("click",this.onClick)}function T(){const e=LS.template===o.ThemePage.CATEGORY?"".concat(a.PRODUCT_GRID_SELECTOR,",").concat(a.QUICK_SHOP_MODAL_SELECTOR):a.QUICK_ADD_TO_CART_BUTTON_SELECTOR;document.querySelectorAll(e).forEach((e=>e.addEventListener("click",this.onClick)))}function k(e){const t=e.target;return d(this,j,P).call(this,t)?d(this,b,Q).call(this):d(this,S,L).call(this,t)}function P(e){const t=d(this,E,A).call(this);return t&&t===e}function Q(){const e=document.querySelector(a.SINGLE_QUANTITY_INPUT_SELECTOR),t=e?e.value:1;return new r.AddToCartEvent(String(LS.product.id),t)}function L(e){if(e.closest(a.QUICK_ADD_TO_CART_BUTTON_SELECTOR)!==e)return;const t=e.closest("form").querySelector(a.ADD_TO_CART_PRODUCT_ID_INPUT_SELECTOR).value;return new n.QuickShopAddEvent(String(t))}function A(){var e,t;return void 0===l(this,g)&&(this,e=g,t=document.querySelector(a.SINGLE_ADD_TO_CART_BUTTON_SELECTOR),p(this,u(this,e,"set"),t)),l(this,g)}t.AddToCartButtons=C;var O={writable:!0,value:void 0}},6429:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AjaxContactForm=void 0,i(1181);var r=i(7164),n=i(2061),a=i(2625),o=i(640);function s(e,t,i){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function c(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,u(e,t,"get"))}function l(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,u(e,t,"set"),i),i}function u(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var d=new WeakMap,p=new WeakMap,h=new WeakMap,v=new WeakMap;t.AjaxContactForm=class{constructor(e,t,i){s(this,d,{writable:!0,value:void 0}),s(this,p,{writable:!0,value:void 0}),s(this,h,{writable:!0,value:void 0}),s(this,v,{writable:!0,value:void 0}),l(this,p,t),l(this,h,i),l(this,v,!1),n.DOMContentLoaded.addEventOrExecute((()=>{l(this,d,new r.BaseForm(e)),this.initializeEvents()}))}initializeEvents(){null===c(this,d).getElement()||void 0===window.recaptchaEnabled||c(this,p).isAcknowledged()||(l(this,v,!0),c(this,h).enableRecaptchaV3(c(this,d)),this.onPopupReleased())}async onSubmit(){c(this,v)&&await c(this,h).onRecaptchaV3Solved(c(this,d),"createContact")}onPopupReleased(){a.HomePopupReleased.addEvent((()=>o.RecaptchaFormInViewPort.trigger()))}}},7164:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseForm=void 0,i(1181);var r=i(2621);function n(e,t,i){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function a(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,s(e,t,"get"))}function o(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,s(e,t,"set"),i),i}function s(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var c=new WeakMap,l=new WeakMap,u=new WeakMap;t.BaseForm=class{constructor(e){n(this,c,{writable:!0,value:void 0}),n(this,l,{writable:!0,value:void 0}),n(this,u,{writable:!0,value:void 0}),o(this,c,Array.isArray(e)?e.join(","):e),o(this,l,document.querySelector(a(this,c))),o(this,u,a(this,l)?new r.SubmitButton(a(this,l)):null)}getElement(){return a(this,l)}getSubmitButton(){return a(this,u)}submit(){const e=a(this,l).querySelector("[type=submit]"),t=this.appendProperty(e.name,e.value,!0);a(this,l).submit(),t.remove()}appendProperty(e,t,i){let r=a(this,l).querySelector("input[name='".concat(e,"']"));return null!==r&&"submit"!==r.type||(r=document.createElement("input"),r.setAttribute("name",e),i&&r.setAttribute("type","hidden")),r.setAttribute("value",t),a(this,l).appendChild(r),r}}},8327:(e,t)=>{function i(e,t,i){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),i}Object.defineProperty(t,"__esModule",{value:!0}),t.BootstrapDropdown=void 0;class r{static toggle(e){if(e.classList.contains("disabled")||e.disabled)return;const t=e.parentNode,a=t.classList.contains("open");if(i(r,r,n).call(r),a)return!1;if("ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")){const t=document.createElement("div");t.classList.add("dropdown-backdrop"),e.after(t),t.addEventListener("click",i(r,r,n))}return t.classList.contains("open")?t.classList.remove("open"):t.classList.add("open"),!1}static initEvents(){jQueryNuvem(document).on("click","[data-toggle='dropdown']",(function(){r.toggle(this)}))}}function n(e){e&&3===e.which||(document.querySelectorAll(".dropdown-backdrop").forEach((e=>e.remove())),document.querySelectorAll("[data-toggle='dropdown']").forEach((e=>{const t=e.parentNode;t.classList.contains("open")&&t.classList.remove("open")})))}t.BootstrapDropdown=r},6523:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BootstrapModal=void 0;var r=i(6055);function n(e,t,i){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),i}class a{static toggle(e,t){return n(a,a,o).call(a,e)?a.hide(e,t):a.show(e,t)}static show(e,t){if(e.trigger("show.bs.modal"),n(a,a,o).call(a,e))return;document.body.classList.add("modal-open"),n(a,a,l).call(a,e,t),e.find('[data-dismiss="modal"]').on("click",(i=>{i.preventDefault(),a.hide(e,t)}));const i=function(){e.show().prop("scrollTop",0).addClass("in").attr("aria-hidden",!1)},r=e.hasClass("fade");n(a,a,c).call(a,e,t),r&&t.backdrop?setTimeout(i,150):i()}static hide(e,t){n(a,a,o).call(a,e)&&(document.body.classList.remove("modal-open"),n(a,a,l).call(a,e,t),e.removeClass("in").attr("aria-hidden",!0),e.hasClass("fade")?setTimeout((()=>n(a,a,s).call(a,e)),150):n(a,a,s).call(a,e))}static initEvents(){(0,r.jQueryNuvem)(document).on("click",'[data-toggle="modal"]',(function(e){var t;if(!window.enableNativeLibraries)return;e.preventDefault();const i=null!==(t=this.getAttribute("data-target"))&&void 0!==t?t:this.getAttribute("href");(0,r.jQueryNuvem)(i).modal("toggle")}))}}function o(e){return e.hasClass("in")}function s(e){e.hide();const t=(0,r.jQueryNuvem)(".modal-backdrop");if(!t.length)return void e.trigger("hidden.bs.modal");t.removeClass("in");const i=function(){t.remove(),e.trigger("hidden.bs.modal")};e.hasClass("fade")?setTimeout(i,150):i()}function c(e,t){const i=document.createElement("div");i.classList="modal-backdrop fade in",document.body.appendChild(i),i.addEventListener("click",(function(){setTimeout((()=>{a.hide(e,t)}),2)})),e.on("click",(function(i){i.target===i.currentTarget&&a.hide(e,t)}))}function l(e,t){n(a,a,o).call(a,e)?document.removeEventListener("keyup",(i=>n(a,a,u).call(a,i,e,t))):t.keyboard&&document.addEventListener("keyup",(i=>n(a,a,u).call(a,i,e,t)))}function u(e,t,i){"Escape"===e.code&&a.hide(t,i)}t.BootstrapModal=a},916:(e,t)=>{function i(e,t,i){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),i}Object.defineProperty(t,"__esModule",{value:!0}),t.BootstrapTab=void 0;class r{static show(e){const t=e.parentNode;if("LI"===t&&t.classList.contains("active"))return;const a=e.closest("ul:not(.dropdown-menu)");let o=e.getAttribute("href");o=o&&o.replace(/.*(?=#[^\s]*$)/,"");const s=document.querySelector(o);i(r,r,n).call(r,e.closest("li"),a),i(r,r,n).call(r,s,s.parentNode)}static initEvents(){jQueryNuvem(document).on("click","[data-toggle='tab']",(function(e){e.preventDefault(),r.show(this)}))}}function n(e,t){t.querySelector(".active").classList.remove("active"),e.classList.add("active")}t.BootstrapTab=r},3881:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartAlert=void 0;var r=i(6055);t.CartAlert=class{static create(e,t){let i=e.parentElement.querySelector(".alert.alert-warning");i||(i=document.createElement("div"),i.classList.add("alert","alert-warning"),e.after(i)),i.textContent=t,i.style.display="block",setTimeout((()=>(0,r.jQueryNuvem)(i).fadeOut(500)),5e3)}}},3535:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartContainer=void 0,i(1181);var r=i(1638);function n(e,t,i){a(e,t),t.set(e,i)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t){return h(e,c(e,t,"get"))}function s(e,t,i){return l(e,c(e,t,"set"),i),i}function c(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}function l(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}function u(e,t,i){return p(e,t),d(i,"get"),h(e,i)}function d(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function p(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function h(e,t){return t.get?t.get.call(e):t.value}var v=new WeakMap,m=new WeakMap,f=new WeakMap,g=new WeakMap,y=new WeakSet;class w{static create(){var e,t,i;return u(this,w,j)||(this,e=w,t=j,i=new this,p(this,e),d(t,"set"),l(this,t,i)),u(this,w,j)}constructor(){var e;a(this,e=y),e.add(this),n(this,v,{writable:!0,value:["hidden","none",""]}),n(this,m,{writable:!0,value:"#ajax-cart-details,#modal-cart"}),n(this,f,{writable:!0,value:void 0}),n(this,g,{writable:!0,value:0}),s(this,f,document.querySelector(o(this,m))),null!==o(this,f)&&this.initializeVisibilityObserver()}initializeVisibilityObserver(){new IntersectionObserver((e=>{e.forEach((e=>{(function(e,t,i){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return i})(this,y,_).call(this,e)}))})).observe(o(this,f))}}function _(e){if(1===o(this,g))return void s(this,g,0);const t=window.getComputedStyle(e.target);void 0!==typeof(null==t?void 0:t.display)&&-1===o(this,v).indexOf(null==t?void 0:t.display)&&(s(this,g,1),r.CartViewed.trigger())}t.CartContainer=w;var j={writable:!0,value:void 0}},7934:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartItemAlert=void 0;var r=i(6713),n=i(4037),a=i(1052),o=i(5216);t.CartItemAlert=class{static create(e,t,i){var s;let c=e.parentElement.querySelector("#error-ajax-stock");c&&c.remove(),c=(null!==(s={cali:r.CartItemAlert,lima:n.CartItemAlert,uyuni:a.CartItemAlert}[LS.theme.code])&&void 0!==s?s:o.CartItemAlert).create(t,i),e.after(c)}}},4910:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartItems=void 0;var r=i(2476);function n(e,t,i){return o(e,t),a(i,"get"),function(e,t){return t.get?t.get.call(e):t.value}(e,i)}function a(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function o(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}class s{static create(){return n(this,s,c)||(e=this,t=s,i=c,r=new this,o(e,t),a(i,"set"),function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,i,r),n(this,s,c).initializeEvents()),n(this,s,c);var e,t,i,r}updateCartItems(e){var t;const i=e.item,r=+e.quantity,n=LS.cart.items.findIndex((e=>e.item_id===i.id));-1==n?(i.quantity=null!==(t=i.quantity)&&void 0!==t?t:r,i.item_id=i.id,LS.cart.items.push(i)):LS.cart.items[n].quantity+=r}initializeEvents(){this.onCartUpdated()}onCartUpdated(){r.ItemAddedToCart.addEvent((e=>{this.updateCartItems(e.detail)}))}}t.CartItems=s;var c={writable:!0,value:void 0}},4453:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartItemsPriceManager=void 0;var r=i(6055);function n(e,t,i){return o(e,t),a(i,"get"),function(e,t){return t.get?t.get.call(e):t.value}(e,i)}function a(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function o(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}class s{static create(){return n(s,s,c)||(e=s,t=s,i=c,r=new s,o(e,t),a(i,"set"),function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,i,r)),n(s,s,c);var e,t,i,r}static updatePrices(e){n(s,s,c).updateCartPrices(e)}updateCartPrices(e){e.cart.products.forEach((e=>{this.updateItemPrices(e)}))}updateItemPrices(e){this.updateUnitPrice(e),this.updateSubtotalPrice(e),this.updateComparePricesVisibility(e)}updateUnitPrice(e){(0,r.jQueryNuvem)('.js-cart-item[data-item-id="'+e.id+'"] .ajax-cart-item-unit-price,.js-cart-item[data-item-id="'+e.id+'"] .col-price span,.js-cart-item-unit-price[data-line-item-id="'+e.id+'"]').html(e.price_short)}updateSubtotalPrice(e){(0,r.jQueryNuvem)('.col-subtotal span[data-item-variant="'+e.variant_id+'"],.js-cart-item-subtotal[data-item-variant="'+e.variant_id+'"],.col-subtotal span[data-line-item-id="'+e.id+'"],.js-cart-item-subtotal[data-line-item-id="'+e.id+'"]').html(e.subtotal_short)}updateComparePricesVisibility(e){const t=e.price!==e.compare_at_price,i=(0,r.jQueryNuvem)('.js-cart-item-unit-price-compare-price-container[data-line-item-id="'+e.id+'"]'),n=(0,r.jQueryNuvem)('.js-cart-item-subtotal-compare-price-container[data-line-item-id="'+e.id+'"]');t?(i.show(),n.show(),this.updateUnitComparePrice(e),this.updateSubtotalComparePrice(e)):(i.hide(),n.hide())}updateUnitComparePrice(e){(0,r.jQueryNuvem)('.js-cart-item-unit-price-compare-price[data-line-item-id="'+e.id+'"]').html(e.compare_at_price_short)}updateSubtotalComparePrice(e){(0,r.jQueryNuvem)('.js-cart-item-subtotal-compare-price[data-line-item-id="'+e.id+'"]').html(e.subtotal_compare_at_price)}}t.CartItemsPriceManager=s;var c={writable:!0,value:void 0}},8500:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartItemsPromotionManager=void 0,i(1181);var r=i(6055);t.CartItemsPromotionManager=class{static update(e){(0,r.jQueryNuvem)(".js-cart-item-promotion-label").each((function(e){e.style.setProperty("display","none","important")}));for(const[t,i]of Object.entries(e))i&&(0,r.jQueryNuvem)('.js-cart-item[data-item-id="'.concat(t,'"] .js-cart-item-promotion-label')).text(i).show()}}},799:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartNotification=void 0;var r=i(2559);function n(e,t,i){return o(e,t),a(i,"get"),function(e,t){return t.get?t.get.call(e):t.value}(e,i)}function a(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function o(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}class s{static create(){return n(this,s,c)||(e=this,t=s,i=c,r=new this,o(e,t),a(i,"set"),function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,i,r),n(this,s,c).initializeEvents()),n(this,s,c);var e,t,i,r}updateTotal(e){document.querySelectorAll(".js-alert-added-to-cart .js-cart-total").forEach((t=>{t.innerHTML=e.totalShort(),t.setAttribute("data-priceraw",e.total())}))}initializeEvents(){this.onCartUpdated()}onCartUpdated(){r.CartUpdated.addEvent((e=>{this.updateTotal(e.detail.totals)}))}}t.CartNotification=s;var c={writable:!0,value:void 0}},2734:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartShipping=void 0;var r=i(4912),n=i(825);function a(e,t,i){return s(e,t),o(i,"get"),function(e,t){return t.get?t.get.call(e):t.value}(e,i)}function o(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function s(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}class c{static create(){return a(this,c,l)||(e=this,t=c,i=l,r=new this,s(e,t),o(i,"set"),function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=i}}(e,i,r)),a(this,c,l);var e,t,i,r}constructor(){this.initializeEvents()}initializeEvents(){this.onCartUpdated()}static shippingLoading(){document.querySelectorAll("#shipping-calculator-form, .shipping-calculator-form, .js-shipping-calculator-form").forEach((e=>n.Display.none(e))),this.cleanShippingContainer()}static cleanShippingContainer(){document.querySelectorAll("#shipping-calculator-response, .shipping-calculator-response, .js-shipping-calculator-response").forEach((e=>{n.Display.none(e),e.innerHTML=""}))}onCartUpdated(){r.CartTotalUpdated.addEvent((e=>{LS.updateShippingOnShippableCart("addProduct")}))}}t.CartShipping=c;var l={writable:!0,value:void 0}},8682:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CartValidationMessages=void 0;var r=i(6055);class n{static escapeHtml(e){if(null==e)return"";if("string"!=typeof e)return String(e);const t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return e.replace(/[&<>"'/]/g,(e=>t[e]))}static sanitizeClassNames(e){return e&&"string"==typeof e?e.split(/\s+/).filter((e=>/^[a-zA-Z0-9_-]+$/.test(e))).join(" "):""}static validate(e){var t;if(!e)return;const i=null!==(t=e.checkout_enabled_validation_messages)&&void 0!==t?t:[],a=(0,r.jQueryNuvem)(".js-checkout-enabled-validation-messages");if(a&&a.length>0){const t=i.length>0;if(t){const e=n.sanitizeClassNames(a.data("alertClasses")||""),t=i.map((e=>n.escapeHtml(e))).join("