PageSourceSearch

https://book.danhostelcopenhagencity.dk/_next/static/chunks/2-crpbp-xsm1l.js

js danhostelcopenhagencity.dk collected 2026-10-03 21:19:55 UTC 26,671 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,303536,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,a=null;function i(){t.useEffect(()=>{a||(a={start:c(),end:c()});let{start:e,end:t}=a;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(a?.start.remove(),a?.end.remove(),a=null),o=Math.max(0,o-1)}},[])}function c(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}r(function(e){return i(),e.children},"FocusGuards"),r(i,"useFocusGuards"),r(c,"createFocusGuard"),e.s(["useFocusGuards",0,i])},765491,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(248425),o=e.i(30207),a=e.i(843476),i=Object.defineProperty,c=(e,t)=>i(e,"name",{value:t,configurable:!0}),u="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=t.forwardRef(c(function(e,i){let{loop:d=!1,trapped:h=!1,onMountAutoFocus:m,onUnmountAutoFocus:b,...w}=e,[E,x]=t.useState(null),k=(0,o.useCallbackRef)(m),P=(0,o.useCallbackRef)(b),S=t.useRef(null),R=(0,n.useComposedRefs)(i,x),A=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(h){let e=function(e){if(A.paused||!E)return;let t=e.target;E.contains(t)?S.current=t:g(S.current,{select:!0})},t=function(e){if(A.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||g(S.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&g(E)};c(e,"handleFocusIn"),c(t,"handleFocusOut"),c(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return E&&r.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[h,E,A.paused]),t.useEffect(()=>{if(E){y.add(A);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(u,s);E.addEventListener(u,k),E.dispatchEvent(t),t.defaultPrevented||(f(C(v(E)),{select:!0}),document.activeElement===e&&g(E))}return()=>{E.removeEventListener(u,k),setTimeout(()=>{let t=new CustomEvent(l,s);E.addEventListener(l,P),E.dispatchEvent(t),t.defaultPrevented||g(e??document.body,{select:!0}),E.removeEventListener(l,P),y.remove(A)},0)}}},[E,k,P,A]);let T=t.useCallback(e=>{if(!d&&!h||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=p(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&g(o,{select:!0})):(e.preventDefault(),d&&g(r,{select:!0})):n===t&&e.preventDefault()}},[d,h,A.paused]);return(0,a.jsx)(r.Primitive.div,{tabIndex:-1,...w,ref:R,onKeyDown:T})},"FocusScope"));function f(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(g(r,{select:t}),document.activeElement!==n)return}function p(e){let t=v(e);return[h(t,e),h(t.reverse(),e)]}function v(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):m(r,{upTo:t})))return r}function m(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function b(e){return e instanceof HTMLInputElement&&"select"in e}function g(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&b(e)&&t&&e.select()}}c(f,"focusFirst"),c(p,"getTabbableEdges"),c(v,"getTabbableCandidates"),c(h,"f
1indVisible"),c(m,"isHidden"),c(b,"isSelectableInput"),c(g,"focus");var y=w();function w(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=E(e,t)).unshift(t)},remove(t){e=E(e,t),e[0]?.resume()}}}function E(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function C(e){return e.filter(e=>"A"!==e.tagName)}c(w,"createFocusScopesStack"),c(E,"arrayRemove"),c(C,"removeLinks"),e.s(["FocusScope",0,d])},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,c,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[c]||(r[c]=new WeakMap);var s=r[c],d=[],f=new Set,p=new Set(l),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};l.forEach(v);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(u),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(s.get(e)||0)+1;t.set(e,a),s.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(c,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=s.get(e)-1;t.set(e,r),s.set(e,o),r||(n.has(e)||e.removeAttribute(u),n.delete(e)),o||e.removeAttribute(c)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),i(r,o,n,"aria-hidden")):function(){return null}}])},985369,e=>{"use strict";var t,n,r,o,a,i,c,u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var s=("function"==typeof SuppressedError&&SuppressedError,e.i(271645)),d="right-scroll-bar-position",f="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var v="u">typeof window?s.useLayoutEffect:s.useEffect,h=new WeakMap,m=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,a={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=u({async:!0,ssr:!1},t),a),b=function(){},g=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),c=s.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),d=c[0],f=c[1],g=e.forwardProps,y=e.children,w=e.className,E=e.removeScrollBar,C=e.enabled,x=e.shards,k=e.sideCar,P=e.noRelative,S=e.noIsolation,R=e.inert,A=e.allowPinchZoom,T=e.as,j=e.gapMode,F=l(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[i,t],r=function(e){return n.forEach(function(t){return p(t,e)})}
1,(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,v(function(){var e=h.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}h.set(a,n)},[n]),a),O=u(u({},F),d);return s.createElement(s.Fragment,null,C&&s.createElement(k,{sideCar:m,removeScrollBar:E,shards:x,noRelative:P,noIsolation:S,inert:R,setCallbacks:f,allowPinchZoom:!!A,lockRef:i,gapMode:j}),g?s.cloneElement(s.Children.only(y),u(u({},O),{ref:N})):s.createElement(void 0===T?"div":T,u({},O,{className:w,ref:N}),y))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:f,zeroRight:d};var y=function(e){var t=e.sideCar,n=l(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,u({},n))};y.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E=function(){var e=w();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=E();return function(t){return e(t.styles,t.dynamic),null}},x={left:0,top:0,right:0,gap:0},k=function(e){return parseInt(e||"",10)||0},P=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[k(n),k(r),k(o)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return x;var t=P(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},R=C(),A="data-scroll-locked",T=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(A,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(f," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(A,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},j=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},F=function(){s.useEffect(function(){return document.body.setAttribute(A,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;F();var a=s.useMemo(function(){return S(o)},[o]);return s.createElement(R,{styles:T(a,!t,o,n?"":"!important")})},O=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){O=!1}var L=!!O&&{passive:!1},_=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),D(e,r)){var o=B(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},D=function(e,t){return"v"===e?_(t,"overflowY"):_(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},H=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,u=n.target,l=t.contains(u),s=!1,d=c>0,f=0,p=0;
1do{if(!u)break;var v=B(e,u),h=v[0],m=v[1]-v[2]-i*h;(h||m)&&D(e,u)&&(f+=m,p+=h);var b=u.parentNode;u=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&u!==document.body||l&&(t.contains(u)||t===u))return d&&(o&&1>Math.abs(f)||!o&&c>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(s=!0),s},W=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},X=function(e){return e&&"current"in e?e.current:e},G=0,z=[];let U=(i=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(G++)[0],a=s.useState(C)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(X),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=W(e),c=n.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=I(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=I(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var h=r.current||o;return H(h,t,e,"h"===h?u:l,!0)},[]),u=s.useCallback(function(e){if(z.length&&z[z.length-1]===a){var n="deltaY"in e?K(e):W(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(X).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=s.useCallback(function(e){n.current=W(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,K(t),t.target,c(t,e.lockRef.current))},[]),p=s.useCallback(function(t){l(t.type,W(t),t.target,c(t,e.lockRef.current))},[]);s.useEffect(function(){return z.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,L),document.addEventListener("touchmove",u,L),document.addEventListener("touchstart",d,L),function(){z=z.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,L),document.removeEventListener("touchmove",u,L),document.removeEventListener("touchstart",d,L)}},[]);var v=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?s.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},m.useMedium(i),y);var Y=s.forwardRef(function(e,t){return s.createElement(g,u({},e,{ref:t,sideCar:U}))});Y.classNames=g.classNames,e.s(["RemoveScroll",0,Y],985369)},977293,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),o=e.i(981140),a=e.i(820783),i=e.i(30030),c=e.i(726330),u=e.i(303536),l=e.i(765491),s=e.i(610772),d=e.i(853660),f=e.i(774606),p=e.i(296626),v=e.i(248425),h=e.i(991918),m=e.i(369340),b=e.i(186312),g=e.i(985369),y=Object.defineProperty,w=(e,t)=>y(e,"name",{value:t,configurable:!0}),E="Popover",[C,x]=(0,i.createContextScope)(E,[d.createPopperScope]),k=(0,d.createPopperScope)(),[P,S]=C(E),R=w(e=>{let{__scopePopover:n,children:o,open:a,defaultOpen:i,onOpenChange:c,modal:u=!1}=e,l=k(n),f=r.useRef(null),[p,v]=r.useState(!1),[h,b]=(0,m.useControllableState)({prop:a,defaultProp:i??!1,onChange:c,caller:E});return(0,t.jsx)(d.Root,{...l,children:(0,t.jsx)(P,{scope:n,contentId:(0,s.useId)(),triggerRef:f,open:h,onOpenChange:b,onOpenToggle:r.useCallback(()=>b(e=>!e),[b]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>v(!0),[]),onCustomAnchorRemove:r.useCallback(()=>v(!1),[]),modal:u,children:o})})},"Popover"),A=r.forwardRef(w(function(e,n){let{__scopePopover:r,...i}=e,c=S("PopoverTrigger",r),u=k(r),l=(0,a.useComposedRefs)(n,c.triggerRef),s=(0,t.jsx)(v.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.open?c.c
1ontentId:void 0,"data-state":W(c.open),...i,ref:l,onClick:(0,o.composeEventHandlers)(e.onClick,c.onOpenToggle)});return c.hasCustomAnchor?s:(0,t.jsx)(d.Anchor,{asChild:!0,...u,children:s})},"PopoverTrigger")),T="PopoverPortal",[j,F]=C(T,{forceMount:void 0}),N=w(e=>{let{__scopePopover:n,forceMount:r,children:o,container:a}=e,i=S(T,n);return(0,t.jsx)(j,{scope:n,forceMount:r,children:(0,t.jsx)(p.Presence,{present:r||i.open,children:(0,t.jsx)(f.Portal,{asChild:!0,container:a,children:o})})})},"PopoverPortal"),O="PopoverContent",M=r.forwardRef(w(function(e,n){let r=F(O,e.__scopePopover),{forceMount:o=r.forceMount,...a}=e,i=S(O,e.__scopePopover);return(0,t.jsx)(p.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(_,{...a,ref:n}):(0,t.jsx)(I,{...a,ref:n})})},"PopoverContent")),L=(0,h.createSlot)("PopoverContent.RemoveScroll"),_=r.forwardRef(w(function(e,n){let i=S(O,e.__scopePopover),c=r.useRef(null),u=(0,a.useComposedRefs)(n,c),l=r.useRef(!1);return r.useEffect(()=>{let e=c.current;if(e)return(0,b.hideOthers)(e)},[]),(0,t.jsx)(g.RemoveScroll,{as:L,allowPinchZoom:!0,children:(0,t.jsx)(D,{...e,ref:u,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||i.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;l.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),I=r.forwardRef(w(function(e,n){let o=S(O,e.__scopePopover),a=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(D,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||o.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"PopoverContentNonModal")),D=r.forwardRef(w(function(e,n){let{__scopePopover:r,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:v,onInteractOutside:h,...m}=e,b=S(O,r),g=k(r);return(0,u.useFocusGuards)(),(0,t.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,t.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:h,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:v,onDismiss:()=>b.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,t.jsx)(d.Content,{"data-state":W(b.open),role:"dialog",id:b.contentId,...g,...m,ref:n,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl")),B=r.forwardRef(w(function(e,n){let{__scopePopover:r,...a}=e,i=S("PopoverClose",r);return(0,t.jsx)(v.Primitive.button,{type:"button",...a,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})},"PopoverClose")),H=r.forwardRef(w(function(e,n){let{__scopePopover:r,...o}=e,a=k(r);return(0,t.jsx)(d.Arrow,{...a,...o,ref:n})},"PopoverArrow"));function W(e){return e?"open":"closed"}w(W,"getState");var K=e.i(605458),X=e.i(811488),G=e.i(698357),z=e.i(92145),U=e.i(66768),Y=e.i(58840),V=e.i(589121);let Z=e=>{let r,o,a,i=(0,n.c)(6);return i[0]!==e?({children:r,...o}=e,i[0]=e,i[1]=r,i[2]=o):(r=i[1],o=i[2]),i[3]!==r||i[4]!==o?(a=(0,t.jsx)(R,{...o,children:r}),i[3]=r,i[4]=o,i[5]=a):a=i[5],a};Z.displayName=R.displayName;let $=r.forwardRef((e,r)=>{let o,a,i,c=(0,n.c)(7);return c[0]!==e?({children:o,...a}=e,c[0]=e,c[1]=o,c[2]=a):(o=c[1],a=c[2]),c[3]!==o||c[4]!==a||c[5]!==r?(i=(0,t.jsx)(A,{ref:r,...a,children:o}),c[3]=o,c[4]=a,c[5]=r,c[6]=i):i=c[6],i});
1$.displayName=A.displayName;let q=r.forwardRef((e,r)=>{let o,a,i,c,u,l,s,d,f,p,v,h,m,b,g,y,w,E,C,x,k,P,S,R,A=(0,n.c)(54);A[0]!==e?({className:a,align:b,sideOffset:g,dropdownHeight:l,children:o,noCloseButton:f,withoutPortal:w,style:m,noScrollbar:p,isAlert:s,isTooltip:d,withArrow:y,closeButtonDisabled:i,closeButtonTooltip:c,closeButtonTooltipOpen:u,onCloseButtonTooltipChange:v,...h}=e,A[0]=e,A[1]=o,A[2]=a,A[3]=i,A[4]=c,A[5]=u,A[6]=l,A[7]=s,A[8]=d,A[9]=f,A[10]=p,A[11]=v,A[12]=h,A[13]=m,A[14]=b,A[15]=g,A[16]=y,A[17]=w):(o=A[1],a=A[2],i=A[3],c=A[4],u=A[5],l=A[6],s=A[7],d=A[8],f=A[9],p=A[10],v=A[11],h=A[12],m=A[13],b=A[14],g=A[15],y=A[16],w=A[17]);let T=void 0===b?"center":b,j=void 0===g?4:g,F=(0,U.useTheme)(),O=(0,Y.useAccommodationTranslations)();A[18]!==F.css.frameworkBackground?(E=(0,z.hexToHSLA)(F.css.frameworkBackground,40,.5),A[18]=F.css.frameworkBackground,A[19]=E):E=A[19];let L=E,_=p?"bv:no-scrollbar":"bv:custom-scrollbar",I=d&&"bv:border-0 bv:px-[12px] bv:py-[10px] bv:text-bv_bodyFontSize",D=s&&"bv:bg-[indianred] bv:text-white bv:px-[12px] bv:py-[10px]";A[20]!==a||A[21]!==_||A[22]!==I||A[23]!==D?(C=(0,K.cn)("bv-ibe bv:relative bv:z-9999999999999 bv:text-bv_popoutColor","bv:data-[state=open]:animate-in bv:data-[state=closed]:animate-out bv:data-[state=closed]:fade-out-0 bv:data-[state=open]:fade-in-0 bv:data-[state=closed]:zoom-out-95","bv:data-[state=open]:zoom-in-95 bv:data-[side=bottom]:slide-in-from-top-2 bv:data-[side=left]:slide-in-from-right-2 bv:data-[side=right]:slide-in-from-left-2 bv:data-[side=top]:slide-in-from-bottom-2","bv:rounded-bv_popoutRoundedCorners bv:bg-bv_popoutBackground bv:font-bv_bodyFontFamily bv:text-bv_bodyFontSize bv:font-bv_bodyFontWeight bv:leading-bv_bodyLineHeight",_,I,D,"bv:focus-within:outline-hidden",a),A[20]=a,A[21]=_,A[22]=I,A[23]=D,A[24]=C):C=A[24];let W=`0 1px 4px ${L.isDark?L.color:"rgba(0,0,0,.5)"}`;A[25]!==l||A[26]!==m||A[27]!==W?(x={maxHeight:l,boxShadow:W,...m},A[25]=l,A[26]=m,A[27]=W,A[28]=x):x=A[28],A[29]!==L.color||A[30]!==L.isDark||A[31]!==y?(k=y&&(0,t.jsx)(H,{className:"bv:fill-bv_popoutBackground",style:{filter:`drop-shadow(0 1px 2px ${L.isDark?L.color:"rgba(0,0,0,.2)"})`}}),A[29]=L.color,A[30]=L.isDark,A[31]=y,A[32]=k):k=A[32],A[33]!==i||A[34]!==c||A[35]!==u||A[36]!==f||A[37]!==v||A[38]!==F.css.popoutBackground||A[39]!==F.css.popoutColor||A[40]!==O?(P=!f&&(i?(0,t.jsx)(V.TooltipProvider,{delayDuration:0,children:(0,t.jsxs)(V.TooltipRoot,{open:u,onOpenChange:e=>{e||v?.(!1)},children:[(0,t.jsx)(V.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",onClick:()=>v?.(!0),style:{display:"grid",placeContent:"center",height:"30px",width:"30px",borderRadius:"100%",position:"absolute",top:"-16px",right:"-16px",padding:0,background:`${(0,z.hexToHSLA)(F.css.popoutColor,void 0,.8).color}`,border:0,cursor:"pointer"},className:"bv:focus-visible:ring-2","aria-label":O("EA4H.General.Close"),children:(0,t.jsx)(X.FontAwesomeIcon,{icon:G.faXmark,style:{height:"14px",color:F.css.popoutBackground}})})}),(0,t.jsx)(V.TooltipContent,{side:"bottom","aria-live":"assertive",className:"bv:p-[8px]",children:c})]})}):(0,t.jsx)(B,{style:{display:"grid",placeContent:"center",height:"30px",width:"30px",borderRadius:"100%",position:"absolute",top:"-16px",right:"-16px",padding:0,background:`${(0,z.hexToHSLA)(F.css.popoutColor,void 0,.8).color}`,border:0,cursor:"pointer"},className:"bv:focus-visible:ring-2","aria-label":O("EA4H.General.Close"),children:(0,t.jsx)(X.FontAwesomeIcon,{icon:G.faXmark,style:{height:"14px",color:F.css.popoutBackground}})})),A[33]=i,A[34]=c,A[35]=u,A[36]=f,A[37]=v,A[38]=F.css.popoutBackground,A[39]=F.css.popoutColor,A[40]=O,A[41]=P):P=A[41],A[42]!==T||A[43]!==o||A[44]!==h||A[45]!==r||A[46]!==j||A[47]!==k||A[48]!==P||A[49]!==C||A[50]!==x?(S=(0,t.jsxs)(M,{ref:r,align:T,sideOffset:j,className:C,style:x,...h,children:[o,k,P]}),A[42]=T,A[43]=o,A[44]=h,A[45]=r,A[46]=j,A[47]=k,A[48]=P,A[49]=C,A[50]=x,A[51]=S):S=A[51];let Z=S;return w?Z:(A[52]!==Z?(R=(0,t.jsx)(N,{children:Z}),A[52]=Z,A[53]=R):R=A[53],R)});q.displayName="PopoverContent",e.s(["Popover",0,Z,"PopoverClose",0,B,"PopoverContent",0,q,"PopoverTrigger",0,$],977293)}]);

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.