PageSourceSearch

https://resourcewatch.org/_next/static/chunks/pages/search-ad50c6c50c8655ef.js

js resourcewatch.org collected 2026-09-24 08:54:49 UTC 4,218 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{81400:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return Z},default:function(){return x}});var n=t(59499),c=t(92777),o=t(82262),s=t(45959),i=t(63553),u=t(37247),a=t(67294),l=t(14416),f=t(84984),p=(t(7910),t(50642),t(49863)),h=t(52202),d=t(63904),v=t(62082),y=t(85893);function O(e){var r=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,n=(0,u.Z)(e);if(r){var c=(0,u.Z)(this).constructor;t=Reflect.construct(n,arguments,c)}else t=n.apply(this,arguments);return(0,i.Z)(this,t)}}var j=function(e){(0,s.Z)(t,e);var r=O(t);function t(){return(0,c.Z)(this,t),r.apply(this,arguments)}return(0,o.Z)(t,[{key:"render",value:function(){var e=this.props.search,r=e.term,t=e.loading;return(0,y.jsxs)(p.Z,{title:"Search",description:"Resource Watch Search",className:"page-search",pageHeader:!0,children:[t&&(0,y.jsx)(h.Z,{isLoading:!0,className:"-light"}),(0,y.jsx)("div",{className:"l-page-header",children:(0,y.jsx)("div",{className:"l-container",children:(0,y.jsx)("div",{className:"row",children:(0,y.jsx)("div",{className:"column small-12",children:(0,y.jsx)("div",{className:"page-header-content",children:(0,y.jsxs)("h1",{children:["Search",r&&": ".concat(r)]})})})})})}),(0,y.jsx)("div",{className:"l-section",children:(0,y.jsx)("div",{className:"l-container",children:(0,y.jsx)("div",{className:"row",children:(0,y.jsxs)("div",{className:"column small-12",children:[(0,y.jsx)(d.Z,{}),(0,y.jsx)(v.Z,{})]})})})})]})}}]),t}(a.PureComponent),m=(0,l.connect)((function(e){return{search:e.search}}),null)(j);function b(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}var P=(0,l.connect)((function(e){return function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?b(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},e.search)}),f)(m);function g(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function w(e){var r=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,n=(0,u.Z)(e);if(r){var c=(0,u.Z)(this).constructor;t=Reflect.construct(n,arguments,c)}else t=n.apply(this,arguments);return(0,i.Z)(this,t)}}var N=function(e){(0,s.Z)(t,e);var r=w(t);function t(){return(0,c.Z)(this,t),r.apply(this,arguments)}return(0,o.Z)(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var r=e.term,t=e.page,n=this.props,c=n.term,o=n.page;r===c&&t===o||(window.scrollTo(0,0),this.props.fetchSearch())}},{key:"componentWillUnmount",value:function(){this.props.setSearchTerm(""),this.props.fetchSearch()}},{key:"render",value:function(){return(0,y.jsx)(P,{})}}]),t}(a.PureComponent),Z=!0,x=(0,l.connect)((function(e){return function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?g(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},e.search)}),f)(N)},3417:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(81400)}])}},function(e){e.O(0,[9774,2888,179],(function(){return r=3417,e(e.s=r);var r}));var r=e.O();_N_E=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.