PageSourceSearch

https://waynabox.com/chunk-3GEU6WFX.js

js waynabox.com collected 2026-10-02 18:17:56 UTC 8,904 bytes, 7 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ee464418-bf98-59b3-b386-12f3596f79ed")}catch(e){}}();
3import{a as ne,b as v}from"./chunk-TNUUSJRK.js";import{b as ae}from"./chunk-SX65M6PS.js";import{A as k,Ac as K,Ba as p,Cc as $,F as N,Gc as Z,Hc as ee,Ia as z,Ja as B,Ka as j,La as h,Ld as te,Md as ie,Mf as oe,Na as F,Oa as G,Sa as H,V as P,Vb as V,W as b,Yd as re,Z as R,k as D,kc as X,lc as W,nc as Y,za as U}from"./chunk-JTUORGUC.js";import{$b as u,Ac as s,Bc as d,Db as y,Mb as O,Ob as A,Pb as I,Qb as c,Rb as l,Sb as M,Wb as L,_b as E,ed as q,fa as w,fd as Q,gd as J,ib as m,jb as a,kc as _,lc as g,oa as S,pa as T,vb as x,ya as f,za as C}from"./chunk-WMLFXBDY.js";function he(o,t){if(o&1){let r=L();c(0,"wizard-product-card",8),s(1,"translate"),s(2,"translate"),s(3,"translate"),E("cardClick",function(){let i=f(r).$implicit,n=u();return C(n.goToLanding(i))})("actionClick",function(){let i=f(r).$implicit,n=u();return C(n.goToLanding(i))}),l()}if(o&2){let r=t.$implicit,e=u();y("imageUrl",r.imageUrl)("title",d(1,12,r.title))("description",d(2,14,r.desc))("price",e.getPriceNumber(r))("showPerPaxText",!0)("reserveTwoDescriptionLines",!0)("showAction",!0)("actionLabel",d(3,16,"product_view_more"))("available",e.isProductAvailable(r.id))("infoTag",e.isProductAvailable(r.id)?"":e.COMING_SOON_TEXT)("infoTagStyle",e.isProductAvailable(r.id)?"":e.INFO_TAG_STYLE.new)("unavailableProductText",r.unavailableProductText)}}var ce=(()=>{let t=class t{constructor(e,i,n,se,de,le,pe,me,ue,_e){this.seoService=e,this.route=i,this.cartStore=n,this.funnelFlow=se,this.localeService=de,this.routesService=le,this.platform=pe,this.gtm=me,this.productService=ue,this.translateService=_e,this.ButtonDisplay=ie,this.ButtonSize=te,this.isLoaderActivated=!1,this.lastProductSelected=void 0,this.locale="es",this.tabs=[{name:"products_air_category",value:"air",icon:"assets/common/icons/lineal/plane_black.svg"},{name:"products_road_category",value:"road",icon:"assets/common/icons/lineal/car_black.svg"}],this.selectedCategory=x(this.tabs?.[0]?.value),this.products=[{title:"home_products_basic_title",desc:"basic_product_description",price:"products_section_basic_price",landing:"original",imageUrl:"https://cdn1.waynabox.com/productAggregate/products/more-experiences/sorpresaeuropa.webp",id:B,productCategory:p.airProduct,unavailableProductText:"unavailable_products_europa"},{title:"home_products_wainaisla_title",desc:"home_products_wainaisla_subtitle",price:"products_section_waynaisla_price",landing:"viaje-isla-sorpresa",imageUrl:"https://cdn1.waynabox.com/productAggregate/products/more-experiences/waynaisla.webp",id:h,productCategory:p.airProduct,unavailableProductText:"unavailable_products_isla"},{title:"home_products_america_title",desc:"home_products_america_subtitle",price:"products_section_america_price",landing:"america",imageUrl:"https://cdn1.waynabox.com/productAggregate/products/more-experiences/america.webp",id:F,productCategory:p.airProduct,unavailableProductText:"unavailable_products_america"},{title:"roadproduct_trip_name",desc:"roadproduct_trip_subtitle",price:"products_section_roadtrip_price",landing:"getaway-landing",imageUrl:"https://cdn1.waynabox.com/productAggregate/products/more-experiences/roadtrip.webp",id:H,productCategory:p.roadProduct,unavailableProductText:"unavailable_products_roadtrip"},{title:"christmas_landing_widget_overtitle",desc:"christmas_product_description",price:"products_section_christmas_price",landing:"christmas",imageUrl:"https://cdn1.waynabox.com/productAggregate/products/more-experiences/navidad.webp",id:G,productCategory:p.airProduct,disabled:!0,unavailableProductText:"unavailable_products_christmas"}],this.INFO_TAG_STYLE=ne,this.COMING_SOON_TEXT=V,this.locale=this.localeService.getLocale()}ngOnInit(){this.cartStore.setStep("",0),this.subscription=this.route.data.subscribe(e=>{e.activeTab!=null?(this.selectedCategory.set(e.activeTab),this.selectCategory(e.activeTab)):this.selectCategory("air")})}ngOnDestroy(){this.subscription?.unsubscribe()}selectCategory(e){this.selectedCategory.set(e),this.displayProducts=this.products}loadSeo(){this.seoService.setTitleByLanguageKeyword("viaje_title_description"),this.seoService.setMetaDescriptionByLanguageKeyword("viaje_meta_description")}goToLanding(e){if(e?.id===h&&(this.locale===b||this.locale===P))return this.routesService.navigateTo(z);this.routesService.navigateTo(e.landing)}startPurchase(e){if(this.lastProductSelected=e.id,this.platform.isThisBrowser()){if(e.landing=="dinner"){window.location.replace("https://waynabox.typeform.com/to/slIWuNjo?utm_source=landingi&utm_campaign=cena-h
3otel");return}if(e.landing=="cooking"){window.location.replace("https://waynabox.typeform.com/to/PxQiZdhe");return}}this.cartStore.setStep(R,1),this.isLoaderActivated=!0,this.cartStore.resetStore({}).then(()=>{this.cartStore.setFunnel(U.booking),this.cartStore.setProductCategory(e.productCategory),e?.id===h&&(this.locale===b||this.locale===P)?this.cartStore.setProduct(j):this.cartStore.setProduct(e.id);let i={preferedLocale:this.localeService.getLocale()};this.cartStore.updateParameters(i).then(()=>{this.gtm.pushPH(K.CTA_MORE_EXPERIENCES),this.funnelFlow.clearCurrentStep(),this.lastProductSelected=void 0,this.isLoaderActivated=!1,this.funnelFlow.goToNextFunnelStep()},n=>console.error(n))},()=>this.isLoaderActivated=!1)}getPriceNumber(e){return this.translateService.instant(e.price)||0}isProductAvailable(e){return this.platform.isThisBrowser()?this.productService.isProductAvailable(e):!0}};t.\u0275fac=function(i){return new(i||t)(a(ae),a(k),a(Z),a(re),a(W),a(Y),a(X),a(ee),a($),a(q))},t.\u0275cmp=S({type:t,selectors:[["app-products"]],decls:15,vars:9,consts:[[1,"landing-main-container"],[1,"landing-main-banner"],[1,"container","content"],[1,"over-title"],[1,"section-title"],[1,"section-paragraph"],[1,"wizard-product-cards-grid-container","equalize-grid"],[3,"imageUrl","title","description","price","showPerPaxText","reserveTwoDescriptionLines","showAction","actionLabel","available","infoTag","infoTagStyle","unavailableProductText"],[3,"cardClick","actionClick","imageUrl","title","description","price","showPerPaxText","reserveTwoDescriptionLines","showAction","actionLabel","available","infoTag","infoTagStyle","unavailableProductText"]],template:function(i,n){i&1&&(c(0,"div",0),M(1,"div",1),c(2,"div",2)(3,"h3",3),_(4),s(5,"translate"),l(),c(6,"h2",4),_(7),s(8,"translate"),l(),c(9,"div",5),_(10),s(11,"translate"),l(),c(12,"div",6),A(13,he,4,18,"wizard-product-card",7,O),l()()()),i&2&&(m(4),g(d(5,3,"product_page_overtitle")),m(3),g(d(8,5,"product_page_title")),m(3),g(d(11,7,"product_page_desc")),m(3),I(n.displayProducts))},dependencies:[v,Q],styles:[`@-webkit-keyframes _ngcontent-%COMP%_sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes _ngcontent-%COMP%_sk-bouncedelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes _ngcontent-%COMP%_appear{0%{margin-top:1.25rem;opacity:0}to{margin-top:0;opacity:1}}.landing-main-banner[_ngcontent-%COMP%]{background-image:url(https://cdn1.waynabox.com/website/products/banner.webp)}.content[_ngcontent-%COMP%]{margin-top:60px}.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]{margin-top:2rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1.5rem;padding-bottom:4rem}@media (max-width: 1279px){.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 1023px){.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}}.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]   wizard-product-card[_ngcontent-%COMP%]{height:100%;margin:0!important;min-width:auto!important;max-width:none!important;width:100%!important}.content[_ngcontent-%COMP%]   .wizard-product-cards-grid-container[_ngcontent-%COMP%]   wizard-product-card[_ngcontent-%COMP%]:nth-child(2n){margin-right:0}
4/*# sourceMappingURL=products.component-M5SUXZIX.css.map */`]});let o=t;return o})();var ve=[{path:"",component:ce}],Ge=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=T({type:t}),t.\u0275inj=w({imports:[D,J,oe,v,N.forChild(ve)]});let o=t;return o})();export{Ge as ProductsModule};
5//# sourceMappingURL=chunk-3GEU6WFX.js.map
6
7//# debugId=ee464418-bf98-59b3-b386-12f3596f79ed

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.