PageSourceSearch

https://www.eufy.com/_next/static/chunks/48151-1bc1325d43f3b78a.js

js eufy.com collected 2026-09-24 09:34:16 UTC 13,344 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4822ffbb-1ee8-42f7-9189-ea0d6378ca08",e._sentryDebugIdIdentifier="sentry-dbid-4822ffbb-1ee8-42f7-9189-ea0d6378ca08")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48151],{24750:function(e,l,n){"use strict";var t=n(85893);l.Z=e=>{let{...l}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"169",height:"80",viewBox:"0 0 169 80",fill:"none",...l,children:[(0,t.jsx)("path",{d:"M43.882 36.9682C42.0663 36.9682 40.5951 38.4295 40.5951 40.2331C40.5951 49.5503 32.9643 57.1327 23.5819 57.1327C14.1996 57.1327 6.56868 49.5528 6.56868 40.2331C6.56868 30.9134 14.1996 23.3335 23.5819 23.3335C27.7201 23.3335 31.6397 24.8076 34.708 27.4492L24.5052 37.216C23.1987 38.4678 23.1601 40.5346 24.4204 41.8324C25.0659 42.4966 25.9275 42.8313 26.7891 42.8313C27.6507 42.8313 28.4325 42.5273 29.0704 41.9167L41.6393 29.8864C41.6393 29.8864 41.6573 29.866 41.6651 29.8583C41.6908 29.8328 41.7165 29.8047 41.7422 29.7766C41.7937 29.7229 41.8451 29.6693 41.8914 29.6156C41.9145 29.5875 41.9351 29.5594 41.9557 29.5313C42.002 29.4725 42.0483 29.4138 42.0894 29.3525C42.1049 29.3295 42.1177 29.3039 42.1331 29.2809C42.1769 29.2145 42.218 29.1455 42.2566 29.0766C42.2669 29.0587 42.2746 29.0408 42.2823 29.0229C42.3235 28.9463 42.362 28.8671 42.3955 28.7879C42.4006 28.7751 42.4032 28.7649 42.4083 28.7521C42.4443 28.6653 42.4752 28.5784 42.5035 28.4915C42.5061 28.4813 42.5086 28.4736 42.5112 28.4634C42.5395 28.3715 42.5627 28.2795 42.5807 28.1875C42.5807 28.1773 42.5832 28.1645 42.5858 28.1543C42.6038 28.0623 42.6192 27.9729 42.6269 27.8809C42.6269 27.8631 42.6269 27.8452 42.6295 27.8298C42.6372 27.743 42.6424 27.6587 42.645 27.5718C42.645 27.5463 42.645 27.5233 42.645 27.4977C42.645 27.4185 42.6424 27.3393 42.6347 27.2601C42.6321 27.2295 42.6269 27.1988 42.6218 27.1656C42.6141 27.0941 42.6064 27.02 42.5909 26.9485C42.5858 26.9127 42.5755 26.8795 42.5678 26.8463C42.5524 26.7773 42.5395 26.7083 42.5189 26.6419C42.5086 26.6087 42.4958 26.5729 42.4855 26.5397C42.4649 26.4733 42.4418 26.4043 42.4161 26.3379C42.4032 26.3072 42.3878 26.2766 42.3749 26.2434C42.3466 26.1769 42.3157 26.108 42.2823 26.0441C42.2669 26.0134 42.2489 25.9853 42.2334 25.9572C42.1974 25.8908 42.1614 25.8269 42.1177 25.7631C42.0971 25.7324 42.074 25.7018 42.0534 25.6737C42.0123 25.6149 41.9711 25.5561 41.9248 25.4974C41.9197 25.4923 41.9145 25.4846 41.912 25.4795C37.4085 19.9664 30.7293 16.8036 23.5871 16.8036C10.5809 16.8036 0 27.3138 0 40.2331C0 53.1525 10.5809 63.6627 23.5871 63.6627C36.5932 63.6627 47.1741 53.1525 47.1741 40.2331C47.1741 38.4295 45.703 36.9682 43.8872 36.9682H43.882Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M120.948 0.537403C114.953 -0.739968 109.504 0.276822 105.607 3.40638C102.634 5.79251 99.0903 10.6389 99.0903 20.1629V21.3432C99.0903 21.379 99.0852 21.4122 99.0852 21.4454C99.0852 21.4786 99.0903 21.5144 99.0903 21.5476V60.395C99.0903 62.1986 100.561 63.66 102.377 63.66C104.193 63.66 105.664 62.1986 105.664 60.395V24.7104H120.254C122.07 24.7104 123.541 23.2491 123.541 21.4454C123.541 19.6418 122.07 18.1804 120.254 18.1804H105.728C106.034 13.6892 107.403 10.3604 109.738 8.48521C111.381 7.16696 114.419 5.82316 119.567 6.9217C121.344 7.2998 123.091 6.17828 123.471 4.41295C123.852 2.65018 122.723 0.912951 120.946 0.534849L120.948 0.537403Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M166.918 17.0459C165.229 16.3842 163.32 17.2094 162.654 18.8879C162.261 19.8791 155.175 37.7802 149.869 51.9028L136.459 18.8623C135.78 17.189 133.867 16.3791 132.18 17.0536C130.495 17.728 129.68 19.6313 130.359 21.3047L146.495 61.0667C146.15 62.0324 145.834 62.9342 145.551 63.7568C142.125 73.7484 136.405 73.5389 135.675 73.4674C135.675 73.4674 135.675 73.4674 135.672 73.47C135.59 73.4648 135.508 73.4572 135.425 73.4572C133.607 73.4572 132.144 74.9211 132.131 76.7298C132.118 78.5181 133.527 79.9564 135.376 79.9999C135.379 79.9999 135.382 79.9999 135.387 79.9999C135.392 79.9999 135.397 79.9999 135.402 79.9999C135.41 79.9999 135.418 79.9999 135.425 79.9999C135.449 79.9999 135.472 79.9973 135.495 79.9973C139.139 79.9513 147.454 78.467 151.778 65.8619C156.039 53.4357 168.644 21.601 168.77 21.2791C169.436 19.6006 168.603 17.705 166.913 17.0433L166.918 17.0459Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M85.8788 16.8077C84.063 16.8077 82.5919 18.2691 82.5919 20.0727V46.0876C82.5919 52.1781 77.6024 57.1343 71.4709 57.1343C65.3395 57.1343 60.3499 52.1781 60.3499 46.0876V20.0727C60.3499 18.2691 58.8788 16.8077 57.063 16.8077C55.2473 16.8077 53.7761 18.2691 53.7761 20.0727V46.0876C
153.7761 55.7803 61.7131 63.6643 71.4709 63.6643C81.2288 63.6643 89.1657 55.7778 89.1657 46.0876V20.0727C89.1657 18.2691 87.6946 16.8077 85.8788 16.8077Z",fill:"currentColor"})]})}},81398:function(e,l,n){"use strict";n.d(l,{Z:function(){return a}});var t=n(85893);n(67294);var o=n(93967),d=n.n(o),s=e=>"number"==typeof e?"".concat(e,"px"):e,r=n(25170),u=n.n(r),a=e=>{let{style:l,width:n,height:o,children:r,className:a,show:c=!0,boxHeight:m=o}=e,v=!!r&&!(n||o);return n=n||24,o=o||24,m=m||o,(0,t.jsx)("span",{className:d()(u().skeleton,a,{[u().show]:c,[u().wrapper]:v,[u().loaded]:!v&&!!r}),style:v?{}:{minWidth:s(n),minHeight:s(o),marginBottom:"calc(".concat(s(m)," - ").concat(s(o),")"),...l},children:r})}},28558:function(e,l,n){"use strict";var t=n(32231),o=n(61806),d=n(9977);let s=async e=>{let{locale:l,skus:n,clientId:s,formatData:r,recom_type:u,limit:a,version:c="v1",plan:m=""}=e;if(!n||0===n.length)return{};let v=(0,d.AU)(),_={skus:n,shopify_domain:o.I18N_STORE_DOMAIN[l],user_id:s||v||"",limit:a,plan:m};u&&(_.recom_type=u);let p=await (0,t.default)({url:"v1"==c?"/api/multipass/rainbowbridge/personalize/relation":"/api/multipass/rainbowbridge/".concat(c,"/personalize/relation/by_sku"),locale:l,method:"GET",repeatKey:"skus",body:_});if((null==p?void 0:p.errors)||null==p||!p.data)return!1;{let e=null==p?void 0:p.data;return r?r(e):e}};l.Z=s},96550:function(e,l,n){"use strict";n.d(l,{Z:function(){return R}});var t=n(85893),o=n(67294),d=n(9329),s=n(4411),r=n.n(s),u=n(55386),a=n(11163),c=n(56583),m=n(93967),v=n.n(m),_=n(19536),p=n(18254),C=n(31897),g=n(28558),x=n(36716),b=n(33138),f=n(63343),h=n(67908),k=n(9977),y=n(81398),w=n(24750),j=()=>(0,t.jsxs)("div",{className:r().productsItem,children:[(0,t.jsx)("div",{className:v()(r().imgBox,r().skeletonImgBox),children:(0,t.jsx)(w.Z,{className:r().skeletonLogo})}),(0,t.jsxs)("div",{className:r().productsInfo,children:[(0,t.jsx)(y.Z,{className:"mb-[8px] mt-[16px] !w-[80%]",height:22}),(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(y.Z,{className:"!w-[100px]",height:24})}),(0,t.jsxs)("div",{className:"flex items-center gap-[8px] min-l:flex-col",children:[(0,t.jsx)(y.Z,{className:"!w-[130px] !rounded-full min-l:!w-full",height:40}),(0,t.jsx)(y.Z,{className:"!w-[130px] !rounded-full min-l:!w-full",height:40})]})]})]});let N=e=>{var l,n,s;let{item:a,shopCommon:m,metafieldsProduct:p}=e,[g,x]=(0,o.useState)(!1),{buyNow:b}=(0,C.Z)(),y=(0,o.useMemo)(()=>{var e,l;return(null==p?void 0:p.sku)?(null==a?void 0:null===(e=a.variants)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.sku)===(null==p?void 0:p.sku)))||{}:null==a?void 0:null===(l=a.variants)||void 0===l?void 0:l[0]},[a,p]),{coupon:w}=(0,f.G)({variant:y}),j=!!w;null==y||y.sku;let{priceFormatted:N,discountPriceFormatted:R}=(0,h.Z)({product:a,variant:y,coupon:w}),P=(0,o.useMemo)(()=>"/products/".concat(a.handle,"?variant=").concat((0,k.Ll)(null==y?void 0:y.id),"&ref=blog"),[null==a?void 0:a.handle,null==y?void 0:y.id]);return(0,t.jsxs)("div",{className:v()(r().productsItem,{}),children:[(0,t.jsx)(_.Z,{className:r().imgBox,href:"".concat(P),children:(0,t.jsx)(d.Z,{className:"mx-auto w-[180px]",source:"".concat((null==y?void 0:null===(l=y.image)||void 0===l?void 0:l.url)||(null==a?void 0:null===(s=a.images)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:n.url)),alt:null==a?void 0:a.title})}),(0,t.jsxs)("div",{className:r().productsInfo,children:[(0,t.jsx)("div",{className:"mb-[8px] mt-[16px] text-[18px] font-medium leading-[1.2]",dangerouslySetInnerHTML:{__html:null==a?void 0:a.title}}),(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(u.Z,{variant:y,coupon:w,productTags:(null==a?void 0:a.tags)||[],discountPrice:j?R:N,originalPrice:null==y?void 0:y.price,className:r().productPrice})}),(0,t.jsxs)("div",{className:"flex items-center gap-[8px] min-l:flex-col",children:[(null==a?void 0:a.availableForSale)&&(0,t.jsx)("button",{className:v()(r().brs_btn,r().brs_product_btn),disabled:g,onClick:async()=>{var e,l,n,t;x(!0),await b({products:[a]}),(0,c.RC)({event:"ga4Event",event_name:"begin_checkout",event_parameters:{page_group:"blog",position:null==m?void 0:m.title,currency:(null==a?void 0:null===(e=a.price)||void 0===e?void 0:e.currencyCode)||"USD",value:null==w?void 0:w.variant_price,item_list_name:null==m?void 0:m.title,items:[{item_id:(null==w?void 0:w.sku)||(null==y?void 0:y.sku),item_name:w.product_title||(null==a?void 0:a.title),item_brand:"eufy",item_category:(null==w?void 0:w.category)||"",item_variant:(null==w?void 0:w.title)||(null==y?void 0:y.name),price:(null==w?void 0:w.variant_price)?Number(null==w?void 0:w.variant_price):Number(null==y?void 0:y.price),quantity:1,image_url:(null===(l=y.image)||void 0===l?void 0:l.url)||(null==a?void 0:null===(t=a.images)||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.url),item_category_id:AXON_CATEGORY_IDS[GTMtagsToCollection(null==a?void 0:a.tags)]||222,item_variant_id:(0,k.Ll)(null==y?void 0:y.id)}]}}),x(!1)},children:(null==m?void 0:m.blogBuyNowText)||(null==m?void 0:m.buyNow)}),(0,t.jsx)(_.Z,{className:v()(r().brs_btn,r().brs_product_sub_btn),href:P,onClick:()=>{var e;(0,c.RC)({event:"ga4Event",event_name:"select_item",event_parameters:{page_group:"blog",currency:(null==a?void 0:null===(e=a.price)||void 0===e?void 0:e.currencyCode)||"USD",item_list_name:null==m?void 0:m.title,items:[{item_id:(null==w?void 0:w.sku)||(null==y?void 0:y.sku),item_name:w.product_title||(null==a?void 0:a.title),item_brand:"eufy",item_category:(null==w?void 0:w.category)||"",item_variant:(null==w?void 0:w.title)||(null==y?void 0:y.name),price:(null==w?void 0:w.variant_price)?Number(null==w?void 0:w.variant_price):Number(null==y?void 0:y.price),index:i}]}})},children:(null==m?void 0:m.blogLearnMoreText)||(null==m?void 0:m.learn_more)})]})]})]})};var R=e=>{let{products:l,discountData:n,shopCommon:d,pageType:s,mainProduct:u,metafieldsRecommendsProducts:c,isLoading:m}=e,v=(0,a.useRouter)(),_=b.features?Object.keys(b.features):["us"],{locale:C,push:f}=v,[h,k]=(0,o.useState)(!1),[y,w]=(0,o.useState)(""),{checkProductTags:R}=(0,p.J)(),{products:P=[],loading:Z}=(0,x.Z)(y,C,_),I=(0,o.useCallback)(async()=>{let e=await (0,g.Z)({locale:C,skus:[null==u?void 0:u.sku],limit:3,version:"v2",recom_type:"details"});if(null==e?void 0:e.data){let l=(Array.isArray(null==e?void 0:e.data)?null==e?void 0:e.data:Object.keys(null==e?void 0:e.data).reduce((l,n)=>{var t,o;return l&&(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t[n])?[...l,...null==e?void 0:null===(o=e.data)||void 0===o?void 0:o[n]]:[]},[])).sort((e,l)=>l.ranking-e.ranking),n="";
1l.forEach(e=>{n+="".concat(null==e?void 0:e.handle,"&").concat(null==e?void 0:e.sku," OR ")}),w(n=n.substring(0,n.length-3))}},[null==u?void 0:u.sku,C]);(0,o.useEffect)(()=>{c&&(null==c?void 0:c.length)>0||I()},[I,c]);let B=(0,o.useMemo)(()=>null==P?void 0:P.filter(R),[P,R]),L=!!(c&&(null==c?void 0:c.length)>0),S=!L&&(!y||Z),E=L?m:S;return E||(null==B?void 0:B.length)||L?(0,t.jsxs)("div",{className:r().productsRecommendBox,children:[(0,t.jsx)("div",{className:r().productsRecommendTitle,children:(null==d?void 0:d.blog_recommends_products_title)||"Featured Products"}),(0,t.jsx)("div",{className:r().productsBox,children:E?Array.from({length:L?c.length:2}).map((e,l)=>(0,t.jsx)(j,{},l)):L?null==c?void 0:c.map(e=>{var n;let o=(null==l?void 0:null===(n=l.filter(R))||void 0===n?void 0:n.find(l=>(null==l?void 0:l.handle)===(null==e?void 0:e.handle)))||{};return(0,t.jsx)(N,{metafieldsProduct:e,item:o,shopCommon:d},null==e?void 0:e.handle)}):null==B?void 0:B.map((e,l)=>(0,t.jsx)(N,{item:e,shopCommon:d},l))})]}):null}},25683:function(e,l,n){"use strict";n.d(l,{k:function(){return t}});let t=e=>new Date(e).toLocaleString("en-US",{timeZone:"America/Los_Angeles"})},25170:function(e){e.exports={skeleton:"Skeleton_skeleton__5qCy5",loading:"Skeleton_loading__p3kii",wrapper:"Skeleton_wrapper__IEM8l",show:"Skeleton_show__MhsEw"}},4411:function(e){e.exports={productsRecommendBox:"RecommendsProducts_productsRecommendBox__BhtvD",productsRecommendTitle:"RecommendsProducts_productsRecommendTitle__hqP87",productsBox:"RecommendsProducts_productsBox__VMW77",productsItem:"RecommendsProducts_productsItem__V0C7Q",imgBox:"RecommendsProducts_imgBox__f_LUW",skeletonImgBox:"RecommendsProducts_skeletonImgBox__8fOQi",skeletonLogo:"RecommendsProducts_skeletonLogo__qfLju",productPrice:"RecommendsProducts_productPrice__2Aum_",basePrice:"RecommendsProducts_basePrice__a1gm_",brs_btn:"RecommendsProducts_brs_btn___REsk",brs_product_sub_btn:"RecommendsProducts_brs_product_sub_btn__oDHqE",brs_product_btn:"RecommendsProducts_brs_product_btn__VawJi"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.