PageSourceSearch

https://www.location-gites-vosges.fr/_next/static/chunks/0sh0jvba-qomx.js

js location-gites-vosges.fr collected 2026-10-10 01:52:07 UTC 22,888 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31692,e=>{"use strict";e.s(["defineMessage",0,function(e){return e}])},21453,e=>{"use strict";var t=e.i(89280),r=e.i(91788),a=e.i(60136),n=e.i(90363);function i(e){var t=(0,n.default)(),a=t.formatMessage,i=t.textComponent,o=void 0===i?r.Fragment:i,l=e.id,s=e.description,u=e.defaultMessage,m=e.values,c=e.children,d=e.tagName,f=void 0===d?o:d,g=a({id:l,description:s,defaultMessage:u},m,{ignoreTag:e.ignoreTag});return"function"==typeof c?c(Array.isArray(g)?g:[g]):f?r.createElement(f,null,g):r.createElement(r.Fragment,null,g)}i.displayName="FormattedMessage";var o=r.memo(i,function(e,r){var n=e.values,i=(0,t.__rest)(e,["values"]),o=r.values,l=(0,t.__rest)(r,["values"]);return(0,a.shallowEqual)(o,n)&&(0,a.shallowEqual)(i,l)});o.displayName="MemoizedFormattedMessage",e.s(["default",0,o])},79052,63951,e=>{"use strict";var t=e.i(89280),r=e.i(28849),a=e.i(91788),n=e.i(60136),i=e.i(57680),o=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function l(e,a,n,i){var l=e.locale,s=e.formats,u=e.onError,m=e.timeZone;void 0===i&&(i={});var c=i.format,d=(0,t.__assign)((0,t.__assign)({},m&&{timeZone:m}),c&&(0,r.getNamedFormat)(s,a,c,u)),f=(0,r.filterProps)(i,o,d);return"time"!==a||f.hour||f.minute||f.second||f.timeStyle||f.dateStyle||(f=(0,t.__assign)((0,t.__assign)({},f),{hour:"numeric",minute:"numeric"})),n(l,f)}function s(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=r[0],o=r[1],s="string"==typeof n?new Date(n||0):n;try{return l(e,"date",t,void 0===o?{}:o).format(s)}catch(t){e.onError(new i.IntlFormatError("Error formatting date.",e.locale,t))}return String(s)}function u(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=r[0],o=r[1],s="string"==typeof n?new Date(n||0):n;try{return l(e,"time",t,void 0===o?{}:o).format(s)}catch(t){e.onError(new i.IntlFormatError("Error formatting time.",e.locale,t))}return String(s)}function m(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=r[0],o=r[1],s=r[2],u="string"==typeof n?new Date(n||0):n,m="string"==typeof o?new Date(o||0):o;try{return l(e,"dateTimeRange",t,void 0===s?{}:s).formatRange(u,m)}catch(t){e.onError(new i.IntlFormatError("Error formatting date time range.",e.locale,t))}return String(u)}function c(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=r[0],o=r[1],s="string"==typeof n?new Date(n||0):n;try{return l(e,"date",t,void 0===o?{}:o).formatToParts(s)}catch(t){e.onError(new i.IntlFormatError("Error formatting date.",e.locale,t))}return[]}function d(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=r[0],o=r[1],s="string"==typeof n?new Date(n||0):n;try{return l(e,"time",t,void 0===o?{}:o).formatToParts(s)}catch(t){e.onError(new i.IntlFormatError("Error formatting time.",e.locale,t))}return[]}var f=e.i(98581),g=["style","type","fallback","languageDisplay"];function h(e,t,a,n){var o=e.locale,l=e.onError;Intl.DisplayNames||l(new f.FormatError('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',f.ErrorCode.MISSING_INTL_API));var s=(0,r.filterProps)(n,g);try{return t(o,s).of(a)}catch(e){l(new i.IntlFormatError("Error formatting display name.",o,e))}}var y=["type","style"],p=Date.now();function E(e,t,r,a){void 0===a&&(a={});var n=v(e,t,r,a).reduce(function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function v(e,a,n,o){var l=e.locale,s=e.onError;void 0===o&&(o={}),Intl.ListFormat||s(new f.FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',f.ErrorCode.MISSING_INTL_API));var u=(0,r.filterProps)(o,y);try{var m={},c=Array.from(n).map(function(e,t){if("object"==typeof e&&null!==e){var r="".concat(p,"_").concat(t,"_").concat(p);return m[r]=e,r}return String(e)});
1return a(l,u).formatToParts(c).map(function(e){return"literal"===e.type?e:(0,t.__assign)((0,t.__assign)({},e),{value:m[e.value]||e.value})})}catch(e){s(new i.IntlFormatError("Error formatting list.",l,e))}return n}var _=e.i(23825),x=e.i(51928);function w(e,r){return Object.keys(e).reduce(function(a,n){return a[n]=(0,t.__assign)({timeZone:r},e[n]),a},{})}function T(e,r){return Object.keys((0,t.__assign)((0,t.__assign)({},e),r)).reduce(function(a,n){return a[n]=(0,t.__assign)((0,t.__assign)({},e[n]||{}),r[n]||{}),a},{})}function b(e,r){if(!r)return e;var a=x.IntlMessageFormat.formats;return(0,t.__assign)((0,t.__assign)((0,t.__assign)({},a),e),{date:T(w(a.date,r),w(e.date||{},r)),time:T(w(a.time,r),w(e.time||{},r))})}var I=function(e,a,n,o,l){var s=e.locale,u=e.formats,m=e.messages,c=e.defaultLocale,d=e.defaultFormats,f=e.fallbackOnEmptyString,g=e.onError,h=e.timeZone,y=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,E=n.defaultMessage;(0,r.invariant)(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(p),x=m&&Object.prototype.hasOwnProperty.call(m,v)&&m[v];if(Array.isArray(x)&&1===x.length&&x[0].type===_.TYPE.literal)return x[0].value;if(!o&&x&&"string"==typeof x&&!y)return x.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=(0,t.__assign)((0,t.__assign)({},y),o||{}),u=b(u,h),d=b(d,h),!x){if(!1===f&&""===x)return x;if((!E||s&&s.toLowerCase()!==c.toLowerCase())&&g(new i.MissingTranslationError(n,s)),E)try{var w=a.getMessageFormat(E,c,d,l);return w.format(o)}catch(e){return g(new i.MessageFormatError('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),s,n,e)),"string"==typeof E?E:v}return v}try{var w=a.getMessageFormat(x,s,u,(0,t.__assign)({formatters:a},l||{}));return w.format(o)}catch(e){g(new i.MessageFormatError('Error formatting message: "'.concat(v,'", using ').concat(E?"default message":"id"," as fallback."),s,n,e))}if(E)try{var w=a.getMessageFormat(E,c,d,l);return w.format(o)}catch(e){g(new i.MessageFormatError('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),s,n,e))}return"string"==typeof x?x:"string"==typeof E?E:v},S=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function F(e,t,a){var n=e.locale,i=e.formats,o=e.onError;void 0===a&&(a={});var l=a.format,s=l&&(0,r.getNamedFormat)(i,"number",l,o)||{};return t(n,(0,r.filterProps)(a,S,s))}function A(e,t,r,a){void 0===a&&(a={});try{return F(e,t,a).format(r)}catch(t){e.onError(new i.IntlFormatError("Error formatting number.",e.locale,t))}return String(r)}function L(e,t,r,a){void 0===a&&(a={});try{return F(e,t,a).formatToParts(r)}catch(t){e.onError(new i.IntlFormatError("Error formatting number.",e.locale,t))}return[]}var j=["type"];function M(e,t,a,n){var o=e.locale,l=e.onError;void 0===n&&(n={}),Intl.PluralRules||l(new f.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',f.ErrorCode.MISSING_INTL_API));var s=(0,r.filterProps)(n,j);try{return t(o,s).select(a)}catch(e){l(new i.IntlFormatError("Error formatting plural.",o,e))}return"other"}var R=["numeric","style"];function N(e,t,a,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new f.FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',f.ErrorCode.MISSING_INTL_API));try{var l,s,u,m,c,d;return(l=o,s=e.locale,u=e.formats,m=e.onError,void 0===l&&(l={}),d=!!(c=l.format)&&(0,r.getNamedFormat)(u,"relative",c,m)||{},t(s,(0,r.filterProps)(l,R,d))).format(a,n)}catch(t){e.onError(new i.IntlFormatError("Error formatting relative time.",e.locale,t))}return String(a)}var P=e.i(17169);function D(e){return e?Object.keys(e).reduce(function(t,r){var a=e[r];return t[r]=(0,P.isFormatXMLElementFn)(a)?(0,n.assignUniqueKeysToParts)(a):a,t},{}):e}var C=function(e,r,a,i){for(var o=[],l=4;
1l<arguments.length;l++)o[l-4]=arguments[l];var s=D(i),u=I.apply(void 0,(0,t.__spreadArray)([e,r,a,s],o,!1));return Array.isArray(u)?(0,n.toKeyedReactNodeArray)(u):u},O=function(e,a){var o,l,f,g,y,p,_,x=e.defaultRichTextElements,w=(0,t.__rest)(e,["defaultRichTextElements"]),T=D(x),b=(o=(0,t.__assign)((0,t.__assign)((0,t.__assign)({},n.DEFAULT_INTL_CONFIG),w),{defaultRichTextElements:T}),l=(0,r.createFormatters)(a),g=(f=(0,t.__assign)((0,t.__assign)({},r.DEFAULT_INTL_CONFIG),o)).locale,y=f.defaultLocale,p=f.onError,g?!Intl.NumberFormat.supportedLocalesOf(g).length&&p?p(new i.MissingDataError('Missing locale data for locale: "'.concat(g,'" in Intl.NumberFormat. Using default locale: "').concat(y,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(g).length&&p&&p(new i.MissingDataError('Missing locale data for locale: "'.concat(g,'" in Intl.DateTimeFormat. Using default locale: "').concat(y,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(p&&p(new i.InvalidConfigError('"locale" was not configured, using "'.concat(y,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),f.locale=f.defaultLocale||"en"),f.onWarn&&f.defaultRichTextElements&&"string"==typeof(_=f.messages||{})[Object.keys(_)[0]]&&f.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution'),(0,t.__assign)((0,t.__assign)({},f),{formatters:l,formatNumber:A.bind(null,f,l.getNumberFormat),formatNumberToParts:L.bind(null,f,l.getNumberFormat),formatRelativeTime:N.bind(null,f,l.getRelativeTimeFormat),formatDate:s.bind(null,f,l.getDateTimeFormat),formatDateToParts:c.bind(null,f,l.getDateTimeFormat),formatTime:u.bind(null,f,l.getDateTimeFormat),formatDateTimeRange:m.bind(null,f,l.getDateTimeFormat),formatTimeToParts:d.bind(null,f,l.getDateTimeFormat),formatPlural:M.bind(null,f,l.getPluralRules),formatMessage:I.bind(null,f,l),$t:I.bind(null,f,l),formatList:E.bind(null,f,l.getListFormat),formatListToParts:v.bind(null,f,l.getListFormat),formatDisplayName:h.bind(null,f,l.getDisplayNames)})),S={locale:b.locale,timeZone:b.timeZone,fallbackOnEmptyString:b.fallbackOnEmptyString,formats:b.formats,defaultLocale:b.defaultLocale,defaultFormats:b.defaultFormats,messages:b.messages,onError:b.onError,defaultRichTextElements:T};return(0,t.__assign)((0,t.__assign)({},b),{formatMessage:C.bind(null,S,b.formatters),$t:C.bind(null,S,b.formatters)})};e.s(["createIntl",0,O],63951);var k=e.i(6482);function G(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var Y=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,r.createIntlCache)(),t.state={cache:t.cache,intl:O(G(t.props),t.cache),prevConfig:G(t.props)},t}return(0,t.__extends)(i,e),i.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,a=t.cache,i=G(e);return(0,n.shallowEqual)(r,i)?null:{intl:O(i,a),prevConfig:i}},i.prototype.render=function(){return(0,n.invariantIntlContext)(this.state.intl),a.createElement(k.Provider,{value:this.state.intl},this.props.children)},i.displayName="IntlProvider",i.defaultProps=n.DEFAULT_INTL_CONFIG,i}
1(a.PureComponent);e.s(["default",0,Y],79052)},66243,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(488);let{useTheme:n}=e.i(97344).default,i=a.StyleSheet.create({baseComponent:{display:"flex",flexDirection:"row"}});e.s(["default",0,e=>{let{aStyle:o,style:l,children:s,as:u="div",...m}=e,c=n(),d=(0,r.useMemo)(()=>a.StyleSheet.create({baseComponent:{fontFamily:c.FONT_FAMILY,fontSize:c.FONT_SIZE,color:c.PRIMARY_COLOR_TEXT}}),[c]);return(0,t.jsx)(u,{...m,className:(0,a.css)(i.baseComponent,d.baseComponent,o),style:l,children:s})}])},96085,93051,31238,4593,97916,27139,50510,e=>{"use strict";var t=e.i(91398),r=e.i(488),a=e.i(68489);e.i(49573);var n=e.i(13420),i=e.i(52741);let o=(0,a.default)(()=>e.A(31001),{loadableGenerated:{modules:[26003]},loading:()=>(0,t.jsx)(n.default,{size:16})}),l=(0,a.default)(()=>e.A(8540),{loadableGenerated:{modules:[94141]},loading:()=>(0,t.jsx)(n.default,{size:16})}),s=(0,a.default)(()=>e.A(71865),{loadableGenerated:{modules:[90575]},loading:()=>(0,t.jsx)(n.default,{size:16})}),u=(0,a.default)(()=>e.A(81275),{loadableGenerated:{modules:[44488]},loading:()=>(0,t.jsx)(n.default,{size:16})}),m=(0,a.default)(()=>e.A(63915),{loadableGenerated:{modules:[45041]},loading:()=>(0,t.jsx)(n.default,{size:16})}),c=(0,a.default)(()=>e.A(81016),{loadableGenerated:{modules:[80004]},loading:()=>(0,t.jsx)(n.default,{size:16})}),d=(0,a.default)(()=>e.A(62380),{loadableGenerated:{modules:[55857]},loading:()=>(0,t.jsx)(n.default,{size:16})}),f=(0,a.default)(()=>e.A(29506),{loadableGenerated:{modules:[76645]},loading:()=>(0,t.jsx)(n.default,{size:16})}),g=function(e){let{rating:r,color:a,aCitybreakStyle:n,shouldAddSearchLink:g=!1}=e;switch(r.type){case i.HOTEL_RATING_TYPE_VALUE_STAR:return(0,t.jsx)(u,{value:r.value});case i.HOTEL_RATING_TYPE_VALUE_EPI:return(0,t.jsx)(l,{value:r.value,color:a,shouldAddSearchLink:g});case i.HOTEL_RATING_TYPE_VALUE_CITY_BREAK:return(0,t.jsx)(s,{value:r.value,aStyle:n,shouldAddSearchLink:g});case i.HOTEL_RATING_TYPE_VALUE_KEY:return(0,t.jsx)(o,{value:r.value,shouldAddSearchLink:g});case i.HOTEL_RATING_TYPE_VALUE_ECOGITE:return(0,t.jsx)(m,{});case i.HOTEL_RATING_TYPE_VALUE_GITE_PANDA:return(0,t.jsx)(c,{});case i.HOTEL_RATING_TYPE_VALUE_ECOGESTE:return(0,t.jsx)(d,{});case i.HOTEL_RATING_TYPE_VALUE_BIODIVERSITE:return(0,t.jsx)(f,{});default:return null}},h=Symbol("initialGroup"),y=r.StyleSheet.create({rankings:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"1rem"},wrapper:{display:"flex",alignItems:"center",gap:"1rem",width:"100%"},main:{display:"flex",alignItems:"center",gap:"1rem",flexWrap:"wrap",flexGrow:1},secondary:{display:"flex",alignItems:"center",gap:"1rem",flexWrap:"wrap"}}),p=[i.HOTEL_RATING_TYPE_VALUE_CITY_BREAK,i.HOTEL_RATING_TYPE_VALUE_EPI,i.HOTEL_RATING_TYPE_VALUE_KEY];e.s(["default",0,function(e){let{room:a,color:n,aCitybreakStyle:o,shouldAddSearchLink:l=!1,shouldHideStar:s=!1,shouldSeparateMainRatings:u=!0}=e,m=(a.metas.ratings??[]).filter(e=>e.type!==i.HOTEL_RATING_TYPE_VALUE_STAR||!s),c=function(e,t=function(e){return"object"==typeof e&&null!==e&&"group"in e?e.group:h}){let r={};for(let a of e){let e=t(a);for(let t of(Array.isArray(e)||(e=[e]),e))t in r||(r[t]=[]),r[t].push(a)}return r}(m,e=>p.includes(e.type)?"main":"secondary");return(0,t.jsx)("div",{className:(0,r.css)(y.rankings),children:u?(0,t.jsxs)("div",{className:(0,r.css)(y.wrapper),children:[c.main&&(0,t.jsx)("div",{className:(0,r.css)(y.main),children:c.main.map(e=>(0,t.jsx)(g,{rating:e,color:n,aCitybreakStyle:o,shouldAddSearchLink:l},e.type))}),c.secondary&&(0,t.jsx)("div",{className:(0,r.css)(y.secondary),children:c.secondary.map(e=>(0,t.jsx)(g,{rating:e,color:n,aCitybreakStyle:o,shouldAddSearchLink:l},e.type))})]}):(0,t.jsx)(t.Fragment,{children:m.filter(e=>e.type!==i.HOTEL_RATING_TYPE_VALUE_STAR||!s).map(e=>(0,t.jsx)(g,{rating:e,color:n,aCitybreakStyle:o,shouldAddSearchLink:l},e.type))})})}],96085);var E=e.i(91788),v=e.i(16432);e.i(39401);var _=e.i(32312),x=e.i(54620),w=e.i(66243);e.i(92867);var T=e.i(5286),T=T,b=e.i(36608),b=b,I=e.i(28589);let S=r.StyleSheet.create({star:{marginRight:"0.3125em",lineHeight:0,fontSize:"1em"},star__last:{marginRight:0},grownedUpStar:{marginRight:"0.5rem",transform:"scale(1.5)"}}),F=e=>{let a,{type:n,last:i,grownedUp:o}=e;switch(n){case"full":a=T.default;break;case"half":a=b.default;break;case"empty":a=I.IconRateO}return(0,t.jsx)("div",{className:(0,r.css)(S.star,i&&S.star__last,o&&S.grownedUpStar),children:(0,t.jsx)(a,{})})};e.s(["STAR_COUNT",0,5],93051);let A=r.StyleSheet.create({icons:{display:"flex",alignItems:"center",flexDirection:"row",color:"#FFDF2F",fontSize:"1em"}}),L=e=>{let{rate:a}=e,n=(0,v.useIntl)(),i=function({average:e}){if(e<0||e>5)throw Error("La note moyenne doit être comprise entre 0 et 5");return Math.min(Math.max(Math.round((e-.01)*2),0),10)}({average:a}),o=n.formatMessage({id:"X6arYxHx"},{rate:a}),l=Math.floor(i/2),s=+(i%2==1),u=[...Array(l).fill("full"),...Array(s).fill("half"),...Array(5-l-s).fill("empty")],m=u.map((e,t)=>({type:e,index:t})).filter(({type:e})=>"empty"!==e).pop()?.index;return(0,t.jsx)(w.default,{children:(0,t.jsx)("div",{className:(0,r.css)(A.icons),title:o,children:u.map((e,r)=>(0,t.jsx)(F,{type:e,grownedUp:r===m,last:r===u.length-1},r))})})};e.s(["default",0,L],31238),e.s([],4593);let j=r.StyleSheet.create({reviews:{fontSize:"0.75rem"}});e.s(["default",0,function(e){let{rate:a,reviews:n,long:i=!1}=e,o=(0,v.useIntl)();return(0,t.jsx)(w.default,{children:(0,t.jsxs)(_.List,{gutter:1,inline:!0,style:{alignItems:"center"},children:[(0,t.jsx)(x.ListItem,{children:(0,t.jsx)(L,{rate:a})}),(0,t.jsx)(x.ListItem,{children:(0,t.jsx)("div",{className:(0,r.css)(j.reviews),children:o.formatMessage({id:"Qx9IDfEK"},{reviews:n,long:i})})})]})})}],97916);var M=e.i(31799),R=e.i(44405),N=e.i(90339),P=e.i(66127),D=e.i(47896);let C={bottom:{center:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width/2-t.width/2+a.x)),y:e.y+e.height+n+a.y}),start:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+a.x)),y:e.y+e.height+n+a.y}),end:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width-t.width+a.x)),y:e.y+e.height-n+a.y})},top:{center:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width/2-t.width/2+a.x)),y:e.y-t.height-n+a.y}),start:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+a.x)),y:e.y-t.height-n+a.y}),end:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width-t.width+a.x)),y:e.y-t.height-n+a.y})},right:{center:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width+n+a.x)),y:e.y+e.height/2-t.height/2+a.y}),start:({rect:e,windowRect:t,popoverRect:r,scrollRect:a,gutter:n})=>({x:Math.min(t.width-r.width,Math.max(0,e.x+e.width+n+a.x)),y:e.y+a.y}),end:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x+e.width+n+a.x)),y:e.y+e.height-t.height+a.y})},left:{center:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x-t.width-n+a.x)),y:e.y+e.height/2-t.height/2+a.y}),start:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x-t.width-n+a.x)),y:e.y+a.y}),end:({rect:e,popoverRect:t,windowRect:r,scrollRect:a,gutter:n})=>({x:Math.min(r.width-t.width,Math.max(0,e.x-t.width-n+a.x)),y:e.y+e.height-t.height+a.y})}}
1,O=R.StyleSheet.create({popover:{top:0,bottom:0,left:0,right:0,position:"absolute",backgroundColor:"transparent",zIndex:100},children:{backgroundColor:"transparent",position:"absolute",zIndex:100}}),k=e=>{let{rect:r,alignmentPlacement:a="top",alignmentSticky:n="center",gutter:i=0,visible:o,useRectMinWidth:l=!0,children:s}=e,u=(0,E.useRef)(null),m=e.contentRef?e.contentRef:u,[c,d]=(0,E.useState)(null),[f,g]=(0,E.useState)(function(){let{width:e,height:t}=P.Dimensions.get("window");return{width:e,height:t}}),h=(0,E.useCallback)(({window:e})=>{let{width:t,height:r}=e;g({width:t,height:r})},[]);(0,E.useEffect)(()=>(P.Dimensions.addEventListener("change",h),()=>{P.Dimensions.removeEventListener("change",h)}),[h]);let y=(0,E.useCallback)(()=>{m.current&&m.current.measureInWindow((e,t,r,a)=>{(null===c||e!==c.x||t!==c.y||r!==c.width||a!==c.height)&&d({x:e,y:t,width:r,height:a,scrollX:window.scrollX,scrollY:window.scrollY})})},[m,c]),p=(0,E.useMemo)(()=>null===c||null===r?null:C[a][n]({rect:r,popoverRect:c,gutter:16*i,windowRect:f,scrollRect:{x:c.scrollX,y:c.scrollY}}),[a,n,i,c,r,f]),v=null!==c&&null!==r&&null!==p;return(0,t.jsx)(D.default,{selector:"body",children:(0,t.jsx)(M.View,{ref:m,style:[O.children,{opacity:v&&o?1:0,top:v?p.y:0,left:v?p.x:0,zIndex:v&&o?0:-1},l&&null!==r&&r.width&&{minWidth:r.width}],onLayout:y,children:s})})};var G=e.i(56799),G=G,Y=e.i(97344),U=e.i(92141);e.i(97479);var z=e.i(98830);let{useTheme:V}=Y.default,H=R.StyleSheet.create({icon:{lineHeight:0,cursor:"help"},messageContainer:{padding:(0,z.emToPx)(.5),borderRadius:(0,z.emToPx)(.25)},message:{color:"#ffffff",fontSize:(0,z.emToPx)(.75)}});e.s(["default",0,e=>{let{message:r,style:a,mainStyle:n,children:i}=e,o=V(),{hovered:l,onMouseEnter:s,onMouseLeave:u}=(0,U.default)(),m=(0,E.useRef)(null),[c,d]=(0,E.useState)(null),f=(0,E.useCallback)(()=>{m.current&&m.current.measureInWindow((e,t,r,a)=>d({x:e,y:t,width:r,height:a}))},[]);return(0,E.useEffect)(()=>(window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)}),[f]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.View,{onLayout:f,ref:m,style:n,onMouseEnter:s,onMouseLeave:u,children:void 0!==i?i:(0,t.jsx)(N.default,{style:H.icon,children:(0,t.jsx)(G.default,{})})}),(0,t.jsx)(k,{visible:l,rect:c,gutter:.5,children:(0,t.jsx)(M.View,{style:[H.messageContainer,{backgroundColor:o.PRIMARY_COLOR_TEXT},a],children:(0,t.jsx)(N.default,{style:H.message,children:r})})})]})}],27139);var Z=e.i(4967);e.s(["roomIsBookableOnline",0,function({room:e,configuration:t}){let r=(0,Z.default)({room:e,configuration:t});return"1"===r?.bookingSettings?.isBookable}],50510)}]);
2
3//# sourceMappingURL=0s9ii02k7ked3.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.