PageSourceSearch

https://smartsmolensk.ru/platform-prod/smolensk/react/loc.device.eccc6dee.js

js smartsmolensk.ru collected 2026-10-08 18:39:03 UTC 2,186 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8885],{36808(e,t,r){r.d(t,{A:()=>u,o:()=>l});var i=r(15299),n=r(94409),o=r(10201);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=i.default.createContext(null),u=({children:e,value:t})=>{const[r,s]=(0,i.useState)(t),a=(0,i.useCallback)(()=>{const{isMobile:e,isTablet:t,isDesktop:i}=r;if(!window?.matchMedia)return;const n={isMobile:"mobile",isTablet:"tablet",isDesktop:"desktop"},o=navigator?.userAgent?.toLowerCase(),a={isAndroid:o.indexOf("android")>-1,isMobile:window.matchMedia("(max-width: 599px)").matches,isTablet:window.matchMedia("(min-width: 600px) and (max-width: 1023px)").matches,isDesktop:window.matchMedia("(min-width: 1024px)").matches};if(e!==a.isMobile||t!==a.isTablet||i!==a.isDesktop){const e=Object.keys(a).find(e=>a[e]);Object.keys(n).forEach(t=>{const r=n[t],i=document.documentElement;t===e?i.classList.add(r):i.classList.remove(r)}),s(c(c({},r),a))}},[r]);return(0,i.useEffect)(()=>{a()},[]),(0,n.A)("resize",a),(0,o.Y)(l.Provider,{value:r,children:e})}},75124(e,t,r){r.d(t,{A:()=>o});var i=r(15299),n=r(36808);const o=()=>(0,i.useContext)(n.o)}}]);
2//# sourceMappingURL=loc.device.eccc6dee.js.map

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.