PageSourceSearch

https://www.wego.com.tr/roxana/2308.6f359cc0.bundle.js

js wego.com.tr collected 2026-10-08 12:31:29 UTC 8,482 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkroxana=self.webpackChunkroxana||[]).push([[2308],{24859(e,r,t){t.d(r,{A:()=>o}),t(28706),t(34782),t(9868),t(27495),t(90906),t(25440);var n=t(64756),a=t(44016),i=(t(96540),t(21239)),s=t(76375);var l=t(74848);const o=function(e){var r,t,o,c=e.currencyCode,d=e.amount,u=e.showDecimal,m=e.locale,f=(0,s.lq)(c),h=(0,s.VZ)(c),p=!(!f||!h),v=function(e){return/COP|IDR|IRR|KRW|LBP|VND/.test(e.toUpperCase())},j=(0,n.p)(c),g=u?null!==(r=j.numberOfDecimals)&&void 0!==r?r:2:0,x=v(c)||d>99999?d.toFixed(0):d.toFixed(g),y=x.length;o=!(v(c)||d>99999)&&g>0?y-3>3?y%3:0:y>3?y%3:0;var b=(0,a.ie)("".concat(o?"".concat(x.slice(0,o)).concat(j.separator||","):"").concat(x.slice(o).replace(/\B(?=(\d{3})+(?!\d))/g,j.separator||",")),"fa"===m),N=null===(t=j.symbolFirst)||void 0===t||t,_=function(){if(p)return(0,l.jsxs)("span",{className:"custom-font-".concat(f),children:[i.r[c]," "]});var e=j.symbol||c;return(0,l.jsx)("span",{className:N?"BuDwsW7iI8FpTInA_ft6":"BkJxgwv0tuO1xlGPbaj8",children:e})};return(0,l.jsx)("div",{className:"WdX3gzcwC3K5NPAa_PIE",children:N?(0,l.jsxs)(l.Fragment,{children:[_(),b]}):(0,l.jsxs)(l.Fragment,{children:[b,_()]})})}},42249(e,r,t){t.d(r,{S:()=>a});var n=t(96285),a=function(e,r){var t=e||"UTC";return{timezone:t,timezoneOffset:r||n.c9.now().setZone(t).toFormat("ZZ")}}},53508(e,r,t){t.d(r,{A:()=>S}),t(52675),t(89463);var n=t(44016),a=t(66401),i=t(96540),s=t(71468),l=(t(2259),t(16280),t(76918),t(28706),t(2008),t(50113),t(23418),t(64346),t(23792),t(62062),t(34782),t(23288),t(62010),t(26099),t(27495),t(90906),t(38781),t(47764),t(98992),t(54520),t(72577),t(81454),t(62953),t(10619)),o=t(38411),c=t(96285),d=t(14407),u=t(95806),m=t(43086),f=t(24375);const h="RzOjdhq1JguUCI7As1kg",p="U7p2T4BpbrLz55iUw8kY",v="xVtesjLGza15mbxcrS_w",j="otjfVoYtYjy2dMYDJrSc",g="yX_nTLO5fs5EeZSljbnW",x="i4xLxusfE_pLK1IT1WqA";var y=t(74848);function b(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}const N=function(e){var r=e.cancellationPolicies,t=e.timezoneOffset,N=e.isPayAtProperty,_=void 0!==N&&N,w=(0,m.u)(),A=(0,s.d4)(f.YH),S=(0,s.d4)(f.MS),z=(0,i.useMemo)(function(){if(!r||(0,a.A)(r))return[];var e,t=r.find(function(e){return 0===e.percentage}),n=r.filter(function(e){return e.percentage>0&&e.percentage<100}),i=r.find(function(e){return 100===e.percentage});if(!i){var s=r[r.length-1];i={from:s.to,to:s.to,percentage:100,amount:0,currency:""}}return[t].concat((e=n,function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return b(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?b(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[i]).filter(d.SJ)},[r]);if(0===z.length)return null;var C=c.c9.now().setZone(t).toMillis(),T=function(e){return C>=new Date(e).getTime()};return(0,y.jsx)("div",{className:"pGJaCizvbQeFgnPA_O5A",children:z.map(function(e,a){var s,c,d,m,f,b=(0,u.H)(e.from,t),N=(0,u.H)(e.to,t),O=new Date(N).getTime()<C,L=a===z.length-1;return(0,y.jsxs)(i.Fragment,{children:[0===e.percentage?(0,y.jsxs)("div",{className:h,"data-testid":"free-cancellation-policy",children:[(0,y.jsxs)("div",{className:p,children:[(0,y.jsx)("div",{className:(0,l.$)(v,"P4r0zrHxuyA17qm4gaCu",O&&g),children:O?A.lbl_ended:A.lbl_now}),!L&&(0,y.jsx)("div",{className:"r9PT8D3ziyVzKGAqab0R"})]}),(0,y.jsxs)("div",{className:(0,l.$)(j,"ZifIjXKIqsH3b4SFb7Aw",O&&g),children:[(0,y.jsxs)("span",{className:x,children:[A.free_cancellation," "]}),(0,n.sS)(A.lbl_until_placeholder.toLocaleLowerCase(),S,w({dateTime:r[0].to,timezoneOffset:t}))]})]}):void 0,e.percentage>0&&e.percentage<100?(0,y.jsxs)("div",{className:h,"data-testid":"partial-cancellation-policy",children:[(0,y.jsxs)("div",{className:p,children:[(0,y.jsx)("div",{className:(0,l.$)(v,"iMSHx5Vl7QpyjAv4oeev",O&&g),children:(s=b,c=N,d=new Date(s).getTime(),m=new Date(c).getTime(),f=C>=d&&C<=m,m<C?A.lbl_ended:f?A.lbl_now:(0,o.S1)(new Date(s),A.short_months,void 0,2,S))}),!L&&(0,y.jsx)("div",{className:"ZL0mYgkXgaflc_zcQhSh"})]}),(0,y.jsxs)("div",{className:(0,l.$)(j,"Fgscjyz65RQB_LlzQCth",O&&g),children:[(0,y.jsxs)("span",{className:x,children:[_?(0,n.sS)(A.percentage_charge,S,e.percentage):(0,n.sS)(A.percentage_refund,S,Math.round(100-e.percentage))," "]}),(0,n.sS)(A.lbl_until_placeholder.toLocaleLowerCase(),S,w({dateTime:e.to,timezoneOffset:t}))]})]}):void 0,100===e.percentage?(0,y.jsxs)("div",{className:h,"data-testid":"no-refund-cancellation-policy",children:[(0,y.jsx)("div",{className:p,children:(0,y.jsx)("div",{className:"Pqn0zL355d_8tKBc1bZ8",children:T(e.from)?A.lbl_now:w({dateTime:e.from,timezoneOffset:t,onlyDate:!0})})}),(0,y.jsx)("div",{className:(0,l.$)(j,"RAz0Q9NT1OH6CvpbqT0_"),children:_?(0,y.jsxs)("span",{children:[(0,y.jsx)("span",{className:x,children:(0,n.sS)(A.percentage_charge,S,100)})," ",(0,n.sS)(A.lbl_until_placeholder.toLocaleLowerCase(),S,A.lbl_checkin_or_no_show)]}):T(e.from)?A.refund_period_ended:A.no_refund})]}):void 0]},b+N+e.amount)})})};var _=t(75993);const w="IykYMJWKio69C0dF_W2O",A=function(){return(0,y.jsxs)("div",{className:"WGnpEuStGx_ymWgKnXwf","data-testid":"cancellation-policy-loader",children:[(0,y.jsxs)("div",{className:"yep9vfMRBXjX3iEOdYoj",children:[(0,y.jsx)(_.A,{width:147,height:16,borderRadius:4}),(0,y.jsx)(_.A,{width:201,height:14,borderRadius:4})]}),(0,y.jsxs)("div",{className:"dt2MtG4rumHwY2WmZs5r",children:[(0,y.jsxs)("div",{className:w,children:[(0,y.jsx)(_.A,{width:60,height:14,borderRadius:4}),(0,y.jsx)(_.A,{width:201,height:14,borderRadius:4})]}),(0,y.jsxs)("div",{className:w,children:[(0,y.jsx)(_.A,{width:60,height:14,borderRadius:4}),(0,y.jsx)(_.A,{width:201,height:14,borderRadius:4})]})]})]})},S=function(e){var r=e.cancellations,t=e.hotelCityName,i=e.isLoading,l=e.timezoneOffset,o=e.isPayAtProperty,c=void 0!==o&&o,d=e.footerNote,u=(0,s.d4)(f.MS),m=(0,s.d4)(f.YH);if(i)return(0,y.jsx)(A,{});var h=(0,a.A)(r)||1===r.length&&100===r[0].percentage;return(0,y.jsxs)("div",{className:"pxW2GlPiAeFpiAY1a5Zo",children:[(0,y.jsx)("h3",{className:"HsIPrZjje_1Brol7O_EK",children:m.act_c
1ancellation_policy}),h?(0,y.jsx)("p",{className:"vamTpwpeOFjLm39Y97bp",children:m.bow_non_refundable_terms}):(0,y.jsxs)("div",{className:"VwNzizeDrVCCA1pGvuZo",children:[(0,y.jsx)("h3",{className:"i9HTsemjhRR_twuHdLjv",children:(0,n.sS)(m.bow_placeholder_timezone_desc,u,"+00:00"===l?"UTC":t)}),(0,y.jsx)(N,{timezoneOffset:l,cancellationPolicies:r,isPayAtProperty:c}),d?(0,y.jsx)("p",{className:"l8pJxNhcv4XACyoFQR_U",children:d}):null]})]})}},6091(e,r,t){function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){var t,a,i=/^(\d{4})-(\d{2})-(\d{2})/.exec(e);if(i){var s=(a=4,function(e){if(Array.isArray(e))return e}(t=i)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,s,l=[],o=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;o=!1}else for(;!(o=(n=i.call(t)).done)&&(l.push(n.value),l.length!==r);o=!0);}catch(e){c=!0,a=e}finally{try{if(!o&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(c)throw a}}return l}}(t,a)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,r):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=s[1],o=s[2],c=s[3],d=new Date(Number(l),Number(o)-1,Number(c));if(!Number.isNaN(d.getTime()))return d.toLocaleDateString(r,{day:"numeric",month:"short",year:"numeric"})}var u=new Date(e);return Number.isNaN(u.getTime())?e:u.toLocaleDateString(r,{day:"numeric",month:"short",year:"numeric"})}t.d(r,{T:()=>a}),t(52675),t(89463),t(2259),t(16280),t(76918),t(23418),t(64346),t(23792),t(44114),t(34782),t(23288),t(62010),t(2892),t(40150),t(26099),t(27495),t(90906),t(38781),t(47764),t(62953)}}]);

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.