PageSourceSearch

https://rockochitlan.com/build/assets/DefaultLayout-DPro-YVe.js

js rockochitlan.com collected 2026-10-04 23:30:11 UTC 23,480 bytes, 1 lines download raw bytes

1import{r,K as C,j as e,$ as h}from"./app-C-97Z-Yz.js";import{F as n,o as H,p as B,q as R,r as F,s as V,t as O}from"./index-DHtGP0-q.js";import{S as f}from"./sweetalert2.esm.all-B0Dix5B2.js";import{F as T,a as q}from"./SunIcon-DBg6x8-A.js";function W({title:t,titleId:o,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":o},s),t?r.createElement("title",{id:o},t):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}const N=r.forwardRef(W);function $({title:t,titleId:o,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":o},s),t?r.createElement("title",{id:o},t):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const P=r.forwardRef($);function D({title:t,titleId:o,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":o},s),t?r.createElement("title",{id:o},t):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"}))}const U=r.forwardRef(D);function _({title:t,titleId:o,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":o},s),t?r.createElement("title",{id:o},t):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Z=r.forwardRef(_);function G({title:t,titleId:o,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":o},s),t?r.createElement("title",{id:o},t):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}const Y=r.forwardRef(G);function x({href:t,children:o,ruta:s=""}){const i="bg-gray-200 bg-opacity-25 text-white",{url:l}=C();return e.jsx(h,{className:"mt-4 flex items-center px-6 py-2 text-gray-500 hover:bg-gray-700 hover:bg-opacity-25 hover:text-gray-100 "+(s?l.startsWith(`/${s}`)?i:"":route().current("home")?i:""),href:t,children:o})}function K({className:t="w-6 h-6"}){return e.jsx("svg",{className:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:e.jsx("path",{fill:"currentColor",d:"m491.938 18.813l-17.72 2.375l-89.374 11.968l-6.22.844l-1.562 6.094l-18.5 72.156l-136.187 137.28c-2.094-4.4-4.324-8.708-6.875-12.843c-7.317-11.86-18.338-22.357-34.844-25.687c-6.457-1.303-12.664-1.702-18.53-1.28c-17.602 1.26-32.182 9.775-41.69 22.5c-10.95 14.654-15.87 34.054-15.31 54.405c-36.16 4.516-66.336 31.382-80.657 64.313c-15.608 35.885-11.856 80.956 24.655 111.156c43.28 35.8 88.28 31.622 119.875 11.22c28.593-18.467 47.778-48.14 50.813-74.752c18.615-2.81 38.424-9.03 56.375-17.968c20.474-10.195 38.536-23.433 48.406-40.063l7.625-12.874l-14.908-1.22c-34.56-2.818-53.76-12.87-66.406-26.217l146-147.22l18.938 1.375l6.156.438l2.813-5.5l6.125-11.907l25.03 11.906L464 132.438l-24.53-11.656l7.655-14.874l25.844 12.28l8.03-16.874l-25.313-12.03L464 73.155L491.03 86l8.033-16.875L472.53 56.53l11.22-21.81l8.188-15.907zm-124.532 111l13.22 13.093l-200.22 201.875a61.253 61.253 0 0 0-5.062-5.717a60.956 60.956 0 0 0-8.47-7l200.532-202.25zm-235.47 210.093c10.914-.046 21.837 4.094 30.25 12.438a42.57 42.57 0 0 1 .25 60.406a42.57 42.57 0 0 1-60.405.25a42.575 42.575 0 0 1-.25-60.406c8.345-8.415 19.245-12.64 30.157-12.688z"})})}function L(t=""){return e.jsx("svg",{className:"w-6 h-6 "+t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1664 1312",children:e.jsx("path",{fill:"currentColor",d:"M1408 768v480q0 26-19 45t-45 19H960V928H704v384H320q-26 0-45-19t-19-45V768q0-1 .5-3t.5-3l575-474l575 474q1 2 1 6zm223-69l-62 74q-8 9-21 11h-3q-13 0-21-7L832 200L140 777q-12 8-24 7q-13-2-21-11l-62-74q-8-10-7-23.5T37 654L756 55q32-26 76-26t76 26l244 204V64q0-14 9-23t23-9h192q14 0 23 9t9 23v408l219 182q10 8 11 21.5t-7 23.5z"})})}function E(t=""){return e.jsx("svg",{className:"h-6 w-6 "+t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M18.06 23h1.66c.84 0 1.53-.65 1.63-1.47L23 5.05h-5V1h-1.97v4.05h-4.97l.3 2.34c1.71.47 3.31 1.32 4.27 2.26c1.44 1.42 2.43 2.89 2.43 5.29V23M1 22v-1h15.03v1c0 .54-.45 1-1.03 1H2c-.55 0-1-.46-1-1m15.03-7C16.03 7 1 7 1 15h15.03M1 17h15v2H1v-2Z"})})}const J=({className:t=""})=>e.jsx("svg",{className:t,viewBox:"0 0 477.297 477.297",xmlns:"http://www.w3.org/2000/svg",fill:"
1currentColor",children:e.jsxs("g",{children:[e.jsx("path",{d:"M42.85 358.075V27.158c23.9 0 278.867 0 302.767 0v99.722c5.846-1.079 11.842-1.812 17.99-1.812 3.149 0 6.126.647 9.232.928V0H15.649v385.233h224.638v-27.158H42.85z"}),e.jsx("path",{d:"M81.527 206.842h184.495c1.812-10.16 5.393-19.608 10.095-28.452H81.527v28.452z"}),e.jsx("rect",{x:"81.527",y:"89.432",width:"225.372",height:"28.452"}),e.jsx("path",{d:"M81.527 295.822h191.268c5.112-3.106 10.57-5.63 16.415-7.183-5.544-6.45-10.095-13.697-13.978-21.269H81.527v28.452z"}),e.jsx("path",{d:"M363.629 298.669c41.071 0 74.16-33.197 74.16-74.139 0-40.984-33.09-74.16-74.16-74.16-40.898 0-74.009 33.176-74.009 74.16 0 40.942 33.111 74.139 74.009 74.139z"}),e.jsx("path",{d:"M423.143 310.706H304.288c-21.226 0-38.612 19.457-38.612 43.422v119.33c0 1.316.604 2.481.69 3.84h194.59c.086-1.337.69-2.524.69-3.84v-119.33c-.001-23.965-17.344-43.422-38.591-43.422z"})]})});function Q(){return e.jsx("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"m18.65 2.85l.61 3.86l3.51 1.79L21 12l1.78 3.5l-3.54 1.79l-.61 3.86l-3.89-.61l-2.77 2.76l-2.78-2.8l-3.86.64l-.62-3.89l-3.49-1.78L3 11.97L1.23 8.5l3.51-1.81l.61-3.83l3.87.64L12 .69l2.77 2.77l3.88-.61M9.5 7A1.5 1.5 0 0 0 8 8.5A1.5 1.5 0 0 0 9.5 10A1.5 1.5 0 0 0 11 8.5A1.5 1.5 0 0 0 9.5 7m5 7a1.5 1.5 0 0 0-1.5 1.5a1.5 1.5 0 0 0 1.5 1.5a1.5 1.5 0 0 0 1.5-1.5a1.5 1.5 0 0 0-1.5-1.5m-6.09 3L17 8.41L15.59 7L7 15.59L8.41 17Z"})})}const X=({scrollRef:t})=>{const[o,s]=r.useState(!1),i=()=>{t.current.scrollTop>500?s(!0):s(!1)},l=()=>{t.current&&t.current.scrollTo({top:0,behavior:"smooth"})};return r.useEffect(()=>{const d=t.current;return d&&d.addEventListener("scroll",i),()=>{d&&d.removeEventListener("scroll",i)}},[t]),o&&e.jsx("button",{onClick:l,className:"fixed bottom-10 right-6 bg-blue-500 text-white rounded-full p-4 shadow-lg hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-300 transition z-40",children:"↑"})};function M(){return e.jsxs("div",{children:[e.jsx(n.Title,{title:"Contáctanos"}),e.jsxs(n.LinkGroup,{col:!1,className:"flex-wrap justify-center gap-4",children:[e.jsxs(n.Link,{href:"https://wa.me/72836378",target:"blank",children:[e.jsx(H,{className:"mx-auto mb-2 h-8 w-8 text-green-500"}),"WhatsApp"]}),e.jsxs(n.Link,{href:"https://www.instagram.com/rockochitlan_grill_music?igsh=MWI5bmV2a2hoM2EzMQ==",target:"blank",children:[e.jsx(B,{className:"mx-auto mb-2 h-8 w-8 text-purple-700"}),"Instagram"]}),e.jsxs(n.Link,{href:"https://www.facebook.com/share/16L6EHY6na/ ",target:"blank",children:[e.jsx(R,{className:"mx-auto mb-2 h-8 w-8 text-blue-600"}),"Facebook"]})]})]})}const ae=({children:t})=>{var k;const o=C(),s=o.props.auth.user,i=o.props.pageContents,l=o.props.flash||{},[d,c]=r.useState(!1),[g,p]=r.useState(!1),[m,v]=r.useState(!1),[I,S]=r.useState(!1),[w,j]=r.useState(!0),y=r.useRef(null),{url:z}=o,b=r.useRef(null);r.useEffect(()=>{const a=JSON.stringify(l);if(!(!l||a==="{}
1"||b.current===a)){if(b.current=a,l.success){f.fire({icon:"success",title:"Éxito",text:l.success,timer:2500,showConfirmButton:!1,timerProgressBar:!0});return}if(l.error){f.fire({icon:"error",title:"Error",text:l.error,confirmButtonText:"Aceptar"});return}if(l.warning){f.fire({icon:"warning",title:"Atención",text:l.warning,confirmButtonText:"Aceptar"});return}l.info&&f.fire({icon:"info",title:"Información",text:l.info,confirmButtonText:"Aceptar"})}},[l]),r.useEffect(()=>{const a=()=>{S(window.scrollY>10)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]),r.useEffect(()=>{const a=localStorage.getItem("darkMode"),u=a===null?!0:a==="true";j(u),u?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[]);const A=()=>{const a=!w;j(a),localStorage.setItem("darkMode",a.toString()),a?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")};return r.useEffect(()=>{const a=()=>{(g||m)&&(p(!1),v(!1))};return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[g,m]),r.useEffect(()=>{const a=u=>{u.key==="Escape"&&d&&c(!1)};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[d]),e.jsxs("div",{className:"flex h-screen bg-gray-50 dark:bg-gray-900",children:[e.jsx("div",{className:`${d?"block":"hidden"} fixed inset-0 z-40 bg-black/50 backdrop-blur-sm transition-opacity lg:hidden`,onClick:()=>c(!1),"aria-hidden":"true"}),e.jsxs("aside",{className:`${d?"translate-x-0 ease-out":"-translate-x-full ease-in"} fixed inset-y-0 left-0 z-50 w-72 transform overflow-y-auto bg-gradient-to-b from-gray-900 to-gray-800 transition-all duration-300 lg:static lg:inset-0 lg:flex lg:translate-x-0 lg:flex-col`,children:[e.jsx("div",{className:"flex h-16 items-center justify-center border-b border-gray-700 lg:h-20",children:e.jsxs(h,{href:route("home"),className:"group flex items-center space-x-3 transition-transform duration-200 hover:scale-105",onClick:()=>c(!1),children:[e.jsxs("div",{className:"relative",children:[e.jsx("img",{src:"/storage/images/logo.jpg",alt:"Rockochitlán Logo",className:"h-10 w-10 rounded-xl shadow-lg transition-shadow duration-200 group-hover:shadow-xl"}),e.jsx("div",{className:"absolute -inset-1 rounded-xl bg-gradient-to-r from-yellow-400 to-orange-500 opacity-0 transition-opacity duration-200 group-hover:opacity-20"})]}),e.jsx("span",{className:"text-xl font-bold text-white lg:text-2xl",children:"ROCKOCHITLÁN"})]})}),e.jsxs("nav",{className:"flex-1 space-y-1 px-3 py-6 lg:px-4 lg:py-8",children:[(s==null?void 0:s.roles.includes("admin"))&&e.jsxs(x,{href:route("dashboard"),ruta:"dashboard",onClick:()=>c(!1),children:[e.jsxs("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"})]}),e.jsx("span",{className:"mx-3",children:"Dashboard"})]}),e.jsxs(x,{href:route("home"),onClick:()=>c(!1),children:[e.jsx(L,{}),e.jsx("span",{className:"mx-3",children:"Inicio"})]}),(s==null?void 0:s.roles.includes("admin"))&&e.jsxs(x,{href:route("reservations.index"),ruta:"reservations",onClick:()=>c(!1),children:[e.jsx(J,{className:"w-6"}),e.jsx("span",{className:"mx-3",children:"Reservaciones"})]}),e.jsxs(x,{href:route("products.index"),ruta:"products",onClick:()=>c(!1),children:[e.jsx(E,{}),e.jsx("span",{className:"mx-3",children:"Menú"})]}),e.jsxs(x,{href:route("events.index"),ruta:"events",onClick:()=>c(!1),children:[e.jsx(K,{}),e.jsx("span",{className:"mx-3",children:"Eventos"})]}),e.jsxs(x,{href:route("promotions.index"),ruta:"promotions",onClick:()=>c(!1),children:[e.jsx(Q,{}),e.jsx("span",{className:"mx-3",children:"Promociones"})]}),(s==null?void 0:s.roles.includes("admin"))&&e.jsxs(x,{href:route("users.index"),ruta:"users",onClick:()=>c(!1),children:[e.jsx(F,{className:"h-6 w-6"}),e.jsx("span",{className:"mx-3",children:"Usuarios"})]}),(s==null?void 0:s.roles.includes("recipe_user"))&&e.jsxs(x,{href:route("plateprofit.dashboard"),ruta:"plateprofit",onClick:()=>c(!1),children:[e.jsx("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 3.104v5.714a2.25 2.25 0 01-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 014.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19 14.5M14.25 3.104c.251.023.501.05.75.082M19 14.5l-2.47 2.47a2.25 2.25 0 01-1.591.659H9.06a2.25 2.25 0 01-1.591-.659L5 14.5m14.5 0a2.25 2.25 0 00-.659-1.591L5.75 3.94a2.25 2.25 0 00.659-1.591l2.47-2.47a2.25 2.25 0 011.591-.659H14.5a2.25 2.25 0 011.591.659l2.47 2.47a2.25 2.25 0 01-.659 1.591z"})}),e.jsx("span",{className:"mx-3",children:"RecipePro"})]})]}),e.jsx("div",{className:"border-t border-gray-700 p-4 lg:p-6",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(M,{})})})]}),e.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[e.jsx("header",{className:`sticky top-0 z-30 bg-white transition-all duration-200 dark:bg-gray-800 ${I?"border-b border-gray-200 shadow-lg dark:border-gray-700":"border-b-4 border-indigo-600"}`,children:e.jsxs("div",{className:"flex items-center justify-between px-4 py-3 sm:px-6 lg:py-4",children:[e.jsx("div",{className:"flex items-center",children:e.jsx("button",{onClick:()=>c(!0),className:"rounded-lg p-2 text-gray-500 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200 lg:hidden","aria-label":"Open sidebar",children:e.jsx(P,{className:"h-6 w-6"})})}),e.jsxs("div",{className:"flex items-center space-x-2 sm:space-x-4",children:[e.jsx(h,{href:route("home"),className:`rounded-lg p-2 text-gray-500 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200 ${route().current("home")?"bg-indigo-100 text-indigo-600 dark:bg-indigo-900 dark:text-indigo-400":""}`,"aria-label":"Inicio",children:e.jsx(L,{})}),e.jsx(h,{href:route("products.index"),className:`rounded-lg p-2 text-gray-500 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200 ${z.startsWith("/products")?"bg-indigo-100 text-indigo-600 dark:bg-indigo-900 dark:text-indigo-400":""} lg:hidden`,"aria-label":"Menú",children:e.jsx(E,{})})]}),e.jsxs("div",{className:"flex items-center space-x-2 sm:space-x-4",children:[e.jsx("button",{onClick:A,className:"rounded-lg p-2 text-gray-500 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200","aria-label":"Toggle dark mode",children:w?e.jsx(T,{className:"h-6 w-6"}):e.jsx(q,{className:"h-6 w-6"})}),s?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"relative",children:[e.jsxs("button",{onClick:a=>{a.stopPropagation(),p(!g)},className:"relative rounded-lg p-2 text-gray-500 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200","aria-label":"Notifications",children:[e.jsx(U,{className:"h-6 w-6"}),e.jsx("span",{className:"absolute right-1 top-1 h-2 w-2 rounded-full bg-red-500"})]}),g&&e.jsxs("div",{className:"absolute right-0 z-50 mt-2 w-80 overflow-hidden rounded-lg bg-white shadow-xl ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700",onClick:a=>a.stopPropagation(),children:[e.jsx("div",{className:"border-b border-gray-200 px-4 py-3 dark:border-gray-700",children:e.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:"Notificaciones"})}),e.jsx("div",{className:"max-h-64 overflow-y-auto",children:e.jsx("div",{className:"px-4 py-3 transition-colors duration-200 hover:bg-gray-50 dark:hover:bg-gray-700",children:e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-indigo-100",children:e.jsx(Y,{className:"h-4 w-4 text-indigo-600"})})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("p",{className:"text-sm text-gray-900 dark:text-white",children:[e.jsx("span",{className:"font-medium",children:"Sara Salah"})," ","respondió en el artículo"," ",e.jsx("span",{className:"font-medium text-indigo-600 dark:text-indigo-400",children:"Upload Image"})]}),e.jsx("p",{className:"mt-1 text-xs text-gray-500 dark:text-gray-400",children:"Hace 2 minutos"})]})]})})}),e.jsx("div",{className:"border-t border-gray-200 px-4 py-2 dark:border-gray-700",children:e.jsx("button",{className:"text-sm font-medium text-indigo-600 hover:text-indigo-800 dark:text-indigo-400 dark:hover:text-indigo-300",children:"Ver todas las notificaciones"})})]})]}),e.jsxs("div",{className:"relative",children:[e.jsxs("button",{onClick:a=>{a.stopPropagation(),v(!m)},className:"flex items-center space-x-2 rounded-lg p-1 text-gray-500 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-gray-200","aria-label":"User menu",children:[e.jsxs("div",{className:"relative",children:[e.jsx("img",{className:"h-8 w-8 rounded-full object-cover ring-2 ring-gray-200 dark:ring-gray-600",src:"/storage/images/logo.jpg",alt:"User avatar"}),e.jsx("div",{className:"absolute -bottom-1 -right-1 h-3 w-3 rounded-full border-2 border-white bg-green-400 dark:border-gray-800"})]}),e.jsx("span",{className:"hidden text-sm font-medium text-gray-700 dark:text-gray-200 sm:block",children:s.name})]}),m&&e.jsxs("div",{className:"absolute right-0 z-50 mt-2 w-48 overflow-hidden rounded-lg bg-white shadow-xl ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700",onClick:a=>a.stopPropagation(),children:[e.jsxs("div",{className:"border-b border-gray-200 px-4 py-3 dark:border-gray-700",children:[e.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-white",children:s.name}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:s.email})]}),e.jsxs("div",{className:"py-1",children:[e.jsxs(h,{href:route("profile.edit"),className:"flex items-center px-4 py-2 text-sm text-gray-700 transition-colors duration-200 hover:bg-gray-50 dark:text-gray-200 dark:hover:bg-gray-700",children:[e.jsx(Z,{className:"mr-3 h-4 w-4"}),"Mi perfil"]}),e.jsxs(h,{method:"post",href:route("logout"),as:"button",className:"flex w-full items-center px-4 py-2 text-left text-sm text-gray-700 transition-colors duration-200 hover:bg-red-50 hover:text-red-600 dark:text-gray-200 dark:hover:bg-red-900/20 dark:hover:text-red-400",children:[e.jsx(N,{className:"mr-3 h-4 w-4"}),"Cerrar sesión"]})]})]})]})]}):e.jsx(h,{href:route("login"),className:"inline-flex items-center justify-center rounded-lg border border-gray-300 p-2 text-gray-700 transition-colors duration-200 hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 dark:border-gray-600 dark:text-gray-300 dark:hover:bg-gray-700 dark:hover:text-white","aria-label":"Iniciar sesión",children:e.jsx(N,{className:"h-5 w-5"})})]})]})}),e.jsxs("main",{className:"flex-1 overflow-y-auto bg-gray-50 dark:bg-gray-900",ref:y,children:[e.jsx("div",{className:"px-2 py-6 sm:px-6 lg:px-8 lg:py-8",children:t}),e.jsx(n,{bgDark:!0,className:"w-full rounded-none",children:e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-8 px-6 py-8 md:grid-cols-2 lg:grid-cols-4",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-white",children:"Sobre Rockochitlán"}),e.jsx("p",{className:"text-sm text-gray-300",children:"Tu destino para disfrutar de la mejor gastronomía y eventos únicos."}),e.jsx(M,{})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(n.Title,{title:"Enlaces Rápidos",className:"text-white"}),e.jsxs(n.LinkGroup,{col:!0,children:[e.jsx(n.Link,{href:route("home"),className:"text-gray-300 hover:text-white",children:"Inicio"}),e.jsx(n.Link,{href:route("products.index"),className:"text-gray-300 hover:text-white",children:"Menú"}),e.jsx(n.Link,{href:route("events.index"),className:"text-gray-300 hover:text-white",children:"Eventos"}),e.jsx(n.Link,{href:route("promotions.index"),className:"text-gray-300 hover:text-white",children:"Promociones"})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(n.Title,{title:"Contacto",className:"text-white"}),e.jsxs(n.LinkGroup,{col:!0,children:[e.jsx(n.Link,{href:"tel:+50372836378",className:"text-gray-300 hover:text-white",children:"+503 7283 6378"}),e.jsx(n.Link,{href:"mailto:[email protected]",className:"text-gray-300 hover:text-white",children:"[email protected]"}),e.jsx(n.Link,{href:"#",className:"text-gray-300 hover:text-white",children:(k=i==null?void 0:i.find(a=>a.key==="address"))!=null&&k.content?i==null?void 0:i.find(a=>a.key==="address").content:"Rockochitlan"})]})]})]}),e.jsxs("div",{className:"w-full border-t border-gray-700 px-4 py-6 sm:flex sm:items-center sm:justify-between",children:[e.jsx(n.Copyright,{href:"#",by:"Wilfredo Cruz",year:new Date().getFullYear(),className:"text-gray-300"}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(n.Title,{title:"",className:"text-white"}),e.jsxs("div",{className:"flex space-x-4",children:[e.jsx(n.Icon,{href:"https://www.facebook.com/share/1FoUUNRr38/",icon:R,className:"text-gray-300 hover:text-white"}),e.jsx(n.Icon,{href:"https://www.instagram.com/w1lfredo0_0?utm_source=qr&igsh=MWVhczdicmlsN20yeA==",target:"_blank",rel:"noopener noreferrer",icon:B,className:"text-gray-300 hover:text-white"}),e.jsx(n.Icon,{href:"https://github.com/Awilfredo",target:"_blank",rel:"noopener noreferrer",icon:V,className:"text-gray-300 hover:text-white"}),e.jsx(n.Icon,{href:"https://awilfredo.github.io/portafolio/",target:"_blank",rel:"noopener noreferrer",icon:O,className:"text-gray-300 hover:text-white"})]})]}),e.jsx("div",{className:"mt-4 flex space-x-6 sm:mt-0 sm:justify-center",children:e.jsx("span",{className:"text-sm text-gray-400",children:"Hecho con ❤️ para Rockochitlán"})})]})]})})]}),e.jsx(X,{scrollRef:y})]})]})};export{K as E,ae as L};

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.