PageSourceSearch

https://www.berge-meer.de/_next/static/chunks/2qnjzz8uzyoxf.js

js berge-meer.de collected 2026-09-24 20:02:22 UTC 32,639 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,631477,782555,616352,e=>{"use strict";let t=(0,e.i(50996).defineMessages)({imagesCount:{id:"components.Hoteldetail.imagesCount"},modalTitle:{id:"components.Hoteldetail.modalTitle"},title:{id:"components.NezasaHoteldetail.title"},preProgram:{id:"components.NezasaHoteldetail.preProgram"},posProgram:{id:"components.NezasaHoteldetail.posProgram"},durationDays:{id:"components.NezasaHoteldetail.durationDays"}});e.s(["default",0,t],782555);var n=e.i(191788),o=e.i(116432),r=e.i(554802),i=e.i(376609);e.s(["ADULT_AGE",0,18,"getAccommodationPrice",0,(e,t,n)=>(e?.price?.amount||0)+(e?.occupancy?.max||0)/(t||1)*n],616352);let u=(e=[],n=[],o,i)=>e&&e.length?e.map(e=>{let{mainImage:u,images:a}=s(e,n);return{...e,hotelContent:{contentProviderExtension:{isNezasaProgram:!0,...e,subline:e?.title||e?.name,keyFacts:e?.durationInNights?[{value:o(t.durationDays,{count:e?.durationInNights+1}),icon:"icon-clock"}]:[]},mainImage:u,images:a},hotel:{name:o(i?t.preProgram:t.posProgram)},topOffer:{sourceCode:r.SourceCodes.Nezasa,price:{perPersonAmount:e.fromPrice?.value?.amount||0,amount:e.fromPrice?.value?.amount||0},travelType:e.travel_type,tags:e.tags||[]}}}):[],a=(e=[],t=[])=>e.map(e=>{let n=e.sizes?.[0]?.url;return t.find(e=>e.original?.url===n)}),s=(e,t=[])=>{let n=a(e.pictures,t).map(e=>{if(!e)return null;let t={...e};return t.thumbnail470x376?t.default=t.thumbnail470x376:t.default||(t.default=t.thumbnail845x558||t.thumbnail989x653||t.original),t.thumbnail840x554?t.default2x=t.thumbnail840x554:t.default2x||(t.default2x=t.thumbnail1354x894||t.thumbnail1690x1116||t.thumbnail1978x1306||t.thumbnail2708x1788||t.original),t}).filter(e=>null!==e);return{mainImage:n.length>0?n[0]:null,images:n.length>1?n.slice(1):[]}},c=e=>{if(!e)return null;let t=e.contentProviderExtension||{},n=t.activities||[],o=e.images||[];return{...e,contentProviderExtension:{...t,activities:n?.map(e=>({...e,images:a(e?.pictures,o).filter(e=>void 0!==e)}))}}};e.s(["NEZASA_PLANNER_FLAG_COOKIE",0,"nezasa-starting-planner","getNezasaId",0,e=>e?.replace(i.nezasaProductIdRegex,""),"getTagsAndRoomsFromAssignments",0,(e,t,n)=>{let{tags:o,assignedRooms:r}=e?.reduce((e,o)=>{let r=t[o.id||""];if(!o.units||!r)return e;let i={},u=n.filter(({age:e})=>e>=18).map(({age:e})=>({age:e})),a=n.filter(({age:e})=>e<18).map(({age:e})=>({age:e}));return o.units.forEach((t,n)=>{let s=r[n]||0;if(s<=0||!t?.type)return;i[t.type]=(i[t.type]||0)+s;let c=t?.occupancy?.adults||0,l=t?.occupancy?.children||0,d=[...u.splice(0,c),...a.splice(0,l)],f={name:o.name,category:o.id,type:t.type,travellers:d};e.assignedRooms.push(...Array(s).fill(f))}),Object.keys(i).length>0&&e.tags.push({hotel:o?.name||"",roomTypes:i}),e},{tags:[],assignedRooms:[]})??{tags:[],assignedRooms:[]};return{tags:o,assignedRooms:r}},"mapAccommodationsToHotelItemProps",0,(e=[])=>e&&e.length?e.map(e=>{let t={default:{url:e?.accommodationContent?.pictures?.[0]?.sizes?.[0]?.url},default2x:{url:e?.accommodationContent?.pictures?.[0]?.sizes?.[0]?.url}},n=e?.accommodationContent?.pictures?.slice(1).map(e=>({default:{url:e?.sizes?.[0]?.url},default2x:{url:e?.sizes?.[0]?.url}}))||[];return{...e,hotelContent:{contentProviderExtension:{...e,keyFactsConfig:{keyFacts:[{value:`${e.accommodationContent?.officialRating}-Sterne-Hotel`,icon:"circle-check"},e.units?.[0]?.name?{value:e.units?.[0]?.name,icon:"circle-check"}:null]}},mainImage:t,images:n},hotel:{name:e.accommodationContent?.name,category:e.accommodationContent?.officialRating,location:{country:{name:`${e.accommodationContent?.location?.country} - ${e.accommodationContent?.location?.city}`}}},topOffer:{duration:e?.duration,sourceCode:r.SourceCodes.Bewotec,price:{perPersonAmount:e.price?.amount||0,amount:e.price?.amount||0},travelType:e.accommodationContent?.accommodationType?.toLowerCase()||""}}}):[],"useNezasaMapper",0,(e,t)=>{let{formatMessage:i}=(0,o.useIntl)(),a=(0,n.useMemo)(()=>{let e;return e=[e=>((e,t)=>{if(!e)return null;let n=e.contentProviderExtension||{};return{...e,contentProviderExtension:{...n,preprograms:u(n.preprograms,e.images,t,!0),posprograms:u(n.posprograms,e.images,t,!1)}}})(e,i),c,e=>((e,t)=>{if(!e)return null;let n=e.contentProviderExtension||{};return{...e,hotel:{...e,keyFacts:[...n?.key_facts?.map(e=>({value:e}))||[],{value:n.travel_period_as_string||"",icon:"icon-calender"}],location:{country:{name:n?.name}},name:n?.subline},topOffer:{sourceCode:r.SourceCodes?.Nezasa,price:{perPersonAmount:n?.from_price||0,amount:n?.from_price||0}
1,travelType:n?.travel_type?.toLowerCase(),travelCode:n?.travel_code,tags:n?.tags||[],hash:t?.topOffer.hash,hotelContentId:t?.topOffer.hotelContentId}}})(e,t)],t=>e.reduce((e,t)=>t(e)||e,t)},[i,t]);return(0,n.useMemo)(()=>a(e),[a,e])}],631477)},985543,e=>{e.v({icon:"Note-module-scss-module__k7PsdG__icon","is-error":"Note-module-scss-module__k7PsdG__is-error","is-featured":"Note-module-scss-module__k7PsdG__is-featured","is-large":"Note-module-scss-module__k7PsdG__is-large",root:"Note-module-scss-module__k7PsdG__root",text:"Note-module-scss-module__k7PsdG__text",title:"Note-module-scss-module__k7PsdG__title","with-title":"Note-module-scss-module__k7PsdG__with-title"})},52449,e=>{"use strict";var t=e.i(391398),n=e.i(191788),o=e.i(272043),r=e.i(287786),i=e.i(391573),u=e.i(985543);let a=(0,r.applyStylingHoc)(u.default)(({styles:e,note:r,title:u,icon:a,featured:s,isLarge:c,isError:l})=>{let d=(0,n.useMemo)(()=>(0,t.jsx)("span",{className:(0,o.default)(e.icon,a||"icon-info")}),[a,e.icon]);return r?(0,t.jsxs)("div",{className:(0,o.default)(e.root,u&&e["with-title"],s&&e["is-featured"],c&&e["is-large"],l&&e["is-error"]),children:[u?(0,t.jsxs)("div",{className:e.title,children:[d,u]}):d,(0,t.jsx)("div",{className:e.text,dangerouslySetInnerHTML:(0,i.createHtml)(r)})]}):null});e.s(["default",0,a])},762853,e=>{e.v({btn:"CounterControl-module-scss-module__K78iYW__btn","is-block":"CounterControl-module-scss-module__K78iYW__is-block","is-rounded":"CounterControl-module-scss-module__K78iYW__is-rounded",root:"CounterControl-module-scss-module__K78iYW__root",value:"CounterControl-module-scss-module__K78iYW__value"})},434357,e=>{"use strict";var t=e.i(391398),n=e.i(191788),o=e.i(272043),r=e.i(287786),i=e.i(194117),u=e.i(762853);let a={text:""},s=(0,r.applyStylingHoc)(u.default)(({styles:e,color:r="primary",size:u="sm",value:s=0,minValue:c=0,leftBtnProps:l=a,rightBtnProps:d=a,onLeftBtnClick:f,onRightBtnClick:m,onChange:v,rounded:p,block:h,outline:g,leftBtnIcon:y="icon-minus",rightBtnIcon:b="icon-plus",maxValue:_})=>{let C=(0,n.useCallback)(()=>{v&&v(s+1),m&&m()},[v,m,s]),x=(0,n.useCallback)(()=>{v&&v(s-1),f&&f()},[v,f,s]),O=(0,o.default)(e.root,u?e["is-"+u]:e.initialSize,p&&e["is-rounded"],h&&e["is-block"]);return(0,t.jsxs)("div",{className:O,children:[(0,t.jsx)(i.default,{color:r,onClick:x,styles:e.btn,disabled:s<=c,size:u,outline:g,rounded:p,icon:y,"aria-label":"Decrease",...l,children:l.text}),(0,t.jsx)("span",{className:e.value,children:s}),(0,t.jsx)(i.default,{color:r,onClick:C,styles:e.btn,disabled:s>=_,size:u,outline:g,rounded:p,icon:b,"aria-label":"Increase",...d,children:d.text})]})});e.s(["default",0,s])},578119,e=>{e.v({content:"OffCanvas-module-scss-module__uznB6W__content","content--closer":"OffCanvas-module-scss-module__uznB6W__content--closer","content--contentInner":"OffCanvas-module-scss-module__uznB6W__content--contentInner","content--contentWrap":"OffCanvas-module-scss-module__uznB6W__content--contentWrap","content--customCloser":"OffCanvas-module-scss-module__uznB6W__content--customCloser","content--customHeader":"OffCanvas-module-scss-module__uznB6W__content--customHeader","content--footer":"OffCanvas-module-scss-module__uznB6W__content--footer","content--has-overlay":"OffCanvas-module-scss-module__uznB6W__content--has-overlay","content--header":"OffCanvas-module-scss-module__uznB6W__content--header","content--is-bottom":"OffCanvas-module-scss-module__uznB6W__content--is-bottom","content--is-open":"OffCanvas-module-scss-module__uznB6W__content--is-open","content--is-right":"OffCanvas-module-scss-module__uznB6W__content--is-right","content--nav":"OffCanvas-module-scss-module__uznB6W__content--nav","content--overlay":"OffCanvas-module-scss-module__uznB6W__content--overlay","content--theme-dark":"OffCanvas-module-scss-module__uznB6W__content--theme-dark","content--title":"OffCanvas-module-scss-module__uznB6W__content--title","content--titleIcon":"OffCanvas-module-scss-module__uznB6W__content--titleIcon"})},739889,e=>{"use strict";var t,n,o,r,i=e.i(391398),u=e.i(191788),a=e.i(287786),s=e.i(578119),c=u,l=e.i(272043);e.i(350461);var d=e.i(460997),f=e.i(75907),m="data-focus-lock",v="data-focus-lock-disabled";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="u">typeof window?u.useLayoutEffect:u.useEffect,g=new WeakMap,y={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},b=e.i(189280);function _(e){return e}function C(e,t){void 0===t&&(t=_);var n=[],o=!1;return{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;
1t=[],n.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),n={push:function(e){t.push(e),u()},filter:function(e){return t=t.filter(e),n}}}}}function x(e,t){return void 0===t&&(t=_),C(e,t)}var O=x({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),w=x(),E=x(),N=(t={async:!0,ssr:"u">typeof document},(n=C(null)).options=(0,b.__assign)({async:!0,ssr:!1},t),n),k=(0,u.createContext)(void 0),I=[],P=(0,u.forwardRef)(function(e,t){var n,o,r,i,a,s=(0,u.useState)(),c=s[0],l=s[1],d=(0,u.useRef)(),b=(0,u.useRef)(!1),_=(0,u.useRef)(null),C=(0,u.useState)({})[1],x=e.children,E=e.disabled,P=void 0!==E&&E,S=e.noFocusGuards,M=void 0!==S&&S,T=e.persistentFocus,A=e.crossFrame,j=e.autoFocus,F=(e.allowTextSelection,e.group),L=e.className,R=e.whiteList,B=e.hasPositiveIndices,W=e.shards,z=void 0===W?I:W,D=e.as,H=e.lockProps,G=e.sideCar,U=e.returnFocus,K=void 0!==U&&U,q=e.focusOptions,Y=e.onActivation,V=e.onDeactivation,$=(0,u.useState)({})[0],Z=(0,u.useCallback)(function(e){var t=e.captureFocusRestore;if(!_.current){var n,o=null==(n=document)?void 0:n.activeElement;_.current=o,o!==document.body&&(_.current=t(o))}d.current&&Y&&Y(d.current),b.current=!0,C()},[Y]),J=(0,u.useCallback)(function(){b.current=!1,V&&V(d.current),C()},[V]),Q=(0,u.useCallback)(function(e){var t=_.current;if(t){var n=("function"==typeof t?t():t)||document.body,o="function"==typeof K?K(n):K;if(o){var r="object"==typeof o?o:void 0;_.current=null,e?Promise.resolve().then(function(){return n.focus(r)}):n.focus(r)}}},[K]),X=(0,u.useCallback)(function(e){b.current&&O.useMedium(e)},[]),ee=w.useMedium,et=(0,u.useCallback)(function(e){d.current!==e&&(d.current=e,l(e))},[]),en=(0,f.default)(((a={})[v]=P&&"disabled",a[m]=F,a),void 0===H?{}:H),eo=!0!==M,er=eo&&"tail"!==M,ei=(n=[t,et],o=function(e){return n.forEach(function(t){return p(t,e)})},(r=(0,u.useState)(function(){return{value:null,callback:o,facade:{get current(){return r.value},set current(value){var e=r.value;e!==value&&(r.value=value,r.callback(value,e))}}}})[0]).callback=o,i=r.facade,h(function(){var e=g.get(i);if(e){var t=new Set(e),o=new Set(n),r=i.current;t.forEach(function(e){o.has(e)||p(e,null)}),o.forEach(function(e){t.has(e)||p(e,r)})}g.set(i,n)},[n]),i),eu=(0,u.useMemo)(function(){return{observed:d,shards:z,enabled:!P,active:b.current}},[P,b.current,z,c]);return u.default.createElement(u.Fragment,null,eo&&[u.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:P?-1:0,style:y}),B?u.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:P?-1:1,style:y}):null],!P&&u.default.createElement(G,{id:$,sideCar:N,observed:c,disabled:P,persistentFocus:void 0!==T&&T,crossFrame:void 0===A||A,autoFocus:void 0===j||j,whiteList:R,shards:z,onActivation:Z,onDeactivation:J,returnFocus:Q,focusOptions:q,noFocusGuards:M}),u.default.createElement(void 0===D?"div":D,(0,f.default)({ref:ei},en,{className:L,onBlur:ee,onFocus:X}),u.default.createElement(k.Provider,{value:eu},x)),er&&u.default.createElement("div",{"data-focus-guard":!0,tabIndex:P?-1:0,style:y}))});function S(e,t){return(S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}P.propTypes={};var T=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},A=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},j=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},F=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},L=function(e,t){var n,o,r=e.get(t);if(void 0!==r)return r;var i=(n=t,o=L.bind(void 0,e),!n||F(n)||!A(n)&&!n.hasAttribute("inert")&&o(j(n)));return e.set(t,i),i},R=function(e,t){var n,o=e.get(t);if(void 0!==o)return o;var r=(n=R.bind(void 0,e),!t||!!F(t)||!!D(t)&&n(j(t)));return e.set(t,r),r},B=function(e){return e.dataset},W=function(e){return"INPUT"===e.tagName},z=function(e){return W(e)&&"radio"===e.type},D=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},H=function(e){var t;return!!(e&&(null==(t=B(e))?void 0:t.focusGuard))},G=function(e){return!H(e)},U=function(e){return!!e},K=function(e,t){if(z(e)&&e.name)return t.filter(z).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},q=function(e){var t=new Set;return e.forEach(function(n){return t.add(K(n,e))}),e.filter(function(e){return t.has(e)})},Y=function(e){return e[0]&&e.length>1?K(e[0],e):e[0]},V=function(e,t){return e.indexOf(K(t,e))},$="NEW_FOCUS",Z=function(e,t,n,o,r){var i=e.length,u=e[0],a=e[i-1],s=H(o);if(!(o&&e.indexOf(o)>
1=0)){var c=void 0!==o?n.indexOf(o):-1,l=r?n.indexOf(r):c,d=r?e.indexOf(r):-1;if(-1===c)return -1!==d?d:$;if(-1===d)return $;var f=c-l,m=n.indexOf(u),v=n.indexOf(a),p=q(n),h=void 0!==o?p.indexOf(o):-1,g=r?p.indexOf(r):h,y=p.filter(function(e){return e.tabIndex>=0}),b=void 0!==o?y.indexOf(o):-1,_=r?y.indexOf(r):b;if(!f&&d>=0||0===t.length)return d;var C=V(e,t[0]),x=V(e,t[t.length-1]);if(c<=m&&s&&Math.abs(f)>1)return x;if(c>=v&&s&&Math.abs(f)>1)return C;if(f&&Math.abs(b>=0&&_>=0?_-b:g-h)>1)return d;if(c<=m)return x;if(c>v)return C;if(f)return Math.abs(f)>1?d:(i+d+f)%i}},J=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Q=function(e){return Array.isArray(e)?e:[e]},X=function(e){return Array.isArray(e)?e[0]:e},ee=function(e,t){var n=Math.max(0,e.tabIndex),o=Math.max(0,t.tabIndex),r=n-o,i=e.index-t.index;if(r){if(!n)return 1;if(!o)return -1}return r||i},et=function(e,t,n){return J(e).map(function(e,t){var o=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===o?(e.dataset||{}).focusGuard?0:-1:o}}).filter(function(e){return!t||e.tabIndex>=0}).sort(ee)},en="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",eo="".concat(en,", [data-focus-guard]"),er=function(e,t){return J((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?eo:en)?[n]:[],er(n))},[])},ei=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?eu([e.contentDocument.body],t):[e]},eu=function(e,t){return e.reduce(function(e,n){var o,r=er(n,t),i=(o=[]).concat.apply(o,r.map(function(e){return ei(e,t)}));return e.concat(i,n.parentNode?J(n.parentNode.querySelectorAll(en)).filter(function(e){return e===n}):[])},[])},ea=function(e,t){return J(e).filter(function(e){return L(t,e)}).filter(function(e){var t;return!((W(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},es=function(e,t){return void 0===t&&(t=new Map),J(e).filter(function(e){return R(t,e)})},ec=function(e,t,n){return et(ea(eu(e,n),t),!0,n)},el=function(e,t){return et(ea(eu(e),t),!1)},ed=function(e,t){return e.shadowRoot?ed(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||J(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var o=null==(n=e.contentDocument)?void 0:n.body;return!!o&&ed(o,t)}return ed(e,t)})},ef=function(e){for(var t=new Set,n=e.length,o=0;o<n;o+=1)for(var r=o+1;r<n;r+=1){var i=e[o].compareDocumentPosition(e[r]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(r),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(o)}return e.filter(function(e,n){return!t.has(n)})},em=function(e){return e.parentNode?em(e.parentNode):e},ev=function(e){return Q(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(m);return e.push.apply(e,n?ef(J(em(t).querySelectorAll("[".concat(m,'="').concat(n,'"]:not([').concat(v,'="disabled"])')))):[t]),e},[])},ep=function(e,t,n){var o=es(e.map(function(e){return e.node}).filter(function(e){var t,o=null==(t=B(e))?void 0:t.autofocus;return e.autofocus||void 0!==o&&"false"!==o||n.indexOf(e)>=0}));return o&&o.length?Y(o):Y(es(t))},eh=function(e){try{return e()}catch(e){return}},eg=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?eg(t.shadowRoot):t instanceof HTMLIFrameElement&&eh(function(){return t.contentWindow.document})?eg(t.contentWindow.document):t}},ey=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ey(e.parentNode.host||e.parentNode,t),t},eb=function(e,t){for(var n=ey(e),o=ey(t),r=0;r<n.length;r+=1){var i=n[r];if(o.indexOf(i)>=0)return i}return!1},e_=function(e,t,n){var o=Q(e),r=Q(t),i=o[0],u=!1;return r.filter(Boolean).forEach(function(e){u=eb(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=eb(i,e);t&&(u=!u||ed(t,u)?t:eb(t,u))})}),u},eC=function(e,t){return e.reduce(function(e,n){var o,r;return e.concat((o=n,r=t,ea(J(o.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return eu([e])}).reduce(function(e,t){return e.concat(t)},[]),r)))},[])},ex=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(U)},eO=function(e,t){var n=eg(Q(e).length>0?document:X(e).ownerDocument),o=ev(e).filter(G),r=e_(n||e,e,o),i=new Map,u=el(o,i),a=u.filter(function(e){return G(e.node)});
1if(a[0]){var s=el([r],i).map(function(e){return e.node}),c=ex(s,a),l=c.map(function(e){return e.node}),d=c.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=Z(l,d,s,n,t);if(f===$){var m=ep(u,d,eC(o,i))||ep(u,l,eC(o,i));return m?{node:m}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:c[f]}},ew=0,eE=!1,eN=function(e,t,n){void 0===n&&(n={});var o=eO(e,t);if(!eE&&o){if(ew>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eE=!0,setTimeout(function(){eE=!1},1);return}ew++,T(o.node,n.focusOptions),ew--}},ek=function(e,t){return void 0===t&&(t=eg(X(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&ev(e).some(function(e){var n;return ed(e,t)||(n=t,!!J(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},eI=function(e){void 0===e&&(e=document);var t=eg(e);return!!t&&J(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return ed(e,t)})},eP=function(e){var t=ev(e).filter(G),n=et(eu([e_(e,e,t)],!0),!0,!0),o=eu(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:H(t)}})},eS=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var o=Q(t);if(o.every(function(t){return!ed(t,e)}))return console.error("Active element is not contained in the scope"),{};var r=n?ec(o,new Map):el(o,new Map),i=r.findIndex(function(t){return t.node===e});if(-1!==i)return{prev:r[i-1],next:r[i+1],first:r[0],last:r[r.length-1]}},eM=function(e,t){var n=t?ec(Q(e),new Map):el(Q(e),new Map);return{first:n[0],last:n[n.length-1]}},eT=function(e,t,n){void 0===t&&(t={});var o,r=(o=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},o)),i=eS(e,r.scope,r.onlyTabbable);if(i){var u=n(i,r.cycle);u&&T(u.node,r.focusOptions)}},eA=function(e,t,n){var o,r=eM(e,null==(o=t.onlyTabbable)||o)[n];r&&T(r.node,t.focusOptions)};function ej(e){if(!e)return null;if("u"<typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var eF=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ej(n),parent:ej(n.parentElement),left:ej(n.previousElementSibling),right:ej(n.nextElementSibling)}),n=n.parentElement;return{element:ej(e),stack:t,ownerDocument:e.ownerDocument}},eL=function(e){if(e)for(var t,n,o,r,i,u=e.stack,a=e.ownerDocument,s=new Map,c=0;c<u.length;c++){var l=u[c],d=null==(t=l.parent)?void 0:t.call(l);if(d&&a.contains(d)){for(var f=null==(n=l.left)?void 0:n.call(l),m=l.current(),v=d.contains(m)?m:void 0,p=null==(o=l.right)?void 0:o.call(l),h=ec([d],s),g=null!=(i=null!=(r=null!=v?v:null==f?void 0:f.nextElementSibling)?r:p)?i:f;g;){for(var y=0;y<h.length;y++){var b=h[y];if(null==g?void 0:g.contains(b.node))return b.node}g=g.nextElementSibling}if(h.length)return h[0].node}}},eR=function(e){var t=eF(e);return function(){return eL(t)}};function eB(e){setTimeout(e,1)}var eW=function(e){return e&&"current"in e?e.current:e},ez=function(){return document&&document.activeElement===document.body},eD=null,eH=null,eG=function(){return null},eU=null,eK=!1,eq=!1,eY=function(e,t){eU={observerNode:e,portaledElement:t}};function eV(e,t,n,o){var r=null,i=e;do{var u=o[i];if(u.guard)u.node.dataset.focusAutoGuard&&(r=u);else if(u.lockItem){if(i!==e)return;r=null}else break}while((i+=n)!==t)r&&(r.node.tabIndex=0)}var e$=function(e){return el(e,new Map)},eZ=function(){var e=!1;if(eD){var t=eD,n=t.observed,o=t.persistentFocus,r=t.autoFocus,i=t.shards,u=t.crossFrame,a=t.focusOptions,s=t.noFocusGuards,c=n||eU&&eU.portaledElement;if(ez()&&eH&&eH!==document.body&&(!document.body.contains(eH)||!e$([(f=eH).parentNode]).some(function(e){return e.node===f}))){var l=eG();l&&l.focus()}var d=document&&document.activeElement;if(c){var f,m=[c].concat(i.map(eW).filter(Boolean));if((!d||(eD.whiteList||function(){return!0})(d))&&(o||function(){if(!(u?!!eK:"meanwhile"===eK)||!s||!eH||eq)return!1;
1var e=e$(m),t=e.findIndex(function(e){return e.node===eH});return 0===t||t===e.length-1}()||!(ez()||eI())||!eH&&r)&&(c&&!(ek(m)||d&&m.some(function(e){return function e(t,n,o){return n&&(n.host===t&&(!n.activeElement||o.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,o))}(d,e,e)})||eU&&eU.portaledElement===d)&&(document&&!eH&&d&&!r?(d.blur&&d.blur(),document.body.focus()):(e=eN(m,eH,{focusOptions:a}),eU={})),(eH=document&&document.activeElement)!==document.body&&(eG=eR(eH)),eK=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var v=document&&document.activeElement,p=eP(m),h=p.map(function(e){return e.node}).indexOf(v);h>-1&&(p.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eV(h,p.length,1,p),eV(h,-1,-1,p))}}}return e},eJ=function(e){eZ()&&e&&(e.stopPropagation(),e.preventDefault())},eQ=function(){return eB(eZ)},eX=function(){eq=!0},e0=function(){eq=!1,eK="just",eB(function(){eK="meanwhile"})},e1=function(){document.addEventListener("focusin",eJ),document.addEventListener("focusout",eQ),window.addEventListener("focus",eX),window.addEventListener("blur",e0)},e7=function(){document.removeEventListener("focusin",eJ),document.removeEventListener("focusout",eQ),window.removeEventListener("focus",eX),window.removeEventListener("blur",e0)},e8={moveFocusInside:eN,focusInside:ek,focusNextElement:function(e,t){void 0===t&&(t={}),eT(e,t,function(e,t){var n=e.next,o=e.first;return n||t&&o})},focusPrevElement:function(e,t){void 0===t&&(t={}),eT(e,t,function(e,t){var n=e.prev,o=e.last;return n||t&&o})},focusFirstElement:function(e,t){void 0===t&&(t={}),eA(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),eA(e,t,"last")},captureFocusRestore:eR};O.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eY(n,t)}),w.assignMedium(eQ),E.assignMedium(function(e){return e(e8)});let e6=(o=function(e){return e.filter(function(e){return!e.disabled})},r=function(e){var t=e.slice(-1)[0];t&&!eD&&e1();var n=eD,o=n&&t&&t.id===n.id;
1eD=t,n&&!o&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(eH=null,o&&n.observed===t.observed||t.onActivation(e8),eZ(!0),eB(eZ)):(e7(),eH=null)},function(e){var t,n,i,a,s,c=[];function l(){r(s=o(c.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,S(n,t),n.peek=function(){return s};var o=n.prototype;return o.componentDidMount=function(){c.push(this),l()},o.componentDidUpdate=function(){l()},o.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},o.render=function(){return u.default.createElement(e,this.props)},n}(u.PureComponent);return t=d,n="displayName",i="SideEffect("+(e.displayName||e.name||"Component")+")",(a=function(e,t){if("object"!=M(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=M(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==M(a)?a:a+"")in t)?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,d})(function(){return null});var e9=(0,u.forwardRef)(function(e,t){return u.default.createElement(P,(0,f.default)({sideCar:e6,ref:t},e))}),e3=P.propTypes||{};e3.sideCar,(0,d.default)(e3,["sideCar"]),e9.propTypes={};var e5=e.i(606536),e2=e.i(116432),e4=e.i(194117);let te=(0,e.i(50996).defineMessages)({openBtnAriaLabel:{id:"tsbob.OffCanvas.openBtnAriaLabel"},closeBtnAriaLabel:{id:"tsbob.OffCanvas.coleBtnAriaLabel"}}),tt=(0,u.forwardRef)(function({triggerIcon:e="icon-menu",color:t="default",styles:n={},triggerLabel:o,triggerAriaLabel:r,onClick:a,...s},c){let{formatMessage:d}=(0,e2.useIntl)(),[f,m]=(0,u.useState)(!1),v=(0,u.useCallback)(()=>{m(e=>!e)},[]);return(0,i.jsx)(e4.default,{styles:n.root,className:(0,l.default)({[n["has-customIcon"]]:e,[n["is-hover"]]:f}),color:t,icon:e,onClick:a,onMouseEnter:v,onMouseLeave:v,"aria-label":r||(o?void 0:d(te.openBtnAriaLabel)),innerRef:c,...s,children:o})}),tn=(0,a.applyStylingHoc)({})(tt);var to=u,tr=e.i(304900);class ti extends to.PureComponent{constructor(e){super(e),this.handleHoverToggle=()=>{this.setState({hover:!this.state.hover})},this.state={hover:!1}}render(){let{styles:e,intl:{formatMessage:t}}=this.props,n=this.props.icon;return(0,i.jsx)("button",{className:(0,l.default)(e.root,n,{[e["has-customIcon"]]:n,[e["is-hover"]]:this.state.hover}),onClick:this.props.onClick,onMouseEnter:this.handleHoverToggle,onMouseLeave:this.handleHoverToggle,"aria-label":t(te.closeBtnAriaLabel)})}}ti.defaultProps={icon:"icon-close",styles:{}};let tu=(0,tr.injectIntl)((0,a.applyStylingHoc)({})(ti));class ta extends c.PureComponent{static getDerivedStateFromProps(e,t){return void 0!==e.isOpen&&e.isOpen!==t.isOpen?{isOpen:e.isOpen}:null}constructor(e){super(e),this.handleClose=()=>{let{onClose:e}=this.props;e?e():this.toggleMenu()},this.handleOverlayClose=()=>{let{onClose:e,onOverlayClose:t}=this.props;t?t():e?e():this.toggleMenu()},this.handleItemClick=e=>{var t;let n=null==(t=e.target)?void 0:t.classList;n&&(n.contains(e5.default.trigger)||this.toggleMenu())},this.toggleMenu=()=>{this.setState(e=>({isOpen:!e.isOpen}))},this.listenForClose=e=>{this.state.isOpen&&("Escape"===e.key||27===e.keyCode)&&this.handleClose()},this.handleTriggerClick=()=>{this.toggleMenu()},this.handleTriggerFocusReturn=()=>(this.triggerRef&&this.triggerRef.current&&this.triggerRef.current.focus(),!1),this.state={isOpen:void 0===e.isOpen?!!e.isOpenByDefault:!!e.isOpen},this.triggerRef=c.default.createRef()}componentDidMount(){window.addEventListener("keydown",this.listenForClose)}componentDidUpdate(e,t){let{onStateChange:n}=this.props;n&&t.isOpen!==this.state.isOpen&&n(this.state)}componentWillUnmount(){window.removeEventListener("keydown",this.listenForClose)}renderHeader(){let e,{styles:t,innerId:n,header:o,title:r,titleIcon:u}=this.props;return o?e=(0,i.jsx)("div",{className:t.customHeader,id:"offcanvas-nav-header-"+n,children:o}):(r||u)&&(e=(0,i.jsxs)("div",{className:t.header,id:"offcanvas-nav-header-"+n,children:[u&&(0,i.jsx)("span",{className:(0,l.default)(u,t.titleIcon)}),r&&(0,i.jsx)("div",{className:t.title,children:r})]})),e}renderFooter(){if(this.props.footer)return(0,i.jsx)("div",{className:this.props.styles.footer,children:this.props.footer})}renderBody(){let{children:e,closeOnItemClick:t}=this.props;return t?c.default.Children.map(e,(e,t)=>c.default.isValidElement(e)?c.default.cloneElement(e,{key:t,onClick:this.handleItem
1Click}):null):e}render(){var e;let{innerId:t,styles:n,noOverlay:o,side:r,closerIcon:u,triggerIcon:a,triggerRenderer:s,customCloser:c,theme:d,triggerLabel:f,triggerProps:m,keepMounted:v,autoFocus:p}=this.props,{isOpen:h}=this.state,g=null;o||(g=(0,i.jsx)("div",{className:n.overlay,onClick:this.handleOverlayClose}));let y=null;return n.svg&&(y=(0,i.jsx)("div",{className:n.svgShape,children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none",children:(0,i.jsx)("path",{d:null==(e=n.svg)?void 0:e.pathInitial})})})),(0,i.jsxs)("div",{className:(0,l.default)(n.root,d,n[`theme-${d}`],{[n["is-open"]]:h,[n["has-overlay"]]:!o,[n["is-"+r]]:r,[n["is-active"]]:!0}),children:[g,(0,i.jsx)(e9,{returnFocus:this.handleTriggerFocusReturn,autoFocus:p,disabled:!h,group:"offcanvas-content-"+t,children:(0,i.jsxs)("div",{id:"content-wrap-"+t,className:n.contentWrap,children:[y,(0,i.jsxs)("div",{className:n.contentInner,children:[h||v?this.renderHeader():null,h||v?(0,i.jsx)("nav",{className:n.nav,"aria-labelledby":"offcanvas-nav-header-"+t,children:this.renderBody()}):null,h||v?this.renderFooter():null]}),(h||v)&&(c?(0,i.jsx)("div",{className:n.customCloser,onClick:this.handleClose,children:c}):(0,i.jsx)(tu,{styles:n.closer,onClick:this.handleClose,icon:u}))]})}),s?s(()=>this.toggleMenu(),h,this.triggerRef):(0,i.jsx)(tn,{styles:n.trigger,onClick:this.handleTriggerClick,triggerIcon:a,triggerLabel:f,ref:this.triggerRef,...m})]})}}ta.defaultProps={id:"",innerId:"",styles:{},noOverlay:!1,onStateChange:()=>{},outerContainerId:"",pageWrapId:"",width:300,theme:"light",closeOnItemClick:!1,autoFocus:!0};let ts=(0,a.applyStylingHoc)({})(ta),tc=(0,u.forwardRef)(function(e,t){let{side:n="left",enabled:o=!0,addBodyClassOnOpen:r=!0,openedBodyClass:a="has-offcanvas",styles:s={},children:c,...l}=e,d=(0,u.useRef)(null),f=(0,u.useId)(),m=e.outerContainerId||"outer-container-"+f;(0,u.useImperativeHandle)(t,()=>({handleToggleMenu:()=>{var e;return null==(e=d.current)?void 0:e.toggleMenu()}}),[]),(0,u.useEffect)(()=>()=>{r&&window.document.body&&window.document.body.classList.contains(a)&&window.document.body.classList.remove(a)},[r,a]);let v=(0,u.useCallback)(({isOpen:t})=>{let{onExit:n,onExited:o,onEnter:i,onEntered:u}=e;t?(r&&window.document.body&&window.document.body.classList.add(a),i&&i(),u&&u()):(r&&window.document.body&&window.document.body.classList.remove(a),n&&n(),o&&o())},[r,a,e]);return(0,i.jsx)("div",{className:s.root,id:m,children:o&&(0,i.jsx)(ts,{...l,side:n,ref:d,outerContainerId:m,innerId:f,onStateChange:v,styles:s.content,children:c})})}),tl=(0,u.memo)(tc),td=(0,a.applyStylingHoc)(s.default)(tl);e.s(["default",0,td],739889)}]);

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.