1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,906088,t=>{t.v(e=>Promise.all(["static/chunks/3aw98systmg1m.js","static/chunks/2dif5t7s2a_q2.css","static/chunks/0vf3vf57f5gqa.css"].map(e=>t.l(e))).then(()=>e(740197)))},30286,t=>{t.v(e=>Promise.all(["static/chunks/0-phh9kp37egx.js","static/chunks/2dif5t7s2a_q2.css","static/chunks/2xnxm2mu9fg8c.css"].map(e=>t.l(e))).then(()=>e(978343)))},597121,t=>{t.v(e=>Promise.all(["static/chunks/3pe5a6yvhcwqm.js","static/chunks/0ogtuamtzyz35.js","static/chunks/2g84jt2h5pz-i.js","static/chunks/29f5b45ese096.css","static/chunks/1zyvkdlvwe4-j.css","static/chunks/3n4nt1rauxjlf.css","static/chunks/41qqilccjxqd6.css","static/chunks/40srb2vlnoe7q.css"].map(e=>t.l(e))).then(()=>e(979496)))},634435,t=>{t.v(e=>Promise.all(["static/chunks/0yat45bedmw_2.css","static/chunks/2t1pp6zma1ena.js"].map(e=>t.l(e))).then(()=>e(436567)))},9957,t=>{t.v(e=>Promise.all(["static/chunks/29f5b45ese096.css","static/chunks/0efbz8s8xjk13.css","static/chunks/0rdoup1qv_0f-.js"].map(e=>t.l(e))).then(()=>e(164848)))},795201,t=>{t.v(e=>Promise.all(["static/chunks/0hvgjadm4gugl.css","static/chunks/2t41k1o_fu4kx.js"].map(e=>t.l(e))).then(()=>e(823680)))},250194,t=>{t.v(e=>Promise.all(["static/chunks/0bicpmqaislt0.js","static/chunks/2maglinl_g7qx.css"].map(e=>t.l(e))).then(()=>e(707371)))},381007,t=>{t.v(e=>Promise.all(["static/chunks/0kcmej8l25z7_.js","static/chunks/1957u2i2lpgqh.css"].map(e=>t.l(e))).then(()=>e(433450)))},33990,t=>{t.v(e=>Promise.all(["static/chunks/3emxguz1u9y2-.js","static/chunks/1j12zdgf203tx.css","static/chunks/3ovsz4p0yqjcn.css"].map(e=>t.l(e))).then(()=>e(77775)))},428432,t=>{t.v(e=>Promise.all(["static/chunks/1lj3axl6o94co.js","static/chunks/2g84jt2h5pz-i.js","static/chunks/3ifoob9mwiq5h.css","static/chunks/21o0rxt6w8gez.css"].map(e=>t.l(e))).then(()=>e(475426)))},708401,687983,845687,t=>{"use strict";function e(t){let{title:e,subtitle:c,items:i}=t||{};return{details:{title:e||"",subtitle:c||""},items:(i||[]).map(s)}}function s(t){let{slug:e,isAccepted:s,type:c,disabled:i,label:a,notice:o}=t||{};return{meta:{slug:e||"",isAccepted:!!s,type:c,disabled:!!i},details:{label:a||"",notice:o||null}}}t.s(["mapAccountNotificationsFromDto",0,function(t){let{title:s,subtitle:c,disclaimer:i,ctaBtn:a,groups:o}=t||{};return{details:{title:s||"",subtitle:c||"",disclaimer:i||"",ctaBtn:a||""},groups:(o||[]).map(e)}},"mapAccountNotificationsUpdateToDTO",0,function(t){return{items:Object.entries(t).filter(([t])=>!!t).map(([t,e])=>({slug:t,isAccepted:e}))}}],708401),t.i(389112);var c=t.i(216551);async function i(){let{data:t}=await c.Api.get("/notification-consents/me");return t}async function a(t,e){let s=e?.cid&&e?.hash?{cid:e.cid,hash:e.hash}:void 0,{data:i}=await c.Api.mergePatch("/notification-consents/me",t,{searchParams:s});return i}t.s(["getAccountNotifications",0,i,"updateAccountNotifications",0,a],687983);var o=t.i(184704),n=t.i(121132);t.s(["accountNotificationsKeys",0,{query:{list:()=>[n.QUERY_KEYS.ACCOUNT_NOTIFICATIONS]},mutation:{update:()=>[o.MUTATION_KEYS.ACCOUNT_NOTIFICATIONS]}}],845687)},46677,t=>{"use strict";var e=t.i(533338),s=t.i(708401),c=t.i(687983),i=t.i(845687),a=t.i(526871);function o(){return(0,c.getAccountNotifications)()}t.s(["useAccountNotifications",0,function(t){let c,n,u,l=(0,e.c)(5);l[0]!==t?(c=void 0===t?{}:t,l[0]=t,l[1]=c):c=l[1];let r=c;return l[2]===Symbol.for("react.memo_cache_sentinel")?(n=i.accountNotificationsKeys.query.list(),l[2]=n):n=l[2],l[3]!==r?(u={queryKey:n,queryFn:o,adapter:s.mapAccountNotificationsFromDto,...r},l[3]=r,l[4]=u):u=l[4],(0,a.useAdapterQuery)(u)}])},982785,t=>{"use strict";var e,s=t.i(533338),c=t.i(142555),i=t.i(836705),a=t.i(627254),o=t.i(708401),n=t.i(687983),u=t.i(845687),l=((e=l||{})[e.UpdateAccountNotifications=0]="UpdateAccountNotifications",e);function r(t,e,s){let{payload:c}=s;c.onSettled&&c.onSettled(t,e)}function d(t){let{type:e,payload:s}=t;if(0!==e)return console.error("Unknown mutation type",e),new Promise(m);{let{updates:t,cid:e,hash:c}=s.data;return(0,n.updateAccountNotifications)((0,o.mapAccountNotificationsUpdateToDTO)(t),{cid:e,hash:c})}}function m(t){return t(!0)}t.s(["useUpdateAccountNotifications",0,function(){let t,e,o,n,l,m,f,p,h=(0,s.c)(7),_=((n=(0,s.c)(4))[0]===Symbol.for("react.memo_cache_sentinel")?(t=u.accountNotificationsKeys.query.list(),n[0]=t):t=n[0],l=t,m=(0,i.useQueryClient)(),n[1]===Symbol.for("react.memo_cache_sentinel")?(e=u.accountNotificationsKeys.mutation.update(),n[1]=e):e=n[1],n[2]!==m?(o={mutationKey:e,mutationFn:d,onMutate:async t=>{let{type:e,payload:s}=t;await m.cancelQueries({queryKey:l});let c=m.getQueryData(l);return 0===e?m.setQueryData(l,t=>t?{...t,groups:t.groups.map(t=>({...t,items:t.items.map(t=>({...t,isAccepted:s.data.updates[t.slug]??t.isAccepted}))}))}:t):console.error("Unknown mutation type (on mutate)",e),s.onMutate&&s.onMutate(c),{previousState:c}},onSuccess:(t,e)=>{let{payload:s}=e;
1m.setQueryData(l,t),m.invalidateQueries({queryKey:l,refetchType:"none"}),m.invalidateQueries({queryKey:[a.QUERY_KEYS.USER]}),s.onSuccess&&s.onSuccess(t)},onError:(t,e,s)=>{let{payload:c}=e;s?.previousState&&m.setQueryData(l,s.previousState),c.onError&&c.onError(t)},onSettled:r},n[2]=m,n[3]=o):o=n[3],(0,c.useMutation)(o));return h[0]!==_?(f=t=>{_.mutate({payload:t,type:0})},h[0]=_,h[1]=f):f=h[1],h[2]!==_.isError||h[3]!==_.isPending||h[4]!==_.isSuccess||h[5]!==f?(p={isLoading:_.isPending,isSuccess:_.isSuccess,isError:_.isError,updateAccountNotifications:f},h[2]=_.isError,h[3]=_.isPending,h[4]=_.isSuccess,h[5]=f,h[6]=p):p=h[6],p}])},772649,t=>{t.v({header:"AccountNotificationsGroup-module-scss-module__7Fnp8G__header",item:"AccountNotificationsGroup-module-scss-module__7Fnp8G__item",items:"AccountNotificationsGroup-module-scss-module__7Fnp8G__items",subtitle:"AccountNotificationsGroup-module-scss-module__7Fnp8G__subtitle",title:"AccountNotificationsGroup-module-scss-module__7Fnp8G__title","useFade-fadeIn":"AccountNotificationsGroup-module-scss-module__7Fnp8G__useFade-fadeIn","useFade-fadeOut":"AccountNotificationsGroup-module-scss-module__7Fnp8G__useFade-fadeOut"})},132926,t=>{t.v({group:"AccountNotifications-module-scss-module__tpkB4a__group",root:"AccountNotifications-module-scss-module__tpkB4a__root","useFade-fadeIn":"AccountNotifications-module-scss-module__tpkB4a__useFade-fadeIn","useFade-fadeOut":"AccountNotifications-module-scss-module__tpkB4a__useFade-fadeOut"})},661191,t=>{"use strict";var e=t.i(881821),s=t.i(533338),c=t.i(651325),i=t.i(688918),a=t.i(225330),o=t.i(584178),n=t.i(385045);let u=function(t){let c,i,u,l,r,d,m,f=(0,s.c)(20),{className:p,disabled:h,item:_,onChange:k}=t;f[0]!==_?(c=_||{},f[0]=_,f[1]=c):c=f[1];let{meta:g,details:N}=c;f[2]!==g?(i=g||{},f[2]=g,f[3]=i):i=f[3];let{slug:v,isAccepted:A,disabled:y}=i;f[4]!==N?(u=N||{},f[4]=N,f[5]=u):u=f[5];let{label:b}=u;f[6]!==p?(l=(0,o.cx)(n.default.root,p),f[6]=p,f[7]=l):l=f[7];let j=y||h;return f[8]!==A||f[9]!==k||f[10]!==v?(r=()=>k(v,!A),f[8]=A,f[9]=k,f[10]=v,f[11]=r):r=f[11],f[12]!==A||f[13]!==b||f[14]!==j||f[15]!==r?(d=(0,e.jsx)(a.default,{className:n.default.checkbox,labelClassName:n.default.checkboxLabel,label:b,checked:A,disabled:j,onChange:r}),f[12]=A,f[13]=b,f[14]=j,f[15]=r,f[16]=d):d=f[16],f[17]!==l||f[18]!==d?(m=(0,e.jsx)("div",{className:l,children:d}),f[17]=l,f[18]=d,f[19]=m):m=f[19],m};var l=t.i(595058),r=t.i(772649);let d=function(t){let{classNames:s={},disabled:a,mode:n="individual",source:d,group:m,onChange:f}=t,p=(0,l.useAnalytics)(),{details:h,items:_}=m||{},{title:k,subtitle:g}=h||{},[N,v]=(0,c.useState)({}),A=(0,c.useRef)({});(0,c.useEffect)(()=>{A.current=N},[N]),(0,c.useEffect)(()=>{v(t=>{let e=Object.keys(t);if(0===e.length)return t;let s=new Map((_||[]).map(t=>[t.meta.slug,t.meta.isAccepted])),c={};for(let i of e)s.get(i)!==t[i]&&(c[i]=t[i]);return Object.keys(c).length===e.length?t:c})},[_]);let y=(0,c.useRef)(f);y.current=f;let b=(0,c.useRef)({});(0,c.useEffect)(()=>()=>{Object.values(b.current).forEach(t=>t.cancel())},[]);let j=(t,e)=>{if("individual"===n)p.toggleNotificationPreference({source:d,preference:t,isAccepted:e}),v(s=>({...s,[t]:e})),(b.current[t]||(b.current[t]=(0,i.debounce)(300,t=>{y.current?.(t)})),b.current[t])({[t]:e});else{let s={...A.current,[t]:e};A.current=s,v(s),f?.(s)}};return(0,e.jsxs)("div",{className:(0,o.cx)(r.default.root,s.root),children:[(0,e.jsxs)("div",{className:r.default.header,children:[(0,e.jsx)("p",{className:r.default.title,children:k}),(0,e.jsx)("p",{className:r.default.subtitle,children:g})]}),(0,e.jsx)("div",{className:r.default.items,children:_?.map(t=>{let c={...t,meta:{...t.meta,isAccepted:N[t.meta.slug]??t.meta.isAccepted}};return(0,e.jsx)(u,{className:(0,o.cx)(r.default.item,s.item),disabled:a,item:c,onChange:j},t.meta.slug)})})]})};var m=t.i(132926);function f(t){return(t.items||[]).map(p)}function p(t){let{meta:e}=t;return[e.slug,e.isAccepted]}t.s(["default",0,function(t){let i,a,n,u,l,r,p=(0,s.c)(27),{classNames:h,disabled:_,mode:k,source:g,groups:N,onChange:v}=t;p[0]!==h?(i=void 0===h?{}:h,p[0]=h,p[1]=i):i=p[1];let A=i,y=void 0===k?"individual":k;p[2]!==N?(a=Object.fromEntries(N.flatMap(f)),p[2]=N,p[3]=a):a=p[3];let b=a,j=(0,c.useRef)(b);p[4]!==y||p[5]!==v?(n=t=>{if("bulk"===y){let e={...j.current,...t};j.current=e,v?.(e)}else v?.(t)},p[4]=y,p[5]=v,p[6]=n):n=p[6];let x=n;
1if(p[7]!==A.root?(u=(0,o.cx)(m.default.root,A.root),p[7]=A.root,p[8]=u):u=p[8],p[9]!==A.group||p[10]!==A.item||p[11]!==_||p[12]!==N||p[13]!==x||p[14]!==y||p[15]!==g){let t;p[17]!==A.group||p[18]!==A.item||p[19]!==_||p[20]!==x||p[21]!==y||p[22]!==g?(t=t=>(0,e.jsx)(d,{classNames:{root:(0,o.cx)(m.default.group,A.group),item:A.item},disabled:_,mode:y,source:g,onChange:x,group:t},t.details.title),p[17]=A.group,p[18]=A.item,p[19]=_,p[20]=x,p[21]=y,p[22]=g,p[23]=t):t=p[23],l=N.map(t),p[9]=A.group,p[10]=A.item,p[11]=_,p[12]=N,p[13]=x,p[14]=y,p[15]=g,p[16]=l}else l=p[16];return p[24]!==u||p[25]!==l?(r=(0,e.jsx)("div",{className:u,children:l}),p[24]=u,p[25]=l,p[26]=r):r=p[26],r}],661191)},385045,t=>{t.v({checkbox:"AccountNotificationsItem-module-scss-module__4YtCJG__checkbox",checkboxLabel:"AccountNotificationsItem-module-scss-module__4YtCJG__checkboxLabel",notice:"AccountNotificationsItem-module-scss-module__4YtCJG__notice",root:"AccountNotificationsItem-module-scss-module__4YtCJG__root","useFade-fadeIn":"AccountNotificationsItem-module-scss-module__4YtCJG__useFade-fadeIn","useFade-fadeOut":"AccountNotificationsItem-module-scss-module__4YtCJG__useFade-fadeOut"})},450262,t=>{t.v(e=>Promise.all(["static/chunks/2-590e0l8b8n5.js","static/chunks/0mkeqy-tuw9n5.css"].map(e=>t.l(e))).then(()=>e(605760)))},314211,t=>{t.v(e=>Promise.all(["static/chunks/2rq4xncl7572i.css","static/chunks/09_5-7z88yqme.css","static/chunks/3wdcca40pl-0u.js"].map(e=>t.l(e))).then(()=>e(506595)))}]);
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.