(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{84690:(e,r,n)=>{"use strict";var o=n(68045),t=n(10656),i=n(60016),a=n(17963);n(25204),window.globalThis=window;let s=(e,r)=>{console.warn("Will load "+e+" polyfill from "+r),(self.__next_s=self.__next_s||[]).push([r,{id:"pf-".concat(e),type:"text/javascript"}])};"ReadableStream"in window||s("ReadableStream",a.A),"ResizeObserver"in window||s("ResizeObserver",i.A),document.head.attachShadow||s("ShadowDOM",t.A);let c=!1,l=e=>{var r,n,t,i;return"ChunkLoadError"===e.name||(null===(r=e.message)||void 0===r?void 0:r.startsWith("Loading CSS chunk"))?(null===(t=(0,o.xv)().log)||void 0===t||t.log("Chunk load error: "+e.name+" "+e.message),"chunk"):(null===(n=e.message)||void 0===n?void 0:n.includes("Connection closed"))?(null===(i=(0,o.xv)().log)||void 0===i||i.log("Connection closed error: "+e.name+" "+e.message),"conn"):null},d=e=>{var r;if(c)return console.warn("Pending reload to recover, skipping error",e),!0;let n=l(e);if(!n)return!1;let t="rcvr",i=new URLSearchParams(window.location.search),a=i.get(t);return(null==a||!a.includes(n))&&(null===(r=(0,o.xv)().log)||void 0===r||r.log("Will try to recover from error"),i.set(t,"".concat(Date.now(),"_").concat(n)),c=!0,setTimeout(()=>{window.location.search=i.toString()},1e3),!0)},u=["RPCRequestError","SyntaxError"],m=["Minified React error #418","Minified React error #422","Minified React error #423","Minified React error #425","Minified React error #446","Minified React error #329","Unexpected token '~', \"~\" is not valid JSON","Unexpected token ~ in JSON at position 0","Unrecognized token '~'","unexpected character at line 1 column 1 of the JSON data","is not a valid XPath expression","window.TelegramGameProxy.receiveEvent","__firefox__","__ybro","WindVane","Permission denied to access property","Internal error retrieving trust token response","Failed to retrieve hasPrivateToken response","[pcode]"],h=["chrome://userjs","chrome://internal","chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:","<anonymous>:","__puppeteer_evaluation_script__","user-script","mc.yandex.ru/metrika","privacy-cs.mail.ru/static/sync-loader","https://smartcaptcha.yandexcloud.net/captcha.js","https://yastatic.net/","static/sync-loader.js"],v=["debug","info","warn","error","log","assert","trace"],p=e=>e.map(e=>e instanceof Error?"".concat(e.name,": ").concat(e.message):"string"==typeof e?e:JSON.stringify(e)).join(", "),w="www.rustore.ru"===window.location.host,f=(()=>{try{var e;return null===(e=navigator.userAgent)||void 0===e?void 0:e.includes("wv)")}catch(e){return!1}})();if(w){let e={versionName:"WC-2025.55.0",versionCode:Number.parseInt(95717),appToken:"M0k7OdUjhfXWD29qmGH1YE7yMI1eFR8cuHCv2n96AA1"},r=(0,o.a8)({filterError:function(e){var r;if(console.warn("Caught error",e.name,e.message,e.stack),d(e))return console.warn("pending reload from error, skipping reporting",e),!1;if("TypeError"===e.name&&"Failed to fetch"===e.message&&(null===(r=e.stack)||void 0===r?void 0:r.includes("onBeforeUnload")))return console.warn("ошибка трейсера на заливку сессии по закрытию окна"),!1;if(u.includes(e.name))return console.warn("Filtering error by name: "+e.name),!1;if(m.find(r=>e.message.includes(r)))return console.warn("Filtering error by message: "+e.message),!1;let n=e.stack&&h.find(r=>{var n;return null===(n=e.stack)||void 0===n?void 0:n.includes(r)});return n?(console.warn("Filtering error by stack: "+n),!1):e.stack?void 0:(console.warn("skipping error without stack"),!1)}}),n=(()=>{try{return document.cookie.split(";").filter(e=>!!e).map(e=>e.trim().split("=")).reduce((e,r)=>{let[n,o]=r;return e[n]=o,e},{})}catch(e){return{}}})();r.setErrorKeys({pathname:window.location.pathname,query:window.location.search,initialPath:window.location.pathname,referrer:window.document.referrer,isWebView:f,webViewPackageName:n._wv_pn||"",oid:n.oid||""}),(0,o.qr)(e),(0,o.IJ)(e),(0,o.vk)({addMetricAttributes:()=>({pathname:location.pathname})}),(0,o.Xh)(e),(0,o._m)(),"string"==typeof window._tracer_module&&r.setModule(window._tracer_module),function(e){try{v.forEach(r=>{let n=console[r];console[r]=function(){for(var o=arguments.length,t=Array(o),i=0;i<o;i++)t[i]=arguments[i];try{e.log("console.".concat(r,": ")+p(t)),n.apply(console,t)}catch(e){}}})}catch(r){e.log("failed to patch console: "+(null==r?void 0:r.message))}}((0,o.Ci)())}},88737:(e,r,n)=>{Promise.resolve().then(n.t.bind(n,39065,23)),Promise.resolve().then(n.t.bind(n,33283,23)),Promise.resolve().then(n.t.bind(n,69699,23)),Promise.resolve().then(n.t.bind(n,34712,23)),Promise.resolve().then(n.t.bind(n,47132,23)),Promise.resolve().then(n.t.bind(n,87748,23)),Promise.resolve().then(n.t.bind(n,50700,23)),Promise.resolve().then(n.t.bind(n,75082,23))}},e=>{var r=r=>e(e.s=r);e.O(0,[587,5044],()=>(r(84690),r(45504),r(88737))),_N_E=e.O()}]);
//# sourceMappingURL=main-app-97e71db20d3ac3a9.js.map