PageSourceSearch

https://booking.jaegershotel.de/assets/BookingCode-Dn7xtKhZ.js

js jaegershotel.de collected 2026-10-04 06:47:21 UTC 2,010 bytes, 1 lines download raw bytes

1import{d as y,u as w,j as k,k as p,o as n,c as m,b as t,n as u,t as l,e,v as B,z as f,G as S,at as E,g as P,x,W as O}from"./vendor-lxhXACKn.js";import{bc as D,bd as L}from"./light-nUpfvi-t.js";import{a as I,b as N}from"./formkit.theme-DVbh0M_W.js";import"./globalBasic-DCViCoV8.js";const R={class:"flex flex-col"},T={class:"w-full mb-4 text-center"},U={class:"flex box-with-border ml-4 mr-4 items-center !bg-surface-md !pt-2 !pb-2"},V={class:"pl-4 flex flex-wrap items-center"},W={class:"flex items-center gap-2"},M=["placeholder"],z={key:0,class:"m-auto text-xs text-gray-700 p-4 pb-0"},A={class:"mt-4 w-full flex flex-col p-4"},Y=y({__name:"BookingCode",props:{type:{default:"dialog"}},emits:["close","applyCode"],setup(b,{emit:v}){const{t:a}=w(),o=I(),r=N(),_=k(),i=b,c=v,C=p(()=>({"w-[25rem] border":_.name==="Specials","pt-4":i.type==="tooltip","w-[25em]":!0})),g=p(()=>({"mt-4":i.type!=="tooltip"})),h=()=>{c("close"),c("applyCode")};return(G,s)=>(n(),m("div",{class:u([C.value,"relative bg-surface-primary lg:shadow-box-shadow2 rounded-md w-full"])},[t("div",R,[t("div",T,[t("p",{class:u([g.value,"font-bold text-xl text-text-brand"])},l(e(a)("WBEPLUS.BOOKING_CODE")),3)]),t("div",U,[B(e(f),{icon:e(D),class:"text-text-brand"},null,8,["icon"]),t("div",V,[t("div",W,[S(t("input",{"onUpdate:modelValue":s[0]||(s[0]=d=>e(o).reservation.config.code=d),type:"text",class:"w-full h-7 bg-surface-md text-text-primary font-bold text-sm border border-border-primary px-2",placeholder:e(r).settings.directCode},null,8,M),[[E,e(o).reservation.config.code]]),e(o).reservation.config.code?(n(),P(e(f),{key:0,icon:e(L),onClick:s[1]||(s[1]=d=>e(o).reservation.config.code=""),class:"btn-icon"},null,8,["icon"])):x("",!0)])])]),e(r).settings.directCode!==""?(n(),m("div",z,l(e(a)("WBEPLUS.PROMOBESTPRICE",[e(r).settings.directCode])),1)):x("",!0)]),t("div",A,[t("button",{"aria-label":"apply code",class:"btn-primary font-bold",onClick:O(h,["prevent"])},l(e(a)("WBEPLUS.APPLY_CODE")),1)])],2))}});export{Y as default};

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.