!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.uz/order-call%22,%22urlGetDestination%22:%22https://callback3.onlinepbx.uz/get-destination%22,%22widgetKey%22:%224b612927-7d94-4df8-b3a5-820f347ab464%22,%22urlGetCookie%22:%22https://callback3.onlinepbx.uz/get-cookies%22,%22srcSoundsUrl%22:%22https://callback3.onlinepbx.uz/sound%22,%22srcStylesUrl%22:%22https://callback3.onlinepbx.uz/styles.css%22,%22scriptUrl%22:%22https://callback3.onlinepbx.uz%22,%22isCirclePhone%22:false,%22colorHex%22:%22#0088CA%22,%22bottom%22:12,%22right%22:6,%22texts%22:%7B%22mobile_descripiton%22:%22%D0%9E%D1%81%D1%82%D0%B0%D0%B2%D1%8C%D1%82%D0%B5%20%D0%BD%D0%BE%D0%BC%D0%B5%D1%80%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.%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:5747,%22google%22:%7B%22id%22:5747,%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:5747,%22yandex_id%22:%2298492860%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%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)continue;o[r]=e[r]}return o}var m=o(5),d=o.n(m),y=o(19),g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,p=[],w=[null,null];function k(e,t){var o=e[1];return[t.payload,o+1]}function q(e,t,o){g((function(){return e.apply(void 0,t)}),o)}function v(e,t,o,r,n,a,i){e.current=r,t.current=n,o.current=!1,a.current&&(a.current=null,i())}function x(e,t,o,r,n,a,i,s,u,h){if(e){var l=!1,c=null,f=function(){if(!l){var e,o,f=t.getState();try{e=r(f,n.current)}catch(e){o=e,c=e}o||(c=null),e===a.current?i.current||u():(a.current=e,s.current=e,i.current=!0,h({type:"STORE_UPDATED",payload:{error:o}}))}};o.onStateChange=f,o.trySubscribe(),f();return function(){if(l=!0,o.tryUnsubscribe(),o.onStateChange=null,c)throw c}}}var b=function(){return[null,0]};function _(e,t){void 0===t&&(t={});var o=t,i=o.getDisplayName,s=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,l=void 0===u?"connectAdvanced":u,m=o.renderCountProp,g=void 0===m?void 0:m,_=o.shouldHandleStateChanges,E=void 0===_||_,C=o.storeKey,T=void 0===C?"store":C,S=(o.withRef,o.forwardRef),O=void 0!==S&&S,P=o.context,I=void 0===P?a:P,M=f(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),N=I;return function(t){var o=t.displayName||t.name||"Component",a=s(o),i=c({},M,{getDisplayName:s,methodName:l,renderCountProp:g,shouldHandleStateChanges:E,storeKey:T,displayName:a,wrappedComponentName:o,WrappedComponent:t}),u=M.pure;var m=u?r.useMemo:function(e){return e()};function _(o){var a=Object(r.useMemo)((function(){var e=o.forwardedRef,t=f(o,["forwardedRef"]);return[o.context,e,t]}),[o]),s=a[0],u=a[1],l=a[2],d=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(y.isContextConsumer)(n.a.createElement(s.Consumer,null))?s:N}),[s,N]),g=Object(r.useContext)(d),_=Boolean(o.store)&&Boolean(o.store.getState)&&Boolean(o.store.dispatch);Boolean(g)&&Boolean(g.store);var C=_?o.store:g.store,T=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,i)}(C)}),[C]),S=Object(r.useMemo)((function(){if(!E)return w;var e=new h(C,_?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[C,_,g]),O=S[0],P=S[1],I=Object(r.useMemo)((function(){return _?g:c({},g,{subscription:O})}),[_,g,O]),M=Object(r.useReducer)(k,p,b),D=M[0][0],R=M[1];if(D&&D.error)throw D.error;var A=Object(r.useRef)(),L=Object(r.useRef)(l),j=Object(r.useRef)(),F=Object(r.useRef)(!1),W=m((function(){return j.current&&l===L.current?j.current:T(C.getState(),l)}),[C,D,l]);q(v,[L,A,F,l,W,j,P]),q(x,[E,C,O,T,L,A,F,j,P,R],[C,O,T]);var U=Object(r.useMemo)((function(){return n.a.createElement(t,c({},W,{ref:u}))}),[u,t,W]);return Object(r.useMemo)((function(){return E?n.a.createElement(d.Provider,{value:I},U):U}),[d,U,I])}var C=u?n.a.memo(_):_;if(C.WrappedComponent=t,C.displayName=a,O){var S=n.a.forwardRef((function(e,t){return n.a.createElement(C,c({},e,{forwardedRef:t}))}));return S.displayName=a,S.WrappedComponent=t,d()(S,t)}return d()(C,t)}}function E(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function C(e,t){if(E(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(var n=0;n=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;o1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(k,(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=p(p({},t),v(n.options[0])))}else if(q.test(n.stem))t=p(p({},t),v(n.stem));else{var a=x(n.stem);a&&(t=p(p({},t),a))}}return t}var E,C=(E=function(e,t){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])})(e,t)},function(e,t){function o(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),T=function(){return(T=Object.assign||function(e){for(var t,o=1,r=arguments.length;o0){for(t=1,o=1;t",!1),f=Ee(">",!1),m=Ee("1&&"}"===e)},ae=Ee("\n",!1),ie=Te("argNameOrNumber"),se=Te("validTag"),ue=Te("argNumber"),he=Ee("0",!1),le=/^[1-9]/,ce=Ce([["1","9"]],!1,!1),fe=/^[0-9]/,me=Ce([["0","9"]],!1,!1),de=Te("argName"),ye=Te("tagName"),ge=0,pe=0,we=[{line:1,column:1}],ke=0,qe=[],ve=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 xe(){return e.substring(pe,ge)}function be(){return Oe(pe,ge)}function _e(e,t){throw function(e,t){return new S(e,[],"",t)}(e,t=void 0!==t?t:Oe(pe,ge))}function Ee(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ce(e,t,o){return{type:"class",parts:e,inverted:t,ignoreCase:o}}function Te(e){return{type:"other",description:e}}function Se(t){var o,r=we[t];if(r)return r;for(o=t-1;!we[o];)o--;for(r={line:(r=we[o]).line,column:r.column};oke&&(ke=ge,qe=[]),qe.push(e))}function Ie(e,t,o){return new S(S.buildMessage(e,t),e,t,o)}function Me(){return Ne()}function Ne(){var e,t;for(e=[],t=De();t!==n;)e.push(t),t=De();return e}function De(){var t,o;return t=ge,pe=ge,(!st?void 0:n)!==n&&(o=function(){var e,t,o,a;ve++,(e=Le())===n&&(e=ge,(t=je())!==n&&(o=Ne())!==n&&(a=Fe())!==n?(pe=e,s=o,(i=t)!==(u=a)&&_e('Mismatch tag "'+i+'" !== "'+u+'"',be()),t=T({type:r.tag,value:i,children:s},it()),e=t):(ge=e,e=n));var i,s,u;ve--,e===n&&(t=n,0===ve&&Pe(l));return e}())!==n?(pe=t,t=o):(ge=t,t=n),t===n&&(t=function(){var e,t;e=ge,(t=Re())!==n&&(pe=e,o=t,t=T({type:r.literal,value:o},it()));var o;return e=t}())===n&&(t=function(){var t,o,a,i;ve++,t=ge,123===e.charCodeAt(ge)?(o="{",ge++):(o=n,0===ve&&Pe(y));o!==n&&Xe()!==n&&(a=et())!==n&&Xe()!==n?(125===e.charCodeAt(ge)?(i="}",ge++):(i=n,0===ve&&Pe(g)),i!==n?(pe=t,s=a,o=T({type:r.argument,value:s},it()),t=o):(ge=t,t=n)):(ge=t,t=n);var s;ve--,t===n&&(o=n,0===ve&&Pe(d));return t}())===n&&(t=function(){var t;(t=function(){var t,o,r,a,i,s,u,h,l;t=ge,123===e.charCodeAt(ge)?(o="{",ge++):(o=n,0===ve&&Pe(y));o!==n&&Xe()!==n&&(r=et())!==n&&Xe()!==n?(44===e.charCodeAt(ge)?(a=",",ge++):(a=n,0===ve&&Pe(P)),a!==n&&Xe()!==n?("number"===e.substr(ge,6)?(i="number",ge+=6):(i=n,0===ve&&Pe(I)),i!==n&&Xe()!==n?(s=ge,44===e.charCodeAt(ge)?(u=",",ge++):(u=n,0===ve&&Pe(P)),u!==n&&(h=Xe())!==n&&(l=function(){var t,o,r;t=ge,"::"===e.substr(ge,2)?(o="::",ge+=2):(o=n,0===ve&&Pe(C));o!==n&&(r=function(){var e,t,o;if(e=ge,t=[],(o=ze())!==n)for(;o!==n;)t.push(o),o=ze();else t=n;t!==n&&(pe=e,t=T({type:0,tokens:r=t,parsedOptions:ut?_(r):{}},it()));var r;return e=t}())!==n?(pe=t,t=o=r):(ge=t,t=n);t===n&&(t=ge,pe=ge,nt.push("numberArgStyle"),(o=(o=!0)?void 0:n)!==n&&(r=Re())!==n?(pe=t,o=O(r),t=o):(ge=t,t=n));return t}())!==n?s=u=[u,h,l]:(ge=s,s=n),s===n&&(s=null),s!==n&&(u=Xe())!==n?(125===e.charCodeAt(ge)?(h="}",ge++):(h=n,0===ve&&Pe(g)),h!==n?(pe=t,o=M(r,i,s),t=o):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n);return t}())===n&&(t=function(){var t,o,r,a,i,s,u,h,l;t=ge,123===e.charCodeAt(ge)?(o="{",ge++):(o=n,0===ve&&Pe(y));o!==n&&Xe()!==n&&(r=et())!==n&&Xe()!==n?(44===e.charCodeAt(ge)?(a=",",ge++):(a=n,0===ve&&Pe(P)),a!==n&&Xe()!==n?("date"===e.substr(ge,4)?(i="date",ge+=4):(i=n,0===ve&&Pe(W)),i===n&&("time"===e.substr(ge,4)?(i="time",ge+=4):(i=n,0===ve&&Pe(U))),i!==n&&Xe()!==n?(s=ge,44===e.charCodeAt(ge)?(u=",",ge++):(u=n,0===ve&&Pe(P)),u!==n&&(h=Xe())!==n&&(l=function(){var t,o,r;t=ge,"::"===e.substr(ge,2)?(o="::",ge+=2):(o=n,0===ve&&Pe(C));o!==n&&(r=function(){var t,o,r,a;t=ge,o=ge,r=[],(a=Be())===n&&(a=Ve());if(a!==n)for(;a!==n;)r.push(a),(a=Be())===n&&(a=Ve());else r=n;o=r!==n?e.substring(o,ge):r;o!==n&&(pe=t,o=T({type:1,pattern:i=o,parsedOptions:ut?(s=i,u={},s.replace(w,(function(e){var t=e.length;switch(e[0]){case"G":u.era=4===t?"long":5===t?"narrow":"short";break;case"y":u.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":u.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":u.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":u.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");u.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");u.weekday=["short","long","narrow","short"][t-4];break;case"a":u.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":u.hourCycle="h12",u.hour=["numeric","2-digit"][t-1];break;case"H":u.hourCycle="h23",u.hour=["numeric","2-digit"][t-1];break;case"K":u.hourCycle="h11",u.hour=["numeric","2-digit"][t-1];break;case"k":u.hourCycle="h24",u.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":u.minute=["numeric","2-digit"][t-1];break;case"s":u.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":u.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),u):{}},it()));var i,s,u;return t=o}())!==n?(pe=t,t=o=r):(ge=t,t=n);t===n&&(t=ge,pe=ge,nt.push("dateOrTimeArgStyle"),(o=(o=!0)?void 0:n)!==n&&(r=Re())!==n?(pe=t,o=O(r),t=o):(ge=t,t=n));return t}())!==n?s=u=[u,h,l]:(ge=s,s=n),s===n&&(s=null),s!==n&&(u=Xe())!==n?(125===e.charCodeAt(ge)?(h="}",ge++):(h=n,0===ve&&Pe(g)),h!==n?(pe=t,o=M(r,i,s),t=o):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n);return t}());return t}())===n&&(t=function(){var t,o,a,i,s,u,h,l,c,f,m;t=ge,123===e.charCodeAt(ge)?(o="{",ge++):(o=n,0===ve&&Pe(y));if(o!==n)if(Xe()!==n)if((a=et())!==n)if(Xe()!==n)if(44===e.charCodeAt(ge)?(i=",",ge++):(i=n,0===ve&&Pe(P)),i!==n)if(Xe()!==n)if("plural"===e.substr(ge,6)?(s="plural",ge+=6):(s=n,0===ve&&Pe(z)),s===n&&("selectordinal"===e.substr(ge,13)?(s="selectordinal",ge+=13):(s=n,0===ve&&Pe(B))),s!==n)if(Xe()!==n)if(44===e.charCodeAt(ge)?(u=",",ge++):(u=n,0===ve&&Pe(P)),u!==n)if(Xe()!==n)if(h=ge,"offset:"===e.substr(ge,7)?(l="offset:",ge+=7):(l=n,0===ve&&Pe(V)),l!==n&&(c=Xe())!==n&&(f=Ze())!==n?h=l=[l,c,f]:(ge=h,h=n),h===n&&(h=null),h!==n)if((l=Xe())!==n){if(c=[],(f=$e())!==n)for(;f!==n;)c.push(f),f=$e();else c=n;c!==n&&(f=Xe())!==n?(125===e.charCodeAt(ge)?(m="}",ge++):(m=n,0===ve&&Pe(g)),m!==n?(pe=t,o=function(e,t,o,n){return T({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&&_e('Duplicate option "'+o+'" in plural element: "'+xe()+'"',be()),e[o]={value:r,location:n},e}),{})},it())}(a,s,h,c),t=o):(ge=t,t=n)):(ge=t,t=n)}else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;return t}())===n&&(t=function(){var t,o,a,i,s,u,h,l,c;t=ge,123===e.charCodeAt(ge)?(o="{",ge++):(o=n,0===ve&&Pe(y));if(o!==n)if(Xe()!==n)if((a=et())!==n)if(Xe()!==n)if(44===e.charCodeAt(ge)?(i=",",ge++):(i=n,0===ve&&Pe(P)),i!==n)if(Xe()!==n)if("select"===e.substr(ge,6)?(s="select",ge+=6):(s=n,0===ve&&Pe(H)),s!==n)if(Xe()!==n)if(44===e.charCodeAt(ge)?(u=",",ge++):(u=n,0===ve&&Pe(P)),u!==n)if(Xe()!==n){if(h=[],(l=He())!==n)for(;l!==n;)h.push(l),l=He();else h=n;h!==n&&(l=Xe())!==n?(125===e.charCodeAt(ge)?(c="}",ge++):(c=n,0===ve&&Pe(g)),c!==n?(pe=t,o=function(e,t){return T({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&&_e('Duplicate option "'+o+'" in select element: "'+xe()+'"',be()),e[o]={value:r,location:n},e}),{})},it())}(a,h),t=o):(ge=t,t=n)):(ge=t,t=n)}else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;else ge=t,t=n;return t}())===n&&(t=function(){var t,o;t=ge,35===e.charCodeAt(ge)?(o="#",ge++):(o=n,0===ve&&Pe(h));o!==n&&(pe=t,o=T({type:r.pound},it()));return t=o}()),t}function Re(){var t,o,r,a;if(t=ge,pe=ge,(o=(o=st)?void 0:n)!==n){if(r=[],(a=Qe())===n&&(a=Ye())===n&&(a=Je())===n&&(60===e.charCodeAt(ge)?(a="<",ge++):(a=n,0===ve&&Pe(s))),a!==n)for(;a!==n;)r.push(a),(a=Qe())===n&&(a=Ye())===n&&(a=Je())===n&&(60===e.charCodeAt(ge)?(a="<",ge++):(a=n,0===ve&&Pe(s)));else r=n;r!==n?(pe=t,t=o=u(r)):(ge=t,t=n)}else ge=t,t=n;if(t===n){if(t=ge,o=[],(r=Qe())===n&&(r=Ye())===n&&(r=Je())===n&&(r=Ae()),r!==n)for(;r!==n;)o.push(r),(r=Qe())===n&&(r=Ye())===n&&(r=Je())===n&&(r=Ae());else o=n;o!==n&&(pe=t,o=u(o)),t=o}return t}function Ae(){var t,o,r;return t=ge,o=ge,ve++,(r=je())===n&&(r=Fe())===n&&(r=Le()),ve--,r===n?o=void 0:(ge=o,o=n),o!==n?(60===e.charCodeAt(ge)?(r="<",ge++):(r=n,0===ve&&Pe(s)),r!==n?(pe=t,t=o="<"):(ge=t,t=n)):(ge=t,t=n),t}function Le(){var t,o,a,i,u,h,l;return t=ge,o=ge,60===e.charCodeAt(ge)?(a="<",ge++):(a=n,0===ve&&Pe(s)),a!==n&&(i=tt())!==n&&(u=Xe())!==n?("/>"===e.substr(ge,2)?(h="/>",ge+=2):(h=n,0===ve&&Pe(c)),h!==n?o=a=[a,i,u,h]:(ge=o,o=n)):(ge=o,o=n),o!==n&&(pe=t,l=o,o=T({type:r.literal,value:l.join("")},it())),t=o}function je(){var t,o,r,a;return t=ge,60===e.charCodeAt(ge)?(o="<",ge++):(o=n,0===ve&&Pe(s)),o!==n&&(r=tt())!==n?(62===e.charCodeAt(ge)?(a=">",ge++):(a=n,0===ve&&Pe(f)),a!==n?(pe=t,t=o=r):(ge=t,t=n)):(ge=t,t=n),t}function Fe(){var t,o,r,a;return t=ge,"",ge++):(a=n,0===ve&&Pe(f)),a!==n?(pe=t,t=o=r):(ge=t,t=n)):(ge=t,t=n),t}function We(){var t,o,r,a,i;if(ve++,t=ge,o=[],r=ge,a=ge,ve++,(i=Ge())===n&&(k.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(q))),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n),r!==n)for(;r!==n;)o.push(r),r=ge,a=ge,ve++,(i=Ge())===n&&(k.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(q))),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n);else o=n;return t=o!==n?e.substring(t,ge):o,ve--,t===n&&(o=n,0===ve&&Pe(p)),t}function Ue(){var t,o,r;return ve++,t=ge,47===e.charCodeAt(ge)?(o="/",ge++):(o=n,0===ve&&Pe(b)),o!==n&&(r=We())!==n?(pe=t,t=o=r):(ge=t,t=n),ve--,t===n&&(o=n,0===ve&&Pe(x)),t}function ze(){var e,t,o,r;if(ve++,e=ge,Xe()!==n)if((t=We())!==n){for(o=[],r=Ue();r!==n;)o.push(r),r=Ue();o!==n?(pe=e,e=function(e,t){return{stem:e,options:t}}(t,o)):(ge=e,e=n)}else ge=e,e=n;else ge=e,e=n;return ve--,e===n&&(n,0===ve&&Pe(E)),e}function Be(){var t,o,r,a;if(t=ge,39===e.charCodeAt(ge)?(o="'",ge++):(o=n,0===ve&&Pe(N)),o!==n){if(r=[],(a=Qe())===n&&(D.test(e.charAt(ge))?(a=e.charAt(ge),ge++):(a=n,0===ve&&Pe(R))),a!==n)for(;a!==n;)r.push(a),(a=Qe())===n&&(D.test(e.charAt(ge))?(a=e.charAt(ge),ge++):(a=n,0===ve&&Pe(R)));else r=n;r!==n?(39===e.charCodeAt(ge)?(a="'",ge++):(a=n,0===ve&&Pe(N)),a!==n?t=o=[o,r,a]:(ge=t,t=n)):(ge=t,t=n)}else ge=t,t=n;if(t===n)if(t=[],(o=Qe())===n&&(A.test(e.charAt(ge))?(o=e.charAt(ge),ge++):(o=n,0===ve&&Pe(L))),o!==n)for(;o!==n;)t.push(o),(o=Qe())===n&&(A.test(e.charAt(ge))?(o=e.charAt(ge),ge++):(o=n,0===ve&&Pe(L)));else t=n;return t}function Ve(){var t,o;if(t=[],j.test(e.charAt(ge))?(o=e.charAt(ge),ge++):(o=n,0===ve&&Pe(F)),o!==n)for(;o!==n;)t.push(o),j.test(e.charAt(ge))?(o=e.charAt(ge),ge++):(o=n,0===ve&&Pe(F));else t=n;return t}function He(){var t,o,r,a,i,s,u;return t=ge,Xe()!==n&&(o=rt())!==n&&Xe()!==n?(123===e.charCodeAt(ge)?(r="{",ge++):(r=n,0===ve&&Pe(y)),r!==n?(pe=ge,nt.push("select"),(!0?void 0:n)!==n&&(a=Ne())!==n?(125===e.charCodeAt(ge)?(i="}",ge++):(i=n,0===ve&&Pe(g)),i!==n?(pe=t,s=o,u=a,nt.pop(),t=T({id:s,value:u},it())):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n),t}function $e(){var t,o,r,a,i,s,u;return t=ge,Xe()!==n&&(o=function(){var t,o,r,a;return t=ge,o=ge,61===e.charCodeAt(ge)?(r="=",ge++):(r=n,0===ve&&Pe($)),r!==n&&(a=Ze())!==n?o=r=[r,a]:(ge=o,o=n),(t=o!==n?e.substring(t,ge):o)===n&&(t=rt()),t}())!==n&&Xe()!==n?(123===e.charCodeAt(ge)?(r="{",ge++):(r=n,0===ve&&Pe(y)),r!==n?(pe=ge,nt.push("plural"),(!0?void 0:n)!==n&&(a=Ne())!==n?(125===e.charCodeAt(ge)?(i="}",ge++):(i=n,0===ve&&Pe(g)),i!==n?(pe=t,s=o,u=a,nt.pop(),t=T({id:s,value:u},it())):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n)):(ge=t,t=n),t}function Ge(){var t;return ve++,K.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=n,0===ve&&Pe(X)),ve--,t===n&&(n,0===ve&&Pe(G)),t}function Ke(){var t;return ve++,Q.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=n,0===ve&&Pe(Y)),ve--,t===n&&(n,0===ve&&Pe(Z)),t}function Xe(){var t,o,r;for(ve++,t=ge,o=[],r=Ge();r!==n;)o.push(r),r=Ge();return t=o!==n?e.substring(t,ge):o,ve--,t===n&&(o=n,0===ve&&Pe(J)),t}function Ze(){var t,o,r,a,i;return ve++,t=ge,45===e.charCodeAt(ge)?(o="-",ge++):(o=n,0===ve&&Pe(te)),o===n&&(o=null),o!==n&&(r=ot())!==n?(pe=t,a=o,t=o=(i=r)?a?-i:i:0):(ge=t,t=n),ve--,t===n&&(o=n,0===ve&&Pe(ee)),t}function Qe(){var t,o;return ve++,t=ge,"''"===e.substr(ge,2)?(o="''",ge+=2):(o=n,0===ve&&Pe(re)),o!==n&&(pe=t,o="'"),ve--,(t=o)===n&&(o=n,0===ve&&Pe(oe)),t}function Ye(){var t,o,r,a,i,s;if(t=ge,39===e.charCodeAt(ge)?(o="'",ge++):(o=n,0===ve&&Pe(N)),o!==n)if((r=function(){var t,o,r,a;t=ge,o=ge,e.length>ge?(r=e.charAt(ge),ge++):(r=n,0===ve&&Pe(v));r!==n?(pe=ge,(a=(a="<"===(i=r)||">"===i||"{"===i||"}"===i||at()&&"#"===i)?void 0:n)!==n?o=r=[r,a]:(ge=o,o=n)):(ge=o,o=n);var i;t=o!==n?e.substring(t,ge):o;return t}())!==n){for(a=ge,i=[],"''"===e.substr(ge,2)?(s="''",ge+=2):(s=n,0===ve&&Pe(re)),s===n&&(D.test(e.charAt(ge))?(s=e.charAt(ge),ge++):(s=n,0===ve&&Pe(R)));s!==n;)i.push(s),"''"===e.substr(ge,2)?(s="''",ge+=2):(s=n,0===ve&&Pe(re)),s===n&&(D.test(e.charAt(ge))?(s=e.charAt(ge),ge++):(s=n,0===ve&&Pe(R)));(a=i!==n?e.substring(a,ge):i)!==n?(39===e.charCodeAt(ge)?(i="'",ge++):(i=n,0===ve&&Pe(N)),i===n&&(i=null),i!==n?(pe=t,t=o=r+a.replace("''","'")):(ge=t,t=n)):(ge=t,t=n)}else ge=t,t=n;else ge=t,t=n;return t}function Je(){var t,o,r,a;return t=ge,o=ge,e.length>ge?(r=e.charAt(ge),ge++):(r=n,0===ve&&Pe(v)),r!==n?(pe=ge,(a=(a=ne(r))?void 0:n)!==n?o=r=[r,a]:(ge=o,o=n)):(ge=o,o=n),o===n&&(10===e.charCodeAt(ge)?(o="\n",ge++):(o=n,0===ve&&Pe(ae))),t=o!==n?e.substring(t,ge):o}function et(){var t,o;return ve++,t=ge,(o=ot())===n&&(o=rt()),t=o!==n?e.substring(t,ge):o,ve--,t===n&&(o=n,0===ve&&Pe(ie)),t}function tt(){var t,o;return ve++,t=ge,(o=ot())===n&&(o=function(){var t,o,r,a,i;ve++,t=ge,o=[],45===e.charCodeAt(ge)?(r="-",ge++):(r=n,0===ve&&Pe(te));r===n&&(r=ge,a=ge,ve++,(i=Ge())===n&&(i=Ke()),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n));if(r!==n)for(;r!==n;)o.push(r),45===e.charCodeAt(ge)?(r="-",ge++):(r=n,0===ve&&Pe(te)),r===n&&(r=ge,a=ge,ve++,(i=Ge())===n&&(i=Ke()),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n));else o=n;t=o!==n?e.substring(t,ge):o;ve--,t===n&&(o=n,0===ve&&Pe(ye));return t}()),t=o!==n?e.substring(t,ge):o,ve--,t===n&&(o=n,0===ve&&Pe(se)),t}function ot(){var t,o,r,a,i;if(ve++,t=ge,48===e.charCodeAt(ge)?(o="0",ge++):(o=n,0===ve&&Pe(he)),o!==n&&(pe=t,o=0),(t=o)===n){if(t=ge,o=ge,le.test(e.charAt(ge))?(r=e.charAt(ge),ge++):(r=n,0===ve&&Pe(ce)),r!==n){for(a=[],fe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(me));i!==n;)a.push(i),fe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(me));a!==n?o=r=[r,a]:(ge=o,o=n)}else ge=o,o=n;o!==n&&(pe=t,o=parseInt(o.join(""),10)),t=o}return ve--,t===n&&(o=n,0===ve&&Pe(ue)),t}function rt(){var t,o,r,a,i;if(ve++,t=ge,o=[],r=ge,a=ge,ve++,(i=Ge())===n&&(i=Ke()),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n),r!==n)for(;r!==n;)o.push(r),r=ge,a=ge,ve++,(i=Ge())===n&&(i=Ke()),ve--,i===n?a=void 0:(ge=a,a=n),a!==n?(e.length>ge?(i=e.charAt(ge),ge++):(i=n,0===ve&&Pe(v)),i!==n?r=a=[a,i]:(ge=r,r=n)):(ge=r,r=n);else o=n;return t=o!==n?e.substring(t,ge):o,ve--,t===n&&(o=n,0===ve&&Pe(de)),t}var nt=["root"];function at(){return"plural"===nt[nt.length-1]}function it(){return t&&t.captureLocation?{location:be()}:{}}var st=t&&t.ignoreTag,ut=t&&t.shouldParseSkeleton;if((o=i())!==n&&ge===e.length)return o;throw o!==n&&ge 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:L(Intl.DateTimeFormat,e.dateTime),getNumberFormat:L(Intl.NumberFormat,e.number),getMessageFormat:L(K,e.message),getRelativeTimeFormat:L(t,e.relativeTime),getPluralRules:L(Intl.PluralRules,e.pluralRules),getListFormat:L(o,e.list),getDisplayNames:L(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