PageSourceSearch

https://uh.app/snapshot-assets/desktop/v9974/_next/static/chunks/63619-f37cb0d4e7881b8c.js

js uh.app collected 2026-10-06 15:01:34 UTC 22,350 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[63619],{31994:function(t,e,r){"use strict";r.d(e,{uO:function(){return tr},xq:function(){return J}});var n,o,i,s,l,a,u,c,h,p,f,g,d=Object.defineProperty,v=Object.defineProperties,m=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,T=(t,e,r)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_=(t,e)=>{for(var r in e||(e={}))w.call(e,r)&&T(t,r,e[r]);if(y)for(var r of y(e))b.call(e,r)&&T(t,r,e[r]);return t},S=(t,e)=>v(t,m(e)),E=(t,e)=>{var r={};for(var n in t)w.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&y)for(var n of y(t))0>e.indexOf(n)&&b.call(t,n)&&(r[n]=t[n]);return r},x=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},L=(t,e,r)=>(x(t,e,"read from private field"),r?r.call(t):e.get(t)),k=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},R=(t,e,r,n)=>(x(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),j=(t,e,r)=>(x(t,e,"access private method"),r),A=(t,e,r)=>new Promise((n,o)=>{var i=t=>{try{l(r.next(t))}catch(t){o(t)}},s=t=>{try{l(r.throw(t))}catch(t){o(t)}},l=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,s);l((r=r.apply(t,e)).next())}),D="https://api.mapbox.com/autofill/v1",M=`${D}/suggest`,O=`${D}/retrieve`,P=class{constructor(t,e){if(isNaN(t)||isNaN(e))throw Error(`Invalid LngLat object: (${t}, ${e})`);if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw Error("Invalid LngLat latitude value: must be between -90 and 90");if(this.lng>180||this.lng<-180)throw Error("Invalid LngLat longitude value: must be between -180 and 180")}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}static convert(t){if(t instanceof P)return new P(t.lng,t.lat);if(Array.isArray(t)&&2===t.length)return new P(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t&&("lng"in t||"lon"in t)&&"lat"in t)return new P(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw Error("`LngLatLike` argument must be specified as an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")}},$=class{constructor(t,e){this._sw=P.convert(t),this._ne=P.convert(e)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new P(this.getWest(),this.getNorth())}getSouthEast(){return new P(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toFlatArray(){return[this._sw.lng,this._sw.lat,this._ne.lng,this._ne.lat]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}static convert(t){if(!t)throw Error("Invalid LngLatBounds convert value: falsy");
1if(t instanceof $)return new $(t.getSouthWest(),t.getNorthEast());if(Array.isArray(t)&&2===t.length)return new $(P.convert(t[0]),P.convert(t[1]));if(Array.isArray(t)&&4===t.length)return new $(P.convert([t[0],t[1]]),P.convert([t[2],t[3]]));throw Error("`LngLatBoundsLike` argument must be specified as an array [<LngLatLike>, <LngLatLike>] or an array [<west>, <south>, <east>, <north>]")}},N=class{constructor(t){this.id=null!=t?t:function(){let t=(Math.random().toString(16)+Date.now().toString(16)+Math.random().toString(16)).replace(/\./g,"");return[t.slice(0,8),t.slice(8,12),"4"+t.slice(12,15)+"-8"+t.slice(15,18),t.slice(18,30)].join("-")}()}toString(){return this.id}static convert(t){return new N(t instanceof N?t.id:t.toString())}},Y=class extends Error{constructor(t,e){super(String(t.message||t.error||"Unknown error")),this.name="MapboxError",this.statusCode=e}toString(){return`${this.name} (${this.statusCode}): ${this.message}`}};function C(t){return A(this,null,function*(){if(!t.ok)throw new Y((yield t.json()),t.status)})}var F=globalThis.fetch,W=globalThis.AbortController;function q(){if(!F)throw Error("Fetch implementation not found. Please include a fetch polyfill in your application or use `polyfillFetch` from `@mapbox/search-js-core` to fix this issue.");return{fetch:F,AbortController:W}}function U(...t){let e=[];for(let r of t)if(r)for(let[t,n]of Object.entries(r))null!=n&&e.push(`${t}=${encodeURIComponent(String(n))}`);return e.join("&")}var B=class{constructor(t={}){k(this,i);let{accessToken:e}=t,r=E(t,["accessToken"]);this.accessToken=e,this.defaults=_(_({},B.defaults),r)}suggest(t,e){return A(this,null,function*(){if(!t)throw Error("searchText is required");let{sessionToken:r,signal:n}=e,o=S(_(_({},this.defaults),e),{sessionToken:r}),l=new URL(`${M}/${encodeURIComponent(t)}`);l.search=j(this,i,s).call(this,o);let{fetch:a}=q(),u=yield a(l.toString(),{signal:n});yield C(u);let c=yield u.json();return S(_({},c),{suggestions:c.suggestions.map(e=>S(_({},e),{original_search_text:t})),url:l.toString()})})}retrieve(t,e){return A(this,null,function*(){if(!t)throw Error("suggestion is required");if(!this.canRetrieve(t))throw Error("suggestion cannot be retrieved");let{sessionToken:r,signal:n}=e,o=N.convert(r),i=new URL(`${O}/${t.action.id}`);i.search=U({access_token:this.accessToken,session_token:o.id});let{fetch:s}=q(),l=yield s(i.toString(),{signal:n});yield C(l);let a=yield l.json();return a.url=i.toString(),a})}canRetrieve(t){let e=t.action;return"string"==typeof(null==e?void 0:e.id)}};i=new WeakSet,s=function(t){return U({types:"address",access_token:this.accessToken,streets:t.streets,language:t.language,country:t.country,limit:t.limit},t.sessionToken&&{session_token:N.convert(t.sessionToken).id},t.proximity&&{proximity:"string"==typeof t.proximity?t.proximity:P.convert(t.proximity).toArray().join(",")},t.bbox&&{bbox:"string"==typeof t.bbox?t.bbox:$.convert(t.bbox).toFlatArray().join(",")})},B.defaults={language:"en",proximity:"ip",streets:!0};var H="https://api.mapbox.com/search/searchbox/v1",I=`${H}/suggest`,z=`${H}/retrieve`,V=`${H}/category`,Z=`${H}/reverse`,G=class{constructor(t={}){k(this,l);let{accessToken:e}=t,r=E(t,["accessToken"]);this.accessToken=e,this.defaults=_(_({},G.defaults),r)}suggest(t,e){return A(this,null,function*(){if(!t)throw Error("searchText is required");let{sessionToken:r,signal:n}=e,o=S(_(_({},this.defaults),e),{q:t,sessionToken:r});if(o.eta_type&&(!o.origin||!o.navigation_profile))throw Error("to provide eta estimate: eta, navigation_profile, and origin are required");if(o.origin&&!o.navigation_profile)throw Error("to provide distance estimate: both navigation_profile and origin are required");let i=new URL(I);i.search=j(this,l,a).call(this,o);let{fetch:s}=q(),u=yield s(i.toString(),{signal:n});yield C(u);let c=yield u.json();return c.url=i.toString(),c})}retrieve(t,e){return A(this,null,function*(){if(!t)throw Error("suggestion is required");let{sessionToken:r,signal:n}=e,o=N.convert(r),i=new URL(`${z}/${encodeURIComponent(t.mapbox_id)}`);i.search=U({access_token:this.accessToken,session_token:o.id});let{fetch:s}=q(),l=yield s(i.toString(),{signal:n});yield C(l);let a=yield l.json();return a.url=i.toString(),a})}category(t){return A(this,arguments,function*(t,e={}){if(!t)throw Error("category is required");let r=_(_({},this.defaults),e),n=new URL(`${V}/${encodeURIComponent(t)}`);n.search=j(this,l,a).call(this,r);let{fetch:o}=q(),i=yield o(n.toString(),{signal:r.signal});yield C(i);let s=yield i.json();return s.url=n.toString(),s})}reverse(t){return A(this,arguments,function*(t,e={}){if(!t)throw Error("lngLat is required");let[r,n]="string"==typeof t?t.split(",").map(t=>parseFloat(t)):P.convert(t).toArray();if(isNaN(r)||isNaN(n))throw Error("lngLat is required");let o=_(_({},this.defaults),e),i=new URL(Z);i.search=U({access_token:this.accessToken,language:o.language,limit:o.limit,longitude:r,latitude:n},o.types&&{types:"string"==typeof o.types?o.types:[...o.types].join(",")});let{fetch:s}=q(),l=yield s(i.toString(),{signal:o.signal});yield C(l);let a=yield l.json();return a.url=i.toString(),a})}},J=G;l=new WeakSet,a=function(t){return U({q:t.q,access_token:this.accessToken,language:t.language,limit:t.limit,navigation_profile:t.navigation_profile,route:t.route,route_geometry:t.route_geometry,sar_type:t.sar_type,time_deviation:t.time_deviation,eta_type:t.eta_type,country:t.country,poi_category:t.poi_category,radius:t.radius,user_id:t.user_id,rich_metadata_provider:t.rich_metadata_provider,poi_category_exclusions:t.poi_category_exclusions},t.sessionToken&&{session_token:N.convert(t.sessionToken).id},t.proximity&&{proximity:"string"==typeof t.proximity?t.proximity:P.convert(t.proximity).toArray().join(",")},t.origin&&{origin:"string"==typeof t.origin?t.origin:P.convert(t.origin).toArray().join(",")},t.bbox&&{bbox:"string"==typeof t.bbox?t.bbox:$.convert(t.bbox).toFlatArray().join(",")},t.types&&{types:"string"==typeof t.types?t.types:[...t.types].join(",")})},J.defaults={language:"en"};var K=class{constructor(t={}){k(this,u);let{accessToken:e}=t,r=E(t,["accessToken"]);this.accessToken=e,this.defaults=_(_({},K.defaults),r)}validate(t,e){return A(this,null,function*(){if(!t)throw Error("searchText is required");let{sessionToken:r,signal:n}=e,o=S(_(_({},this.defaults),e),{sessionToken:r}),i=new URL(`https://api.mapbox.com/autofill/v1/retrieve/${encodeURIComponent(t)}`);i.search=j(this,u,c).call(this,o);let{fetch:s}=q(),l=yield s(i.toString(),{signal:n});yield C(l);let a=yield l.json();return a.url=i.toString(),a.features.length>0&&(a.features=[a.features[0]]),a})}};u=new WeakSet,c=function(t){return U({access_token:this.accessToken,language:t.language,country:t.country},t.sessionToken&&{session_token:N.convert(t.sessionToken).id},t.proximity&&{proximity:"string"==typeof t.proximity?t.proximity:P.convert(t.proximity).toArray().join(",")},t.bbox&&{bbox:"string"==typeof t.bbox?t.bbox:$.convert(t.bbox).toFlatArray().join(",")})},K.defaults={language:"en",proximity:"ip"},new WeakSet;var Q=((n=Q||{}).matched="matched",n.unmatched="unmatched",n.plausible="plausible",n.not_applicable="not_applicable",n.inferred="inferred",n),X=((o=X||{}).exact="exact",o.high="high",o.medium="medium",o.low="low",o),tt=class{constructor(){k(this,h,{})}addEventListener(t,e){let r=L(this,h);r[t]||(r[t]=[]),r[t].push(e)}removeEventListener(t,e){let r=L(this,h);if(!r[t])return;let n=r[t],o=n.indexOf(e);-1!==o&&n.splice(o,1)}fire(t,e){let r=L(this,h);if(r[t])for(let n of r[t])n(e)}};function te(){let{AbortController:t}=q();return new t}h=new WeakMap;var tr=class extends tt{constructor(t,e=0){var r,n;let o;super(),this.sessionToken=new N,k(this,p,void 0),k(this,f,te()),k(this,g,void 0),R(this,g,(r=(t,...e)=>A(this,[t,...e],function*(t,e={}){if(L(this,f).abort(),R(this,f,te()),!t){R(this,p,null),this.fire("suggest",L(this,p));return}try{let r=yield this.search.suggest(t,S(_({sessionToken:this.sessionToken},e),{signal:L(this,f).signal}));R(this,p,r),this.fire("suggest",r)}catch(t){if("AbortError"===t.name)return;this.fire("suggesterror",t)}}),n=()=>L(this,f).signal,o=null,(...t)=>{null!==o&&clearTimeout(o);let i=n&&n();o=setTimeout(()=>{o=null,null!=i&&i.aborted||r(...t)},e)})),Object.defineProperties(this,{search:{value:t,writable:!1},debounce:{value:e,writable:!1}})}get suggestions(){return L(this,p)}suggest(t,e){return L(this,g).call(this,t,e),new Promise((t,e)=>{let r,n;r=e=>{this.removeEventListener("suggest",r),this.removeEventListener("suggesterror",n),t(e)},n=t=>{this.removeEventListener("suggest",r),this.removeEventListener("suggesterror",n),e(t)},this.addEventListener("suggest",r),this.addEventListener("suggesterror",n)})}clear(){this.suggest("")}retrieve(t,e){return A(this,null,function*(){let r=yield this.search.retrieve(t,_({sessionToken:this.sessionToken},e));return this.fire("retrieve",r),r})}canRetrieve(t){return!this.search.canRetrieve||this.search.canRetrieve(t)}canSuggest(t){return!this.search.canSuggest||this.search.canSuggest(t)}abort(){L(this,f).abort(),R(this,f,te())}};p=new WeakMap,f=new WeakMap,g=new WeakMap},22942:function(t,e,r){"use strict";var n=r(93014),o=0;t.exports=function(t){var e=++o;return n(t)+e}},89339:function(t,e,r){"use strict";
1var n=r(7653),o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s={Pixel:"Pixel",Percent:"Percent"},l={unit:s.Percent,value:.8};function a(t){return"number"==typeof t?{unit:s.Percent,value:100*t}:"string"==typeof t?t.match(/^(\d*(\.\d+)?)px$/)?{unit:s.Pixel,value:parseFloat(t)}:t.match(/^(\d*(\.\d+)?)%$/)?{unit:s.Percent,value:parseFloat(t)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),l):(console.warn("scrollThreshold should be string or number"),l)}var u=function(t){function e(e){var r=t.call(this,e)||this;return r.lastScrollTop=0,r.actionTriggered=!1,r.startY=0,r.currentY=0,r.dragging=!1,r.maxPullDownDistance=0,r.getScrollableTarget=function(){return r.props.scrollableTarget instanceof HTMLElement?r.props.scrollableTarget:"string"==typeof r.props.scrollableTarget?document.getElementById(r.props.scrollableTarget):(null===r.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n        happen because the element may not have been added to DOM yet.\n        See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n      "),null)},r.onStart=function(t){!r.lastScrollTop&&(r.dragging=!0,t instanceof MouseEvent?r.startY=t.pageY:t instanceof TouchEvent&&(r.startY=t.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(t){r.dragging&&(t instanceof MouseEvent?r.currentY=t.pageY:t instanceof TouchEvent&&(r.currentY=t.touches[0].pageY),r.currentY<r.startY||(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),r.currentY-r.startY>1.5*r.maxPullDownDistance||!r._infScroll||(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(t){"function"==typeof r.props.onScroll&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(t)},0);var e=r.props.height||r._scrollableNode?t.target:document.documentElement.scrollTop?document.documentElement:document.body;r.actionTriggered||((r.props.inverse?r.isElementAtTop(e,r.props.scrollThreshold):r.isElementAtBottom(e,r.props.scrollThreshold))&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=e.scrollTop)},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:e.dataLength},r.throttledOnScrollListener=(function(t,e,r,n){var o,i=!1,s=0;function l(){o&&clearTimeout(o)}function a(){var a=this,u=Date.now()-s,c=arguments;function h(){s=Date.now(),r.apply(a,c)}i||(n&&!o&&h(),l(),void 0===n&&u>t?h():!0!==e&&(o=setTimeout(n?function(){o=void 0}:h,void 0===n?t-u:t)))}return"boolean"!=typeof e&&(n=r,r=e,e=void 0),a.cancel=function(){l(),i=!0},a})(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return!function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.componentDidMount=function(){if(void 0===this.props.dataLength)throw Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"==typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!=typeof this.props.refreshFunction))throw Error('Mandatory prop "refreshFunction" missing.\n          Pull Down To Refresh functionality will not work\n          as expected. Check README.md for usage\'')},e.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)
1))},e.prototype.componentDidUpdate=function(t){this.props.dataLength!==t.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},e.getDerivedStateFromProps=function(t,e){return t.dataLength!==e.prevDataLength?i(i({},e),{prevDataLength:t.dataLength}):null},e.prototype.isElementAtTop=function(t,e){void 0===e&&(e=.8);var r=t===document.body||t===document.documentElement?window.screen.availHeight:t.clientHeight,n=a(e);return n.unit===s.Pixel?t.scrollTop<=n.value+r-t.scrollHeight+1:t.scrollTop<=n.value/100+r-t.scrollHeight+1},e.prototype.isElementAtBottom=function(t,e){void 0===e&&(e=.8);var r=t===document.body||t===document.documentElement?window.screen.availHeight:t.clientHeight,n=a(e);return n.unit===s.Pixel?t.scrollTop+r>=t.scrollHeight-n.value:t.scrollTop+r>=n.value/100*t.scrollHeight},e.prototype.render=function(){var t=this,e=i({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),r=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),o=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return n.createElement("div",{style:o,className:"infinite-scroll-component__outerdiv"},n.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(e){return t._infScroll=e},style:e},this.props.pullDownToRefresh&&n.createElement("div",{style:{position:"relative"},ref:function(e){return t._pullDown=e}},n.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!r&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},e}(n.Component);e.Z=u},89382:function(t,e,r){"use strict";r.d(e,{Nr:function(){return s}});var n=r(7653);function o(t,e){return t===e}function i(t,e){return e}function s(t,e,r){var s=r&&r.equalityFn||o,l=(0,n.useReducer)(i,t),a=l[0],u=l[1],c=function(t,e,r){var o=this,i=(0,n.useRef)(null),s=(0,n.useRef)(0),l=(0,n.useRef)(null),a=(0,n.useRef)([]),u=(0,n.useRef)(),c=(0,n.useRef)(),h=(0,n.useRef)(t),p=(0,n.useRef)(!0);h.current=t;var f="undefined"!=typeof window,g=!e&&0!==e&&f;if("function"!=typeof t)throw TypeError("Expected a function");e=+e||0;var d=!!(r=r||{}).leading,v=!("trailing"in r)||!!r.trailing,m="maxWait"in r,y="debounceOnServer"in r&&!!r.debounceOnServer,w=m?Math.max(+r.maxWait||0,e):null;return(0,n.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,n.useMemo)(function(){var t=function(t){var e=a.current,r=u.current;return a.current=u.current=null,s.current=t,c.current=h.current.apply(r,e)},r=function(t,e){g&&cancelAnimationFrame(l.current),l.current=g?requestAnimationFrame(t):setTimeout(t,e)},n=function(t){if(!p.current)return!1;var r=t-i.current;return!i.current||r>=e||r<0||m&&t-s.current>=w},b=function(e){return l.current=null,v&&a.current?t(e):(a.current=u.current=null,c.current)},T=function t(){var o=Date.now();if(n(o))return b(o);if(p.current){var l=e-(o-i.current);r(t,m?Math.min(l,w-(o-s.current)):l)}},_=function(){if(f||y){var h=Date.now(),g=n(h);if(a.current=[].slice.call(arguments),u.current=o,i.current=h,g){if(!l.current&&p.current)return s.current=i.current,r(T,e),d?t(i.current):c.current;if(m)return r(T,e),t(i.current)}return l.current||r(T,e),c.current}};return _.cancel=function(){l.current&&(g?cancelAnimationFrame(l.current):clearTimeout(l.current)),s.current=0,a.current=i.current=u.current=l.current=null},_.isPending=function(){return!!l.current},_.flush=function(){return l.current?b(Date.now()):c.current},_},[d,m,e,w,v,g,f,y])}((0,n.useCallback)(function(t){return u(t)},[u]),e,r),h=(0,n.useRef)(t);return s(h.current,t)||(c(t),h.current=t),s(a,t)&&c.cancel(),[a,c]}},45254:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=i(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=i(e,r));return e}(r)))}return t}function i(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0!==(r=(function(){return o}
1).apply(e,[]))&&(t.exports=r)}()}}]);

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.