!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/bundle/",o(o.s=42)}([function(e,t,o){"use strict";e.exports=o(56)},function(e,t,o){"use strict";o.d(t,"i",(function(){return a})),o.d(t,"s",(function(){return i})),o.d(t,"v",(function(){return s})),o.d(t,"h",(function(){return u})),o.d(t,"a",(function(){return h})),o.d(t,"g",(function(){return l})),o.d(t,"p",(function(){return c})),o.d(t,"q",(function(){return f})),o.d(t,"d",(function(){return m})),o.d(t,"f",(function(){return d})),o.d(t,"j",(function(){return y})),o.d(t,"n",(function(){return g})),o.d(t,"r",(function(){return p})),o.d(t,"m",(function(){return w})),o.d(t,"k",(function(){return q})),o.d(t,"c",(function(){return v})),o.d(t,"t",(function(){return x})),o.d(t,"u",(function(){return b})),o.d(t,"o",(function(){return _})),o.d(t,"e",(function(){return E})),o.d(t,"l",(function(){return T})),o.d(t,"b",(function(){return S}));var r=o(2),n=o(12);function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function s(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function u(e,t,o,r,n){var a=e[t];if(void 0!==a){if("boolean"!==o&&"string"!==o)throw new TypeError("invalid type");if("boolean"===o&&(a=Boolean(a)),"string"===o&&(a=s(a)),void 0!==r&&!r.filter((function(e){return e==a})).length)throw new RangeError(a+" is not within "+r.join(", "));return a}return n}function h(e,t,o,r){if(void 0!==e){if(e=Number(e),isNaN(e)||eo)throw new RangeError(e+" is outside of range ["+t+", "+o+"]");return Math.floor(e)}return r}function l(e,t,o,r,n){return h(e[t],o,r,n)}function c(e,t,o,r){e.get(t)||e.set(t,Object.create(null)),e.get(t)[o]=r}function f(e,t,o){for(var r=0,n=Object.keys(o);r-1;)n=e.indexOf("}",o),Object(r.a)(n>o,"Invalid pattern "+e),o>a&&t.push({type:"literal",value:e.substring(a,o)}),t.push({type:e.substring(o+1,n),value:void 0}),a=n+1,o=e.indexOf("{",a);return a1&&(o=x(t,0,0))}t=o.roundedNumber;var n=o.formattedString,a=o.integerDigitsCount,i=e.minimumIntegerDigits;a0&&"0"===r[r.length-1];)r=r.slice(0,-1),d--;return"."===r[r.length-1]&&(r=r.slice(0,-1)),{formattedString:r,roundedNumber:s,integerDigitsCount:n}}function b(e,t,o){var r,n,a,i,s=o;if(0===e)r=_("0",s),n=0,a=0;else{var u=e.toString(),h=u.indexOf("e"),l=u.split("e"),c=l[0],f=l[1],m=c.replace(".","");if(h>=0&&m.length<=s)n=+f,r=m+_("0",s-m.length),a=e;else{var d=(n=E(e))-s+1,y=Math.round(p(e,d));p(y,s-1)>=10&&(n+=1,y=Math.floor(y/10)),r=y.toString(),a=p(y,s-1-n)}}if(n>=s-1?(r+=_("0",n-s+1),i=n+1):n>=0?(r=r.slice(0,n+1)+"."+r.slice(n+1),i=n+1):(r="0."+_("0",-n-1)+r,i=1),r.indexOf(".")>=0&&o>t){for(var g=o-t;g>0&&"0"===r[r.length-1];)r=r.slice(0,-1),g--;"."===r[r.length-1]&&(r=r.slice(0,-1))}return{formattedString:r,roundedNumber:a,integerDigitsCount:i};function p(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}function _(e,t){if("function"==typeof e.repeat)return e.repeat(t);for(var o=new Array(t),r=0;r-1)return!0;var t=e.split("-per-");return 2===t.length&&!(C.indexOf(t[0])<0||C.indexOf(t[1])<0)}function S(e,t,o){var r=o.value;Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r})}},function(e,t,o){"use strict";function r(e,t,o){if(void 0===o&&(o=Error),!e)throw new o(t)}o.d(t,"a",(function(){return r}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=JSON.parse(decodeURI("%7B%22urlOrderCall%22:%22https://callback3.onlinepbx.ru/order-call%22,%22urlGetDestination%22:%22https://callback3.onlinepbx.ru/get-destination%22,%22widgetKey%22:%227737231f-6275-4346-86c7-912a28d1170a%22,%22urlGetCookie%22:%22https://callback3.onlinepbx.ru/get-cookies%22,%22srcSoundsUrl%22:%22https://callback3.onlinepbx.ru/sound%22,%22srcStylesUrl%22:%22https://callback3.onlinepbx.ru/styles.css%22,%22scriptUrl%22:%22https://callback3.onlinepbx.ru%22,%22isCirclePhone%22:true,%22colorHex%22:%22#000000%22,%22bottom%22:5,%22right%22:9,%22texts%22:%7B%22mobile_descripiton%22:%22%D0%9E%D1%81%D1%82%D0%B0%D0%B2%D1%8C%D1%82%D0%B5%20%D1%81%D0%B2%D0%BE%D0%B9%20%D0%BD%D0%BE%D0%BC%D0%B5%D1%80%20%D1%82%D0%B5%D0%BB%D0%B5%D1%84%D0%BE%D0%BD%D0%B0%20%D0%B8%20%D0%BC%D1%8B%20%D0%BF%D0%B5%D1%80%D0%B5%D0%B7%D0%B2%D0%BE%D0%BD%D0%B8%D0%BC%20%D0%B2%20%D0%B1%D0%BB%D0%B8%D0%B6%D0%B0%D0%B9%D1%88%D0%B5%D0%B5%20%D0%B2%D1%80%D0%B5%D0%BC%D1%8F!%22,%22mobile_button%22:%22%D0%96%D0%B4%D1%83%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BA%D0%B0%22,%22mobile_feed_back%22:%22%D0%A1%D0%BF%D0%B0%D1%81%D0%B8%D0%B1%D0%BE%20%D0%B7%D0%B0%20%D0%B7%D0%B0%D1%8F%D0%B2%D0%BA%D1%83.%20%D0%9C%D1%8B%20%D0%B2%D0%B0%D0%BC%20%D0%BF%D0%BE%D0%B7%D0%B2%D0%BE%D0%BD%D0%B8%D0%BC.%22,%22mobile_input_prefix%22:%22+7%22,%22web_descripiton%22:%22%D0%92%D1%8B%20%D0%BF%D0%BE%D0%B7%D0%B2%D0%BE%D0%BD%D0%B8%D1%82%D0%B5%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%BC%D1%83%D1%8E%20%D1%81%20%D1%81%D0%B0%D0%B9%D1%82%D0%B0.%20%D0%94%D0%BB%D1%8F%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BA%D0%B0%20%D0%BD%D1%83%D0%B6%D0%B5%D0%BD%20%D0%BC%D0%B8%D0%BA%D1%80%D0%BE%D1%84%D0%BE%D0%BD.%22,%22web_button%22:%22%D0%9F%D0%BE%D0%B7%D0%B2%D0%BE%D0%BD%D0%B8%D1%82%D1%8C%20%D0%B1%D0%B5%D1%81%D0%BF%D0%BB%D0%B0%D1%82%D0%BD%D0%BE%22%7D,%22verto_caller_id_name%22:%22callback_%22,%22analityc%22:%7B%22id%22:4431,%22google%22:%7B%22id%22:4431,%22google_category_mobile_mode_show%22:%22%22,%22google_goal_mobile_mode_show%22:%22%22,%22google_category_mobile_mode_call%22:%22%22,%22google_goal_mobile_mode_call%22:%22%22%7D,%22yandex%22:%7B%22id%22:4431,%22yandex_id%22:%22%22,%22yandex_goal_mobile_mode_show%22:%22%22,%22yandex_goal_mobile_mode_call%22:%22%22%7D%7D,%22localization%22:%7B%22locale%22:%22ru%22,%22messages%22:%7B%22widget.mobile.license.agreement%22:%22%D0%9D%D0%B0%D0%B6%D0%B8%D0%BC%D0%B0%D1%8F%20%C2%AB%7Bmobile_button%7D%C2%BB,%20%D0%B2%D1%8B%20%D1%81%D0%BE%D0%B3%D0%BB%D0%B0%D1%88%D0%B0%D0%B5%D1%82%D0%B5%D1%81%D1%8C%20%D1%81%20%22,%22widget.mobile.license.agreement.link%22:%22%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%B8%D1%8F%D0%BC%D0%B8.%22,%22widget.tab.mobile%22:%22%D0%9E%D0%B1%D1%80%D0%B0%D1%82%D0%BD%D1%8B%D0%B9%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BE%D0%BA%22,%22widget.tab.web%22:%22%D0%97%D0%B2%D0%BE%D0%BD%D0%BE%D0%BA%20%D1%87%D0%B5%D1%80%D0%B5%D0%B7%20%D1%81%D0%B0%D0%B9%D1%82%22,%22widget.error.webrtc%22:%22%D0%9D%D0%B5%20%D1%83%D0%B4%D0%B0%D0%BB%D0%BE%D1%81%D1%8C%20%D1%81%D0%B4%D0%B5%D0%BB%D0%B0%D1%82%D1%8C%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BE%D0%BA.%20%D0%9F%D0%BE%D0%BF%D1%80%D0%BE%D0%B1%D1%83%D0%B9%D1%82%D0%B5%20%D0%B5%D1%89%D1%91%20%D1%80%D0%B0%D0%B7.%22,%22widget.error.callback%22:%22%D0%9D%D0%B5%20%D1%83%D0%B4%D0%B0%D0%BB%D0%BE%D1%81%D1%8C%20%D1%81%D0%B4%D0%B5%D0%BB%D0%B0%D1%82%D1%8C%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BE%D0%BA.%20%D0%9F%D0%BE%D0%BF%D1%80%D0%BE%D0%B1%D1%83%D0%B9%D1%82%D0%B5%20%D0%B5%D1%89%D1%91%20%D1%80%D0%B0%D0%B7.%22,%22widget.error.webrtc.microphone%22:%22%D0%A0%D0%B0%D0%B7%D1%80%D0%B5%D1%88%D0%B8%D1%82%D0%B5%20%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%20%D0%BA%20%D0%BC%D0%B8%D0%BA%D1%80%D0%BE%D1%84%D0%BE%D0%BD%D1%83,%20%D1%87%D1%82%D0%BE%D0%B1%D1%8B%20%D1%81%D0%BE%D0%B2%D0%B5%D1%80%D1%88%D0%B8%D1%82%D1%8C%20%D0%B7%D0%B2%D0%BE%D0%BD%D0%BE%D0%BA%20%D1%87%D0%B5%D1%80%D0%B5%D0%B7%20%D1%81%D0%B0%D0%B9%D1%82.%22,%22widget.error.webrtc.microphone.button%22:%22%D0%98%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%86%D0%B8%D1%8F%22%7D%7D,%22modes%22:%5B%22mobile%22,%22web%22%5D%7D"));t.default=r},function(e,t,o){"use strict";o.d(t,"a",(function(){return u})),o.d(t,"b",(function(){return f})),o.d(t,"d",(function(){return d})),o.d(t,"c",(function(){return g})),o.d(t,"e",(function(){return p}));var r,n=o(2),a=o(1),i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(){return(s=Object.assign||function(e){for(var t,o=1,r=arguments.length;o2){var x=l.indexOf("-x-");if(-1===x)l+=f;else{var b=l.slice(0,x),_=l.slice(x,l.length);l=b+f+_}l=Intl.getCanonicalLocales(l)[0]}return c.locale=l,c}}function h(e,t){Object(n.a)(2===t.length,"key must have 2 elements");var o=e.length,r="-"+t+"-",a=e.indexOf(r);if(-1!==a){for(var i=a+4,s=i,u=i,h=!1;!h;){var l=e.indexOf("-",u);2===(-1===l?o-u:l-u)?h=!0:-1===l?(s=o,h=!0):(s=l,u=l+1)}return e.slice(i,s)}if(r="-"+t,-1!==(a=e.indexOf(r))&&a+3===o)return""}var l=/-u(?:-[0-9a-z]{2,8})+/gi;function c(e,t){for(var o=t;;){if(~e.indexOf(o))return o;var r=o.lastIndexOf("-");if(!~r)return;r>=2&&"-"===o[r-2]&&(r-=2),o=o.slice(0,r)}}function f(e){for(var t=[e],o=e.split("-"),r=o.length;r>1;r--)t.push(o.slice(0,r-1).join("-"));return t}function m(e,t){for(var o=[],r=0,n=t;r=0;r--){var n=t[r](e);if(n)return n}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+o+" argument when connecting component "+r.wrappedComponentName+".")}}function F(e,t){return e===t}function W(e){var t=void 0===e?{}:e,o=t.connectHOC,r=void 0===o?_:o,n=t.mapStateToPropsFactories,a=void 0===n?M:n,i=t.mapDispatchToPropsFactories,s=void 0===i?I:i,u=t.mergePropsFactories,h=void 0===u?D:u,l=t.selectorFactory,m=void 0===l?L:l;return function(e,t,o,n){void 0===n&&(n={});var i=n,u=i.pure,l=void 0===u||u,d=i.areStatesEqual,y=void 0===d?F:d,g=i.areOwnPropsEqual,p=void 0===g?C:g,w=i.areStatePropsEqual,k=void 0===w?C:w,q=i.areMergedPropsEqual,v=void 0===q?C:q,x=f(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),b=j(e,a,"mapStateToProps"),_=j(t,s,"mapDispatchToProps"),E=j(o,h,"mergeProps");return r(m,c({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:b,initMapDispatchToProps:_,initMergeProps:E,pure:l,areStatesEqual:y,areOwnPropsEqual:p,areStatePropsEqual:k,areMergedPropsEqual:v},x))}}var U=W();function z(){return Object(r.useContext)(a)}function B(e){void 0===e&&(e=a);var t=e===a?z:function(){return Object(r.useContext)(e)};return function(){return t().store}}var V=B();function H(e){void 0===e&&(e=a);var t=e===a?V:B(e);return function(){return t().dispatch}}var $=H(),G=function(e,t){return e===t};function K(e){void 0===e&&(e=a);var t=e===a?z:function(){return Object(r.useContext)(e)};return function(e,o){void 0===o&&(o=G);var n=t();return function(e,t,o,n){var a,i=Object(r.useReducer)((function(e){return e+1}),0)[1],s=Object(r.useMemo)((function(){return new h(o,n)}),[o,n]),u=Object(r.useRef)(),l=Object(r.useRef)(),c=Object(r.useRef)();try{a=e!==l.current||u.current?e(o.getState()):c.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return g((function(){l.current=e,c.current=a,u.current=void 0})),g((function(){function e(){try{var e=l.current(o.getState());if(t(e,c.current))return;c.current=e}catch(e){u.current=e}i({})}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[o,s]),a}(e,o,n.store,n.subscription)}}var X,Z=K(),Q=o(8);X=Q.unstable_batchedUpdates,i=X},function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"b",(function(){return n}));var r=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function n(e){return e.replace(/^(.*?)-/,"")}},function(e,t,o){"use strict";o.r(t),o.d(t,"__DO_NOT_USE__ActionTypes",(function(){return a})),o.d(t,"applyMiddleware",(function(){return g})),o.d(t,"bindActionCreators",(function(){return c})),o.d(t,"combineReducers",(function(){return h})),o.d(t,"compose",(function(){return y})),o.d(t,"createStore",(function(){return s}));var r=o(20),n=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+n(),REPLACE:"@@redux/REPLACE"+n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+n()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,o){var n;if("function"==typeof t&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===o&&(o=t,t=void 0),void 0!==o){if("function"!=typeof o)throw new Error("Expected the enhancer to be a function.");return o(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,h=t,l=[],c=l,f=!1;function m(){c===l&&(c=l.slice())}function d(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return h}function y(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return m(),c.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,m();var o=c.indexOf(e);c.splice(o,1),l=null}}}function g(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,h=u(h,e)}finally{f=!1}for(var t=l=c,o=0;o0){for(t=1,o=1;t",!1),f=be(">",!1),m=be("1&&"}"===e)},re=be("\n",!1),ne=Ee("argNameOrNumber"),ae=Ee("validTag"),ie=Ee("argNumber"),se=be("0",!1),ue=/^[1-9]/,he=_e([["1","9"]],!1,!1),le=/^[0-9]/,ce=_e([["0","9"]],!1,!1),fe=Ee("argName"),me=Ee("tagName"),de=0,ye=0,ge=[{line:1,column:1}],pe=0,we=[],ke=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function qe(){return e.substring(ye,de)}function ve(){return Te(ye,de)}function xe(e,t){throw function(e,t){return new q(e,[],"",t)}(e,t=void 0!==t?t:Te(ye,de))}function be(e,t){return{type:"literal",text:e,ignoreCase:t}}function _e(e,t,o){return{type:"class",parts:e,inverted:t,ignoreCase:o}}function Ee(e){return{type:"other",description:e}}function Ce(t){var o,r=ge[t];if(r)return r;for(o=t-1;!ge[o];)o--;for(r={line:(r=ge[o]).line,column:r.column};ope&&(pe=de,we=[]),we.push(e))}function Oe(e,t,o){return new q(q.buildMessage(e,t),e,t,o)}function Pe(){return Ie()}function Ie(){var e,t;for(e=[],t=Me();t!==n;)e.push(t),t=Me();return e}function Me(){var t,o;return t=de,ye=de,(!at?void 0:n)!==n&&(o=function(){var e,t,o,a;ke++,(e=Re())===n&&(e=de,(t=Ae())!==n&&(o=Ie())!==n&&(a=Le())!==n?(ye=e,s=o,(i=t)!==(u=a)&&xe('Mismatch tag "'+i+'" !== "'+u+'"',ve()),t=k({type:r.tag,value:i,children:s},nt()),e=t):(de=e,e=n));var i,s,u;ke--,e===n&&(t=n,0===ke&&Se(l));return e}())!==n?(ye=t,t=o):(de=t,t=n),t===n&&(t=function(){var e,t;e=de,(t=Ne())!==n&&(ye=e,o=t,t=k({type:r.literal,value:o},nt()));var o;return e=t}())===n&&(t=function(){var t,o,a,i;ke++,t=de,123===e.charCodeAt(de)?(o="{",de++):(o=n,0===ke&&Se(y));o!==n&&Ge()!==n&&(a=Ye())!==n&&Ge()!==n?(125===e.charCodeAt(de)?(i="}",de++):(i=n,0===ke&&Se(g)),i!==n?(ye=t,s=a,o=k({type:r.argument,value:s},nt()),t=o):(de=t,t=n)):(de=t,t=n);var s;ke--,t===n&&(o=n,0===ke&&Se(d));return t}())===n&&(t=function(){var t;(t=function(){var t,o,r,a,i,s,u,h,l;t=de,123===e.charCodeAt(de)?(o="{",de++):(o=n,0===ke&&Se(y));o!==n&&Ge()!==n&&(r=Ye())!==n&&Ge()!==n?(44===e.charCodeAt(de)?(a=",",de++):(a=n,0===ke&&Se(S)),a!==n&&Ge()!==n?("number"===e.substr(de,6)?(i="number",de+=6):(i=n,0===ke&&Se(O)),i!==n&&Ge()!==n?(s=de,44===e.charCodeAt(de)?(u=",",de++):(u=n,0===ke&&Se(S)),u!==n&&(h=Ge())!==n&&(l=function(){var t,o,r;t=de,"::"===e.substr(de,2)?(o="::",de+=2):(o=n,0===ke&&Se(C));o!==n&&(r=function(){var e,t,o;if(e=de,t=[],(o=We())!==n)for(;o!==n;)t.push(o),o=We();else t=n;t!==n&&(ye=e,t=k({type:0,tokens:t},nt()));return e=t}())!==n?(ye=t,t=o=r):(de=t,t=n);t===n&&(t=de,ye=de,ot.push("numberArgStyle"),(o=(o=!0)?void 0:n)!==n&&(r=Ne())!==n?(ye=t,o=T(r),t=o):(de=t,t=n));return t}())!==n?s=u=[u,h,l]:(de=s,s=n),s===n&&(s=null),s!==n&&(u=Ge())!==n?(125===e.charCodeAt(de)?(h="}",de++):(h=n,0===ke&&Se(g)),h!==n?(ye=t,o=P(r,i,s),t=o):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n);return t}())===n&&(t=function(){var t,o,r,a,i,s,u,h,l;t=de,123===e.charCodeAt(de)?(o="{",de++):(o=n,0===ke&&Se(y));o!==n&&Ge()!==n&&(r=Ye())!==n&&Ge()!==n?(44===e.charCodeAt(de)?(a=",",de++):(a=n,0===ke&&Se(S)),a!==n&&Ge()!==n?("date"===e.substr(de,4)?(i="date",de+=4):(i=n,0===ke&&Se(j)),i===n&&("time"===e.substr(de,4)?(i="time",de+=4):(i=n,0===ke&&Se(F))),i!==n&&Ge()!==n?(s=de,44===e.charCodeAt(de)?(u=",",de++):(u=n,0===ke&&Se(S)),u!==n&&(h=Ge())!==n&&(l=function(){var t,o,r;t=de,"::"===e.substr(de,2)?(o="::",de+=2):(o=n,0===ke&&Se(C));o!==n&&(r=function(){var t,o,r,a;t=de,o=de,r=[],(a=Ue())===n&&(a=ze());if(a!==n)for(;a!==n;)r.push(a),(a=Ue())===n&&(a=ze());else r=n;o=r!==n?e.substring(o,de):r;o!==n&&(ye=t,o=k({type:1,pattern:o},nt()));return t=o}())!==n?(ye=t,t=o=r):(de=t,t=n);t===n&&(t=de,ye=de,ot.push("dateOrTimeArgStyle"),(o=(o=!0)?void 0:n)!==n&&(r=Ne())!==n?(ye=t,o=T(r),t=o):(de=t,t=n));return t}())!==n?s=u=[u,h,l]:(de=s,s=n),s===n&&(s=null),s!==n&&(u=Ge())!==n?(125===e.charCodeAt(de)?(h="}",de++):(h=n,0===ke&&Se(g)),h!==n?(ye=t,o=P(r,i,s),t=o):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n);return t}());return t}())===n&&(t=function(){var t,o,a,i,s,u,h,l,c,f,m;t=de,123===e.charCodeAt(de)?(o="{",de++):(o=n,0===ke&&Se(y));if(o!==n)if(Ge()!==n)if((a=Ye())!==n)if(Ge()!==n)if(44===e.charCodeAt(de)?(i=",",de++):(i=n,0===ke&&Se(S)),i!==n)if(Ge()!==n)if("plural"===e.substr(de,6)?(s="plural",de+=6):(s=n,0===ke&&Se(W)),s===n&&("selectordinal"===e.substr(de,13)?(s="selectordinal",de+=13):(s=n,0===ke&&Se(U))),s!==n)if(Ge()!==n)if(44===e.charCodeAt(de)?(u=",",de++):(u=n,0===ke&&Se(S)),u!==n)if(Ge()!==n)if(h=de,"offset:"===e.substr(de,7)?(l="offset:",de+=7):(l=n,0===ke&&Se(z)),l!==n&&(c=Ge())!==n&&(f=Ke())!==n?h=l=[l,c,f]:(de=h,h=n),h===n&&(h=null),h!==n)if((l=Ge())!==n){if(c=[],(f=Ve())!==n)for(;f!==n;)c.push(f),f=Ve();else c=n;c!==n&&(f=Ge())!==n?(125===e.charCodeAt(de)?(m="}",de++):(m=n,0===ke&&Se(g)),m!==n?(ye=t,o=function(e,t,o,n){return k({type:r.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:o?o[2]:0,options:n.reduce((function(e,t){var o=t.id,r=t.value,n=t.location;return o in e&&xe('Duplicate option "'+o+'" in plural element: "'+qe()+'"',ve()),e[o]={value:r,location:n},e}),{})},nt())}(a,s,h,c),t=o):(de=t,t=n)):(de=t,t=n)}else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;return t}())===n&&(t=function(){var t,o,a,i,s,u,h,l,c;t=de,123===e.charCodeAt(de)?(o="{",de++):(o=n,0===ke&&Se(y));if(o!==n)if(Ge()!==n)if((a=Ye())!==n)if(Ge()!==n)if(44===e.charCodeAt(de)?(i=",",de++):(i=n,0===ke&&Se(S)),i!==n)if(Ge()!==n)if("select"===e.substr(de,6)?(s="select",de+=6):(s=n,0===ke&&Se(B)),s!==n)if(Ge()!==n)if(44===e.charCodeAt(de)?(u=",",de++):(u=n,0===ke&&Se(S)),u!==n)if(Ge()!==n){if(h=[],(l=Be())!==n)for(;l!==n;)h.push(l),l=Be();else h=n;h!==n&&(l=Ge())!==n?(125===e.charCodeAt(de)?(c="}",de++):(c=n,0===ke&&Se(g)),c!==n?(ye=t,o=function(e,t){return k({type:r.select,value:e,options:t.reduce((function(e,t){var o=t.id,r=t.value,n=t.location;return o in e&&xe('Duplicate option "'+o+'" in select element: "'+qe()+'"',ve()),e[o]={value:r,location:n},e}),{})},nt())}(a,h),t=o):(de=t,t=n)):(de=t,t=n)}else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;else de=t,t=n;return t}())===n&&(t=function(){var t,o;t=de,35===e.charCodeAt(de)?(o="#",de++):(o=n,0===ke&&Se(h));o!==n&&(ye=t,o=k({type:r.pound},nt()));return t=o}()),t}function Ne(){var t,o,r,a;if(t=de,ye=de,(o=(o=at)?void 0:n)!==n){if(r=[],(a=Xe())===n&&(a=Ze())===n&&(a=Qe())===n&&(60===e.charCodeAt(de)?(a="<",de++):(a=n,0===ke&&Se(s))),a!==n)for(;a!==n;)r.push(a),(a=Xe())===n&&(a=Ze())===n&&(a=Qe())===n&&(60===e.charCodeAt(de)?(a="<",de++):(a=n,0===ke&&Se(s)));else r=n;r!==n?(ye=t,t=o=u(r)):(de=t,t=n)}else de=t,t=n;if(t===n){if(t=de,o=[],(r=Xe())===n&&(r=Ze())===n&&(r=Qe())===n&&(r=De()),r!==n)for(;r!==n;)o.push(r),(r=Xe())===n&&(r=Ze())===n&&(r=Qe())===n&&(r=De());else o=n;o!==n&&(ye=t,o=u(o)),t=o}return t}function De(){var t,o,r;return t=de,o=de,ke++,(r=Ae())===n&&(r=Le())===n&&(r=Re()),ke--,r===n?o=void 0:(de=o,o=n),o!==n?(60===e.charCodeAt(de)?(r="<",de++):(r=n,0===ke&&Se(s)),r!==n?(ye=t,t=o="<"):(de=t,t=n)):(de=t,t=n),t}function Re(){var t,o,a,i,u,h,l;return t=de,o=de,60===e.charCodeAt(de)?(a="<",de++):(a=n,0===ke&&Se(s)),a!==n&&(i=Je())!==n&&(u=Ge())!==n?("/>"===e.substr(de,2)?(h="/>",de+=2):(h=n,0===ke&&Se(c)),h!==n?o=a=[a,i,u,h]:(de=o,o=n)):(de=o,o=n),o!==n&&(ye=t,l=o,o=k({type:r.literal,value:l.join("")},nt())),t=o}function Ae(){var t,o,r,a;return t=de,60===e.charCodeAt(de)?(o="<",de++):(o=n,0===ke&&Se(s)),o!==n&&(r=Je())!==n?(62===e.charCodeAt(de)?(a=">",de++):(a=n,0===ke&&Se(f)),a!==n?(ye=t,t=o=r):(de=t,t=n)):(de=t,t=n),t}function Le(){var t,o,r,a;return t=de,"",de++):(a=n,0===ke&&Se(f)),a!==n?(ye=t,t=o=r):(de=t,t=n)):(de=t,t=n),t}function je(){var t,o,r,a,i;if(ke++,t=de,o=[],r=de,a=de,ke++,(i=He())===n&&(w.test(e.charAt(de))?(i=e.charAt(de),de++):(i=n,0===ke&&Se(v))),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n),r!==n)for(;r!==n;)o.push(r),r=de,a=de,ke++,(i=He())===n&&(w.test(e.charAt(de))?(i=e.charAt(de),de++):(i=n,0===ke&&Se(v))),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n);else o=n;return t=o!==n?e.substring(t,de):o,ke--,t===n&&(o=n,0===ke&&Se(p)),t}function Fe(){var t,o,r;return ke++,t=de,47===e.charCodeAt(de)?(o="/",de++):(o=n,0===ke&&Se(_)),o!==n&&(r=je())!==n?(ye=t,t=o=r):(de=t,t=n),ke--,t===n&&(o=n,0===ke&&Se(b)),t}function We(){var e,t,o,r;if(ke++,e=de,Ge()!==n)if((t=je())!==n){for(o=[],r=Fe();r!==n;)o.push(r),r=Fe();o!==n?(ye=e,e=function(e,t){return{stem:e,options:t}}(t,o)):(de=e,e=n)}else de=e,e=n;else de=e,e=n;return ke--,e===n&&(n,0===ke&&Se(E)),e}function Ue(){var t,o,r,a;if(t=de,39===e.charCodeAt(de)?(o="'",de++):(o=n,0===ke&&Se(I)),o!==n){if(r=[],(a=Xe())===n&&(M.test(e.charAt(de))?(a=e.charAt(de),de++):(a=n,0===ke&&Se(N))),a!==n)for(;a!==n;)r.push(a),(a=Xe())===n&&(M.test(e.charAt(de))?(a=e.charAt(de),de++):(a=n,0===ke&&Se(N)));else r=n;r!==n?(39===e.charCodeAt(de)?(a="'",de++):(a=n,0===ke&&Se(I)),a!==n?t=o=[o,r,a]:(de=t,t=n)):(de=t,t=n)}else de=t,t=n;if(t===n)if(t=[],(o=Xe())===n&&(D.test(e.charAt(de))?(o=e.charAt(de),de++):(o=n,0===ke&&Se(R))),o!==n)for(;o!==n;)t.push(o),(o=Xe())===n&&(D.test(e.charAt(de))?(o=e.charAt(de),de++):(o=n,0===ke&&Se(R)));else t=n;return t}function ze(){var t,o;if(t=[],A.test(e.charAt(de))?(o=e.charAt(de),de++):(o=n,0===ke&&Se(L)),o!==n)for(;o!==n;)t.push(o),A.test(e.charAt(de))?(o=e.charAt(de),de++):(o=n,0===ke&&Se(L));else t=n;return t}function Be(){var t,o,r,a,i,s,u;return t=de,Ge()!==n&&(o=tt())!==n&&Ge()!==n?(123===e.charCodeAt(de)?(r="{",de++):(r=n,0===ke&&Se(y)),r!==n?(ye=de,ot.push("select"),(!0?void 0:n)!==n&&(a=Ie())!==n?(125===e.charCodeAt(de)?(i="}",de++):(i=n,0===ke&&Se(g)),i!==n?(ye=t,s=o,u=a,ot.pop(),t=k({id:s,value:u},nt())):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n),t}function Ve(){var t,o,r,a,i,s,u;return t=de,Ge()!==n&&(o=function(){var t,o,r,a;return t=de,o=de,61===e.charCodeAt(de)?(r="=",de++):(r=n,0===ke&&Se(V)),r!==n&&(a=Ke())!==n?o=r=[r,a]:(de=o,o=n),(t=o!==n?e.substring(t,de):o)===n&&(t=tt()),t}())!==n&&Ge()!==n?(123===e.charCodeAt(de)?(r="{",de++):(r=n,0===ke&&Se(y)),r!==n?(ye=de,ot.push("plural"),(!0?void 0:n)!==n&&(a=Ie())!==n?(125===e.charCodeAt(de)?(i="}",de++):(i=n,0===ke&&Se(g)),i!==n?(ye=t,s=o,u=a,ot.pop(),t=k({id:s,value:u},nt())):(de=t,t=n)):(de=t,t=n)):(de=t,t=n)):(de=t,t=n),t}function He(){var t;return ke++,$.test(e.charAt(de))?(t=e.charAt(de),de++):(t=n,0===ke&&Se(G)),ke--,t===n&&(n,0===ke&&Se(H)),t}function $e(){var t;return ke++,X.test(e.charAt(de))?(t=e.charAt(de),de++):(t=n,0===ke&&Se(Z)),ke--,t===n&&(n,0===ke&&Se(K)),t}function Ge(){var t,o,r;for(ke++,t=de,o=[],r=He();r!==n;)o.push(r),r=He();return t=o!==n?e.substring(t,de):o,ke--,t===n&&(o=n,0===ke&&Se(Q)),t}function Ke(){var t,o,r,a,i;return ke++,t=de,45===e.charCodeAt(de)?(o="-",de++):(o=n,0===ke&&Se(J)),o===n&&(o=null),o!==n&&(r=et())!==n?(ye=t,a=o,t=o=(i=r)?a?-i:i:0):(de=t,t=n),ke--,t===n&&(o=n,0===ke&&Se(Y)),t}function Xe(){var t,o;return ke++,t=de,"''"===e.substr(de,2)?(o="''",de+=2):(o=n,0===ke&&Se(te)),o!==n&&(ye=t,o="'"),ke--,(t=o)===n&&(o=n,0===ke&&Se(ee)),t}function Ze(){var t,o,r,a,i,s;if(t=de,39===e.charCodeAt(de)?(o="'",de++):(o=n,0===ke&&Se(I)),o!==n)if((r=function(){var t,o,r,a;t=de,o=de,e.length>de?(r=e.charAt(de),de++):(r=n,0===ke&&Se(x));r!==n?(ye=de,(a=(a="<"===(i=r)||">"===i||"{"===i||"}"===i||rt()&&"#"===i)?void 0:n)!==n?o=r=[r,a]:(de=o,o=n)):(de=o,o=n);var i;t=o!==n?e.substring(t,de):o;return t}())!==n){for(a=de,i=[],"''"===e.substr(de,2)?(s="''",de+=2):(s=n,0===ke&&Se(te)),s===n&&(M.test(e.charAt(de))?(s=e.charAt(de),de++):(s=n,0===ke&&Se(N)));s!==n;)i.push(s),"''"===e.substr(de,2)?(s="''",de+=2):(s=n,0===ke&&Se(te)),s===n&&(M.test(e.charAt(de))?(s=e.charAt(de),de++):(s=n,0===ke&&Se(N)));(a=i!==n?e.substring(a,de):i)!==n?(39===e.charCodeAt(de)?(i="'",de++):(i=n,0===ke&&Se(I)),i===n&&(i=null),i!==n?(ye=t,t=o=r+a.replace("''","'")):(de=t,t=n)):(de=t,t=n)}else de=t,t=n;else de=t,t=n;return t}function Qe(){var t,o,r,a;return t=de,o=de,e.length>de?(r=e.charAt(de),de++):(r=n,0===ke&&Se(x)),r!==n?(ye=de,(a=(a=oe(r))?void 0:n)!==n?o=r=[r,a]:(de=o,o=n)):(de=o,o=n),o===n&&(10===e.charCodeAt(de)?(o="\n",de++):(o=n,0===ke&&Se(re))),t=o!==n?e.substring(t,de):o}function Ye(){var t,o;return ke++,t=de,(o=et())===n&&(o=tt()),t=o!==n?e.substring(t,de):o,ke--,t===n&&(o=n,0===ke&&Se(ne)),t}function Je(){var t,o;return ke++,t=de,(o=et())===n&&(o=function(){var t,o,r,a,i;ke++,t=de,o=[],45===e.charCodeAt(de)?(r="-",de++):(r=n,0===ke&&Se(J));r===n&&(r=de,a=de,ke++,(i=He())===n&&(i=$e()),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n));if(r!==n)for(;r!==n;)o.push(r),45===e.charCodeAt(de)?(r="-",de++):(r=n,0===ke&&Se(J)),r===n&&(r=de,a=de,ke++,(i=He())===n&&(i=$e()),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n));else o=n;t=o!==n?e.substring(t,de):o;ke--,t===n&&(o=n,0===ke&&Se(me));return t}()),t=o!==n?e.substring(t,de):o,ke--,t===n&&(o=n,0===ke&&Se(ae)),t}function et(){var t,o,r,a,i;if(ke++,t=de,48===e.charCodeAt(de)?(o="0",de++):(o=n,0===ke&&Se(se)),o!==n&&(ye=t,o=0),(t=o)===n){if(t=de,o=de,ue.test(e.charAt(de))?(r=e.charAt(de),de++):(r=n,0===ke&&Se(he)),r!==n){for(a=[],le.test(e.charAt(de))?(i=e.charAt(de),de++):(i=n,0===ke&&Se(ce));i!==n;)a.push(i),le.test(e.charAt(de))?(i=e.charAt(de),de++):(i=n,0===ke&&Se(ce));a!==n?o=r=[r,a]:(de=o,o=n)}else de=o,o=n;o!==n&&(ye=t,o=parseInt(o.join(""),10)),t=o}return ke--,t===n&&(o=n,0===ke&&Se(ie)),t}function tt(){var t,o,r,a,i;if(ke++,t=de,o=[],r=de,a=de,ke++,(i=He())===n&&(i=$e()),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n),r!==n)for(;r!==n;)o.push(r),r=de,a=de,ke++,(i=He())===n&&(i=$e()),ke--,i===n?a=void 0:(de=a,a=n),a!==n?(e.length>de?(i=e.charAt(de),de++):(i=n,0===ke&&Se(x)),i!==n?r=a=[a,i]:(de=r,r=n)):(de=r,r=n);else o=n;return t=o!==n?e.substring(t,de):o,ke--,t===n&&(o=n,0===ke&&Se(fe)),t}var ot=["root"];function rt(){return"plural"===ot[ot.length-1]}function nt(){return t&&t.captureLocation?{location:ve()}:{}}var at=t&&t.ignoreTag;if((o=i())!==n&&de===e.length)return o;throw o!==n&&de1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(I,(function(e,o,r,n,a,i){return"*"===r?t.minimumFractionDigits=o.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""})),n.options.length&&(t=S(S({},t),N(n.options[0])))}else if(M.test(n.stem))t=S(S({},t),N(n.stem));else{var a=D(n.stem);a&&(t=S(S({},t),a))}}return t}var L,j=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}();!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(L||(L={}));var F,W=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.code=o,n.originalMessage=r,n}return j(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),U=function(e){function t(t,o,r,n){return e.call(this,'Invalid values for "'+t+'": "'+o+'". Options are "'+Object.keys(r).join('", "')+'"',"INVALID_VALUE",n)||this}return j(t,e),t}(W),z=function(e){function t(t,o,r){return e.call(this,'Value for "'+t+'" must be of type '+o,"INVALID_VALUE",r)||this}return j(t,e),t}(W),B=function(e){function t(t,o){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+o+'"',"MISSING_VALUE",o)||this}return j(t,e),t}(W);function V(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(F||(F={}));var H=function(){return(H=Object.assign||function(e){for(var t,o=1,r=arguments.length;o needs to exist in the component ancestry.")}var ae={formats:{},messages:{},timeZone:void 0,textComponent:a.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function ie(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function se(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,o=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:T(Intl.DateTimeFormat,e.dateTime),getNumberFormat:T(Intl.NumberFormat,e.number),getMessageFormat:T(K,e.message),getRelativeTimeFormat:T(t,e.relativeTime),getPluralRules:T(Intl.PluralRules,e.pluralRules),getListFormat:T(o,e.list),getDisplayNames:T(r,e.displayNames)}}function ue(e,t,o,r){var n,a=e&&e[t];if(a&&(n=a[o]),n)return n;r(new Y("No "+t+" format named: "+o))}var he=o(5),le=function(){return(le=Object.assign||function(e){for(var t,o=1,r=arguments.length;o=a?h-u:h,c=Math.abs(l-a);this._updateTimer=setTimeout((function(){return o.setState({currentValueInSeconds:l})}),1e3*c)}}},t.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},t.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:ct(e.unit)?ht(e.value,e.unit):0}:null},t.prototype.render=function(){var e=this;return a.createElement(ye.Consumer,null,(function(t){ne(t);var o=t.formatRelativeTime,r=t.textComponent,n=e.props,i=n.children,s=n.value,u=n.unit,h=n.updateIntervalInSeconds,l=e.state.currentValueInSeconds,c=s||0,f=u;if(ct(u)&&"number"==typeof l&&h){var m=ut(f=st(l));c=Math.round(l/m)}var d=o(c,f,it({},e.props));return"function"==typeof i?i(d):r?a.createElement(r,null,d):d}))},t.displayName="FormattedRelativeTime",t.defaultProps={value:0,unit:"second"},t}(a.PureComponent),mt=function(e){var t=e.value,o=e.other,r=e.children,n=e.intl,i=n.formatPlural,s=n.textComponent,u=e[i(t,e)]||o;return"function"==typeof r?r(u):s?a.createElement(s,null,u):u};mt.defaultProps={type:"cardinal"},mt.displayName="FormattedPlural";var dt=ge(mt),yt=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),gt=function(){return(gt=Object.assign||function(e){for(var t,o=1,r=arguments.length;o0)return{value:Math.round(f),unit:"year"};var m=12*f+l.getMonth()-c.getMonth();if(Math.round(Math.abs(m))>0)return{value:Math.round(m),unit:"month"};var d=i/604800;return{value:Math.round(d),unit:"week"}}var a={second:45,minute:45,hour:22,day:5}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,o){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,s,u=i(e),h=1;h0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0;if(t.type!==h)return e;return u(u({},e),t.payload)},t.updateIntl=void 0;var n=r(o(29)),a=r(o(31)),i=r(o(67));function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e){for(var t=1;t({type:t.types.CREATE}),reset:()=>({type:t.types.RESET}),setCreatedAt:e=>({type:t.types.SET_CREATED_AT,payload:e}),setCallId:e=>({type:t.types.SET_CALL_ID,payload:e}),setStream:e=>({type:t.types.SET_STREAM,payload:e}),setIsMute:e=>({type:t.types.SET_IS_MUTE,payload:e})}},function(e,t,o){var r=o(71)((function(e,t,o){var r={};for(var n in o)r[n]=o[n];return r[e]=t,r}));e.exports=r},function(e,t,o){var r=o(16);e.exports=function(e){return function t(o){return 0===arguments.length||r(o)?t:e.apply(this,arguments)}}},function(e,t,o){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],t=0;t0||e instanceof Object)?t(e):null)},w.prototype.toError=function(){var e=this.req,t=e.method,o=e.url,r="cannot ".concat(t," ").concat(o," (").concat(this.status,")"),n=new Error(r);return n.status=this.status,n.method=t,n.url=o,n},f.Response=w,a(k.prototype),s(k.prototype),k.prototype.type=function(e){return this.set("Content-Type",f.types[e]||e),this},k.prototype.accept=function(e){return this.set("Accept",f.types[e]||e),this},k.prototype.auth=function(e,t,o){1===arguments.length&&(t=""),"object"===r(t)&&null!==t&&(o=t,t=""),o||(o={type:"function"==typeof btoa?"basic":"auto"});var n=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,o,n)},k.prototype.query=function(e){return"string"!=typeof e&&(e=d(e)),e&&this._query.push(e),this},k.prototype.attach=function(e,t,o){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,o||t.name)}return this},k.prototype._getFormData=function(){return this._formData||(this._formData=new n.FormData),this._formData},k.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var o=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),o(e,t)},k.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},k.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},k.prototype.ca=k.prototype.agent,k.prototype.buffer=k.prototype.ca,k.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},k.prototype.pipe=k.prototype.write,k.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},k.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||c,this._finalizeQueryString(),this._end()},k.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},k.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=f.getXHR();var t=this.xhr,o=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var o=t.readyState;if(o>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===o){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,o){o.total>0&&(o.percent=o.loaded/o.total*100,100===o.percent&&clearTimeout(e._uploadTimeoutTimer)),o.direction=t,e.emit("progress",o)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof o&&!this._isHost(o)){var n=this._header["content-type"],a=this._serializer||f.serialize[n?n.split(";")[0]:""];!a&&p(n)&&(a=f.serialize["application/json"]),a&&(o=a(o))}for(var i in this.header)null!==this.header[i]&&Object.prototype.hasOwnProperty.call(this.header,i)&&t.setRequestHeader(i,this.header[i]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===o?null:o)},f.agent=function(){return new l},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){l.prototype[e.toLowerCase()]=function(t,o){var r=new f.Request(e,t);return this._setDefaults(r),o&&r.end(o),r}})),l.prototype.del=l.prototype.delete,f.get=function(e,t,o){var r=f("GET",e);return"function"==typeof t&&(o=t,t=null),t&&r.query(t),o&&r.end(o),r},f.head=function(e,t,o){var r=f("HEAD",e);return"function"==typeof t&&(o=t,t=null),t&&r.query(t),o&&r.end(o),r},f.options=function(e,t,o){var r=f("OPTIONS",e);return"function"==typeof t&&(o=t,t=null),t&&r.send(t),o&&r.end(o),r},f.del=q,f.delete=q,f.patch=function(e,t,o){var r=f("PATCH",e);return"function"==typeof t&&(o=t,t=null),t&&r.send(t),o&&r.end(o),r},f.post=function(e,t,o){var r=f("POST",e);return"function"==typeof t&&(o=t,t=null),t&&r.send(t),o&&r.end(o),r},f.put=function(e,t,o){var r=f("PUT",e);return"function"==typeof t&&(o=t,t=null),t&&r.send(t),o&&r.end(o),r}},function(e,t,o){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return null!==e&&"object"===r(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameContextConsumer=t.FrameContextProvider=t.FrameContext=void 0;var r,n=o(0),a=(r=n)&&r.__esModule?r:{default:r};var i=void 0,s=void 0;"undefined"!=typeof document&&(i=document),"undefined"!=typeof window&&(s=window);var u=t.FrameContext=a.default.createContext({document:i,window:s}),h=u.Provider,l=u.Consumer;t.FrameContextProvider=h,t.FrameContextConsumer=l},function(e,t,o){"use strict";function r(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}o.d(t,"a",(function(){return r}))},function(e,t,o){o(43),e.exports=o(119)},function(e,t,o){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.store=void 0,o(44),o(47),o(48),o(49),o(50),o(53),o(54),o(55);const n=r(o(0)),a=r(o(8)),i=r(o(60)),s=r(o(72)),u=o(28),h=o(11),l=o(13),c=r(o(118)),f=r(o(3)),m={intl:f.default.localization};t.store=(0,l.compose)((0,l.applyMiddleware)(c.default))(l.createStore)(i.default,m);const d=document.createElement("div");document.body.appendChild(d),"object"!=typeof window.OnlinePBXWebWidget&&(window.OnlinePBXWebWidget={events:{}}),window.OnlinePBXWebWidget.destroy=()=>{document.body.removeChild(d);const e=document.querySelector(`[src="${f.default.scriptUrl}/?cb-id=${f.default.widgetKey}"]`);e&&document.body.removeChild(e),Reflect.deleteProperty(window,"OnlinePBXWebWidget")},a.default.render(n.default.createElement(h.Provider,{store:t.store},n.default.createElement(u.IntlProvider,{locale:f.default.localization.locale},n.default.createElement(s.default,null))),d);t.store.getState()},function(e,t,o){o(45)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(46);(void 0===Intl.PluralRules||!Intl.PluralRules.polyfilled&&"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1))&&Object.defineProperty(Intl,"PluralRules",{value:r.PluralRules,writable:!0,enumerable:!1,configurable:!0})},function(e,t,o){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,o=arguments.length;tt){for(var n=o-t;n>0&&"0"===r[r.length-1];)r=r.slice(0,r.length-1),n--;if("."===r[r.length-1])return r.slice(0,r.length-1)}return r}(i,s,u):function(e,t,o,r){for(var n=r-o,a=e.toFixed(r);n>0&&"0"===a[a.length-1];)a=a.slice(0,a.length-1),n--;"."===a[a.length-1]&&(a=a.slice(0,a.length-1));var i=a.split(".")[0].length;if(i=2&&a<=4&&(i<12||i>14)?"few":n&&0==a||n&&a>=5&&a<=9||n&&i>=11&&i<=14?"many":"other"}}},availableLocales:["ru"]})},function(e,t){Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{he:{categories:{cardinal:["one","two","many","other"],ordinal:["other"]},fn:function(e,t){var o=String(e).split("."),r=o[0],n=!o[1],a=Number(o[0])==e,i=a&&o[0].slice(-1);return t?"other":1==e&&n?"one":2==r&&n?"two":n&&(e<0||e>10)&&a&&0==i?"many":"other"}}},availableLocales:["he"]})},function(e,t,o){o(51)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(52);"RelativeTimeFormat"in Intl||Object.defineProperty(Intl,"RelativeTimeFormat",{value:r.default,writable:!0,enumerable:!1,configurable:!0})},function(e,t,o){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var n=o(7);var a=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function i(e){return e+""}function s(e,t,o,a){if(n.invariant("number"==typeof o,"value must be number, instead got "+typeof o,TypeError),n.invariant("string"==typeof a,"unit must be number, instead got "+typeof o,TypeError),isNaN(o)||o===1/0||o===-1/0)throw new RangeError("Invalid value "+o);var s=function(e){if(n.invariant("string"==typeof e,"unit must be a string, instead got "+typeof e,TypeError),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("Invalid unit "+e);return e}(a),u=n.getInternalSlot(e,t,"fields"),h=n.getInternalSlot(e,t,"style"),l=s;"short"===h?l=a+"-short":"narrow"===h&&(l=a+"-narrow"),l in u||(l=a);var c=u[l];if("auto"===n.getInternalSlot(e,t,"numeric")&&i(o)in c)return[{type:"literal",value:c[i(o)]}];var f,m,d="future";f=o,m=-0,((Object.is?Object.is(f,m):f===m?0!==f||1/f==1/m:f!=f&&m!=m)||o<0)&&(d="past");var y=c[d],g=n.getInternalSlot(e,t,"pluralRules"),p=n.getInternalSlot(e,t,"numberFormat"),w="function"==typeof p.formatToParts?p.formatToParts(Math.abs(o)):[{type:"literal",value:p.format(Math.abs(o)),unit:a}];return function(e,t,o){var a,i,s,u,h=n.partitionPattern(e),l=[];try{for(var c=r(h),f=c.next();!f.done;f=c.next()){var m=f.value;if(n.isLiteralPart(m))l.push({type:"literal",value:m.value});else{n.invariant("0"===m.type,"Malformed pattern "+e);try{for(var d=(s=void 0,r(o)),y=d.next();!y.done;y=d.next()){var g=y.value;l.push({type:g.type,value:g.value,unit:t})}}catch(e){s={error:e}}finally{try{y&&!y.done&&(u=d.return)&&u.call(d)}finally{if(s)throw s.error}}}}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return l}(y[g.select(o)],s,w)}var u=function(){function e(t,o){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat",!0);var r=Intl.getCanonicalLocales(t),i=Object.create(null),s=void 0===o?Object.create(null):n.toObject(o),u=n.getOption(s,"localeMatcher","string",["best fit","lookup"],"best fit");i.localeMatcher=u;var h=n.getOption(s,"numberingSystem","string",void 0,void 0);if(void 0!==h&&!a.test(h))throw new RangeError("Invalid numbering system "+h);i.nu=h;var l=n.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,i,e.relevantExtensionKeys,e.localeData),c=l.locale,f=l.nu;n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",c),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style",n.getOption(s,"style","string",["long","narrow","short"],"long")),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric",n.getOption(s,"numeric","string",["always","auto"],"always")),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"fields",e.localeData[c]),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberFormat",new Intl.NumberFormat(t)),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"pluralRules",new Intl.PluralRules(t)),n.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem",f)}return e.prototype.format=function(t,o){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("format was called on a invalid context");return s(e.__INTERNAL_SLOT_MAP__,this,Number(t),i(o)).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(t,o){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("formatToParts was called on a invalid context");return s(e.__INTERNAL_SLOT_MAP__,this,Number(t),i(o))},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");if(!n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("resolvedOptions was called on a invalid context");return{locale:n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),style:n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style"),numeric:n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric"),numberingSystem:n.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem")}},e.supportedLocalesOf=function(t,o){return n.supportedLocales(e.availableLocales,Intl.getCanonicalLocales(t),o)},e.__addLocaleData=function(){for(var t,o,a=[],i=0;iP.length&&P.push(e)}function N(e,t,o){return null==e?0:function e(t,o,r,n){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case a:case i:u=!0}}if(u)return r(n,t,""===o?"."+D(t,0):o),1;if(u=0,o=""===o?".":o+":",Array.isArray(t))for(var h=0;h