(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[21374],{91679:(e,t)=>{"use strict";t.WatchedValue=void 0;var r=function(){function e(e,t){void 0===t&&(t={}),this._listeners=[],void 0!==e&&(this._value=e),this._onDestroy=t.onDestroy}return e.prototype.destroy=function(){this.unsubscribe(),delete this._value,delete this._readonlyInstance,this._onDestroy&&this._onDestroy()},e.prototype.value=function(){return this._value},e.prototype.setValue=function(e,t){var r=this._value===e||Number.isNaN(this._value)&&Number.isNaN(e);!t&&r||(this._value=e,this._notifyListeners())},e.prototype.subscribe=function(e,t){var r,n,o=this;if(!(null===(r=null==t?void 0:t.signal)||void 0===r?void 0:r.aborted)){if((null==t?void 0:t.callWithLast)&&void 0!==this._value){try{e(this._value)}catch(e){t.onError&&t.onError(e)}if(t.once)return}(null==t?void 0:t.signal)&&t.signal.addEventListener("abort",(function(){o.unsubscribe(e)}),{once:!0}),this._listeners.push({callback:e,signal:null==t?void 0:t.signal,once:null!==(n=null==t?void 0:t.once)&&void 0!==n&&n,onError:null==t?void 0:t.onError})}},e.prototype.unsubscribe=function(e){for(var t=this._listeners.length;t--;){e!==this._listeners[t].callback&&void 0!==e||this._listeners.splice(t,1)}},e.prototype.readonly=function(){return this._readonlyInstance||(this._readonlyInstance=new o(this)),this._readonlyInstance},e.prototype.when=function(e,t){var r,n=this;if(!e)return new Promise((function(e,t){if(void 0===n._value){var r=function(t){void 0!==t&&(e(t),n.unsubscribe(r))};n.subscribe(r,{onError:t})}else e(n._value)}));if(!(null===(r=null==t?void 0:t.signal)||void 0===r?void 0:r.aborted))if(void 0===this._value){var o=function(t){void 0!==t&&(e(t),n.unsubscribe(o))};this.subscribe(o,t)}else try{e(this._value)}catch(e){(null==t?void 0:t.onError)&&t.onError(e)}},e.prototype._notifyListeners=function(){for(var e,t,r=0,n=this._listeners;r=5||2===r&&(o[0]>5||5===o[0]&&(n||o[1]!==h))),o.length=1,n?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t=5||2===r&&(o[t]>5||5===o[t]&&(n||o[t+1]!==h||1&o[t-1]))||3===r&&(n||!!o[0]),o.length=t--,n)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function v(e,t,r){var n=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)o="0"+o;o="0."+o}else if(n>0)if(++n>i)for(n-=i;n--;)o+="0";else n1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&r?"-"+o:o}p.abs=function(){var e=new this.constructor(this);return e.s=1,e},p.cmp=function(e){var t,r=this,n=r.c,o=(e=new r.constructor(e)).c,i=r.s,u=e.s,s=r.e,c=e.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-u:0;if(i!=u)return i;if(t=i<0,s!=c)return s>c^t?1:-1;for(u=(s=n.length)<(c=o.length)?s:c,i=-1;++io[i]^t?1:-1;return s==c?0:s>c^t?1:-1},p.div=function(e){var t=this,r=t.constructor,n=t.c,o=(e=new r(e)).c,i=t.s==e.s?1:-1,s=r.DP;if(s!==~~s||s<0||s>u)throw Error(a);if(!o[0])throw Error(l);if(!n[0])return e.s=i,e.c=[e.e=0],e;var c,f,p,d,v,b=o.slice(),w=c=o.length,m=n.length,g=n.slice(0,c),_=g.length,E=e,S=E.c=[],N=0,j=s+(E.e=t.e-e.e)+1;for(E.s=i,i=j<0?0:j,b.unshift(0);_++_?1:-1;else for(v=-1,d=0;++vg[v]?1:-1;break}if(!(d<0))break;for(f=_==c?o:b;_;){if(g[--_]j&&y(E,j,r.RM,g[0]!==h),E},p.eq=function(e){return 0===this.cmp(e)},p.gt=function(e){return this.cmp(e)>0},p.gte=function(e){return this.cmp(e)>-1},p.lt=function(e){return this.cmp(e)<0},p.lte=function(e){return this.cmp(e)<1},p.minus=p.sub=function(e){var t,r,n,o,i=this,u=i.constructor,s=i.s,c=(e=new u(e)).s;if(s!=c)return e.s=-c,i.plus(e);var f=i.c.slice(),a=i.e,l=e.c,p=e.e;if(!f[0]||!l[0])return l[0]?e.s=-c:f[0]?e=new u(i):e.s=1,e;if(s=a-p){for((o=s<0)?(s=-s,n=f):(p=a,n=l),n.reverse(),c=s;c--;)n.push(0);n.reverse()}else for(r=((o=f.length0)for(;c--;)f[t++]=0;for(c=t;r>s;){if(f[--r]0?(c=u,n=f):(t=-t,n=s),n.reverse();t--;)n.push(0);n.reverse()}for(s.length-f.length<0&&(n=f,f=s,s=n),t=f.length,r=0;t;s[t]%=10)r=(s[--t]=s[t]+f[t]+r)/10|0;for(r&&(s.unshift(r),++c),t=s.length;0===s[--t];)s.pop();return e.c=s,e.e=c,e},p.pow=function(e){var t=this,r=new t.constructor("1"),n=r,o=e<0;if(e!==~~e||e<-1e6||e>s)throw Error(f+"exponent");for(o&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return o?r.div(n):n},p.prec=function(e,t){if(e!==~~e||e<1||e>u)throw Error(f+"precision");return y(new this.constructor(this),e,t)},p.round=function(e,t){if(e===h)e=0;else if(e!==~~e||e<-u||e>u)throw Error(a);return y(new this.constructor(this),e+this.e+1,t)},p.sqrt=function(){var e,t,r,n=this,o=n.constructor,i=n.s,u=n.e,s=new o("0.5");if(!n.c[0])return new o(n);if(i<0)throw Error(c+"No square root");0===(i=Math.sqrt(n+""))||i===1/0?((t=n.c.join("")).length+u&1||(t+="0"),u=((u+1)/2|0)-(u<0||1&u),e=new o(((i=Math.sqrt(t))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+u)):e=new o(i+""),u=e.e+(o.DP+=4);do{r=e,e=s.times(r.plus(n.div(r)))}while(r.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return y(e,(o.DP-=4)+e.e+1,o.RM)},p.times=p.mul=function(e){var t,r=this,n=r.constructor,o=r.c,i=(e=new n(e)).c,u=o.length,s=i.length,c=r.e,f=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return e.c=[e.e=0],e;for(e.e=c+f,uc;)s=t[f]+i[c]*o[f-c-1]+s,t[f--]=s%10,s=s/10|0;t[f]=s}for(s?++e.e:t.shift(),c=t.length;!t[--c];)t.pop();return e.c=t,e},p.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==h){if(e!==~~e||e<0||e>u)throw Error(a);for(r=y(new r.constructor(r),++e,t);r.c.lengthu)throw Error(a);for(e=e+(r=y(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length=t.PE,!!e.c[0])},p.toNumber=function(){var e=Number(v(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(c+"Imprecise conversion");return e},p.toPrecision=function(e,t){var r=this,n=r.constructor,o=r.c[0];if(e!==h){if(e!==~~e||e<1||e>u)throw Error(f+"precision");for(r=y(new n(r),e,t);r.c.length=n.PE,!!o)},p.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(c+"valueOf disallowed");return v(e,e.e<=t.NE||e.e>=t.PE,!0)},i=function e(){function t(r){var n=this;if(!(n instanceof t))return r===h?e():new t(r);if(r instanceof t)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===t.strict)throw TypeError(f+"number");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,o;if(!d.test(t))throw Error(f+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".",""));(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1), t=t.substring(0,n)):r<0&&(r=t.length);for(o=t.length,n=0;n0&&"0"==t.charAt(--o););for(e.e=r-n-1,e.c=[],r=0;n<=o;)e.c[r++]=+t.charAt(n++)}}(n,r)}n.constructor=t}return t.prototype=p,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}(),i.default=i.Big=i,void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},343370:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var n=r(12481),o=r(598279);const i=function(e,t,r){var i=!0,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,o.default)(r)&&(i="leading"in r?!!r.leading:i,u="trailing"in r?!!r.trailing:u),(0,n.default)(e,t,{leading:i,maxWait:t,trailing:u})}},778785:(e,t,r)=>{"use strict";r.d(t,{mobiletouch:()=>o,setClasses:()=>u,touch:()=>i});var n=r(167175);const o=n.mobiletouch,i=n.touch;function u(){document.documentElement.classList.add(n.touch?"feature-touch":"feature-no-touch",n.mobiletouch?"feature-mobiletouch":"feature-no-mobiletouch")}},444372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{t:()=>n.t,withTranslationContext:()=>o});r(586463);var n=r(631110);function o(e){throw new Error("Not implemented")}},695257:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}function w(){}function m(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=b.prototype;var g=m.prototype=new w;g.constructor=m,y(g,b.prototype),g.isPureReactComponent=!0;var _=Array.isArray,E=Object.prototype.hasOwnProperty,S={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var o,i={},u=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(u=""+t.key),t)E.call(t,o)&&!N.hasOwnProperty(o)&&(i[o]=t[o]);var c=arguments.length-2;if(1===c)i.children=n;else if(10)},n.isAbsent=function(e){return null==e},n.isExistent=function(e){return null!=e},Number.isNaN=Number.isNaN||function(e){return e!=e},n.isSameType=function(e,t){return Number.isNaN(e)||Number.isNaN(t)?Number.isNaN(e)===Number.isNaN(t):{}.toString.call(e)==={}.toString.call(t)},n.isInteger=function(e){return"number"==typeof e&&e%1==0},n.isString=function(e){return null!=e&&e.constructor===String},n.isInherited=function(e,t){if(null==e||null==e.prototype)throw new TypeError("isInherited: child should be a constructor function");if(null==t||null==t.prototype)throw new TypeError("isInherited: parent should be a constructor function");return e.prototype instanceof t||e.prototype===t.prototype},n.clone=function(e){if(!e||"object"!=typeof e)return e;var t,r,o;for(r in t="function"==typeof e.pop?[]:{},e)e.hasOwnProperty(r)&&(o=e[r], t[r]=o&&"object"==typeof o?n.clone(o):o);return t},n.deepEquals=function(e,t,r){if(r||(r=""),e===t)return[!0,r];if(s(e)&&(e=void 0),s(t)&&(t=void 0),void 0===e&&void 0!==t)return[!1,r];if(void 0===t&&void 0!==e)return[!1,r];if(null===e&&null!==t)return[!1,r];if(null===t&&null!==e)return[!1,r];if("object"!=typeof e&&"object"!=typeof t)return[e===t,r];if(Array.isArray(e)&&Array.isArray(t)){var i=e.length;if(i!==t.length)return[!1,r];for(var u=0;u{"use strict";r.r(t);var n=r(389137);const o=/{(\w+)}/g,i=/{(\d+)}/g;String.prototype.format=function(...e){const t=(0,n.isObject)(e[0]),r=t?o:i,u=t?(t,r)=>{const n=e[0];return void 0!==n[r]?n[r]:t}:(t,r)=>{const n=parseInt(r,10),o=e[n];return void 0!==o?o:t};return this.replace(r,u)}}}]);