1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="52862563-e968-4e8b-b6e5-21cdef4ee002",t._sentryDebugIdIdentifier="sentry-dbid-52862563-e968-4e8b-b6e5-21cdef4ee002")}catch(t){}}(),(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5957],{92890:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});var r=n(94188),o=n(7767),i=n(70551),a=6e4;function s(t,e){(0,i.A)(2,arguments);var n=(0,r.A)(e);return(0,o.A)(t,n*a)}},13094:function(t,e,n){"use strict";n.d(e,{A:function(){return A}});var r=n(92890),o=n(96540),i=n(5556);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function p(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function m(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=String(t);if(0===e)return n;var r=n.match(/(.*?)([0-9]+)(.*)/),o=r?r[1]:"",i=r?r[3]:"",a=r?r[2]:n,s=a.length>=e?a:(m(Array(e)).map(function(){return"0"}).join("")+a).slice(-1*e);return"".concat(o).concat(s).concat(i)}var y={daysInHours:!1,zeroPadTime:2};function T(t,e){var n=t.days,r=t.hours,o=t.minutes,i=t.seconds,a=Object.assign(Object.assign({},y),e),s=a.daysInHours,u=a.zeroPadTime,c=a.zeroPadDays,l=void 0===c?u:c,f=Math.min(2,u),p=s?v(r+24*n,u):v(r,f);return{days:s?"":v(n,l),hours:p,minutes:v(o,f),seconds:v(i,f)}}var S=function(t){c(n,t);var e=d(n);function n(){var t;return a(this,n),(t=e.apply(this,arguments)).state={count:t.props.count||3},t.startCountdown=function(){t.interval=window.setInterval(function(){0===t.state.count-1?(t.stopCountdown(),t.props.onComplete&&t.props.onComplete()):t.setState(function(t){return{count:t.count-1}})},1e3)},t.stopCountdown=function(){clearInterval(t.interval)},t.addTime=function(e){t.stopCountdown(),t.setState(function(t){return{count:t.count+e}},t.startCountdown)},t}return u(n,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?(0,o.cloneElement)(this.props.children,{count:this.state.count}):null}}]),n}(o.Component);S.propTypes={count:i.number,children:i.element,onComplete:i.func};var D=function(t){c(n,t);var e=d(n);function n(t){var r;if(a(this,n),(r=e.call(this,t)).mounted=!1,r.initialTimestamp=r.calcOffsetStartTimestamp(),r.offsetStartTimestamp=r.props.autoStart?0:r.initialTimestamp,r.offsetTime=0,r.legacyMode=!1,r.legacyCountdownRef=(0,o.createRef)(),r.tick=function(){var t=r.calcTimeDelta(),e=t.completed&&!r.props.overt
1ime?void 0:r.props.onTick;r.setTimeDeltaState(t,void 0,e)},r.start=function(){if(!r.isStarted()){var t=r.offsetStartTimestamp;r.offsetStartTimestamp=0,r.offsetTime+=t?r.calcOffsetStartTimestamp()-t:0;var e=r.calcTimeDelta();r.setTimeDeltaState(e,"STARTED",r.props.onStart),r.props.controlled||e.completed&&!r.props.overtime||(r.clearTimer(),r.interval=window.setInterval(r.tick,r.props.intervalDelay))}},r.pause=function(){r.isPaused()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.setTimeDeltaState(r.state.timeDelta,"PAUSED",r.props.onPause))},r.stop=function(){r.isStopped()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.offsetTime=r.offsetStartTimestamp-r.initialTimestamp,r.setTimeDeltaState(r.calcTimeDelta(),"STOPPED",r.props.onStop))},r.isStarted=function(){return r.isStatus("STARTED")},r.isPaused=function(){return r.isStatus("PAUSED")},r.isStopped=function(){return r.isStatus("STOPPED")},r.isCompleted=function(){return r.isStatus("COMPLETED")},t.date){var i=r.calcTimeDelta();r.state={timeDelta:i,status:i.completed?"COMPLETED":"STOPPED"}}else r.legacyMode=!0;return r}return u(n,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(t){this.legacyMode||this.props.date!==t.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var t=this.props,e=t.date,n=t.now,r=t.precision,o=t.controlled,i=t.overtime;return function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.now,o=void 0===r?Date.now:r,i=n.precision,a=void 0===i?0:i,s=n.controlled,u=n.offsetTime,c=void 0===u?0:u,l=n.overtime;e="string"==typeof t?new Date(t).getTime():t instanceof Date?t.getTime():t,s||(e+=c);var f=s?e:e-o(),p=Math.min(20,Math.max(0,a)),d=Math.round(1e3*parseFloat(((l?f:Math.max(0,f))/1e3).toFixed(p))),m=Math.abs(d)/1e3;return{total:d,days:Math.floor(m/86400),hours:Math.floor(m/3600%24),minutes:Math.floor(m/60%60),seconds:Math.floor(m%60),milliseconds:Number((m%1*1e3).toFixed()),completed:d<=0}}(e,{now:n,precision:r,controlled:o,offsetTime:this.offsetTime,overtime:i})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(t){this.legacyCountdownRef.current.addTime(t)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(t){return this.state.status===t}},{key:"setTimeDeltaState",value:function(t,e,n){var r=this;if(this.mounted){var o=t.completed&&!this.state.timeDelta.completed,i=t.completed&&"STARTED"===e;o&&!this.props.overtime&&this.clearTimer();return this.setState(function(n){var o=e||n.status;return t.completed&&!r.props.overtime?o="COMPLETED":e||"COMPLETED"!==o||(o="STOPPED"),{timeDelta:t,status:o}},function(){n&&n(r.state.timeDelta),r.props.onComplete&&(o||i)&&r.props.onComplete(t,i)})}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var t=this.props,e=t.daysInHours,n=t.zeroPadTime,r=t.zeroPadDays,o=this.state.timeDelta;return Object.assign(Object.assign({},o),{api:this.getApi(),props:this.props,formatted:T(o,{daysInHours:e,zeroPadTime:n,zeroPadDays:r})})}},{key:"render",value:function(){if(this.legacyMode){var t=this.props,e=t.count,n=t.children,r=t.onComplete;return(0,o.createElement)(S,{ref:this.legacyCountdownRef,count:e,onComplete:r},n)}var i=this.props,a=i.className,s=i.overtime,u=i.children,c=i.renderer,l=this.getRenderProps();if(c)return c(l);if(u&&this.state.timeDelta.completed&&!s)return(0,o.cloneElement)(u,{countdown:l});var f=l.formatted,p=f.days,d=f.hours,m=f.minutes,h=f.seconds;return(0,o.createElement)("span",{className:a},l.total<0?"-":"",p,p?":":"",d,":",m,":",h)}}]),n}(o.Component);D.defaultProps=Object.assign(Object.assign({},y),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0}),D.propTypes={date:(0,i.oneOfType)([(0,i.instanceOf)(Date),i.string,i.number]),daysInHours:i.bool,zeroPadTime:i.number,zeroPadDays:i.number,controlled:i.bool,intervalDelay:i.number,precision:i.number,autoStart:i.bool,overtime:i.bool,className:i.string,children:i.element,renderer:i.func,now:i.func,onMount:i.func,onStart:i.func,onPause:i.func,onStop:i.func,onTick:i.func,onComplete:i.func};var C=D,b=n(42978),g=n(54299);var A=()=>{const{created:t}=(0,o.useContext)(b.Ay),e=(0,r.default)(new Date(t),30);return o.createElement(C,{date:e,renderer:t=>{let{formatted:e}=t;return`${e.minutes}:${e.seconds}`},onComplete:()=>{(0,g.Up)().then(b.S9)}})}},49745:function(t,e,n){"use strict";n.d(e,{DW:function(){return o},Gc:function(){return r}});let r=function(t){return t[t.RUSSIA=1]="RUSSIA",t[t.NOT_RUSSIA=2]="NOT_RUSSIA",t[t.WORLD=3]="WORLD",t}({}),o=function(t){return t[t.CASH=1]="CASH",t[t.CARD=2]="CARD",t[t.CARD_AND_CASH=3]="CARD_AND_CASH",t}({});e.Ay={CASH:1,CARD:3,INTERNATIONAL_CARD:4}},52225:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var r=n(96540),o=n(65390);function i(t,e){(0,r.useEffect)(()=>{const n=n=>{t.current&&!t.current.contains(n.target)&&e(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,e])}n.d(e,["_",0,function(t,e){void 0===e&&(e="RUB");const{0:n,1:i}=(0,r.useState)(!1),{allTicketCount:a,allEventSourceIds:s}=(0,r.useMemo)(()=>t.reduce((t,e)=>(t.allTicketCount+=Number(e.count),t.allEventSourceIds.push(e.event_source_id),t),{allTicketCount:0,allEventSourceIds:[]}),[t]);return(0,r.useEffect)(()=>{s.map(t=>{o.A.datesPrices(t,e||"RUB").then(t=>{if(t.some(t=>t.use_standing))return i(!0)})})},[]),{allTicketCount:a,isHasStandingTickets:n}}])},80039:function(t,e,n){"use strict";n.d(e,{t:function(){return a}});var r=n(96540),o=n(35764),i=n(76341);function a(){const t=(0,r.useContext)(i.Dx),{0:e,1:n}=(0,r.useState)(null);return(0,r.useEffect)(()=>
1{if(null==t||!t.ya_metric_id)return;let r=0;const i=()=>{r+=1,!e&&r<3?(0,o.Ay)("getClientID",t=>{n(t||null)}):r<3?setTimeout(i,1e3):(console.warn("Yandex-metrica не загÑÑжен"),n(null))};0===r&&i()},[]),{clientId:e}}},63945:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},62429:function(t,e,n){var r=n(80909);t.exports=function(t,e,n,o){return r(t,function(t,r,i){e(o,t,n(t),i)}),o}},42e3:function(t,e,n){var r=n(63945),o=n(62429),i=n(15389),a=n(56449);t.exports=function(t,e){return function(n,s){var u=a(n)?r:o,c=e?e():{};return u(n,t,i(s,2),c)}}},94394:function(t,e,n){var r=n(43360),o=n(42e3),i=Object.prototype.hasOwnProperty,a=o(function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])});t.exports=a},6146:function(t,e,n){var r=n(96540);function o(t){return r.createElement("svg",t,r.createElement("path",{d:"M13.5553 12.0107L23.6827 1.91763C24.1058 1.49054 24.1058 0.798661 23.6827 0.371574C23.2671 -0.0631459 22.5807 -0.076202 22.1491 0.342403L12.0217 10.4355L2.02452 0.342403C1.81956 0.123841 1.53438 0 1.23603 0C0.937688 0 0.652504 0.123841 0.447544 0.342403C0.0724008 0.755035 0.0724008 1.38831 0.447544 1.80094L10.4447 11.8795L0.317335 21.958C-0.105778 22.3851 -0.105778 23.077 0.317335 23.504C0.518765 23.712 0.795794 23.828 1.08412 23.8249C1.37801 23.8489 1.66935 23.7545 1.89431 23.5624L12.0217 13.4693L22.1491 23.6791C22.3505 23.8871 22.6276 24.003 22.9159 23.9999C23.2039 24.0013 23.4803 23.8856 23.6827 23.6791C24.1058 23.252 24.1058 22.5601 23.6827 22.133L13.5553 12.0107Z"}))}o.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.exports=o,o.default=o}}]);
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.