PageSourceSearch

https://booking.jaegershotel.de/assets/OffersView-D8p_um94.js

js jaegershotel.de collected 2026-10-04 06:46:23 UTC 6,637 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toCdnUrl("assets/OffersViewV1-167aXFSE.js"),window.__toCdnUrl("assets/formkit.theme-DVbh0M_W.js"),window.__toCdnUrl("assets/vendor-lxhXACKn.js"),window.__toCdnUrl("assets/globalBasic-DCViCoV8.js"),window.__toCdnUrl("assets/OfferHeaderInfo.vue_vue_type_script_setup_true_lang-CEgeY_Ni.js"),window.__toCdnUrl("assets/OfferVariant.vue_vue_type_script_setup_true_lang-CsHGRc2H.js"),window.__toCdnUrl("assets/ImageSliderLazyLoader-CtVizHgr.js"),window.__toCdnUrl("assets/ImageLazyLoader-DY2FSO2o.js"),window.__toCdnUrl("assets/ImageSliderLazyLoader.vue_vue_type_style_index_0_scoped_34a7bd49_lang-C7pTN5rR.js"),window.__toCdnUrl("assets/RoomView-DL-N3pWn.js"),window.__toCdnUrl("assets/RoomPlan-Rx8nKBN8.js"),window.__toCdnUrl("assets/Dialog--Oz4HeDi.js"),window.__toCdnUrl("assets/SelectedExtras.vue_vue_type_script_setup_true_lang-xcozrj0J.js"),window.__toCdnUrl("assets/AllExtras.vue_vue_type_script_setup_true_lang-t89IyFHQ.js"),window.__toCdnUrl("assets/computedProperties-CCrZrgkj.js"),window.__toCdnUrl("assets/light-nUpfvi-t.js"),window.__toCdnUrl("assets/Plans-B2GUwHGw.js"),window.__toCdnUrl("assets/ContactAndSummary-Crpy-eU_.js"),window.__toCdnUrl("assets/ContactForm-hzzii8At.js"),window.__toCdnUrl("assets/Voucher-5YdFLuFq.js"),window.__toCdnUrl("assets/SummaryView-Duq8VMAW.js"),window.__toCdnUrl("assets/Footer-DBlLgAZJ.js"),window.__toCdnUrl("assets/RightMenuButtons-Dhvnb-qE.js"),window.__toCdnUrl("assets/NotFound.vue_vue_type_script_setup_true_lang-DYSvl_Gq.js"),window.__toCdnUrl("assets/SpecialRequest.vue_vue_type_script_setup_true_lang-ClvbiVgB.js"),window.__toCdnUrl("assets/MobileSummary-n2OZls2k.js"),window.__toCdnUrl("assets/OffersViewV2-CMr-QuRb.js")])))=>i.map(i=>d[i]);
2var D=Object.defineProperty;var W=(r,t,e)=>t in r?D(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var b=(r,t,e)=>W(r,typeof t!="symbol"?t+"":t,e);import{z as q,A as G,O as J,b as K,a as Q,j as Y,r as H,B as X,u as Z,s as ee,c as A}from"./formkit.theme-DVbh0M_W.js";import{d as ae,u as te,r as V,k as B,q as re,o as m,c as C,b as k,t as R,e as E,F as se,g as S,i as oe,v as O,x as ne,j as ie,L as x}from"./vendor-lxhXACKn.js";import{C as le}from"./ContactAndSummary-Crpy-eU_.js";import ue from"./Footer-DBlLgAZJ.js";import ce from"./RightMenuButtons-Dhvnb-qE.js";import{_ as M}from"./NotFound.vue_vue_type_script_setup_true_lang-DYSvl_Gq.js";import{_ as me}from"./SpecialRequest.vue_vue_type_script_setup_true_lang-ClvbiVgB.js";import{M as fe}from"./MobileSummary-n2OZls2k.js";const ge=(r,t)=>{const e="https://api.res-online.net",c=`/api/offer/${t}`,f=`${e}${c}?hotelId=${r}`;return q(f,{onFetchError(i){var s,o,y,g;return((o=(s=i.data)==null?void 0:s.meta)==null?void 0:o.errors)!==null&&(i.error=new Error((g=(y=i.data)==null?void 0:y.meta)==null?void 0:g.errors)),i}}).get().json()};class _e extends G{constructor(e){super();b(this,"_variants",[]);b(this,"_groupName","");b(this,"_activeVariant",0);b(this,"_multipleVariantsBookable",!1);this.fromJsonSafe(e),this.variants&&(this.variants=this.variants.map(c=>new J(c)))}get variants(){return this._variants}set variants(e){this._variants=e}get groupName(){return this._groupName}set groupName(e){this._groupName=e}get activeVariant(){return this._activeVariant}set activeVariant(e){this._activeVariant=e}get multipleVariantsBookable(){return this._multipleVariantsBookable}set multipleVariantsBookable(e){this._multipleVariantsBookable=e}}const pe={role:"main","aria-labelledby":"offer-page-heading"},de={id:"offer-page-heading",class:"sr-only"},ve={class:"paddingSize w-full m-auto my-8 flex-col gap-4 items-center justify-center","aria-labelledby":"special-request-heading"},he={id:"special-request-heading",class:"sr-only"},be={class:"fixed",style:{"z-index":"10"}},ke=ae({__name:"OffersView",setup(r){const t=K(),e=Q(),{t:c}=te(),f=ie(),i=V(1),s=V(null),o=V(!1),y=B(()=>{const{hotelID:n,offerID:_}=f.params;return n||_}),g={1:x(()=>A(()=>import("./OffersViewV1-167aXFSE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url)),2:x(()=>A(()=>import("./OffersViewV2-CMr-QuRb.js"),__vite__mapDeps([26,1,2,3,14,15]),import.meta.url))},U=B(()=>g[i.value]||g[1]),j=B(()=>{let n="WBEPLUS.OFFERNOTFOUND";return s.value&&s.value=="Offer already booked"&&(n="WBEPLUS.OFFER_ALREADY_BOOKED"),n});return re(async()=>{var n,_,p,d,v,L,I,N,P,F,w,T;try{o.value=!0;const{hotelID:h,offerID:$}=f.params,[l,z]=await Promise.all([ge(h,$),Y(h,!1)]);if(t.setExtras((n=z.data.value)==null?void 0:n.data),e.reservation.resId=String(H(1e8,999999999)),e.reservation.rooms=[],(p=(_=l==null?void 0:l.error)==null?void 0:_.value)!=null&&p.message){s.value=(v=(d=l==null?void 0:l.error)==null?void 0:d.value)==null?void 0:v.message,o.value=!1;return}t.setOffer(((L=l.data.value)==null?void 0:L.data)??null);const a=(I=t.offer)==null?void 0:I.offerData,u=(N=a==null?void 0:a.offer)==null?void 0:N.variants;(u==null?void 0:u.length)>1&&(i.value=2),a!=null&&a.booker&&(e.reservation.booker=new X(a.booker),e.reservation.booker.email=a.booker.emails[0]),u!=null&&u[0]&&((P=a==null?void 0:a.offer)==null?void 0:P.multipleVariantsBookable)===!1&&setTimeout(()=>{e.selectOfferVariant(new _e(JSON.parse(JSON.stringify(a==null?void 0:a.offer))),u[0])},500),(F=a==null?void 0:a.booker)!=null&&F.language&&((w=a==null?void 0:a.booker)==null?void 0:w.language)!=""&&(Z().setLanguage(a.booker.language.toLowerCase()),await ee((T=f.params)==null?void 0:T.hotelID,a.booker.language.toLowerCase()))}catch(h){console.error(h),s.value=h.message,o.value=!1}o.value=!1}),(n,_)=>{var p,d,v;return m(),C("div",pe,[k("h1",de,R(E(c)("WBEPLUS.OFFER_PAGE_TITLE")),1),y.value&&s.value===null&&((v=(d=(p=E(t).offer)==null?void 0:p.offerData)==null?void 0:d.offer)!=null&&v.offerId)?(m(),C(se,{key:0},[(m(),S(oe(U.value))),k("section",ve,[k("h2",he,R(E(c)("WBEPLUS.SPECIAL_REQUEST_TITLE")),1),O(me)]),O(le,{class:"lg:bg-surface-secondary"})],64)):o.value?(m(),S(M,{key:1,code:null,"message-translation-key":"WBEPLUS.LOADING",class:"start-page-height","aria-live":"polite"})):(m(),S(M,{key:2,code:null,"message-translation-key":j.value,class:"start-page-height",role:"alert"},null,8,["message-translation-key"])),k("footer",null,[k("div",be,[O(ce,{class:"bottom-12 fixed right-4","aria-label":"Right side quick action menu"})]),O(ue,{"aria-label":"Site footer"}),E(e).reservation.price!==0?(m(),S(fe,{key:0,"aria-label":"Mobile summary of the reservation"})):ne("",!0)])])}}}),Fe=Object.freeze(Object.defineProperty({__proto__:null,default:ke},Symbol.toStringTag,{value:"Module"}));
2export{_e as O,Fe as a};

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.