(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[10],{294:function(o,c){},304:function(o,c,t){"use strict";t.r(c);var n=t(6),e=t.n(n),r=t(1),s=(t(4),t(5)),a=t.n(s),i=t(69),u=t(191),k=(t(294),function(o){return Object(r.sprintf)(Object(r.__)("%d left in stock",'kkart'),o)}),b=function(o,c){return c?Object(r.__)("Available on backorder",'kkart'):o?Object(r.__)("In Stock",'kkart'):Object(r.__)("Out of Stock",'kkart')};c.default=Object(u.withProductDataContext)((function(o){var c,t=o.className,n=Object(i.useInnerBlockLayoutContext)().parentClassName,r=Object(i.useProductDataContext)().product;if(!r.id||!r.is_purchasable)return null;var s=!!r.is_in_stock,u=r.low_stock_remaining,d=r.is_on_backorder;return React.createElement("div",{className:a()(t,"kkart-block-components-product-stock-indicator",(c={},e()(c,"".concat(n,"__stock-indicator"),n),e()(c,"kkart-block-components-product-stock-indicator--in-stock",s),e()(c,"kkart-block-components-product-stock-indicator--out-of-stock",!s),e()(c,"kkart-block-components-product-stock-indicator--low-stock",!!u),e()(c,"kkart-block-components-product-stock-indicator--available-on-backorder",!!d),c))},u?k(u):b(s,d))}))}}]);