PageSourceSearch

https://www.weroad.com/_nuxt/BSxbF9X7.js

js weroad.com collected 2026-09-24 10:12:45 UTC 3,583 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:weroad":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f70a8298-f9b2-432b-9559-65c6b460a472`,e._sentryDebugIdIdentifier=`sentry-dbid-f70a8298-f9b2-432b-9559-65c6b460a472`)}catch{}})();import{Et as e,Qt as t,W as n,Yt as r,d as i,f as a,kt as o,l as s,p as c,q as l,r as u,u as d,x as f}from"./BSXR3eMi.js";import{t as p}from"./Fc3yw33_.js";import{t as m}from"./D7DM0C_z2.js";import{t as h}from"./DqMzMQNk2.js";import{n as g}from"./BVbe_EHb.js";import{l as _}from"./SzRYc5-x.js";var v=()=>{let e=m();return{fetchPaginatedToursByTravelSlug:async(t,n)=>g(await e.GET(`/travels/{slug}/tours/paginated`,{params:{path:{slug:t},query:n}}),({response:e,error:t})=>Error(`paginated tours request failed with status ${e.status}${t===void 0?``:`: ${JSON.stringify(t)}`}`)).data}};function y({bookingPillars:e,depositPrice:t,currency:n}){let r=p(),i=s(()=>e.value.freeCancellation),a=s(()=>t.value&&e.value.bookWithZeroDeposit?r.formatCurrencyByIsoCode(_(t.value),n.value):``),o=s(()=>t.value&&e.value.bookWithDeposit?r.formatCurrencyByIsoCode(t.value,n.value):``),c=s(()=>!!o.value||!!a.value),l=s(()=>{let e=o.value||a.value;return e?r.t(`BOOK_WITH`,{price:e}):``}),u=s(()=>e.value.interestFreeInstallments);return{showFreeCancellation:i,zeroBookingLabel:a,depositPriceLabel:o,showBookWithDeposit:c,bookWithLabel:l,showInterestFreeInstallments:u,showPrivateRoom:s(()=>e.value.privateRoomForFree),showFirstDot:s(()=>i.value&&c.value),showSecondDot:s(()=>(i.value||c.value)&&u.value)}}var b={key:1,class:`mr-1`},x=[`textContent`],S=f({__name:`index`,props:{bookingPillars:{},depositPrice:{default:()=>({})},currency:{},variant:{default:`compact`},maxItems:{default:3}},setup(m){f({name:`wr-booking-pillars`});let g=m,_=p(),{showFreeCancellation:v,showBookWithDeposit:S,bookWithLabel:C,showInterestFreeInstallments:w,showPrivateRoom:T}=y({bookingPillars:e(g,`bookingPillars`),depositPrice:e(g,`depositPrice`),currency:e(g,`currency`)}),E=[{condition:S,key:`deposit`,label:C,icon:`common:coins`},{condition:v,key:`freeCancellation`,label:s(()=>_.t(`FREE_CANCELLATION`)),icon:`mdi:check-circle-outline`},{condition:w,key:`installments`,label:s(()=>_.t(`FREE_INSTALLMENTS`)),icon:`mdi:calendar-outline`}],D=s(()=>E.filter(e=>e.condition.value).length),O=s(()=>T.value&&D.value<g.maxItems),k=[...E,{condition:O,key:`privateRoom`,label:s(()=>_.t(`PRIVATE_ROOM`)),icon:`common:high-five`}],A=s(()=>k.filter(e=>e.condition.value).map(e=>({key:e.key,label:e.label.value,icon:e.icon}))),j=s(()=>g.variant===`compact`?`-mx-3.5 mb-0.5 lg:rounded-b-xl flex items-center justify-center gap-1.5 overflow-hidden truncate bg-gray-50 px-1.5 py-3 text-xs`:`flex h-12 items-center gap-3 justify-between bg-white`);return(e,s)=>{let f=h;return n(),c(`div`,{class:r(o(j))},[(n(!0),c(u,null,l(o(A),(e,o)=>(n(),c(`div`,{key:e.key,class:r({"flex items-center gap-2":m.variant===`expanded`})},[m.variant===`expanded`?(n(),i(f,{key:0,name:e.icon,class:`size-5`},null,8,[`name`])):a(``,!0),m.variant===`compact`&&o?(n(),c(`span`,b,`•`)):a(``,!0),d(`span`,{textContent:t(e.label)},null,8,x)],2))),128))],2)}}});export{v as n,S as t};

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.