PageSourceSearch

https://yovivo.com/_next/static/chunks/1619-4e83d20a71ab1e61.js

js yovivo.com collected 2026-10-04 23:16:24 UTC 8,549 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1619],{25758:function(e,t,r){var n=r(85893),i=r(67294),a=r(61903),s=r(42761);t.Z=function(e){var t=e.searchTerm,r=e.setSearchTerm,l=(0,i.useState)("");l[0],l[1];return(0,i.useEffect)((function(){r("")}),[location]),(0,n.jsx)(a.Z,{placeholder:"e.g. Marriott",variant:"outlined",fullWidth:!0,value:t,onChange:function(e){var t=e.target.value;r(t)},InputProps:{startAdornment:(0,n.jsx)(s.Z,{style:{marginRight:"8px",color:"#757575"}})},sx:{"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"rgba(0, 0, 0, 0.23)"},"&:hover fieldset":{borderColor:"black"}}}})}},92616:function(e,t,r){r.d(t,{w:function(){return c}});var n=r(69779),i=r(85893),a=(r(67294),r(39503),r(39043),r(99603),r(25758)),s=r(45359),l=r(85458),c=function(e){var t=e.handleFilter,r=e.setSearchTerm,c=e.searchTerm,o=(e.sortOption,e.setSortOption,e.showSort,e.filters),d=function(e,t){return t.some((function(t){return t.min===e.min&&t.max===e.max}))},p=(0,s.U)();p.currency,p.conversionRate;return(0,i.jsxs)("div",{className:"d-flex flex-column ",children:[(0,i.jsx)("div",{className:"d-flex justify-between items-center",children:(0,i.jsx)("div",{className:"",children:(0,i.jsx)(a.Z,{setSearchTerm:r,searchTerm:c})})}),(0,i.jsx)("hr",{}),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"text-20 fw-bold fw-500 text-start mb-1",children:"Property rating"}),(0,i.jsx)("div",{className:"filter-options",children:(0,i.jsx)("div",{className:"filter-option align-items-start gap-1 flex-column",children:(0,n.Z)(Array(5)).map((function(e,r){var n=r+1;return(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsxs)("label",{htmlFor:"star".concat(r),style:{marginRight:"10px"},children:[(0,i.jsx)("input",{id:"star".concat(r),type:"checkbox",checked:o.ratings.includes(n),onChange:function(e){return t("ratings",e.target.checked,n)},style:{display:"none"}}),(0,i.jsx)("span",{style:{width:"20px",height:"20px",border:"1px solid #ccc",display:"inline-block",marginRight:"5px",position:"relative"},children:o.ratings.includes(n)&&(0,i.jsx)("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"10px",height:"10px",backgroundColor:"#007bff",borderRadius:"50%",display:"block"}})})]}),(0,i.jsx)("div",{className:"d-flex align-items-center text-16 ",children:Array.from({length:n}).map((function(e,t){return(0,i.jsx)("img",{src:"/images/svg/stars.svg",alt:"Star",style:{width:"20px",height:"20px",marginRight:"2px"}},t)}))})]},r)}))})})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"fw-semibold text-20 fs-6 text-start mb-1",children:" Property Type"}),(0,i.jsx)("div",{className:"filter-options d-flex flex-row flex-wrap",children:[{type:"Hotel",icon:"/images/png/filters/hotel.png"},{type:"Resort",icon:"/images/png/filters/umbrella-beach.png"},{type:"Apartment",icon:"/images/png/filters/apartment.png"},{type:"Hostal",icon:"/images/png/filters/bed-alt.png"},{type:"Aparthotel",icon:"/images/png/filters/apartment.png"}].map((function(e){return(0,i.jsx)("div",{className:"pb-10",children:(0,i.jsxs)("button",{className:"btn p-3 rounded border".concat(o.type.includes(e.type)?"active bg-primary text-white":""," common-button-class"),onClick:function(){return t("type",!o.type.includes(e.type),e.type)},style:{marginRight:"8px",position:"relative",width:"180px"},children:[(0,i.jsx)("div",{style:{marginBottom:"5px"},children:(0,i.jsx)("img",{src:e.icon,alt:e.type,style:{width:"24px",height:"24px",marginRight:"8px"}})}),e.type]})},e.type)}))})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)("div",{className:"pb-20",children:[(0,i.jsx)("div",{className:"text-20 fw-bold fw-500 text-start mb-1",children:" Property cancellation options"}),(0,i.jsx)("div",{className:"filter-options",children:(0,i.jsx)("div",{className:"filter-option align-items-start gap-1 flex-column",children:["Free cancellation","Non refundable","Partially refundable"].map((function(e,r){var n,a;return(0,i.jsxs)("div",{className:"d-flex align-items-center",children:[(0,i.jsxs)("label",{htmlFor:"refundable".concat(r),style:{marginRight:"10px"},children:[(0,i.jsx)("input",{id:"refundable".concat(r),type:"checkbox",checked:null===(n=o.refundable)||void 0===n?void 0:n.includes(e),onChange:function(r){return t("refundable",r.target.checked,e)},style:{display:"none"}}),(0,i.jsx)("span",{style:{width:"20px",height:"20px",border:"1px solid #ccc",display:"inline-block",marginRight:"5px",position:"relative"},children:(null===(a=o.refundable)||void 0===a?void 0:a.includes(e))&&(0,i.jsx)("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"10px",height:"10px",backgroundColor:"#007bff",borderRadius:"50%",display:"block"}})})]}),(0,i.jsx)("div",{className:"d-flex align-items-center text-16",children:e})]},r)}))})})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"fw-semibold text-14 fs-6 text-start mb-1",children:" Meal plans available"}),(0,i.jsx)("div",{className:"pt-5 filter-options d-flex flex-col flex-wrap w-100",children:["Bed & breakfast","Room only","Half board","All inclusive","Full board","Others"].map((function(e){var r,n;return(0,i.jsxs)("div",{className:"d-flex align-items-center mb-2 text-14",children:[(0,i.jsxs)("label",{htmlFor:"rateName".concat(e),style:{marginRight:"10px"},children:[(0,i.jsx)("input",{id:"rateName".concat(e),type:"checkbox",checked:null===(r=o.rateNames)||void 0===r?void 0:r.includes(e),onChange:function(){var r;return t("rateNames",!(null===(r=o.rateNames)||void 0===r?void 0:r.includes(e)),e)},style:{display:"none"}}),(0,i.jsx)("span",{style:{width:"18px",height:"18px",border:"1px solid #ccc",display:"inline-block",marginRight:"5px",position:"relative",borderRadius:"12px"},children:(null===(n=o.rateNames)||void 0===n?void 0:n.includes(e))&&(0,i.jsx)("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"10px",height:"10px",backgroundColor:"#007bff",borderRadius:"50%",display:"block"}})})]}),e]},e)}))})]}),(0,i.jsx)("hr",{}),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"text-20 fw-bold fw-500 text-start",children:"Rates"}),(0,i.jsx)("span",{className:"text-14 mb-1",children:"Prices per stay with commissions and taxes included."})]}),(0,i.jsx)("div",{className:"filter-options d-flex flex-row flex-wrap pt-10",children:[{min:50,max:100},{min:100,max:200},{min:300,max:600},{min:600,max:1e3},{min:1e3,max:1500},{min:1500,max:99999}].map((function(e,r){return(0,i.jsx)("div",{className:"pb-10",children:(0,i.jsxs)("button",{className:"btn p-3 rounded border".concat(d(e,o.rates)?" active bg-primary text-white":""),onClick:function(){return t("rates",!d(e,o.rates),e)},style:{marginRight:"8px",width:"180px"},children:[(0,i.jsx)(l.Z,{priceInEur:e.min})," -"," ",e.max>1500?"+":(0,i.jsx)(l.Z,{priceInEur:e.max})]})},r)}))})]})}},33787:function(e,t,r){var n=r(85893),i=r(37212);t.Z=function(e){var t=e.children;return(0,n.jsx)(i.Wrapper,{libraries:["places"],apiKey:"AIzaSyDGcdsfD18nf82r1l6lyJfSMHUnC8Ugsfg",render:function(e){return"error"===e&&console.error("Error al cargar Google Maps:",e,error),(0,n.jsx)("h1",{children:e})},mapOptions:{disableMapTypeControl:!0},children:t})}},85458:function(e,t,r){var n=r(34727),i=r(34051),a=r.n(i),s=r(85893),l=r(67294),c=r(45359).U;t.Z=function(e){var t=e.priceInEur,r=c().currency,i=(0,l.useState)(0),o=i[0],d=i[1];return(0,l.useEffect)((function(){var e=function(){var e=(0,n.Z)(a().mark((function e(){var n,i,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://api.exchangerate-api.com/v4/latest/EUR");case 3:return n=e.sent,e.next=6,n.json();case 6:i=e.sent,(s=i.rates[r])&&!isNaN(t)?d(Number(t*s)):d(0),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),console.error("Failed to fetch currency rates:",e.t0),d(0);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();e()}
1),[r,t]),(0,s.jsxs)(s.Fragment,{children:[o.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})," ",r]})}},44143:function(e,t){t.Z=function(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="\xe0\xe1\xe4\xe2\xe8\xe9\xeb\xea\xec\xed\xef\xee\xf2\xf3\xf6\xf4\xf9\xfa\xfc\xfb\xf1\xe7\xb7/_,:;",r=0,n=t.length;r<n;r++)e=e.replace(new RegExp(t.charAt(r),"g"),"aaaaeeeeiiiioooouuuunc------".charAt(r));return e=e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}}}]);

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.