PageSourceSearch

https://uh.app/snapshot-assets/desktop/v9905/_next/static/chunks/17529-ca9e06e4da3ce3a6.js

js uh.app collected 2026-10-06 15:02:53 UTC 22,715 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17529],{88146:function(e,t,r){r.d(t,{default:function(){return o.a}});var n=r(16340),o=r.n(n)},27624:function(e,t,r){r.d(t,{sJ:function(){return I}});var n,o,i=r(7653),s=r(3458);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return f(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e){var t=(0,i.useRef)(null);return function(r){r&&r!==t.current&&(t.current=r,e(r))}}var h="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function g(e){return parseFloat(e.replace("px",""))}function v(e,t,r){return e<t?t:e>r?r:e}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r,n=p(t);!(r=n()).done;){var o=r.value;o&&("function"==typeof o?o(e):o.current=e)}}}function y(e){return"react-laag: Could not find a valid reference for the "+e+" element. There might be 2 causes:\n   - Make sure that the 'ref' is set correctly on the "+e+' element when isOpen: true. Also make sure your component forwards the ref with "forwardRef()".\n   - Make sure that you are actually rendering the '+e+" when the isOpen prop is set to true"}var b=(0,i.createContext)({});function w(e){var t=e.children,r=e.registrations,n=(0,i.useCallback)(function(e){return r.current.add(e),function(){return r.current.delete(e)}},[r]);return(0,i.createElement)(b.Provider,{value:n},t)}var C={top:"bottom",left:"right",bottom:"top",right:"left",center:"center"},O=function(){function e(e,t,r,n,o,i,s,a,u){this.prop=void 0,this.opposite=void 0,this.isHorizontal=void 0,this.sizeProp=void 0,this.oppositeSizeProp=void 0,this.cssProp=void 0,this.oppositeCssProp=void 0,this.isCenter=void 0,this.isPush=void 0,this.prop=e,this.opposite=t,this.isHorizontal=r,this.sizeProp=n,this.oppositeSizeProp=o,this.cssProp=i,this.oppositeCssProp=s,this.isCenter=a,this.isPush=u}var t=e.prototype;return t.factor=function(e){return e*(this.isPush?1:-1)},t.isOppositeDirection=function(e){return this.isHorizontal!==e.isHorizontal},e}();function S(e,t){void 0===t&&(t=!0);var r=["left","right"].includes(e);return new O(e,t?S(C[e],!1):null,r,r?"width":"height",r?"height":"width",r?"left":"top",r?"top":"left","center"===e,!["right","bottom"].includes(e))}var E={top:S("top"),bottom:S("bottom"),left:S("left"),right:S("right")},P=l({},E,{center:S("center")}),B=["top","left","bottom","right"],j=function(){function e(e){return this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,Object.assign(this,e)}return e.mergeSmallestSides=function(t){var r=t[0],n=t.slice(1);if(!r)throw Error("Please provide at least 1 bounds objects in order to merge");for(var o,i=Object.fromEntries(B.map(function(e){return[e,r[e]]})),s=p(n);!(o=s()).done;)for(var a,u=o.value,l=p(B);!(a=l()).done;){var c=a.value;i[c]=Math.min(i[c],u[c])}return new e(i)},u(e,[{key:"allSidesArePositive",get:function(){var e=this;return B.every(function(t){return e[t]>=0})}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(B.filter(function(t){return e[t]<0}).map(function(t){return[t,e[t]]}))}}]),e}();function k(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return e+(t?g(t):0)},0)}
1function H(e){return{top:e.top,left:e.left,right:e.right,bottom:e.bottom,width:e.width,height:e.height}}var L={top:0,left:0,right:0,bottom:0,width:0,height:0},R=function(){function e(e){return void 0===e&&(e={}),this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,this.width=void 0,this.height=void 0,Object.assign(this,L,e)}e.create=function(t){return new e(t)},e.fromElement=function(t,r){void 0===r&&(r={});var n=r,o=n.withTransform,i=n.environment,s=void 0===i?window:i,a=n.withScrollbars,u=new e(H(t.getBoundingClientRect()));if(!(void 0===o||o)){var c=s.getComputedStyle(t),f=c.width,p=c.height,d=c.boxSizing,h=c.borderLeft,v=c.borderRight,m=c.borderTop,y=c.borderBottom,b=c.paddingLeft,w=c.paddingRight,C=c.paddingTop,O=c.paddingBottom,S="border-box"===d?g(f):k(f,h,v,b,w),E="border-box"===d?g(p):k(p,m,y,C,O);u=new e(l({},u,{width:S,height:E}))}if(!(void 0===a||a)){var P=u.width-t.clientWidth,B=u.height-t.clientHeight;return u.substract({right:P,bottom:B})}return u},e.empty=function(){return new e},e.fromWindow=function(t){var r,n=null!=(r=null==t?void 0:t.document.scrollingElement)?r:null==t?void 0:t.document.documentElement,o=null!=n?n:{},i=o.clientWidth,s=void 0===i?0:i,a=o.clientHeight,u=void 0===a?0:a;return new e({width:s,height:u,right:s,bottom:u})};var t=e.prototype;return t.toObject=function(){return H(this)},t.merge=function(t){var r=this.toObject();return new e(l({},r,"function"==typeof t?t(r):t))},t.substract=function(t){for(var r=this.toObject(),n=Object.entries(t),o=0;o<n.length;o++){var i=n[o],s=i[0],a=i[1];if(s in E){var u=E[s];r[s]+=u.factor(a),r[u.isHorizontal?"width":"height"]-=a}else r[s]-=a||0}return new e(r)},t.offsetsTo=function(e){return new j({top:e.top-this.top,bottom:this.bottom-e.bottom,left:e.left-this.left,right:this.right-e.right})},t.mapSides=function(t){for(var r=this.toObject(),n=Object.values(E),o=0;o<n.length;o++){var i=n[o];r[i.prop]=t(i,r[i.prop])}return new e(r)},u(e,[{key:"surface",get:function(){return this.width*this.height}}]),e}(),T=function(){function e(e,t,r,n,o){this.primary=void 0,this.secondary=void 0,this.offsets=void 0,this.subjectsBounds=void 0,this._cachedLayerBounds=null,this._cachedContainerOffsets=null,this.primary=e,this.secondary=t,this.offsets=o,this.setSubjectsBounds(r,n)}var t=e.prototype;return t.setSubjectsBounds=function(e,t){if(!t){this.subjectsBounds=e;return}var r="function"==typeof t?t(this.primary.prop):t;this.subjectsBounds=e.merge({layer:l({},e.layer,r)})},t.getLayerBounds=function(e){if(void 0===e&&(e=0),this._cachedLayerBounds&&0===e)return this._cachedLayerBounds;var t=this.primary,r=this.secondary,n=this.subjectsBounds,o=n.trigger,i=n.layer,s=n.arrow,a=t.isHorizontal,u=t.oppositeCssProp,l=t.oppositeSizeProp,c=t.prop,f=t.opposite,p=R.empty();p[f.prop]=o[c]-t.factor(this.offsets.trigger),p[c]=p[f.prop]-t.factor(i[t.sizeProp]);var d=2*this.offsets.arrow,h=o[u]-(i[l]-s[l])+d,g=o[u]+(o[l]-s[l])-d;if(r.isPush||(h+=i[l],g+=i[l]),r.isCenter){var m=(a?E.top:E.left).prop,y=(a?E.bottom:E.right).prop;p[m]=v(o[m]+o[l]/2-i[l]/2+e,h,g),p[y]=p[m]+i[l]}else{var b=o[r.prop],w=b<h?h-b:b>g?g-b:0;p[r.prop]=v(b+e+w,h,g),p[r.opposite.prop]=p[r.prop]+r.factor(i[l])}p.width=p.right-p.left,p.height=p.bottom-p.top;var C=R.create(p);return 0===e&&(this._cachedLayerBounds=C),C},t.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides(function(t,r){return r-t.factor(e)}).merge(function(t){return{width:t.width+2*e,height:t.height+2*e}})},t.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),r=j.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=r),r},u(e,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,r=t.triggerHasBiggerWidth,n=t.triggerHasBiggerHeight;return e&&r||!e&&n}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var r in t)t[r]=-t[r];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,r=this;return(null!=(e=null==(t=Object.entries(this.getContainerOffsets().negativeSides).map(function(e){var t=e[0],r=e[1];return[E[t],r]}).filter(function(e){var t=e[0];return r.primary.isOppositeDirection(t)}).sort(function(e,t){var r=e[1];return t[1]-r}))?void 0:t[0])?e:[])[0]||null}}]),e}(),z=function(e){function t(){return e.apply(this,arguments)||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e),t.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,r=e.layer,n=R.empty();return n.top=t.top+t.height/2-r.height/2,n.bottom=n.top+r.height,n.left=t.left+t.width/2-r.width/2,n.right=n.left+r.width,n.width=n.right-n.left,n.height=n.bottom-n.top,n},t}(T),A={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},_=function(){function e(e,t,r){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=r}e.getSidesFromPlacementType=function(e){var t,r=e.split("-"),n=r[0],o=r[1],i=E[n];return t="center"===o?P.center:i.isHorizontal?"start"===o?P.top:P.bottom:"start"===o?P.left:P.right,[i,t]},e.create=function(t,r){var n={arrow:r.arrowOffset,container:r.containerOffset,trigger:r.triggerOffset};function o(o){void 0===o&&(o=r.placement);var i=e.getSidesFromPlacementType(o),s=i[0],a=i[1],u=E[s.isHorizontal?r.preferY:r.preferX],l=!s.isHorizontal&&t.triggerHasBiggerWidth||s.isHorizontal&&t.triggerHasBiggerHeight;function c(e,o){return new T(e,o,t,r.layerDimensions,n)}var f=[];return f[0]=c(s,a),f[1]=c(s,a.isCenter?u:P.center),f[2]=c(s,P[(a.opposite.isCenter?u.opposite:a.opposite).prop]),f[3]=c(u,l?s:P[s.opposite.prop]),f[4]=c(u,P.center),f[5]=c(u,l?P[s.opposite.prop]:s),f[6]=c(E[u.opposite.prop],l?s:P[s.opposite.prop]),f[7]=c(E[u.opposite.prop],P.center),f[8]=c(E[u.opposite.prop],l?P[s.opposite.prop]:s),f[9]=c(E[s.opposite.prop],a),f[10]=c(E[s.opposite.prop],a.isCenter?u:P.center),f[11]=c(E[s.opposite.prop],P[(a.opposite.isCenter?u.opposite:a.opposite).prop]),f=f.filter(function(e){return e.type===r.placement||r.possiblePlacements.includes(e.type)})}return"center"===r.placement?new e([new z(P.center,P.center,t,r.layerDimensions,n)].concat(o(r.preferY+"-"+r.preferX)),r,t):new e(o(),r,t)};var t=e.prototype;return t.filterPlacementsBySide=function(e){return this.placements.filter(function(t){return t.primary===e})},t.findFirstPlacementThatFits=function(){return this.placements.find(function(e){return e.fitsContainer})},t.placementWithBiggestVisibleSurface=function(){return this.placements.map(function(e){return{placement:e,surface:e.visibleSurface}}).sort(function(e,t){return t.surface-e.surface})[0].placement},t.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},t.getSecondaryOffset=function(e){var t,r=this.config,n=r.auto,o=r.snap;if(!n||o||e instanceof z)return 0;var i=this.filterPlacementsBySide(e.primary);if(0===i.indexOf(e)&&e.fitsContainer)return 0;var s=i.find(function(e){return!e.fitsContainer});if(!s)return 0;var a=s.secondaryOffsetSide;if(!a)return 0;var u=e.getContainerOffsets(),l=e.secondary;return t=e.triggerIsBigger||s===e?a.isPush?-1:1:l===P.left||[P.top,P.center].includes(l)&&a.isPush?-1:1,u[a.prop]*t},t.getStyles=function(e,t,r,n){var o={willChange:"top, left, width, height"};return{arrow:function(e,t,r){if(t.primary.isCenter)return A;var n,o,i,s,a,u,c,f,p,d,h=e.layer,g=e.trigger,m=e.arrow,y=t.primary.oppositeSizeProp,b=g[y]>h[y],w=r+m[y]/2,C=h[y]-m[y]/2-r,O=(n=e.layer,o=e.trigger,i=e.arrow,s=t.primary.oppositeSizeProp,u=(a=t.primary.isHorizontal?["top","bottom"]:["left","right"])[0],c=a[1],((f=n[u]+n[s]/2-o[u]-i[s]/2-r)<0?-f:0)+((p=n[c]-n[s]/2-o[c]+i[s]/2+r)>0?-p:0)),S=t.primary.prop,E=t.primary.oppositeCssProp,P=b?h[y]/2+O:g[E]+g[y]/2-h[E];return l({},A,((d={})[S]="100%",d[E]=v(P,w,C),d))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset),layer:this.config.overflowContainer?l({}
1,o,{position:"fixed",top:e.top,left:e.left}):l({},o,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+r.top-n.top,left:e.left-this.subjectsBounds.parent.left+r.left-n.left})}},t.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,r=j.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(r.negativeSides).some(function(e){var r=e[0];return e[1]<=-t[E[r].sizeProp]})?"full":r.allSidesArePositive?null:"partial"},t.result=function(e,t){var r=this.findSuitablePlacement(),n=this.getSecondaryOffset(r),o=r.getLayerBounds(n);return{styles:this.getStyles(o,r,e,t),layerSide:r.primary.prop,placement:r,layerBounds:o,hasDisappeared:this.getHasDisappeared(o)}},e}(),x=function(){function e(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}e.create=function(t,r,n,o,i,s,a,u){var l=R.fromWindow(t);return new e({layer:R.fromElement(r,{environment:t,withTransform:!1}),trigger:u?R.create(H(u())):R.fromElement(n),arrow:i?R.fromElement(i):R.empty(),parent:o?R.fromElement(o):l,window:l,scrollContainers:[l].concat(s.map(function(e){return R.fromElement(e,{withScrollbars:!1})}))},a)};var t=e.prototype;return t.merge=function(t){return new e(l({},this,t),this.overflowContainer)},t.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map(function(t){return t.offsetsTo(e)})},u(e,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),e}(),D={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0};function I(e){var t,r,n,o,a,u,c,f,v,C,O,S,E,P,B,j,k,H,L,R,T,z,A,I,M,Y,F,N,X,G,V,J,U,$,q,K,Q,Z,ee=e.isOpen,et=void 0!==ee&&ee,er=e.overflowContainer,en=void 0===er?D.overflowContainer:er,eo=e.environment,ei=void 0===eo?"undefined"!=typeof window?window:void 0:eo,es=e.ResizeObserver,ea=e.placement,eu=void 0===ea?D.placement:ea,el=e.possiblePlacements,ec=void 0===el?D.possiblePlacements:el,ef=e.preferX,ep=void 0===ef?D.preferX:ef,ed=e.preferY,eh=void 0===ed?D.preferY:ed,eg=e.auto,ev=void 0===eg?D.auto:eg,em=e.snap,ey=void 0===em?D.snap:em,eb=e.triggerOffset,ew=void 0===eb?D.triggerOffset:eb,eC=e.containerOffset,eO=void 0===eC?D.containerOffset:eC,eS=e.arrowOffset,eE=void 0===eS?D.arrowOffset:eS,eP=e.container,eB=void 0===eP?D.container:eP,ej=e.layerDimensions,ek=void 0===ej?null:ej,eH=e.onDisappear,eL=e.onOutsideClick,eR=e.onParentClose,eT=e.trigger,ez=(0,i.useState)(function(){return{layerSide:"center"===eu?"center":_.getSidesFromPlacementType(eu)[0].prop,styles:{layer:{position:en?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}}),eA=ez[0],e_=ez[1],ex=(0,i.useRef)(null),eD=(t=(0,i.useRef)(eA),et?t.current=eA:t.current=null,t),eI=(0,i.useRef)({cancelled:!1});(0,i.useEffect)(function(){return function(){eI.current.cancelled=!0}},[]);var eW=(0,i.useCallback)(function(e,t,r){var n=e.arrow,o=e.layer,i=e.scrollContainers,s=e.trigger,a=i[0],u=x.create(ei,o,s,a,n,i,en,null==eT?void 0:eT.getBounds),l=_.create(u,{placement:eu,possiblePlacements:ec,auto:ev,layerDimensions:ek,arrowOffset:eE,containerOffset:eO,triggerOffset:ew,preferX:ep,preferY:eh,snap:ey,overflowContainer:en}).result(t,r),c=l.hasDisappeared,f={layerSide:l.layerSide,styles:l.styles};if(!eD.current||function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var r=0,n=["position","top","left","right","bottom"];r<n.length;r++){var o=n[r];if(e.styles.layer[o]!==t.styles.layer[o]||e.styles.arrow[o]!==t.styles.arrow[o])return!0}return!1}(eD.current,f)){eD.current=f,eI.current.cancelled=!0;var p={cancelled:!1};eI.current=p,Promise.resolve().then(function(){p.cancelled||e_(f)})}null!=c&&null!=eH&&eH(c)},[eE,ev,eO,ei,ek,eH,en,eu,ec,ep,eh,ey,ew,eD,eT]),eM=(n=(r={ResizeObserverPolyfill:es,environment:ei,enabled:et,overflowContainer:en,onChange:eW,triggerOption:eT}).enabled,o=r.onChange,a=r.environment,u=r.ResizeObserverPolyfill,c=r.overflowContainer,f=r.triggerOption,v=function(e,t){if(void 0!==e)return t||e.ResizeObserver}(a,u),(0,i.useEffect)(function(){}
1,[v]),C=(0,i.useRef)(null),O=!!f,B=(S={scrollContainers:[],trigger:null,layer:null},E=(0,i.useRef)(S),P=(0,i.useMemo)(function(){return[function(){return E.current},function(e){"function"==typeof e?E.current=e(E.current):E.current=e}]},[]))[0],j=P[1],L=(k=(0,i.useRef)([]),H=(0,i.useMemo)(function(){return{hasEventSubscriptions:function(){return k.current.length>0},removeAllEventSubscriptions:function(){for(var e,t=p(k.current);!(e=t()).done;)(0,e.value)();k.current=[]},addEventSubscription:function(e){k.current.push(e)}}},[])).hasEventSubscriptions,R=H.addEventSubscription,T=H.removeAllEventSubscriptions,z=(0,i.useCallback)(function(){var e=B(),t=e.layer,r=e.trigger,n=e.scrollContainers,i=n[0];if(!t)throw Error(y("layer"));if(!r&&!O)throw Error(y("trigger"));var s={top:0,left:0};if(i){var u=i.scrollLeft;s={top:i.scrollTop,left:u}}else{var l=a.scrollX;s={top:a.scrollY,left:l}}var c={left:0,top:0};if(i){var f=a.getComputedStyle(i),p=f.borderLeftWidth,d=f.borderTopWidth;c={left:g(p)||0,top:g(d)||0}}o({layer:t,trigger:r,scrollContainers:n,arrow:C.current},s,c)},[B,o,a,C,O]),A=(0,i.useCallback)(function(){var e=B(),t=e.trigger,r=e.layer,n=e.scrollContainers;if(!r)throw Error(y("layer"));if(!t&&!O)throw Error(y("trigger"));if(v){for(var o=!1,i=new v(function(){if(!o){o=!0;return}z()}),s=0,u=[t,r,document.body];s<u.length;s++){var l=u[s];l&&i.observe(l)}R(function(){for(var e=0,n=[t,r,document.body];e<n.length;e++){var o=n[e];o&&i.unobserve(o)}i.disconnect()})}for(var c,f=[a].concat(n),d=p(f);!(c=d()).done;)!function(){var e=c.value;e.addEventListener("scroll",z),R(function(){return e.removeEventListener("scroll",z)})}()},[B,R,z,a,v,O]),I=(0,i.useCallback)(function(e,t){n&&e&&e!==t&&(T(),A(),z())},[T,A,z,n]),M=d((0,i.useCallback)(function(e){var t=B().layer;j(function(t){return l({},t,{layer:e})}),I(t,e)},[B,j,I])),Y=(0,i.useCallback)(function(e){var t=function e(t,r){var n=[];if(!t||!r||t===document.body)return n;var o=r.getComputedStyle(t);return[o.overflow,o.overflowX,o.overflowY].some(function(e){return["auto","scroll"].includes(e)})&&n.push(t),[].concat(n,e(t.parentElement,r))}(e,a),r=t[0];return r&&!(["relative","absolute","fixed"].includes(a.getComputedStyle(r).position)||c)&&(r.style.position="relative"),t},[a,c]),F=d((0,i.useCallback)(function(e){var t=Y(e),r=B().trigger;j(function(r){return l({},r,{trigger:e,scrollContainers:t})}),I(r,e)},[B,j,I,Y])),h(function(){N&&j(function(e){return l({},e,{scrollContainers:Y(N)})})},[N=null==f?void 0:null==f.getParent?void 0:f.getParent(),j,Y]),h(function(){return n&&!L()&&A(),function(){L()&&T()}},[n,L,A,T]),h(function(){n&&z()}),{triggerRef:F,layerRef:M,arrowRef:C,closestScrollContainer:B().scrollContainers[0]||null}),eY=eM.triggerRef,eF=eM.layerRef,eN=eM.arrowRef,eX=eM.closestScrollContainer,eG=(G=(X={isOpen:et,onOutsideClick:eL,onParentClose:eR}).isOpen,V=X.onOutsideClick,J=X.onParentClose,U=(0,i.useRef)(null),$=(0,i.useRef)(null),q=(0,i.useRef)(new Set),K=(0,i.useContext)(b),Q=(0,i.useCallback)(function(e){var t=e.target,r=U.current&&U.current.contains(t),n=$.current&&$.current.contains(t),o=function(e,t){for(var r,n=p(e);!(r=n()).done;)if(!(0,r.value.shouldCloseWhenClickedOutside)(t))return!1;return!0}(q.current,e);return n&&o&&q.current.forEach(function(e){return(0,e.closeChild)()}),!r&&!n&&o},[U,$,q]),(0,i.useEffect)(function(){if("function"==typeof K)return K({shouldCloseWhenClickedOutside:Q,closeChild:function(){J&&J()}})},[K,Q,J,q]),(0,i.useEffect)(function(){var e="function"==typeof K;if(G&&V&&!e)return document.addEventListener("click",t,!0),function(){return document.removeEventListener("click",t,!0)};function t(e){Q(e)&&V()}},[G,V,Q,K]),(0,i.useEffect)(function(){G||q.current.forEach(function(e){return(0,e.closeChild)()})},[G]),{closeOnOutsideClickRefs:{trigger:U,layer:$},registrations:q}),eV=eG.closeOnOutsideClickRefs,eJ=eG.registrations;return{triggerProps:eT?{}:{ref:m(eY,eV.trigger,ex)},layerProps:{ref:m(eF,eV.layer),style:eA.styles.layer},arrowProps:{ref:eN,style:eA.styles.arrow,layerSide:eA.layerSide},layerSide:eA.layerSide,triggerBounds:et?eT?eT.getBounds():null==(Z=ex.current)?void 0:Z.getBoundingClientRect():null,renderLayer:function(e){return"undefined"!=typeof document?(0,s.createPortal)((0,i.createElement)(w,{registrations:eJ,children:e}),en||!eX?function(e){var t;if("function"==typeof e){if(!(t=e())||!(t instanceof HTMLElement))throw Error("react-laag: You've passed a function to the 'container' prop, but it returned no valid HTMLElement")}else if(e instanceof HTMLElement)t=e;else if("string"==typeof e){if(!(t=document.getElementById(e)))throw Error("react-laag: You've passed element with id '"+e+"' to the 'container' prop, but it returned no valid HTMLElement")}else HTMLElement,(t=document.getElementById(W))||((t=document.createElement("div")).id=W,t.style.cssText="\n        position: absolute;\n        top: 0px;\n        left: 0px;\n        right: 0px;\n      ",document.body.appendChild(t));return t}(eB):eX):null}}}var W="layers";(n=o||(o={}))[n.ENTERING=0]="ENTERING",n[n.LEAVING=1]="LEAVING",n[n.IDLE=2]="IDLE"}}]);

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.