1"use strict";(self.webpackChunklu_athome_web_pro=self.webpackChunklu_athome_web_pro||[]).push([[726],{9391:(e,i,t)=>{var s=t(46518),l=t(96395),a=t(80550),n=t(79039),r=t(97751),d=t(94901),c=t(2293),o=t(93438),m=t(36840),h=a&&a.prototype;if(s({target:"Promise",proto:!0,real:!0,forced:!!a&&n(function(){h.finally.call({then:function(){}},function(){})})},{finally:function(e){var i=c(this,r("Promise")),t=d(e);return this.then(t?function(t){return o(i,e()).then(function(){return t})}:e,t?function(t){return o(i,e()).then(function(){throw t})}:e)}}),!l&&d(a)){var x=r("Promise").prototype.finally;h.finally!==x&&m(h,"finally",x,{unsafe:!0})}},35369:(e,i,t)=>{t.d(i,{I:()=>d});t(89463);var s=t(46942),l=t.n(s),a=t(58065),n=t(75766),r=t(74848),d=e=>{var{isCancelHidden:i,description:t}=e,{isSubmitted:s,handleSubmit:d,handleCancel:c,isCancelDisabled:o,isNextDisabled:m,hasErrors:h}=(0,n.F)(),x=s?"IDS_GLOBAL_changes-saved":"IDS_GLOBAL_save-changes";return(0,r.jsx)("footer",{children:(0,r.jsxs)("div",{className:"flex flex-col pt-6 mt-12 border-t border-slate-200",children:[t,(0,r.jsxs)("div",{className:"flex self-end",children:[i?null:(0,r.jsx)("button",{disabled:o,onClick:c,className:"btn border-slate-200 hover:border-slate-300 text-slate-600",children:(0,r.jsx)(a.A,{id:"IDS_GLOBAL_cancel"})}),(0,r.jsx)("button",{disabled:m,onClick:d,className:l()("btn bg-athome-100 hover:bg-athome-200 text-white ml-3",{"bg-green-600 hover:bg-green-500":s,"bg-gray-600 hover:bg-gray-500":h}),children:(0,r.jsx)(a.A,{id:x})})]})]})})}},51524:(e,i,t)=>{t.r(i),t.d(i,{default:()=>x});t(23792),t(62953);var s=t(7425),l=t(96540),a=t(58065),n=t(32584),r=t(78554),d=t(74610),c=t(50494),o=t(97643),m=t(35369),h=t(74848);const x=()=>{var[e,i]=(0,l.useState)(null),t=(0,c.j)();(0,l.useEffect)(()=>
1{t((0,o.Ld)()).then(e=>{var{payload:t}=e;i(t)})},[]);var x=[{sectionTitleId:"IDS_NOTIFICATION-call-notifications",settings:[{titleId:"IDS_NOTIFICATION-missed-call-email-notifications",descriptionId:"IDS_NOTIFICATION-receive-an-email-each-time",name:"isNotifiedFromMissedCall"},{titleId:"IDS_NOTIFICATION-answered-call-email-notification",descriptionId:"IDS_NOTIFICATION-the-call-of-a-user-that-has-been-answered",name:"isNotifiedFromReceivedCall"}]},{sectionTitleId:"IDS_NOTIFICATION-performance-notification",settings:[{titleId:"IDS_NOTIFICATION-weekly-and-monthly-performance",descriptionId:"IDS_NOTIFICATION-performance-notification-description",name:"isNotifiedWeeklyReport"}]}];return(0,h.jsx)(n.A,{hasSidebar:!0,children:(0,h.jsx)("main",{children:(0,h.jsx)("div",{className:"relative",children:(0,h.jsxs)("div",{className:"px-4 md:px-6 lg:px-8 py-8 w-full max-w-5xl mx-auto",children:[(0,h.jsx)("div",{className:"md:flex md:justify-between md:items-end mb-8 gap-4",children:(0,h.jsx)("div",{className:"mb-4 md:mb-0 shrink-0",children:(0,h.jsx)("h1",{className:"text-2xl md:text-3xl text-slate-800 font-bold",children:(0,h.jsx)(a.A,{id:"IDS_NOTIFICATION-title"})})})}),e?(0,h.jsx)("div",{className:"bg-white shadow-lg rounded-lg px-4 sm:px-6 md:px-12 lg:px-16 xl:px-20 py-8 lg:py-12",children:(0,h.jsx)(s.Formik,{enableReinitialize:!0,onSubmit:e=>t((0,o.Od)(e)),initialValues:e,children:e=>{var{values:i}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"space-y-10",children:x.map(e=>(0,h.jsxs)("section",{children:[(0,h.jsx)("h3",{className:"text-xl leading-snug text-slate-800 font-bold mb-3",children:(0,h.jsx)(a.A,{id:e.sectionTitleId})}),(0,h.jsx)("ul",{children:e.settings.map(e=>(0,h.jsxs)("li",{className:"flex justify-between items-center py-3 border-b last:border-none border-slate-200",children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"text-slate-800 font-semibold",children:(0,h.jsx)(a.A,{id:e.titleId})}),(0,h.jsx)("div",{className:"text-sm",children:(0,h.jsx)(a.A,{id:e.descriptionId})})]}),(0,h.jsxs)("div",{className:"flex items-center ml-4",children:[(0,h.jsx)(d.$,{value:i[e.name]}),(0,h.jsx)(r.d,{id:e.name,labelSrOnly:"Switch",name:e.name,checked:i[e.name]})]})]},e.name))})]},e.sectionTitleId))}),(0,h.jsx)(m.I,{isCancelHidden:!0})]})}})}):null]})})})})}},74610:(e,i,t)=>{t.d(i,{$:()=>a});var s=t(58065),l=t(74848),a=e=>{var{value:i}=e,t=i?"IDS_NOTIFICATION-on":"IDS_NOTIFICATION-off";return(0,l.jsx)("div",{className:"text-sm text-slate-400 italic mr-2",children:(0,l.jsx)(s.A,{id:t})})}},75766:(e,i,t)=>{t.d(i,{F:()=>n});t(74423),t(23792),t(21699),t(62953);var s=t(7425),l=t(42243),a=t(96540),n=()=>{var{errors:e,isSubmitting:i,touched:t,values:n,initialValues:r,resetForm:d,submitForm:c}=(0,s.useFormikContext)(),[o,m]=(0,a.useState)(!1),[h,x]=(0,a.useState)(!1),I=!(0,l.aIS)(n,r),u=!(0,l.Ime)(t),f=!(0,l.Ime)(e)&&u;return{isCancelDisabled:!I||i||h,isNextDisabled:f||i||h,isSending:h,isSubmitted:o,hasErrors:f,handleCancel:()=>{d()},handleSubmit:()=>(x(!0),c().then(e=>{var i;if(!e||null!=e&&null!==(i=e.type)&&void 0!==i&&i.includes("/rejected"))throw x(!1),e;m(!0),setTimeout(()=>{m(!1),x(!1)},3e3)}))}}},78554:(e,i,t)=>{t.d(i,{d:()=>l});var s=t(25689),{Switch:l}=s.uiKit}}]);
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.