PageSourceSearch

https://imperial-mf.ru/_nuxt/CpGfJysF.js

js imperial-mf.ru collected 2026-10-07 13:20:07 UTC 2,021 bytes, 1 lines download raw bytes

1import{_ as N}from"./DmYOICt2.js";import{_ as V}from"./O7y664KQ.js";import{_ as B}from"./DkSnwlcq.js";import{_ as U}from"./CZqCHNJ9.js";import{_ as L}from"./NoeOmWcP.js";import{d as j,u as A,w as E,a as P,o as c,c as p,b as i,e as u,f as o,i as $,g as s,h as z,j as f,r as l,k as D}from"./CWoPGWPY.js";import"./BnHPtZyZ.js";import"./DxnGXnK7.js";import"./C29XrcW9.js";const M={class:"mb-8 flex justify-end"},F={class:"flex items-center gap-3"},G={key:0,class:"flex justify-center py-6"},W=j({__name:"new",async setup(I){let _,m;const{$api:d}=A(),v=[{title:"названию А-Я",value:"name"},{title:"названию Я-А",value:"name_desc"}],n=l({title:"По умолчанию",value:""}),a=l([]),t=l(!1),w=l([{name:"Новинки"}]);async function x(){t.value=!0;const{data:r}=await D(()=>d.product.getNew({sort:n.value.value}).catch(e=>(console.error(e),[])),{},"$T7x3DEg09w");a.value=r.value||[],t.value=!1}return[_,m]=E(()=>x()),await _,m(),P(n,async({value:r})=>{t.value=!0,a.value=await d.product.getNew({sort:r}).catch(e=>(console.error(e),[])),t.value=!1}),(r,e)=>{const g=N,h=V,y=B,b=U,k=L;return c(),p(k,{title:"Новинки",breadcrumbs:s(w),"hide-sidebar":""},{default:i(()=>[u(b,null,{default:i(()=>[o("div",M,[o("div",F,[e[2]||(e[2]=o("span",null," Сортировать по: ",-1)),u(g,{items:v,modelValue:s(n),"onUpdate:modelValue":e[0]||(e[0]=C=>$(n)?n.value=C:null),class:"z-20","dropdown-class":"w-[220px] right-0"},{icon:i(()=>[...e[1]||(e[1]=[o("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o("path",{d:"M3.33203 6L7.21775 9.33061C7.66714 9.7158 8.33026 9.7158 8.77965 9.33061L12.6654 6",stroke:"#E3000F","stroke-width":"1.5","stroke-linecap":"round"})],-1)])]),_:1},8,["modelValue"])])]),s(t)?(c(),z("div",G,[o("div",null,[u(h)])])):f("",!0),!s(t)&&s(a)?.length?(c(),p(y,{key:1,"init-colum-count":4,items:s(a),"image-size-type":1,class:"flex-1"},null,8,["items"])):f("",!0)]),_:1})]),_:1},8,["breadcrumbs"])}}});export{W 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.