"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[99463],{607423:(e,t,r)=>{r.d(t,{isNativeUIInteraction:()=>n});var s=r(591800);function i(e){if("INPUT"===e.tagName){const t=e.type;return"text"===t||"email"===t||"number"===t||"password"===t||"search"===t||"tel"===t||"url"===t}return"TEXTAREA"===e.tagName||e.isContentEditable}function n(e,t){if(!t)return!1;const r=255&e;if(27===r||r>>>4==7)return!1;switch(e^r){case s.Modifiers.Alt:return(38===r||40===r)&&"SELECT"===t.tagName||i(t);case s.Modifiers.Alt+s.Modifiers.Shift:return i(t);case s.Modifiers.Mod:if(67===r||!s.isMacKeyboard&&45===r){const e=t.ownerDocument&&t.ownerDocument.getSelection();if(e&&!e.isCollapsed)return!0}return i(t);case s.Modifiers.Mod+s.Modifiers.Shift:return r>=33&&r<=40&&i(t);case s.Modifiers.Shift:case 0:return 9===r?!(!t.ownerDocument||t===t.ownerDocument.body||t===t.ownerDocument.documentElement):(!function(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){const t=e.type;if("submit"===t||"button"===t||"reset"===t||"checkbox"===t||"radio"===t)return!0}return!1}(t)||13===r||32===r||9===r)&&("form"in t||t.isContentEditable)}return!1}},842060:(e,t,r)=>{r.d(t,{getStyleClasses:()=>o,isCircleLogoWithUrlProps:()=>a});var s=r(497754),i=r(502137),n=r.n(i);function o(e,t){return s(n()["tv-circle-logo"],n()[`tv-circle-logo--${e}`],t)}function a(e){return"logoUrl"in e&&null!==e.logoUrl&&void 0!==e.logoUrl&&0!==e.logoUrl.length}},745269:(e,t,r)=>{r.d(t,{color:()=>i,dur:()=>s});const s=350;const i={black70:"#4A4A4A",black80:"#535353"}},849204:(e,t,r)=>{r.r(t),r.d(t,{LogoSize:()=>s,LogoUrlResolver:()=>o,getLogoUrlResolver:()=>l});var s,i=r(650151),n=r(588948);!function(e){e[e.Medium=0]="Medium",e[e.Large=1]="Large"}(s||(s={}));class o{constructor(e){(0,i.assert)(""!==e,"S3 base url must be a non-empty string"),this._baseUrl=e}getSymbolLogoUrl(e,t){switch((0,i.assert)(""!==e,"logo id must be a non-empty string"),t){case s.Medium:return this._baseUrl+`${e}.svg`;case s.Large:return this._baseUrl+`${e}--big.svg`}}getCountryFlagUrl(e,t){return this.getSymbolLogoUrl("country/"+e,t)}getCryptoLogoUrl(e,t){return this.getSymbolLogoUrl("crypto/"+e,t)}getProviderLogoUrl(e,t){return this.getSymbolLogoUrl("provider/"+e,t)}getSourceLogoUrl(e,t){return this.getSymbolLogoUrl("source/"+e,t)}getBlockchainContractLogoUrl(e,t){return this.getSymbolLogoUrl("blockchain/"+e,t)}}let a;function l(){return function(){if(!a){const e=(0,n.getInitData)(),t=e.settings?e.settings.S3_LOGO_SERVICE_BASE_URL:"";a=new o(t)}return a}()}},707957:(e,t,r)=>{r.d(t,{Delegate:()=>n});const s=(0,r(194582).getLogger)("Common.Delegate");function i(e){return!e.singleShot}class n{constructor(){this.fire=this._fireImpl.bind(this),this._listeners=[]}subscribe(e,t,r){this._listeners.push({object:e,member:t,singleShot:!!r,skip:!1})}unsubscribe(e,t){for(let r=0;r=0;--t){ const r=this._listeners[t];r.object===e&&(r.skip=!0,this._listeners.splice(t,1))}}destroy(){this._listeners=[]}_fireImpl(...e){const t=this._listeners;this._listeners=this._listeners.filter(i);const r=t.length;for(let i=0;i{r.d(t,{WatchedValue:()=>l});var s=r(428123),i=r(194582),n=r(805377);const o=(0,i.getLogger)("Common.WatchedValue");function a(e){o.logError(`${e&&(e.stack||e.message)}`)}class l{constructor(...e){this._listeners=[],e.length>0&&(this._value=e[0])}destroy(){this.unsubscribe()}value(){return this._owner?this._owner._value:this._value}setValue(e,t){const r=this._owner?this._owner:this;if("function"==typeof r.hook&&(e=r.hook(e)),r.writeLock)return;const s=r._value===e||Number.isNaN(r._value)&&Number.isNaN(e);if(!t&&s&&r.hasOwnProperty("_value"))return;r._value=e;const i=r._listeners.slice();let n=0;for(let t=0;tthis.spawn(e).readonly(),destroy:this.destroy.bind(this)};return this._readonlyInstance=e,e}spawn(e){return new c(this._owner||this,e)}when(e){(0,n.callWhen)(this,(e=>Boolean(e)),(()=>{try{e(this.value())}catch(e){a(e)}}))}assertNoSubscriptions(){0}ownership(){return(0,s.ownership)(this)}spawnOwnership(){return(0,s.ownership)(this.spawn())}weakReference(){return(0,s.weakReference)(this)}}class c extends l{constructor(e,t){super(),delete this._listeners,this._owner=e,this._onDestroy=t}destroy(){var e;try{null===(e=this._onDestroy)||void 0===e||e.call(this)}catch(e){a(e)}super.destroy()}readonly(){return super.readonly()}}},943994:(e,t,r)=>{r.d(t,{PLACE_HOLDER:()=>o,VolumeFormatter:()=>a});var s=r(444372),i=r(182436),n=r(389137);const o="---";class a{constructor(e={}){this.type="volume";const{precision:t,ignoreLocaleNumberFormat:r,removeSpaceBeforeDimension:s,doNotDisableOnProd:n}=e;this._numericFormatter=new i.NumericFormatter(void 0,r,n),this._fractionalValues=void 0!==t&&t>0,this._precision=t,this._spaceBeforeDimension=s?"":" "}state(){return{precision:this._precision}}format(e,t){if(!(0,n.isNumber)(e))return o;let i="" ;if(e<0?(i="−",e=-e):e>0&&(null==t?void 0:t.signPositive)&&(i="+"),e>=1e100)return s.t(null,void 0,r(343088));!this._fractionalValues||e>=995?e=Math.round(e):this._fractionalValues&&(e=+e.toFixed(this._precision));const a=!!(null==t?void 0:t.ignoreLocaleNumberFormat);return e<995?i+this._formatNumber(e,a):e<999995?i+this._formatNumber(e/1e3,a)+this._spaceBeforeDimension+"K":e<999999995?(e=1e3*Math.round(e/1e3),i+this._formatNumber(e/1e6,a)+this._spaceBeforeDimension+"M"):e<999999999995?(e=1e6*Math.round(e/1e6),i+this._formatNumber(e/1e9,a)+this._spaceBeforeDimension+"B"):(e=1e9*Math.round(e/1e9),i+this._formatNumber(e/1e12,a)+this._spaceBeforeDimension+"T")}parse(e,t){if("---"===e)return{error:"not a number",res:!1,value:NaN};const r={K:1e3,M:1e6,B:1e9,T:1e12},s=(e=e.replace("−","-")).slice(-1);if(r.hasOwnProperty(s)){const i=this._numericFormatter.parse(e.slice(0,-1).trim(),null==t?void 0:t.ignoreLocaleNumberFormat);return(0,n.isNumber)(i)?{res:!0,value:i*r[s]}:{error:"not a number",res:!1,value:NaN}}{const r=this._numericFormatter.parse(e.trim(),null==t?void 0:t.ignoreLocaleNumberFormat);return(0,n.isNumber)(r)?{res:!0,value:r}:{error:"not a number",res:!1,value:NaN}}}static serialize(e){return e.state()}static deserialize(e){return new a(e)}_formatNumber(e,t){if(this._fractionalValues&&0!==e){const t=14-Math.ceil(Math.log10(e)),r=Math.pow(10,t);e=Math.round(e*r)/r}return this._numericFormatter.format(e,t).replace(/(\.[1-9]*)0+$/,((e,t)=>t))}}},81979:(e,t,r)=>{r.d(t,{color:()=>s.color,dur:()=>s.dur});var s=r(745269)},777466:(e,t,r)=>{function s(e){e.preventDefault()}r.d(t,{preventDefault:()=>s})}}]);