1import{at as l,av as c,aN as S,bu as g,Y as a,bv as A}from"../entries/pages_all.B9d1a0j8.js";import"./chunk-BXl3LOEh.js";const m=async e=>{const{store:o,router:s}=e,r=s.currentRoute.value;!(r.name==="Main"&&r.params[a.SUBCATEGORY]&&!r.params[a.PRODUCT_PARAMS])||A(o).getAllCategoriesNoMatterPublished.find(t=>t.parent_id&&t.seo.friendly_url===r.params[a.SUBCATEGORY])||await s.replace({...r,params:{...r.params,[a.SUBCATEGORY]:"",[a.PRODUCT_PARAMS]:r.params[a.SUBCATEGORY]}})},R=async e=>{const{store:o,router:s,error:r}=e;if(r)return;const n=l(o);if(!c(o).chainId){const i=s.currentRoute.value,{vk_user_id:t,vk_app_id:p}=i.query;n.$patch({platform:S(i.query),vkUserId:t?String(t):null,vkAppId:p?String(p):null}),await g(e)}await m(e)};export{R as default};
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.