!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a7e9979c-a5af-44c1-9758-da4129eebe1d",e._sentryDebugIdIdentifier="sentry-dbid-a7e9979c-a5af-44c1-9758-da4129eebe1d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1741],{91741:function(e,t,n){n.d(t,{O4:function(){return d}});var r=n(59910);let o=Symbol("RESET"),i=e=>"function"==typeof(null==e?void 0:e.then),u=function(e=()=>{try{return window.localStorage}catch(e){"undefined"!=typeof window&&console.warn(e);return}},t){var n;let r,o,u;let d={getItem:(t,n)=>{var u,d;let a=e=>{if(r!==(e=e||"")){try{o=JSON.parse(e,void 0)}catch(e){return n}r=e}return o},s=null!=(d=null==(u=e())?void 0:u.getItem(t))?d:null;return i(s)?s.then(a):a(s)},setItem:(t,n)=>{var r;return null==(r=e())?void 0:r.setItem(t,JSON.stringify(n,void 0))},removeItem:t=>{var n;return null==(n=e())?void 0:n.removeItem(t)}};try{u=null==(n=e())?void 0:n.subscribe}catch(e){}if(!u&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(u=(t,n)=>{if(!(e() instanceof window.Storage))return()=>{};let r=r=>{r.storageArea===e()&&r.key===t&&n(r.newValue)};return window.addEventListener("storage",r),()=>{window.removeEventListener("storage",r)}}),u){let e;d.subscribe=(e=u,(t,n,r)=>e(t,e=>{let t;try{t=JSON.parse(e||"")}catch(e){t=r}n(t)}))}return d}();function d(e,t,n=u,i){let d=null==i?void 0:i.getOnInit,a=(0,r.cn)(d?n.getItem(e,t):t);return a.debugPrivate=!0,a.onMount=r=>{let o;return r(n.getItem(e,t)),n.subscribe&&(o=n.subscribe(e,r,t)),o},(0,r.cn)(e=>e(a),(r,i,u)=>{let d="function"==typeof u?u(r(a)):u;return d===o?(i(a,t),n.removeItem(e)):d instanceof Promise?d.then(t=>(i(a,t),n.setItem(e,t))):(i(a,d),n.setItem(e,d))})}}}]);