PageSourceSearch

https://geomi.dev/_next/static/chunks/1040-3b01468fd44f5300.js

js geomi.dev collected 2026-10-09 22:42:45 UTC 13,763 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1040],{17320:(t,e,i)=>{i.d(e,{o:()=>f});var s=i(40834),a=Object.defineProperty,o=(t,e,i)=>((t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i)(t,"symbol"!=typeof e?e+"":e,i),n={activateTrap(t,e){if(t.length>0){let i=t[t.length-1];i!==e&&i.pause()}let i=t.indexOf(e);-1===i||t.splice(i,1),t.push(e)},deactivateTrap(t,e){let i=t.indexOf(e);-1!==i&&t.splice(i,1),t.length>0&&t[t.length-1].unpause()}},r=[],l=class{constructor(t,e){o(this,"trapStack"),o(this,"config"),o(this,"doc"),o(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),o(this,"listenerCleanups",[]),o(this,"handleFocus",t=>{let e=(0,s.wt)(t),i=this.findContainerIndex(e,t)>=0;if(i||(0,s.wz)(e))i&&(this.state.mostRecentlyFocusedNode=e);else{let e;t.stopImmediatePropagation();let i=!0;if(this.state.mostRecentlyFocusedNode)if((0,s.yT)(this.state.mostRecentlyFocusedNode)>0){let t=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:s}=this.state.containerGroups[t];if(s.length>0){let t=s.findIndex(t=>t===this.state.mostRecentlyFocusedNode);t>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?t+1<s.length&&(e=s[t+1],i=!1):t-1>=0&&(e=s[t-1],i=!1))}}else this.state.containerGroups.some(t=>t.tabbableNodes.some(t=>(0,s.yT)(t)>0))||(i=!1);else i=!1;i&&(e=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),e?this.tryFocus(e):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),o(this,"handlePointerDown",t=>{let e=(0,s.wt)(t);if(!(this.findContainerIndex(e,t)>=0)){if(u(this.config.clickOutsideDeactivates,t))return void this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});u(this.config.allowOutsideClick,t)||t.preventDefault()}}),o(this,"handleClick",t=>{let e=(0,s.wt)(t);!(this.findContainerIndex(e,t)>=0||u(this.config.clickOutsideDeactivates,t))&&(u(this.config.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation()))}),o(this,"handleTabKey",t=>{if(this.config.isKeyForward(t)||this.config.isKeyBackward(t)){this.state.recentNavEvent=t;let e=this.config.isKeyBackward(t),i=this.findNextNavNode({event:t,isBackward:e});i&&(c(t)&&t.preventDefault(),this.tryFocus(i))}}),o(this,"handleEscapeKey",t=>{d(t)&&!1!==u(this.config.escapeDeactivates,t)&&(t.preventDefault(),this.deactivate())}),o(this,"_mutationObserver"),o(this,"setupMutationObserver",()=>{let t=this.doc.defaultView||window;this._mutationObserver=new t.MutationObserver(t=>{t.some(t=>Array.from(t.removedNodes).some(t=>t===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),o(this,"updateObservedNodes",()=>{var t;null==(t=this._mutationObserver)||t.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(t=>{var e;null==(e=this._mutationObserver)||e.observe(t,{subtree:!0,childList:!0})})}),o(this,"getInitialFocusNode",()=>{let t=this.getNodeForOption("initialFocus",{hasFallback:!0});if(!1===t)return!1;if(void 0===t||t&&!(0,s.tp)(t))if(this.findContainerIndex(this.doc.activeElement)>=0)t=this.doc.activeElement;else{let e=this.state.tabbableGroups[0];t=e&&e.firstTabbableNode||this.getNodeForOption("fallbackFocus")}else null===t&&(t=this.getNodeForOption("fallbackFocus"));if(!t)throw Error("Your focus-trap needs to have at least one focusable element");return t.isConnected||(t=this.getNodeForOption("fallbackFocus")),t}),o(this,"tryFocus",t=>{if(!1!==t&&t!==(0,s.bq)(this.doc)){if(!t||!t.focus)return void this.tryFocus(this.getInitialFocusNode());t.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=t,p(t)&&t.select()}}),o(this,"deactivate",t=>{if(!this.state.active)return this;let e={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...t};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),n.deactivateTrap(this.trapStack,this);let i=this.getOption(e,"onDeactivate"),s=this.getOption(e,"onPostDeactivate"),a=this.getOption(e,"checkCanReturnFocus"),o=this.getOption(e,"returnFocus","returnFocusOnDeactivate");null==i||i();let r=()=>{h(()=>
1{if(o){let t=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(t)}null==s||s()})};return o&&a?a(this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation)).then(r,r):r(),this}),o(this,"pause",t=>{if(this.state.paused||!this.state.active)return this;let e=this.getOption(t,"onPause"),i=this.getOption(t,"onPostPause");return this.state.paused=!0,null==e||e(),this.removeListeners(),this.updateObservedNodes(),null==i||i(),this}),o(this,"unpause",t=>{if(!this.state.paused||!this.state.active)return this;let e=this.getOption(t,"onUnpause"),i=this.getOption(t,"onPostUnpause");return this.state.paused=!1,null==e||e(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),null==i||i(),this}),o(this,"updateContainerElements",t=>(this.state.containers=Array.isArray(t)?t.filter(Boolean):[t].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),o(this,"getReturnFocusNode",t=>{let e=this.getNodeForOption("setReturnFocus",{params:[t]});return e||!1!==e&&t}),o(this,"getOption",(t,e,i)=>t&&void 0!==t[e]?t[e]:this.config[i||e]),o(this,"getNodeForOption",(t,{hasFallback:e=!1,params:i=[]}={})=>{let s=this.config[t];if("function"==typeof s&&(s=s(...i)),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error(`\`${t}\` was specified but was not a node, or did not return a node`)}let a=s;if("string"==typeof s){try{a=this.doc.querySelector(s)}catch(e){throw Error(`\`${t}\` appears to be an invalid selector; error="${e.message}"`)}if(!a&&!e)throw Error(`\`${t}\` as selector refers to no known node`)}return a}),o(this,"findNextNavNode",t=>{let{event:e,isBackward:i=!1}=t,a=t.target||(0,s.wt)(e);this.updateTabbableNodes();let o=null;if(this.state.tabbableGroups.length>0){let t=this.findContainerIndex(a,e),n=t>=0?this.state.containerGroups[t]:void 0;if(t<0)o=i?this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:this.state.tabbableGroups[0].firstTabbableNode;else if(i){let i=this.state.tabbableGroups.findIndex(({firstTabbableNode:t})=>a===t);if(i<0&&((null==n?void 0:n.container)===a||(0,s.tp)(a)&&!(0,s.AO)(a)&&!(null==n?void 0:n.nextTabbableNode(a,!1)))&&(i=t),i>=0){let t=0===i?this.state.tabbableGroups.length-1:i-1,e=this.state.tabbableGroups[t];o=(0,s.yT)(a)>=0?e.lastTabbableNode:e.lastDomTabbableNode}else c(e)||(o=null==n?void 0:n.nextTabbableNode(a,!1))}else{let i=this.state.tabbableGroups.findIndex(({lastTabbableNode:t})=>a===t);if(i<0&&((null==n?void 0:n.container)===a||(0,s.tp)(a)&&!(0,s.AO)(a)&&!(null==n?void 0:n.nextTabbableNode(a)))&&(i=t),i>=0){let t=i===this.state.tabbableGroups.length-1?0:i+1,e=this.state.tabbableGroups[t];o=(0,s.yT)(a)>=0?e.firstTabbableNode:e.firstDomTabbableNode}else c(e)||(o=null==n?void 0:n.nextTabbableNode(a))}}else o=this.getNodeForOption("fallbackFocus");return o}),this.trapStack=e.trapStack||r;let i={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:t=>c(t)&&!t.shiftKey,isKeyBackward:t=>c(t)&&t.shiftKey,...e};this.doc=i.document||(0,s.YE)(Array.isArray(t)?t[0]:t),this.config=i,this.updateContainerElements(t),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(t,e){let i="function"==typeof(null==e?void 0:e.composedPath)?e.composedPath():void 0;return this.state.containerGroups.findIndex(({container:e,tabbableNodes:s})=>e.contains(t)||(null==i?void 0:i.includes(e))||s.find(e=>e===t))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(t=>{let e=(0,s.j9)(t),i=(0,s.i7)(t),a=e.length>0?e[0]:void 0,o=e.length>0?e[e.length-1]:void 0,n=i.find(t=>(0,s.AO)(t)),r=i.slice().reverse().find(t=>(0,s.AO)(t)),l=!!e.find(t=>(0,s.yT)(t)>0);return{container:t,tabbableNodes:e,focusableNodes:i,posTabIndexesFound:l,firstTabbableNode:a,lastTabbableNode:o,firstDomTabbableNode:n,lastDomTabbableNode:r,nextTabbableNode:function(t,a=!0){let o=e.indexOf(t);return o<0?a?i.slice(i.indexOf(t)+1).find(t=>(0,s.AO)(t)):i.slice(0,i.indexOf(t)).reverse().find(t=>(0,s.AO)(t)):e[o+(a?1:-1)]}}}),this.state.tabbableGroups=this.state.containerGroups.filter(t=>t.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(t=>t.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.")}
1addListeners(){if(this.state.active)return n.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?h(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push((0,s.kn)(this.doc,"focusin",this.handleFocus,!0),(0,s.kn)(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),(0,s.kn)(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),(0,s.kn)(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),(0,s.kn)(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),(0,s.kn)(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(t=>t()),this.listenerCleanups=[],this}activate(t){if(this.state.active)return this;let e=this.getOption(t,"onActivate"),i=this.getOption(t,"onPostActivate"),s=this.getOption(t,"checkCanFocusTrap");s||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=this.doc.activeElement||null,null==e||e();let a=()=>{s&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),null==i||i()};return s?s(this.state.containers.concat()).then(a,a):a(),this}},c=t=>"Tab"===t.key,u=(t,...e)=>"function"==typeof t?t(...e):t,d=t=>!t.isComposing&&"Escape"===t.key,h=t=>setTimeout(t,0),p=t=>"input"===t.localName&&"select"in t&&"function"==typeof t.select;function f(t,e={}){let i,a=(0,s.er)(()=>{let a="function"==typeof t?t():t;if(a){i=new l(a,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:a,...e,document:(0,s.YE)(a)});try{i.activate()}catch{}}});return function(){null==i||i.deactivate(),a()}}},17324:(t,e,i)=>{i.d(e,{k:()=>n});var s=i(40834),a="data-scroll-lock";function o(t,e){if(!t)return;let i=Object.keys(e).reduce((e,i)=>(e[i]=t.style.getPropertyValue(i),e),{});return Object.assign(t.style,e),()=>{Object.assign(t.style,i)}}function n(t){let e=t??document,i=e.defaultView??window,{documentElement:n,body:r}=e;if(r.hasAttribute(a))return;r.setAttribute(a,"");let l=i.innerWidth-n.clientWidth,c=Math.round(n.getBoundingClientRect().left)+n.scrollLeft?"paddingLeft":"paddingRight",u=[function(t,e,i){if(!t)return;let s=t.style.getPropertyValue(e);return t.style.setProperty(e,i),()=>{s?t.style.setProperty(e,s):t.style.removeProperty(e)}}(n,"--scrollbar-width",`${l}px`),(0,s.aR)()?(()=>
1{let{scrollX:t,scrollY:e,visualViewport:s}=i,a=(null==s?void 0:s.offsetLeft)??0,n=(null==s?void 0:s.offsetTop)??0,u=o(r,{position:"fixed",overflow:"hidden",top:`${-(e-Math.floor(n))}px`,left:`${-(t-Math.floor(a))}px`,right:"0",[c]:`${l}px`});return()=>{null==u||u(),i.scrollTo({left:t,top:e,behavior:"instant"})}})():o(r,{overflow:"hidden",[c]:`${l}px`})];return()=>{u.forEach(t=>null==t?void 0:t()),r.removeAttribute(a)}}},30512:(t,e,i)=>{i.d(e,{M:()=>c});var s=new WeakMap,a=new WeakMap,o={},n=0,r=t=>t&&(t.host||r(t.parentNode)),l=t=>(Array.isArray(t)?t[0]:t).ownerDocument.body;function c(t,e={}){let{defer:i=!0}=e,u=[];return u.push((i?t=>{let e=requestAnimationFrame(()=>t());return()=>cancelAnimationFrame(e)}:t=>t())(()=>{let e=("function"==typeof t?t():t).filter(Boolean);0!==e.length&&u.push(((t,e=l(t),i="data-aria-hidden")=>{if(e)return((t,e)=>{let i,{parentNode:l,markerName:c,controlAttribute:u}=e,d=(i=l,(Array.isArray(t)?t:[t]).map(t=>{if(i.contains(t))return t;let e=r(t);return e&&i.contains(e)?e:(console.error("[zag-js > ariaHidden] target",t,"in not contained inside",i,". Doing nothing"),null)}).filter(t=>!!t));o[c]||(o[c]=new WeakMap);let h=o[c],p=[],f=new Set,b=new Set(d),v=t=>{!t||f.has(t)||(f.add(t),v(t.parentNode))};d.forEach(v);let g=t=>{!t||b.has(t)||Array.prototype.forEach.call(t.children,t=>{if(f.has(t))g(t);else try{let e;if(e=t,"next-route-announcer"===e.localName||"script"===e.localName||e.hasAttribute("aria-live")||e.matches("[data-live-announcer]"))return;let i=t.getAttribute(u),o="true"===i,n=(s.get(t)||0)+1,r=(h.get(t)||0)+1;s.set(t,n),h.set(t,r),p.push(t),1===n&&o&&a.set(t,!0),1===r&&t.setAttribute(c,""),o||t.setAttribute(u,"true")}catch(e){console.error("[zag-js > ariaHidden] cannot operate on ",t,e)}})};return g(l),f.clear(),n++,()=>{p.forEach(t=>{let e=s.get(t)-1,i=h.get(t)-1;s.set(t,e),h.set(t,i),e||(a.has(t)||t.removeAttribute(u),a.delete(t)),i||t.removeAttribute(c)}),--n||(s=new WeakMap,s=new WeakMap,a=new WeakMap,o={})}})(t,{parentNode:e,markerName:i,controlAttribute:"aria-hidden"})})(e))})),()=>{u.forEach(t=>null==t?void 0:t())}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.