1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`a5a5a460c9d1f670632ae10864840ff93100893a`}}catch{}})();import{p as e}from"./Link-DpBZoNol.js";import{a as t,c as n,i as r,m as i,r as a,s as o,v as s,y as c}from"./H1-CoRVrGtJ.js";import{l,t as u}from"./removeTrailingSlash-AqVBUgnH.js";function d(e,t){let n=r(e,t?.in);if(isNaN(+n))throw RangeError(`Invalid time value`);let i=t?.format??`extended`,o=t?.representation??`complete`,s=``,c=``,l=i===`extended`?`-`:``,u=i===`extended`?`:`:``;if(o!==`time`){let e=a(n.getDate(),2),t=a(n.getMonth()+1,2);s=`${a(n.getFullYear(),4)}${l}${t}${l}${e}`}if(o!==`date`){let e=n.getTimezoneOffset();if(e!==0){let t=Math.abs(e),n=a(Math.trunc(t/60),2),r=a(t%60,2);c=`${e<0?`+`:`-`}${n}:${r}`}else c=`Z`;let t=a(n.getHours(),2),r=a(n.getMinutes(),2),i=a(n.getSeconds(),2),o=s===``?``:`T`,l=[t,r,i].join(u);s=`${s}${o}${l}${c}`}return s}function f(e,n){let i=()=>t(n?.in,NaN),a=n?.additionalDigits??2,o=_(e),s;if(o.date){let e=v(o.date,a);s=y(e.restDateString,e.year)}if(!s||isNaN(+s))return i();let c=+s,l=0,u;if(o.time&&(l=x(o.time),isNaN(l)))return i();if(o.timezone){if(u=C(o.timezone),isNaN(u))return i()}else{let e=new Date(c+l),t=r(0,n?.in);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return r(c+l+u,n?.in)}var p={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},m=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,h=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,g=/^([+-])(\d{2})(?::?(\d{2}))?$/;function _(e){let t={},n=e.split(p.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],p.timeZoneDelimiter.test(t.date)&&(t.date=e.split(p.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){let e=p.timezone.exec(r);e?(t.time=r.replace(e[1],``),t.timezone=e[1]):t.time=r}return t}function v(e,t){let n=RegExp(`^(?:(\\d{4}|[+-]\\d{`+(4+t)+`})|(\\d{2}|[+-]\\d{`+(2+t)+`})$)`),r=e.match(n);if(!r)return{year:NaN,restDateString:``};let i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?i:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function y(e,t){if(t===null)return new Date(NaN);let n=e.match(m);if(!n)return new Date(NaN);let r=!!n[4],i=b(n[1]),a=b(n[2])-1,o=b(n[3]),s=b(n[4]),c=b(n[5])-1;if(r)return k(t,s,c)?w(t,s,c):new Date(NaN);{let e=new Date(0);return!D(t,a,o)||!O(t,i)?new Date(NaN):(e.setUTCFullYear(t,a,Math.max(i,o)),e)}}function b(e){return e?parseInt(e):1}function x(e){let t=e.match(h);if(!t)return NaN;let r=S(t[1]),i=S(t[2]),a=S(t[3]);return A(r,i,a)?r*o+i*n+a*1e3:NaN}function S(e){return e&&parseFloat(e.replace(`,`,`.`))||0}function C(e){if(e===`Z`)return 0;let t=e.match(g);if(!t)return 0;let r=t[1]===`+`?-1:1,i=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return j(i,a)?r*(i*o+a*n):NaN}function w(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,a=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}var T=[31,null,31,30,31,30,31,31,30,31,30,31];function E(e){return e%400==0||e%4==0&&e%100!=0}function D(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(T[t]||(E(e)?29:28))}function O(e,t){return t>=1&&t<=(E(e)?366:365)}function k(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function A(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function j(e,t){return t>=0&&t<=59}var M=(e,t,n=!0)=>{if(!e)return;let r=n?e:e.replace(/[\t\n\r]/g,` `).replace(/(?:\s\s+)/g,` `).trim();if(!r)return;if(t===void 0||(s(t>1,`Expected end to be greater than 1`),r.length<=t))return r;let i=r.slice(0,t-1).trim();if(i.endsWith(`â¦`))return i;let a=i.match(/^(.+?)\W+$/);return a?.[1]&&([,i]=a),`${i}â¦`},N=(e,t,n=!1)=>{let r;try{r=new URL(e)}catch{r=new URL(`${t}${e}`)}return s(n||r.origin===t,`Expected URL to be same-origin`),r.pathname.length>1&&r.pathname.endsWith(`/`)&&(r.pathname=u(r.pathname)),r.toString()},P=[`AudiobookFormat`,`EBook`,`GraphicNovel`,`Hardcover`,`Paperback`],F={cm:`CMT`,g:`GRM`,kg:`KGS`,m:`MTR`,mm:`MMT`},I=(e,t)=>`#${e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()}:${l(t.match(/^(?:\W*)?(.+)(?:\W*)?$/)[1].replace(/\W+/g,`-`))}`,L=e=>Array.isArray(e)&&e.length===1?e[0]:e,R=({article:e,book:t,bookGroup:n,bookSeries:r,breadcrumb:i,origin:a,defaultImageMetadata:o,faq:s,images:l,organization:u,profile:p,title:m,url:h,website:g})=>{let _=[],v=u?.name||g?.name,y=v?I(`Organization`,v):void 0,b=!1,x=p?.name,S=x?I(`Person`,p?.identifier||x):void 0,C=!!p?.articles,w,T=e=>{let t=N(e.url,a,!0),n={"@id":I(`ImageObject`,t),"@type":`ImageObject`,contentUrl:t,...o?.acquireLicenseUrl&&{acquireLicensePage:N(o.acquireLicenseUrl,a,!0)}
1,...o?.creator&&{creator:o.creator.type===`Organization`&&o.creator.name===v?{"@id":y}:o.creator.type===`Person`&&o.creator.name===x?{"@id":S}:{"@type":o.creator.type,name:o.creator.name}},...o?.credit&&{creditText:o.credit},...o?.copyright&&{copyrightNotice:o.copyright},...o?.licenseUrl&&{license:N(o.licenseUrl,a,!0)},...e?.acquireLicenseUrl&&{acquireLicensePage:N(e.acquireLicenseUrl,a,!0)},...e?.creator&&{creator:e.creator.type===`Organization`&&e.creator.name===v?{"@id":y}:e.creator.type===`Person`&&e.creator.name===x?{"@id":S}:{"@type":e.creator.type,name:e.creator.name}},...e?.credit&&{creditText:e.credit},...e?.copyright&&{copyrightNotice:e.copyright},...e?.licenseUrl&&{license:N(e.licenseUrl,a,!0)}};return n.creator?.[`@type`]===`Organization`&&n.creator[`@id`]===y&&(b=!0),n.creator?.[`@type`]===`Person`&&n.creator[`@id`]===S&&(C=!0),n},E=e=>{let t=T(e);return w?.includes(t[`@id`])?{"@id":t[`@id`]}:(delete t[`@id`],t)},D=()=>{if(l)return w||(w=[],l.forEach(e=>{let t=T(e);_.push(t),w.push(t[`@id`])})),w.map(e=>({"@id":e,"@type":`ImageObject`}))},O,k;if(g&&(O=N(g.href,a),k=c([...new Set([...g.alternateNames??[]])].filter(e=>e!==g.name)),_.push({"@type":`WebSite`,...k&&{alternateName:L(k)},name:g.name,url:O,...g.searchActionHref&&{potentialAction:{"@type":`SearchAction`,"query-input":`required name=search_term_string`,target:{"@type":`EntryPoint`,urlTemplate:`${N(g.searchActionHref,a)}/{search_term_string}`}}}})),i&&_.push({"@type":`BreadcrumbList`,itemListElement:[...i,...m&&h?[{href:h,name:m}]:[]].map((e,t)=>({"@type":`ListItem`,name:e.name,position:t+1,...`href`in e&&{item:N(e.href,a)}}))}),e){let t=e.images?.map(e=>E(e))??D();_.push({"@type":`Article`,...e.alternativeHeadline&&{alternativeHeadline:e.alternativeHeadline},...e.authors&&{author:e.authors.map(e=>({"@type":`Person`,name:e.name,...e.href&&{url:N(e.href,a)}}))},...e.description&&{description:e.description},...e.headline&&{headline:e.headline},...!e.headline&&m&&{headline:m},...t&&{image:L(t)},...e.mainEntityOfPage&&{mainEntityOfPage:{"@id":N(e.mainEntityOfPage.href,a,!0),"@type":e.mainEntityOfPage.type??`WebPage`}},...e.publishedAt&&{datePublished:e.publishedAt.toISOString()},...e.publisher&&{publisher:e.publisher.name===v&&y?{"@id":y}:{"@type":`Organization`,name:e.publisher.name,...e.publisher.href&&{url:N(e.publisher.href,a,!0)},...e.publisher.logo&&{logo:E(e.publisher.logo)}}},...e.section&&{articleSection:e.section},...e.updatedAt&&{dateModified:e.updatedAt.toISOString()}})}if(s&&_.push({"@type":`FAQPage`,mainEntity:s.map(e=>({"@type":`Question`,acceptedAnswer:{"@type":`Answer`,text:e.answer},name:e.question}))}),u||g){let e=u?.images?.map(e=>E(e))??D(),t=u?.contactPoints?.map(e=>({"@type":`ContactPoint`,contactType:e.contactType,...e.email&&{email:e.email},...e.telephone&&{telephone:e.telephone},...e.href&&{url:N(e.href,a,!0)}}));_.push({"@type":`Organization`,...b?{"@id":y}:{},alternateName:L([...new Set([...u?.alternateNames??[],...k??[]])]),name:u?.name??g.name,url:u?.href?N(u.href,a):O,...u&&{...u.brand&&{brand:{"@type":`Brand`,name:u.brand.name,...u.brand.href&&{url:N(u.brand.href,a,!0)}}},...t&&{contactPoint:L(t)},...u.description&&{description:u.description},...u.email&&{email:u.email},...u.foundingDate&&{foundingDate:u.foundingDate.toISOString()},...e&&{image:L(e)},...u.legalName&&{legalName:u.legalName},...u.logo&&{logo:E(u.logo)},...u.telephone&&{telephone:u.telephone},...u.numberOfEmployees&&{numberOfEmployees:{"@type":`QuantitativeValue`,value:u.numberOfEmployees}},...u.parentOrganization&&{parentOrganization:{"@type":`Organization`,name:u.parentOrganization.name,url:N(u.parentOrganization.href,a,!0)}},...u.alternateUrls&&{sameAs:L(u.alternateUrls)},...u.address&&{address:{"@type":`PostalAddress`,...u.address.country&&{addressCountry:u.address.country},...u.address.city&&{addressLocality:u.address.city},...u.address.region&&{addressRegion:u.address.region},...u.address.postalCode&&{postalCode:u.address.postalCode},...u.address.streetAddress&&{streetAddress:u.address.streetAddress}}}}})}if(p){let e=p.images?.map(e=>E(e))??D();_.push({"@type":`ProfilePage`,...p.createdAt&&{dateCreated:p.createdAt.toISOString()},...p.updatedAt&&{dateModified:p.updatedAt.toISOString()},mainEntity:{"@type":`Person`,...C&&{"@id":S},name:p.name,...p.alternateNames&&{alternateName:L(p.alternateNames)},...p.description&&{description:p.description},...p.identifier&&{identifier:p.identifier},...e&&{image:L(e)},...p.alternateUrls&&{sameAs:L(p.alternateUrls)}},...p.articles&&{hasPart:p.articles.map(e=>({"@type":`Article`,headline:e.headline,url:N(e.href,a),...e.publishedAt&&{datePublished:e.publishedAt.toISOString()}
1,author:{"@id":S}}))}})}return r&&_.push({"@id":`${N(r.realPath,a)}/#bookseries`,"@type":`BookSeries`,name:r.name,url:N(r.realPath,a)}),t&&_.push({"@id":`${h}?isbn=${t.isbn.isbn13}/#book`,"@type":[`Book`,`Product`],bookEdition:t.edition,bookFormat:P.includes(t.bookFormat)?t.bookFormat:{"@type":`BookFormatType`,name:t.bookFormat},url:N(t.realPath,a),...t.authors?.length&&{author:t.authors.map(({name:e})=>({"@type":`Person`,name:e}))},...t.published&&{datePublished:d(f(t.published))},...t.keywords?.length&&{keywords:t.keywords.map(({value:e})=>e)},...t.offers&&{offers:Object.values(t.offers).map(({availability:e,price:t,url:n,affiliateUrl:r})=>({"@type":`Offer`,availability:e,price:t.value,priceCurrency:t.currencyCode,url:r??n})),potentialAction:{"@type":`ReadAction`,target:Object.values(t.offers).map(({url:e,affiliateUrl:t})=>({"@type":`EntryPoint`,actionPlatform:[`https://schema.org/DesktopWebPlatform`,`https://schema.org/AndroidPlatform`,`https://schema.org/IOSPlatform`],urlTemplate:t??e})),...t.listPrices&&{expectsAcceptanceOf:t.listPrices.map(({countryCode:e,value:t,currencyCode:n})=>({"@type":`Offer`,category:`purchase`,eligibleRegion:{"@type":`Country`,name:e},price:t,priceCurrency:n}))}}},...t.publisher&&{publisher:{"@type":`Organization`,name:t.publisher.name}},...t.publisherImprint&&{brand:{"@type":`Organization`,name:t.publisherImprint.name},publisherImprint:{"@type":`Organization`,name:t.publisherImprint.name}},...t.brand&&{brand:{"@type":`Organization`,name:t.brand}},...t.images&&{image:t.images.map(({url:e,width:n,height:r})=>({"@id":`${e}/#book-image`,"@type":`ImageObject`,height:r,inLanguage:t.inLanguage?.iso6391Code,url:e,width:n}))},...n?.otherBooks?.length&&{workExample:n.otherBooks.map(({realPath:e,bookFormat:t,edition:n,inLanguage:i,isbn:o,title:s,offers:c,listPrices:l})=>{let u=N(e,a);return{"@id":`${u}/#book`,"@type":`Book`,bookEdition:n,bookFormat:t,inLanguage:i?.iso6391Code,isbn:o.isbn13,name:[r?.name,s].filter(Boolean).join(` - `),url:u,...c&&{potentialAction:{"@type":`ReadAction`,target:Object.values(c).map(({url:e,affiliateUrl:t})=>({"@type":`EntryPoint`,actionPlatform:[`https://schema.org/DesktopWebPlatform`,`https://schema.org/AndroidPlatform`,`https://schema.org/IOSPlatform`],urlTemplate:t??e})),...l&&{expectsAcceptanceOf:l.map(({countryCode:e,currencyCode:t,value:n})=>({"@type":`Offer`,category:`purchase`,eligibleRegion:{"@type":`Country`,name:e},price:n,priceCurrency:t}))}}}}})},category:n?.category?.name,description:t.plainDescription,inLanguage:t.inLanguage?.iso6391Code,isPartOf:`${h}/#bookseries`,isbn:t.isbn.isbn13,name:[r?.name,t.title].filter(Boolean).join(` - `),numberOfPages:t.pages,sku:t.isbn.isbn13,...t.measurements?.depth?.value!=null&&{depth:{"@type":`QuantitativeValue`,unitCode:F[t.measurements.depth.unitKey],unitText:t.measurements.depth.unitKey,value:typeof t.measurements.depth.value==`number`?+t.measurements.depth.value.toFixed(2):t.measurements.depth.value}},...t.measurements?.height?.value!=null&&{height:{"@type":`QuantitativeValue`,unitCode:F[t.measurements.height.unitKey],unitText:t.measurements.height.unitKey,value:typeof t.measurements.height.value==`number`?+t.measurements.height.value.toFixed(2):t.measurements.height.value}},...t.measurements?.width?.value!=null&&{width:{"@type":`QuantitativeValue`,unitCode:F[t.measurements.width.unitKey],unitText:t.measurements.width.unitKey,value:typeof t.measurements.width.value==`number`?+t.measurements.width.value.toFixed(2):t.measurements.width.value}},...t.measurements?.mass?.value!=null&&{weight:{"@type":`QuantitativeValue`,unitCode:F[t.measurements.mass.unitKey],unitText:t.measurements.mass.unitKey,value:typeof t.measurements.mass.value==`number`?+t.measurements.mass.value.toFixed(2):t.measurements.mass.value}}}),{"@context":`https://schema.org`,"@graph":_}},z=({article:t,book:n,bookGroup:r,bookSeries:i,origin:a,breadcrumb:o,defaultImageMetadata:c,description:l,descriptionLimit:u=160,faq:d,images:f,noFollow:p,noIndex:m,openGraph:{description:h,descriptionLimit:g=200,image:_,title:v,titleLimit:y=70,type:b}={},organization:x,pathname:S,profile:C,title:w,titleLimit:T=60,titleTemplate:E,twitter:{card:D=f||_?`summary_large_image`:`summary`,creator:O,site:k}={},website:A})=>{s(S.startsWith(`/`),`Expected pathname to start with '/'`),s(!E||E.includes(`%s`)&&E.length<T+5,`Expected titleTemplate to include '%s' and be shorter than titleLimit + 5`);let j=N(S,a),P=E?E.replace(`%s`,M(w,T-E.length+2)??``):M(w,T),F=M(l,u),I=v?M(v,y):E?E.replace(`%s`,M(w,y-E.length+2)??``):M(w,y),L=M(h||l,g),z=_||f?.[0],B=b||(Object.keys(C??{}).length?`profile`:Object.keys(t??{}).length?`article`:`website`),V=R({article:t,book:n,bookGroup:r,bookSeries:i,breadcrumb:o,defaultImageMetadata:c,faq:d,images:f,organization:x,origin:a,profile:C,title:M(w),url:j,website:A});return[P&&{title:P},F&&{content:F,name:`description`},j&&{href:j,rel:`canonical`,tagName:`link`},(p||m)&&{content:[m&&`noindex`,p&&`nofollow`].filter(e).join(`, `),name:`robots`},I&&{content:I,property:`og:title`},{content:B,property:`og:type`},j&&{content:j,property:`og:url`},...z?[{content:N(z.url,a,!0),property:`og:image`},z.mimeType&&{content:z.mimeType,property:`og:image:type`},z.width&&{content:z.width,property:`og:image:width`},z.height&&{content:z.height,property:`og:image:height`},z.altText&&{content:z.altText,property:`og:image:alt`}]:[],L&&{content:L,property:`og:description`},...t?[t.publishedAt&&{content:t.publishedAt.toISOString(),property:`article:published_time`},t.updatedAt&&{content:t.updatedAt.toISOString(),property:`article:modified_time`},t.expiresAt&&{content:t.expiresAt.toISOString(),property:`article:expiration_time`},...t.authors?t.authors.map(e=>({content:e.href?N(e.href,a):e.name,property:`article:author`})):[],t.section&&{content:t.section,property:`article:section`},...t.tags?t.tags.map(e=>({content:e,property:`article:tag`})):[]]:[],...C?[{content:C.name,property:`profile:username`},C.firstName&&{content:C.firstName,property:`profile:first_name`},C.lastName&&{content:C.lastName,property:`profile:last_name`},C.gender&&{content:C.gender,property:`profile:gender`}]:[],{content:D,name:`twitter:card`},k&&{content:k,name:`twitter:site`},O&&{content:O,name:`twitter:creator`},V[`@graph`].length&&{"script:ld+json":V},...n?[...n.authors?.map(e=>({content:e.name,property:`book:author`}))??[],...n.keywords?.map(e=>({content:e.value,property:`book:tag`}))??[],{content:n.published,property:`book:release_date`},{content:n.isbn.isbn13,property:`book:isbn`}]:[]].filter(e)},B=({location:{pathname:e},matches:t,...n})=>{let r=i(t.find(({id:e})=>e===`root`)?.data).env.ORIGIN;return z({defaultImageMetadata:{credit:`DUMONT Reise`},origin:r,pathname:e,...(n.title?.length??0)<30&&!n.title?.includes(`DUMONT Reise`)&&{titleTemplate:`%s | DUMONT Reise`},...n})};export{f as n,B 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.