1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{10673:(e,t,r)=>{"use strict";r.d(t,{R:()=>c});var n=r(52707),s=r(62397),l=r(95053);let o=n.A.create({withCredentials:!0}),a=null;function c(){return a||(a=(async()=>{try{let e=await o.post(s.J$.refresh,null),t=e?.data?.access??e?.data?.access_token;if("string"==typeof t&&t)return l.L.setAccess(t),t;return l.L.clear(),null}catch{return l.L.clear(),null}finally{a=null}})())}},42529:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var n=r(95155),s=r(19749),l=r(45882),o=r(85626),a=r(12115),c=r(29094),i=r(82222);let u="#2563eb";function h(){let e=(0,i.usePathname)(),t=(0,i.useSearchParams)(),[r,s]=(0,a.useState)(0),[l,o]=(0,a.useState)(!1),c=(0,a.useRef)(null),h=(0,a.useRef)(null),f=()=>{c.current&&clearInterval(c.current),h.current&&clearTimeout(h.current),c.current=null,h.current=null};return((0,a.useEffect)(()=>{let e=e=>{if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let t=e.target,r=t?.closest("a");if(!r)return;let n=r.getAttribute("href");if(!(!n||n.startsWith("#"))&&(!r.target||"_self"===r.target)&&!r.hasAttribute("download"))try{let e=new URL(r.href,window.location.href);if(e.origin!==window.location.origin||e.pathname===window.location.pathname&&e.search===window.location.search)return;f(),o(!0),s(10),c.current=setInterval(()=>{s(e=>e>=90?e:e+Math.max(.5,(90-e)*.08))},200)}catch{}};return document.addEventListener("click",e,{capture:!0}),()=>{document.removeEventListener("click",e,{capture:!0})}},[]),(0,a.useEffect)(()=>(f(),s(100),h.current=setTimeout(()=>{o(!1),s(0)},300),f),[e,t]),l)?(0,n.jsx)("div",{"aria-hidden":!0,style:{position:"fixed",top:0,left:0,right:0,height:3,zIndex:9999,pointerEvents:"none"},children:(0,n.jsx)("div",{style:{height:"100%",width:`${r}%`,background:u,boxShadow:`0 0 10px ${u}, 0 0 5px ${u}`,transition:100===r?"width 200ms ease-out, opacity 300ms ease-out 200ms":"width 200ms ease-out",opacity:+(100!==r)}})}):null}var f=r(95053),d=r(10673);function m(){let e,t=(0,s.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,a.useEffect)(g,e),null}function g(){f.L.hasSession()&&!f.L.getAccess()&&(0,d.R)()}function p(e){let t,r,i,u,f,d=(0,s.c)(6),{children:g}=e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.jsx)(m,{}),d[0]=t):t=d[0],d[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)(a.Suspense,{fallback:null,children:(0,n.jsx)(h,{})}),i=(0,n.jsx)(c.l$,{position:"top-center",richColors:!0,closeButton:!0}),d[1]=r,d[2]=i):(r=d[1],i=d[2]),d[3]===Symbol.for("react.memo_cache_sentinel")?(u=!1,d[3]=u):u=d[3],d[4]!==g?(f=(0,n.jsxs)("div",{children:[t,r,i,(0,n.jsxs)(o.Ht,{client:l.q,children:[u,g]})]}),d[4]=g,d[5]=f):f=d[5],f}},45882:(e,t,r)=>{"use strict";r.d(t,{q:()=>l});var n=r(86597),s=r(52707);let l=new n.E({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1,refetchOnMount:!1,retry:(e,t)=>{if(s.A.isAxiosError(t)){let e=t.response?.status;if(401===e||403===e)return!1}return e<3}}}})},51743:()=>{},62397:(e,t,r)=>{"use strict";r.d(t,{Bo:()=>l,J$:()=>s,Lq:()=>i,NK:()=>o,S0:()=>a,_x:()=>n,eT:()=>c,hM:()=>u});let n="/bff",s={login:`${n}/api-token/`,refresh:`${n}/api-token-refresh/`,logout:`${n}/api-token-logout/`},l=["/api-token/","/api-token-refresh/"],o="JWT",a="/blogs-login",c="app_session",i="bbi-permission",u="username"},75264:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,92904,23)),Promise.resolve().then(r.t.bind(r,76896,23)),Promise.resolve().then(r.t.bind(r,31181,23)),Promise.resolve().then(r.t.bind(r,51743,23)),Promise.resolve().then(r.bind(r,42529))},95053:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var n=r(62397);let s=null,l=new Set,o=()=>{for(let e of l)try{e()}catch{}},a={subscribe:e=>(l.add(e),()=>l.delete(e)),setAccess(e){s=e;try{localStorage.setItem(n.eT,"1")}catch{}o()},getAccess:()=>s,hasSession(){try{return"1"===localStorage.getItem(n.eT)}catch{return!1}},setUser(e,t){try{localStorage.setItem(n.Lq,JSON.stringify(e)),t&&localStorage.setItem(n.hM,String(t))}catch{}},getUser(){try{let e=localStorage.getItem(n.Lq);return e?JSON.parse(e):null}catch{return null}},clear(){s=null;try{localStorage.removeItem(n.eT),localStorage.removeItem(n.Lq),localStorage.removeItem(n.hM)}catch{}o()}}}},e=>{e.O(0,[892,3334,9094,6175,5974,8441,9826,7358],()=>e(e.s=75264)),_N_E=e.O()}]);
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.