1import{u as r}from"./ProductCard-ChiO1MMh.js";import{f as l,p as i,t as d,h as n,v as o,i as e,y as p,z as m,j as c}from"./index-DYwMVYTK.js";import{A as x}from"./AppHeader-BRLi6AWo.js";import{A as u}from"./AppFooter-vfSXuPZT.js";import{_ as f,F as b,P as g}from"./ActiveFilters.vue_vue_type_script_setup_true_lang-C7VVTxMk.js";import"./BaseInput.vue_vue_type_script_setup_true_lang-BoxsNazD.js";const v={class:"catalog-view bg-gray-100",role:"document","aria-label":"Página de livros mais vendidos"},y={class:"container flex flex-col md:flex-row justify-between items-start md:items-center py-6 md:py-4 mt-1 px-4 md:px-6 gap-4 md:gap-0",role:"banner"},_={class:"container py-3 md:py-2 px-4 md:px-6",style:{"min-height":"40px"},role:"region","aria-label":"Filtros ativos aplicados"},w={class:"container pt-3 sm:pt-16 pb-12 md:pb-24 bg-gray-100 min-h-screen px-4 md:px-6",role:"main","aria-labelledby":"page-title"},h={class:"flex flex-col md:flex-row gap-6 md:gap-3"},S={class:"min-w-0 w-full flex-1 md:ml-2",role:"region","aria-label":"Grade de livros mais vendidos"},F=l({__name:"MaisVendidosView",setup(M){const s=r(),{isPeraBook:t}=i();return d(async()=>{await s.loadProducts()}),(A,a)=>(c(),n("div",v,[o(x),e("div",y,[e("h1",{id:"page-title",class:"page-title text-2xl md:text-3xl font-normal",style:p({color:m(t)?"#83C7C6":"#1E1D3D"})}," MAIS VENDIDOS ",4),a[0]||(a[0]=e("div",{class:"sort-dropdown flex items-center gap-2 w-full md:w-auto md:ml-auto",role:"group","aria-labelledby":"sort-label"},[e("label",{id:"sort-label",for:"sort-select",class:"text-xs md:text-xs text-gray-dark whitespace-nowrap"},"Ordenar por:"),e("select",{id:"sort-select",class:"border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-blue-500 px-2 py-1.5 text-xs sm:px-3 sm:py-2 sm:text-sm flex-1 md:flex-initial",value:"bestseller","aria-label":"Selecione a ordem de exibição dos livros mais vendidos"},[e("option",{value:"bestseller"},"Mais vendidos"),e("option",{value:"price-asc"},"Menor preço"),e("option",{value:"price-desc"},"Maior preço")])],-1))]),a[1]||(a[1]=e("div",{class:"border-t border-gray-300",role:"separator","aria-hidden":"true"},null,-1)),e("div",_,[o(f)]),e("main",w,[e("div",h,[o(b),e("div",S,[o(g)])])]),o(u)]))}});export{F 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.