PageSourceSearch

https://www.eufy.com/_next/static/chunks/4534.9ace044006e34ca4.js

js eufy.com collected 2026-09-24 09:36:35 UTC 12,360 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a0ac27af-e56f-4337-a587-2895726f0780",e._sentryDebugIdIdentifier="sentry-dbid-a0ac27af-e56f-4337-a587-2895726f0780")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4534,86068,55386,56494],{86068:function(e,n,t){t.d(n,{cn:function(){return l}});var r=t(90512),a=t(78820);function l(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return(0,a.m)((0,r.W)(n))}},55386:function(e,n,t){var r=t(85893),a=t(67294),l=t(93967),i=t.n(l),c=t(11163),s=t(24297),o=t(46911),u=t(63343),d=t(61506),p=t(3244),m=t(61806),x=t(77192);let f=e=>{let{text:n,className:t,savedStyle:a="pill",sizeClassName:l="text-[16px] md:text-[12px]"}=e;return"text"===a?(0,r.jsx)("span",{className:i()("whitespace-nowrap font-bold leading-[1.2] tracking-[-0.56px] text-eufy-color",t),children:n}):(0,r.jsx)("span",{className:i()("inline-flex items-center font-bold leading-[1.2] tracking-[-0.04em] text-info-quaternary",l,t),children:n})},v=e=>{let{label:n,price:t,className:a}=e;return(0,r.jsxs)("div",{className:i()("font-semibold text-[#FF9741]",a),children:[n," ",t]})},h=e=>{let{discountPrice:n,originalPrice:t,isComplianceMode:a,locale:l,shopCommon:c,className:o,priceSize:u="text-[20px]",originalPriceClassName:d,discountPriceClassName:p,priceRowClassName:m,theme:x="light",savedStyle:v="pill",savedLayout:h="inline",savedSize:b}=e,g=e=>{if(!e)return 0;if("number"==typeof e)return e;let n=(0,s.W6)(e);return isNaN(n)?0:n},N=g(n),j=g(t),y=N>0&&j>N,w=y?j-N:0,P=y?N:j,M=i()("font-bold leading-[1.2] tracking-[-0.04em]",u);if(!a)return(0,r.jsxs)("div",{className:i()("flex flex-wrap items-baseline gap-[4px]",o),children:[(0,r.jsx)("span",{className:i()(M,p||("light"===x?"text-[#1d1d1f]":"text-white")),children:(0,s.T4)({amount:P,locale:l})}),y&&(0,r.jsx)("span",{className:i()("font-bold text-[#B6B6BA] line-through",u,d),children:(0,s.T4)({amount:j,locale:l})})]});let _=(null==c?void 0:c.saved)||"Saved",T=w>0?"".concat(_," ").concat((0,s.T4)({amount:w,locale:l})):"";return(0,r.jsx)("div",{"data-part":"price-group",className:i()("flex flex-col gap-[2px]",o),children:(0,r.jsxs)("div",{className:i()("block"===h?"flex flex-col items-start":"flex flex-wrap items-center","text"===v?"gap-[2px]":"gap-[8px]",m),children:[(0,r.jsx)("span",{className:M,children:(0,s.T4)({amount:P,locale:l})}),T&&(0,r.jsx)(f,{text:T,savedStyle:v,sizeClassName:b,className:i()("text"===v&&u)})]})})};n.Z=e=>{let{variant:n,coupon:t,locale:l,productTags:b,theme:g="light",className:N,priceSize:j="text-[26px] md:text-[20px]",savedSize:y,nextTierSize:w="text-[18px] md:text-[14px]",discountPrice:P,originalPrice:M,originalPriceClassName:_,discountPriceClassName:T,priceRowClassName:k,showNextTierRow:S=!1,savedStyle:B="pill",savedLayout:L="inline"}=e,{locale:C}=(0,c.useRouter)(),E=l||C||"us",{profile:R,inApp:A}=(0,d.U)(),{priceModeConfig:I,shopCommon:O,memberSetting:W}=(0,p.O)(),z=!!(null==I?void 0:I.enabled),U=(null==I?void 0:I.promoLabel)||"",F=b||[],q=F.includes("price:label")||!A&&F.includes("price:label-web")||A&&F.includes("price:label-app"),D=(0,a.useMemo)(()=>null!=t?t:(0,u.z)({variant:n}),[t,n]),{memberTotalSave:Z,plusMemberTotalSave:G,memberPrice:H,plusMemberPrice:K}=(0,o.KM)({variant:n,coupon:D,profile:R}),V=(0,o.d6)({profile:R}),$=(null==n?void 0:n.price)||0,J=(0,a.useMemo)(()=>(0,o._L)({coupon:D,price:$,locale:E}),[D,$,E]),Q=J>0&&J<$,X=Number(K)||0,Y=Number(H)||0,ee=(0,a.useMemo)(()=>(0,x.ag)({memberType:V,plusMemberPrice:X,memberPrice:Y,hasDiscount:Q}),[V,X,Y,Q]),en=O||{},et=W||{},er=et.plus_member_price||en.plus_member_price||"Plus Member Price",ea=et.member_price||en.member_price||"Member Price",el=en.saved||"Saved",{finalPrice:ei,savedAmount:ec,nextTierLabel:es,nextTierPriceNum:eo}=(0,a.useMemo)(()=>{switch(ee){case x.Wz.NORMAL:{let e="",n=0;return V===m.dt.NON&&(Y>0?(e=ea,n=Y):X>0&&(e=er,n=X)),{finalPrice:$,savedAmount:0,nextTierLabel:e,nextTierPriceNum:n}}case x.Wz.DISCOUNT:{let e=J||$,n=Q?$-e:0,t="",r=0;return V===m.dt.NON&&(Y>0?(t=ea,r=Y):X>
10&&(t=er,r=X)),{finalPrice:e,savedAmount:n,nextTierLabel:t,nextTierPriceNum:r}}case x.Wz.MEMBER:return{finalPrice:Y||J||$,savedAmount:Z>0?Z:0,nextTierLabel:X>0?er:"",nextTierPriceNum:X>0?X:0};case x.Wz.PLUS_MEMBER:return{finalPrice:X||J||$,savedAmount:G>0?G:0,nextTierLabel:"",nextTierPriceNum:0};case x.Wz.PLUS_PREVIEW:{let e=J||$,n=Q?$-e:0;return{finalPrice:e,savedAmount:n,nextTierLabel:er,nextTierPriceNum:X}}default:return{finalPrice:$,savedAmount:0,nextTierLabel:"",nextTierPriceNum:0}}},[ee,$,J,Q,V,Y,X,Z,G,ea,er]),eu=(0,s.T4)({amount:ei,locale:E}),ed=(0,a.useMemo)(()=>q?U:ec<=0?"":"".concat(el," ").concat((0,s.T4)({amount:ec,locale:E})),[q,U,ec,E,el]),ep=(0,a.useMemo)(()=>eo>0?(0,s.T4)({amount:eo,locale:E}):"",[eo,E]);if(!n)return(0,r.jsx)(h,{discountPrice:P,originalPrice:M,isComplianceMode:z,locale:E,shopCommon:O,className:N,priceSize:j,originalPriceClassName:_,discountPriceClassName:T,priceRowClassName:k,theme:g,savedStyle:B,savedLayout:L,savedSize:y});if(!(null==n?void 0:n.availableForSale))return(0,r.jsx)("span",{className:i()("font-bold text-[#999]",j),children:(null==O?void 0:O.soldOut)||"Sold Out"});let em=i()("font-bold leading-[1.2] tracking-[-0.04em]",j),ex="light"===g?"text-[#1d1d1f]":"text-white";if(!z){let e=e=>{let n=Number(e);return isNaN(n)?String(e):(0,s.T4)({amount:n,locale:E})},n=0!==P&&""!==P&&"0"!==P,t=e(n?P:M),a=e(M),l=n&&t!==a?a:void 0;return(0,r.jsxs)("div",{className:i()("flex flex-wrap items-baseline gap-[4px]",N),children:[(0,r.jsx)("span",{"data-part":"discount-price",className:i()(em,T||ex),children:t}),l&&(0,r.jsx)("span",{className:i()("font-bold text-[#B6B6BA] line-through",j,_),children:l})]})}return(0,r.jsxs)("div",{"data-part":"price-group",className:i()("flex flex-col gap-[2px]",!(S&&es&&ep)&&"mb-[2px]",N),children:[(0,r.jsxs)("div",{className:i()("block"===L?"flex flex-col items-start":"flex flex-wrap items-center","text"===B?"gap-[2px]":"gap-[8px]",k),children:[(0,r.jsx)("span",{className:i()(em,T||ex),children:eu}),ed&&(0,r.jsx)(f,{text:ed,savedStyle:B,sizeClassName:y,className:i()("text"===B&&j)})]}),S&&es&&ep&&(0,r.jsx)(v,{label:es,price:ep,className:w})]})}},65080:function(e,n,t){t.d(n,{O:function(){return r}});let r=(e,n)=>{if(void 0!==window.fbq)try{n?window.fbq("track",e,n):window.fbq("track",e)}catch(e){console.log("fbqTrack error",e)}}},77192:function(e,n,t){t.d(n,{Wz:function(){return a},ag:function(){return i},oj:function(){return c}});var r,a,l=t(61806);function i(e){let{memberType:n,plusMemberPrice:t,memberPrice:r,hasDiscount:a}=e;return n===l.dt.NON?a?"discount":"normal":n===l.dt.FREE?t>0&&0===r?"plus_preview":r>0?"member":"discount":t>0?"plus_member":r>0?"member":"discount"}function c(e,n){return n<=e||n<=0?null:"-".concat(Math.round((n-e)/n*100),"%")}(r=a||(a={})).NORMAL="normal",r.DISCOUNT="discount",r.MEMBER="member",r.PLUS_MEMBER="plus_member",r.PLUS_PREVIEW="plus_preview"},91301:function(e,n,t){t.d(n,{g:function(){return i}});var r=t(85893),a=t(69805),l=t(86068);let i=e=>{let{as:n="div",className:t,children:i,componentClassName:c,...s}=e;return(0,r.jsx)(a.W2,{className:(0,l.cn)("w-full overflow-hidden",t),...s,children:(0,r.jsx)(n,{className:(0,l.cn)("grid w-full grid-cols-12",c),children:i})})}},47305:function(e,n,t){t.r(n),t.d(n,{default:function(){return P}});var r=t(85893),a=t(40645),l=t.n(a),i=t(3244),c=t(31990),s=t(10602),o=t(67294),u=t(65080),d=t(67145),p=t(61806),m=t(46187),x=t(11592),f=t(51010),v=t(91301),h=t(29882),b=t(714),g=t(11163),N=t(31897),j=t(48676),y=t(47800),w=t(86481);function P(e){let{payload:n,page:t,locale:a,metafields:P,buildProps:M}=e,{components:_=[]}=n||{},T=(0,m.Z)("(max-width: 768px)"),{locales:k}=(0,g.useRouter)(),{priceModeConfig:S}=(0,i.O)(),B=!!(null==S?void 0:S.enabled),{buyNow:L}=(0,N.Z)(),{udcGroupIds:C,udcWhiteGroupIds:E}=(0,j.Z)(),R=p.o,A=(0,o.useMemo)(()=>(0,y.c)(M,{inApp:R,udcGroupIds:C||[],udcWhiteGroupIds:E||[],locale:a}),[M,R,C,E,a]),I=(e,t,l)=>{if(!t||!l)return null;let i=(null==e?void 0:e.style)||(null==t?void 0:t.style)||"",o={id:(null==e?void 0:e.id)||l,data:t,locale:a,pageHandle:(null==n?void 0:n.handle)||"",metafields:P,isMobile:T,inApp:p.o,container:null==t?void 0:t.container};switch(l){case"ipc-banner":return(0,r.jsx)(c.HeroBanner,{...o});case"ipc-secondary-banner":return(0,r.jsx)(c.SecondaryBanner,{...o});case"ImageWithText":return(0,r.jsx)(c.ImageWithText,{...o});case"ipc-spacer":return(0,r.jsx)(c.Spacer,{className:"relative z-10",data:t,style:i,container:null==t?void 0:t.container},l+"_"+e.id);case"ipc-scene-shelf":return(0,r.jsx)(v.g,{children:(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)(x.default,{data:t,buildData:null==M?void 0:M.products})})});case"ipc-media-scene-switcher-v2":return(0,r.jsx)(c.MediaSceneSwitcherV2,{...o});case"ipc-media-scene-switcher":return(0,r.jsx)(c.MediaSceneSwitcher,{...o});case"ipc-member-equity":return(0,r.jsx)(c.MemberEquity,{...o});case"Navbar":return(0,r.jsx)(h.Z,{data:t,container:(null==e?void 0:e.container)||(null==t?void 0:t.container),style:i});case"series":{let n=["black"].includes(t.theme);return(0,r.jsx)("div",{className:"".concat(n?"bg-[#F5F5F7]":""),children:(0,r.jsx)(b.Z,{data:t,style:i,container:(null==e?void 0:e.container)||(null==t?void 0:t.container)})})}case"ProductHero":return(0,r.jsx)(c.ProductHero,{...o});case"ipc-shelfdisplay":{let e=e=>{var n,t,r;(0,u.O)("No1page Button Click");let l=null==e?void 0:null===(n=e.variants)||void 0===n?void 0:n.find(n=>(null==e?void 0:e.sku)===(null==n?void 0:n.sku)),i=(null==l?void 0:null===(r=l.id)||void 0===r?void 0:null===(t=r.split)||void 0===t?void 0:t.call(r,"/"))||[],c=null==i?void 0:i[(null==i?void 0:i.length)-1];window.location.href=(0,w.yF)({path:"/products/".concat(e.handle,"?ref=image_product_shelf&variant=").concat(c),locale:a,locales:k})},n=async(e,n,t,r)=>{(0,u.O)("No1page Button Click"),await L({products:[e],coupon:r})};return(0,r.jsx)(f.Z,{...o,buildProps:M,event:{primaryButton:n=>e(n),secondaryButton:(e,t,r,a)=>n(e,t,r,a)}})}case"ipc-mlg-block":return(0,r.jsx)(c.MultiLayoutGraphicBlock,{...o});case"ipc-graphicoverlay":return(0,r.jsx)(c.GraphicOverlay,{...o});case"ipc-graphic":return(0,r.jsx)(c.Graphic,{...o});case"ipc-tabs":return(0,r.jsx)(c.Tabs,{...o});case"ipc-mediaplayerbase":return(0,r.jsx)(c.MediaPlayerBase,{...o,data:{...o.data,titleAnimation:"fade-in"}});case"ProductCompare":return(0,r.jsx)(c.ProductCompare,{...o});case"Spec":return(0,r.jsx)(s.Z,{data:t,className:"ipc-specs"});case"ksp":return(0,r.jsx)(c.Ksp,{...o});default:return null}},O=(0,o.useMemo)(()=>_.map((e,n)=>{let{blockType:t,style:a}=e,{componentData:i,componentKey:c}=(0,d.$h)(e),s=c+"_"+e.id,u=["ipc-spacer","ipc-mediaplayerbase"].includes(t),p="ProductNav"===t,m="navigationBar"===c||"Navbar"===c,x=!u&&a&&(0,r.jsx)(l(),{id:"64a27b1967872630",dynamic:[a],children:"".concat(a,"\n        ")}),f=(0,r.jsxs)(r.Fragment,{children:[x,I(e,i,c)]});return p||m?(0,r.jsx)(o.Fragment,{children:f},s):(0,r.jsx)("div",{id:s,children:f},s)}),[_,A,a,k,L,P]);return(0,r.jsx)(c.AiuiProvider,{trackingData:{pageGroup:"Activity Page_".concat(null==n?void 0:n.handle),...B&&{showComparePrice:!1}},locale:a,children:(0,r.jsx)("main",{id:"robot-vacuum-family",children:O})})}},67145:function(e,n,t){t.d(n,{$h:function(){return a},Fq:function(){return l},N$:function(){return r},pM:function(){return i}});let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{if(/^https?:\/\//.test(e)){let t=new URL(e);return t.searchParams.set("ref",n),t.toString()}{let[t,r=""]=e.split("#"),[a,l=""]=t.split("?"),i=new URLSearchParams(l);i.set("ref",n);let c=i.toString()?"?".concat(i.toString()):"";return"".concat(a).concat(c).concat(r?"#".concat(r):"")}}catch(t){if(null==e?void 0:e.includes("?"))return e+"&ref="+encodeURIComponent(n);return e+"?ref="+encodeURIComponent(n)}},a=e=>{let n=null,t=null;return"customblock"===e.blockType?(n=e.data,t=null==e?void 0:e.componentKey):(t=(e.blockType||e.blockName).split("_")[0],n=e),{componentData:n,componentKey:t}},l=(e,n)=>e.find(e=>(null==e?void 0:e.componentKey)===n)||null,i=e=>{try{return new URL(e),!0}catch(e){return!1}}}}]);

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.