PageSourceSearch

https://www.spadreams.it/_next/static/chunks/4466-10be517d539f137c.js

js spadreams.it collected 2026-10-03 00:32:58 UTC 11,828 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="646ecb1b-7115-40d7-97e7-dff8257b11a2",e._sentryDebugIdIdentifier="sentry-dbid-646ecb1b-7115-40d7-97e7-dff8257b11a2")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4466],{7565:(e,t,n)=>{n.d(t,{a:()=>r});var r=function(e){return e.ARROW_RIGHT="arrow-right",e.ARROW_RIGHT_SLIM="arrow-right-slim",e.QUESTION_MARK="question-mark",e.ARROW_DOWN="arrow-down",e.ARROW_DOWN_DARK_SEARCH_RESULT_WITHOUT_TEXT_ON_MOBILE="arrow-down_dark",e.ARROW_DOWN_DARK_SEARCH_RESULT_WITH_TEXT_ON_MOBILE="arrow-down_dark-with-text-on-mobile",e}({})},21369:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r,o=n(12115);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=e=>o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:7,height:11,fill:"none",viewBox:"0 0 7 11"},e),r||(r=o.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m1.607 1.281 4.196 4.02a.28.28 0 0 1 .086.199.27.27 0 0 1-.086.199l-4.196 4.02"})))},43104:(e,t,n)=>{n.d(t,{BZ:()=>i,LU:()=>c,S:()=>u,Y:()=>a,cD:()=>d,uS:()=>l,uZ:()=>f,yI:()=>h});var r=n(29300),o=n.n(r);let a="bg-primary-lightened text-stone-600 mr-2",i="bg-primary text-white",s="bg-primary text-white",l="font-semibold rounded-md",c="text-md md:text-sm",u=o()(l,s),d=o()("font-semibold py-4 px-4 md:px-6 text-md md:text-xl rounded-md",s),f="after:absolute after:inset-0 after:z-40 after:pointer-events-auto after:content-['']",h="underline"},48092:(e,t,n)=>{n.d(t,{E1:()=>p,YR:()=>M,xS:()=>P,Zm:()=>S,zN:()=>j,_R:()=>_,Ts:()=>E,wR:()=>b,Xx:()=>O,qr:()=>T,zk:()=>y,v_:()=>w,U6:()=>v,bp:()=>W,X0:()=>k,QG:()=>I,AW:()=>U,TZ:()=>L,d8:()=>C,vq:()=>x,aD:()=>D});var r=n(39647),o=n(88285),a=n(29147),i=n.n(a),s=n(57383),l=n(67559),c=n(61797),u=n(49509),d=n(96611);let f=n(49509).env.API_URL||"https://api.fitreisen.de/v3/",h=`${f.replace("v3","v1")}newsletter/`,p=10,m=[301,302,303,307,308],g=!1;function R(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLowerCase(),t]))}async function O(e,t){let n=new URLSearchParams({domain:e,currency:t});return await fetch(`${f}voucher/paymentPrices?${n.toString()}`).then(e=>e.json()).then(e=>e.map(e=>({Code:e.code,Fee:e.fee})))}async function _(e,t,n,r){return n.set("h",e),await (0,c.EN)(`${f}hotels/programs/?`+n.toString(),{domain:t,currency:r}).then(e=>e.ok?e.json():e.text().then(t=>(console.error("Error fetching hotel programs",e.status,t),{programs:[],additionalPrograms:[]})))}async function w(e){return await (0,c.Zt)(`${f}booking/wizard-offers/?`+new URLSearchParams(e).toString(),{domain:e.domain,currency:e.currency}).then(e=>e.json())}async function y(e){return await (0,c.Zt)(`${f}booking/wizard-availability/?`+new URLSearchParams(e).toString(),{currency:e.currency,domain:e.domain}).then(e=>e.json())}async function b(e,t,n){var r;return e.append("domain",t),e.append("locale",n.locale),e.has("prop")&&function(e,t){let n=function(e){function t(e){return e.type===o.LocationFilterElementType.Property}return[...e.searchFilters.location.filter(t),...i()(Object.values(e.searchFilters.additionalFilters)).filter(t)].map(e=>e.value)}(e);t.set(o.LocationFilterElementType.Property,t.get(o.LocationFilterElementType.Property).split("_").filter(e=>!n.includes(e)).join("_"))}(n,e),r=await fetch(`${f}search/labels?`+e.toString().replace(/undefined/g,"")).then(e=>e.json()),{search:{destinations:r.search.destinations?.map(e=>R(e))||[],topics:i()([r.search.topicTypes||[],r.search.topics||[]]).map(e=>R(e))||[]}}}async function S(e,t){return await fetch(`${f}search/map/?`+new URLSearchParams({domain:e,locale:t}).toString()).then(e=>e.json())}async function E(e,t,n,r,o){return await fetch(`${f}hotels/ratings?h=${t}&page=${o}&ratingsOrder=${n}&travellerType=${r}&domain=${e}`).then(e=>e.json())}async function T(e,t,n,r,o,a){return await (0,c.Zt)(`${f}search?`+new URLSearchParams({locale:n,page:r.toString(),...o,results:a?.toString()||p.toString()}).toString().replace(/undefined/g,""),{domain:e,currency:t}).then(e=>(e.ok?e.json():Promise.resolve({...M})).then(e=>(e.BackfillResult=e.BackfillResult||M.BackfillResult,e)))}
1async function v(e){let{collect_token:t,collect_id:n}=(0,d.oP)();return await (0,c.EN)(`${f}booking/get/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,CollectToken:t,CollectId:n}),currency:e.currency,domain:e.domain}).then(e=>{if(m.includes(e.status))window.location.href=e.headers.get("Location")||"";else if(e.ok)return e.json()})}async function N(e){let t=new URLSearchParams({domain:e.Domain,currency:e.Currency});return await fetch(`${f}voucher/save/?${t.toString()}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(e=>e.json()).then(e=>e).catch(e=>{throw console.error("Voucher purchase failed",e),e}).finally(()=>{g=!1})}async function A(e,t,r,o,a){if("save"===a&&"true"===u.env.NEXT_PUBLIC_MOCK_BOOKING_API){g=!1,console.warn("[mock-booking-api] Booking intercepted locally — no real booking was created.");let{createMockBookingResponse:t}=await n.e(7583).then(n.bind(n,57583));return t(e,o)}let{collect_token:i,collect_id:s}=(0,d.oP)();return await (0,c.EN)(`${f}booking/${a}/?`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,Selection:t,CollectToken:i,CollectId:s}),currency:o,domain:r}).then(e=>e.json()).finally(()=>{g=!1})}function k(e,t,n,r){if(g)throw Error("A booking request is already in progress");return g=!0,A(e,t,n,r,"save")}function I(e){if(g)throw Error("A booking request is already in progress");return g=!0,N(e)}function x(e,t,n,r){if(g)throw Error("A booking request is already in progress");return A(e,t,n,r,"update")}async function j(e,t,n){let r=new URLSearchParams({domain:e,h:t});return await (0,c.EN)(`${f}hotels/images/?${r.toString()}`,{domain:e,currency:n}).then(e=>e.json())}function L(e,t){let n=(0,l.iw)(s.A.get(l.RD)),r=(0,l.kI)(s.A.get(l.o3)),o=(0,l.sz)({cookieString:n,domain:e,includeClientSide:!0,overrides:r,ignorePathPrefix:!0}),{collect_token:a,collect_id:i}=(0,d.oP)();"localhost"===window.location.hostname||window.location.hostname.endsWith("vercel.app")||fetch(`${f}tracking/`,{method:"POST",body:JSON.stringify({domain:e,...t,user:s.A.get("user"),testVariants:o,collectToken:a,collectId:i,pageUrl:window.location.origin+window.location.pathname})}).catch(e=>{console.debug(e)})}function W(e){let{collect_token:t,collect_id:n}=(0,d.oP)(),r=new URLSearchParams({collect_token:t,collect_id:n,domain:e});return fetch(`${h}settings?${r.toString()}`,{headers:{Accept:"application/json"}}).then(H)}function P(e){let{collect_token:t,collect_id:n}=(0,d.oP)();return $({collect_token:t,collect_id:n,domain:e},"confirm").then(H)}function D(e,t){let{collect_token:n,collect_id:r}=(0,d.oP)();return $({collect_token:n,collect_id:r,domain:e,...t},"settings").then(H)}function C(e,t){let{collect_token:n,collect_id:r}=(0,d.oP)();return $({collect_token:n,collect_id:r,domain:t},"unsubscribe").then(e=>{if(!e.ok)throw Error("Unsubscribe failed")})}function U(e,t){return $({email:e,domain:t,source:"Website - Footer"},"signup")}function $(e,t){return fetch(`${h}${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}function H(e){return e.ok?e.json():e.text().then(e=>Promise.reject(Error(e)))}let M={SearchResult:{SearchResultItems:[],MapItems:[],NumberOfOffers:0,NumberOfResults:0},BackfillResult:{SearchResultItems:[],MapItems:[],NumberOfOffers:0,NumberOfResults:0},Currency:r.Sj.EUR,Message:"",NumberOfOffers:0,NumberOfResults:0}},73143:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var r,o,a,i=n(95155),s=n(12115),l=n(29300),c=n.n(l),u=n(7565),d=n(43104),f=n(74012),h=n(86204),p=n(39688),m=n(21369);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let R=e=>s.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none",viewBox:"0 0 12 12"},e),r||(r=s.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.481 4 6.393 7.176a.22.22 0 0 1-.152.065.2.2 0 0 1-.153-.065L3 4"})));function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let _=e=>s.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),o||(o=s.createElement("path",{d:"m256 429.3 22.6-22.6 192-192 22.7-22.7-45.3-45.3-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192z"})));function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let y=e=>s.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20"},e),a||(a=s.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0s10 4.477 10 10m-8.7 4.15a1.15 1.15 0 1 1-2.3 0 1.15 1.15 0 0 1 2.3 0M9.676 6.364a1.5 1.5 0 1 1 .574 2.886.75.75 0 0 0-.75.75v.99a.75.75 0 0 0 1.5 0v-.335A3 3 0 1 0 7.25 7.75a.75.75 0 0 0 1.5 0 1.5 1.5 0 0 1 .926-1.386",clipRule:"evenodd"})));var b=n(61797);function S(e){let t=e.icon===u.a.ARROW_RIGHT||e.icon===u.a.ARROW_RIGHT_SLIM,n=e.icon===u.a.ARROW_DOWN||e.icon===u.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITHOUT_TEXT_ON_MOBILE||e.icon===u.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITH_TEXT_ON_MOBILE,r=e.icon===u.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITHOUT_TEXT_ON_MOBILE||e.icon===u.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITH_TEXT_ON_MOBILE;if(t){let t=e.smaller?"h-2.5 w-3":"h-3 w-3";return(0,i.jsx)(m.default,{className:(0,b.cx)("ml-2 shrink-0",t,e.className),"aria-hidden":"true"})}return n?r?(0,i.jsx)(_,{className:(0,b.cx)("ml-2 h-3 w-3 shrink-0 fill-current",e.className),"aria-hidden":"true"}):(0,i.jsx)(R,{className:"ml-2 h-3.5 w-3.5 shrink-0","aria-hidden":"true"}):e.icon===u.a.QUESTION_MARK?(0,i.jsx)(y,{className:"ml-2 h-5 w-5 shrink-0","aria-hidden":"true"}):null}function E({buttonType:e,smaller:t,icon:n,className:r,classNameIcon:o,children:a,onClick:s,...l}){let m=c()(d.uS,"px-4 py-1.5",d.LU,n?f.Z[n]:void 0,{"min-h-[44px]":!t,"min-h-[32px] lg:h-[20px]":t,"bg-primary":e!==h.V.SECONDARY&&!l.disabled,"bg-primary-lightened":e!==h.V.SECONDARY&&l.disabled,"lg:px-3":e===h.V.SECONDARY,"border bg-transparent text-stone-600":e===h.V.SECONDARY,"lg:pr-12":u.a.ARROW_RIGHT===n&&!t});return(0,i.jsxs)("button",{...l,onClick:s,className:(0,p.QP)(m,r),children:[n&&(0,i.jsx)(S,{icon:n,smaller:t,className:o}),a]})}}
1,74012:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(7565);let o="flex flex-row-reverse items-center md:pl-5 lg:pl-3 pl-5",a="flex flex-row-reverse items-center custom-breakpoint-800:pl-[15px] lg:pr-10",i={[r.a.ARROW_RIGHT]:o,[r.a.ARROW_DOWN]:a,[r.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITHOUT_TEXT_ON_MOBILE]:a,[r.a.ARROW_DOWN_DARK_SEARCH_RESULT_WITH_TEXT_ON_MOBILE]:a+" pr-[38px]",[r.a.QUESTION_MARK]:"flex flex-row-reverse items-center pr-10 md:pr-10",[r.a.ARROW_RIGHT_SLIM]:o+" lg:pr-7"}},86204:(e,t,n)=>{n.d(t,{V:()=>r});var r=function(e){return e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e}({})}}]);
2//# sourceMappingURL=4466-10be517d539f137c.js.map

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.