"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[104],{165:(e,o,s)=>{s.r(o)},1068:(e,o,s)=>{const t=s(164);(0,s(5).createEntrypoint)("reviews",t.ProductReviews)},77:(e,o,s)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.loadLoox=void 0;const t=s(26);o.loadLoox=function(e,o){const s=Object.assign({src:`https://loox.io/widget/loox.js?shop=${e}.myshopify.com`,id:"loox",anonymous:!1},o);(0,t.loadScriptWithDelay)(s)}},164:(e,o,s)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ProductReviews=o.useLooxObserver=void 0;const t=s(0),r=(s(1),s(3)),i=s(77);function n(e){const[o,s]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const s=new IntersectionObserver((([e])=>{(null==e?void 0:e.isIntersecting)&&(0,i.loadLoox)("blendjet")}),e);return o&&s.observe(o),()=>{o&&s.unobserve(o)}}),[o]),{ref:o,setRef:s}}s(165),o.useLooxObserver=n,o.ProductReviews=function({id:e}){const{ref:o,setRef:s}=n({rootMargin:"2000px"});return(0,t.jsx)("div",Object.assign({id:"reviews",class:"reviews",ref:s},{children:(0,t.jsx)("div",{id:"looxReviews",class:"loox-reviews","data-product-id":e})}))}}},e=>{e.O(0,[1,2,18],(()=>(1068,e(e.s=1068)))),e.O()}]);