PageSourceSearch

https://kdfeddersen-stiftung.de/_next/static/chunks/2ynqjqwy3ep--.js

js kdfeddersen-stiftung.de collected 2026-10-06 15:24:15 UTC 26,579 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,228667,e=>{"use strict";var t=e.i(643148),i=e.i(8845),s=e.i(588450);e.s(["CustomImage",0,({src:e,focalPoint:o,style:a,preloadAvif:r=!1,...n})=>{let l,d=e;if(o&&"string"==typeof e&&e.includes("a.storyblok.com")){let t=new URL(e);t.searchParams.set("focal",o),d=t.href}let c="string"==typeof d&&d.endsWith(".svg"),u=!a?.objectPosition&&o&&"string"==typeof e?function(e,t){let i;if(!e||"string"!=typeof t)return;let s=(i=t.match(/\/(\d+)x(\d+)\//))?{width:Number(i[1]),height:Number(i[2])}:null;if(!s)return;let o=e.match(/^(\d+)x(\d+):(\d+)x(\d+)$/);if(!o)return;let[,a,r,n,l]=o,d=Number(a),c=Number(r),u=Number(n),p=Number(l),h=(d+u)/2/s.width*100,g=(c+p)/2/s.height*100;return`${h.toFixed(2)}% ${g.toFixed(2)}%`}(o,e):void 0,p={...a,...u?{objectPosition:u}:{}};if("string"!=typeof d||c||!d.includes("a.storyblok.com"))return(0,t.jsx)(i.default,{src:d,unoptimized:c,style:p,...n});let h={...n,src:d,style:p},{props:g}=(0,i.getImageProps)({...h,src:((l=new URL(d)).searchParams.set("fmt","avif"),l.href)}),{props:{alt:f,...b}}=(0,i.getImageProps)(h);return r&&(0,s.preload)(g.src,{as:"image",type:"image/avif",imageSrcSet:g.srcSet,imageSizes:g.sizes,fetchPriority:"high"}),(0,t.jsxs)("picture",{style:{display:"contents"},children:[(0,t.jsx)("source",{type:"image/avif",srcSet:g.srcSet,sizes:g.sizes}),(0,t.jsx)("img",{...b,alt:f})]})}],228667)},58199,e=>{"use strict";let t={page:1202,content:920,md:768,sm:640,lg:1024,xl:1280},i={fullWidth:"100vw",containerPage:`(max-width: ${t.page}px) 100vw, ${t.page}px`,grid3col:"(max-width: 768px) 100vw, (max-width: 992px) 50vw, 400px",grid2col:"(max-width: 768px) 100vw, 600px",halfWidth:"(max-width: 992px) 100vw, 600px",lightbox:"(max-width: 768px) 100vw, 1000px"};e.s(["CONTAINER_SIZES",0,t,"HERO_BG_IMAGE_STYLE",0,{objectFit:"cover",objectPosition:"center",position:"absolute",width:"100%",height:"100%",top:0,left:0,zIndex:10},"IMAGE_SIZES",0,i])},929748,527825,e=>{"use strict";e.s([],655789),e.i(655789);var t=e.i(643148),i=e.i(628979),s=e.i(745217),o=e.i(191582),a=e.i(487756),r=e.i(846429),n=e.i(675439);let[l,d]=(0,e.i(908677).createContext)({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"});e.s(["DialogProvider",0,l,"useDialogContext",0,d],527825);let c=(0,s.forwardRef)((e,s)=>{let l=d(),c=(0,a.useRenderStrategyPropsContext)(),u=(0,n.usePresence)({...c,present:l.open}),p=(0,i.mergeProps)(l.getBackdropProps(),u.getPresenceProps(),e);return u.unmounted?null:(0,t.jsx)(r.ark.div,{...p,ref:(0,o.composeRefs)(u.ref,s)})});c.displayName="DialogBackdrop";let u=(0,s.forwardRef)((e,s)=>{let o=d(),a=(0,i.mergeProps)(o.getCloseTriggerProps(),e);return(0,t.jsx)(r.ark.button,{...a,ref:s})});u.displayName="DialogCloseTrigger";var p=e.i(103146);let h=(0,s.forwardRef)((e,s)=>{let a=d(),n=(0,p.usePresenceContext)(),l=(0,i.mergeProps)(a.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:(0,t.jsx)(r.ark.div,{...l,ref:(0,o.composeRefs)(n.ref,s)})});h.displayName="DialogContent";let g=(0,s.forwardRef)((e,s)=>{let o=d(),a=(0,i.mergeProps)(o.getDescriptionProps(),e);return(0,t.jsx)(r.ark.div,{...a,ref:s})});g.displayName="DialogDescription";let f=(0,s.forwardRef)((e,s)=>{let o=d(),a=(0,i.mergeProps)(o.getPositionerProps(),e);return(0,p.usePresenceContext)().unmounted?null:(0,t.jsx)(r.ark.div,{...a,ref:s})});f.displayName="DialogPositioner";var b=e.i(490479),v=e.i(645812),m=e.i(521944),y=e.i(156078),x=e.i(642403);let O=(0,s.forwardRef)((e,s)=>{let o=d(),a=(0,i.mergeProps)(o.getTitleProps(),e);return(0,t.jsx)(r.ark.h2,{...a,ref:s})});O.displayName="DialogTitle";let P=(0,s.forwardRef)((e,s)=>{let o=d(),a=(0,p.usePresenceContext)(),n=(0,i.mergeProps)({...o.getTriggerProps(),"aria-controls":a.unmounted?void 0:o.getTriggerProps()["aria-controls"]},e);return(0,t.jsx)(r.ark.button,{...n,ref:s})});P.displayName="DialogTrigger",e.s(["Backdrop",0,c,"CloseTrigger",0,u,"Content",0,h,"Context",0,e=>e.children(d()),"Description",0,g,"Positioner",0,f,"Root",0,e=>{let[o,{children:r,...d}]=(0,b.splitPresenceProps)(e),[c]=(0,a.splitRenderStrategyProps)(o),u=(e=>{let t=(0,s.useId)(),{getRootNode:i}=(0,y.useEnvironmentContext)(),{dir:o}=(0,x.useLocaleContext)(),a={id:t,getRootNode:i,dir:o,...e},r=(0,m.useMachine)(v.machine,a);return v.connect(r,m.normalizeProps)})(d),h=(0,n.usePresence)((0,i.mergeProps)({present:u.open},o));return(0,t.jsx)(l,{value:u,children:(0,t.jsx)(a.RenderStrategyPropsProvider,{value:c,children:(0,t.jsx)(p.PresenceProvider,{value:h,children:r})})})},"RootProvider",0,e=>{let[s,{value:o,children:r}]=(0,b.splitPresenceProps)(e),[d]=(0,a.splitRenderStrategyProps)(s),c=(0,n.usePresence)((0,i.mergeProps)({present:o.open},s));return(0,t.jsx)(l,{value:o,children:(0,t.jsx)(a.RenderStrategyPropsProvider,{value:d,children:(0,t.jsx)(p.PresenceProvider,{value:c,children:r})})})},"Title",0,O,"Trigger",0,P],883253);var N=e.i(883253);e.s(["Dialog",0,N],929748)},487756,e=>{"use strict";var t=e.i(908677),i=e.i(895520);let[s,o]=(0,t.createContext)({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"});e.s(["RenderStrategyPropsProvider",0,s,"splitRenderStrategyProps",0,e=>(0,i.createSplitProps)()(e,["lazyMount","unmountOnExit"]),"useRenderStrategyPropsContext",0,o])},361671,e=>{"use strict";var t=e.i(643148),i=e.i(745217),s=e.i(103029);let o=(0,i.forwardRef)(function(e,i){let{direction:o,align:a,justify:r,wrap:n,basis:l,grow:d,shrink:c,inline:u,...p}=e;return(0,t.jsx)(s.chakra.div,{ref:i,...p,css:{display:u?"inline-flex":"flex",flexDirection:o,alignItems:a,justifyContent:r,flexWrap:n,flexBasis:l,flexGrow:d,flexShrink:c,...e.css}})});
1o.displayName="Flex",e.s(["Flex",0,o])},275765,e=>{"use strict";function t(){let e=e=>e;return new Proxy(e,{get:()=>e})}let i=t(),s=t();e.s(["defineAnimationStyles",0,e=>e,"defineConditions",0,e=>e,"defineConfig",0,e=>e,"defineGlobalStyles",0,e=>e,"defineKeyframes",0,e=>e,"defineLayerStyles",0,e=>e,"defineRecipe",0,e=>e,"defineSemanticTokens",0,s,"defineSlotRecipe",0,e=>e,"defineStyle",0,e=>e,"defineTextStyles",0,e=>e,"defineTokens",0,i])},645812,906421,609588,628711,e=>{"use strict";var t=e.i(814885),i=e.i(481093),s=new WeakMap,o=new WeakMap,a={},r=0,n=e=>e&&(e.host||n(e.parentNode)),l=new Set(["script","output","status","next-route-announcer"]),d=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body;function c(e,t={}){let{defer:u=!0}=t,p=[];return p.push((u?e=>{let t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)}:e=>e())(()=>{let t=("function"==typeof e?e():e).filter(Boolean);0!==t.length&&p.push(((e,t=d(e),c="data-aria-hidden",u=!0)=>{if(t)return((e,t)=>{let{parentNode:d,markerName:c,controlAttribute:u,followControlledElements:p=!0}=t,h=(Array.isArray(e)?e:[e]).map(e=>{if(d.contains(e))return e;let t=n(e);return t&&d.contains(t)?t:(console.error("[zag-js > ariaHidden] target",e,"in not contained inside",d,". Doing nothing"),null)}).filter(e=>!!e);a[c]||(a[c]=new WeakMap);let g=a[c],f=[],b=new Set,v=new Set(h),m=e=>{!e||b.has(e)||(b.add(e),m(e.parentNode))};h.forEach(e=>{m(e),p&&(0,i.isHTMLElement)(e)&&(0,i.findControlledElements)(e,e=>{m(e)})});let y=e=>{!e||v.has(e)||Array.prototype.forEach.call(e.children,e=>{if(b.has(e))y(e);else try{if(l.has(e.localName)||"status"===e.role||e.hasAttribute("aria-live")||e.matches("[data-live-announcer]"))return;let t=e.getAttribute(u),i="true"===t,a=(s.get(e)||0)+1,r=(g.get(e)||0)+1;s.set(e,a),g.set(e,r),f.push(e),1===a&&i&&o.set(e,!0),1===r&&e.setAttribute(c,""),i||e.setAttribute(u,"true")}catch(t){console.error("[zag-js > ariaHidden] cannot operate on ",e,t)}})};return y(d),b.clear(),r++,()=>{f.forEach(e=>{let t=s.get(e)-1,i=g.get(e)-1;s.set(e,t),g.set(e,i),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),i||e.removeAttribute(c)}),--r||(s=new WeakMap,s=new WeakMap,o=new WeakMap,a={})}})(e,{parentNode:t,markerName:c,controlAttribute:"aria-hidden",followControlledElements:u})})(t))})),()=>{p.forEach(e=>e?.())}}e.s(["ariaHidden",0,c],906421);var u=e.i(628979),p=e.i(13466),h=Object.defineProperty,g=(e,t,i)=>{let s;return(s="symbol"!=typeof t?t+"":t)in e?h(e,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[s]=i},f={activateTrap(e,t){if(e.length>0){let i=e[e.length-1];i!==t&&i.pause()}let i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},deactivateTrap(e,t){let i=e.indexOf(t);-1!==i&&e.splice(i,1),e.length>0&&e[e.length-1].unpause()}},b=[],v=class{constructor(e,t){g(this,"trapStack"),g(this,"config"),g(this,"doc"),g(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),g(this,"portalContainers",new Set),g(this,"listenerCleanups",[]),g(this,"handleFocus",e=>{let t=(0,i.getEventTarget)(e),s=this.findContainerIndex(t,e)>=0;if(s||(0,i.isDocument)(t))s&&(this.state.mostRecentlyFocusedNode=t);else{let t;e.stopImmediatePropagation();let s=!0;if(this.state.mostRecentlyFocusedNode)if((0,i.getTabIndex)(this.state.mostRecentlyFocusedNode)>0){let e=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:i}=this.state.containerGroups[e];if(i.length>0){let e=i.findIndex(e=>e===this.state.mostRecentlyFocusedNode);e>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?e+1<i.length&&(t=i[e+1],s=!1):e-1>=0&&(t=i[e-1],s=!1))}}else this.state.containerGroups.some(e=>e.tabbableNodes.some(e=>(0,i.getTabIndex)(e)>0))||(s=!1);else s=!1;s&&(t=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),t?this.tryFocus(t):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),g(this,"handlePointerDown",e=>{let t=(0,i.getEventTarget)(e);this.findContainerIndex(t,e)>=0||(O(this.config.clickOutsideDeactivates,e)?this.deactivate({returnFocus:this.config.returnFocusOnDeactivate}):O(this.config.allowOutsideClick,e)||e.preventDefault())}),g(this,"handleClick",e=>{let t=(0,i.getEventTarget)(e);this.findContainerIndex(t,e)>=0||O(this.config.clickOutsideDeactivates,e)||O(this.config.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())}),g(this,"handleTabKey",e=>{if(this.config.isKeyForward(e)||this.config.isKeyBackward(e)){this.state.recentNavEvent=e;let t=this.config.isKeyBackward(e),i=this.findNextNavNode({event:e,isBackward:t});i&&(m(e)&&e.preventDefault(),this.tryFocus(i))}}),g(this,"handleEscapeKey",e=>{P(e)&&!1!==O(this.config.escapeDeactivates,e)&&(e.preventDefault(),this.deactivate())}),g(this,"_mutationObserver"),g(this,"setupMutationObserver",()=>{let e=this.doc.defaultView||window;this._mutationObserver=new e.MutationObserver(e=>{e.some(e=>
1Array.from(e.removedNodes).some(e=>e===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode()),e.some(e=>"attributes"===e.type&&("aria-controls"===e.attributeName||"aria-expanded"===e.attributeName)||"childList"===e.type&&e.addedNodes.length>0&&Array.from(e.addedNodes).some(e=>e.nodeType===Node.ELEMENT_NODE&&(!!(0,i.hasControllerElements)(e)||!(!e.id||this.state.containers.some(t=>t.contains(e)))&&(0,i.isControlledByExpandedController)(e))))&&this.state.active&&!this.state.paused&&(this.updateTabbableNodes(),this.updatePortalContainers())})}),g(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&(this.state.containers.map(e=>{this._mutationObserver?.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-controls","aria-expanded"]})}),this.portalContainers.forEach(e=>{this.observePortalContainer(e)}))}),g(this,"getInitialFocusNode",()=>{let e=this.getNodeForOption("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,i.isFocusable)(e)){let t=(0,i.getActiveElement)(this.doc);if(t&&this.findContainerIndex(t)>=0)e=t;else{let t=this.state.tabbableGroups[0];e=t&&t.firstTabbableNode||this.getNodeForOption("fallbackFocus")}}else null===e&&(e=this.getNodeForOption("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e.isConnected||(e=this.getNodeForOption("fallbackFocus")),e}),g(this,"tryFocus",e=>{if(!1!==e&&e!==(0,i.getActiveElement)(this.doc)){if(!e||!e.focus)return void this.tryFocus(this.getInitialFocusNode());e.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=e,C(e)&&e.select()}}),g(this,"deactivate",e=>{if(!this.state.active)return this;let t={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...e};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),f.deactivateTrap(this.trapStack,this),this.portalContainers.clear();let i=this.getOption(t,"onDeactivate"),s=this.getOption(t,"onPostDeactivate"),o=this.getOption(t,"checkCanReturnFocus"),a=this.getOption(t,"returnFocus","returnFocusOnDeactivate");i?.();let r=()=>{N(()=>{if(a){let e=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(e)}s?.()})};return a&&o?o(this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation)).then(r,r):r(),this}),g(this,"pause",e=>{if(this.state.paused||!this.state.active)return this;let t=this.getOption(e,"onPause"),i=this.getOption(e,"onPostPause");return this.state.paused=!0,t?.(),this.removeListeners(),this.updateObservedNodes(),i?.(),this}),g(this,"unpause",e=>{if(!this.state.paused||!this.state.active)return this;let t=this.getOption(e,"onUnpause"),i=this.getOption(e,"onPostUnpause");return this.state.paused=!1,t?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),i?.(),this}),g(this,"updateContainerElements",e=>(this.state.containers=Array.isArray(e)?e.filter(Boolean):[e].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),g(this,"getReturnFocusNode",e=>{let t=this.getNodeForOption("setReturnFocus",{params:[e]});return t||!1!==t&&e}),g(this,"getOption",(e,t,i)=>e&&void 0!==e[t]?e[t]:this.config[i||t]),g(this,"getNodeForOption",(e,{hasFallback:t=!1,params:i=[]}={})=>{let s=this.config[e];if("function"==typeof s&&(s=s(...i)),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}let o=s;if("string"==typeof s){try{o=this.doc.querySelector(s)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!o&&!t)throw Error(`\`${e}\` as selector refers to no known node`)}return o}),g(this,"findNextNavNode",e=>{let{event:t,isBackward:s=!1}=e,o=e.target||(0,i.getEventTarget)(t);this.updateTabbableNodes();let a=null;if(this.state.tabbableGroups.length>0){let e=this.findContainerIndex(o,t),r=e>=0?this.state.containerGroups[e]:void 0;if(e<0)a=s?this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:this.state.tabbableGroups[0].firstTabbableNode;else if(s){let s=this.state.tabbableGroups.findIndex(({firstTabbableNode:e})=>o===e);if(s<0&&(r?.container===o||(0,i.isFocusable)(o)&&!(0,i.isTabbable)(o)&&!r?.nextTabbableNode(o,!1))&&(s=e),s>=0){let e=0===s?this.state.tabbableGroups.length-1:s-1,t=this.state.tabbableGroups[e];a=(0,i.getTabIndex)(o)>=0?t.lastTabbableNode:t.lastDomTabbableNode}else m(t)||(a=r?.nextTabbableNode(o,!1))}else{let s=this.state.tabbableGroups.findIndex(({lastTabbableNode:e})=>o===e);if(s<0&&(r?.container===o||(0,i.isFocusable)(o)&&!(0,i.isTabbable)(o)&&!r?.nextTabbableNode(o))&&(s=e),s>=0){let e=s===this.state.tabbableGroups.length-1?0:s+1,t=this.state.tabbableGroups[e];a=(0,i.getTabIndex)(o)>=0?t.firstTabbableNode:t.firstDomTabbableNode}else m(t)||(a=r?.nextTabbableNode(o))}}else a=this.getNodeForOption("fallbackFocus");return a}),this.trapStack=t.trapStack||b;const s={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,followControlledElements:!0,isKeyForward:y,isKeyBackward:x,...t};this.doc=s.document||(0,i.getDocument)(Array.isArray(e)?e[0]:e),this.config=s,this.updateContainerElements(e),this.setupMutationObserver()}addPortalContainer(e){let t=e.parentElement;t&&!this.portalContainers.has(t)&&(this.portalContainers.add(t),this.state.active&&!this.state.paused&&this.observePortalContainer(t))}observePortalContainer(e){this._mutationObserver?.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-controls","aria-expanded"]})}updatePortalContainers(){this.config.followControlledElements&&this.state.containers.forEac
1h(e=>{(0,i.getControlledElements)(e).forEach(e=>{this.addPortalContainer(e)})})}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){let i="function"==typeof t?.composedPath?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:t,tabbableNodes:s})=>t.contains(e)||i?.includes(t)||s.find(t=>t===e)||this.isControlledElement(t,e))}isControlledElement(e,t){return!!this.config.followControlledElements&&(0,i.isControlledElement)(e,t)}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{let t=(0,i.getTabbables)(e,{getShadowRoot:this.config.getShadowRoot}),s=(0,i.getFocusables)(e,{getShadowRoot:this.config.getShadowRoot}),o=t[0],a=t[t.length-1],r=!1;for(let e=0;e<t.length;e++)if((0,i.getTabIndex)(t[e])>0){r=!0;break}return{container:e,tabbableNodes:t,focusableNodes:s,posTabIndexesFound:r,firstTabbableNode:o,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:a,nextTabbableNode:function(e,o=!0){let a=t.indexOf(e);if(a>=0)return t[a+(o?1:-1)];let r=s.indexOf(e);if(!(r<0)){if(o){for(let e=r+1;e<s.length;e++)if((0,i.isTabbable)(s[e]))return s[e]}else for(let e=r-1;e>=0;e--)if((0,i.isTabbable)(s[e]))return s[e]}}}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return f.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?N(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push((0,i.addDomEvent)(this.doc,"focusin",this.handleFocus,!0),(0,i.addDomEvent)(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),(0,i.addDomEvent)(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),(0,i.addDomEvent)(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),(0,i.addDomEvent)(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),(0,i.addDomEvent)(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;let t=this.getOption(e,"onActivate"),s=this.getOption(e,"onPostActivate"),o=this.getOption(e,"checkCanFocusTrap");o||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=(0,i.getActiveElement)(this.doc),t?.();let a=()=>{o&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),s?.()};return o?o(this.state.containers.concat()).then(a,a):a(),this}},m=e=>"keydown"===e.type&&e?.key==="Tab",y=e=>"keydown"===e.type&&"Tab"===e.key&&!e?.shiftKey,x=e=>"keydown"===e.type&&"Tab"===e.key&&e?.shiftKey,O=(e,...t)=>"function"==typeof e?e(...t):e,P=e=>!e.isComposing&&"Escape"===e.key,N=e=>setTimeout(e,0),C=e=>"input"===e.localName&&"select"in e&&"function"==typeof e.select;function F(e,t={}){let s,o=(0,i.raf)(()=>{let o=(Array.isArray(e)?e:[e]).map(e=>"function"==typeof e?e():e).filter(e=>null!=e);if(0===o.length)return;let a=o[0];s=new v(o,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:a,...t,document:(0,i.getDocument)(a)});try{s.activate()}catch{}});return function(){s?.deactivate(),o()}}e.s(["trapFocus",0,F],609588);var E="data-scroll-lock";function w(e){let t=(0,i.getComputedStyle)(e),s=t?.scrollbarGutter;return"stable"===s||s?.startsWith("stable ")===!0}function T(e){let t,s=e??document,o=s.defaultView??window,{documentElement:a,body:r}=s;if(r.hasAttribute(E))return;let n=w(a)||w(r),l=o.innerWidth-a.clientWidth;r.setAttribute(E,"");let d=Math.round(a.getBoundingClientRect().left)+a.scrollLeft?"paddingLeft":"paddingRight",c=[(0,i.setStyleProperty)(a,"--scrollbar-width",`${l}px`),(0,i.isIos)()?(()=>
1{let{scrollX:e,scrollY:t,visualViewport:s}=o,a=s?.offsetLeft??0,c=s?.offsetTop??0,u={position:"fixed",overflow:"hidden",top:`${-(t-Math.floor(c))}px`,left:`${-(e-Math.floor(a))}px`,right:"0"};!n&&l>0&&(u[d]=`${l}px`);let p=(0,i.setStyle)(r,u);return()=>{p?.(),o.scrollTo({left:e,top:t,behavior:"instant"})}})():(t={overflow:"hidden"},!n&&l>0&&(t[d]=`${l}px`),(0,i.setStyle)(r,t))];return()=>{c.forEach(e=>e?.()),r.removeAttribute(E)}}e.s(["preventBodyScroll",0,T],628711);var k=e.i(972633),D=e.i(233616),S=(0,t.createAnatomy)("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),R=S.build(),I=e=>e.ids?.positioner??`dialog:${e.id}:positioner`,A=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,L=e=>e.ids?.content??`dialog:${e.id}:content`,G=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,B=e=>e.ids?.title??`dialog:${e.id}:title`,j=e=>e.ids?.description??`dialog:${e.id}:description`,$=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,M=e=>e.getById(L(e)),K=(0,u.createMachine)({props({props:e,scope:t}){let i="alertdialog"===e.role,s=i?()=>t.getById($(t)):void 0,o="boolean"!=typeof e.modal||e.modal;return{role:"dialog",modal:o,trapFocus:o,preventScroll:o,closeOnInteractOutside:!i,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:s,...e}},initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"closed",context:({bindable:e})=>({rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}),watch({track:e,action:t,prop:i}){e([()=>i("open")],()=>{t(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>void 0!=e("open")},effects:{trackDismissableElement:({scope:e,send:t,prop:i})=>(0,p.trackDismissableElement)(()=>M(e),{type:"dialog",defer:!0,pointerBlocking:i("modal"),exclude:[e.getById(G(e))],onInteractOutside(e){i("onInteractOutside")?.(e),i("closeOnInteractOutside")||e.preventDefault()},persistentElements:i("persistentElements"),onFocusOutside:i("onFocusOutside"),onPointerDownOutside:i("onPointerDownOutside"),onRequestDismiss:i("onRequestDismiss"),onEscapeKeyDown(e){i("onEscapeKeyDown")?.(e),i("closeOnEscape")||e.preventDefault()},onDismiss(){t({type:"CLOSE",src:"interact-outside"})}}),preventScroll({scope:e,prop:t}){if(t("preventScroll"))return T(e.getDoc())},trapFocus({scope:e,prop:t}){if(t("trapFocus"))return F(()=>M(e),{preventScroll:!0,returnFocusOnDeactivate:!!t("restoreFocus"),initialFocus:t("initialFocusEl"),setReturnFocus:e=>t("finalFocusEl")?.()??e,getShadowRoot:!0})},hideContentBelow({scope:e,prop:t}){if(t("modal"))return c(()=>[M(e)],{defer:!0})}},actions:{checkRenderedElements({context:e,scope:t}){(0,i.raf)(()=>{e.set("rendered",{title:!!t.getById(B(t)),description:!!t.getById(j(t))})})},syncZIndex({scope:e}){(0,i.raf)(()=>{let t=M(e);if(!t)return;let s=(0,i.getComputedStyle)(t);[e.getById(I(e)),e.getById(A(e))].forEach(e=>{e?.style.setProperty("--z-index",s.zIndex),e?.style.setProperty("--layer-index",s.getPropertyValue("--layer-index"))})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:t,event:i}){t({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:i})}}}}),W=(0,k.createProps)()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDism
1iss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);(0,D.createSplitProps)(W),e.s(["anatomy",0,S,"connect",0,function(e,t){let{state:i,send:s,context:o,prop:a,scope:r}=e,n=a("aria-label"),l=i.matches("open");return{open:l,setOpen(e){i.matches("open")!==e&&s({type:e?"OPEN":"CLOSE"})},getTriggerProps:()=>t.button({...R.trigger.attrs,dir:a("dir"),id:G(r),"aria-haspopup":"dialog",type:"button","aria-expanded":l,"data-state":l?"open":"closed","aria-controls":L(r),onClick(e){e.defaultPrevented||s({type:"TOGGLE"})}}),getBackdropProps:()=>t.element({...R.backdrop.attrs,dir:a("dir"),hidden:!l,id:A(r),"data-state":l?"open":"closed"}),getPositionerProps:()=>t.element({...R.positioner.attrs,dir:a("dir"),id:I(r),style:{pointerEvents:l?void 0:"none"}}),getContentProps(){let e=o.get("rendered");return t.element({...R.content.attrs,dir:a("dir"),role:a("role"),hidden:!l,id:L(r),tabIndex:-1,"data-state":l?"open":"closed","aria-modal":!0,"aria-label":n||void 0,"aria-labelledby":n||!e.title?void 0:B(r),"aria-describedby":e.description?j(r):void 0})},getTitleProps:()=>t.element({...R.title.attrs,dir:a("dir"),id:B(r)}),getDescriptionProps:()=>t.element({...R.description.attrs,dir:a("dir"),id:j(r)}),getCloseTriggerProps:()=>t.button({...R.closeTrigger.attrs,dir:a("dir"),id:$(r),type:"button",onClick(e){e.defaultPrevented||(e.stopPropagation(),s({type:"CLOSE"}))}})}},"machine",0,K],645812)}]);

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.