1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8aedffa2-ed5a-4179-b129-ae645d27529a",e._sentryDebugIdIdentifier="sentry-dbid-8aedffa2-ed5a-4179-b129-ae645d27529a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5705],{422:(e,a,o)=>{"use strict";o.r(a),o.d(a,{default:()=>_});var t=o(80263),n=o(53239),r=o(33202),i=o(64177),s=o(35283);let l={name:"Unipos.UpdateMyNotificationDayType",service:"internalGateway",request:s.z.object({notificationDayType:s.z.enum(["everyday","weekdays"])}),response:s.z.record(s.z.any()),requireAuthentication:!0};var c=o(30980),d=o(82317),m=o(34104),p=o(79732),u=o(1464),z=o(1859),b=o.n(z);let h=()=>(0,t.jsx)("div",{className:b().container,children:(0,t.jsx)(f,{})});h.getLayout=u.M5;let f=()=>{let{t:e}=(0,r.Bd)(),{data:a,mutate:o}=(0,c.jL)(i.oS),s=(0,c.zb)(),u=a.notificationDayType,z=(0,n.useMemo)(()=>[{label:e(e=>e.app.settings.notification.frequency["day-setting"].option.everyday),value:"everyday"},{label:e(e=>e.app.settings.notification.frequency["day-setting"].option.weekdays),value:"weekdays"}],[e]),{showFlashMessage:b}=(0,d.P2)(),[h,f]=(0,n.useState)(!1),_=(0,n.useCallback)(a=>{f(!0),s(l,{notificationDayType:a}).then(()=>{o(e=>e?{...e,notificationDayType:a}:e,!1)}).catch(()=>{b({message:e(e=>e.app.error["flash-message"]["error-occurred-message"])})}).finally(()=>{f(!1)})},[s,o,b,e]);return(0,t.jsx)(m.M,{title:e(e=>e.app.settings.notification.frequency["day-setting"].label),children:(0,t.jsx)(p.l6,{defaultSelected:u,onChange:e=>{e&&_(e)},disabled:h,children:(0,t.jsx)(p.oO,{children:(0,t.jsx)(p.UL,{children:z.map(e=>(0,t.jsx)(y,{...e},e.value))})})})})},y=({label:e,value:a})=>(0,t.jsx)(p.IM,{value:a,children:e}),_=h},1859:e=>{e.exports={container:"notification_container__qlNaC"}},9474:(e,a,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/myself_config/notification",function(){return o(422)}])},34104:(e,a,o)=>{"use strict";o.d(a,{M:()=>p});var t=o(80263),n=o(53239),r=o(11230),i=o.n(r),s=o(63084),l=o(58223),c=o(43526),d=o(89305),m=o.n(d);let p=({className:e,titleClassName:a,inputContainerClassName:o,inputRef:r,children:d,direction:p="vertical",title:h,description:f,caution:y,htmlFor:_,helpTooltip:j,statusLabel:k,"aria-invalid":g,errorMessages:v})=>{let x=(0,n.useId)(),N=v?.filter(e=>null!=e).filter(e=>""!==e).map(e=>({id:(0,s.A)("form-control-error-message-"),message:e})),w=(0,n.useRef)(null);return(0,t.jsxs)("div",{className:i()(e,m().container,u[p]),"data-form-control-group-item":"form-control",children:[h&&(0,t.jsxs)("div",{className:i()(a,m()["title-container"]),ref:w,children:[(0,t.jsx)(l.E,{variant:"title-15",as:"label",className:m().title,htmlFor:_??x,children:h}),j&&(0,t.jsx)("div",{className:m()["help-tooltip"],children:(0,t.jsx)(b,{helpTooltip:j,overrideAnchorElement:w})}),k&&(0,t.jsx)("div",{className:m()["status-label"],children:k})]}),(f||y)&&(0,t.jsxs)("div",{className:m()["description-container"],children:[f&&(0,t.jsx)(l.E,{variant:"body-15",as:"p",id:`${x}-description`,className:m().description,children:f}),y&&(0,t.jsx)(l.E,{variant:"body-15",as:"p",className:m().caution,children:y})]}),(0,t.jsx)("div",{className:i()(o,m()["input-container"]),children:(0,t.jsx)(z,{id:x,className:m().input,"aria-describedby":f?`${x}-description`:void 0,ref:r,"aria-invalid":N&&N.length>0||g,"aria-errormessage":N?.map(({id:e})=>e).join(" "),children:d})}),N&&N.length>0&&(0,t.jsx)("div",{className:m()["error-container"],children:N.map(({id:e,message:a})=>(0,t.jsx)(c.X,{color:"error",message:a,messageId:e},e))})]})},u={vertical:m()["direction-vertical"],horizontal:m()["direction-horizontal"]},z=(0,n.forwardRef)(function({children:e,className:a,"aria-errormessage":o,...t},r){if("function"==typeof e)return e({...t,className:a,"aria-errormessage":o,ref:r});if((0,n.isValidElement)(e)){let s=e.props,l=[o,s["aria-errormessage"]].filter(e=>null!=e&&""!==e);return(0,n.cloneElement)(e,{...t,...s,className:i()(a,s.className),"aria-errormessage":l.length>0?l.join(" "):void 0,ref:r})}return e}),b=({helpTooltip:e,overrideAnchorElement:a})=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{overrideAnchorElement:a}):(0,t.jsx)(t.Fragment,{children:e})},63084:(e,a,o)=>{"use strict";o.d(a,{A:()=>r});var t=o(3855),n=0;let r=function(e){var a=++n;return(0,t.A)(e)+a}},64177:(e,a,o)=>{"use strict";o.d(a,{oS:()=>n});var t=o(35283);let n={name:"Unipos.GetMyNotificationSetting",service:"internalGateway",request:t.z.record(t.z.any()),response:t.z.intersection(t.z.object({notificationDayType:t.z.enum(["everyday","weekdays"])}),t.z.object({receivedCard:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),praised:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),pointResetNotice:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),pointResetDone:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),impactReport:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),activityReport:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),customReward:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),reactionRemind:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),productInformation:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),followMemberCard:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),weeklyDepartmentGroupDigest:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),monthlyWholeDepartmentGroupDigest:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()}),themeBoardDailyDigest:t.z.object({mail:t.z.boolean(),desktop:t.z.boolean(),chat:t.z.array(t.z.enum(["slack","teams"])),spPush:t.z.boolean()})})),requireAuthentication:!0}
1},89305:e=>{e.exports={container:"formControl_container__OskRL","title-container":"formControl_title-container__LbLh1","input-container":"formControl_input-container__0CCgK","error-container":"formControl_error-container____hb5","direction-vertical":"formControl_direction-vertical__bFlNs","description-container":"formControl_description-container__rojFk","direction-horizontal":"formControl_direction-horizontal__Vx_gg",title:"formControl_title__YbAhL","help-tooltip":"formControl_help-tooltip__5wJIk","status-label":"formControl_status-label__aTz7P",description:"formControl_description__iY3Gx",caution:"formControl_caution__kNHf5"}}},e=>{e.O(0,[4109,8021,7784,999,1858,7801,838,8955,5208,2959,4587,8781,6558,8771,6739,8017,4103,1464,9732,636,6593,8792],()=>e(e.s=9474)),_N_E=e.O()}]); 2//# sourceMappingURL=notification-b6366acf8afe78e1.js.map
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.