PageSourceSearch

https://www.velocita.com.br/_frsh/js/d98fcdb2ea04a8067adf68a1194c8dad604965e7/island-drawers.js

js velocita.com.br collected 2026-09-26 06:17:52 UTC 8,442 bytes, 14 lines download raw bytes

1import { i, se, h } from './chunk-IqPQ-trI.js';
2import { i as i$1, p } from './chunk-7wQPzCva.js';
3import { M as M$1 } from './chunk-CWfQPnGr.js';
4import { A } from './chunk-Dh_SoiiA.js';
5import { r, P, g } from './chunk-D6adskVR.js';
6import { b as b$1 } from './chunk-CLB8CvAi.js';
7import './chunk-C5KNdr9S.js';
8import './chunk-D45VqOFk.js';
9import { y as y$1, N } from './chunk-D7GuD_kz.js';
10import './chunk-26oRnyCm.js';
11
12function $({size:l=24,color:a="currentColor",stroke:o=2,...t}){return y$1("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-chevron-left",width:l,height:l,viewBox:"0 0 24 24","stroke-width":o,stroke:a,fill:"none","stroke-linecap":"round","stroke-linejoin":"round",...t,children:[y$1("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),y$1("path",{d:"M15 6l-6 6l6 6"})]})}var u=$;function j({size:l=24,color:a="currentColor",stroke:o=2,...t}){return y$1("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-x",width:l,height:l,viewBox:"0 0 24 24","stroke-width":o,stroke:a,fill:"none","stroke-linecap":"round","stroke-linejoin":"round",...t,children:[y$1("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),y$1("path",{d:"M18 6l-12 12"}),y$1("path",{d:"M6 6l12 12"})]})}var b=j;function c({href:l,label:a}){return y$1("a",{href:l,class:"m-0 flex border-b-[1px] items-center justify-between px-4 py-4 uppercase w-full bg-[#f5f5f5] font-medium text-[14px] leading-[17.5px] text-primary border-black border-opacity-10",children:a})}function L(l){let a=r(),{displayMenu:o}=P();return y$1("div",{class:"drawer",children:[y$1("input",{id:`my-drawer-${a}`,type:"checkbox",class:"drawer-toggle"}),y$1("div",{class:"drawer-content",children:y$1("label",{for:`my-drawer-${a}`,class:"btn no-animation drawer-button flex border-b-[1px] items-center justify-between py-3 uppercase m-auto w-full bg-[#f5f5f5] rounded-none font-medium text-[14px] leading-[17.5px] text-primary hover:bg-inherit border-black border-opacity-10",children:[l.label,y$1(i,{class:"w-5 h-5"})]})}),y$1("div",{class:"drawer-side z-10 w-screen max-w-[425px]",children:[y$1("label",{for:`my-drawer-${a}`,"aria-label":"close sidebar",class:"drawer-overlay"}),y$1("ul",{class:"menu bg-base-100 text-base-content min-h-full w-11/12 lg:w-full px-0",children:[y$1("div",{class:"flex items-center justify-between w-full h-[50px]",children:[y$1("label",{for:`my-drawer-${a}`,"aria-label":"close sidebar",class:"text-black btn-ghost bg-primary-content rounded-full h-fit p-2 bg-white/20",children:y$1(u,{class:"w-5 h-5"})}),y$1("div",{class:"px-4 py-3",children:y$1("span",{class:"font-medium text-[14px] text-black",children:l.label})}),y$1("button",{class:"btn no-animation text-black block btn-ghost bg-white/20 h-fit p-2 rounded-full",onClick:()=>{o.value=!1;},children:y$1(b,{class:"w-5 h-5"})})]}),l?.children?.map(t=>y$1(c,{href:t.href,label:t.label})),y$1(c,{href:l.href,label:"Ver tudo"})]})]})]})}function D({item:l}){let a=r(),{displayMenu:o}=P();return y$1("div",{class:"drawer",children:[y$1("input",{id:`my-drawer-${a}`,type:"checkbox",class:"drawer-toggle"}),y$1("div",{class:"drawer-content",children:y$1("label",{for:`my-drawer-${a}`,class:"btn no-animation drawer-button flex border-b-[1px] items-center justify-between py-3 uppercase m-auto w-full bg-[#f5f5f5] rounded-none font-medium text-[14px] leading-[17.5px] text-primary hover:bg-inherit border-black border-opacity-10",children:[l.label,y$1(i,{class:"w-5 h-5"})]})}),y$1("div",{class:"drawer-side z-10 w-screen max-w-[425px]",children:[y$1("label",{for:`my-drawer-${a}`,"aria-label":"close sidebar",class:"drawer-overlay"}),y$1("ul",{class:"menu bg-base-100 text-base-content min-h-full w-11/12 lg:w-full px-0",children:[y$1("div",{class:"flex items-center justify-between w-full h-[50px]",children:[y$1("label",{for:`my-drawer-${a}`,"aria-label":"close sidebar",class:"text-black btn-ghost bg-primary-content rounded-full h-fit p-2 bg-white/20",children:y$1(u,{class:"w-5 h-5"})}),y$1("div",{class:"px-4 py-3",children:y$1("span",{class:"font-medium text-[14px] text-black",children:l.label})}),y$1("button",{class:"btn no-animation text-black block btn-ghost bg-white/20 h-fit p-2 rounded-full",onClick:()=>{o.value=!1;},children:y$1(b,{class:"w-5 h-5"})})]}),l.children!==void 0&&l.children?.length>0?y$1(N,{children:l.children.map(t=>{if(!t.isDesktopOnly&&t?.children&&t.children.length>0)return y$1(L,{...t});if(!t.isDesktopOnly)return y$1(c,{href:t.href,label:t.label})})}):y$1(N,{children:l?.children?.map(t=>y$1(c,{href:t.href,label:t.label}))}),y$1(c,{href:l.href,label:"Ver tudo"})]})]})]})}function y({items:l,topItens:a}){let{displayMenu:o}=P();return y$1("div",{class:`${o.value?"flex":"hidden"} flex-col h-auto w-full`,children:[y$1("ul",{class:"flex flex-col up
12percase text-xs",children:[l.map(t=>t.children&&t.children?.length>0?y$1(D,{item:t}):y$1(c,{href:t.href,label:t.label})),y$1(M$1,{variant:"cartMenu"}),y$1("li",{class:"bg-[#f5f5f5]",children:y$1(i$1,{})})]}),y$1("div",{class:"bg-base-100 flex flex-col justify-between items-start border-none pl-6 pr-6 text-xs flex-wrap",children:[y$1("div",{class:"text-gray-600 flex items-start flex-col gap-4 py-4",children:a.leftItens.map(({alt:t,href:n,image:r,text:s})=>y$1("a",{class:"flex flex-row gap-4",href:n,"aria-label":t,children:[y$1(A,{src:r,width:16,height:16,alt:t}),y$1("span",{class:"tracking-widest leading-none mr-4",children:s})]}))}),y$1("div",{class:"gap-2 flex justify-between items-center w-full",children:[a.socialMedia.map(({alt:t,href:n,image:r},s)=>y$1(N,{children:[s===0&&y$1("span",{class:"bg-gray-400 opacity-90 w-[1px] h-4"}),y$1("a",{class:"btn btn-circle btn-sm btn-ghost",href:n,target:"_blank",rel:"noopener noreferrer","aria-label":t,children:y$1(A,{src:r,width:16,height:16,alt:t})}),y$1("span",{class:"bg-gray-400 opacity-90 w-[1px] h-4"})]})),y$1("a",{href:`mailto: ${a.email}`,children:y$1(p,{id:"Email",width:17,height:12,class:"tracking-widest leading-none text-gray-500"})}),y$1("span",{class:"bg-gray-400 opacity-90 w-[1px] h-4"})]})]})]})}var re=se(()=>import('./Menu-PDN3TNZZ.js')),B=se(()=>import('./MenuProducts-APC7O5DM.js')),oe=se(()=>import('./MenuProductsChild-6FZ5FLV7.js')),M=({logo:l,onClose:a,children:o,chevronClick:t,title:n,displayMenu:r,open:s,isMiniCart:p$1,subtitle:P})=>y$1("div",{class:"bg-base-100 grid grid-rows-[auto_1fr] max-w-[425px] w-11/12 min-h-[100%] max-h-[100vh] divide-y overflow-y-auto overflow-x-hidden",children:[y$1("div",{class:"relative h-[50px] z-10",children:y$1("div",{class:`flex h-full ${p$1?"justify-start":"justify-between"} items-center w-11/12 m-auto`,children:[!r&&y$1(N,{children:[y$1(b$1,{class:"text-black btn-ghost bg-primary-content rounded-full h-fit p-2 bg-white/20",onClick:t,children:y$1(u,{class:"w-5 h-5"})}),y$1("div",{class:"px-4 py-3",children:y$1("span",{class:"font-medium text-[14px] text-black",children:n})})]}),r&&l&&y$1("a",{href:"/",class:"flex m-auto items-center justify-center","aria-label":"Store logo",children:y$1(A,{src:l,alt:"Velocit\xE0 - Loja Oficial",width:130,height:30})}),!p$1&&a&&y$1(b$1,{class:`${!r&&"text-black"} ${s?"block":"hidden"} btn-ghost ${r?"bg-white":"bg-white/20"} h-fit p-2 rounded-full`,onClick:a,children:y$1(b,{class:"w-5 h-5"})}),p$1&&a&&y$1(N,{children:[y$1("button",{class:"btn-ghost rounded-full flex justify-between items-center bg-black bg-opacity-10 h-[40px] w-[40px]",onClick:a,children:y$1(p,{id:"XMark",class:"text-black flex-auto",size:24,strokeWidth:2})}),y$1("div",{children:y$1("span",{class:"leading-5 text-[18px] text-black font-bold",children:[n,y$1("strong",{class:"font-medium",children:P})]})})]})]})}),y$1(h,{fallback:y$1("div",{class:"w-full flex items-center justify-center",children:y$1("span",{class:"loading loading-ring"})}),children:o})]});function O({menu:l,logo:a,children:o}){let{displayMenu:t,displayMenuProducts:n,displayMenuProductsChild:r,productsChild:s,productsChild2:p}=P();return y$1(g,{open:t.value||r.value,onClose:()=>{t.value=!1,r.value=!1;},aside:y$1(M,{displayMenu:t.value,logo:a,onClose:()=>{t.value=!1,r.value=!1;},open:t.value||r.value,title:p.value.label,chevronClick:()=>{r.value=!1,n.value=!0;},children:y$1(y,{...l})}),children:y$1(g,{open:n.value,onClose:()=>n.value=!1,aside:y$1(M,{displayMenu:t.value,title:s.value.label,onClose:()=>n.value=!1,chevronClick:()=>{n.value=!1,t.value=!0;},open:n.value,children:y$1(B,{})}),children:o})})}var z=O;
13
14export { z 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.