1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a4099da8-42b9-4710-a882-7aa915519a4e",e._sentryDebugIdIdentifier="sentry-dbid-a4099da8-42b9-4710-a882-7aa915519a4e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95446,79222,79970],{45622:function(e,t,l){"use strict";var n=l(85893),i=l(42560),o=l(11472),a=l(19536),r=l(25362),u=l(37723),s=l(11163),d=l(67294);let c=r.ZP.create(e=>{var t,l,c,v;let{data:m}=e,f=(0,r.dd)(),{asPath:p}=(0,s.useRouter)(),g=(0,d.useMemo)(()=>{var e,t,l;return null==p?void 0:null===(l=p.split("?"))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:null===(e=t.substring(1))||void 0===e?void 0:e.replace(/\//g,"_")},[p]);return(0,n.jsx)(i.Z,{locked:!1,className:"w-[92vw] max-w-[942px]",onClose:()=>f.remove(),children:(0,n.jsxs)("div",{className:"max-h-[80vh] overflow-auto min-xl1:max-h-[90vh]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(u.Z,{iconKey:"eufyPlusPure",className:"w-[17px] text-[#462706] min-l:w-9"}),(0,n.jsx)("h3",{className:"text-xl font-semibold !leading-[1.2] text-[#472807] min-l:text-[32px]",dangerouslySetInnerHTML:{__html:m.title}})]}),(0,n.jsx)("p",{className:"mt-2 text-base !leading-[1.2] text-[#6f3e07] opacity-80 min-l:text-xl",children:m.subtitle}),(0,n.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-4",children:null===(t=m.list)||void 0===t?void 0:t.map((e,t)=>(0,n.jsxs)("div",{className:"rounded-xl bg-[#fffaf2] p-3 min-l:p-4",children:[(0,n.jsx)(u.Z,{className:"w-10",iconKey:e.icon}),(0,n.jsx)(o.Z,{className:"mt-3 text-sm font-semibold !leading-[1.2] text-[#472807] opacity-95 min-l:text-xl",html:e.title}),(0,n.jsx)(o.Z,{className:"mt-2 text-sm font-semibold !leading-[1.2] text-[#462706] opacity-75 min-l:text-base",html:e.subtitle})]},t))}),(0,n.jsx)("h5",{className:"mt-6 font-semibold text-[#623607]",dangerouslySetInnerHTML:{__html:null===(l=m.annually)||void 0===l?void 0:l.title}}),(0,n.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-4",children:null===(v=m.annually)||void 0===v?void 0:null===(c=v.list)||void 0===c?void 0:c.map((e,t)=>(0,n.jsxs)("div",{className:"rounded-xl bg-[#fffaf2] p-3 min-l:p-4",children:[(0,n.jsx)(u.Z,{className:"w-10",iconKey:e.icon}),(0,n.jsx)(o.Z,{className:"mt-3 text-sm font-semibold !leading-[1.2] text-[#472807] opacity-95 min-l:text-xl",html:e.title}),(0,n.jsx)(o.Z,{className:"mt-2 text-sm font-semibold !leading-[1.2] text-[#462706] opacity-75 min-l:text-base",html:e.subtitle})]},t))}),(0,n.jsx)("div",{className:"mt-6",children:(0,n.jsx)(a.Z,{href:m.eufycredits.url,className:"text-sm font-semibold text-brand-color underline min-l:text-base",params:{label:"ref",val:g},children:m.eufycredits.text})})]})})});t.Z=c},48217:function(e,t,l){"use strict";l.d(t,{q:function(){return n}});let n="wsch09"},44306:function(e,t,l){"use strict";var n=l(67294);let i=(e,t,l)=>{var n;let i={value:t,expiry:new Date().getTime()+l,timestamp:l};null===(n=localStorage)||void 0===n||n.setItem(e,JSON.stringify(i))},o=(e,t)=>{var l,n;i("".concat(null==t?void 0:null===(n=t.globalCountry)||void 0===n?void 0:null===(l=n.code)||void 0===l?void 0:l.toLocaleUpperCase(),"-collection-referral-exclusive-code"),e,2592e6)},a=e=>{var t,l;let n=null===(t=localStorage)||void 0===t?void 0:t.getItem(e);if(!n)return null;let i=JSON.parse(n);return new Date().getTime()>i.expiry?(null===(l=localStorage)||void 0===l||l.removeItem(e),null):i},r=e=>{let{listingReferralCode:t,globalCountry:l}=e,n=new URLSearchParams(location.search).get("utm_campaign");if(n){var i,o,r;let e=a("".concat(null==l?void 0:null===(i=l.code)||void 0===i?void 0:i.toLocaleUpperCase(),"-collection-referral-exclusive-code"));if(t){if((null==t?void 0:t.utm_campaign)===n)return t;if(e&&(null==e?void 0:e.value)&&(null==e?void 0:null===(o=e.value)||void 0===o?void 0:o.utm_campaign)===n)return null==e?void 0:e.value}else if(e&&(null==e?void 0:e.value)&&(null==e?void 0:null===(r=e.value)||void 0===r?void 0:r.utm_campaign)===n)return null==e?void 0:e.value}};t.Z=function(e){let{variant:t,metafields:l}
1=e,[i,a]=(0,n.useState)({value:"",value_type:"",fixed_amount_sort_key:0,discountValue:"",utm_campaign:"",code:""}),[u,s]=(0,n.useState)(!1),[d,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=new URLSearchParams(location.search);if(null==l?void 0:l.referralExclusiveCode){let{code:t,utm_campaign:n,discountValue:i,value_type:a,value:r,fixed_amount_sort_key:u}=null==l?void 0:l.referralExclusiveCode;n&&t&&n===e.get("utm_campaign")&&(o({code:t,discountValue:i,value_type:a,fixed_amount_sort_key:u,value:r,utm_campaign:n},l),c(!0))}},[l]),(0,n.useEffect)(()=>{let e=r(l)||{};if(!e||!Object.keys(e).length||!t)return;a(e);let n=Number(null==t?void 0:t.price),{value_type:i,fixed_amount_sort_key:o}=e;s("fixed_amount"===i&&n>Number(o)||"percentage"===i)},[l,null==t?void 0:t.price,t]),{referralExclusiveCode:i,isSetReferralCode:u,showReferralExclusiveCode:d}}},53547:function(e,t,l){"use strict";var n=l(85893),i=l(2962),o=l(67294),a=l(11163),r=l(9977),u=l(61783);t.Z=e=>{var t,l,s,d,c,v;let{product:m,variant:f,metafields:p,yotpoReviews:g}=e,{standard_schema:y={value:!1},judgemeBadge:x}=p||{},{locale:h}=(0,a.useRouter)(),w=(0,o.useMemo)(()=>{var e;let t=!(null==f?void 0:f.availableForSale)||(null==f?void 0:f.price)===9999999.99;return(null==f?void 0:null===(e=f.metafields)||void 0===e?void 0:e.presell)==="presell"?"https://schema.org/PreOrder":t?"https://schema.org/SoldOut":"https://schema.org/InStock"},[f]),b=(0,o.useMemo)(()=>{if(g&&g.reviews){let{reviews:e}=g;return null==e?void 0:e.map(e=>{var t;return{author:{type:"Person",name:(null==e?void 0:null===(t=e.user)||void 0===t?void 0:t.display_name)||""},datePublished:(null==e?void 0:e.created_at)||"",reviewBody:(null==e?void 0:e.content)||"",reviewRating:{ratingValue:null==e?void 0:e.score,reviewCount:5}}})}},[g]),_=(0,o.useMemo)(()=>{if(x){let e=x.match(/data-average-rating=['"]([\d.]+)['"]/),t=x.match(/data-number-of-reviews=['"](\d+)['"]/),l=(null==t?void 0:t[1])||"0";if(!l||"0"===l)return;return{ratingValue:(null==e?void 0:e[1])||"0.00",reviewCount:l}}if(g&&g.bottomline){let{bottomline:e}=g,t=null==e?void 0:e.total_review;if(!t||0===t)return;return{ratingValue:null==e?void 0:e.average_score,reviewCount:t}}},[g,x]),j=(0,o.useMemo)(()=>((null==m?void 0:m.name)||"").replace(/"/g,'\\"'),[null==m?void 0:m.name]),N=(0,o.useMemo)(()=>(0,r.Pj)((null==m?void 0:m.description)||"").replace(/"/g,'\\"'),[null==m?void 0:m.description]),S=(0,o.useMemo)(()=>"".concat(u.cx).concat("us"===h?"":"/".concat(h),"/products/").concat(null==m?void 0:m.handle),[h,null==m?void 0:m.handle]),C=(0,o.useMemo)(()=>{let e=null==m?void 0:m.category;if(!e||"string"!=typeof e.name||""===e.name.trim())return;let t=(e.ancestors||[]).map(e=>null==e?void 0:e.name).filter(e=>e&&""!==e.trim()).reverse();if(0!==t.length)return{"@type":"CategoryCode",inCodeSet:"https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt",codeValue:[...t,e.name].join(" > ")}},[null==m?void 0:m.category]),R=null==m?void 0:null===(s=m.metafields)||void 0===s?void 0:null===(l=s.productData)||void 0===l?void 0:null===(t=l.intro_video)||void 0===t?void 0:t.video;return(0,n.jsx)("div",{"data-sentry-ignore":!0,children:(0,n.jsx)(i.Qb,{productName:j,images:null==m?void 0:null===(d=m.images)||void 0===d?void 0:d.map(e=>null==e?void 0:e.url),description:N,url:S,id:"au"===h||"nz"===h?S:"",brand:"eufy",reviews:b,aggregateRating:_,sku:null==f?void 0:f.sku,gtin:null==f?void 0:f.barcode,...C?{category:C}:{},...R?{video:{"@id":R}}:{},offers:y&&(null==y?void 0:y.value)?{"@type":"Offer",price:"".concat(null==f?void 0:f.price),availability:w,priceCurrency:"".concat(null==m?void 0:null===(c=m.price)||void 0===c?void 0:c.currencyCode)}:{"@type":"Offer",price:"".concat(null==f?void 0:f.price),url:"".concat(S),itemCondition:"https://schema.org/NewCondition",availability:w,priceCurrency:"".concat(null==m?void 0:null===(v=m.price)||void 0===v?void 0:v.currencyCode)}})})}},45609:function(e,t,l){"use strict";var n=l(85893),i=l(24297);t.Z=e=>{var t;let{product:l,value:o,metafields:a,className:r,isSuffix:u=!1,withLabel:s="",forceFormat:d=!1}=e,c=void 0!==o?o:(null==l?void 0:null===(t=l.price)||void 0===t?void 0:t.value)||0,{price:v,rule:m}=(0,i.kc)({amount:c,forceFormat:d}),[f,p]=v.split(m.decimalSymbol);return(0,n.jsxs)("span",{className:r,children:[u?(0,n.jsxs)(n.Fragment,{children:[f,(0,n.jsxs)("small",{className:"text-[72%]",children:[m.decimalSymbol,p]})]}):v,s?" "+s:""]})}},8539:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var n=l(67294);function i(e){var t;
1let[l,i]=(0,n.useState)(null!==(t=null==e?void 0:e.defaultTab)&&void 0!==t?t:"purchase");return{subscribeEnabled:!!e,tab:l,setTab:i,config:e}}},94829:function(e,t,l){"use strict";var n=l(85893);l(67294);var i=l(9977),o=l(93967),a=l.n(o),r=l(81529),u=l.n(r),s=l(41589),d=l(35478);t.Z=e=>{let{productId:t,locale:l,type:o="yotop",judgemeBadge:r="",to:c="",bazaarvoiceSettings:v,className:m}=e;if(!t)return null;let f=(0,i.Ll)(t),p=e=>{document.getElementById(e)&&(0,d.default)("#".concat(e),{duration:200,offset:-75})};switch(o){case"judgeme":return(0,n.jsx)("div",{className:a()(m),children:(0,n.jsxs)("div",{className:"relative flex",children:[(0,n.jsx)("div",{className:"jdgm-widget jdgm-preview-badge","data-id":f,id:"jdgmRatingBadge"}),c&&(0,n.jsx)(s.Z,{to:"".concat(c,"#reviews-jdgm"),onClick:()=>p("reviews-jdgm")})]})});case"bazaarvoice":return(0,n.jsx)("div",{"data-bv-show":(null==v?void 0:v.isInlineRating)?"inline_rating":"rating_summary","data-bv-product-id":null==v?void 0:v.productId,...(null==v?void 0:v.isInlineRating)?{"data-bv-redirect-url":"".concat("us"===l?"":"/"+l,"/products/").concat(v.handle)}:null});default:return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:a()("relative",u().StarRatingWrap),children:[(0,n.jsx)("div",{className:a()(u().StarRating,"yotpo bottomLine anker-yotpo"),"data-product-id":f}),c&&(0,n.jsx)(s.Z,{to:"".concat(c,"#reviews-yotpo"),onClick:()=>p("reviews-yotpo")})]})})}}},42560:function(e,t,l){"use strict";var n=l(85893),i=l(67294),o=l(54970),a=l.n(o),r=l(77929),u=l(58509),s=l(63823);t.Z=e=>{let{children:t,onClose:l,className:o,rootClassName:d,closeClassName:c,iconClassName:v,closeStrokeColor:m="currentColor",locked:f=!0}=e,p=(0,i.useRef)(),g=(0,i.useCallback)(e=>{if("Escape"===e.key)return l()},[l]);return(0,i.useEffect)(()=>{let e=p.current;return e&&f&&((0,u.Qp)(e,{reserveScrollBarGap:!0}),window.addEventListener("keydown",g)),()=>{(0,u.tP)(),window.removeEventListener("keydown",g)}},[g,f]),(0,n.jsx)("div",{className:(0,s.cn)(a().root,d),children:(0,n.jsxs)("div",{className:(0,s.cn)(a().modal,o),role:"dialog",ref:p,children:[(0,n.jsx)("button",{onClick:()=>l(),"aria-label":"Close panel",className:(0,s.cn)(a().close,c),children:(0,n.jsx)(r.Z,{stroke:m,className:(0,s.cn)("h-[22px] w-[22px]",v)})}),(0,n.jsx)("div",{children:t})]})})}},73505:function(e,t,l){"use strict";l.d(t,{V:function(){return u}});var n=l(11163),i=l(9977),o=l(5307),a=l(63823),r=l(67294);function u(e,t){let{selectedOptions:l,setSelectedOptions:u}=(0,o.l8)(),s=(0,n.useRouter)();return(0,r.useEffect)(()=>{if(s.isReady){var n,o,r;let s=(0,i.Tb)("variant",window.location.href),d=(0,i.d4)(s),c=null==e?void 0:null===(n=e.variants)||void 0===n?void 0:n.find(e=>t?e.sku===t:e.id===d);if(!l)return;let v=e.variants.find(e=>e.options.every(e=>l.hasOwnProperty(e.displayName)&&l[e.displayName]===e.values[0].label.toLowerCase()))||(null===(o=e.variants)||void 0===o?void 0:o[0]),m=c||v,f=null==(r=null==m?void 0:m.options)?void 0:r.reduce((e,t)=>{var l,n,i,o;return e[null==t?void 0:null===(l=t.displayName)||void 0===l?void 0:l.toLowerCase()]=null===(o=t.values)||void 0===o?void 0:null===(i=o[0])||void 0===i?void 0:null===(n=i.label)||void 0===n?void 0:n.toLowerCase(),e},{});(0,a.Z)(f)||u(f)}},[s.isReady,e]),[l,u]}},79970:function(e,t,l){"use strict";l.d(t,{Cg:function(){return a},E4:function(){return o},T4:function(){return r},ZP:function(){return s},w7:function(){return u}});var n=l(67294),i=l(55891);let o=e=>({us:"US",uk:"GB",ca:"CA",fr:"FR",au:"AU",my:"MY",vn:"VN",it:"IT","eu-de":"DE","eu-en":"DE"})[e]||"US",a=e=>({us:"en-US",uk:"en-GB",ca:"en-CA",au:"en-US","eu-es":"de-DE","eu-fr":"de-DE","eu-it":"de-DE","eu-de":"de-DE","eu-en":"de-DE","cz-en":"de-DE",nl:"de-DE"})[e]||"en-US";function r(e){var t;let{amount:l,currencyCode:n,locale:i,maximumFractionDigits:o,minimumFractionDigits:r,isDigits:u=!0}=e;if(!n)return l;let s=new Intl.NumberFormat(a(i),{style:"currency",currency:n,minimumFractionDigits:0===o?0:r,maximumFractionDigits:o}).format(l),d=u&&"vn-vi"!==i?s:(e=>{if(e.includes(",")){let t="";return["eu-de","nl","eu-en","eu-fr","eu-it","eu-es","cz-en"].includes(i)?t="".concat(e.toString().split(",")[0],"â¬"):"vn-vi"===i&&(t="".concat(e.toString().split(",")[0],"â«")),t}return e.includes(".")?e.toString().split(".")[0]:e})(s);return"ca"===i?"CA".concat(d):null==d?void 0:null===(t=d.toString())||void 0===t?void 0:t.replace(/[\s]/g,"")}function u(e){let{amount:t,baseAmount:l,currencyCode:n,locale:i}=e,o=l>t,u=new Intl.NumberFormat(a(i),{style:"percent"}),s=o?u.format((l-t)/l):null;return{price:r({amount:t,currencyCode:n,locale:i}),basePrice:o?r({amount:l,currencyCode:n,locale:i}):null,discount:s}}function s(e){let{amount:t,baseAmount:l,currencyCode:o,soldOutDescription:a}=null!=e?e:{},{locale:s}=(0,i.aF)(),d=(0,n.useMemo)(()=>"number"==typeof t&&o?a&&t>=9999999.99?a:l?u({amount:t,baseAmount:l,currencyCode:o,locale:s}):r({amount:t,currencyCode:o,locale:s}):"",[t,l,o,s,a]),c=t&&t<=0;return"string"==typeof d||"number"==typeof d?{price:d,free:c}:{...d,free:c}}},37066:function(e,t,l){"use strict";l.d(t,{c:function(){return r}});var n=l(11163),i=l(67294),o=l(9977),a=l(68410);function r(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{asPath:r,isReady:u}=(0,n.useRouter)(),s=(0,i.useMemo)(()=>{var l,n,i,a;let u=(0,o.Tb)("variant",r||""),s=(0,o.d4)(u);return(null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l.length)===1?null==e?void 0:e.variants[0]:(null==e?void 0:null===(n=e.variants)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.id)===s))||(t?null==e?void 0:null===(i=e.variants)||void 0===i?void 0:i.find(e=>Object.entries(t).every(t=>{let[l,n]=t;return e.options.find(e=>{if("MultipleChoiceOption"===e.__typename&&e.displayName.toLowerCase()===l.toLowerCase())return e.values.find(e=>e.label.toLowerCase()===n)})})):null==e?void 0:null===(a=e.variants)||void 0===a?void 0:a[0])},[null==e?void 0:e.variants]);return(0,i.useEffect)(()=>{u&&l&&function(e){let t=(0,a.pm)();e&&(t.variant=(0,o.Ll)(e.id),window.history.replaceState({},"","".concat(window.location.pathname,"?").concat((0,o.HD)(t,!1)).concat(location.hash)))}(s)},[l,s,u]),s}},79222:function(e,t,l){"use strict";l.d(t,{D:function(){return n}});let n=e=>{var t,l,n;window.dataLayer=(null===(t=window)||void 0===t?void 0:t.dataLayer)||[];try{null===(n=window)||void 0===n||null===(l=n.dataLayer)||void 0===l||l.push(e)}catch(e){console.log("gaTrack error",e)}}},30176:function(e,t,l){"use strict";l.d(t,{b:function(){return n}});let n={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},81529:function(e){e.exports={StarRating:"Reviews_StarRating__yItS9","yotpo-stars":"Reviews_yotpo-stars__lrFWh",yotpo:"Reviews_yotpo__B8qzt","yotpo-bottomline":"Reviews_yotpo-bottomline__yDRgg","yotpo-icon-empty-star":"Reviews_yotpo-icon-empty-star__2YbCv",StarRatingWrap:"Reviews_StarRatingWrap__1FpSw",mainReviews:"Reviews_mainReviews__9jRv8"}},54970:function(e){e.exports={root:"Dialog_root___lsE3",modal:"Dialog_modal__NndBi",close:"Dialog_close__71ESo"}}}]);
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.