PageSourceSearch

https://baucenter.ru/_next/static/chunks/136-93f1e85db69796c4.js

js baucenter.ru collected 2026-09-24 10:50:57 UTC 30,893 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[136,3886,8401],{10738:function(t,n,o){o.d(n,{D5:function(){return I},LA:function(){return L},Yy:function(){return y},ah:function(){return A},j0:function(){return p},lD:function(){return T}});var i=o(67294);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t}).apply(this,arguments)}let a=(t,n)=>{let o={};for(let i in t)-1===n.indexOf(i)&&(o[i]=t[i]);return o},s=i.createContext(null),c=i.createContext(null),l=t=>n=>i.createElement(c.Consumer,null,o=>i.createElement(t,r({parent:o},n))),p=(t=[])=>{let[n,o]=(0,i.useState)(!1),c=(0,i.useRef)(t),h=(()=>{let t=(0,i.useContext)(s);if(null===t)throw Error("Couldn't find Yandex.Maps API in the context. Make sure that hook useYMaps is inside <YMaps /> provider");return t})(),f=h.getApi();return(0,i.useEffect)(()=>{h.load().then(()=>Promise.all(c.current.map(h.loadModule))).then(()=>o(!0))},[]),n&&f?f:null},u=()=>{},h=["onLoad","onError","modules","apiLoader"];function d(t,n=!1,o=[]){return s=>{let{width:c,height:f,modules:m=[],onLoad:b=u}=s,I=p(o.concat(m)),k=!n||!!I,T=a(s,h);return(0,i.useEffect)(()=>I?b(I):void 0,[I]),k?i.createElement(t,r({ymaps:I},T)):i.createElement("div",{style:{width:c,height:f}})}}let f="undefined"!=typeof window,m={lang:"ru_RU",load:"",ns:"",mode:"release"},y=t=>{let{version:n="2.1",enterprise:o=!1,query:c={lang:"ru_RU",load:"",ns:""},preload:h=!1,children:b}=t,I=(0,i.useRef)((t=>{let n;let{query:o=m}=t,i=Date.now().toString(32),s=o.ns||"",c="__yandex-maps-api-onload__$$"+i,h="__yandex-maps-api-onerror__$$"+i,b=f?window:{},I={},l=()=>s?b[s]:n,p=()=>{delete b[c],delete b[h]};return{load:()=>{if(l())return Promise.resolve(n);if(I[s])return I[s];let i={onload:c,onerror:h,...m,...o},f=Object.keys(i).map(t=>`${t}=${i[t]}`).join("&"),k=[`https://${t.enterprise?"enterprise.":""}api-maps.yandex.ru`,t.version,"?"+f].join("/");return I[s]=new Promise((t,o)=>{b[c]=o=>{p(),o.ready(()=>{n=o,t(o)})},b[h]=t=>{p(),o(t)},new Promise((t,n)=>{let o=document.createElement("script");o.type="text/javascript",o.onload=t,o.onerror=n,o.src=k,o.async=!0,document.head.appendChild(o)}).catch(b[h])}),I[s]},getApi:l,loadModule:t=>new Promise((o,i)=>{n.modules.require(t).done(i=>{i.forEach(o=>{((t,n,o,i=!1)=>{let s="string"==typeof n?n.split("."):n.slice(),c,h=t;for(;s.length>1;)h[c=s.shift()]||(h[c]={}),h=h[c];let f=s[0];h[f]=!0===i&&h[f]||o})(n,t,o,!0)}),o(n)},i)})}})({version:n,enterprise:o,query:c,preload:h}));return(0,i.useEffect)(()=>{h&&I.current.load()},[I.current]),i.createElement(s.Provider,{value:I.current},b)},b=/^on(?=[A-Z])/;function v(t){return Object.keys(t).reduce((n,o)=>{if(b.test(o)){let i=o.replace(b,"").toLowerCase();n._events[i]=t[o]}else n[o]=t[o];return n},{_events:{}})}function j(t,n,o){"function"==typeof o&&t.events.add(n,o)}function O(t,n,o){"function"==typeof o&&t.events.remove(n,o)}function g(t,n,o){Object.keys(Object.assign({},n,o)).forEach(i=>{n[i]!==o[i]&&(O(t,i,n[i]),j(t,i,o[i]))})}let E=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function C(t,n){return void 0!==t[n]||void 0===t[E(n)]}function _(t,n,o){return(C(t,n)?t[n]:t[E(n)])||o}function R(t,n,o=null){t!==n&&(t&&("current"in t?t.current=null:"function"==typeof t&&t(null)),n&&("current"in n?n.current=o:"function"==typeof n&&n(o)))}function w(t){let{width:n,height:o,style:i,className:s}=t;return void 0!==i||void 0!==s?Object.assign({},i&&{style:i},s&&{className:s}):{style:{width:n,height:o}}}let P=class P extends i.Component{constructor(t){super(t),this.state={error:null,errorInfo:null}}componentDidCatch(t,n){let{onError:o=()=>{}}=this.props;o(t),this.setState({error:t,errorInfo:n})}render(){return this.state.error?null:this.props.children}};let x=t=>({onError:n,...o})=>i.createElement(P,{onError:n},i.createElement(t,o));let M=class M extends i.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=t=>{this._parentElement=t}}componentDidMount(){this.instance=M.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(t){null!==this.instance&&M.updateObject(this.instance,t,this.props)}componentWillUnmount(){M.unmountObject(this.instance,this.props)}render(){let t=w(this.props),n=v(this.props),o=a(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return i.createElement(c.Provider,{value:this.state.instance},i.createElement("div",r({ref:this._getRef},t,o),this.props.children))}static mountObject(t,n,o){let{instanceRef:i,_events:s}=v(o),c=new n(t,_(o,"state"),_(o,"options"));
1return Object.keys(s).forEach(t=>j(c,t,s[t])),R(null,i,c),c}static updateObject(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"state")){let i=_(n,"state",{}),s=_(o,"state",{});i.type!==s.type&&t.setType(s.type),i.behaviors!==s.behaviors&&(i.behaviors&&t.behaviors.disable(i.behaviors),s.behaviors&&t.behaviors.enable(s.behaviors)),s.zoom&&i.zoom!==s.zoom&&t.setZoom(s.zoom),s.center&&i.center!==s.center&&t.setCenter(s.center),s.bounds&&i.bounds!==s.bounds&&t.setBounds(s.bounds)}if(C(o,"options")){let i=_(n,"options"),s=_(o,"options",{});i!==s&&t.options.set(s)}_(n,"width")===_(o,"width")&&_(n,"height")===_(o,"height")||t.container.fitToViewport(),g(t,c,i),R(h,s,t)}static unmountObject(t,n){let{instanceRef:o,_events:i}=v(n);null!==t&&(Object.keys(i).forEach(n=>O(t,n,i[n])),t.destroy(),R(o))}};let I=x(d(M,!0,["Map"]));I.defaultProps={width:320,height:240};let S=class S extends i.Component{constructor(){super(),this.state={instance:null},this._parentElement=null,this._getRef=t=>{this._parentElement=t}}componentDidMount(){this._mounted=!0,this.props.ymaps.panorama.isSupported()&&S.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(t=>this._mounted&&this.setState({instance:t}))}componentDidUpdate(t){null!==this.state.instance&&S.updateObject(this.state.instance,t,this.props)}componentWillUnmount(){this._mounted=!1,S.unmountObject(this.state.instance,this.props)}render(){let t=w(this.props);return i.createElement("div",r({ref:this._getRef},t))}static mountObject(t,n,o){let{instanceRef:i,_events:s}=v(o),c=_(o,"point"),h=_(o,"locateOptions"),f=_(o,"options");return new Promise((o,m)=>{n.locate(c,h).done(c=>{if(c.length>0){let h=new n.Player(t,c[0],f);R(null,i,h),Object.keys(s).forEach(t=>j(h,t,s[t])),o(h)}},m)})}static updateObject(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"options")){let i=_(n,"options"),s=_(o,"options");i!==s&&t.options.set(s)}if(C(o,"point")){let i=_(o,"point"),s=_(n,"point"),c=_(o,"locateOptions");i!==s&&t.moveTo(i,c)}g(t,c,i),R(h,s,t)}static unmountObject(t,n){let{instanceRef:o,_events:i}=v(n);
1null!==t&&(Object.keys(i).forEach(n=>O(t,n,i[n])),R(o))}};let k=x(d(S,!0,["panorama.isSupported","panorama.locate","panorama.createPlayer","panorama.Player"]));k.defaultProps={width:320,height:240};let U=class U extends i.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){let t=U.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=t,this.setState({instance:t})}componentDidUpdate(t){null!==this.instance&&U.updateControl(this.instance,t,this.props)}componentWillUnmount(){U.unmountControl(this.instance,this.props)}render(){return i.createElement(c.Provider,{value:this.state.instance},this.props.children)}static mountControl(t,n){let{instanceRef:o,parent:i,lazy:s,_events:c}=v(n),h=new t({data:_(n,"data"),options:_(n,"options"),state:_(n,"state"),mapTypes:_(n,"mapTypes"),lazy:s});if(Object.keys(c).forEach(t=>j(h,t,c[t])),i&&i.controls&&"function"==typeof i.controls.add)i.controls.add(h);else{if(!i||!i.add||"function"!=typeof i.add)throw Error(`No parent found to mount ${n.name}`);i.add(h)}return R(null,o,h),h}static updateControl(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"options")){let i=_(n,"options"),s=_(o,"options");i!==s&&t.options.set(s)}if(C(o,"data")){let i=_(n,"data"),s=_(o,"data");i!==s&&t.data.set(s)}if(C(o,"state")){let i=_(n,"state"),s=_(o,"state");i!==s&&t.state.set(s)}if(C(o,"mapTypes")){let i=_(n,"mapTypes"),s=_(o,"mapTypes");
1i!==s&&(t.removeAllMapTypes(),s.forEach(n=>t.addMapType(n)))}g(t,c,i),R(h,s,t)}static unmountControl(t,n){let{instanceRef:o,parent:i,_events:s}=v(n);null!==t&&(Object.keys(s).forEach(n=>O(t,n,s[n])),i.controls&&"function"==typeof i.controls.remove?i.controls.remove(t):i.remove&&"function"==typeof i.remove&&i.remove(t),R(o))}};x(l(d(t=>i.createElement(U,r({},t,{name:"Button"})),!0,["control.Button"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"FullscreenControl"})),!0,["control.FullscreenControl"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"GeolocationControl"})),!0,["control.GeolocationControl"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"ListBox"})),!0,["control.ListBox"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"ListBoxItem"})),!0,["control.ListBoxItem"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"RouteButton"})),!0,["control.RouteButton"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"RouteEditor"})),!0,["control.RouteEditor"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"RoutePanel"})),!0,["control.RoutePanel"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"RulerControl"})),!0,["control.RulerControl"])));var T=x(l(d(t=>i.createElement(U,r({},t,{name:"SearchControl"})),!0,["control.SearchControl"])));x(l(d(t=>i.createElement(U,r({},t,{name:"TrafficControl"})),!0,["control.TrafficControl"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"TypeSelector"})),!0,["control.TypeSelector"]))),x(l(d(t=>i.createElement(U,r({},t,{name:"ZoomControl"})),!0,["control.ZoomControl"])));let Y=class Y extends i.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){let t=Y.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=t,this.setState({instance:t})}componentDidUpdate(t){null!==this.state.instance&&Y.updateObject(this.instance,t,this.props)}componentWillUnmount(){Y.unmountObject(this.instance,this.props)}render(){return i.createElement(c.Provider,{value:this.state.instance},this.props.children)}static mountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n),c=new t(_(n,"options"));if(Object.keys(s).forEach(t=>j(c,t,s[t])),i.geoObjects&&"function"==typeof i.geoObjects.add)i.geoObjects.add(c);else{if(!i.add||"function"!=typeof i.add)throw Error("No parent found to mount Clusterer");i.add(c)}return R(null,o,c),c}static updateObject(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"options")){let i=_(n,"options"),s=_(o,"options");i!==s&&t.options.set(s)}g(t,c,i),R(h,s,t)}static unmountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n);null!==t&&(Object.keys(s).forEach(n=>O(t,n,s[n])),i.geoObjects&&"function"==typeof i.geoObjects.remove?i.geoObjects.remove(t):i.remove&&"function"==typeof i.remove&&i.remove(t),R(o))}};var L=x(l(d(Y,!0,["Clusterer"])));let H=class H extends i.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){let t=H.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=t,this.setState({instance:t})}componentDidUpdate(t){null!==this.instance&&H.updateObject(this.instance,t,this.props)}componentWillUnmount(){H.unmountObject(this.instance,this.props)}render(){return null}static mountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n),c=_(n,"options",{}),h=_(n,"features",{}),f=_(n,"filter",null),m=_(n,"objects",{}),b=_(n,"clusters",{}),I=new t(c);if(I.add(h||[]),I.setFilter(f),I.objects.options.set(m),I.clusters.options.set(b),Object.keys(s).forEach(t=>j(I,t,s[t])),i.geoObjects&&"function"==typeof i.geoObjects.add)i.geoObjects.add(I);else{if(!i.add||"function"!=typeof i.add)throw Error("No parent found to mount ObjectManager");i.add(I)}return R(null,o,I),I}static updateObject(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"options")){let i=_(n,"options"),s=_(o,"options");i!==s&&t.options.set(s)}if(C(o,"objects")){let i=_(n,"objects"),s=_(o,"objects");i!==s&&t.objects.options.set(s)}if(C(o,"clusters")){let i=_(n,"clusters"),s=_(o,"clusters");i!==s&&t.clusters.options.set(s)}if(C(o,"filter")){let i=_(n,"filter"),s=_(o,"filter");i!==s&&t.setFilter(s)}if(C(o,"features")){let i=_(n,"features"),s=_(o,"features");i!==s&&(t.remove(i),t.add(s))}g(t,c,i),R(h,s,t)}static unmountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n);
1null!==t&&(Object.keys(s).forEach(n=>O(t,n,s[n])),i.geoObjects&&"function"==typeof i.geoObjects.remove?i.geoObjects.remove(t):i.remove&&"function"==typeof i.remove&&i.remove(t),R(o))}};x(l(d(H,!0,["ObjectManager"])));let K=class K extends i.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){let{name:t,ymaps:n,dangerZone:o}=this.props,i=K.mountObject(o&&"function"==typeof o.modifyConstructor?o.modifyConstructor(n[t]):n[t],this.props);this.instance=i,this.setState({instance:i})}componentDidUpdate(t){null!==this.instance&&K.updateObject(this.instance,t,this.props)}componentWillUnmount(){K.unmountObject(this.instance,this.props)}render(){return null}static mountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n),c=new t(_(n,"geometry"),_(n,"properties"),_(n,"options"));if(Object.keys(s).forEach(t=>j(c,t,s[t])),i&&i.geoObjects&&"function"==typeof i.geoObjects.add)i.geoObjects.add(c);else{if(!i||!i.add||"function"!=typeof i.add)throw Error(`No parent found to mount ${n.name}`);i.add(c)}return R(null,o,c),c}static updateObject(t,n,o){let{_events:i,instanceRef:s}=v(o),{_events:c,instanceRef:h}=v(n);if(C(o,"geometry")){let i=_(n,"geometry",{}),s=_(o,"geometry",{});Array.isArray(s)&&s!==i?Array.isArray(s[0])&&"number"==typeof s[1]?(t.geometry.setCoordinates(s[0]),t.geometry.setRadius(s[1])):t.geometry.setCoordinates(s):"object"==typeof s&&(s.coordinates!==i.coordinates&&t.geometry.setCoordinates(s.coordinates),s.radius!==i.radius&&t.geometry.setRadius(s.radius))}if(C(o,"properties")){let i=_(n,"properties"),s=_(o,"properties");i!==s&&t.properties.set(s)}if(C(o,"options")){let i=_(n,"options"),s=_(o,"options");i!==s&&t.options.set(s)}g(t,c,i),R(h,s,t)}static unmountObject(t,n){let{instanceRef:o,parent:i,_events:s}=v(n);null!==t&&(Object.keys(s).forEach(n=>O(t,n,s[n])),i.geoObjects&&"function"==typeof i.geoObjects.remove?i.geoObjects.remove(t):i.remove&&"function"==typeof i.remove&&i.remove(t),R(o))}};let N={modifyConstructor(t){function e(n,o,i){t.call(this,{geometry:n,properties:o},i)}return e.prototype=t.prototype,e}};x(l(d(t=>i.createElement(K,r({},t,{name:"GeoObject",dangerZone:N})),!0,["GeoObject"]))),x(l(d(t=>i.createElement(K,r({},t,{name:"Circle"})),!0,["Circle"])));var A=x(l(d(t=>i.createElement(K,r({},t,{name:"Placemark"})),!0,["Placemark"])));x(l(d(t=>i.createElement(K,r({},t,{name:"Polygon"})),!0,["Polygon"]))),x(l(d(t=>i.createElement(K,r({},t,{name:"Polyline"})),!0,["Polyline"]))),x(l(d(t=>i.createElement(K,r({},t,{name:"Rectangle"})),!0,["Rectangle"])))},99469:function(t,n,o){var i=o(67294);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _classCallCheck(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function _defineProperties(t,n){for(var o=0;o<n.length;o++){var i=n[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _createClass(t,n,o){return n&&_defineProperties(t.prototype,n),o&&_defineProperties(t,o),t}function _defineProperty(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function _extends(){return(_extends=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t}).apply(this,arguments)}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),i.forEach(function(n){_defineProperty(t,n,o[n])})}return t}function _inherits(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&_setPrototypeOf(t,n)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _setPrototypeOf(t,n){return(_setPrototypeOf=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function _assertThisInitialized(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,n){return n&&("object"==typeof n||"function"==typeof n)?n:_assertThisInitialized(t)}var s={display:"inline-block",borderRadius:"50%",border:"5px double white",width:30,height:30},c={empty:_objectSpread({},s,{backgroundColor:"#ccc"}),full:_objectSpread({},s,{backgroundColor:"black"}),placeholder:_objectSpread({},s,{backgroundColor:"red"})},_iconNode=function(t){return i.isValidElement(t)?t:"object"===_typeof(t)&&null!==t?i.createElement("span",{style:t}):"[object String]"===Object.prototype.toString.call(t)?i.createElement("span",{className:t}):void 0},h=function(t){function RatingSymbol(){return _classCallCheck(this,RatingSymbol),_possibleConstructorReturn(this,_getPrototypeOf(RatingSymbol).apply(this,arguments))}return _inherits(RatingSymbol,t),_createClass(RatingSymbol,[{key:"render",value:function(){var t,n=this.props,o=n.index,s=n.inactiveIcon,c=n.activeIcon,h=n.percent,f=n.direction,m=n.readonly,b=n.onClick,I=n.onMouseMove,k=_iconNode(s),T=_iconNode(c),L=(_defineProperty(t={display:"inline-block",position:"absolute",overflow:"hidden",top:0},"rtl"===f?"right":"left",0),_defineProperty(t,"width","".concat(h,"%")),t);function handleMouseMove(t){I&&I(o,t)}function handleMouseClick(t){b&&(t.preventDefault(),b(o,t))}return i.createElement("span",{style:{cursor:m?"inherit":"pointer",display:"inline-block",position:"relative"},onClick:handleMouseClick,onMouseMove:handleMouseMove,onTouchMove:handleMouseMove,onTouchEnd:handleMouseClick},i.createElement("span",{style:h<100?{}:{visibility:"hidden"}},k),i.createElement("span",{style:L},T))}}]),RatingSymbol}(i.PureComponent),f=function(t){function Rating(t){var n;return _classCallCheck(this,Rating),(n=_possibleConstructorReturn(this,_getPrototypeOf(Rating).call(this,t))).state={displayValue:n.props.value,interacting:!1},n.onMouseLeave=n.onMouseLeave.bind(_assertThisInitialized(_assertThisInitialized(n))),n.symbolMouseMove=n.symbolMouseMove.bind(_assertThisInitialized(_assertThisInitialized(n))),n.symbolClick=n.symbolClick.bind(_assertThisInitialized(_assertThisInitialized(n))),n}return _inherits(Rating,t),_createClass(Rating,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){var n=this.props.value!==t.value;this.setState(function(o){return{displayValue:n?t.value:o.displayValue}})}},{key:"componentDidUpdate",value:function(t,n){if(t.value===this.props.value){if(n.interacting&&!this.state.interacting)return this.props.onHover();this.state.interacting&&this.props.onHover(this.state.displayValue)}}},{key:"symbolClick",value:function(t,n){var o=this.calculateDisplayValue(t,n);this.props.onClick(o,n)}},{key:"symbolMouseMove",value:function(t,n){var o=this.calculateDisplayValue(t,n);this.setState({interacting:!this.props.readonly,displayValue:o})}},{key:"onMouseLeave",value:function(){this.setState({displayValue:this.props.value,interacting:!1})}},{key:"calculateDisplayValue",value:function(t,n){var o=this.calculateHoverPercentage(n),i=Math.ceil(o%1*this.props.fractions)/this.props.fractions,s=t+(Math.floor(o)+Math.floor(1e3*i)/1e3);return s>0?s>this.props.totalSymbols?this.props.totalSymbols:s:1/this.props.fractions}},{key:"calculateHoverPercentage",value:function(t){var n=t.nativeEvent.type.indexOf("touch")>-1?t.nativeEvent.type.indexOf("touchend")>-1?t.changedTouches[0].clientX:t.touches[0].clientX:t.clientX,o=t.target.getBoundingClientRect(),i="rtl"===this.props.direction?o.right-n:n-o.left;return i<0?0:i/o.width}},{key:"render",value:function(){for(var t,n=this.props,o=n.readonly,s=n.quiet,c=n.totalSymbols,f=n.value,m=n.placeholderValue,b=n.direction,I=n.emptySymbol,k=n.fullSymbol,T=n.placeholderSymbol,L=n.className,N=n.id,A=n.style,V=n.tabIndex,D=this.state,F=D.displayValue,G=D.interacting,z=[],B=[].concat(I
1),$=[].concat(k),W=[].concat(T),q=0!==m&&0===f&&!G,X=Math.floor(t=q?m:s?f:F),Z=0;Z<c;Z++){var J=void 0;J=Z-X<0?100:Z-X==0?(t-Z)*100:0,z.push(i.createElement(h,_extends({key:Z,index:Z,readonly:o,inactiveIcon:B[Z%B.length],activeIcon:q?W[Z%$.length]:$[Z%$.length],percent:J,direction:b},!o&&{onClick:this.symbolClick,onMouseMove:this.symbolMouseMove,onTouchMove:this.symbolMouseMove,onTouchEnd:this.symbolClick})))}return i.createElement("span",_extends({id:N,style:_objectSpread({},A,{display:"inline-block",direction:b}),className:L,tabIndex:V,"aria-label":this.props["aria-label"]},!o&&{onMouseLeave:this.onMouseLeave}),z)}}]),Rating}(i.PureComponent);function noop(){}noop._name="react_rating_noop";var m=function(t){function RatingAPILayer(t){var n;return _classCallCheck(this,RatingAPILayer),(n=_possibleConstructorReturn(this,_getPrototypeOf(RatingAPILayer).call(this,t))).state={value:t.initialRating},n.handleClick=n.handleClick.bind(_assertThisInitialized(_assertThisInitialized(n))),n.handleHover=n.handleHover.bind(_assertThisInitialized(_assertThisInitialized(n))),n}return _inherits(RatingAPILayer,t),_createClass(RatingAPILayer,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){this.setState({value:t.initialRating})}},{key:"handleClick",value:function(t,n){var o=this,i=this.translateDisplayValueToValue(t);this.props.onClick(i),this.state.value!==i&&this.setState({value:i},function(){return o.props.onChange(o.state.value)})}},{key:"handleHover",value:function(t){var n=void 0===t?t:this.translateDisplayValueToValue(t);this.props.onHover(n)}},{key:"translateDisplayValueToValue",value:function(t){var n=t*this.props.step+this.props.start;return n===this.props.start?n+1/this.props.fractions:n}},{key:"tranlateValueToDisplayValue",value:function(t){return void 0===t?0:(t-this.props.start)/this.props.step}},{key:"render",value:function(){var t=this.props,n=t.step,o=t.emptySymbol,s=t.fullSymbol,c=t.placeholderSymbol,h=t.readonly,m=t.quiet,b=t.fractions,I=t.direction,k=t.start,T=t.stop,L=t.id,N=t.className,A=t.style,V=t.tabIndex;return i.createElement(f,{id:L,style:A,className:N,tabIndex:V,"aria-label":this.props["aria-label"],totalSymbols:Math.floor((T-k)/n),value:this.tranlateValueToDisplayValue(this.state.value),placeholderValue:this.tranlateValueToDisplayValue(this.props.placeholderRating),readonly:h,quiet:m,fractions:b,direction:I,emptySymbol:o,fullSymbol:s,placeholderSymbol:c,onClick:this.handleClick,onHover:this.handleHover})}}]),RatingAPILayer}(i.PureComponent);m.defaultProps={start:0,stop:5,step:1,readonly:!1,quiet:!1,fractions:1,direction:"ltr",onHover:noop,onClick:noop,onChange:noop,emptySymbol:c.empty,fullSymbol:c.full,placeholderSymbol:c.placeholder},n.Z=m},56590:function(t,n){n.ITEM_TYPES={PAGE:"PAGE",ELLIPSIS:"ELLIPSIS",FIRST_PAGE_LINK:"FIRST_PAGE_LINK",PREVIOUS_PAGE_LINK:"PREVIOUS_PAGE_LINK",NEXT_PAGE_LINK:"NEXT_PAGE_LINK",LAST_PAGE_LINK:"LAST_PAGE_LINK"},n.ITEM_KEYS={FIRST_ELLIPSIS:-1,SECOND_ELLIPSIS:-2,FIRST_PAGE_LINK:-3,PREVIOUS_PAGE_LINK:-4,NEXT_PAGE_LINK:-5,LAST_PAGE_LINK:-6}},53804:function(t,n,o){var i=o(56590);n.createFirstEllipsis=function(t){return{type:i.ITEM_TYPES.ELLIPSIS,key:i.ITEM_KEYS.FIRST_ELLIPSIS,value:t,isActive:!1}},n.createSecondEllipsis=function(t){return{type:i.ITEM_TYPES.ELLIPSIS,key:i.ITEM_KEYS.SECOND_ELLIPSIS,value:t,isActive:!1}},n.createFirstPageLink=function(t){var n=t.currentPage;return{type:i.ITEM_TYPES.FIRST_PAGE_LINK,key:i.ITEM_KEYS.FIRST_PAGE_LINK,value:1,isActive:1===n}},n.createPreviousPageLink=function(t){var n=t.currentPage;return{type:i.ITEM_TYPES.PREVIOUS_PAGE_LINK,key:i.ITEM_KEYS.PREVIOUS_PAGE_LINK,value:Math.max(1,n-1),isActive:1===n}},n.createNextPageLink=function(t){var n=t.currentPage,o=t.totalPages;return{type:i.ITEM_TYPES.NEXT_PAGE_LINK,key:i.ITEM_KEYS.NEXT_PAGE_LINK,value:Math.min(o,n+1),isActive:n===o}},n.createLastPageLink=function(t){var n=t.currentPage,o=t.totalPages;return{type:i.ITEM_TYPES.LAST_PAGE_LINK,key:i.ITEM_KEYS.LAST_PAGE_LINK,value:o,isActive:n===o}},n.createPageFunctionFactory=function(t){var n=t.currentPage;return function(t){return{type:i.ITEM_TYPES.PAGE,key:t,value:t,isActive:t===n}}}},1158:function(t,n){n.createRange=function(t,n){for(var o=[],i=t;i<=n;i++)o.push(i);return o}},2371:function(t,n,o){var i=o(1158),s=o(53804);n.lL=function(t){if(null==t)throw Error("getPaginationModel(): options object should be a passed");var n=Number(t.totalPages);if(isNaN(n))throw Error("getPaginationModel(): totalPages should be a number");if(n<0)throw Error("getPaginationModel(): totalPages shouldn't be a negative number");var o=Number(t.currentPage);if(isNaN(o))throw Error("getPaginationModel(): currentPage should be a number");if(o<0)throw Error("getPaginationModel(): currentPage shouldn't be a negative number");if(o>n)throw Error("getPaginationModel(): currentPage shouldn't be greater than totalPages");var c=null==t.boundaryPagesRange?1:Number(t.boundaryPagesRange);if(isNaN(c))throw Error("getPaginationModel(): boundaryPagesRange should be a number");if(c<0)throw Error("getPaginationModel(): boundaryPagesRange shouldn't be a negative number");var h=null==t.siblingPagesRange?1:Number(t.siblingPagesRange);if(isNaN(h))throw Error("getPaginationModel(): siblingPagesRange should be a number");if(h<0)throw Error("getPaginationModel(): siblingPagesRange shouldn't be a negative number");var f=!!t.hidePreviousAndNextPageLinks,m=!!t.hideFirstAndLastPageLinks,b=!!t.hideEllipsis,I=b?0:1,k=[],T=s.createPageFunctionFactory(t);if(m||k.push(s.createFirstPageLink(t)),f||k.push(s.createPreviousPageLink(t)),1+2*I+2*h+2*c>=n){var L=i.createRange(1,n).map(T);k.push.apply(k,L)}else{var N=i.createRange(1,c).map(T),A=n+1-c,V=i.createRange(A,n).map(T),D=Math.min(Math.max(o-h,c+I+1),A-I-2*h-1),F=D+2*h,G=i.createRange(D,F).map(T);if(k.push.apply(k,N),!b){var z=D-1,B=(z===c+1?T:s.createFirstEllipsis)(z);k.push(B)}if(k.push.apply(k,G),!b){var $=F+1,W=($===A-1?T:s.createSecondEllipsis)($);k.push(W)}k.push.apply(k,V)}return f||k.push(s.createNextPageLink(t)),m||k.push(s.createLastPageLink(t)),k};var c=o(56590);
1n.iB=c.ITEM_TYPES,c.ITEM_KEYS},18357:function(t,n,o){o.d(n,{YD:function(){return useInView},df:function(){return b}});var i=o(67294),s=Object.defineProperty,__defNormalProp=(t,n,o)=>n in t?s(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,__publicField=(t,n,o)=>__defNormalProp(t,"symbol"!=typeof n?n+"":n,o),c=new Map,h=new WeakMap,f=0,m=void 0;function observe(t,n,o={},i=m){if(void 0===window.IntersectionObserver&&void 0!==i){let s=t.getBoundingClientRect();return n(i,{isIntersecting:i,target:t,intersectionRatio:"number"==typeof o.threshold?o.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}let{id:s,observer:b,elements:I}=function(t){let n=Object.keys(t).sort().filter(n=>void 0!==t[n]).map(n=>{var o;return`${n}_${"root"===n?(o=t.root)?(h.has(o)||(f+=1,h.set(o,f.toString())),h.get(o)):"0":t[n]}`}).toString(),o=c.get(n);if(!o){let i;let s=new Map,h=new IntersectionObserver(n=>{n.forEach(n=>{var o;let c=n.isIntersecting&&i.some(t=>n.intersectionRatio>=t);t.trackVisibility&&void 0===n.isVisible&&(n.isVisible=c),null==(o=s.get(n.target))||o.forEach(t=>{t(c,n)})})},t);i=h.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),o={id:n,observer:h,elements:s},c.set(n,o)}return o}(o),k=I.get(t)||[];return I.has(t)||I.set(t,k),k.push(n),b.observe(t),function(){k.splice(k.indexOf(n),1),0===k.length&&(I.delete(t),b.unobserve(t)),0===I.size&&(b.disconnect(),c.delete(s))}}var b=class extends i.Component{constructor(t){super(t),__publicField(this,"node",null),__publicField(this,"_unobserveCb",null),__publicField(this,"handleNode",t=>{!this.node||(this.unobserve(),t||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=t||null,this.observeNode()}),__publicField(this,"handleChange",(t,n)=>{t&&this.props.triggerOnce&&this.unobserve(),"function"!=typeof this.props.children||this.setState({inView:t,entry:n}),this.props.onChange&&this.props.onChange(t,n)}),this.state={inView:!!t.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(t){(t.rootMargin!==this.props.rootMargin||t.root!==this.props.root||t.threshold!==this.props.threshold||t.skip!==this.props.skip||t.trackVisibility!==this.props.trackVisibility||t.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:t,root:n,rootMargin:o,trackVisibility:i,delay:s,fallbackInView:c}=this.props;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:o,trackVisibility:i,delay:s},c)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:t}=this.props;if("function"==typeof t){let{inView:n,entry:o}=this.state;return t({inView:n,entry:o,ref:this.handleNode})}let{as:n,triggerOnce:o,threshold:s,root:c,rootMargin:h,onChange:f,skip:m,trackVisibility:b,delay:I,initialInView:k,fallbackInView:T,...L}=this.props;return i.createElement(n||"div",{ref:this.handleNode,...L},t)}};function useInView({threshold:t,delay:n,trackVisibility:o,rootMargin:s,root:c,triggerOnce:h,skip:f,initialInView:m,fallbackInView:b,onChange:I}={}){var k;let[T,L]=i.useState(null),N=i.useRef(),[A,V]=i.useState({inView:!!m,entry:void 0});N.current=I,i.useEffect(()=>{let i;if(!f&&T)return i=observe(T,(t,n)=>{V({inView:t,entry:n}),N.current&&N.current(t,n),n.isIntersecting&&h&&i&&(i(),i=void 0)},{root:c,rootMargin:s,threshold:t,trackVisibility:o,delay:n},b),()=>{i&&i()}},[Array.isArray(t)?t.toString():t,T,c,s,h,f,o,b,n]);let D=null==(k=A.entry)?void 0:k.target,F=i.useRef();T||!D||h||f||F.current===D||(F.current=D,V({inView:!!m,entry:void 0}));let G=[L,A.inView,A.entry];return G.ref=G[0],G.inView=G[1],G.entry=G[2],G}}}]);

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.