(self.webpackChunkui=self.webpackChunkui||[]).push([[76],{279:(e,n,t)=>{"use strict";var i=t(0);var a=t(237);function r({message:e,apps:{product:n}}){return(0,a.a)(n)?(0,i.jsx)(i.Fragment,{}):(0,i.jsx)("div",{class:"CaS5BeTZ",children:(0,i.jsx)("span",{class:"ZZ7mUH0x",children:e})})}var s=t(2),o=t(14),p=t(23);const u=[o.a];s.BentoUI.feature({featureId:"pdp_free_shipping_message",variations:[s.BentoUI.variation({component:r,variationId:"default",hydrate:!0,apps:u,render(e){return n=this,t=arguments,a=function*({globalState:e}){var n,t;const{initializationData:{shippingConfig:i},props:a}=yield e,r=yield(0,p.a)(a.byteState),s=null==r?void 0:r.product;if(!(null==s?void 0:s.id))return{html:""};const o=null!==(n=null==i?void 0:i.threshold)&&void 0!==n?n:50;return{props:{message:"Items"===(null!==(t=null==i?void 0:i.threshold_type)&&void 0!==t?t:"Revenue")?`Free Shipping at ${o}+ items`:`Free Shipping at $${o}+`}}},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{p(a.next(e))}catch(e){r(e)}}function o(e){try{p(a.throw(e))}catch(e){r(e)}}function p(n){var t;n.done?e(n.value):(t=n.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,o)}p((a=a.apply(n,t||[])).next())}));var n,t,i,a}})]}),(0,s.createEntrypoint)("pdp_free_shipping_message",r,u)},13:()=>{}},e=>{e.O(0,[1,2,3,4,5,6,7,8,9,10,11,12,14,13,17,15,16,18,20,19,22,21,24,23,27,25,42],(()=>e(e.s=279))),e.O()}]);