PageSourceSearch

https://www.enviroportal.sk/react/frontend/dist/assets/nyX0CqFI.js

js enviroportal.sk collected 2026-09-24 18:22:07 UTC 2,644 bytes, 1 lines download raw bytes

1import{r as e}from"./Cb7KVQV9.js";import{w as t}from"./CtHda_MU.js";var n={notify(){},get:()=>[]};var r=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),o=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),u=(()=>r||o?e.useLayoutEffect:e.useEffect)(),s=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function i(){if(!e.createContext)return{};const t=c[s]??(c[s]=new Map);let n=t.get(e.createContext);return n||(n=e.createContext(null),t.set(e.createContext,n)),n}var a=i();var l=function(t){const{children:r,context:o,serverState:s,store:c}=t,i=e.useMemo((()=>{const e=function(e,t){let r,o=n,u=0,s=!1;function c(){l.onStateChange&&l.onStateChange()}function i(){u++,r||(r=e.subscribe(c),o=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function a(){u--,r&&0===u&&(r(),r=void 0,o.clear(),o=n)}const l={addNestedSub:function(e){i();const t=o.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),a())}},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:c,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,i())},tryUnsubscribe:function(){s&&(s=!1,a())},getListeners:()=>o};return l}(c);return{store:c,subscription:e,getServerState:s?()=>s:void 0}}),[c,s]),l=e.useMemo((()=>c.getState()),[c]);u((()=>{const{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==c.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[i,l]);const f=o||a;return e.createElement(f.Provider,{value:i},r)};function f(t=a){return function(){return e.useContext(t)}}var b=f();function d(e=a){const t=e===a?b:f(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var v=d();function p(e=a){const t=e===a?v:d(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var S=p(),g=(e,t)=>e===t;function y(n=a){const r=n===a?b:f(n),o=(n,o={})=>{const{equalityFn:u=g}="function"==typeof o?{equalityFn:o}:o,s=r(),{store:c,subscription:i,getServerState:a}=s;e.useRef(!0);const l=e.useCallback({[n.name]:e=>n(e)}[n.name],[n]),f=t.useSyncExternalStoreWithSelector(i.addNestedSub,c.getState,a||c.getState,l,u);return e.useDebugValue(f),f};return Object.assign(o,{withTypes:()=>o}),o}var x=y();export{l as P,S as a,x as u};

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.