1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4219],{12851:(e,n,t)=>{"use strict";t.d(n,{s:()=>i});let r="",o=0;function i(e){var n,t;let{type:i,message:a,stack:s,componentStack:l,source:c="mettra-web"}=e,d=null!=(t=null==s||null==(n=s.split("\n").find(e=>e.trim().startsWith("at ")))?void 0:n.trim())?t:"",u="".concat(a,"|").concat(d),f=Date.now();if(u===r&&f-o<3e3)return;r=u,o=f;let g={source:c,type:i,message:a,stack:s,componentStack:l,url:window.location.href,route:window.location.pathname,userAgent:navigator.userAgent,timestamp:new Date().toISOString()},m="".concat("https://api.mettra.app/api/v1","/client-errors"),p=JSON.stringify(g);if("function"==typeof navigator.sendBeacon)try{if(navigator.sendBeacon(m,new Blob([p],{type:"application/json"})))return}catch(e){}fetch(m,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:p,keepalive:!0}).catch(()=>{})}},54062:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var r=t(95155),o=t(12115),i=t(12851),a=t(86819);function s(e){let{error:n,reset:t}=e;return(0,o.useEffect)(()=>{console.error(n),(0,a.g)(n)||(0,i.s)({type:"react-error-boundary",message:n.message||"Unknown error",stack:n.stack})},[n]),(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{style:{margin:0,minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"galvji, Arial, sans-serif",background:"#FCFCFD",color:"#124778"},children:(0,r.jsxs)("div",{style:{textAlign:"center",padding:24,maxWidth:420},children:[(0,r.jsx)("h1",{style:{fontSize:22,margin:"0 0 8px"},children:"Something went wrong"}),(0,r.jsx)("p",{style:{margin:"0 0 20px",color:"#5a6b7d"},children:"An unexpected error occurred. You can try again."}),(0,r.jsx)("button",{type:"button",onClick:()=>t(),style:{border:0,borderRadius:8,padding:"10px 18px",background:"#124778",color:"#fff",cursor:"pointer",font:"inherit"},children:"Try again"})]})})})}},65296:(e,n,t)=>{"use strict";function r(){window.location.reload()}t.d(n,{T:()=>r})},72571:(e,n,t)=>{Promise.resolve().then(t.bind(t,54062))},86819:(e,n,t)=>{"use strict";t.d(n,{g:()=>s});var r=t(65296),o=t(12851);let i="mettra_stale_bundle_reload",a=["Loading chunk","Loading CSS chunk","Failed to fetch dynamically imported module","error loading dynamically imported module","Cannot read properties of undefined (reading 'call')"];function s(e){if(!function(e){if(e instanceof Error&&"ChunkLoadError"===e.name)return!0;let n=e instanceof Error?e.message:String(null!=e?e:"");return a.some(e=>n.includes(e))}(e))return!1;let n=e instanceof Error?e.message:String(null!=e?e:"stale bundle"),t=function(){try{let e=window.sessionStorage.getItem(i);if(!e)return!1;let n=Number(e);if(!Number.isFinite(n))return!1;return Date.now()-n<6e5}catch(e){return null}}();if((0,o.s)({type:"unhandledrejection",message:"[stale-bundle] ".concat(n),stack:e instanceof Error?e.stack:void 0,source:t?"mettra-web-stale-bundle-repeat":"mettra-web"}),!1!==t)return!1;try{window.sessionStorage.setItem(i,String(Date.now()))}catch(e){}return console.warn("[App] СÑаÑÑй бандл: Ñанков ÑÑой ÑбоÑки на CDN болÑÑе неÑ. ÐеÑезагÑÑÐ¶Ð°Ñ ÑÑÑаниÑÑ Ð¾Ð´Ð¸Ð½ Ñаз."),(0,r.T)(),!0}}},e=>{e.O(0,[8441,1255,7358],()=>e(e.s=72571)),_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.