(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[97532],{650151:(t,e)=>{"use strict";function r(t,e){if(void 0===t)throw new Error("".concat(null!=e?e:"Value"," is undefined"));return t}function n(t,e){if(null===t)throw new Error("".concat(null!=e?e:"Value"," is null"));return t}Object.defineProperty(e,"__esModule",{value:!0}),e.ensureNever=e.ensure=e.ensureNotNull=e.ensureDefined=e.assert=void 0,e.assert=function(t,e){if(!t)throw new Error("Assertion failed".concat(e?": ".concat(e):""))},e.ensureDefined=r,e.ensureNotNull=n,e.ensure=function(t,e){return n(r(t,e),e)},e.ensureNever=function(t){}},24654:t=>{"use strict";t.exports=function(t){for(var e=[],r=t.length,n=0;n=55296&&o<=56319&&r>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(o=1024*(o-55296)+i-56320+65536,n+=1)}o<128?e.push(o):o<2048?(e.push(o>>6|192),e.push(63&o|128)):o<55296||o>=57344&&o<65536?(e.push(o>>12|224),e.push(o>>6&63|128),e.push(63&o|128)):o>=65536&&o<=1114111?(e.push(o>>18|240),e.push(o>>12&63|128),e.push(o>>6&63|128),e.push(63&o|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},9995:(t,e,r)=>{var n=r(939340);t.exports=function(t){return t=n(t^=t>>>16,2246822507),t=n(t^=t>>>13,3266489909),(t^=t>>>16)>>>0}},939340:t=>{"use strict";t.exports=Math.imul||function(t,e){var r=65535&t,n=65535&e;return r*n+((t>>>16&65535)*n+r*(e>>>16&65535)<<16>>>0)|0}},618606:(t,e,r)=>{"use strict";r.d(e,{default:()=>f});const n=function(){this.__data__=[],this.size=0};var o=r(872575);const i=function(t,e){for(var r=t.length;r--;)if((0,o.default)(t[r][0],e))return r;return-1};var u=Array.prototype.splice;const s=function(t){var e=this.__data__,r=i(e,t);return!(r<0)&&(r==e.length-1?e.pop():u.call(e,r,1),--this.size,!0)};const a=function(t){var e=this.__data__,r=i(e,t);return r<0?void 0:e[r][1]};const c=function(t){return i(this.__data__,t)>-1};const l=function(t,e){var r=this.__data__,n=i(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function d(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{"use strict";r.d(e,{default:()=>i});var n=r(270830),o=r(178160);const i=(0,n.default)(o.default,"Map")},601141:(t,e,r)=>{"use strict";r.d(e,{default:()=>A});const n=(0,r(270830).default)(Object,"create");const o=function(){this.__data__=n?n(null):{},this.size=0};const i=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var u=Object.prototype.hasOwnProperty;const s=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return u.call(e,t)?e[t]:void 0};var a=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return n?void 0!==e[t]:a.call(e,t)};const l=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};function d(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{"use strict";r.d(e,{default:()=>f});var n=r(618606);const o=function(){this.__data__=new n.default,this.size=0};const i=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const u=function(t){return this.__data__.get(t)};const s=function(t){return this.__data__.has(t)};var a=r(667027),c=r(601141);const l=function(t,e){var r=this.__data__;if(r instanceof n.default){var o=r.__data__;if(!a.default||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new c.default(o)}return r.set(t,e),this.size=r.size,this};function d(t){var e=this.__data__=new n.default(t);this.size=e.size}d.prototype.clear=o,d.prototype.delete=i,d.prototype.get=u,d.prototype.has=s,d.prototype.set=l;const f=d},735246:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=r(178160).default.Uint8Array},488164:(t,e,r)=>{"use strict";r.d(e,{default:()=>l});var n=r(280292),o=r(553822),i=r(854814),u=r(925247),s=r(817104),a=r(54744),c=Object.prototype.hasOwnProperty;const l=function(t,e){var r=(0,i.default)(t),l=!r&&(0,o.default)(t),d=!r&&!l&&(0,u.default)(t),f=!r&&!l&&!d&&(0,a.default)(t),p=r||l||d||f,h=p?(0,n.default)(t.length,String):[],y=h.length;for(var b in t)!e&&!c.call(t,b)||p&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||(0,s.default)(b,y))||h.push(b);return h}},920883:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{"use strict";r.d(e,{default:()=>i});var n=r(920883),o=r(854814);const i=function(t,e,r){var i=e(t);return(0,o.default)(t)?i:(0,n.default)(i,r(t))}},7492:(t,e,r)=>{"use strict";r.d(e,{default:()=>u});var n=r(443744);const o=(0,r(22828).default)(Object.keys,Object);var i=Object.prototype.hasOwnProperty;const u=function(t){if(!(0,n.default)(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},280292:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(t,e){for(var r=-1,n=Array(t);++r{"use strict";r.d(e,{default:()=>n}) ;const n=function(t){return function(e){return t(e)}}},885747:(t,e,r)=>{"use strict";r.d(e,{default:()=>u});var n=r(44631),o=r(112644),i=r(933358);const u=function(t){return(0,n.default)(t,i.default,o.default)}},270830:(t,e,r)=>{"use strict";r.d(e,{default:()=>w});var n=r(162942);const o=r(178160).default["__core-js_shared__"];var i,u=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";const s=function(t){return!!u&&u in t};var a=r(598279),c=r(359990),l=/^\[object .+?Constructor\]$/,d=Function.prototype,f=Object.prototype,p=d.toString,h=f.hasOwnProperty,y=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const b=function(t){return!(!(0,a.default)(t)||s(t))&&((0,n.default)(t)?y:l).test((0,c.default)(t))};const v=function(t,e){return null==t?void 0:t[e]};const w=function(t,e){var r=v(t,e);return b(r)?r:void 0}},112644:(t,e,r)=>{"use strict";r.d(e,{default:()=>s});const n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r{"use strict";r.d(e,{default:()=>A});var n=r(270830),o=r(178160);const i=(0,n.default)(o.default,"DataView");var u=r(667027);const s=(0,n.default)(o.default,"Promise");const a=(0,n.default)(o.default,"Set");const c=(0,n.default)(o.default,"WeakMap");var l=r(128177),d=r(359990),f="[object Map]",p="[object Promise]",h="[object Set]",y="[object WeakMap]",b="[object DataView]",v=(0,d.default)(i),w=(0,d.default)(u.default),g=(0,d.default)(s),m=(0,d.default)(a),_=(0,d.default)(c),j=l.default;(i&&j(new i(new ArrayBuffer(1)))!=b||u.default&&j(new u.default)!=f||s&&j(s.resolve())!=p||a&&j(new a)!=h||c&&j(new c)!=y)&&(j=function(t){var e=(0,l.default)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,d.default)(r):"";if(n)switch(n){case v:return b;case w:return f;case g:return p;case m:return h;case _:return y}return e});const A=j},817104:(t,e,r)=>{"use strict";r.d(e,{default:()=>o});var n=/^(?:0|[1-9]\d*)$/;const o=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t{"use strict";r.d(e,{default:()=>o});var n=Object.prototype;const o=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},159283:(t,e,r)=>{"use strict";r.d(e,{default:()=>s});var n=r(489956);t=r.hmd(t);var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&t&&!t.nodeType&&t,u=i&&i.exports===o&&n.default.process;const s=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}()},22828:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(t,e){return function(r){return t(e(r))}}},359990:(t,e,r)=>{"use strict";r.d(e,{default:()=>o});var n=Function.prototype.toString ;const o=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},872575:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(t,e){return t===e||t!=t&&e!=e}},553822:(t,e,r)=>{"use strict";r.d(e,{default:()=>c});var n=r(128177),o=r(383527);const i=function(t){return(0,o.default)(t)&&"[object Arguments]"==(0,n.default)(t)};var u=Object.prototype,s=u.hasOwnProperty,a=u.propertyIsEnumerable;const c=i(function(){return arguments}())?i:function(t){return(0,o.default)(t)&&s.call(t,"callee")&&!a.call(t,"callee")}},854814:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=Array.isArray},29419:(t,e,r)=>{"use strict";r.d(e,{default:()=>i});var n=r(162942),o=r(667702);const i=function(t){return null!=t&&(0,o.default)(t.length)&&!(0,n.default)(t)}},925247:(t,e,r)=>{"use strict";r.d(e,{default:()=>a});var n=r(178160);const o=function(){return!1};t=r.hmd(t);var i="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=i&&t&&!t.nodeType&&t,s=u&&u.exports===i?n.default.Buffer:void 0;const a=(s?s.isBuffer:void 0)||o},162942:(t,e,r)=>{"use strict";r.d(e,{default:()=>i});var n=r(128177),o=r(598279);const i=function(t){if(!(0,o.default)(t))return!1;var e=(0,n.default)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},667702:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},54744:(t,e,r)=>{"use strict";r.d(e,{default:()=>d});var n=r(128177),o=r(667702),i=r(383527),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;const s=function(t){return(0,i.default)(t)&&(0,o.default)(t.length)&&!!u[(0,n.default)(t)]};var a=r(395256),c=r(159283),l=c.default&&c.default.isTypedArray;const d=l?(0,a.default)(l):s},933358:(t,e,r)=>{"use strict";r.d(e,{default:()=>u});var n=r(488164),o=r(7492),i=r(29419);const u=function(t){return(0,i.default)(t)?(0,n.default)(t):(0,o.default)(t)}},335987:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});const n=function(){return[]}},855385:(t,e,r)=>{var n=r(939340),o=r(9995),i=r(24654),u=new Uint32Array([3432918353,461845907]);function s(t,e){return t<>>32-e}t.exports=function(t,e){if(e=e?0|e:0,"string"==typeof t&&(t=i(t)),!(t instanceof ArrayBuffer))throw new TypeError("Expected key to be ArrayBuffer or string");var r=new Uint32Array([e]);return function(t,e){for(var r=t.byteLength/4|0,o=new Uint32Array(t,0,r),i=0;i{"use strict";var r,n=!("undefined"==typeof window||!window.document||!window.document.createElement);function o(){if(r)return r;if(!n||!window.document.body)return"indeterminate";var t=window.document.createElement("div");return t.appendChild(document.createTextNode("ABCD")),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),r="reverse",t.scrollLeft>0?r="default":(t.scrollLeft=1,0===t.scrollLeft&&(r="negative")),document.body.removeChild(t),r}e.detectScrollType=o,e.getNormalizedScrollLeft=function(t,e){var r=t.scrollLeft;if("rtl"!==e)return r;var n=o();if("indeterminate"===n)return Number.NaN;switch(n){case"negative":return t.scrollWidth-t.clientWidth+r;case"reverse":return t.scrollWidth-t.clientWidth-r}return r},e.setNormalizedScrollLeft=function(t,e,r){if("rtl"===r){var n=o();if("indeterminate"!==n)switch(n){case"negative":t.scrollLeft=t.clientWidth-t.scrollWidth+e;break;case"reverse":t.scrollLeft=t.scrollWidth-t.clientWidth-e;break;default:t.scrollLeft=e}}else t.scrollLeft=e}},778785:(t,e,r)=>{"use strict";r.d(e,{mobiletouch:()=>o,touch:()=>i,setClasses:()=>u});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")}},638456:(t,e,r)=>{"use strict";r.r(e),r.d(e,{isMac:()=>i,isWindows:()=>u,isLinux:()=>s,isDesktopApp:()=>a,desktopAppVersion:()=>c,CheckMobile:()=>l,onWidget:()=>d,supportTouch:()=>f,checkPageType:()=>p,isChrome:()=>h,isFF:()=>y,isEdge:()=>b,isSafari:()=>v,className:()=>w,onOrder:()=>g,onGoPro:()=>m,onMainPage:()=>_});var n=r(167175);const o=window.TradingView=window.TradingView||{};function i(){return n.isMac}function u(){return n.isWindows}function s(){return n.isLinux}function a(){return/TVDesktop/i.test(navigator.userAgent)}function c(){const t=navigator.userAgent.match(/TVDesktop\/([^\s]+)/);return t&&t[1]}const l={Android:()=>n.isAndroid,BlackBerry:()=>n.isBlackBerry,iOS:()=>n.isIOS,Opera:()=>n.isOperaMini,isIPad:()=>n.isIPad,any:()=>n.isAnyMobile};function d(){ const t=["^widgetembed/?$","^cmewidgetembed/?$","^([0-9a-zA-Z-]+)/widgetembed/?$","^([0-9a-zA-Z-]+)/widgetstatic/?$","^([0-9a-zA-Z-]+)?/?miniwidgetembed/?$","^([0-9a-zA-Z-]+)?/?mediumwidgetembed/?$","^twitter-chart/?$","^embed(-static)?/([0-9a-zA-Z]{8})/?$","^widgetpopup/?$","^extension/?$","^chatwidgetembed/?$","^ideaswidgetembed/?$","^ideas-widget/?$","^view-idea-widget/([0-9a-zA-Z]{8})/?$","^idea-popup/?$","^hotlistswidgetembed/?$","^([0-9a-zA-Z-]+)/hotlistswidgetembed/?$","^marketoverviewwidgetembed/?$","^([0-9a-zA-Z-]+)/marketoverviewwidgetembed/?$","^eventswidgetembed/?$","^tickerswidgetembed/?$","^forexcrossrateswidgetembed/?$","^forexheatmapwidgetembed/?$","^marketquoteswidgetembed/?$","^screenerwidget/?$","^cryptomktscreenerwidget/?$","^([0-9a-zA-Z-]+)/cryptomktscreenerwidget/?$","^([0-9a-zA-Z-]+)/marketquoteswidgetembed/?$","^technical-analysis-widget-embed/$","^singlequotewidgetembed/?$","^([0-9a-zA-Z-]+)/singlequotewidgetembed/?$","^embed-widget/([0-9a-zA-Z-]+)/(([0-9a-zA-Z-]+)/)?$"],e=window.location.pathname.replace(/^\//,"");let r;for(let n=t.length-1;n>=0;n--)if(r=new RegExp(t[n]),r.test(e))return!0;return!1}function f(){return n.mobiletouch||n.touch||n.isAnyMobile}function p(t){return new URLSearchParams(window.location.search).get("page_type")===t}o.isMobile=l,o.onWidget=d;const h=n.isChrome,y=n.isFF,b=n.isEdge,v=n.isSafari;function w(t){for(const[e,r]of Object.entries(o))if(r===t)return e;return null}function g(){return"/order/"===window.location.pathname}function m(){return"/gopro/"===window.location.pathname}function _(){return"/"===window.location.pathname}o.className=w},758337:function(t,e,r){var n;t=r.nmd(t);var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=function(t){return"object"==typeof t&&null!==t};function u(t){return"number"==typeof t&&isFinite(t)}function s(t){return null!=t&&t.constructor===Function}function a(t,e){t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}"undefined"!=typeof window?(n=window.TradingView=window.TradingView||{},window.isNumber=u,window.isFunction=s,window.inherit=a,window.isArray=o):n=this.TradingView=this.TradingView||{},n.isNaN=function(t){return!(t<=0||t>0)},n.isAbsent=function(t){return null==t},n.isExistent=function(t){return null!=t},Number.isNaN=Number.isNaN||function(t){return t!=t},n.isSameType=function(t,e){return Number.isNaN(t)||Number.isNaN(e)?Number.isNaN(t)===Number.isNaN(e):{}.toString.call(t)==={}.toString.call(e)},n.isInteger=function(t){return"number"==typeof t&&t%1==0},n.isString=function(t){return null!=t&&t.constructor===String},n.isInherited=function(t,e){if(null==t||null==t.prototype)throw new TypeError("isInherited: child should be a constructor function");if(null==e||null==e.prototype)throw new TypeError("isInherited: parent should be a constructor function");return t.prototype instanceof e||t.prototype===e.prototype},n.clone=function(t){if(!t||"object"!=typeof t)return t;var e,r,o;for(r in e="function"==typeof t.pop?[]:{}, t)t.hasOwnProperty(r)&&(o=t[r],e[r]=o&&"object"==typeof o?n.clone(o):o);return e},n.deepEquals=function(t,e,r){if(r||(r=""),t===e)return[!0,r];if(s(t)&&(t=void 0),s(e)&&(e=void 0),void 0===t&&void 0!==e)return[!1,r];if(void 0===e&&void 0!==t)return[!1,r];if(null===t&&null!==e)return[!1,r];if(null===e&&null!==t)return[!1,r];if("object"!=typeof t&&"object"!=typeof e)return[t===e,r];if(Array.isArray(t)&&Array.isArray(e)){var i=t.length;if(i!==e.length)return[!1,r];for(var u=0;u{"use strict";r.r(e);var n=r(758337);const o=/{(\w+)}/g,i=/{(\d+)}/g;String.prototype.format=function(...t){const e=(0,n.isObject)(t[0]),r=e?o:i,u=e?(e,r)=>{const n=t[0];return void 0!==n[r]?n[r]:e}:(e,r)=>{const n=parseInt(r,10),o=t[n];return void 0!==o?o:e};return this.replace(r,u)}}}]);