PageSourceSearch

https://foodfinder.mx/chunk-AXE563HY.js

js foodfinder.mx collected 2026-09-25 03:43:57 UTC 19,177 bytes, 1 lines download raw bytes

1import{b as Q,m as X}from"./chunk-BTGS7UQC.js";import"./chunk-H4QOO6OK.js";import"./chunk-KQ64G6NT.js";import"./chunk-75RZFELW.js";import"./chunk-TCMZHPVP.js";import"./chunk-4QOKRR5P.js";import"./chunk-AYDJ2M35.js";import"./chunk-LWIDYNC2.js";import"./chunk-VXGHG3J7.js";import"./chunk-4RZZDUFM.js";import{a as ae}from"./chunk-DMKEOHTA.js";import{s as Y}from"./chunk-OLEMAAA2.js";import"./chunk-RZAKCWA5.js";import{e as K}from"./chunk-WPSUQLBS.js";import{k as W}from"./chunk-XYTVABNA.js";import{g as G,j as J}from"./chunk-VVTDXABX.js";import{$b as q,Bb as w,Ja as d,Ka as i,La as n,Lb as N,Ma as g,Qa as S,Ra as E,Ta as y,Va as u,Xa as c,_b as z,ac as H,ca as j,e as $,fb as a,gb as C,ha as r,hb as m,i as T,ib as B,jb as F,jc as L,kc as O,nc as U,pa as D,r as v,s as f,t as h,tb as b,u as R,ua as M,wb as A,za as x,zb as I}from"./chunk-VKOZ2CK3.js";import"./chunk-TAAAIZHL.js";import{a as P,b as V,e as re}from"./chunk-EQDQRRRY.js";var k=re(ae());var Z=(()=>{class t{http;authService;apiUrl=`${J.API_URL_RESTAURANT}/reservations`;constructor(e,s){this.http=e,this.authService=s}getByRestaurantId(){let e=this.authService.getRestaurantId();return this.http.get(`${this.apiUrl}/rest/${e}`)}cambiarEstado(e,s){return this.http.put(`${this.apiUrl}/${e}`,{status:s})}getPedido(e){return this.http.get(`${this.apiUrl}/${e}/pedido`)}static \u0275fac=function(s){return new(s||t)(T(G),T(K))};static \u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var le=(t,l)=>({"text-indigo-600 border-indigo-600":t,"text-gray-500 border-transparent hover:text-gray-700":l}),de=(t,l)=>({"text-green-600 border-green-600":t,"text-gray-500 border-transparent hover:text-gray-700":l}),ce=(t,l)=>({"text-blue-600 border-blue-600":t,"text-gray-500 border-transparent hover:text-gray-700":l}),pe=(t,l)=>({"text-gray-700 border-gray-700":t,"text-gray-500 border-transparent hover:text-gray-700":l}),me=(t,l)=>({"text-red-600 border-red-600":t,"text-gray-500 border-transparent hover:text-gray-700":l}),xe=(t,l,e,s,o)=>({"text-yellow-500":t,"text-green-600":l,"text-blue-500":e,"text-gray-600":s,"text-red-600":o});function ue(t,l){if(t&1&&(i(0,"span",12),a(1),n()),t&2){let e=c();r(),C(e.contar(0))}}function _e(t,l){if(t&1&&(i(0,"span",13),a(1),n()),t&2){let e=c();r(),C(e.contar(1))}}function ve(t,l){if(t&1&&(i(0,"span",14),a(1),n()),t&2){let e=c();r(),C(e.contar(2))}}function fe(t,l){t&1&&(i(0,"div",23)(1,"span",24),a(2,"\u{1F355} Alimentos Seleccionados"),n()())}function ge(t,l){if(t&1){let e=y();i(0,"div",25)(1,"button",26),u("click",function(o){v(e);let p=c().$implicit,_=c();return f(_.aceptar(p,o))}),h(),i(2,"svg",27),g(3,"path",28),n(),a(4," Aceptar "),n(),R(),i(5,"button",29),u("click",function(o){v(e);let p=c().$implicit,_=c();return f(_.rechazar(p,o))}),h(),i(6,"svg",27),g(7,"path",30),n(),a(8," Rechazar "),n()()}if(t&2){let e=c(2);r(),d("disabled",e.guardando),r(4),d("disabled",e.guardando)}}function be(t,l){if(t&1){let e=y();S(0),i(1,"div",15)(2,"h3",16),a(3),n(),i(4,"p",17),a(5),n(),i(6,"p",18),a(7),n(),i(8,"p",18),a(9),n(),i(10,"p",19),a(11),n(),x(12,fe,3,0,"div",20)(13,ge,9,2,"div",21),i(14,"button",22),u("click",function(){let o=v(e).$implicit,p=c();return f(p.viewDetails(o))}),a(15," Ver detalles \u2192 "),n()(),E()}if(t&2){let e=l.$implicit,s=c();r(3),C(e.name),r(2),m("\u{1F4C5} ",e.reservationDate),r(2),F(" \u{1F550} ",e.hour,":",e.minute," ",e.period," "),r(2),m(" \u{1F465} ",e.spacesRequired," personas "),r(2),m(" \u{1F4DD} ",e.additionalNotes||"Sin notas"," "),r(),d("ngIf",e.orderId),r(),d("ngIf",s.esPendiente(e))}}function he(t,l){t&1&&(i(0,"div",31)(1,"div",32),h(),i(2,"svg",33),g(3,"path",34),n()(),R(),i(4,"p",35),a(5,"Sin reservaciones en esta categor\xEDa"),n()())}function ye(t,l){if(t&1&&(i(0,"span",64),a(1),I(2,"number"),n()),t&2){let e=c(3);r(),m(" $",w(2,1,e.pedido.total,"1.2-2")," ")}}function Ce(t,l){t&1&&(i(0,"p",65),a(1," Cargando el pedido\u2026 "),n())}function Re(t,l){if(t&1&&(i(0,"span"),a(1),n()),t&2){let e=c().$implicit;r(),m("",e.quantity,"x ")}}function Se(t,l){if(t&1&&(S(0),a(1),E()),t&2){let e=c().$implicit;r(),B("",e.weight," kg \xD7 $",e.pricePerKg,"/kg")}}function Ee(t,l){if(t&1&&(S(0),a(1),E()),t&2){let e=c().$implicit;r(),m("$",e.productPrice," c/u")}}function Ie(t,l){if(t&1&&(i(0,"p",77),a(1),n()),t&2){let e=c().$implicit;r(),m(" + ",e.extras.join(" \xB7 ")," ")}}function we(t,l){if(t&1&&(i(0,"p",78),a(1),n()),t&2){let e=c().$implicit;r(),m('"',e.comments,'"')}}function ke(t,l){if(t&1&&(i(0,"li",68),g(1,"img",69),i(2,"div",70)(3,"p",71),x(4,Re,2,1,"span",72),a(5),n(),i(6,"p",73),x(7,Se,2,2,"ng-container",72)(8,Ee,2,1,"ng-container",72),n(),x(9,Ie,2,1,"p",74)(10,we,2,1,"p",75),n(),i(11,"span",76),a(12),I(13,"number"),n()()),t&2){let e=l.$implicit,s=c(4);r(),d("src",e.productImage||"/logo.png",j),r(3),d("ngIf",e.pricingMode!=="BY_WEIGHT"),r(),m("",e.productName," "),r(2),d("ngIf",e.pricingMode==="BY_WEIGHT"),r(),d("ngIf",e.pricingMode!=="BY_WEIGHT"),r(),d("ngIf",e.extras.length),r(),d("ngIf",e.comments),r(2),m("$",w(13,8,s.totalLinea(e),"1.2-2"))}}function Te(t,l){if(t&1&&(i(0,"ul",66),x(1,ke,14,11,"li",67),n()),t&2){let e=c(3);r(),d("ngForOf",e.pedido.items)}}function De(t,l){t&1&&(i(0,"p",79),a(1," El pedido qued\xF3 sin platillos (se cancelaron). "),n())}function Fe(t,l){t&1&&(i(0,"p",80),a(1," No se pudo cargar el pedido. Vuelve a abrir el detalle. "),n())}function Pe(t,l){if(t&1&&(i(0,"div",52)(1,"div",53)(2,"div",54)(3,"span",55),a(4,"\u{1F355}"),n(),i(5,"div",56)(6,"p",57),a(7,"Alimentos seleccionados"),n(),i(8,"p",58),a(9,"Lo que el comensal dej\xF3 pedido por adelantado."),n()(),x(10,ye,3,4,"span",59),n(),x(11,Ce,2,0,"p",60)(12,Te,2,1,"ul",61)(13,De,2,0,"p",62)(14,Fe,2,0,"p",63),n()()),t&2){let e=c(2);r(10),d("ngIf",e.pedido&&e.pedido.items.length),r(),d("ngIf",e.cargandoPedido),r(),d("ngIf",!e.cargandoPedido&&e.pedido&&e.pedido.items.length),r(),d("ngIf",!e.cargandoPedido&&e.pedido&&!e.pedido.items.length),r(),d("ngIf",!e.cargandoPedido&&!e.pedido)}}function Ve(t,l){if(t&1){let e=y();i(0,"div",81)(1,"button",82),u("click",function(){v(e);let o=c(2);return f(o.rechazar(o.selectedReservation))}),a(2," Rechazar "),n(),i(3,"button",83),u("click",function(){v(e);let o=c(2);return f(o.aceptar(o.selectedReservation))}),a(4," Aceptar reservaci\xF3n "),n()()}if(t&2){let e=c(2);r(),d("disabled",e.guardando),r(2),d("disabled",e.guardando)}}function $e(t,l){if(t&1){let e=y();i(0,"div",36),u("click",function(){v(e);let o=c();return f(o.selectedReservation=null)}),i(1,"div",37),u("click",function(o){return v(e),f(o.stopPropagation())}),i(2,"button",38),u("click",function(){v(e);let o=c();return f(o.selectedReservation=null)}),h(),i(3,"svg",39),g(4,"path",30),n()(),R(),g(5,"div",40),i(6,"h2",41),a(7),n(),i(8,"div",42)(9,"div",43)(10,"p",44),a(11,"Fecha"),n(),i(12,"p",45),a(13),n()(),i(14,"div",43)(15,"p",44),a(16,"Hora"),n(),i(17,"p",45),a(18),n()(),i(19,"div",43)(20,"p",44),a(21,"Personas"),n(),i(22,"p",45),a(23),n()(),i(24,"div",43)(25,"p",44),a(26,"Estado"),n(),i(27,"p",46),a(28),n()(),i(29,"div",47)(30,"p",44),a(31,"Correo"),n(),i(32,"p",48),a(33),n()(),i(34,"div",47)(35,"p",44),a(36,"Creado el"),n(),i(37,"p",45),a(38),I(39,"date"),n()(),i(40,"div",47)(41,"p",44),a(42,"Notas adicionales"),n(),i(43,"p",49),a(44),n()(),x(45,Pe,15,5,"div",50),n(),x(46,Ve,5,2,"div",51),n()()}if(t&2){let e=c();r(7),m(" \u{1F4CB} ",e.selectedReservation.name," "),r(6),m(" ",e.selectedReservation.reservationDate," "),r(5),F(" ",e.selectedReservation.hour,":",e.selectedReservation.minute," ",e.selectedReservation.period," "),r(5),m(" ",e.selectedReservation.spacesRequired," "),r(4),d("ngClass",A(16,xe,e.selectedReservation.status===0,e.selectedReservation.status===1,e.selectedReservation.status===2,e.selectedReservation.status===3,e.selectedReservation.status===-1)),r(),m(" ",e.selectedReservation.status===0?"\u23F3 Pendiente":e.selectedReservation.status===1?"\u2705 Aceptada":e.selectedReservation.status===2?"\u{1F3E0} En el restaurante":e.selectedReservation.status===3?"\u{1F3C1} Finalizada":"\u274C Cancelada"," "),r(5),m(" ",e.selectedReservation.emails||"No especificado"," "),r(5),m(" ",w(39,13,e.selectedReservation.creationDate,"mediumDate")," "),r(6),m(" ",e.selectedReservation.additionalNotes||"Sin notas"," "),r(),d("ngIf",e.selectedReservation.orderId),r(),d("ngIf",e.esPendiente(e.selectedReservation))}}var Ge=(()=>{class t{ReservationService;cdr;reservations=[];selectedReservation=null;currentTab=0;pedido=null;cargandoPedido=!1;guardando=!1;constructor(e,s){this.ReservationService=e,this.cdr=s}ngOnInit(){this.loadReservations()}loadReservations(){this.ReservationService.getByRestaurantId().subscribe({next:e=>{this.reservations=e.reservation||[],this.cdr.detectChanges()},error:e=>{console.error("Error al cargar reservaciones:",e)}})}get filteredReservations(){return this.reservations.filter(e=>e.status===this.currentTab)}contar(e){return this.reservations.filter(s=>s.status===e).length}esPendiente(e){return Number(e?.status)===0}viewDetails(e){this.selectedReservation=e,this.pedido=null,e?.orderId&&this.cargarPedido(e.id)}cargarPedido(e){this.cargandoPedido=!0,this.ReservationService.getPedido(e).subscribe({next:s=>{let o=(s?.items||[]).map(p=>V(P({},p),{extras:this.extrasDeLinea(p)}));this.pedido={items:o,total:Number(s?.total)||0},this.cargandoPedido=!1,this.cdr.detectChanges()},error:()=>{this.pedido=null,this.cargandoPedido=!1,this.cdr.detectChanges()}})}extrasDeLinea(e){let s=[],o=p=>{if(!p)return[];try{let _=typeof p=="string"?JSON.parse(p):p;return Array.isArray(_)?_:[]}catch(_){return[]}};for(let p of o(e.extraFields))p?.name&&s.push(p.name);for(let p of o(e.buildSelections))for(let _ of p?.selections||[])_?.name&&s.push(_.name);return s}totalLinea(e){return e.lineTotal!==null&&e.lineTotal!==void 0?Number(e.lineTotal)||0:(Number(e.productPrice)||0)*(Number(e.quantity)||0)}aceptar(e,s){s?.stopPropagation(),this.confirmarCambio(e,1,"\xBFAceptar la reservaci\xF3n?",`Se confirma la mesa de <b>${e.name}</b> para <b>${e.spacesRequired}</b> persona(s) el ${e.reservationDate}
1. Al comensal le llega el aviso.`,"#16a34a","S\xED, aceptar","Reservaci\xF3n aceptada")}rechazar(e,s){s?.stopPropagation(),this.confirmarCambio(e,-1,"\xBFRechazar la reservaci\xF3n?",`Se le avisa a <b>${e.name}</b> que no se pudo confirmar, y la mesa que tuviera apartada queda libre. Esto no se puede deshacer desde aqu\xED.`,"#dc2626","S\xED, rechazar","Reservaci\xF3n rechazada")}confirmarCambio(e,s,o,p,_,ee,te){k.default.fire({title:o,html:p,icon:"question",showCancelButton:!0,confirmButtonText:ee,cancelButtonText:"Cancelar",confirmButtonColor:_,cancelButtonColor:"#9ca3af"}).then(ne=>{ne.isConfirmed&&(this.guardando=!0,this.ReservationService.cambiarEstado(e.id,s).subscribe({next:()=>{e.status=s,this.guardando=!1,this.selectedReservation=null,this.loadReservations(),k.default.fire({icon:"success",title:te,timer:1600,showConfirmButton:!1})},error:ie=>{this.guardando=!1,this.cdr.detectChanges(),k.default.fire("Error",ie?.error?.message||"No se pudo actualizar la reservaci\xF3n.","error")}}))})}static \u0275fac=function(s){return new(s||t)(D(Z),D(N))};static \u0275cmp=M({type:t,selectors:[["app-reservations"]],decls:22,vars:26,consts:[[1,"p-3","sm:p-6"],[1,"text-xl","sm:text-2xl","font-bold","mb-4","sm:mb-6"],[1,"mt-4","sm:mt-6"],[1,"flex","border-b","border-gray-200","overflow-x-auto","gap-1","scrollbar-hide","-mx-3","px-3","sm:mx-0","sm:px-0"],[1,"px-3","sm:px-4","py-2","text-sm","font-medium","whitespace-nowrap","flex-shrink-0","transition-colors","border-b-2",3,"click","ngClass"],["class","ml-1.5 px-1.5 py-0.5 rounded-full text-[10px] font-black bg-amber-100 text-amber-700",4,"ngIf"],["class","ml-1.5 px-1.5 py-0.5 rounded-full text-[10px] font-black bg-green-100 text-green-700",4,"ngIf"],["class","ml-1.5 px-1.5 py-0.5 rounded-full text-[10px] font-black bg-blue-100 text-blue-700",4,"ngIf"],[1,"grid","grid-cols-1","sm:grid-cols-2","lg:grid-cols-3","gap-4","sm:gap-6","mt-4"],[4,"ngFor","ngForOf"],["class","col-span-full flex flex-col items-center justify-center py-16 text-center",4,"ngIf"],["class","fixed inset-0 z-50 flex items-end sm:items-center justify-center bg-black/50",3,"click",4,"ngIf"],[1,"ml-1.5","px-1.5","py-0.5","rounded-full","text-[10px]","font-black","bg-amber-100","text-amber-700"],[1,"ml-1.5","px-1.5","py-0.5","rounded-full","text-[10px]","font-black","bg-green-100","text-green-700"],[1,"ml-1.5","px-1.5","py-0.5","rounded-full","text-[10px]","font-black","bg-blue-100","text-blue-700"],[1,"rounded-lg","shadow-md","p-4","sm:p-5","bg-white","border-l-4","border-indigo-300","hover:shadow-lg","transition-shadow"],[1,"text-base","sm:text-lg","font-semibold","text-gray-800"],[1,"text-sm","text-gray-600","mt-1"],[1,"text-sm","text-gray-600"],[1,"text-sm","text-gray-500","truncate","mt-1"],["class","mt-2 flex items-center gap-1.5 px-2 py-1 bg-amber-50 text-amber-700 rounded-md border border-amber-100 w-fit",4,"ngIf"],["class","mt-3 flex gap-2",4,"ngIf"],[1,"mt-3","inline-flex","items-center","gap-1","text-indigo-600","hover:text-indigo-800","text-sm","font-medium","transition-colors",3,"click"],[1,"mt-2","flex","items-center","gap-1.5","px-2","py-1","bg-amber-50","text-amber-700","rounded-md","border","border-amber-100","w-fit"],[1,"text-xs","font-bold","uppercase","tracking-wider"],[1,"mt-3","flex","gap-2"],[1,"flex-1","inline-flex","items-center","justify-center","gap-1.5","bg-green-600","hover:bg-green-700","disabled:opacity-50","text-white","text-xs","font-bold","py-2","rounded-lg","transition-colors",3,"click","disabled"],["fill","none","viewBox","0 0 24 24","stroke-width","3","stroke","currentColor",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"],[1,"flex-1","inline-flex","items-center","justify-center","gap-1.5","bg-white","border","border-red-200","text-red-600","hover:bg-red-50","disabled:opacity-50","text-xs","font-bold","py-2","rounded-lg","transition-colors",3,"click","disabled"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[1,"col-span-full","flex","flex-col","items-center","justify-center","py-16","text-center"],[1,"w-16","h-16","bg-gray-100","rounded-full","flex","items-center","justify-center","mb-4"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-8","h-8","text-gray-400"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[1,"text-gray-500","font-medium"],[1,"fixed","inset-0","z-50","flex","items-end","sm:items-center","justify-center","bg-black/50",3,"click"],[1,"bg-white","rounded-t-2xl","sm:rounded-xl","p-5","sm:p-6","w-full","sm:max-w-2xl","shadow-2xl","relative","max-h-[90vh]","overflow-y-auto",3,"click"],[1,"absolute","top-3","right-3","text-gray-400","hover:text-red-600","transition-colors","rounded-full","p-1.5","hover:bg-gray-100",3,"click"],["fill","none","viewBox","0 0 24 24","stroke-width","2","stroke","currentColor",1,"w-5","h-5"],[1,"sm:hidden","w-10","h-1","bg-gray-300","rounded-full","mx-auto","mb-4"],[1,"text-base","sm:text-xl","font-bold","mb-4","text-indigo-700","border-b","pb-2","pr-8"],[1,"grid","grid-cols-2","gap-3"],[1,"bg-gray-50","rounded-lg","p-3"],[1,"text-xs","text-gray-500","uppercase","tracking-wide","font-medium"],[1,"text-sm","font-semibold","text-gray-800","mt-0.5"],[1,"text-sm","font-bold","mt-0.5",3,"ngClass"],[1,"bg-gray-50","rounded-lg","p-3","col-span-2"],[1,"text-sm","font-semibold","text-gray-800","mt-0.5","break-all"],[1,"text-sm","italic","text-gray-700","mt-0.5"],["class","col-span-2",4,"ngIf"],["class","mt-5 pt-4 border-t border-gray-100 flex flex-col-reverse sm:flex-row sm:justify-end gap-3",4,"ngIf"],[1,"col-span-2"],[1,"rounded-xl","border","border-amber-200","bg-amber-50/60","overflow-hidden"],[1,"flex","items-center","gap-3","px-4","py-3","border-b","border-amber-200/70"],[1,"text-xl"],[1,"min-w-0"],[1,"text-sm","font-bold","text-amber-900"],[1,"text-[11px]","text-amber-700"],["class","ml-auto text-base font-black text-amber-900 whitespace-nowrap",4,"ngIf"],["class","px-4 py-6 text-center text-xs font-bold text-amber-700",4,"ngIf"],["class","divide-y divide-amber-100 bg-white",4,"ngIf"],["class","px-4 py-5 text-center text-xs font-bold text-amber-700",4,"ngIf"],["class","px-4 py-5 text-center text-xs font-bold text-red-600",4,"ngIf"],[1,"ml-auto","text-base","font-black","text-amber-900","whitespace-nowrap"],[1,"px-4","py-6","text-center","text-xs","font-bold","text-amber-700"],[1,"divi
1de-y","divide-amber-100","bg-white"],["class","flex gap-3 p-3",4,"ngFor","ngForOf"],[1,"flex","gap-3","p-3"],[1,"w-12","h-12","rounded-lg","object-cover","border","border-gray-100","shrink-0",3,"src"],[1,"min-w-0","flex-1"],[1,"text-sm","font-bold","text-gray-800","leading-tight"],[4,"ngIf"],[1,"text-[11px]","text-gray-500","mt-0.5"],["class","text-[11px] text-indigo-600 font-medium mt-1",4,"ngIf"],["class","text-[11px] italic text-gray-500 mt-0.5",4,"ngIf"],[1,"text-sm","font-black","text-gray-800","whitespace-nowrap"],[1,"text-[11px]","text-indigo-600","font-medium","mt-1"],[1,"text-[11px]","italic","text-gray-500","mt-0.5"],[1,"px-4","py-5","text-center","text-xs","font-bold","text-amber-700"],[1,"px-4","py-5","text-center","text-xs","font-bold","text-red-600"],[1,"mt-5","pt-4","border-t","border-gray-100","flex","flex-col-reverse","sm:flex-row","sm:justify-end","gap-3"],[1,"w-full","sm:w-auto","px-5","py-2.5","rounded-xl","bg-white","border","border-red-200","text-red-600","hover:bg-red-50","disabled:opacity-50","text-sm","font-bold","transition-colors",3,"click","disabled"],[1,"w-full","sm:w-auto","px-6","py-2.5","rounded-xl","bg-green-600","hover:bg-green-700","disabled:opacity-50","text-white","text-sm","font-bold","shadow-sm","transition-colors",3,"click","disabled"]],template:function(s,o){s&1&&(i(0,"div",0)(1,"h2",1),a(2,"Reservaciones"),n(),i(3,"div",2)(4,"div",3)(5,"button",4),u("click",function(){return o.currentTab=0}),a(6," Pendientes "),x(7,ue,2,1,"span",5),n(),i(8,"button",4),u("click",function(){return o.currentTab=1}),a(9," Aceptadas "),x(10,_e,2,1,"span",6),n(),i(11,"button",4),u("click",function(){return o.currentTab=2}),a(12," En Restaurante "),x(13,ve,2,1,"span",7),n(),i(14,"button",4),u("click",function(){return o.currentTab=3}),a(15," Finalizadas "),n(),i(16,"button",4),u("click",function(){return o.currentTab=-1}),a(17," Canceladas "),n()(),i(18,"div",8),x(19,be,16,9,"ng-container",9)(20,he,6,0,"div",10),n()(),x(21,$e,47,22,"div",11),n()),s&2&&(r(5),d("ngClass",b(11,le,o.currentTab===0,o.currentTab!==0)),r(2),d("ngIf",o.contar(0)),r(),d("ngClass",b(14,de,o.currentTab===1,o.currentTab!==1)),r(2),d("ngIf",o.contar(1)),r(),d("ngClass",b(17,ce,o.currentTab===2,o.currentTab!==2)),r(2),d("ngIf",o.contar(2)),r(),d("ngClass",b(20,pe,o.currentTab===3,o.currentTab!==3)),r(2),d("ngClass",b(23,me,o.currentTab===-1,o.currentTab!==-1)),r(3),d("ngForOf",o.filteredReservations),r(),d("ngIf",o.filteredReservations.length===0),r(),d("ngIf",o.selectedReservation))},dependencies:[U,z,q,H,Y,Q,X,W,L,O],encapsulation:2})}return t})();export{Ge as ReservationsComponent};

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.