Release v27.000 (from 0d3d8bbd)
This commit is contained in:
87
changelog.md
87
changelog.md
@@ -4,6 +4,87 @@
|
||||
<!-- markdownlint-disable no-emphasis-as-header -->
|
||||
<!-- markdownlint-disable no-inline-html -->
|
||||
<!-- markdownlint-disable code-block-style -->
|
||||
## Version 27
|
||||
|
||||
*Date: Wed Jan 17 2024*
|
||||
|
||||
**Breaking Changes**
|
||||
|
||||
- **Custom study plot style text property moved.** The chars and shapes custom study plots `text` style property was moved from `metainfo.defaults.styles.[plot id].text` to `metainfo.styles.[plot id].text`. See this GitHub issue for more details [#8184](https://github.com/tradingview/charting_library/issues/8184)
|
||||
- **Changed context menu behavior of the 'Plus' button and removed the 'show_context_menu_in_crosshair_if_only_one_item' featureset.** Now, the context menu of the *Plus* button opens even if the menu has only one item. Previously, the item's action was immediately executed if there was only one item in the context menu. Additionally, the `show_context_menu_in_crosshair_if_only_one_item` featureset has been removed.
|
||||
- **Changed parameter type in the showPositionDialog method.** The `position` parameter type of the [`showPositionDialog`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.BrokerCustomUI#showpositiondialog) method in the [`BrokerCustomUI`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.BrokerCustomUI) interface has been changed to `Position | IndividualPosition`.
|
||||
- **Renamed flags in the BrokerConfigFlags interface.** The following flags have been renamed in the [`BrokerConfigFlags`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.BrokerConfigFlags) interface:
|
||||
- `supportTrades` flag has been renamed to `supportPositionNetting`;
|
||||
- `supportTradeBrackets` flag has been renamed to `supportIndividualPositionBrackets`;
|
||||
- `supportCloseTrade` flag has been renamed to `supportCloseIndividualPosition`;
|
||||
- `supportPartialCloseTrade` flag has been renamed to `supportPartialCloseIndividualPosition`;
|
||||
- `requiresFIFOCloseTrades` flag has been renamed to `requiresFIFOCloseIndividualPositions`.
|
||||
- **Renamed TradeBase and Trade interfaces.** The `TradeBase` interface has been renamed to [`IndividualPositionBase`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IndividualPositionBase) and the `Trade` interface has been renamed to [`IndividualPosition`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IndividualPosition) respectfully.
|
||||
All fields and their types has been left unchanged.
|
||||
- **Renamed tradeColumns field in the AccountManagerInfo interface.** The `tradesColumns` field in the [AccountManagerInfo](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Broker.AccountManagerInfo) interface has been renamed to `individualPositionColumns`.
|
||||
- **Renamed Trade member to IndividualPosition in the ParentType enum.** The `Trade` member of the [`ParentType`](https://www.tradingview.com/charting-library-docs/latest/api/enums/Charting_Library.ParentType) enum has been renamed to `IndividualPosition`.
|
||||
- **Renamed trade related methods in the IBrokerConnectionAdapterHost interface.** The following methods in the [`IBrokerConnectionAdapterHost`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerConnectionAdapterHost) have been changed:
|
||||
- the `tradeUpdate` method has been renamed to [`individualPositionUpdate`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerConnectionAdapterHost#individualpositionupdate). The `trade` parameter of the method has been renamed to `individualPosition`. Also, the type of that parameter has been changed to `IndividualPosition`;
|
||||
- the `tradePartialUpdate` method has been renamed to [`individualPositionPartialUpdate`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerConnectionAdapterHost#individualpositionpartialupdate). The type of the `changes` parameter has been changed to `Partial<IndividualPosition>`;
|
||||
- the `tradePLUpdate` method has been renamed to [`individualPositionPLUpdate`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerConnectionAdapterHost#individualpositionplupdate);
|
||||
- the type of the `position` parameter of the [`showPositionBracketsDialog`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerConnectionAdapterHost#showpositionbracketsdialog) method has been changed to `Position | IndividualPosition`.
|
||||
- **Renamed methods in the IBrokerWithoutRealtime interface.** The following changes have been made in the [`IBrokerWithoutRealtime`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerWithoutRealtime) interface:
|
||||
- The `closeTrade` method has been renamed to `closeIndividualPosition`;
|
||||
- The `editTradeBrackets` method has been renamed to `editIndividualPositionBrackets`.
|
||||
- **Renamed trade method in the IBrokerCommon interface.** The `trades` method in the [`IBrokerCommon`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.IBrokerCommon) has been renamed to `individualPositions`. The return type of that method has been changed to `Promise<IndividualPosition[]>`.
|
||||
- **Removed the Order Panel button from the right toolbar.** To open [_Advanced Order Ticket_](https://www.tradingview.com/charting-library-docs/latest/trading_terminal#advanced-order-ticket), users should use the _Trade_ button in _Account Manager_ now.
|
||||
|
||||
**New Features**
|
||||
|
||||
- **Enabled in-place editing in Legend.** Users can change a symbol and resolution right from the [_Legend_](https://www.tradingview.com/charting-library-docs/latest/ui_elements/Legend) now. [#7966](https://github.com/tradingview/charting_library/issues/7966)
|
||||
- **Added ability to show daily change in the chart legend.** New _Last day change values_ option allows users to show/hide the last day change values in the main series legend.
|
||||
To make this option available in the _Chart Settings_ dialog, use the [`legend_last_day_change`](https://www.tradingview.com/charting-library-docs/latest/customization/Featuresets#legend_last_day_change) featureset. [#8193](https://github.com/tradingview/charting_library/issues/8193)
|
||||
- **Added Quick Search.** The _Quick Search_ dialog allows users to search for drawings, UI settings, and functions, such as _Remove Indicators_.
|
||||
To open this dialog, users should click the _Quick Search_ button on the top toolbar or use the _Ctrl/Cmd_ + _K_ shortcut.
|
||||
- **Updated drawing icons.** New icons for the _Text_, _Anchored Text_, _Note_, and _Anchored Note_ drawings. [#8181](https://github.com/tradingview/charting_library/issues/8181)
|
||||
|
||||
**Improvements**
|
||||
|
||||
- **`BREAKING CHANGE` Refactoring of the Ichimoku Cloud indicator.** Following feedback we've re-written the Ichimoku indicator and have brought the following changes:
|
||||
- 'Leading Span B' input is now 'Leading Span Periods'.
|
||||
- 'Lagging Span' input is now 'Lagging Span Periods'.
|
||||
- 'Leading Shift Periods' is a brand new input that aligns better to the original definition of the indicator.
|
||||
- Previously, 'Lagging span' was shifting both cloud and lagging lines. This should no longer apply as 'Leading Shift Periods' now handles the offset change for 'Lagging Span'.
|
||||
- **`BREAKING CHANGE` Inputs renaming for Stochastic indicator.** Inputs for the Stochastic indicator have been renamed for consistency across our products.
|
||||
- **`BREAKING CHANGE` Broker API clean up.** `Trading Platform Only` The `positionDialogOptions` object has been removed from the Broker's Configuration. Please use the `getPositionDialogOptions` method to customize the Position dialog.
|
||||
- **Added new keyboard navigation shortcut.** Starting from version [26.002](https://www.tradingview.com/charting-library-docs/latest/releases/release-notes#version-26002), the library supports a keyboard navigation activated via the _Alt/Opt_ + _Z_ shortcut. Now, you can change this default navigation shortcut to _Tab_. To do this, enable the new [`accessible_keyboard_shortcuts`](https://www.tradingview.com/charting-library-docs/latest/customization/Featuresets#accessible_keyboard_shortcuts) featureset. For more information, refer to [Keyboard navigation](https://www.tradingview.com/charting-library-docs/latest/getting_started/accessibility#keyboard-navigation).
|
||||
- **Added ability to cancel order dragging by pressing Esc.** If a user presses _Esc_ while dragging the order, the order will be returned to its initial position.
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- **Market status text during pre-market and post-market sessions.** The countdown text in the market status pop-up tooltip (in the legend area) has been fixed for pre-market and post-market sessions. The market status icon now shows an orange sunrise icon for pre-market and a blue moon icon for post-market.
|
||||
- **Floating drawing toolbar context menu.** It wasn't possibly to override the context menu for the floating drawing toolbar.
|
||||
- **Missing translation for No data here.** No data here message that is displayed on the chart whenever no bars are returned for a given symbol was missing its translation.
|
||||
- **Fixed the pane buttons on the collapsed pane.** The pane buttons used to overlap the _Scroll to the Most Recent Bar_ button when the pane is collapsed. [#8213](https://github.com/tradingview/charting_library/issues/8213)
|
||||
- **The precision setting can be applied to all charts now.** To do this, users should specify precision in the _Chart settings_ dialog and click the _Apply to all_ button. [#8343](https://github.com/tradingview/charting_library/issues/8343) `Trading Platform Only`
|
||||
- **Fix the color of high/low price label.** Now, the color of high/low labels on the price scale corresponds to the color of the high/low lines. Users can specify this color in the _Chart settings_ dialog. [#8255](https://github.com/tradingview/charting_library/issues/8255)
|
||||
- **Disabling the 'open_account_manager' featureset now works as expected.** `Trading Platform Only`
|
||||
- **Order Panel Custom Input Fields Reactivity.** `Trading Platform Only` The reactivity of UI elements within the order panel when using custom fields has been improved (Fixes [#6607](https://github.com/tradingview/charting_library/issues/6607)).
|
||||
|
||||
**Documentation**
|
||||
|
||||
- **Chart customization precedence article added.** The library offers multiple approaches for changing the chart appearance and behavior.
|
||||
Explore our latest article on [customization precedence](https://www.tradingview.com/charting-library-docs/latest/customization/customization-precedence)
|
||||
for a comprehensive understanding of customization methods/properties and the sequence in which they are applied.
|
||||
- **Order Ticket dialog article added.** Refer to [Order Ticket](https://www.tradingview.com/charting-library-docs/latest/trading_terminal/order-ticket) to learn how to provide custom fields, enable an order preview, implement your custom Order Ticket, and more.
|
||||
- **New how-to guide on metainfo.** Explore our latest [guide](https://www.tradingview.com/charting-library-docs/latest/tutorials/create-custom-indicator/metainfo-implementation) on how to implement the `metainfo` field when you create a custom indicator. For more information about custom indicators and `metainfo`, refer to the updated [Custom indicators](https://www.tradingview.com/charting-library-docs/latest/custom_studies) and [Metainfo](https://www.tradingview.com/charting-library-docs/latest/custom_studies/metainfo) articles.
|
||||
- **Bracket orders article added.** Explore our latest article on [bracket orders](https://www.tradingview.com/charting-library-docs/latest/trading_terminal/trading-concepts/brackets) in Trading Platform.
|
||||
- **Account Manager article added.** Refer to [Account Manager](https://www.tradingview.com/charting-library-docs/latest/trading_terminal/account-manager) for more information on creating pages, customizing columns, and configuring the Account Manager behavior.
|
||||
- **Accessibility article added.** Refer to the new [Accessibility](https://www.tradingview.com/charting-library-docs/latest/getting_started/accessibility) article for information about accessibility features that the library includes.
|
||||
- **Other documentation updates.** The new documentation version includes:
|
||||
- Updated [Resolution](https://www.tradingview.com/charting-library-docs/latest/core_concepts/Resolution) and [Price Scale](https://www.tradingview.com/charting-library-docs/latest/ui_elements/Price-Scale) articles.
|
||||
- A full list of overrides for built-in indicators. Refer to the [Indicator Overrides](https://www.tradingview.com/charting-library-docs/latest/customization/overrides/Studies-Overrides#list-of-overrides) article for information.
|
||||
|
||||
**Other**
|
||||
|
||||
- **`BREAKING CHANGE` Deprecated customFormatters and brokerFactory.** Use [`custom_formatters`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.ChartingLibraryWidgetOptions#custom_formatters)
|
||||
and [`broker_factory`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.TradingTerminalWidgetOptions#broker_factory) instead.
|
||||
- **`BREAKING CHANGE` Deprecated RawStudyMetaInfo.precision.** Use the [`format`](https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.RawStudyMetaInfo#format) property instead. For more information, refer to the [Metainfo](https://www.tradingview.com/charting-library-docs/latest/custom_studies/metainfo) article.
|
||||
|
||||
## Version 26.004
|
||||
|
||||
@@ -23,9 +104,9 @@
|
||||
|
||||
- **VWAP Indicator behaviour.** The default behaviour for the VWAP indicator has been fixed. Previously it would anchor to the earliest available data point instead of the start of each session.
|
||||
- **Displaying DOM widget data on non-tradable symbols.** `Trading Platform Only` When a symbol is non-tradable (`isTradable()` in the Broker API is returning `false`) it is now possible to display depth data in the DOM widget provided via the datafeed.
|
||||
- **The price source text is visible in the screenshot..**
|
||||
- **The price source text is visible in the screenshot.**
|
||||
- **Fix display of price sources in Overlay study.** Price sources for symbols in the Overlay study were not being shown when the main series symbol did not have the same price source
|
||||
- **Both Trend Strength Index and Linear Regression Slope indicators were missing their zero-based property to properly plot them using a histogram..**
|
||||
- **Both Trend Strength Index and Linear Regression Slope indicators were missing their zero-based property to properly plot them using a histogram.**
|
||||
|
||||
**Documentation**
|
||||
|
||||
@@ -66,7 +147,7 @@ interfaces now support setting the unit to `'pixel'`.
|
||||
**Bug Fixes**
|
||||
|
||||
- **On mobile devices, fixed an issue for when scrolling the pricescale with one finger while another one was holding the crosshair.**
|
||||
- **Fixed an issue where it wasn't possible to set the background colour of a candle to transparent..**
|
||||
- **Fixed an issue where it wasn't possible to set the background colour of a candle to transparent.**
|
||||
- **52 Week High/Low indicator compatibility with empty supported_resolutions array.** Fixes [#7884](https://github.com/tradingview/charting_library/issues/7884) issue.
|
||||
- **Fixed an issue where any added indicator on the chart couldn't be undone.**
|
||||
- **Fixed issue with locking visible time range while resizing chart.** When resizing the chart window with percentage right margin, and the `lock_visible_time_range_on_resize` featureset enabled then the visible range wasn't locked correctly.
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1044,8115,306],{59255:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>S});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&c()}function u(){s(i)}function c(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),
|
||||
window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function y(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,s=o.top+o.bottom,u=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=d(r,"left","right")+i),Math.round(c+s)!==n&&(c-=d(r,"top","bottom")+s)),!function(t){return t===l(t).document.documentElement}(t)){var a=Math.round(u+i)-e,f=Math.round(c+s)-n;1!==Math.abs(a)&&(u-=a),1!==Math.abs(f)&&(c-=f)}return b(o.left,o.top,u,c)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function v(t){return o?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):y(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=v(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,s,u,c,a=(r=(n=e).x,o=n.y,i=n.width,s=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),f(c,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),c);f(this,{target:t,contentRect:a})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
|
||||
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=a.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},6132:(t,e,n)=>{"use strict";var r=n(22134);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,s){if(s!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},19036:(t,e,n)=>{t.exports=n(6132)()},22134:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(t,e)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,_={};function v(t,e,n){this.props=t,this.context=e,this.refs=_,
|
||||
this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=v.prototype;var w=m.prototype=new b;w.constructor=m,y(w,v.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},s=null,u=null;if(null!=e)for(o in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(s=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var a=Array(c),f=0;f<c;f++)a[f]=arguments[f+2];i.children=a}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:t,key:s,ref:u,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var T=/\/+/g;function C(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function x(t,e,o,i,s){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case r:c=!0}}if(c)return s=s(c=t),t=""===i?"."+C(c,0):i,g(s)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),x(s,e,o,"",(function(t){return t}))):null!=s&&(k(s)&&(s=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+t)),e.push(s)),1;if(c=0,i=""===i?".":i+":",g(t))for(var a=0;a<t.length;a++){var f=i+C(u=t[a],a);c+=x(u,e,o,f,s)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),a=0;!(u=t.next()).done;)c+=x(u=u.value,e,o,f=i+C(u,a++),s);else if("object"===u)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return c}function M(t,e,n){if(null==t)return t;var r=[],o=0;return x(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function A(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var j={current:null},$={transition:null},P={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:$,ReactCurrentOwner:O};e.Children={map:M,
|
||||
forEach:function(t,e,n){M(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return M(t,(function(){e++})),e},toArray:function(t){return M(t,(function(t){return t}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=o,e.Profiler=s,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=y({},t.props),i=t.key,s=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,u=O.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(a in e)E.call(e,a)&&!S.hasOwnProperty(a)&&(o[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){c=Array(a);for(var f=0;f<a;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:n,type:t.type,key:i,ref:s,props:o,_owner:u}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:a,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:A}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=$.transition;$.transition={};try{t()}finally{$.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return j.current.useCallback(t,e)},e.useContext=function(t){return j.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return j.current.useDeferredValue(t)},e.useEffect=function(t,e){return j.current.useEffect(t,e)},e.useId=function(){return j.current.useId()},e.useImperativeHandle=function(t,e,n){return j.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return j.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return j.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return j.current.useMemo(t,e)},e.useReducer=function(t,e,n){return j.current.useReducer(t,e,n)},e.useRef=function(t){return j.current.useRef(t)},e.useState=function(t){return j.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return j.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return j.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{"use strict";t.exports=n(95257)}}]);
|
||||
@@ -1 +0,0 @@
|
||||
.wrap-vSb6C0Bj{bottom:0;cursor:default;pointer-events:all;position:absolute;right:0;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;left:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-right:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-left:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 4px 0 6px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:auto;margin-right:18px}
|
||||
@@ -1 +0,0 @@
|
||||
.wrap-vSb6C0Bj{bottom:0;cursor:default;left:0;pointer-events:all;position:absolute;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;position:absolute;right:0;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;right:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-left:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-right:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 6px 0 4px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:18px;margin-right:auto}
|
||||
1
charting_library/bundles/1109.b1ced88f4a839badfff1.css
Normal file
1
charting_library/bundles/1109.b1ced88f4a839badfff1.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
.header-_UwzQmBd{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 60px 30px 30px;position:relative}html.theme-dark .header-_UwzQmBd{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-_UwzQmBd{padding:20px 60px 20px 20px}}.header-_UwzQmBd .close-_UwzQmBd{color:#434651;cursor:pointer;opacity:.5;padding:15px;position:absolute;right:15px;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-_UwzQmBd .close-_UwzQmBd{color:#d1d4dc}@media screen and (max-width:767px){.header-_UwzQmBd .close-_UwzQmBd{right:7px;top:7px}}@media (any-hover:hover){.header-_UwzQmBd .close-_UwzQmBd:hover{opacity:1;transition-duration:.06s}}.header-_UwzQmBd .close-_UwzQmBd svg{display:block;height:13px;width:13px}.footer-fSCU20uC{padding:0 30px 30px}@media screen and (max-width:767px){.footer-fSCU20uC{padding:0 20px 20px}}.body-XooS0VBr{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-XooS0VBr::-webkit-scrollbar{height:5px;width:5px}.body-XooS0VBr::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-XooS0VBr::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-XooS0VBr::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-XooS0VBr::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-XooS0VBr{padding:20px}}.message-iqdHKcH8{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-iqdHKcH8{background:#21384d}.message-iqdHKcH8.error-iqdHKcH8{background:#ffedf0;color:#f7525f}html.theme-dark .message-iqdHKcH8.error-iqdHKcH8{background:#6f2626}.popupDialog-mBXAEZtB{max-width:450px}.content-mBXAEZtB .row-mBXAEZtB{display:flex;padding-bottom:12px}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB{font-size:13px}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .title-mBXAEZtB{color:#6a6d78}html.theme-dark .content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .title-mBXAEZtB{color:#868993}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .value-mBXAEZtB{color:#434651;font-weight:700}html.theme-dark .content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .value-mBXAEZtB{color:#d1d4dc}.content-mBXAEZtB .row-mBXAEZtB .columnTitle-mBXAEZtB{text-align:left}.content-mBXAEZtB .row-mBXAEZtB .columnValue-mBXAEZtB{margin-left:auto;text-align:right}
|
||||
@@ -1 +0,0 @@
|
||||
.header-_UwzQmBd{border-bottom:1px solid #e0e3eb;color:#212121;font-size:14px;font-weight:700;padding:30px 30px 30px 60px;position:relative}html.theme-dark .header-_UwzQmBd{border-bottom-color:#363a45;color:#c5cbce}@media screen and (max-width:767px){.header-_UwzQmBd{padding:20px 20px 20px 60px}}.header-_UwzQmBd .close-_UwzQmBd{color:#434651;cursor:pointer;left:15px;opacity:.5;padding:15px;position:absolute;top:17px;transition:opacity .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .header-_UwzQmBd .close-_UwzQmBd{color:#d1d4dc}@media screen and (max-width:767px){.header-_UwzQmBd .close-_UwzQmBd{left:7px;top:7px}}@media (any-hover:hover){.header-_UwzQmBd .close-_UwzQmBd:hover{opacity:1;transition-duration:.06s}}.header-_UwzQmBd .close-_UwzQmBd svg{display:block;height:13px;width:13px}.footer-fSCU20uC{padding:0 30px 30px}@media screen and (max-width:767px){.footer-fSCU20uC{padding:0 20px 20px}}.body-XooS0VBr{-webkit-overflow-scrolling:touch;flex-grow:1;overflow:auto;padding:30px}.body-XooS0VBr::-webkit-scrollbar{height:5px;width:5px}.body-XooS0VBr::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .body-XooS0VBr::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.body-XooS0VBr::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.body-XooS0VBr::-webkit-scrollbar-corner{display:none}@media screen and (max-width:767px){.body-XooS0VBr{padding:20px}}.message-iqdHKcH8{background:#ebf9f5;color:#37bc9b;font-size:14px;left:0;padding:30px;position:absolute;right:0;text-align:center;top:0;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-iqdHKcH8{background:#21384d}.message-iqdHKcH8.error-iqdHKcH8{background:#ffedf0;color:#f7525f}html.theme-dark .message-iqdHKcH8.error-iqdHKcH8{background:#6f2626}.popupDialog-mBXAEZtB{max-width:450px}.content-mBXAEZtB .row-mBXAEZtB{display:flex;padding-bottom:12px}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB{font-size:13px}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .title-mBXAEZtB{color:#6a6d78}html.theme-dark .content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .title-mBXAEZtB{color:#868993}.content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .value-mBXAEZtB{color:#434651;font-weight:700}html.theme-dark .content-mBXAEZtB .row-mBXAEZtB .column-mBXAEZtB .value-mBXAEZtB{color:#d1d4dc}.content-mBXAEZtB .row-mBXAEZtB .columnTitle-mBXAEZtB{text-align:right}.content-mBXAEZtB .row-mBXAEZtB .columnValue-mBXAEZtB{margin-right:auto;text-align:left}
|
||||
7
charting_library/bundles/1740.4c61de525e940eee4f3c.js
Normal file
7
charting_library/bundles/1740.4c61de525e940eee4f3c.js
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1740,4370],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>I});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&c()}function a(){s(o)}function c(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,e);i=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),
|
||||
window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;a.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},h=g(0,0,0,0);function d(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,a=d(r.width),c=d(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==e&&(a-=p(r,"left","right")+o),Math.round(c+s)!==n&&(c-=p(r,"top","bottom")+s)),!function(t){return t===f(t).document.documentElement}(t)){var l=Math.round(a+o)-e,u=Math.round(c+s)-n;1!==Math.abs(l)&&(a-=l),1!==Math.abs(u)&&(c-=u)}return g(i.left,i.top,a,c)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function _(t){return i?m(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):v(t):h}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=_(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),y=function(t,e){var n,r,i,o,s,a,c,l=(r=(n=e).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),c);u(this,{target:t,contentRect:l})},S=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
|
||||
if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new y(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new S(e,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}}));const I=void 0!==o.ResizeObserver?o.ResizeObserver:O},20037:(t,e,n)=>{function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{FixedSizeList:()=>I,VariableSizeList:()=>O});var a=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function c(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(r=t[n],i=e[n],!(r===i||a(r)&&a(i)))return!1;var r,i;return!0}const l=function(t,e){var n;void 0===e&&(e=c);var r,i=[],o=!1;return function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return o&&n===this&&e(s,i)||(r=t.apply(this,s),o=!0,n=this,i=s),r}};var u=n(50959),f="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function h(t){cancelAnimationFrame(t.id)}function d(t,e){var n=f();var r={id:requestAnimationFrame((function i(){f()-n>=e?t.call(null):r.id=requestAnimationFrame(i)}))};return r}var p=null;function v(t){if(void 0===t&&(t=!1),
|
||||
null===p||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?p="positive-descending":(e.scrollLeft=1,p=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e),p}return p}var m=function(t,e){return t};function _(t){var e,n,i=t.getItemOffset,a=t.getEstimatedTotalSize,c=t.getItemSize,f=t.getOffsetForIndexAndAlignment,p=t.getStartIndexForOffset,_=t.getStopIndexForStartIndex,b=t.initInstanceProps,y=t.shouldResetStyleCacheOnItemSizeChange,S=t.validateProps;return n=e=function(t){function e(e){var n;return(n=t.call(this,e)||this)._instanceProps=b(n.props,s(s(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:s(s(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=l((function(t,e,r,i){return n.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=l((function(t,e,r){return n.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(t){var e,r=n.props,o=r.direction,s=r.itemSize,a=r.layout,l=n._getItemStyleCache(y&&s,y&&a,y&&o);if(l.hasOwnProperty(t))e=l[t];else{var u=i(n.props,t,n._instanceProps),f=c(n.props,t,n._instanceProps),h="horizontal"===o||"horizontal"===a,d="rtl"===o,p=h?u:0;l[t]=e={position:"absolute",left:d?void 0:p,right:d?p:void 0,top:h?0:u,height:h?"100%":f,width:h?f:"100%"}}return e},n._getItemStyleCache=void 0,n._getItemStyleCache=l((function(t,e,n){return{}})),n._onScrollHorizontal=function(t){var e=t.currentTarget,r=e.clientWidth,i=e.scrollLeft,o=e.scrollWidth;n.setState((function(t){if(t.scrollOffset===i)return null;var e=n.props.direction,s=i;if("rtl"===e)switch(v()){case"negative":s=-i;break;case"positive-descending":s=o-r-i}return s=Math.max(0,Math.min(s,o-r)),{isScrolling:!0,scrollDirection:t.scrollOffset<i?"forward":"backward",scrollOffset:s,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(t){var e=t.currentTarget,r=e.clientHeight,i=e.scrollHeight,o=e.scrollTop;n.setState((function(t){if(t.scrollOffset===o)return null;var e=Math.max(0,Math.min(o,i-r));return{isScrolling:!0,scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(t){var e=n.props.outerRef;n._outerRef=t,"function"==typeof e?e(t):null!=e&&"object"==typeof e&&e.hasOwnProperty("current")&&(e.current=t)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&h(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=d(n._resetIsScrolling,150)},n._resetIsScrolling=function(){
|
||||
n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}o(e,t),e.getDerivedStateFromProps=function(t,e){return g(t,e),S(t),null};var n=e.prototype;return n.scrollTo=function(t){t=Math.max(0,t),this.setState((function(e){return e.scrollOffset===t?null:{scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},n.scrollToItem=function(t,e){void 0===e&&(e="auto");var n=this.props.itemCount,r=this.state.scrollOffset;t=Math.max(0,Math.min(t,n-1)),this.scrollTo(f(this.props,t,e,r,this._instanceProps))},n.componentDidMount=function(){var t=this.props,e=t.direction,n=t.initialScrollOffset,r=t.layout;if("number"==typeof n&&null!=this._outerRef){var i=this._outerRef;"horizontal"===e||"horizontal"===r?i.scrollLeft=n:i.scrollTop=n}this._callPropsCallbacks()},n.componentDidUpdate=function(){var t=this.props,e=t.direction,n=t.layout,r=this.state,i=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===e||"horizontal"===n)if("rtl"===e)switch(v()){case"negative":o.scrollLeft=-i;break;case"positive-ascending":o.scrollLeft=i;break;default:var s=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-s-i}else o.scrollLeft=i;else o.scrollTop=i}this._callPropsCallbacks()},n.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&h(this._resetIsScrollingTimeoutId)},n.render=function(){var t=this.props,e=t.children,n=t.className,i=t.direction,o=t.height,s=t.innerRef,c=t.innerElementType,l=t.innerTagName,f=t.itemCount,h=t.itemData,d=t.itemKey,p=void 0===d?m:d,v=t.layout,_=t.outerElementType,g=t.outerTagName,b=t.style,y=t.useIsScrolling,S=t.width,w=this.state.isScrolling,O="horizontal"===i||"horizontal"===v,I=O?this._onScrollHorizontal:this._onScrollVertical,M=this._getRangeToRender(),x=M[0],z=M[1],E=[];if(f>0)for(var R=x;R<=z;R++)E.push((0,u.createElement)(e,{data:h,key:p(R,h),index:R,isScrolling:y?w:void 0,style:this._getItemStyle(R)}));var T=a(this.props,this._instanceProps);return(0,u.createElement)(_||g||"div",{className:n,onScroll:I,ref:this._outerRefSetter,style:r({position:"relative",height:o,width:S,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},b)},(0,u.createElement)(c||l||"div",{children:E,ref:s,style:{height:O?"100%":T,pointerEvents:w?"none":void 0,width:O?T:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],n=t[1],r=t[2],i=t[3];this._callOnItemsRendered(e,n,r,i)}if("function"==typeof this.props.onScroll){var o=this.state,s=o.scrollDirection,a=o.scrollOffset,c=o.scrollUpdateWasRequested;this._callOnScroll(s,a,c)}},n._getRangeToRender=function(){var t=this.props,e=t.itemCount,n=t.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,s=r.scrollOffset;if(0===e)return[0,0,0,0]
|
||||
;var a=p(this.props,s,this._instanceProps),c=_(this.props,a,s,this._instanceProps),l=i&&"backward"!==o?1:Math.max(1,n),u=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,a-l),Math.max(0,Math.min(e-1,c+u)),a,c]},e}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var g=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},b=function(t,e,n){var r=t.itemSize,i=n.itemMetadataMap,o=n.lastMeasuredIndex;if(e>o){var s=0;if(o>=0){var a=i[o];s=a.offset+a.size}for(var c=o+1;c<=e;c++){var l=r(c);i[c]={offset:s,size:l},s+=l}n.lastMeasuredIndex=e}return i[e]},y=function(t,e,n,r,i){for(;r<=n;){var o=r+Math.floor((n-r)/2),s=b(t,o,e).offset;if(s===i)return o;s<i?r=o+1:s>i&&(n=o-1)}return r>0?r-1:0},S=function(t,e,n,r){for(var i=t.itemCount,o=1;n<i&&b(t,n,e).offset<r;)n+=o,o*=2;return y(t,e,Math.min(n,i-1),Math.floor(n/2),r)},w=function(t,e){var n=t.itemCount,r=e.itemMetadataMap,i=e.estimatedItemSize,o=e.lastMeasuredIndex,s=0;if(o>=n&&(o=n-1),o>=0){var a=r[o];s=a.offset+a.size}return s+(n-o-1)*i},O=_({getItemOffset:function(t,e,n){return b(t,e,n).offset},getItemSize:function(t,e,n){return n.itemMetadataMap[e].size},getEstimatedTotalSize:w,getOffsetForIndexAndAlignment:function(t,e,n,r,i){var o=t.direction,s=t.height,a=t.layout,c=t.width,l="horizontal"===o||"horizontal"===a?c:s,u=b(t,e,i),f=w(t,i),h=Math.max(0,Math.min(f-l,u.offset)),d=Math.max(0,u.offset-l+u.size);switch("smart"===n&&(n=r>=d-l&&r<=h+l?"auto":"center"),n){case"start":return h;case"end":return d;case"center":return Math.round(d+(h-d)/2);default:return r>=d&&r<=h?r:r<d?d:h}},getStartIndexForOffset:function(t,e,n){return function(t,e,n){var r=e.itemMetadataMap,i=e.lastMeasuredIndex;return(i>0?r[i].offset:0)>=n?y(t,e,i,0,n):S(t,e,Math.max(0,i),n)}(t,n,e)},getStopIndexForStartIndex:function(t,e,n,r){for(var i=t.direction,o=t.height,s=t.itemCount,a=t.layout,c=t.width,l="horizontal"===i||"horizontal"===a?c:o,u=b(t,e,r),f=n+l,h=u.offset+u.size,d=e;d<s-1&&h<f;)d++,h+=b(t,d,r).size;return d},initInstanceProps:function(t,e){var n={itemMetadataMap:{},estimatedItemSize:t.estimatedItemSize||50,lastMeasuredIndex:-1};return e.resetAfterIndex=function(t,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,t-1),e._getItemStyleCache(-1),r&&e.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){t.itemSize}}),I=_({getItemOffset:function(t,e){return e*t.itemSize},getItemSize:function(t,e){return t.itemSize},getEstimatedTotalSize:function(t){var e=t.itemCount;return t.itemSize*e},getOffsetForIndexAndAlignment:function(t,e,n,r){var i=t.direction,o=t.height,s=t.itemCount,a=t.itemSize,c=t.layout,l=t.width,u="horizontal"===i||"horizontal"===c?l:o,f=Math.max(0,s*a-u),h=Math.min(f,e*a),d=Math.max(0,e*a-u+a);switch("smart"===n&&(n=r>=d-u&&r<=h+u?"auto":"center"),n){case"start":return h;case"end":return d;case"center":var p=Math.round(d+(h-d)/2);return p<Math.ceil(u/2)?0:p>f+Math.floor(u/2)?f:p;default:
|
||||
return r>=d&&r<=h?r:r<d?d:h}},getStartIndexForOffset:function(t,e){var n=t.itemCount,r=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(e/r)))},getStopIndexForStartIndex:function(t,e,n){var r=t.direction,i=t.height,o=t.itemCount,s=t.itemSize,a=t.layout,c=t.width,l=e*s,u="horizontal"===r||"horizontal"===a?c:i,f=Math.ceil((u+n-l)/s);return Math.max(0,Math.min(o-1,e+f-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}})},25931:(t,e,n)=>{n.d(e,{nanoid:()=>r});let r=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"")}}]);
|
||||
1
charting_library/bundles/1803.4653bb65d2b0d594d6af.css
Normal file
1
charting_library/bundles/1803.4653bb65d2b0d594d6af.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,14 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2020],{59142:function(o,e){var l,i,n;i=[e],l=function(o){"use strict";function e(o){if(Array.isArray(o)){for(var e=0,l=Array(o.length);e<o.length;e++)l[e]=o[e];return l}return Array.from(o)}Object.defineProperty(o,"__esModule",{value:!0});var l=!1;if("undefined"!=typeof window){var i={get passive(){l=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var n="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],t=!1,s=-1,c=void 0,r=void 0,d=function(o){return a.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(o))}))},T=function(o){var e=o||window.event;return!!d(e.target)||1<e.touches.length||(e.preventDefault&&e.preventDefault(),!1)},L=function(){setTimeout((function(){void 0!==r&&(document.body.style.paddingRight=r,r=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};o.disableBodyScroll=function(o,i){if(n){if(!o)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(o&&!a.some((function(e){return e.targetElement===o}))){var L={targetElement:o,options:i||{}};a=[].concat(e(a),[L]),o.ontouchstart=function(o){1===o.targetTouches.length&&(s=o.targetTouches[0].clientY)},o.ontouchmove=function(e){var l,i,n,a;1===e.targetTouches.length&&(i=o,a=(l=e).targetTouches[0].clientY-s,!d(l.target)&&(i&&0===i.scrollTop&&0<a||(n=i)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&a<0?T(l):l.stopPropagation()))},t||(document.addEventListener("touchmove",T,l?{passive:!1}:void 0),t=!0)}}else{m=i,setTimeout((function(){if(void 0===r){var o=!!m&&!0===m.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;o&&0<e&&(r=document.body.style.paddingRight,document.body.style.paddingRight=e+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var h={targetElement:o,options:i||{}};a=[].concat(e(a),[h])}var m},o.clearAllBodyScrollLocks=function(){n?(a.forEach((function(o){o.targetElement.ontouchstart=null,o.targetElement.ontouchmove=null})),t&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1),a=[],s=-1):(L(),a=[])},o.enableBodyScroll=function(o){if(n){if(!o)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");o.ontouchstart=null,o.ontouchmove=null,a=a.filter((function(e){return e.targetElement!==o})),t&&0===a.length&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1)}else 1===a.length&&a[0].targetElement===o?(L(),a=[]):a=a.filter((function(e){return e.targetElement!==o}))}},void 0===(n="function"==typeof l?l.apply(e,i):l)||(o.exports=n)},88803:o=>{o.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},14877:o=>{
|
||||
o.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},24437:(o,e,l)=>{"use strict";l.d(e,{DialogBreakpoints:()=>n});var i=l(88803);const n={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},36189:(o,e,l)=>{"use strict";l.d(e,{FavoriteButton:()=>T});var i=l(44352),n=l(50959),a=l(97754),t=l(9745),s=l(39146),c=l(48010),r=l(14877);const d={add:i.t(null,void 0,l(44629)),remove:i.t(null,void 0,l(72482))};function T(o){const{className:e,isFilled:l,isActive:i,onClick:T,...L}=o;return n.createElement(t.Icon,{...L,className:a(r.favorite,"apply-common-tooltip",l&&r.checked,i&&r.active,e),icon:l?s:c,onClick:T,title:l?d.remove:d.add})}},54784:o=>{o.exports={button:"button-KTgbfaP5",hover:"hover-KTgbfaP5",bg:"bg-KTgbfaP5",icon:"icon-KTgbfaP5",isActive:"isActive-KTgbfaP5",isTransparent:"isTransparent-KTgbfaP5",isGrayed:"isGrayed-KTgbfaP5",isHidden:"isHidden-KTgbfaP5",accessible:"accessible-KTgbfaP5"}},66427:(o,e,l)=>{"use strict";l.d(e,{ToolButton:()=>s});var i=l(50959),n=l(97754),a=l(9745),t=l(54784);const s=(0,i.forwardRef)(((o,e)=>{const{id:l,activeClass:s,children:c,className:r,icon:d,isActive:T,isGrayed:L,isHidden:h,isTransparent:m,theme:v=t,onClick:z,onKeyDown:g,buttonHotKey:w,tooltipPosition:u="vertical",tag:f="div",tabIndex:N,tooltip:p,...I}=o,A="button"===o.tag;return i.createElement(f,{"aria-label":A?p:void 0,...I,id:l,type:A?"button":void 0,className:n(v.button,r,T&&s,{"apply-common-tooltip":Boolean(p),"common-tooltip-vertical":Boolean(p)&&"vertical"===u,[v.isActive]:T,[v.isGrayed]:L,[v.isHidden]:h,[v.isTransparent]:m},A&&v.accessible),onClick:z,onKeyDown:g,"data-role":A?void 0:"button",ref:e,tabIndex:N,"data-tooltip-hotkey":w,"aria-pressed":A?T:void 0,"data-tooltip":p},i.createElement("div",{className:v.bg},d&&("string"==typeof d?i.createElement(a.Icon,{className:v.icon,icon:d}):i.createElement("span",{className:v.icon},d)),c))}))},87872:(o,e,l)=>{"use strict";l.d(e,{drawingToolsIcons:()=>i});const i={SyncDrawing:l(99088),arrow:l(63743),cursor:l(18953),dot:l(72196),drawginmode:l(53950),drawginmodeActive:l(1532),eraser:l(27999),group:l(19799),hideAllDrawings:l(45820),hideAllDrawingsActive:l(84959),hideAllIndicators:l(42321),hideAllIndicatorsActive:l(75895),hideAllDrawingTools:l(93756),hideAllDrawingToolsActive:l(42650),hideAllPositionsTools:l(57313),hideAllPositionsToolsActive:l(65162),lockAllDrawings:l(91244),lockAllDrawingsActive:l(65186),magnet:l(68385),heart:l(10862),smile:l(7636),sticker:l(62567),strongMagnet:l(46049),measure:l(88518),removeAllDrawingTools:l(35149),showObjectTree:l(36515),zoom:l(6894),"zoom-out":l(45360)}},54819:(o,e,l)=>{"use strict";l.d(e,{lineToolsInfo:()=>v});var i=l(44352),n=l(61814),a=(l(42053),l(57673)),t=l(87872),s=l(59656),c=l(68335);const r=(0,c.humanReadableModifiers)(c.Modifiers.Shift,!1),d=(0,c.humanReadableModifiers)(c.Modifiers.Alt,!1),T=(0,c.humanReadableModifiers)(c.Modifiers.Mod,!1),L={keys:[r],
|
||||
text:i.t(null,void 0,l(40234))},h={keys:[r],text:i.t(null,void 0,l(68125))},m={keys:[r],text:i.t(null,void 0,l(81591))},v={LineTool5PointsPattern:{icon:a.lineToolsIcons.LineTool5PointsPattern,localizedName:s.lineToolsLocalizedNames.LineTool5PointsPattern},LineToolABCD:{icon:a.lineToolsIcons.LineToolABCD,localizedName:s.lineToolsLocalizedNames.LineToolABCD},LineToolArc:{icon:a.lineToolsIcons.LineToolArc,localizedName:s.lineToolsLocalizedNames.LineToolArc},LineToolArrow:{icon:a.lineToolsIcons.LineToolArrow,localizedName:s.lineToolsLocalizedNames.LineToolArrow},LineToolArrowMarkDown:{icon:a.lineToolsIcons.LineToolArrowMarkDown,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkDown},LineToolArrowMarkLeft:{icon:a.lineToolsIcons.LineToolArrowMarkLeft,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkLeft},LineToolArrowMarkRight:{icon:a.lineToolsIcons.LineToolArrowMarkRight,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkRight},LineToolArrowMarkUp:{icon:a.lineToolsIcons.LineToolArrowMarkUp,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkUp},LineToolBalloon:{icon:a.lineToolsIcons.LineToolBalloon,localizedName:s.lineToolsLocalizedNames.LineToolBalloon},LineToolComment:{icon:a.lineToolsIcons.LineToolComment,localizedName:s.lineToolsLocalizedNames.LineToolComment},LineToolBarsPattern:{icon:a.lineToolsIcons.LineToolBarsPattern,localizedName:s.lineToolsLocalizedNames.LineToolBarsPattern},LineToolBezierCubic:{icon:a.lineToolsIcons.LineToolBezierCubic,localizedName:s.lineToolsLocalizedNames.LineToolBezierCubic},LineToolBezierQuadro:{icon:a.lineToolsIcons.LineToolBezierQuadro,localizedName:s.lineToolsLocalizedNames.LineToolBezierQuadro},LineToolBrush:{icon:a.lineToolsIcons.LineToolBrush,localizedName:s.lineToolsLocalizedNames.LineToolBrush},LineToolCallout:{icon:a.lineToolsIcons.LineToolCallout,localizedName:s.lineToolsLocalizedNames.LineToolCallout},LineToolCircleLines:{icon:a.lineToolsIcons.LineToolCircleLines,localizedName:s.lineToolsLocalizedNames.LineToolCircleLines},LineToolCypherPattern:{icon:a.lineToolsIcons.LineToolCypherPattern,localizedName:s.lineToolsLocalizedNames.LineToolCypherPattern},LineToolDateAndPriceRange:{icon:a.lineToolsIcons.LineToolDateAndPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolDateAndPriceRange},LineToolDateRange:{icon:a.lineToolsIcons.LineToolDateRange,localizedName:s.lineToolsLocalizedNames.LineToolDateRange},LineToolDisjointAngle:{icon:a.lineToolsIcons.LineToolDisjointAngle,localizedName:s.lineToolsLocalizedNames.LineToolDisjointAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolElliottCorrection:{icon:a.lineToolsIcons.LineToolElliottCorrection,localizedName:s.lineToolsLocalizedNames.LineToolElliottCorrection},LineToolElliottDoubleCombo:{icon:a.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:s.lineToolsLocalizedNames.LineToolElliottDoubleCombo},LineToolElliottImpulse:{icon:a.lineToolsIcons.LineToolElliottImpulse,localizedName:s.lineToolsLocalizedNames.LineToolElliottImpulse},LineToolElliottTriangle:{icon:a.lineToolsIcons.LineToolElliottTriangle,
|
||||
localizedName:s.lineToolsLocalizedNames.LineToolElliottTriangle},LineToolElliottTripleCombo:{icon:a.lineToolsIcons.LineToolElliottTripleCombo,localizedName:s.lineToolsLocalizedNames.LineToolElliottTripleCombo},LineToolEllipse:{icon:a.lineToolsIcons.LineToolEllipse,localizedName:s.lineToolsLocalizedNames.LineToolEllipse,hotKey:(0,n.hotKeySerialize)(h)},LineToolExtended:{icon:a.lineToolsIcons.LineToolExtended,localizedName:s.lineToolsLocalizedNames.LineToolExtended},LineToolFibChannel:{icon:a.lineToolsIcons.LineToolFibChannel,localizedName:s.lineToolsLocalizedNames.LineToolFibChannel},LineToolFibCircles:{icon:a.lineToolsIcons.LineToolFibCircles,localizedName:s.lineToolsLocalizedNames.LineToolFibCircles,hotKey:(0,n.hotKeySerialize)(h)},LineToolFibRetracement:{icon:a.lineToolsIcons.LineToolFibRetracement,localizedName:s.lineToolsLocalizedNames.LineToolFibRetracement},LineToolFibSpeedResistanceArcs:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceArcs,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceArcs},LineToolFibSpeedResistanceFan:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceFan,hotKey:(0,n.hotKeySerialize)(m)},LineToolFibSpiral:{icon:a.lineToolsIcons.LineToolFibSpiral,localizedName:s.lineToolsLocalizedNames.LineToolFibSpiral},LineToolFibTimeZone:{icon:a.lineToolsIcons.LineToolFibTimeZone,localizedName:s.lineToolsLocalizedNames.LineToolFibTimeZone},LineToolFibWedge:{icon:a.lineToolsIcons.LineToolFibWedge,localizedName:s.lineToolsLocalizedNames.LineToolFibWedge},LineToolFlagMark:{icon:a.lineToolsIcons.LineToolFlagMark,localizedName:s.lineToolsLocalizedNames.LineToolFlagMark},LineToolImage:{icon:a.lineToolsIcons.LineToolImage,localizedName:s.lineToolsLocalizedNames.LineToolImage},LineToolFlatBottom:{icon:a.lineToolsIcons.LineToolFlatBottom,localizedName:s.lineToolsLocalizedNames.LineToolFlatBottom,hotKey:(0,n.hotKeySerialize)(L)},LineToolAnchoredVWAP:{icon:a.lineToolsIcons.LineToolAnchoredVWAP,localizedName:s.lineToolsLocalizedNames.LineToolAnchoredVWAP},LineToolGannComplex:{icon:a.lineToolsIcons.LineToolGannComplex,localizedName:s.lineToolsLocalizedNames.LineToolGannComplex},LineToolGannFixed:{icon:a.lineToolsIcons.LineToolGannFixed,localizedName:s.lineToolsLocalizedNames.LineToolGannFixed},LineToolGannFan:{icon:a.lineToolsIcons.LineToolGannFan,localizedName:s.lineToolsLocalizedNames.LineToolGannFan},LineToolGannSquare:{icon:a.lineToolsIcons.LineToolGannSquare,localizedName:s.lineToolsLocalizedNames.LineToolGannSquare,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(10289))})},LineToolHeadAndShoulders:{icon:a.lineToolsIcons.LineToolHeadAndShoulders,localizedName:s.lineToolsLocalizedNames.LineToolHeadAndShoulders},LineToolHorzLine:{icon:a.lineToolsIcons.LineToolHorzLine,localizedName:s.lineToolsLocalizedNames.LineToolHorzLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:a.lineToolsIcons.LineToolHorzRay,localizedName:s.lineToolsLocalizedNames.LineToolHorzRay},LineToolIcon:{
|
||||
icon:a.lineToolsIcons.LineToolIcon,localizedName:s.lineToolsLocalizedNames.LineToolIcon},LineToolEmoji:{icon:a.lineToolsIcons.LineToolEmoji,localizedName:s.lineToolsLocalizedNames.LineToolEmoji},LineToolInsidePitchfork:{icon:a.lineToolsIcons.LineToolInsidePitchfork,localizedName:s.lineToolsLocalizedNames.LineToolInsidePitchfork},LineToolNote:{icon:a.lineToolsIcons.LineToolNote,localizedName:s.lineToolsLocalizedNames.LineToolNote},LineToolNoteAbsolute:{icon:a.lineToolsIcons.LineToolNoteAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolNoteAbsolute},LineToolSignpost:{icon:a.lineToolsIcons.LineToolSignpost,localizedName:s.lineToolsLocalizedNames.LineToolSignpost},LineToolParallelChannel:{icon:a.lineToolsIcons.LineToolParallelChannel,localizedName:s.lineToolsLocalizedNames.LineToolParallelChannel,hotKey:(0,n.hotKeySerialize)(L)},LineToolPitchfan:{icon:a.lineToolsIcons.LineToolPitchfan,localizedName:s.lineToolsLocalizedNames.LineToolPitchfan},LineToolPitchfork:{icon:a.lineToolsIcons.LineToolPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolPitchfork},LineToolPolyline:{icon:a.lineToolsIcons.LineToolPolyline,localizedName:s.lineToolsLocalizedNames.LineToolPolyline},LineToolPath:{icon:a.lineToolsIcons.LineToolPath,localizedName:s.lineToolsLocalizedNames.LineToolPath},LineToolPrediction:{icon:a.lineToolsIcons.LineToolPrediction,localizedName:s.lineToolsLocalizedNames.LineToolPrediction},LineToolPriceLabel:{icon:a.lineToolsIcons.LineToolPriceLabel,localizedName:s.lineToolsLocalizedNames.LineToolPriceLabel},LineToolPriceNote:{icon:a.lineToolsIcons.LineToolPriceNote,localizedName:s.lineToolsLocalizedNames.LineToolPriceNote,hotKey:(0,n.hotKeySerialize)(L)},LineToolArrowMarker:{icon:a.lineToolsIcons.LineToolArrowMarker,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarker},LineToolPriceRange:{icon:a.lineToolsIcons.LineToolPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolPriceRange},LineToolProjection:{icon:a.lineToolsIcons.LineToolProjection,localizedName:s.lineToolsLocalizedNames.LineToolProjection},LineToolRay:{icon:a.lineToolsIcons.LineToolRay,localizedName:s.lineToolsLocalizedNames.LineToolRay},LineToolRectangle:{icon:a.lineToolsIcons.LineToolRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRectangle,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(81591))})},LineToolCircle:{icon:a.lineToolsIcons.LineToolCircle,localizedName:s.lineToolsLocalizedNames.LineToolCircle},LineToolRegressionTrend:{icon:a.lineToolsIcons.LineToolRegressionTrend,localizedName:s.lineToolsLocalizedNames.LineToolRegressionTrend},LineToolRiskRewardLong:{icon:a.lineToolsIcons.LineToolRiskRewardLong,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardLong},LineToolRiskRewardShort:{icon:a.lineToolsIcons.LineToolRiskRewardShort,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardShort},LineToolFixedRangeVolumeProfile:{icon:a.lineToolsIcons.LineToolFixedRangeVolumeProfile,localizedName:s.lineToolsLocalizedNames.LineToolFixedRangeVolumeProfile},LineToolRotatedRectangle:{
|
||||
icon:a.lineToolsIcons.LineToolRotatedRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRotatedRectangle,hotKey:(0,n.hotKeySerialize)(L)},LineToolSchiffPitchfork:{icon:a.lineToolsIcons.LineToolSchiffPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork},LineToolSchiffPitchfork2:{icon:a.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork2},LineToolSineLine:{icon:a.lineToolsIcons.LineToolSineLine,localizedName:s.lineToolsLocalizedNames.LineToolSineLine},LineToolText:{icon:a.lineToolsIcons.LineToolText,localizedName:s.lineToolsLocalizedNames.LineToolText},LineToolTextAbsolute:{icon:a.lineToolsIcons.LineToolTextAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolTextAbsolute},LineToolThreeDrivers:{icon:a.lineToolsIcons.LineToolThreeDrivers,localizedName:s.lineToolsLocalizedNames.LineToolThreeDrivers},LineToolTimeCycles:{icon:a.lineToolsIcons.LineToolTimeCycles,localizedName:s.lineToolsLocalizedNames.LineToolTimeCycles},LineToolTrendAngle:{icon:a.lineToolsIcons.LineToolTrendAngle,localizedName:s.lineToolsLocalizedNames.LineToolTrendAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolTrendBasedFibExtension:{icon:a.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibExtension},LineToolTrendBasedFibTime:{icon:a.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibTime},LineToolTrendLine:{icon:a.lineToolsIcons.LineToolTrendLine,localizedName:s.lineToolsLocalizedNames.LineToolTrendLine,hotKey:(0,n.hotKeySerialize)(L)},LineToolInfoLine:{icon:a.lineToolsIcons.LineToolInfoLine,localizedName:s.lineToolsLocalizedNames.LineToolInfoLine},LineToolTriangle:{icon:a.lineToolsIcons.LineToolTriangle,localizedName:s.lineToolsLocalizedNames.LineToolTriangle},LineToolTrianglePattern:{icon:a.lineToolsIcons.LineToolTrianglePattern,localizedName:s.lineToolsLocalizedNames.LineToolTrianglePattern},LineToolVertLine:{icon:a.lineToolsIcons.LineToolVertLine,localizedName:s.lineToolsLocalizedNames.LineToolVertLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:a.lineToolsIcons.LineToolCrossLine,localizedName:s.lineToolsLocalizedNames.LineToolCrossLine},LineToolHighlighter:{icon:a.lineToolsIcons.LineToolHighlighter,localizedName:s.lineToolsLocalizedNames.LineToolHighlighter},SyncDrawing:{icon:t.drawingToolsIcons.SyncDrawing,iconActive:t.drawingToolsIcons.SyncDrawingActive,localizedName:i.t(null,void 0,l(36551))},arrow:{icon:t.drawingToolsIcons.arrow,localizedName:i.t(null,void 0,l(96237))},cursor:{icon:t.drawingToolsIcons.cursor,localizedName:i.t(null,void 0,l(29908))},dot:{icon:t.drawingToolsIcons.dot,localizedName:i.t(null,void 0,l(60925))},drawginmode:{icon:t.drawingToolsIcons.drawginmode,iconActive:t.drawingToolsIcons.drawginmodeActive,localizedName:i.t(null,void 0,l(49421))},eraser:{icon:t.drawingToolsIcons.eraser,localizedName:i.t(null,void 0,l(99289))},group:{icon:t.drawingToolsIcons.group,
|
||||
localizedName:i.t(null,void 0,l(91977))},hideAllDrawings:{icon:t.drawingToolsIcons.hideAllDrawings,iconActive:t.drawingToolsIcons.hideAllDrawingsActive,localizedName:i.t(null,void 0,l(17517)),hotKey:(0,n.hotKeySerialize)({keys:[T,d,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{icon:t.drawingToolsIcons.lockAllDrawings,iconActive:t.drawingToolsIcons.lockAllDrawingsActive,localizedName:i.t(null,void 0,l(37057))},magnet:{icon:t.drawingToolsIcons.magnet,localizedName:i.t(null,void 0,l(37140)),hotKey:(0,n.hotKeySerialize)({keys:[T],text:"{0}"})},measure:{icon:t.drawingToolsIcons.measure,localizedName:i.t(null,void 0,l(59607)),hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(32868))})},removeAllDrawingTools:{icon:t.drawingToolsIcons.removeAllDrawingTools,localizedName:i.t(null,void 0,l(76091))},showObjectsTree:{icon:t.drawingToolsIcons.showObjectTree,localizedName:i.t(null,void 0,l(51072))},zoom:{icon:t.drawingToolsIcons.zoom,localizedName:i.t(null,void 0,l(38925))},"zoom-out":{icon:t.drawingToolsIcons["zoom-out"],localizedName:i.t(null,void 0,l(49895))}};v.LineToolGhostFeed={icon:a.lineToolsIcons.LineToolGhostFeed,localizedName:s.lineToolsLocalizedNames.LineToolGhostFeed}},71810:(o,e,l)=>{"use strict";l.d(e,{LinetoolsFavoritesStore:()=>s});var i=l(57898),n=l(56840);const a=["LineToolBalloon"];var t,s;!function(o){function e(){var e,i;o.favorites=[];let s=!1;const c=Boolean(void 0===(0,n.getValue)("chart.favoriteDrawings")),r=(0,n.getJSON)("chart.favoriteDrawings",[]);if(0===r.length&&c&&"undefined"!=typeof window){const o=JSON.parse(null!==(i=null===(e=window.urlParams)||void 0===e?void 0:e.favorites)&&void 0!==i?i:"{}").drawingTools;o&&Array.isArray(o)&&r.push(...o)}r.forEach(((e,i)=>{const n=e.tool||e;l(n)?a.includes(n)?s=!0:o.favorites.push(n):"LineToolTweet"===n&&(o.tweetToolPosition=i)})),s&&t(),o.favoritesSynced.fire()}function l(o){return"string"==typeof o&&""!==o&&!0}function t(e){const l=o.favorites.slice();null!==o.tweetToolPosition&&l.splice(o.tweetToolPosition,0,"LineToolTweet"),(0,n.setJSON)("chart.favoriteDrawings",l,e)}o.favorites=[],o.favoritesSynced=new i.Delegate,o.tweetToolPosition=null,o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.isValidLineToolName=l,o.saveFavorites=t,e(),n.onSync.subscribe(null,e)}(t||(t={})),function(o){function e(o){return t.isValidLineToolName(o)}function l(){return t.favorites.length}function n(o){return-1!==t.favoriteIndex(o)}o.favoriteAdded=new i.Delegate,o.favoriteRemoved=new i.Delegate,o.favoriteMoved=new i.Delegate,o.favoritesSynced=t.favoritesSynced,o.favorites=function(){return t.favorites.slice()},o.isValidLineToolName=e,o.favoritesCount=l,o.favorite=function(o){return o<0||o>=l()?"":t.favorites[o]},o.addFavorite=function(l,i){return!(n(l)||!e(l))&&(t.favorites.push(l),t.saveFavorites(i),o.favoriteAdded.fire(l),!0)},o.removeFavorite=function(e,l){const i=t.favoriteIndex(e);if(-1===i)return!1;t.favorites.splice(i,1);const n=t.tweetToolPosition;return null!==n&&n>i&&(t.tweetToolPosition=n-1),t.saveFavorites(l),o.favoriteRemoved.fire(e),!0},
|
||||
o.isFavorite=n,o.moveFavorite=function(i,n,a){if(n<0||n>=l()||!e(i))return!1;const s=t.favoriteIndex(i);if(-1===s||n===s)return!1;let c=t.tweetToolPosition;return null!==c&&(s<c&&n>c?c--:n<c&&s>c&&c++,t.tweetToolPosition=c),t.favorites.splice(s,1),t.favorites.splice(n,0,i),t.saveFavorites(a),o.favoriteMoved.fire(i,s,n),!0}}(s||(s={}))},19799:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30" height="30"><path fill="currentColor" d="M5.5 13A2.5 2.5 0 0 0 3 15.5 2.5 2.5 0 0 0 5.5 18 2.5 2.5 0 0 0 8 15.5 2.5 2.5 0 0 0 5.5 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5A2.5 2.5 0 0 0 15 18a2.5 2.5 0 0 0 2.5-2.5A2.5 2.5 0 0 0 15 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5 2.5 2.5 0 0 0 2.5 2.5 2.5 2.5 0 0 0 2.5-2.5 2.5 2.5 0 0 0-2.5-2.5z"/></svg>'},63743:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M11.682 16.09l3.504 6.068 1.732-1-3.497-6.057 3.595-2.1L8 7.74v10.512l3.682-2.163zm-.362 1.372L7 20V6l12 7-4.216 2.462 3.5 6.062-3.464 2-3.5-6.062z"/></svg>'},18953:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path d="M18 15h8v-1h-8z"/><path d="M14 18v8h1v-8zM14 3v8h1v-8zM3 15h8v-1h-8z"/></g></svg>'},72196:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><circle fill="currentColor" cx="14" cy="14" r="3"/></svg>'},1532:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 17.5v-2a2.5 2.5 0 0 0-5 0v2h1v-2a1.5 1.5 0 0 1 3 0v2h1z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},53950:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 14.5a2.5 2.5 0 0 0-5 0v3h1v-3a1.5 1.5 0 0 1 3 0v.5h1v-.5z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},27999:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 31" width="29" height="31"><g fill="currentColor" fill-rule="nonzero"><path d="M15.3 22l8.187-8.187c.394-.394.395-1.028.004-1.418l-4.243-4.243c-.394-.394-1.019-.395-1.407-.006l-11.325 11.325c-.383.383-.383 1.018.007 1.407l1.121 1.121h7.656zm-9.484-.414c-.781-.781-.779-2.049-.007-2.821l11.325-11.325c.777-.777 2.035-.78 2.821.006l4.243 4.243c.781.781.78 2.048-.004 2.832l-8.48 8.48h-8.484l-1.414-1.414z"/><path d="M13.011 22.999h7.999v-1h-7.999zM13.501 11.294l6.717 6.717.707-.707-6.717-6.717z"/></g></svg>'},10862:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M24.13 14.65a6.2 6.2 0 0 0-.46-9.28c-2.57-2.09-6.39-1.71-8.75.6l-.92.91-.92-.9c-2.36-2.32-6.18-2.7-8.75-.61a6.2 6.2 0 0 0-.46 9.28l9.07 8.92c.58.57 1.53.57 2.12 0l9.07-8.92Zm-9.77 8.2 9.07-8.91a5.2 5.2 0 0 0-.39-7.8c-2.13-1.73-5.38-1.45-7.42.55L14 8.29l-1.62-1.6c-2.03-2-5.29-2.28-7.42-.55a5.2 5.2 0 0 0-.4 7.8l9.08 8.91c.2.2.52.2.72 0Z"/></svg>'},68385:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M14 10a2 2 0 0 0-2 2v11H6V12c0-4.416 3.584-8 8-8s8 3.584 8 8v11h-6V12a2 2 0 0 0-2-2zm-3 2a3 3 0 0 1 6 0v10h4V12c0-3.864-3.136-7-7-7s-7 3.136-7 7v10h4V12z"/><path d="M6.5 18h5v1h-5zm10 0h5v1h-5z"/></g></svg>'},88518:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M2 9.75a1.5 1.5 0 0 0-1.5 1.5v5.5a1.5 1.5 0 0 0 1.5 1.5h24a1.5 1.5 0 0 0 1.5-1.5v-5.5a1.5 1.5 0 0 0-1.5-1.5zm0 1h3v2.5h1v-2.5h3.25v3.9h1v-3.9h3.25v2.5h1v-2.5h3.25v3.9h1v-3.9H22v2.5h1v-2.5h3a.5.5 0 0 1 .5.5v5.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-5.5a.5.5 0 0 1 .5-.5z" transform="rotate(-45 14 14)"/></svg>'},36515:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M14 18.634l-.307-.239-7.37-5.73-2.137-1.665 9.814-7.633 9.816 7.634-.509.394-1.639 1.269-7.667 5.969zm7.054-6.759l1.131-.876-8.184-6.366-8.186 6.367 1.123.875 7.063 5.491 7.054-5.492z"/><path d="M7 14.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/><path d="M7 17.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/></g></svg>'},7636:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M4.05 14a9.95 9.95 0 1 1 19.9 0 9.95 9.95 0 0 1-19.9 0ZM14 3a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-3 13.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},62567:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M7 4h14a3 3 0 0 1 3 3v11c0 .34-.03.67-.08 1H20.3c-1.28 0-2.31.97-2.31 2.24V24H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm12 19.92A6 6 0 0 0 23.66 20H20.3c-.77 0-1.31.48-1.31 1.24v2.68ZM3 7a4 4 0 0 1 4-4h14a4 4 0 0 1 4 4v11a7 7 0 0 1-7 7H7a4 4 0 0 1-4-4V7Zm8 9.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},46049:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="nonzero" d="M14 5a7 7 0 0 0-7 7v3h4v-3a3 3 0 1 1 6 0v3h4v-3a7 7 0 0 0-7-7zm7 11h-4v3h4v-3zm-10 0H7v3h4v-3zm-5-4a8 8 0 1 1 16 0v8h-6v-8a2 2 0 1 0-4 0v8H6v-8zm3.293 11.294l-1.222-2.037.858-.514 1.777 2.963-2 1 1.223 2.037-.858.514-1.778-2.963 2-1zm9.778-2.551l.858.514-1.223 2.037 2 1-1.777 2.963-.858-.514 1.223-2.037-2-1 1.777-2.963z"/></svg>'},99088:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"/><path d="M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"/></g></svg>'},42650:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M19.76 6.07l-.7.7a13.4 13.4 0 011.93 2.47c.19.3.33.55.42.72l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02a5.1 5.1 0 00-.15-.28 16 16 0 00-2.53-3.41zM6.24 13.93l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41zm6.09-.43a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm-1.97-3.69l-.93.93a3.6 3.6 0 014.24-4.24l-.95.95a2.6 2.6 0 00-2.36 2.36zm11.29 7.84l-.8.79a1.5 1.5 0 000 2.12l.59.59a1.5 1.5 0 002.12 0l1.8-1.8-.71-.7-1.8 1.79a.5.5 0 01-.7 0l-.59-.59a.5.5 0 010-.7l.8-.8-.71-.7zm-5.5 3.5l.35.35-.35-.35.01-.02.02-.02.02-.02a4.68 4.68 0 01.65-.5c.4-.27 1-.59 1.65-.59.66 0 1.28.33 1.73.77.44.45.77 1.07.77 1.73a2.5 2.5 0 01-.77 1.73 2.5 2.5 0 01-1.73.77h-4a.5.5 0 01-.42-.78l1-1.5 1-1.5a.5.5 0 01.07-.07zm.74.67a3.46 3.46 0 01.51-.4c.35-.24.75-.42 1.1-.42.34 0 .72.17 1.02.48.3.3.48.68.48 1.02 0 .34-.17.72-.48 1.02-.3.3-.68.48-1.02.48h-3.07l.49-.72.97-1.46zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},75895:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M16.47 3.7A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76zm-7.04 7.04l.93-.93a2.6 2.6 0 012.36-2.36l.95-.95a3.6 3.6 0 00-4.24 4.24zm.1 5.56c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02-.02-.03-.01-.03a9.5 9.5 0 00-.57-1 16 16 0 00-2.08-2.63l-.7.7.27.29a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76zm2.8-2.8a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm7.9 3.73c-.12.12-.23.35-.23.77v2h1v1h-1v2c0 .58-.14 1.1-.52 1.48-.38.38-.9.52-1.48.52s-1.1-.14-1.48-.52c-.38-.38-.52-.9-.52-1.48h1c0 .42.1.65.23.77.12.12.35.23.77.23.42 0 .65-.1.77-.23.12-.12.23-.35.23-.77v-2h-1v-1h1v-2c0-.58.14-1.1.52-1.48.38-.38.9-.52 1.48-.52s1.1.14 1.48.52c.38.38.52.9.52 1.48h-1c0-.42-.1-.65-.23-.77-.12-.12-.35-.23-.77-.23-.42 0-.65.1-.77.23zm2.56 6.27l-1.14-1.15.7-.7 1.15 1.14 1.15-1.14.7.7-1.14 1.15 1.14 1.15-.7.7-1.15-1.14-1.15 1.14-.7-.7 1.14-1.15zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},65162:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M5.5 18.2L21.2 2.5l-.7-.7L4.8 17.5l.7.7zM19.05 6.78l.71-.7a14.26 14.26 0 0 1 2.08 2.64 14.26 14.26 0 0 1 .6 1.05v.02h.01L22 10l.45.22-.01.02a5.18 5.18 0 0 1-.15.28 16 16 0 0 1-2.23 3.1c-1.56 1.69-3.94 3.44-7.06 3.44-1.29 0-2.44-.3-3.47-.76l.76-.76c.83.32 1.73.52 2.71.52 2.73 0 4.85-1.53 6.33-3.12a15.01 15.01 0 0 0 2.08-2.9l.03-.04-.03-.04a15 15 0 0 0-2.36-3.18zM22 10l.45-.22.1.22-.1.22L22 10zM6.94 13.23l-.7.7a14.24 14.24 0 0 1-2.08-2.64 14.28 14.28 0 0 1-.6-1.05v-.02h-.01L4 10l-.45-.22.01-.02a5.55 5.55 0 0 1 .15-.28 16 16 0 0 1 2.23-3.1C7.5 4.69 9.88 2.94 13 2.94c1.29 0 2.44.3 3.47.76l-.76.76A7.27 7.27 0 0 0 13 3.94c-2.73 0-4.85 1.53-6.33 3.12a15 15 0 0 0-2.08 2.9l-.03.04.03.04a15.01 15.01 0 0 0 2.36 3.18zM4 10l-.45.22-.1-.22.1-.22L4 10zm9 3.56c-.23 0-.46-.02-.67-.06l.95-.95a2.6 2.6 0 0 0 2.36-2.36l.93-.93a3.6 3.6 0 0 1-3.57 4.3zm-3.57-2.82l.93-.93a2.6 2.6 0 0 1 2.36-2.36l.95-.95a3.6 3.6 0 0 0-4.24 4.24zM17.5 21.9l3.28 2.18a.5.5 0 1 1-.56.84L17.5 23.1l-2.72 1.82a.5.5 0 1 1-.56-.84l3.28-2.18zM18.58 19.22a.5.5 0 0 1 .7-.14L22 20.9l2.72-1.82a.5.5 0 0 1 .56.84L22 22.1l-3.28-2.18a.5.5 0 0 1-.14-.7z"/></svg>'},65186:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M14 6a3 3 0 0 0-3 3v3h6V9a3 3 0 0 0-3-3zm4 6V9a4 4 0 0 0-8 0v3H8.5A2.5 2.5 0 0 0 6 14.5v7A2.5 2.5 0 0 0 8.5 24h11a2.5 2.5 0 0 0 2.5-2.5v-7a2.5 2.5 0 0 0-2.5-2.5H18zm-5 5a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6-2.5c0-.83.67-1.5 1.5-1.5h11c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 7 21.5v-7z"/></svg>'},91244:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M14 6a3 3 0 0 0-3 3v3h8.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 6 21.5v-7A2.5 2.5 0 0 1 8.5 12H10V9a4 4 0 0 1 8 0h-1a3 3 0 0 0-3-3zm-1 11a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6-2.5c0-.83.67-1.5 1.5-1.5h11c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 7 21.5v-7z"/></svg>'},45820:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M4.56 14a10.05 10.05 0 00.52.91c.41.69 1.04 1.6 1.85 2.5C8.58 19.25 10.95 21 14 21c3.05 0 5.42-1.76 7.07-3.58A17.18 17.18 0 0023.44 14a9.47 9.47 0 00-.52-.91c-.41-.69-1.04-1.6-1.85-2.5C19.42 8.75 17.05 7 14 7c-3.05 0-5.42 1.76-7.07 3.58A17.18 17.18 0 004.56 14zM24 14l.45-.21-.01-.03a7.03 7.03 0 00-.16-.32c-.11-.2-.28-.51-.5-.87-.44-.72-1.1-1.69-1.97-2.65C20.08 7.99 17.45 6 14 6c-3.45 0-6.08 2-7.8 3.92a18.18 18.18 0 00-2.64 3.84v.02h-.01L4 14l-.45-.21-.1.21.1.21L4 14l-.45.21.01.03a5.85 5.85 0 00.16.32c.11.2.28.51.5.87.44.72 1.1 1.69 1.97 2.65C7.92 20.01 10.55 22 14 22c3.45 0 6.08-2 7.8-3.92a18.18 18.18 0 002.64-3.84v-.02h.01L24 14zm0 0l.45.21.1-.21-.1-.21L24 14zm-10-3a3 3 0 100 6 3 3 0 000-6zm-4 3a4 4 0 118 0 4 4 0 01-8 0z"/></svg>'},93756:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M5 10.76l-.41-.72-.03-.04.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12 2.73 0 4.85 1.53 6.33 3.12a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-2.73 0-4.85-1.53-6.33-3.12a15 15 0 01-1.66-2.18zm17.45-.98L22 10l.45.22-.01.02a5.04 5.04 0 01-.15.28 16.01 16.01 0 01-2.23 3.1c-1.56 1.69-3.94 3.44-7.06 3.44-3.12 0-5.5-1.75-7.06-3.44a16 16 0 01-2.38-3.38v-.02h-.01L4 10l-.45-.22.01-.02a5.4 5.4 0 01.15-.28 16 16 0 012.23-3.1C7.5 4.69 9.88 2.94 13 2.94c3.12 0 5.5 1.75 7.06 3.44a16.01 16.01 0 012.38 3.38v.02h.01zM22 10l.45-.22.1.22-.1.22L22 10zM3.55 9.78L4 10l-.45.22-.1-.22.1-.22zm6.8.22A2.6 2.6 0 0113 7.44 2.6 2.6 0 0115.65 10 2.6 2.6 0 0113 12.56 2.6 2.6 0 0110.35 10zM13 6.44A3.6 3.6 0 009.35 10 3.6 3.6 0 0013 13.56c2 0 3.65-1.58 3.65-3.56A3.6 3.6 0 0013 6.44zm7.85 12l.8-.8.7.71-.79.8a.5.5 0 000 .7l.59.59c.2.2.5.2.7 0l1.8-1.8.7.71-1.79 1.8a1.5 1.5 0 01-2.12 0l-.59-.59a1.5 1.5 0 010-2.12zM16.5 21.5l-.35-.35a.5.5 0 00-.07.07l-1 1.5-1 1.5a.5.5 0 00.42.78h4a2.5 2.5 0 001.73-.77A2.5 2.5 0 0021 22.5a2.5 2.5 0 00-.77-1.73A2.5 2.5 0 0018.5 20a3.1 3.1 0 00-1.65.58 5.28 5.28 0 00-.69.55v.01h-.01l.35.36zm.39.32l-.97 1.46-.49.72h3.07c.34 0 .72-.17 1.02-.48.3-.3.48-.68.48-1.02 0-.34-.17-.72-.48-1.02-.3-.3-.68-.48-1.02-.48-.35 0-.75.18-1.1.42a4.27 4.27 0 00-.51.4z"/></svg>'},42321:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M5 10.76a13.27 13.27 0 01-.41-.72L4.56 10l.03-.04a15 15 0 012.08-2.9c1.48-1.6 3.6-3.12 6.33-3.12s4.85 1.53 6.33 3.12a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.08 2.9c-1.48 1.6-3.6 3.12-6.33 3.12s-4.85-1.53-6.33-3.12a15 15 0 01-1.66-2.18zm17.45-.98L22 10l.45.22-.01.02a14.3 14.3 0 01-.6 1.05c-.4.64-1 1.48-1.78 2.33-1.56 1.7-3.94 3.44-7.06 3.44s-5.5-1.75-7.06-3.44a16 16 0 01-2.23-3.1 9.39 9.39 0 01-.15-.28v-.02h-.01L4 10l-.45-.22.01-.02a5.59 5.59 0 01.15-.28 16 16 0 012.23-3.1C7.5 4.69 9.87 2.94 13 2.94c3.12 0 5.5 1.75 7.06 3.44a16 16 0 012.23 3.1 9.5 9.5 0 01.15.28v.01l.01.01zM22 10l.45-.22.1.22-.1.22L22 10zM3.55 9.78L4 10l-.45.22-.1-.22.1-.22zm6.8.22A2.6 2.6 0 0113 7.44 2.6 2.6 0 0115.65 10 2.6 2.6 0 0113 12.56 2.6 2.6 0 0110.35 10zM13 6.44A3.6 3.6 0 009.35 10c0 1.98 1.65 3.56 3.65 3.56s3.65-1.58 3.65-3.56A3.6 3.6 0 0013 6.44zM20 18c0-.42.1-.65.23-.77.12-.13.35-.23.77-.23.42 0 .65.1.77.23.13.12.23.35.23.77h1c0-.58-.14-1.1-.52-1.48-.38-.38-.9-.52-1.48-.52s-1.1.14-1.48.52c-.37.38-.52.9-.52 1.48v2h-1v1h1v2c0 .42-.1.65-.23.77-.12.13-.35.23-.77.23-.42 0-.65-.1-.77-.23-.13-.12-.23-.35-.23-.77h-1c0 .58.14 1.1.52 1.48.38.37.9.52 1.48.52s1.1-.14 1.48-.52c.37-.38.52-.9.52-1.48v-2h1v-1h-1v-2zm1.65 4.35l1.14 1.15-1.14 1.15.7.7 1.15-1.14 1.15 1.14.7-.7-1.14-1.15 1.14-1.15-.7-.7-1.15 1.14-1.15-1.14-.7.7z"/></svg>'},57313:o=>{
|
||||
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M4.5 10a8.46 8.46 0 0 0 .46.8c.38.6.94 1.4 1.68 2.19 1.48 1.6 3.62 3.13 6.36 3.13s4.88-1.53 6.36-3.13A15.07 15.07 0 0 0 21.5 10a7.41 7.41 0 0 0-.46-.8c-.38-.6-.94-1.4-1.68-2.19-1.48-1.6-3.62-3.13-6.36-3.13S8.12 5.4 6.64 7A15.07 15.07 0 0 0 4.5 10zM22 10l.41-.19-.4.19zm0 0l.41.19-.4-.19zm.41.19l.09-.19-.09-.19-.01-.02a6.86 6.86 0 0 0-.15-.28c-.1-.18-.25-.45-.45-.76-.4-.64-.99-1.48-1.77-2.32C18.47 4.74 16.11 3 13 3 9.89 3 7.53 4.74 5.97 6.43A15.94 15.94 0 0 0 3.6 9.79v.02h-.01L3.5 10l.09.19.01.02a6.59 6.59 0 0 0 .15.28c.1.18.25.45.45.76.4.64.99 1.48 1.77 2.32C7.53 15.26 9.89 17 13 17c3.11 0 5.47-1.74 7.03-3.43a15.94 15.94 0 0 0 2.37-3.36v-.02h.01zM4 10l-.41-.19.4.19zm9-2.63c-1.5 0-2.7 1.18-2.7 2.63s1.2 2.63 2.7 2.63c1.5 0 2.7-1.18 2.7-2.63S14.5 7.37 13 7.37zM9.4 10C9.4 8.07 11 6.5 13 6.5s3.6 1.57 3.6 3.5S15 13.5 13 13.5A3.55 3.55 0 0 1 9.4 10zm8.1 11.9l3.28 2.18a.5.5 0 1 1-.56.84L17.5 23.1l-2.72 1.82a.5.5 0 1 1-.56-.84l3.28-2.18zm1.78-2.82a.5.5 0 0 0-.56.84L22 22.1l3.28-2.18a.5.5 0 1 0-.56-.84L22 20.9l-2.72-1.82z"/></svg>'},6894:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/><path d="M13 16V9h-1v7z"/></svg>'},45360:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/></svg>'},14665:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 16" width="10" height="16"><path d="M.6 1.4l1.4-1.4 8 8-8 8-1.4-1.4 6.389-6.532-6.389-6.668z"/></svg>'},39146:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},48010:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'}}]);
|
||||
8
charting_library/bundles/2052.e9d07fdfb896fca26166.js
Normal file
8
charting_library/bundles/2052.e9d07fdfb896fca26166.js
Normal file
@@ -0,0 +1,8 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2052],{45300:e=>{e.exports={}},66076:e=>{e.exports={"default-drawer-min-top-distance":"100px",wrap:"wrap-_HnK0UIN",positionBottom:"positionBottom-_HnK0UIN",backdrop:"backdrop-_HnK0UIN",drawer:"drawer-_HnK0UIN",positionLeft:"positionLeft-_HnK0UIN"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk","disclosure-item-circle-logo":"disclosure-item-circle-logo-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},39416:(e,t,o)=>{"use strict";o.d(t,{useFunctionalRefObject:()=>i});var n=o(50959),r=o(43010);function i(e){const t=(0,n.useMemo)((()=>function(e){const t=o=>{e(o),t.current=o};return t.current=null,t}((e=>{s.current(e)}))),[]),o=(0,n.useRef)(null),i=t=>{if(null===t)return a(o.current,t),void(o.current=null);o.current!==e&&(o.current=e,a(o.current,t))},s=(0,n.useRef)(i);return s.current=i,(0,r.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return s.current(t.current),()=>s.current(null)}),[e]),t}function a(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},43010:(e,t,o)=>{"use strict";o.d(t,{useIsomorphicLayoutEffect:()=>r});var n=o(50959);function r(e,t){("undefined"==typeof window?n.useEffect:n.useLayoutEffect)(e,t)}},27267:(e,t,o)=>{"use strict";function n(e,t,o,n,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===n&&(t.contains(i)||o(r))}return r.click&&n.addEventListener("click",i,!1),r.mouseDown&&n.addEventListener("mousedown",i,!1),r.touchEnd&&n.addEventListener("touchend",i,!1),r.touchStart&&n.addEventListener("touchstart",i,!1),()=>{n.removeEventListener("click",i,!1),n.removeEventListener("mousedown",i,!1),n.removeEventListener("touchend",i,!1),n.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>n})},90186:(e,t,o)=>{"use strict";function n(e){return i(e,a)}function r(e){return i(e,s)}function i(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function s(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterAriaProps:()=>r,filterDataProps:()=>n,filterProps:()=>i,isAriaAttribute:()=>s,isDataAttribute:()=>a})},76460:(e,t,o)=>{"use strict";function n(e){return 0===e.detail}o.d(t,{isKeyboardClick:()=>n})},50238:(e,t,o)=>{"use strict";o.d(t,{useRovingTabindexElement:()=>a});var n=o(50959),r=o(39416),i=o(16838);function a(e,t=[]){const[o,a]=(0,n.useState)(!1),s=(0,r.useFunctionalRefObject)(e);return(0,n.useLayoutEffect)((()=>{if(!i.PLATFORM_ACCESSIBILITY_ENABLED)return;const e=s.current;if(null===e)return;const t=e=>{
|
||||
switch(e.type){case"roving-tabindex:main-element":a(!0);break;case"roving-tabindex:secondary-element":a(!1)}};return e.addEventListener("roving-tabindex:main-element",t),e.addEventListener("roving-tabindex:secondary-element",t),()=>{e.removeEventListener("roving-tabindex:main-element",t),e.removeEventListener("roving-tabindex:secondary-element",t)}}),t),[s,i.PLATFORM_ACCESSIBILITY_ENABLED?o?0:-1:void 0]}},76068:(e,t,o)=>{"use strict";o.d(t,{CircleLogo:()=>a,hiddenCircleLogoClass:()=>i});var n=o(50959),r=o(58492);o(45300);const i="tv-circle-logo--visually-hidden";function a(e){var t,o;const i=(0,r.getStyleClasses)(e.size,e.className),a=null!==(o=null!==(t=e.alt)&&void 0!==t?t:e.title)&&void 0!==o?o:"";return(0,r.isCircleLogoWithUrlProps)(e)?n.createElement("img",{className:i,crossOrigin:"",src:e.logoUrl,alt:a,title:e.title,loading:e.loading,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]}):n.createElement("span",{className:i,title:e.title,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]},e.placeholderLetter)}},58492:(e,t,o)=>{"use strict";o.d(t,{getStyleClasses:()=>r,isCircleLogoWithUrlProps:()=>i});var n=o(97754);function r(e,t){return n("tv-circle-logo",`tv-circle-logo--${e}`,t)}function i(e){return"logoUrl"in e&&void 0!==e.logoUrl&&0!==e.logoUrl.length}},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerContext:()=>a,DrawerManager:()=>i});var n=o(50959),r=o(99054);class i extends n.PureComponent{constructor(e){super(e),this._isBodyFixed=!1,this._addDrawer=e=>{this.setState((t=>({stack:[...t.stack,e]})))},this._removeDrawer=e=>{this.setState((t=>({stack:t.stack.filter((t=>t!==e))})))},this.state={stack:[]}}componentDidUpdate(e,t){!t.stack.length&&this.state.stack.length&&((0,r.setFixedBodyState)(!0),this._isBodyFixed=!0),t.stack.length&&!this.state.stack.length&&this._isBodyFixed&&((0,r.setFixedBodyState)(!1),this._isBodyFixed=!1)}componentWillUnmount(){this.state.stack.length&&this._isBodyFixed&&(0,r.setFixedBodyState)(!1)}render(){return n.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.stack.length?this.state.stack[this.state.stack.length-1]:null}},this.props.children)}}const a=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>h});var n=o(50959),r=o(50151),i=o(97754),a=o(36174),s=o(42842),l=o(37558),c=o(29197),d=o(86656),u=o(66076);function h(e){const{position:t="Bottom",onClose:o,children:d,className:h,theme:m=u}=e,f=(0,r.ensureNotNull)((0,n.useContext)(l.DrawerContext)),[v]=(0,n.useState)((()=>(0,a.randomHash)())),g=(0,n.useRef)(null),b=(0,n.useContext)(c.CloseDelegateContext);return(0,n.useLayoutEffect)((()=>((0,r.ensureNotNull)(g.current).focus({preventScroll:!0}),b.subscribe(f,o),f.addDrawer(v),()=>{f.removeDrawer(v),b.unsubscribe(f,o)})),[]),n.createElement(s.Portal,null,n.createElement("div",{className:i(u.wrap,u[`position${t}`])},v===f.currentDrawer&&n.createElement("div",{className:u.backdrop,onClick:o}),n.createElement(p,{className:i(m.drawer,u[`position${t}`],h),ref:g,"data-name":e["data-name"]},d)))}
|
||||
const p=(0,n.forwardRef)(((e,t)=>{const{className:o,...r}=e;return n.createElement(d.TouchScrollContainer,{className:i(u.drawer,o),tabIndex:-1,ref:t,...r})}))},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>u});var n=o(50959),r=o(97754),i=o(51768),a=o(59064),s=o(76068),l=o(71986);const c=l;function d(e){e.stopPropagation()}function u(e){const{id:t,role:o,className:c,title:u,labelRowClassName:h,labelClassName:p,toolboxClassName:m,shortcut:f,forceShowShortcuts:v,icon:g,iconClassname:b,isActive:E,isDisabled:w,isHovered:C,appearAsDisabled:k,label:D,link:x,showToolboxOnHover:y,showToolboxOnFocus:N,target:T,rel:_,toolbox:O,reference:M,onMouseOut:L,onMouseOver:B,onKeyDown:F,suppressToolboxClick:A=!0,theme:S=l,tabIndex:P,tagName:I,renderComponent:R,roundedIcon:W,iconAriaProps:U,circleLogo:j,dontClosePopup:H,onClick:Q,onClickArg:z,trackEventObject:K,trackMouseWheelClick:q,trackRightClick:V,...G}=e,J=(0,n.useRef)(null),$=(0,n.useMemo)((()=>function(e){function t(t){const{reference:o,...r}=t,i=null!=e?e:r.href?"a":"div",a="a"===i?r:function(e){const{download:t,href:o,hrefLang:n,media:r,ping:i,rel:a,target:s,type:l,referrerPolicy:c,...d}=e;return d}(r);return n.createElement(i,{...a,ref:o})}return t.displayName=`DefaultComponent(${e})`,t}(I)),[I]),Y=null!=R?R:$;return n.createElement(Y,{...G,id:t,role:o,className:r(c,S.item,g&&S.withIcon,{[S.isActive]:E,[S.isDisabled]:w||k,[S.hovered]:C}),title:u,href:x,target:T,rel:_,reference:function(e){J.current=e,"function"==typeof M&&M(e);"object"==typeof M&&(M.current=e)},onClick:function(e){if(w)return;K&&(0,i.trackEvent)(K.category,K.event,K.label);Q&&Q(z,e);H||(0,a.globalCloseMenu)()},onContextMenu:function(e){K&&V&&(0,i.trackEvent)(K.category,K.event,`${K.label}_rightClick`)},onMouseUp:function(e){if(1===e.button&&x&&K){let e=K.label;q&&(e+="_mouseWheelClick"),(0,i.trackEvent)(K.category,K.event,e)}},onMouseOver:B,onMouseOut:L,onKeyDown:F,tabIndex:P},j&&n.createElement(s.CircleLogo,{...U,className:l["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:j.logoUrl,placeholderLetter:j.placeholderLetter}),g&&n.createElement("span",{"aria-label":U&&U["aria-label"],"aria-hidden":U&&Boolean(U["aria-hidden"]),className:r(S.icon,W&&l["round-icon"],b),dangerouslySetInnerHTML:{__html:g}}),n.createElement("span",{className:r(S.labelRow,h)},n.createElement("span",{className:r(S.label,p)},D)),(void 0!==f||v)&&n.createElement("span",{className:S.shortcut},(X=f)&&X.split("+").join(" + ")),void 0!==O&&n.createElement("span",{onClick:A?d:void 0,className:r(m,S.toolbox,{[S.showOnHover]:y,[S.showOnFocus]:N})},O));var X}},20520:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>h});var n=o(50959),r=o(962),i=o(62942),a=o(42842),s=o(27317),l=o(29197);const c=n.createContext(void 0);var d=o(36383);const u=n.createContext({setMenuMaxWidth:!1});function h(e){const{controller:t,children:o,isOpened:h,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:f,onClose:v,onKeyboardClose:g,"data-name":b="popup-menu-container",...E}=e,w=(0,
|
||||
n.useContext)(l.CloseDelegateContext),C=n.useContext(u),k=(0,n.useContext)(c),D=(0,d.useOutsideEvent)({handler:function(e){f&&f(e);if(!p)return;const t=(0,i.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const o of t){const t=r.findDOMNode(o);if(t instanceof Node&&t.contains(e.target))return}v()},mouseDown:!0,touchStart:!0});return h?n.createElement(a.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement("span",{ref:D,style:{pointerEvents:"auto"}},n.createElement(s.Menu,{...E,onClose:v,onKeyboardClose:g,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:w,customRemeasureDelegate:k,ref:t,"data-name":b,limitMaxWidth:C.setMenuMaxWidth},o))):null}},10381:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetCaret:()=>l});var n=o(50959),r=o(97754),i=o(9745),a=o(34587),s=o(578);function l(e){const{dropped:t,className:o}=e;return n.createElement(i.Icon,{className:r(o,a.icon,{[a.dropped]:t}),icon:s})}},86656:(e,t,o)=>{"use strict";o.d(t,{TouchScrollContainer:()=>s});var n=o(50959),r=o(59142),i=o(50151),a=o(49483);const s=(0,n.forwardRef)(((e,t)=>{const{children:o,...i}=e,s=(0,n.useRef)(null);return(0,n.useImperativeHandle)(t,(()=>s.current)),(0,n.useLayoutEffect)((()=>{if(a.CheckMobile.iOS())return null!==s.current&&(0,r.disableBodyScroll)(s.current,{allowTouchMove:l(s)}),()=>{null!==s.current&&(0,r.enableBodyScroll)(s.current)}}),[]),n.createElement("div",{ref:s,...i},o)}));function l(e){return t=>{const o=(0,i.ensureNotNull)(e.current),n=document.activeElement;return!o.contains(t)||null!==n&&o.contains(n)&&n.contains(t)}}},78029:e=>{e.exports={button:"button-GwQQdU8S",hover:"hover-GwQQdU8S",clicked:"clicked-GwQQdU8S",isInteractive:"isInteractive-GwQQdU8S",accessible:"accessible-GwQQdU8S",isGrouped:"isGrouped-GwQQdU8S",isActive:"isActive-GwQQdU8S",isOpened:"isOpened-GwQQdU8S",isDisabled:"isDisabled-GwQQdU8S",text:"text-GwQQdU8S",icon:"icon-GwQQdU8S",endIcon:"endIcon-GwQQdU8S"}},2869:e=>{e.exports={button:"button-xNqEcuN2"}},42919:e=>{e.exports={button:"button-merBkM5y",hover:"hover-merBkM5y",clicked:"clicked-merBkM5y",accessible:"accessible-merBkM5y",arrow:"arrow-merBkM5y",arrowWrap:"arrowWrap-merBkM5y",isOpened:"isOpened-merBkM5y"}},81261:(e,t,o)=>{"use strict";o.d(t,{focusFirstMenuItem:()=>c,handleAccessibleMenuFocus:()=>s,handleAccessibleMenuKeyDown:()=>l,queryMenuElements:()=>h});var n=o(16838),r=o(71468),i=o(68335);const a=[37,39,38,40];function s(e,t){e.target&&n.PLATFORM_ACCESSIBILITY_ENABLED&&e.relatedTarget===t.current&&c(e.target)}function l(e){var t;if(!n.PLATFORM_ACCESSIBILITY_ENABLED)return;if(e.defaultPrevented)return;const o=(0,i.hashFromEvent)(e);if(!a.includes(o))return;const s=document.activeElement;if(!(document.activeElement instanceof HTMLElement))return;const l=h(e.currentTarget).sort(n.navigationOrderComparator);if(0===l.length)return;const c=document.activeElement.closest('[data-role="menuitem"]')||(null===(t=document.activeElement.parentElement)||void 0===t?void 0:t.querySelector('[data-role="menuitem"]'))
|
||||
;if(!(c instanceof HTMLElement))return;const m=l.indexOf(c);if(-1===m)return;const f=p(c),v=f.indexOf(document.activeElement),g=-1!==v,b=e=>{s&&(0,r.becomeSecondaryElement)(s),(0,r.becomeMainElement)(e),e.focus()};switch((0,n.mapKeyCodeToDirection)(o)){case"inlinePrev":if(!f.length)return;e.preventDefault(),b(0===v?l[m]:g?d(f,v,-1):f[f.length-1]);break;case"inlineNext":if(!f.length)return;e.preventDefault(),v===f.length-1?b(l[m]):b(g?d(f,v,1):f[0]);break;case"blockPrev":{e.preventDefault();const t=d(l,m,-1);if(g){const e=u(t,v);b(e||t);break}b(t);break}case"blockNext":{e.preventDefault();const t=d(l,m,1);if(g){const e=u(t,v);b(e||t);break}b(t)}}}function c(e){const[t]=h(e);t&&((0,r.becomeMainElement)(t),t.focus())}function d(e,t,o){return e[(t+e.length+o)%e.length]}function u(e,t){const o=p(e);return o.length?o[(t+o.length)%o.length]:null}function h(e){return Array.from(e.querySelectorAll('[data-role="menuitem"]:not([disabled]):not([aria-disabled])')).filter((0,n.createScopedVisibleElementFilter)(e))}function p(e){return Array.from(e.querySelectorAll("[tabindex]:not([disabled]):not([aria-disabled])")).filter((0,n.createScopedVisibleElementFilter)(e))}},71468:(e,t,o)=>{"use strict";function n(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function r(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}o.d(t,{becomeMainElement:()=>n,becomeSecondaryElement:()=>r})},12811:(e,t,o)=>{"use strict";o.d(t,{HorizontalAttachEdge:()=>r,HorizontalDropDirection:()=>a,VerticalAttachEdge:()=>n,VerticalDropDirection:()=>i,getPopupPositioner:()=>c});var n,r,i,a,s=o(50151);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom",e[e.AutoStrict=2]="AutoStrict"}(n||(n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(r||(r={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:n.Bottom,horizontalAttachEdge:r.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return o=>{var c,d;const{contentWidth:u,contentHeight:h,availableHeight:p}=o,m=(0,s.ensureNotNull)(e).getBoundingClientRect(),{horizontalAttachEdge:f=l.horizontalAttachEdge,horizontalDropDirection:v=l.horizontalDropDirection,horizontalMargin:g=l.horizontalMargin,verticalMargin:b=l.verticalMargin,matchButtonAndListboxWidths:E=l.matchButtonAndListboxWidths}=t;let w=null!==(c=t.verticalAttachEdge)&&void 0!==c?c:l.verticalAttachEdge,C=null!==(d=t.verticalDropDirection)&&void 0!==d?d:l.verticalDropDirection;w===n.AutoStrict&&(p<m.y+m.height+b+h?(w=n.Top,C=i.FromBottomToTop):(w=n.Bottom,C=i.FromTopToBottom));const k=w===n.Top?-1*b:b,D=f===r.Right?m.right:m.left,x=w===n.Top?m.top:m.bottom,y={x:D-(v===a.FromRightToLeft?u:0)+g,y:x-(C===i.FromBottomToTop?h:0)+k};return E&&(y.overrideWidth=m.width),y}}},31409:(e,t,o)=>{"use strict";o.d(t,{
|
||||
DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>s,ToolWidgetButton:()=>l});var n=o(50959),r=o(97754),i=o(9745),a=o(78029);const s=a,l=n.forwardRef(((e,t)=>{const{tag:o="div",icon:s,endIcon:l,isActive:c,isOpened:d,isDisabled:u,isGrouped:h,isHovered:p,isClicked:m,onClick:f,text:v,textBeforeIcon:g,title:b,theme:E=a,className:w,forceInteractive:C,inactive:k,"data-name":D,"data-tooltip":x,...y}=e,N=r(w,E.button,(b||x)&&"apply-common-tooltip",{[E.isActive]:c,[E.isOpened]:d,[E.isInteractive]:(C||Boolean(f))&&!u&&!k,[E.isDisabled]:Boolean(u||k),[E.isGrouped]:h,[E.hover]:p,[E.clicked]:m}),T=s&&("string"==typeof s?n.createElement(i.Icon,{className:E.icon,icon:s}):n.cloneElement(s,{className:r(E.icon,s.props.className)}));return"button"===o?n.createElement("button",{...y,ref:t,type:"button",className:r(N,E.accessible),disabled:u&&!k,onClick:f,title:b,"data-name":D,"data-tooltip":x},g&&v&&n.createElement("div",{className:r("js-button-text",E.text)},v),T,!g&&v&&n.createElement("div",{className:r("js-button-text",E.text)},v)):n.createElement("div",{...y,ref:t,"data-role":"button",className:N,onClick:u?void 0:f,title:b,"data-name":D,"data-tooltip":x},g&&v&&n.createElement("div",{className:r("js-button-text",E.text)},v),T,!g&&v&&n.createElement("div",{className:r("js-button-text",E.text)},v),l&&n.createElement(i.Icon,{icon:l,className:a.endIcon}))}))},50813:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetIconButton:()=>s});var n=o(50959),r=o(97754),i=o(31409),a=o(2869);const s=n.forwardRef((function(e,t){const{className:o,id:s,...l}=e;return n.createElement(i.ToolWidgetButton,{id:s,"data-name":s,...l,ref:t,className:r(o,a.button)})}))},8087:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetMenu:()=>v});var n=o(50959),r=o(97754),i=o(3343),a=o(20520),s=o(10381),l=o(90186),c=o(37558),d=o(41590),u=o(12811),h=o(90692),p=o(14483),m=o(76460),f=o(42919);class v extends n.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=n.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleOpen=()=>{var e;"div"!==this.props.tag&&(null===(e=this._controller.current)||void 0===e||e.focus())},this._handleClick=e=>{(p.enabled("skip_event_target_check")||e.target instanceof Node)&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(void 0,(0,m.isKeyboardClick)(e)),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=(e,t=!1)=>{const{onClose:o,onOpen:n}=this.props,{isOpened:r}=this.state,i="boolean"==typeof e?e:!r;this.setState({isOpened:i,shouldReturnFocus:!!i&&t}),i&&n&&n(),!i&&o&&o()},this._handleClose=()=>{this.close()},this._handleKeyDown=e=>{var t;const{orientation:o="horizontal"}=this.props;if(e.defaultPrevented)return;if(!(e.target instanceof Node))return;const n=(0,i.hashFromEvent)(e);if(e.currentTarget.contains(e.target))switch(n){case 40:if("div"===this.props.tag||"horizontal"!==o)return;if(this.state.isOpened)return;e.preventDefault(),this._handleToggleDropdown(!0,!0);break;case 27:if(!this.state.isOpened||!this.props.closeOnEsc)return
|
||||
;e.preventDefault(),e.stopPropagation(),this._handleToggleDropdown(!1)}else{if("div"===this.props.tag)return;switch(n){case 27:{e.preventDefault();const{shouldReturnFocus:o}=this.state;this._handleToggleDropdown(!1),o&&(null===(t=this._wrapperRef)||void 0===t||t.focus());break}}}},this.state={isOpened:!1,shouldReturnFocus:!1}}render(){const{tag:e="div",id:t,arrow:o,content:i,isDisabled:a,isDrawer:c,isShowTooltip:d,title:u,className:p,hotKey:m,theme:f,drawerBreakpoint:v,tabIndex:g,isClicked:b}=this.props,{isOpened:E}=this.state,w=r(p,f.button,{"apply-common-tooltip":d||!a,[f.isDisabled]:a,[f.isOpened]:E,[f.clicked]:b});return"button"===e?n.createElement("button",{type:"button",id:t,className:r(w,f.accessible),disabled:a,onClick:this._handleClick,title:u,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,onKeyDown:this._handleKeyDown,tabIndex:g,...(0,l.filterDataProps)(this.props),...(0,l.filterAriaProps)(this.props)},i,o&&n.createElement("div",{className:f.arrow},n.createElement("div",{className:f.arrowWrap},n.createElement(s.ToolWidgetCaret,{dropped:E}))),this.state.isOpened&&(v?n.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(c))):n.createElement("div",{id:t,className:w,onClick:a?void 0:this._handleClick,title:u,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,"data-role":"button",tabIndex:g,onKeyDown:this._handleKeyDown,...(0,l.filterDataProps)(this.props)},i,o&&n.createElement("div",{className:f.arrow},n.createElement("div",{className:f.arrowWrap},n.createElement(s.ToolWidgetCaret,{dropped:E}))),this.state.isOpened&&(v?n.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(c)))}close(){this._handleToggleDropdown(!1)}focus(){var e;null===(e=this._wrapperRef)||void 0===e||e.focus()}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:o,menuClassName:r,maxHeight:i,drawerPosition:s="Bottom",children:l}=this.props,{isOpened:h}=this.state,p={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths},m=Boolean(h&&e&&s),f=function(e){return"function"==typeof e}(l)?l({isDrawer:m}):l;return m?n.createElement(c.DrawerManager,null,n.createElement(d.Drawer,{onClose:this._handleClose,position:s,"data-name":t},f)):n.createElement(a.PopupMenu,{reference:this.props.menuReference,controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:h,minWidth:o,onClose:this._handleClose,position:(0,u.getPopupPositioner)(this._wrapperRef,p),className:r,maxHeight:i,"data-name":t,tabIndex:"div"!==this.props.tag?-1:void 0,onOpen:this._handleOpen,onKeyDown:this.props.onMenuKeyDown,onFocus:this.props.onMenuFocus},f)}}v.defaultProps={arrow:!0,
|
||||
closeOnClickOutside:!0,theme:f}},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'}}]);
|
||||
@@ -1 +0,0 @@
|
||||
.nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#0000;background:#0000;border:none;box-sizing:initial;color:var(--ui-lib-nav-button-color-content,var(--ui-lib-nav-button-default-color-content));display:flex;outline:none;padding:0;position:relative}html.theme-dark .nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#d1d4dc}.nav-button-znwuaSC1.link-znwuaSC1{cursor:pointer}.nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#f0f3fa}html.theme-dark .nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-bg:#2a2e39;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#e0e3eb}html.theme-dark .nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-bg:#363a45;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:focus .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus-visible .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus:not(:focus-visible) .background-znwuaSC1:after{display:none}.nav-button-znwuaSC1:disabled,.nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#b2b5be;cursor:default}html.theme-dark .nav-button-znwuaSC1:disabled,html.theme-dark .nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#5d606b}.nav-button-znwuaSC1:disabled .background-znwuaSC1,.nav-button-znwuaSC1[aria-disabled=true] .background-znwuaSC1{display:none}.background-znwuaSC1{--ui-lib-nav-button-color-outline-default:#2962ffcc;background:var(--ui-lib-nav-button-color-bg,var(--ui-lib-nav-button-default-color-bg));display:block;outline:none;overflow:visible;position:absolute}.background-znwuaSC1:focus{outline:none}.background-znwuaSC1:focus-visible{outline:none}.background-znwuaSC1:after{border-color:var(--ui-lib-nav-button-color-outline,var(--ui-lib-nav-button-color-outline-default));border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.icon-znwuaSC1{z-index:0}.icon-znwuaSC1,.icon-znwuaSC1 svg{display:flex}.size-large-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:24px;width:24px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-large-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-large-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-medium-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:18px;width:18px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-medium-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-medium-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-small-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:14px;width:14px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-small-znwuaSC1 .background-znwuaSC1{border-radius:6px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-small-znwuaSC1 .background-znwuaSC1:after{border-radius:10px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-xsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:12px;width:12px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);left:-4px;top:-4px;width:calc(100% + 8px)}.size-xsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-xxsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:10px;width:10px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xxsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);left:-4px;top:-4px;width:calc(100% + 8px)}.size-xxsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.visually-hidden-znwuaSC1{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
|
||||
@@ -1 +0,0 @@
|
||||
.nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#0000;background:#0000;border:none;box-sizing:initial;color:var(--ui-lib-nav-button-color-content,var(--ui-lib-nav-button-default-color-content));display:flex;outline:none;padding:0;position:relative}html.theme-dark .nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#d1d4dc}.nav-button-znwuaSC1.link-znwuaSC1{cursor:pointer}.nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#f0f3fa}html.theme-dark .nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-bg:#2a2e39;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#e0e3eb}html.theme-dark .nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-bg:#363a45;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:focus .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus-visible .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus:not(:focus-visible) .background-znwuaSC1:after{display:none}.nav-button-znwuaSC1:disabled,.nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#b2b5be;cursor:default}html.theme-dark .nav-button-znwuaSC1:disabled,html.theme-dark .nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#5d606b}.nav-button-znwuaSC1:disabled .background-znwuaSC1,.nav-button-znwuaSC1[aria-disabled=true] .background-znwuaSC1{display:none}.background-znwuaSC1{--ui-lib-nav-button-color-outline-default:#2962ffcc;background:var(--ui-lib-nav-button-color-bg,var(--ui-lib-nav-button-default-color-bg));display:block;outline:none;overflow:visible;position:absolute}.background-znwuaSC1:focus{outline:none}.background-znwuaSC1:focus-visible{outline:none}.background-znwuaSC1:after{border-color:var(--ui-lib-nav-button-color-outline,var(--ui-lib-nav-button-color-outline-default));border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.icon-znwuaSC1{z-index:0}.icon-znwuaSC1,.icon-znwuaSC1 svg{display:flex}.flip-icon-znwuaSC1,.flip-icon-znwuaSC1 svg{transform:rotate(90deg)}.size-large-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:24px;width:24px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-large-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-large-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-medium-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:18px;width:18px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-medium-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-medium-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-small-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:14px;width:14px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-small-znwuaSC1 .background-znwuaSC1{border-radius:6px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-small-znwuaSC1 .background-znwuaSC1:after{border-radius:10px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-xsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:12px;width:12px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);right:-4px;top:-4px;width:calc(100% + 8px)}.size-xsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-xxsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:10px;width:10px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xxsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);right:-4px;top:-4px;width:calc(100% + 8px)}.size-xxsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.visually-hidden-znwuaSC1{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
|
||||
1
charting_library/bundles/2109.4d5de3fbde1cd7dc5e9f.css
Normal file
1
charting_library/bundles/2109.4d5de3fbde1cd7dc5e9f.css
Normal file
@@ -0,0 +1 @@
|
||||
.nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#0000;background:#0000;border:none;box-sizing:initial;color:var(--ui-lib-nav-button-color-content,var(--ui-lib-nav-button-default-color-content));display:flex;outline:none;padding:0;position:relative}html.theme-dark .nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#d1d4dc}.nav-button-znwuaSC1.link-znwuaSC1{cursor:pointer}.nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#f0f3fa}html.theme-dark .nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-bg:#2a2e39;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#e0e3eb}html.theme-dark .nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-bg:#363a45;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:focus .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus-visible .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus:not(:focus-visible) .background-znwuaSC1:after{display:none}.nav-button-znwuaSC1:disabled,.nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#b2b5be;cursor:default}html.theme-dark .nav-button-znwuaSC1:disabled,html.theme-dark .nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#5d606b}.nav-button-znwuaSC1:disabled .background-znwuaSC1,.nav-button-znwuaSC1[aria-disabled=true] .background-znwuaSC1{display:none}.background-znwuaSC1{--ui-lib-nav-button-color-outline-default:#2962ffcc;background:var(--ui-lib-nav-button-color-bg,var(--ui-lib-nav-button-default-color-bg));display:block;outline:none;overflow:visible;position:absolute}.background-znwuaSC1:focus{outline:none}.background-znwuaSC1:focus-visible{outline:none}.background-znwuaSC1:after{border-color:var(--ui-lib-nav-button-color-outline,var(--ui-lib-nav-button-color-outline-default));border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px);z-index:1}.icon-znwuaSC1{z-index:0}.icon-znwuaSC1,.icon-znwuaSC1 svg{display:flex}.flip-icon-znwuaSC1,.flip-icon-znwuaSC1 svg{transform:rotate(90deg)}.size-large-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:24px;width:24px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-large-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-large-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-medium-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:18px;width:18px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-medium-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-medium-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-small-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:14px;width:14px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-small-znwuaSC1 .background-znwuaSC1{border-radius:6px;height:calc(100% + 16px);left:-8px;top:-8px;width:calc(100% + 16px)}.size-small-znwuaSC1 .background-znwuaSC1:after{border-radius:10px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-xsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:12px;width:12px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);left:-4px;top:-4px;width:calc(100% + 8px)}.size-xsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.size-xxsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:10px;width:10px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xxsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);left:-4px;top:-4px;width:calc(100% + 8px)}.size-xxsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;left:0;top:0;width:100%}.visually-hidden-znwuaSC1{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
|
||||
@@ -0,0 +1 @@
|
||||
.nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#0000;background:#0000;border:none;box-sizing:initial;color:var(--ui-lib-nav-button-color-content,var(--ui-lib-nav-button-default-color-content));display:flex;outline:none;padding:0;position:relative}html.theme-dark .nav-button-znwuaSC1{--ui-lib-nav-button-default-color-content:#d1d4dc}.nav-button-znwuaSC1.link-znwuaSC1{cursor:pointer}.nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#f0f3fa}html.theme-dark .nav-button-znwuaSC1:hover{--ui-lib-nav-button-default-color-bg:#2a2e39;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-content:#131722;--ui-lib-nav-button-default-color-bg:#e0e3eb}html.theme-dark .nav-button-znwuaSC1:active{--ui-lib-nav-button-default-color-bg:#363a45;--ui-lib-nav-button-default-color-content:#fff}.nav-button-znwuaSC1:focus .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus-visible .background-znwuaSC1:after{display:block}.nav-button-znwuaSC1:focus:not(:focus-visible) .background-znwuaSC1:after{display:none}.nav-button-znwuaSC1:disabled,.nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#b2b5be;cursor:default}html.theme-dark .nav-button-znwuaSC1:disabled,html.theme-dark .nav-button-znwuaSC1[aria-disabled=true]{--ui-lib-nav-button-default-color-content:#5d606b}.nav-button-znwuaSC1:disabled .background-znwuaSC1,.nav-button-znwuaSC1[aria-disabled=true] .background-znwuaSC1{display:none}.background-znwuaSC1{--ui-lib-nav-button-color-outline-default:#2962ffcc;background:var(--ui-lib-nav-button-color-bg,var(--ui-lib-nav-button-default-color-bg));display:block;outline:none;overflow:visible;position:absolute}.background-znwuaSC1:focus{outline:none}.background-znwuaSC1:focus-visible{outline:none}.background-znwuaSC1:after{border-color:var(--ui-lib-nav-button-color-outline,var(--ui-lib-nav-button-color-outline-default));border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:calc(100% + 8px);pointer-events:none;position:absolute;right:-4px;top:-4px;width:calc(100% + 8px);z-index:1}.icon-znwuaSC1{z-index:0}.icon-znwuaSC1,.icon-znwuaSC1 svg{display:flex}.flip-icon-znwuaSC1,.flip-icon-znwuaSC1 svg{transform:rotate(-90deg)}.size-large-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:24px;width:24px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-large-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-large-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-large-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-medium-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:18px;width:18px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-medium-znwuaSC1 .background-znwuaSC1{border-radius:8px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-medium-znwuaSC1 .background-znwuaSC1:after{border-radius:12px}.size-medium-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-small-znwuaSC1{--ui-lib-nav-button-basic-offset:8px;--ui-lib-nav-button-safe-offset:12px;height:14px;width:14px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1{padding:8px}.size-small-znwuaSC1 .background-znwuaSC1{border-radius:6px;height:calc(100% + 16px);right:-8px;top:-8px;width:calc(100% + 16px)}.size-small-znwuaSC1 .background-znwuaSC1:after{border-radius:10px}.size-small-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-xsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:12px;width:12px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);right:-4px;top:-4px;width:calc(100% + 8px)}.size-xsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.size-xxsmall-znwuaSC1{--ui-lib-nav-button-basic-offset:4px;--ui-lib-nav-button-safe-offset:8px;height:10px;width:10px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1{padding:4px}.size-xxsmall-znwuaSC1 .background-znwuaSC1{border-radius:4px;height:calc(100% + 8px);right:-4px;top:-4px;width:calc(100% + 8px)}.size-xxsmall-znwuaSC1 .background-znwuaSC1:after{border-radius:8px}.size-xxsmall-znwuaSC1.preserve-paddings-znwuaSC1 .background-znwuaSC1{height:100%;right:0;top:0;width:100%}.visually-hidden-znwuaSC1{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
charting_library/bundles/2191.bb0aa12f5e562fd483f3.css
Normal file
1
charting_library/bundles/2191.bb0aa12f5e562fd483f3.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
charting_library/bundles/2443.66f44a8bfe8d49aaeaee.js
Normal file
3
charting_library/bundles/2443.66f44a8bfe8d49aaeaee.js
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2443],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>M});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,h=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&a()}function c(){s(o)}function a(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),
|
||||
window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=m(0,0,0,0);function v(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+v(t["border-"+n+"-width"])}),0)}function l(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=v(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,c=v(r.width),a=v(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=p(r,"left","right")+o),Math.round(a+s)!==n&&(a-=p(r,"top","bottom")+s)),!function(t){return t===f(t).document.documentElement}(t)){var h=Math.round(c+o)-e,u=Math.round(a+s)-n;1!==Math.abs(h)&&(c-=h),1!==Math.abs(u)&&(a-=u)}return m(i.left,i.top,c,a)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function b(t){return i?_(t)?function(t){var e=t.getBBox();return m(0,0,e.width,e.height)}(t):l(t):d}function m(t,e,n,r){return{x:t,y:e,width:n,height:r}}var y=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=b(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),g=function(t,e){var n,r,i,o,s,c,a,h=(r=(n=e).x,i=n.y,o=n.width,s=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(c.prototype),u(a,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),a);u(this,{target:t,contentRect:h})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
|
||||
if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new y(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new g(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),r=new w(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const M=void 0!==o.ResizeObserver?o.ResizeObserver:O},5849:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}},81702:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t){return t&&t.length?t[0]:void 0}},65742:(t,e,n)=>{var r=n(962);e.createRoot=r.createRoot,r.hydrateRoot}}]);
|
||||
1
charting_library/bundles/2486.82c7dba4839761a57f28.css
Normal file
1
charting_library/bundles/2486.82c7dba4839761a57f28.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
charting_library/bundles/2544.225f38946afc6ad55a35.js
Normal file
5
charting_library/bundles/2544.225f38946afc6ad55a35.js
Normal file
@@ -0,0 +1,5 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2544],{40191:e=>{e.exports={menuWrap:"menuWrap-Kq3ruQo8",isMeasuring:"isMeasuring-Kq3ruQo8",scrollWrap:"scrollWrap-Kq3ruQo8",momentumBased:"momentumBased-Kq3ruQo8",menuBox:"menuBox-Kq3ruQo8",isHidden:"isHidden-Kq3ruQo8"}},36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>r});var s=n(50959),i=n(27267);function r(e){const{click:t,mouseDown:n,touchEnd:r,touchStart:o,handler:l,reference:a,ownerDocument:u=document}=e,c=(0,s.useRef)(null),d=(0,s.useRef)(new CustomEvent("timestamp").timeStamp);return(0,s.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:r,touchStart:o},s=a?a.current:c.current;return(0,i.addOutsideEventListener)(d.current,s,l,u,e)}),[t,n,r,o,l]),a||c}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>i});var s=n(50959);const i=s.forwardRef(((e,t)=>{const{icon:n="",...i}=e;return s.createElement("span",{...i,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},83021:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>i,SubmenuHandler:()=>r});var s=n(50959);const i=s.createContext(null);function r(e){const[t,n]=(0,s.useState)(null),r=(0,s.useRef)(null),o=(0,s.useRef)(new Map);return(0,s.useEffect)((()=>()=>{null!==r.current&&clearTimeout(r.current)}),[]),s.createElement(i.Provider,{value:{current:t,setCurrent:function(e){null!==r.current&&(clearTimeout(r.current),r.current=null);null===t?n(e):r.current=setTimeout((()=>{r.current=null,n(e)}),100)},registerSubmenu:function(e,t){return o.current.set(e,t),()=>{o.current.delete(e)}},isSubmenuNode:function(e){return Array.from(o.current.values()).some((t=>t(e)))}}},e.children)}},99663:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>i,SlotContext:()=>r});var s=n(50959);class i extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=s.createContext(null)},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>l});var s=n(50151);class i{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class r{constructor(e=document){this._storage=new i,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const s=this._document.createElement("div");if(s.style.position=t.position,s.style.zIndex=this._index.toString(),s.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length
|
||||
;if(t.index>=e)this._container.appendChild(s);else if(t.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(s,e)}}else"reverse"===t.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(e,s),++this._index,s}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const o=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(o.get(t));{const t=new r(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return o.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const o=r.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=i-o}return e}})();function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function r(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function o(e,t){return parseInt(r(e,t))}let l=0,a=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=r(t,"overflow"),l=o(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(i(n,"right",`${s()}px`),t.style.paddingRight=`${l+s()}px`,a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){i(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=s()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>i});var s=n(50959);class i extends s.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s
|
||||
});const s=n(50959).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>_,Menu:()=>v});var s=n(50959),i=n(97754),r=n.n(i),o=n(50151),l=n(37160),a=n(21861),u=n(50655),c=n(59064),d=n(67961),h=n(4741),p=n(83021),m=n(64706),f=n(40191);const _=f;class v extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleCustomRemeasureDelegate=()=>{this._resizeForced(),this._handleMeasure()},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,i,r,a,u,c,d,h,p,m,f;if(this.state.isMeasureValid&&!t)return;const{position:_}=this.props,v=(0,o.ensureNotNull)(this._containerRef);let g=v.getBoundingClientRect();const y=document.documentElement.clientHeight,x=document.documentElement.clientWidth,C=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let b=y-0-C;const w=g.height>b;if(w){(0,o.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",g=v.getBoundingClientRect()}const{width:M,height:S}=g,W="function"==typeof _?_({contentWidth:M,contentHeight:S,availableWidth:x,availableHeight:y}):_,R=null!==(i=null===(s=null==W?void 0:W.indentFromWindow)||void 0===s?void 0:s.left)&&void 0!==i?i:0,E=x-(null!==(r=W.overrideWidth)&&void 0!==r?r:M)-(null!==(u=null===(a=null==W?void 0:W.indentFromWindow)||void 0===a?void 0:a.right)&&void 0!==u?u:0),N=(0,l.clamp)(W.x,R,Math.max(R,E)),O=(null!==(d=null===(c=null==W?void 0:W.indentFromWindow)||void 0===c?void 0:c.top)&&void 0!==d?d:0)+C,D=y-(null!==(h=W.overrideHeight)&&void 0!==h?h:S)-(null!==(m=null===(p=null==W?void 0:W.indentFromWindow)||void 0===p?void 0:p.bottom)&&void 0!==m?m:0);let T=(0,l.clamp)(W.y,O,Math.max(O,D));if(W.forbidCorrectYCoord&&T<W.y&&(b-=W.y-T,T=W.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&W.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const P=null!==(f=W.overrideHeight)&&void 0!==f?f:w?b:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:P,appearingMenuWidth:t?this.state.appearingMenuWidth:W.overrideWidth,appearingPosition:{x:N,y:T},isMeasureValid:!0},(()=>{this._restoreScrollPosition(),e&&e()}))},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,o.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,
|
||||
appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout((()=>{this._handleMeasure({forceRecalcPosition:!0})}),80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame((()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null}))))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.subscribe(this,this._handleGlobalClose),null==t||t.subscribe(null,this._handleCustomRemeasureDelegate),window.addEventListener("resize",this._resize);const n=null!==this.context;this._hotkeys||n||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleGlobalClose()}})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.unsubscribe(this,this._handleGlobalClose),null==t||t.unsubscribe(null,this._handleCustomRemeasureDelegate),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,children:h,minWidth:_,theme:v=f,className:y,maxHeight:x,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S}=this.props,{appearingMenuHeight:W,appearingMenuWidth:R,appearingPosition:E,isMeasureValid:N}=this.state,O={"--ui-kit-menu-max-width":`${E&&E.x}px`,maxWidth:"calc(100vw - var(--ui-kit-menu-max-width) - 6px)"};return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(u.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,className:r()(y,v.menuWrap,!N&&v.isMeasuring),style:{height:W,left:E&&E.x,minWidth:_,position:"fixed",top:E&&E.y,width:R,
|
||||
...this.props.limitMaxWidth&&O},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S},s.createElement("div",{className:r()(v.scrollWrap,!this.props.noMomentumBasedScroll&&v.momentumBased),style:{overflowY:void 0!==W?"scroll":"auto",maxHeight:x},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},s.createElement(g,{className:v.menuBox},h)))),s.createElement(u.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}focus(e){var t;null===(t=this._containerRef)||void 0===t||t.focus(e)}blur(){var e;null===(e=this._containerRef)||void 0===e||e.blur()}}function g(e){const t=(0,o.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(i=n.current)||void 0===i?void 0:i.contains(s))))return;var s,i;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=p.SubmenuContext},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>r});var s=n(50959),i=n(59064);const r=s.createContext(i.globalCloseDelegate)},42842:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var s=n(50959),i=n(962),r=n(25931),o=n(67961),l=n(99663);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.nanoid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",this.props.className&&e.classList.add(this.props.className),this.props["aria-hidden"]&&e.setAttribute("aria-hidden","true"),i.createPortal(s.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=s.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>s.Slot,SlotContext:()=>s.SlotContext});var s=n(99663)}}]);
|
||||
1
charting_library/bundles/2639.7b1d42eef7b89e0e96d3.css
Normal file
1
charting_library/bundles/2639.7b1d42eef7b89e0e96d3.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 6px 2px 0;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}
|
||||
@@ -1 +0,0 @@
|
||||
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 0 2px 6px;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}
|
||||
1
charting_library/bundles/2731.ec19f123cabf8efd03a4.css
Normal file
1
charting_library/bundles/2731.ec19f123cabf8efd03a4.css
Normal file
@@ -0,0 +1 @@
|
||||
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 16px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{word-wrap:break-word;display:flex;flex:1 1 auto;flex-direction:column;width:calc(100% - 16px)}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 6px 2px 0;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E{cursor:pointer}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}
|
||||
@@ -0,0 +1 @@
|
||||
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 16px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{word-wrap:break-word;display:flex;flex:1 1 auto;flex-direction:column;width:calc(100% - 16px)}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 0 2px 6px;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E{cursor:pointer}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}
|
||||
13
charting_library/bundles/2846.fbbd62afe04b4f9387f2.js
Normal file
13
charting_library/bundles/2846.fbbd62afe04b4f9387f2.js
Normal file
@@ -0,0 +1,13 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2846],{59142:function(e,o){var l,n,i;n=[o],l=function(e){"use strict";function o(e){if(Array.isArray(e)){for(var o=0,l=Array(e.length);o<e.length;o++)l[o]=e[o];return l}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var l=!1;if("undefined"!=typeof window){var n={get passive(){l=!0}};window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}var i="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),t=[],r=!1,a=-1,s=void 0,c=void 0,v=function(e){return t.some((function(o){return!(!o.options.allowTouchMove||!o.options.allowTouchMove(e))}))},d=function(e){var o=e||window.event;return!!v(o.target)||1<o.touches.length||(o.preventDefault&&o.preventDefault(),!1)},h=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==s&&(document.body.style.overflow=s,s=void 0)}))};e.disableBodyScroll=function(e,n){if(i){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!t.some((function(o){return o.targetElement===e}))){var h={targetElement:e,options:n||{}};t=[].concat(o(t),[h]),e.ontouchstart=function(e){1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=function(o){var l,n,i,t;1===o.targetTouches.length&&(n=e,t=(l=o).targetTouches[0].clientY-a,!v(l.target)&&(n&&0===n.scrollTop&&0<t||(i=n)&&i.scrollHeight-i.scrollTop<=i.clientHeight&&t<0?d(l):l.stopPropagation()))},r||(document.addEventListener("touchmove",d,l?{passive:!1}:void 0),r=!0)}}else{u=n,setTimeout((function(){if(void 0===c){var e=!!u&&!0===u.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;e&&0<o&&(c=document.body.style.paddingRight,document.body.style.paddingRight=o+"px")}void 0===s&&(s=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:e,options:n||{}};t=[].concat(o(t),[m])}var u},e.clearAllBodyScrollLocks=function(){i?(t.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),r&&(document.removeEventListener("touchmove",d,l?{passive:!1}:void 0),r=!1),t=[],a=-1):(h(),t=[])},e.enableBodyScroll=function(e){if(i){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,t=t.filter((function(o){return o.targetElement!==e})),r&&0===t.length&&(document.removeEventListener("touchmove",d,l?{passive:!1}:void 0),r=!1)}else 1===t.length&&t[0].targetElement===e?(h(),t=[]):t=t.filter((function(o){return o.targetElement!==e}))}},void 0===(i="function"==typeof l?l.apply(o,n):l)||(e.exports=i)},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},50238:(e,o,l)=>{"use strict";l.d(o,{
|
||||
useRovingTabindexElement:()=>r});var n=l(50959),i=l(39416),t=l(16838);function r(e,o=[]){const[l,r]=(0,n.useState)(!1),a=(0,i.useFunctionalRefObject)(e);return(0,n.useLayoutEffect)((()=>{if(!t.PLATFORM_ACCESSIBILITY_ENABLED)return;const e=a.current;if(null===e)return;const o=e=>{switch(e.type){case"roving-tabindex:main-element":r(!0);break;case"roving-tabindex:secondary-element":r(!1)}};return e.addEventListener("roving-tabindex:main-element",o),e.addEventListener("roving-tabindex:secondary-element",o),()=>{e.removeEventListener("roving-tabindex:main-element",o),e.removeEventListener("roving-tabindex:secondary-element",o)}}),o),[a,t.PLATFORM_ACCESSIBILITY_ENABLED?l?0:-1:void 0]}},36189:(e,o,l)=>{"use strict";l.d(o,{FavoriteButton:()=>d});var n=l(11542),i=l(50959),t=l(97754),r=l(9745),a=l(39146),s=l(48010),c=l(14877);const v={add:n.t(null,void 0,l(44629)),remove:n.t(null,void 0,l(72482))};function d(e){const{className:o,isFilled:l,isActive:n,onClick:d,...h}=e;return i.createElement(r.Icon,{...h,className:t(c.favorite,"apply-common-tooltip",l&&c.checked,n&&c.active,o),icon:l?a:s,onClick:d,title:l?v.remove:v.add})}},86656:(e,o,l)=>{"use strict";l.d(o,{TouchScrollContainer:()=>a});var n=l(50959),i=l(59142),t=l(50151),r=l(49483);const a=(0,n.forwardRef)(((e,o)=>{const{children:l,...t}=e,a=(0,n.useRef)(null);return(0,n.useImperativeHandle)(o,(()=>a.current)),(0,n.useLayoutEffect)((()=>{if(r.CheckMobile.iOS())return null!==a.current&&(0,i.disableBodyScroll)(a.current,{allowTouchMove:s(a)}),()=>{null!==a.current&&(0,i.enableBodyScroll)(a.current)}}),[]),n.createElement("div",{ref:a,...t},l)}));function s(e){return o=>{const l=(0,t.ensureNotNull)(e.current),n=document.activeElement;return!l.contains(o)||null!==n&&l.contains(n)&&n.contains(o)}}},71468:(e,o,l)=>{"use strict";function n(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function i(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}l.d(o,{becomeMainElement:()=>n,becomeSecondaryElement:()=>i})},87872:(e,o,l)=>{"use strict";l.d(o,{drawingToolsIcons:()=>n});const n={SyncDrawing:l(99088),arrow:l(63743),cursor:l(18953),dot:l(72196),performance:"",drawginmode:l(53950),drawginmodeActive:l(1532),eraser:l(27999),group:l(19799),hideAllDrawings:l(45820),hideAllDrawingsActive:l(84959),hideAllIndicators:l(42321),hideAllIndicatorsActive:l(75895),hideAllDrawingTools:l(93756),hideAllDrawingToolsActive:l(42650),hideAllPositionsTools:l(57313),hideAllPositionsToolsActive:l(65162),lockAllDrawings:l(91244),lockAllDrawingsActive:l(65186),magnet:l(68385),heart:l(10862),smile:l(7636),sticker:l(62567),strongMagnet:l(46049),measure:l(88518),removeAllDrawingTools:l(35149),showObjectsTree:l(36515),zoom:l(6894),"zoom-out":l(45360)}},80982:(e,o,l)=>{"use strict";l.d(o,{isLineToolsGroupWithSections:()=>r,lineTools:()=>t,lineToolsFlat:()=>a});var n=l(11542),i=l(1722);const t=[{id:"linetool-group-cursors",title:n.t(null,void 0,l(82401)),items:[{name:"cursor"},{name:"dot"},{name:"arrow"},{name:"eraser"},null].filter(i.isExistent),trackLabel:null},{
|
||||
id:"linetool-group-trend-line",title:n.t(null,void 0,l(18794)),sections:[{title:n.t(null,void 0,l(83182)),items:[{name:"LineToolTrendLine"},{name:"LineToolRay"},{name:"LineToolInfoLine"},{name:"LineToolExtended"},{name:"LineToolTrendAngle"},{name:"LineToolHorzLine"},{name:"LineToolHorzRay"},{name:"LineToolVertLine"},{name:"LineToolCrossLine"}]},{title:n.t(null,void 0,l(19022)),items:[{name:"LineToolParallelChannel"},{name:"LineToolRegressionTrend"},{name:"LineToolFlatBottom"},{name:"LineToolDisjointAngle"}]},{title:n.t(null,void 0,l(73359)),items:[{name:"LineToolPitchfork"},{name:"LineToolSchiffPitchfork2"},{name:"LineToolSchiffPitchfork"},{name:"LineToolInsidePitchfork"}]}],trackLabel:null},{id:"linetool-group-gann-and-fibonacci",title:n.t(null,void 0,l(5816)),sections:[{title:n.t(null,void 0,l(22305)),items:[{name:"LineToolFibRetracement"},{name:"LineToolTrendBasedFibExtension"},{name:"LineToolFibChannel"},{name:"LineToolFibTimeZone"},{name:"LineToolFibSpeedResistanceFan"},{name:"LineToolTrendBasedFibTime"},{name:"LineToolFibCircles"},{name:"LineToolFibSpiral"},{name:"LineToolFibSpeedResistanceArcs"},{name:"LineToolFibWedge"},{name:"LineToolPitchfan"}]},{title:n.t(null,void 0,l(43884)),items:[{name:"LineToolGannSquare"},{name:"LineToolGannFixed"},{name:"LineToolGannComplex"},{name:"LineToolGannFan"}]}],trackLabel:null},{id:"linetool-group-patterns",title:n.t(null,void 0,l(19693)),sections:[{title:n.t(null,void 0,l(19693)),items:[{name:"LineTool5PointsPattern"},{name:"LineToolCypherPattern"},{name:"LineToolHeadAndShoulders"},{name:"LineToolABCD"},{name:"LineToolTrianglePattern"},{name:"LineToolThreeDrivers"}]},{title:n.t(null,void 0,l(88280)),items:[{name:"LineToolElliottImpulse"},{name:"LineToolElliottCorrection"},{name:"LineToolElliottTriangle"},{name:"LineToolElliottDoubleCombo"},{name:"LineToolElliottTripleCombo"}]},{title:n.t(null,void 0,l(50025)),items:[{name:"LineToolCircleLines"},{name:"LineToolTimeCycles"},{name:"LineToolSineLine"}]}],trackLabel:null},{id:"linetool-group-prediction-and-measurement",title:n.t(null,void 0,l(97100)),sections:[{title:n.t(null,void 0,l(87086)),items:[{name:"LineToolRiskRewardLong"},{name:"LineToolRiskRewardShort"},{name:"LineToolPrediction"},{name:"LineToolBarsPattern"},{name:"LineToolGhostFeed"},{name:"LineToolProjection"}].filter(i.isExistent)},{title:n.t(null,void 0,l(89967)),items:[{name:"LineToolAnchoredVWAP"},{name:"LineToolFixedRangeVolumeProfile"},null].filter(i.isExistent)},{title:n.t(null,void 0,l(79961)),items:[{name:"LineToolPriceRange"},{name:"LineToolDateRange"},{name:"LineToolDateAndPriceRange"}]}],trackLabel:null},{id:"linetool-group-geometric-shapes",title:n.t(null,void 0,l(22146)),sections:[{title:n.t(null,void 0,l(55939)),items:[{name:"LineToolBrush"},{name:"LineToolHighlighter"}]},{title:n.t(null,void 0,l(23969)),items:[{name:"LineToolArrowMarker"},{name:"LineToolArrow"},{name:"LineToolArrowMarkUp"},{name:"LineToolArrowMarkDown"},{name:"LineToolArrowMarkLeft"},{name:"LineToolArrowMarkRight"}].filter(i.isExistent)},{title:n.t(null,void 0,l(25792)),items:[{
|
||||
name:"LineToolRectangle"},{name:"LineToolRotatedRectangle"},{name:"LineToolPath"},{name:"LineToolCircle"},{name:"LineToolEllipse"},{name:"LineToolPolyline"},{name:"LineToolTriangle"},{name:"LineToolArc"},{name:"LineToolBezierQuadro"},{name:"LineToolBezierCubic"}]}],trackLabel:null},{id:"linetool-group-annotation",title:n.t(null,void 0,l(19661)),sections:[{title:n.t(null,void 0,l(20916)),items:[{name:"LineToolText"},{name:"LineToolTextAbsolute"},{name:"LineToolNote"},{name:"LineToolNoteAbsolute"},{name:"LineToolCallout"},{name:"LineToolComment"},{name:"LineToolPriceLabel"},{name:"LineToolPriceNote"},{name:"LineToolSignpost"},{name:"LineToolFlagMark"}]},{title:n.t(null,void 0,l(39176)),items:[null,null,null].filter(i.isExistent)}],trackLabel:null}];function r(e){return"sections"in e}const a=t.map((function(e){return r(e)?e.sections.map((e=>e.items)).flat():e.items})).flat()},78036:(e,o,l)=>{"use strict";l.d(o,{lineToolsInfo:()=>f});var n=l(50151),i=l(11542),t=l(61814),r=(l(42053),l(57673)),a=l(87872);const s={SyncDrawing:i.t(null,void 0,l(36551)),arrow:i.t(null,void 0,l(96237)),cursor:i.t(null,void 0,l(29908)),dot:i.t(null,void 0,l(60925)),performance:i.t(null,void 0,l(79165)),drawginmode:i.t(null,void 0,l(49421)),eraser:i.t(null,void 0,l(99289)),group:i.t(null,void 0,l(91977)),hideAllDrawings:i.t(null,void 0,l(17517)),lockAllDrawings:i.t(null,void 0,l(37057)),magnet:i.t(null,void 0,l(37140)),measure:i.t(null,void 0,l(59607)),removeAllDrawingTools:i.t(null,void 0,l(76091)),showObjectsTree:i.t(null,void 0,l(51072)),zoom:i.t(null,void 0,l(38925)),"zoom-out":i.t(null,void 0,l(49895))};var c=l(59656),v=l(68335),d=l(86972);const h=(0,v.humanReadableModifiers)(v.Modifiers.Shift,!1),m=(0,v.humanReadableModifiers)(v.Modifiers.Alt,!1),u=(0,v.humanReadableModifiers)(v.Modifiers.Mod,!1),g={keys:[h],text:i.t(null,void 0,l(40234))},L={keys:[h],text:i.t(null,void 0,l(68125))},w={keys:[h],text:i.t(null,void 0,l(81591))},T={LineTool5PointsPattern:{},LineToolABCD:{},LineToolArc:{},LineToolArrow:{},LineToolArrowMarkDown:{},LineToolArrowMarkLeft:{},LineToolArrowMarkRight:{},LineToolArrowMarkUp:{},LineToolBalloon:{},LineToolComment:{},LineToolBarsPattern:{},LineToolBezierCubic:{},LineToolBezierQuadro:{},LineToolBrush:{},LineToolCallout:{},LineToolCircleLines:{},LineToolCypherPattern:{},LineToolDateAndPriceRange:{},LineToolDateRange:{},LineToolDisjointAngle:{hotKey:(0,t.hotKeySerialize)(g)},LineToolElliottCorrection:{},LineToolElliottDoubleCombo:{},LineToolElliottImpulse:{},LineToolElliottTriangle:{},LineToolElliottTripleCombo:{},LineToolEllipse:{hotKey:(0,t.hotKeySerialize)(L)},LineToolExtended:{},LineToolFibChannel:{},LineToolFibCircles:{hotKey:(0,t.hotKeySerialize)(L)},LineToolFibRetracement:{},LineToolFibSpeedResistanceArcs:{},LineToolFibSpeedResistanceFan:{hotKey:(0,t.hotKeySerialize)(w)},LineToolFibSpiral:{},LineToolFibTimeZone:{},LineToolFibWedge:{},LineToolFlagMark:{},LineToolFlatBottom:{hotKey:(0,t.hotKeySerialize)(g)},LineToolAnchoredVWAP:{},LineToolGannComplex:{},LineToolGannFixed:{},LineToolGannFan:{},LineToolGannSquare:{
|
||||
hotKey:(0,t.hotKeySerialize)({keys:[h],text:i.t(null,void 0,l(10289))})},LineToolHeadAndShoulders:{},LineToolHorzLine:{hotKey:(0,t.hotKeySerialize)({keys:[m,"H"],text:"{0} + {1}"})},LineToolHorzRay:{},LineToolIcon:{},LineToolEmoji:{},LineToolInsidePitchfork:{},LineToolNote:{},LineToolNoteAbsolute:{},LineToolSignpost:{},LineToolParallelChannel:{hotKey:(0,t.hotKeySerialize)(g)},LineToolPitchfan:{},LineToolPitchfork:{},LineToolPolyline:{},LineToolPath:{},LineToolPrediction:{},LineToolPriceLabel:{},LineToolPriceNote:{hotKey:(0,t.hotKeySerialize)(g)},LineToolArrowMarker:{},LineToolPriceRange:{},LineToolProjection:{},LineToolRay:{},LineToolRectangle:{hotKey:(0,t.hotKeySerialize)({keys:[h],text:i.t(null,void 0,l(81591))})},LineToolCircle:{},LineToolRegressionTrend:{},LineToolRiskRewardLong:{},LineToolRiskRewardShort:{},LineToolFixedRangeVolumeProfile:{},LineToolRotatedRectangle:{hotKey:(0,t.hotKeySerialize)(g)},LineToolSchiffPitchfork:{},LineToolSchiffPitchfork2:{},LineToolSineLine:{},LineToolText:{},LineToolTextAbsolute:{},LineToolThreeDrivers:{},LineToolTimeCycles:{},LineToolTrendAngle:{hotKey:(0,t.hotKeySerialize)(g)},LineToolTrendBasedFibExtension:{},LineToolTrendBasedFibTime:{},LineToolTrendLine:{hotKey:(0,t.hotKeySerialize)(g)},LineToolInfoLine:{},LineToolTriangle:{},LineToolTrianglePattern:{},LineToolVertLine:{hotKey:(0,t.hotKeySerialize)({keys:[m,"V"],text:"{0} + {1}"})},LineToolCrossLine:{},LineToolHighlighter:{},LineToolGhostFeed:{},SyncDrawing:{iconActive:a.drawingToolsIcons.SyncDrawingActive},arrow:{},cursor:{},dot:{},drawginmode:{iconActive:a.drawingToolsIcons.drawginmodeActive},eraser:{},group:{},hideAllDrawings:{iconActive:a.drawingToolsIcons.hideAllDrawingsActive,hotKey:(0,t.hotKeySerialize)({keys:[u,m,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{iconActive:a.drawingToolsIcons.lockAllDrawingsActive},magnet:{hotKey:(0,t.hotKeySerialize)({keys:[u],text:"{0}"})},measure:{hotKey:(0,t.hotKeySerialize)({keys:[h],text:i.t(null,void 0,l(32868))})},removeAllDrawingTools:{},showObjectsTree:{},zoom:{},"zoom-out":{}};const f={};Object.entries(T).map((([e,o])=>{var l,i;const t=null!==(l=r.lineToolsIcons[e])&&void 0!==l?l:a.drawingToolsIcons[e];(0,n.assert)(!!t,`Icon is not defined for drawing "${e}"`);const v=null!==(i=c.lineToolsLocalizedNames[e])&&void 0!==i?i:s[e];(0,n.assert)(!!v,`Localized name is not defined for drawing "${e}"`);return{...o,name:e,icon:t,localizedName:v,selectHotkey:d.lineToolsSelectHotkeys[e]}})).forEach((e=>{f[e.name]=e}))},71810:(e,o,l)=>{"use strict";l.d(o,{LinetoolsFavoritesStore:()=>s});var n=l(57898),i=l(56840);const t=["LineToolBalloon"],r=!1;var a,s;!function(e){function o(){var o,n;e.favorites=[];let s=!1;const c=Boolean(void 0===(0,i.getValue)("chart.favoriteDrawings")),v=(0,i.getJSON)("chart.favoriteDrawings",[]);if(0===v.length&&c&&"undefined"!=typeof window){const e=JSON.parse(null!==(n=null===(o=window.urlParams)||void 0===o?void 0:o.favorites)&&void 0!==n?n:"{}").drawingTools;e&&Array.isArray(e)&&v.push(...e)}v.forEach(((o,n)=>{const i=o.tool||o
|
||||
;l(i)?t.includes(i)?s=!0:e.favorites.push(i):r&&r.includes(i)&&e.hiddenToolsPositions.set(i,n)})),s&&a(),e.favoritesSynced.fire()}function l(e){return"string"==typeof e&&""!==e&&!(r&&r.includes(e))}function a(o){const l=e.favorites.slice();e.hiddenToolsPositions.forEach(((e,o)=>{l.splice(e,0,o)})),(0,i.setJSON)("chart.favoriteDrawings",l,o)}e.favorites=[],e.favoritesSynced=new n.Delegate,e.hiddenToolsPositions=new Map,e.favoriteIndex=function(o){return e.favorites.indexOf(o)},e.isValidLineToolName=l,e.saveFavorites=a,o(),i.onSync.subscribe(null,o)}(a||(a={})),function(e){function o(e){return a.isValidLineToolName(e)}function l(){return a.favorites.length}function i(e){return-1!==a.favoriteIndex(e)}e.favoriteAdded=new n.Delegate,e.favoriteRemoved=new n.Delegate,e.favoriteMoved=new n.Delegate,e.favoritesSynced=a.favoritesSynced,e.favorites=function(){return a.favorites.slice()},e.isValidLineToolName=o,e.favoritesCount=l,e.favorite=function(e){return e<0||e>=l()?"":a.favorites[e]},e.addFavorite=function(l,n){return!(i(l)||!o(l)||"performance"===l)&&(a.favorites.push(l),a.saveFavorites(n),e.favoriteAdded.fire(l),!0)},e.removeFavorite=function(o,l){const n=a.favoriteIndex(o);if(-1===n)return!1;a.favorites.splice(n,1);const i=a.hiddenToolsPositions;return i.forEach(((e,o)=>{e>n&&i.set(o,e-1)})),a.saveFavorites(l),e.favoriteRemoved.fire(o),!0},e.isFavorite=i,e.moveFavorite=function(n,i,t){if(i<0||i>=l()||!o(n))return!1;const r=a.favoriteIndex(n);if(-1===r||i===r)return!1;const s=a.hiddenToolsPositions;return s.forEach(((e,o)=>{r<e&&i>e?e--:i<e&&r>e&&e++,s.set(o,e)})),a.favorites.splice(r,1),a.favorites.splice(i,0,n),a.saveFavorites(t),e.favoriteMoved.fire(n,r,i),!0}}(s||(s={}))},19799:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30" height="30"><path fill="currentColor" d="M5.5 13A2.5 2.5 0 0 0 3 15.5 2.5 2.5 0 0 0 5.5 18 2.5 2.5 0 0 0 8 15.5 2.5 2.5 0 0 0 5.5 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5A2.5 2.5 0 0 0 15 18a2.5 2.5 0 0 0 2.5-2.5A2.5 2.5 0 0 0 15 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5 2.5 2.5 0 0 0 2.5 2.5 2.5 2.5 0 0 0 2.5-2.5 2.5 2.5 0 0 0-2.5-2.5z"/></svg>'},63743:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M11.682 16.09l3.504 6.068 1.732-1-3.497-6.057 3.595-2.1L8 7.74v10.512l3.682-2.163zm-.362 1.372L7 20V6l12 7-4.216 2.462 3.5 6.062-3.464 2-3.5-6.062z"/></svg>'},18953:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path d="M18 15h8v-1h-8z"/><path d="M14 18v8h1v-8zM14 3v8h1v-8zM3 15h8v-1h-8z"/></g></svg>'},72196:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><circle fill="currentColor" cx="14" cy="14" r="3"/></svg>'},1532:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 17.5v-2a2.5 2.5 0 0 0-5 0v2h1v-2a1.5 1.5 0 0 1 3 0v2h1z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},53950:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 14.5a2.5 2.5 0 0 0-5 0v3h1v-3a1.5 1.5 0 0 1 3 0v.5h1v-.5z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},27999:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 31" width="29" height="31"><g fill="currentColor" fill-rule="nonzero"><path d="M15.3 22l8.187-8.187c.394-.394.395-1.028.004-1.418l-4.243-4.243c-.394-.394-1.019-.395-1.407-.006l-11.325 11.325c-.383.383-.383 1.018.007 1.407l1.121 1.121h7.656zm-9.484-.414c-.781-.781-.779-2.049-.007-2.821l11.325-11.325c.777-.777 2.035-.78 2.821.006l4.243 4.243c.781.781.78 2.048-.004 2.832l-8.48 8.48h-8.484l-1.414-1.414z"/><path d="M13.011 22.999h7.999v-1h-7.999zM13.501 11.294l6.717 6.717.707-.707-6.717-6.717z"/></g></svg>'},10862:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M24.13 14.65a6.2 6.2 0 0 0-.46-9.28c-2.57-2.09-6.39-1.71-8.75.6l-.92.91-.92-.9c-2.36-2.32-6.18-2.7-8.75-.61a6.2 6.2 0 0 0-.46 9.28l9.07 8.92c.58.57 1.53.57 2.12 0l9.07-8.92Zm-9.77 8.2 9.07-8.91a5.2 5.2 0 0 0-.39-7.8c-2.13-1.73-5.38-1.45-7.42.55L14 8.29l-1.62-1.6c-2.03-2-5.29-2.28-7.42-.55a5.2 5.2 0 0 0-.4 7.8l9.08 8.91c.2.2.52.2.72 0Z"/></svg>'},68385:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M14 10a2 2 0 0 0-2 2v11H6V12c0-4.416 3.584-8 8-8s8 3.584 8 8v11h-6V12a2 2 0 0 0-2-2zm-3 2a3 3 0 0 1 6 0v10h4V12c0-3.864-3.136-7-7-7s-7 3.136-7 7v10h4V12z"/><path d="M6.5 18h5v1h-5zm10 0h5v1h-5z"/></g></svg>'},88518:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M2 9.75a1.5 1.5 0 0 0-1.5 1.5v5.5a1.5 1.5 0 0 0 1.5 1.5h24a1.5 1.5 0 0 0 1.5-1.5v-5.5a1.5 1.5 0 0 0-1.5-1.5zm0 1h3v2.5h1v-2.5h3.25v3.9h1v-3.9h3.25v2.5h1v-2.5h3.25v3.9h1v-3.9H22v2.5h1v-2.5h3a.5.5 0 0 1 .5.5v5.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-5.5a.5.5 0 0 1 .5-.5z" transform="rotate(-45 14 14)"/></svg>'},36515:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M14 18.634l-.307-.239-7.37-5.73-2.137-1.665 9.814-7.633 9.816 7.634-.509.394-1.639 1.269-7.667 5.969zm7.054-6.759l1.131-.876-8.184-6.366-8.186 6.367 1.123.875 7.063 5.491 7.054-5.492z"/><path d="M7 14.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/><path d="M7 17.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/></g></svg>'},7636:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M4.05 14a9.95 9.95 0 1 1 19.9 0 9.95 9.95 0 0 1-19.9 0ZM14 3a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-3 13.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},62567:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M7 4h14a3 3 0 0 1 3 3v11c0 .34-.03.67-.08 1H20.3c-1.28 0-2.31.97-2.31 2.24V24H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm12 19.92A6 6 0 0 0 23.66 20H20.3c-.77 0-1.31.48-1.31 1.24v2.68ZM3 7a4 4 0 0 1 4-4h14a4 4 0 0 1 4 4v11a7 7 0 0 1-7 7H7a4 4 0 0 1-4-4V7Zm8 9.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},46049:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="nonzero" d="M14 5a7 7 0 0 0-7 7v3h4v-3a3 3 0 1 1 6 0v3h4v-3a7 7 0 0 0-7-7zm7 11h-4v3h4v-3zm-10 0H7v3h4v-3zm-5-4a8 8 0 1 1 16 0v8h-6v-8a2 2 0 1 0-4 0v8H6v-8zm3.293 11.294l-1.222-2.037.858-.514 1.777 2.963-2 1 1.223 2.037-.858.514-1.778-2.963 2-1zm9.778-2.551l.858.514-1.223 2.037 2 1-1.777 2.963-.858-.514 1.223-2.037-2-1 1.777-2.963z"/></svg>'},99088:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"/><path d="M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"/></g></svg>'},42650:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M19.76 6.07l-.7.7a13.4 13.4 0 011.93 2.47c.19.3.33.55.42.72l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02a5.1 5.1 0 00-.15-.28 16 16 0 00-2.53-3.41zM6.24 13.93l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41zm6.09-.43a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm-1.97-3.69l-.93.93a3.6 3.6 0 014.24-4.24l-.95.95a2.6 2.6 0 00-2.36 2.36zm11.29 7.84l-.8.79a1.5 1.5 0 000 2.12l.59.59a1.5 1.5 0 002.12 0l1.8-1.8-.71-.7-1.8 1.79a.5.5 0 01-.7 0l-.59-.59a.5.5 0 010-.7l.8-.8-.71-.7zm-5.5 3.5l.35.35-.35-.35.01-.02.02-.02.02-.02a4.68 4.68 0 01.65-.5c.4-.27 1-.59 1.65-.59.66 0 1.28.33 1.73.77.44.45.77 1.07.77 1.73a2.5 2.5 0 01-.77 1.73 2.5 2.5 0 01-1.73.77h-4a.5.5 0 01-.42-.78l1-1.5 1-1.5a.5.5 0 01.07-.07zm.74.67a3.46 3.46 0 01.51-.4c.35-.24.75-.42 1.1-.42.34 0 .72.17 1.02.48.3.3.48.68.48 1.02 0 .34-.17.72-.48 1.02-.3.3-.68.48-1.02.48h-3.07l.49-.72.97-1.46zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},75895:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M16.47 3.7A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76zm-7.04 7.04l.93-.93a2.6 2.6 0 012.36-2.36l.95-.95a3.6 3.6 0 00-4.24 4.24zm.1 5.56c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02-.02-.03-.01-.03a9.5 9.5 0 00-.57-1 16 16 0 00-2.08-2.63l-.7.7.27.29a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76zm2.8-2.8a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm7.9 3.73c-.12.12-.23.35-.23.77v2h1v1h-1v2c0 .58-.14 1.1-.52 1.48-.38.38-.9.52-1.48.52s-1.1-.14-1.48-.52c-.38-.38-.52-.9-.52-1.48h1c0 .42.1.65.23.77.12.12.35.23.77.23.42 0 .65-.1.77-.23.12-.12.23-.35.23-.77v-2h-1v-1h1v-2c0-.58.14-1.1.52-1.48.38-.38.9-.52 1.48-.52s1.1.14 1.48.52c.38.38.52.9.52 1.48h-1c0-.42-.1-.65-.23-.77-.12-.12-.35-.23-.77-.23-.42 0-.65.1-.77.23zm2.56 6.27l-1.14-1.15.7-.7 1.15 1.14 1.15-1.14.7.7-1.14 1.15 1.14 1.15-.7.7-1.15-1.14-1.15 1.14-.7-.7 1.14-1.15zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},65162:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M5.5 18.2L21.2 2.5l-.7-.7L4.8 17.5l.7.7zM19.05 6.78l.71-.7a14.26 14.26 0 0 1 2.08 2.64 14.26 14.26 0 0 1 .6 1.05v.02h.01L22 10l.45.22-.01.02a5.18 5.18 0 0 1-.15.28 16 16 0 0 1-2.23 3.1c-1.56 1.69-3.94 3.44-7.06 3.44-1.29 0-2.44-.3-3.47-.76l.76-.76c.83.32 1.73.52 2.71.52 2.73 0 4.85-1.53 6.33-3.12a15.01 15.01 0 0 0 2.08-2.9l.03-.04-.03-.04a15 15 0 0 0-2.36-3.18zM22 10l.45-.22.1.22-.1.22L22 10zM6.94 13.23l-.7.7a14.24 14.24 0 0 1-2.08-2.64 14.28 14.28 0 0 1-.6-1.05v-.02h-.01L4 10l-.45-.22.01-.02a5.55 5.55 0 0 1 .15-.28 16 16 0 0 1 2.23-3.1C7.5 4.69 9.88 2.94 13 2.94c1.29 0 2.44.3 3.47.76l-.76.76A7.27 7.27 0 0 0 13 3.94c-2.73 0-4.85 1.53-6.33 3.12a15 15 0 0 0-2.08 2.9l-.03.04.03.04a15.01 15.01 0 0 0 2.36 3.18zM4 10l-.45.22-.1-.22.1-.22L4 10zm9 3.56c-.23 0-.46-.02-.67-.06l.95-.95a2.6 2.6 0 0 0 2.36-2.36l.93-.93a3.6 3.6 0 0 1-3.57 4.3zm-3.57-2.82l.93-.93a2.6 2.6 0 0 1 2.36-2.36l.95-.95a3.6 3.6 0 0 0-4.24 4.24zM17.5 21.9l3.28 2.18a.5.5 0 1 1-.56.84L17.5 23.1l-2.72 1.82a.5.5 0 1 1-.56-.84l3.28-2.18zM18.58 19.22a.5.5 0 0 1 .7-.14L22 20.9l2.72-1.82a.5.5 0 0 1 .56.84L22 22.1l-3.28-2.18a.5.5 0 0 1-.14-.7z"/></svg>'},65186:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M14 6a3 3 0 0 0-3 3v3h6V9a3 3 0 0 0-3-3zm4 6V9a4 4 0 0 0-8 0v3H8.5A2.5 2.5 0 0 0 6 14.5v7A2.5 2.5 0 0 0 8.5 24h11a2.5 2.5 0 0 0 2.5-2.5v-7a2.5 2.5 0 0 0-2.5-2.5H18zm-5 5a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6-2.5c0-.83.67-1.5 1.5-1.5h11c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 7 21.5v-7z"/></svg>'},91244:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M14 6a3 3 0 0 0-3 3v3h8.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 6 21.5v-7A2.5 2.5 0 0 1 8.5 12H10V9a4 4 0 0 1 8 0h-1a3 3 0 0 0-3-3zm-1 11a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6-2.5c0-.83.67-1.5 1.5-1.5h11c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 7 21.5v-7z"/></svg>'},45820:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M4.56 14a10.05 10.05 0 00.52.91c.41.69 1.04 1.6 1.85 2.5C8.58 19.25 10.95 21 14 21c3.05 0 5.42-1.76 7.07-3.58A17.18 17.18 0 0023.44 14a9.47 9.47 0 00-.52-.91c-.41-.69-1.04-1.6-1.85-2.5C19.42 8.75 17.05 7 14 7c-3.05 0-5.42 1.76-7.07 3.58A17.18 17.18 0 004.56 14zM24 14l.45-.21-.01-.03a7.03 7.03 0 00-.16-.32c-.11-.2-.28-.51-.5-.87-.44-.72-1.1-1.69-1.97-2.65C20.08 7.99 17.45 6 14 6c-3.45 0-6.08 2-7.8 3.92a18.18 18.18 0 00-2.64 3.84v.02h-.01L4 14l-.45-.21-.1.21.1.21L4 14l-.45.21.01.03a5.85 5.85 0 00.16.32c.11.2.28.51.5.87.44.72 1.1 1.69 1.97 2.65C7.92 20.01 10.55 22 14 22c3.45 0 6.08-2 7.8-3.92a18.18 18.18 0 002.64-3.84v-.02h.01L24 14zm0 0l.45.21.1-.21-.1-.21L24 14zm-10-3a3 3 0 100 6 3 3 0 000-6zm-4 3a4 4 0 118 0 4 4 0 01-8 0z"/></svg>'},93756:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M5 10.76l-.41-.72-.03-.04.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12 2.73 0 4.85 1.53 6.33 3.12a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-2.73 0-4.85-1.53-6.33-3.12a15 15 0 01-1.66-2.18zm17.45-.98L22 10l.45.22-.01.02a5.04 5.04 0 01-.15.28 16.01 16.01 0 01-2.23 3.1c-1.56 1.69-3.94 3.44-7.06 3.44-3.12 0-5.5-1.75-7.06-3.44a16 16 0 01-2.38-3.38v-.02h-.01L4 10l-.45-.22.01-.02a5.4 5.4 0 01.15-.28 16 16 0 012.23-3.1C7.5 4.69 9.88 2.94 13 2.94c3.12 0 5.5 1.75 7.06 3.44a16.01 16.01 0 012.38 3.38v.02h.01zM22 10l.45-.22.1.22-.1.22L22 10zM3.55 9.78L4 10l-.45.22-.1-.22.1-.22zm6.8.22A2.6 2.6 0 0113 7.44 2.6 2.6 0 0115.65 10 2.6 2.6 0 0113 12.56 2.6 2.6 0 0110.35 10zM13 6.44A3.6 3.6 0 009.35 10 3.6 3.6 0 0013 13.56c2 0 3.65-1.58 3.65-3.56A3.6 3.6 0 0013 6.44zm7.85 12l.8-.8.7.71-.79.8a.5.5 0 000 .7l.59.59c.2.2.5.2.7 0l1.8-1.8.7.71-1.79 1.8a1.5 1.5 0 01-2.12 0l-.59-.59a1.5 1.5 0 010-2.12zM16.5 21.5l-.35-.35a.5.5 0 00-.07.07l-1 1.5-1 1.5a.5.5 0 00.42.78h4a2.5 2.5 0 001.73-.77A2.5 2.5 0 0021 22.5a2.5 2.5 0 00-.77-1.73A2.5 2.5 0 0018.5 20a3.1 3.1 0 00-1.65.58 5.28 5.28 0 00-.69.55v.01h-.01l.35.36zm.39.32l-.97 1.46-.49.72h3.07c.34 0 .72-.17 1.02-.48.3-.3.48-.68.48-1.02 0-.34-.17-.72-.48-1.02-.3-.3-.68-.48-1.02-.48-.35 0-.75.18-1.1.42a4.27 4.27 0 00-.51.4z"/></svg>'},42321:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M5 10.76a13.27 13.27 0 01-.41-.72L4.56 10l.03-.04a15 15 0 012.08-2.9c1.48-1.6 3.6-3.12 6.33-3.12s4.85 1.53 6.33 3.12a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.08 2.9c-1.48 1.6-3.6 3.12-6.33 3.12s-4.85-1.53-6.33-3.12a15 15 0 01-1.66-2.18zm17.45-.98L22 10l.45.22-.01.02a14.3 14.3 0 01-.6 1.05c-.4.64-1 1.48-1.78 2.33-1.56 1.7-3.94 3.44-7.06 3.44s-5.5-1.75-7.06-3.44a16 16 0 01-2.23-3.1 9.39 9.39 0 01-.15-.28v-.02h-.01L4 10l-.45-.22.01-.02a5.59 5.59 0 01.15-.28 16 16 0 012.23-3.1C7.5 4.69 9.87 2.94 13 2.94c3.12 0 5.5 1.75 7.06 3.44a16 16 0 012.23 3.1 9.5 9.5 0 01.15.28v.01l.01.01zM22 10l.45-.22.1.22-.1.22L22 10zM3.55 9.78L4 10l-.45.22-.1-.22.1-.22zm6.8.22A2.6 2.6 0 0113 7.44 2.6 2.6 0 0115.65 10 2.6 2.6 0 0113 12.56 2.6 2.6 0 0110.35 10zM13 6.44A3.6 3.6 0 009.35 10c0 1.98 1.65 3.56 3.65 3.56s3.65-1.58 3.65-3.56A3.6 3.6 0 0013 6.44zM20 18c0-.42.1-.65.23-.77.12-.13.35-.23.77-.23.42 0 .65.1.77.23.13.12.23.35.23.77h1c0-.58-.14-1.1-.52-1.48-.38-.38-.9-.52-1.48-.52s-1.1.14-1.48.52c-.37.38-.52.9-.52 1.48v2h-1v1h1v2c0 .42-.1.65-.23.77-.12.13-.35.23-.77.23-.42 0-.65-.1-.77-.23-.13-.12-.23-.35-.23-.77h-1c0 .58.14 1.1.52 1.48.38.37.9.52 1.48.52s1.1-.14 1.48-.52c.37-.38.52-.9.52-1.48v-2h1v-1h-1v-2zm1.65 4.35l1.14 1.15-1.14 1.15.7.7 1.15-1.14 1.15 1.14.7-.7-1.14-1.15 1.14-1.15-.7-.7-1.15 1.14-1.15-1.14-.7.7z"/></svg>'},57313:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M4.5 10a8.46 8.46 0 0 0 .46.8c.38.6.94 1.4 1.68 2.19 1.48 1.6 3.62 3.13 6.36 3.13s4.88-1.53 6.36-3.13A15.07 15.07 0 0 0 21.5 10a7.41 7.41 0 0 0-.46-.8c-.38-.6-.94-1.4-1.68-2.19-1.48-1.6-3.62-3.13-6.36-3.13S8.12 5.4 6.64 7A15.07 15.07 0 0 0 4.5 10zM22 10l.41-.19-.4.19zm0 0l.41.19-.4-.19zm.41.19l.09-.19-.09-.19-.01-.02a6.86 6.86 0 0 0-.15-.28c-.1-.18-.25-.45-.45-.76-.4-.64-.99-1.48-1.77-2.32C18.47 4.74 16.11 3 13 3 9.89 3 7.53 4.74 5.97 6.43A15.94 15.94 0 0 0 3.6 9.79v.02h-.01L3.5 10l.09.19.01.02a6.59 6.59 0 0 0 .15.28c.1.18.25.45.45.76.4.64.99 1.48 1.77 2.32C7.53 15.26 9.89 17 13 17c3.11 0 5.47-1.74 7.03-3.43a15.94 15.94 0 0 0 2.37-3.36v-.02h.01zM4 10l-.41-.19.4.19zm9-2.63c-1.5 0-2.7 1.18-2.7 2.63s1.2 2.63 2.7 2.63c1.5 0 2.7-1.18 2.7-2.63S14.5 7.37 13 7.37zM9.4 10C9.4 8.07 11 6.5 13 6.5s3.6 1.57 3.6 3.5S15 13.5 13 13.5A3.55 3.55 0 0 1 9.4 10zm8.1 11.9l3.28 2.18a.5.5 0 1 1-.56.84L17.5 23.1l-2.72 1.82a.5.5 0 1 1-.56-.84l3.28-2.18zm1.78-2.82a.5.5 0 0 0-.56.84L22 22.1l3.28-2.18a.5.5 0 1 0-.56-.84L22 20.9l-2.72-1.82z"/></svg>'},6894:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/><path d="M13 16V9h-1v7z"/></svg>'},45360:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/></svg>'},14665:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 16" width="10" height="16"><path d="M.6 1.4l1.4-1.4 8 8-8 8-1.4-1.4 6.389-6.532-6.389-6.668z"/></svg>'},39146:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},48010:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'}}]);
|
||||
@@ -1,5 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3016],{19175:t=>{t.exports={dialog:"dialog-CPGBbsmc",rounded:"rounded-CPGBbsmc",shadowed:"shadowed-CPGBbsmc",fullscreen:"fullscreen-CPGBbsmc",darker:"darker-CPGBbsmc",backdrop:"backdrop-CPGBbsmc"}},8326:t=>{t.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-qyCw0PaN",dragging:"dragging-qyCw0PaN",dialogAnimatedAppearance:"dialogAnimatedAppearance-qyCw0PaN",dialogAnimation:"dialogAnimation-qyCw0PaN",dialogTooltip:"dialogTooltip-qyCw0PaN"}},95711:(t,e,i)=>{"use strict";i.d(e,{PopupContext:()=>s});const s=i(50959).createContext(null)},63016:(t,e,i)=>{"use strict";i.d(e,{PopupDialog:()=>w});var s=i(50959),o=i(97754),n=i(50151),a=i(60508),r=i(67961),l=i(90186),h=i(19175);class d extends s.PureComponent{constructor(){super(...arguments),this._manager=new r.OverlapManager,this._handleSlot=t=>{this._manager.setContainer(t)}}render(){const{rounded:t=!0,shadowed:e=!0,fullscreen:i=!1,darker:n=!1,className:r,backdrop:d,containerTabIndex:c=-1}=this.props,u=o(r,h.dialog,t&&h.rounded,e&&h.shadowed,i&&h.fullscreen,n&&h.darker),p=(0,l.filterDataProps)(this.props),g=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return s.createElement(s.Fragment,null,s.createElement(a.SlotContext.Provider,{value:this._manager},d&&s.createElement("div",{onClick:this.props.onClickBackdrop,className:h.backdrop}),s.createElement("div",{...p,className:u,style:g,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:c,"aria-label":this.props.containerAriaLabel},this.props.children)),s.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:t,left:e,width:i,right:s,top:o,zIndex:n,height:a}=this.props;return{bottom:t,left:e,right:s,top:o,zIndex:n,maxWidth:i,height:a}}}var c=i(86431),u=i(76594),p=i(37160);function g(t,e,i,s){return t+e>s&&(t=s-e),t<i&&(t=i),t}function _(t){return{x:(0,p.clamp)(t.x,20,document.documentElement.clientWidth-20),y:(0,p.clamp)(t.y,20,window.innerHeight-20)}}function m(t){return{x:t.clientX,y:t.clientY}}function f(t){return{x:t.touches[0].clientX,y:t.touches[0].clientY}}class v{constructor(t,e,i={boundByScreen:!0}){this._drag=null,this._canBeTouchClick=!1,this._frame=null,this._onMouseDragStart=t=>{if(0!==t.button||this._isTargetNoDraggable(t))return;t.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const e=_(m(t));this._dragStart(e)},this._onTouchDragStart=t=>{if(this._isTargetNoDraggable(t))return;this._canBeTouchClick=!0,t.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const e=_(f(t));this._dragStart(e)},this._onMouseDragEnd=t=>{t.target instanceof Node&&this._header.contains(t.target)&&t.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),
|
||||
document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=t=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(t){if(t instanceof SVGElement){const e=document.createEvent("SVGEvents");e.initEvent("click",!0,!0),t.dispatchEvent(e)}t instanceof HTMLElement&&t.click()}(t.target))},this._onMouseDragMove=t=>{const e=_(m(t));this._dragMove(e)},this._onTouchDragMove=t=>{this._canBeTouchClick=!1,t.preventDefault();const e=_(f(t));this._dragMove(e)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging"),this._options.onDragEnd&&this._options.onDragEnd()},this._dialog=t,this._header=e,this._options=i,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(t){this._options=t}_dragStart(t){const e=this._dialog.getBoundingClientRect();this._drag={startX:t.x,startY:t.y,finishX:t.x,finishY:t.y,dialogX:e.left,dialogY:e.top};const i=Math.round(e.left),s=Math.round(e.top);this._dialog.style.transform=`translate(${i}px, ${s}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(t){if(this._drag){if(this._drag.finishX=t.x,this._drag.finishY=t.y,null!==this._frame)return;this._frame=requestAnimationFrame((()=>{if(this._drag){const e=t.x-this._drag.startX,i=t.y-this._drag.startY;this._moveDialog(this._drag.dialogX+e,this._drag.dialogY+i)}this._frame=null}))}}_moveDialog(t,e){const i=this._dialog.getBoundingClientRect(),{boundByScreen:s}=this._options,o=g(t,i.width,s?0:-1/0,s?window.innerWidth:1/0),n=g(e,i.height,s?0:-1/0,s?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(o)}px, ${Math.round(n)}px)`}_isTargetNoDraggable(t){return t.target instanceof Element&&null!==t.target.closest("[data-disable-drag]")}}const y={vertical:0};class D{constructor(t,e){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame((()=>{this.recalculateBounds(),this._frame=null})))},this._dialog=t,this._guard=e.guard||y,this._calculateDialogPosition=e.calculateDialogPosition,this._initialHeight=t.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(t){this._guard=t.guard||y,this._calculateDialogPosition=t.calculateDialogPosition}setFullscreen(t){this._isFullscreen!==t&&(this._isFullscreen=t,this.recalculateBounds())}centerAndFit(){
|
||||
const{x:t,y:e}=this.getDialogsTopLeftCoordinates(),i=this._calcAvailableHeight(),s=this._calcDialogHeight();if(i===s)if(this._calculateDialogPosition){const{left:t,top:e}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else this._dialog.style.height=s+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${t}px, ${e}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:t,clientWidth:e}=document.documentElement,i=this._calcDialogHeight(),s=e/2-this._dialog.clientWidth/2,o=t/2-i/2;return{x:Math.round(s),y:Math.round(o)}}recalculateBounds(){var t;const{clientHeight:e,clientWidth:i}=document.documentElement,{vertical:s}=this._guard,o=null===(t=this._calculateDialogPosition)||void 0===t?void 0:t.call(this,this._dialog,{clientWidth:i,clientHeight:e},{vertical:s});if(this._isFullscreen){if(this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none",o){const{left:t,top:e,width:i,height:s}=o;this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`,i&&(this._dialog.style.width=`${i}px`,this._dialog.style.minWidth="unset"),s&&(this._dialog.style.height=`${s}px`,this._dialog.style.minHeight="unset")}}else if(o){const{left:t,top:e}=o;this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const t=this._dialog.getBoundingClientRect(),o=e-2*s,n=g(t.left,t.width,0,i),a=g(t.top,t.height,s,e);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(n)}px, ${Math.round(a)}px)`,this._dialog.style.height=o<t.height?o+"px":this._initialHeight}}destroy(){window.removeEventListener("resize",this._handleResize),null!==this._frame&&(cancelAnimationFrame(this._frame),this._frame=null)}_calcDialogHeight(){const t=this._calcAvailableHeight();return t<this._dialog.clientHeight?t:this._dialog.clientHeight}_calcAvailableHeight(){return document.documentElement.clientHeight-2*this._guard.vertical}}var E=i(65718),x=i(95711),S=i(99054),T=i(8326);T["tooltip-offset"];class M extends s.PureComponent{constructor(t){super(t),this._dialog=null,this._cleanUpFunctions=[],this._prevActiveElement=null,this._handleDialogRef=t=>{const{reference:e}=this.props;this._dialog=t,"function"==typeof e&&e(t)},this._handleFocus=t=>{this._moveToTop()},this._handleMouseDown=t=>{this._moveToTop()},this._handleTouchStart=t=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return s.createElement(x.PopupContext.Provider,{value:this},s.createElement(u.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},(t=>s.createElement("div",{ref:t,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]
|
||||
},s.createElement(d,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:o(T.dialog,this.props.className)},!1,this.props.children)))))}componentDidMount(){const{draggable:t,boundByScreen:e,onDragStart:i}=this.props,s=(0,n.ensureNotNull)(this._dialog);if(t){const t=s.querySelector("[data-dragg-area]");if(t&&t instanceof HTMLElement){const o=new v(s,t,{boundByScreen:Boolean(e),onDragStart:i});this._cleanUpFunctions.push((()=>o.destroy())),this._drag=o}}this._prevActiveElement=document.activeElement,this.props.autofocus&&!s.contains(document.activeElement)&&s.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!0);const{guard:o,calculateDialogPosition:a}=this.props;if(this.props.resizeHandler)this._resize=this.props.resizeHandler;else{const t=new D(s,{guard:o,calculateDialogPosition:a});this._cleanUpFunctions.push((()=>t.destroy())),this._resize=t}if(this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus){if(this.props.onForceFocus)return void this.props.onForceFocus(s);s.focus()}}componentDidUpdate(){if(this._resize){const{guard:t,calculateDialogPosition:e}=this.props;this._resize.updateOptions({guard:t,calculateDialogPosition:e}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){var t;if(this.props.shouldReturnFocus&&this._prevActiveElement&&document.body.contains(this._prevActiveElement)&&(null===document.activeElement||document.activeElement===document.body||(null===(t=this._dialog)||void 0===t?void 0:t.contains(document.activeElement))))try{this._prevActiveElement.focus({preventScroll:!0})}catch(t){}for(const t of this._cleanUpFunctions)t();(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(t){if(this._resize&&this._dialog){const{x:e,y:i}=t,{x:s,y:o}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",`${e}px`),this._dialog.style.setProperty("--animationTranslateStartY",`${i}px`),this._dialog.style.setProperty("--animationTranslateEndX",`${s}px`),this._dialog.style.setProperty("--animationTranslateEndY",`${o}px`),this._dialog.classList.add(T.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}M.contextType=E.PortalContext,M.defaultProps={boundByScreen:!0,draggable:!0,
|
||||
centeredOnMount:!0,shouldReturnFocus:!0};const w=(0,c.makeOverlapable)(M)},76594:(t,e,i)=>{"use strict";i.d(e,{OutsideEvent:()=>o});var s=i(36383);function o(t){const{children:e,...i}=t;return e((0,s.useOutsideEvent)(i))}},86431:(t,e,i)=>{"use strict";i.d(e,{makeOverlapable:()=>n});var s=i(50959),o=i(65718);function n(t){return class extends s.PureComponent{render(){const{isOpened:e,root:i}=this.props;if(!e)return null;const n=s.createElement(t,{...this.props,zIndex:150});return"parent"===i?n:s.createElement(o.Portal,null,n)}}}}}]);
|
||||
@@ -1,5 +0,0 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[306,8115],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>S});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&c()}function s(){u(i)}function c(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),
|
||||
window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,u=o.top+o.bottom,s=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=d(r,"left","right")+i),Math.round(c+u)!==n&&(c-=d(r,"top","bottom")+u)),!function(t){return t===l(t).document.documentElement}(t)){var a=Math.round(s+i)-e,f=Math.round(c+u)-n;1!==Math.abs(a)&&(s-=a),1!==Math.abs(f)&&(c-=f)}return b(o.left,o.top,s,c)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):v(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,u,s,c,a=(r=(n=e).x,o=n.y,i=n.width,u=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),f(c,{x:r,y:o,width:i,height:u,top:o,right:r+i,bottom:u+o,left:r}),c);f(this,{target:t,contentRect:a})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
|
||||
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=a.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},95257:(t,e)=>{var n=Symbol.for("react.element"),r=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"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,_={};function y(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=y.prototype;var w=m.prototype=new b;w.constructor=m,v(w,y.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},u=null,s=null
|
||||
;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(u=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var a=Array(c),f=0;f<c;f++)a[f]=arguments[f+2];i.children=a}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:t,key:u,ref:s,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var M=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function C(t,e,o,i,u){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case r:c=!0}}if(c)return u=u(c=t),t=""===i?"."+A(c,0):i,g(u)?(o="",null!=t&&(o=t.replace(M,"$&/")+"/"),C(u,e,o,"",(function(t){return t}))):null!=u&&(k(u)&&(u=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(M,"$&/")+"/")+t)),e.push(u)),1;if(c=0,i=""===i?".":i+":",g(t))for(var a=0;a<t.length;a++){var f=i+A(s=t[a],a);c+=C(s,e,o,f,u)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),a=0;!(s=t.next()).done;)c+=C(s=s.value,e,o,f=i+A(s,a++),u);else if("object"===s)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return c}function x(t,e,n){if(null==t)return t;var r=[],o=0;return C(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function j(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var $={current:null},T={transition:null},D={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:T,ReactCurrentOwner:O};e.Children={map:x,forEach:function(t,e,n){x(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return x(t,(function(){e++})),e},toArray:function(t){return x(t,(function(t){return t}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=y,e.Fragment=o,e.Profiler=u,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=v({},t.props),i=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=O.current),void 0!==e.key&&(i=""+e.key),
|
||||
t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(a in e)E.call(e,a)&&!S.hasOwnProperty(a)&&(o[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){c=Array(a);for(var f=0;f<a;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:n,type:t.type,key:i,ref:u,props:o,_owner:s}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:a,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:j}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=T.transition;T.transition={};try{t()}finally{T.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return $.current.useCallback(t,e)},e.useContext=function(t){return $.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return $.current.useDeferredValue(t)},e.useEffect=function(t,e){return $.current.useEffect(t,e)},e.useId=function(){return $.current.useId()},e.useImperativeHandle=function(t,e,n){return $.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return $.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return $.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return $.current.useMemo(t,e)},e.useReducer=function(t,e,n){return $.current.useReducer(t,e,n)},e.useRef=function(t){return $.current.useRef(t)},e.useState=function(t){return $.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return $.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return $.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{t.exports=n(95257)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,5 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3179],{40191:e=>{e.exports={menuWrap:"menuWrap-Kq3ruQo8",isMeasuring:"isMeasuring-Kq3ruQo8",scrollWrap:"scrollWrap-Kq3ruQo8",momentumBased:"momentumBased-Kq3ruQo8",menuBox:"menuBox-Kq3ruQo8",isHidden:"isHidden-Kq3ruQo8"}},36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>r});var s=n(50959),i=n(27267);function r(e){const{click:t,mouseDown:n,touchEnd:r,touchStart:o,handler:l,reference:a,ownerDocument:u=document}=e,c=(0,s.useRef)(null),d=(0,s.useRef)(new CustomEvent("timestamp").timeStamp);return(0,s.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:r,touchStart:o},s=a?a.current:c.current;return(0,i.addOutsideEventListener)(d.current,s,l,u,e)}),[t,n,r,o,l]),a||c}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>i});var s=n(50959);const i=s.forwardRef(((e,t)=>{const{icon:n="",...i}=e;return s.createElement("span",{...i,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},83021:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>i,SubmenuHandler:()=>r});var s=n(50959);const i=s.createContext(null);function r(e){const[t,n]=(0,s.useState)(null),r=(0,s.useRef)(null),o=(0,s.useRef)(new Map);return(0,s.useEffect)((()=>()=>{null!==r.current&&clearTimeout(r.current)}),[]),s.createElement(i.Provider,{value:{current:t,setCurrent:function(e){null!==r.current&&(clearTimeout(r.current),r.current=null);null===t?n(e):r.current=setTimeout((()=>{r.current=null,n(e)}),100)},registerSubmenu:function(e,t){return o.current.set(e,t),()=>{o.current.delete(e)}},isSubmenuNode:function(e){return Array.from(o.current.values()).some((t=>t(e)))}}},e.children)}},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>l});var s=n(50151);class i{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class r{constructor(e=document){this._storage=new i,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const s=this._document.createElement("div");if(s.style.position=t.position,s.style.zIndex=this._index.toString(),s.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(s);else if(t.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(s,e)}}else"reverse"===t.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(e,s),++this._index,s}unregisterWindow(e){
|
||||
this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const o=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(o.get(t));{const t=new r(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return o.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const o=r.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=i-o}return e}})();function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function r(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function o(e,t){return parseInt(r(e,t))}let l=0,a=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=r(t,"overflow"),l=o(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(i(n,"right",`${s()}px`),t.style.paddingRight=`${l+s()}px`,a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){i(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=s()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>i});var s=n(50959);class i extends s.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s});const s=n(50959).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>_,Menu:()=>v});var s=n(50959),i=n(97754),r=n.n(i),o=n(50151),l=n(37160),a=n(21861),u=n(60508),c=n(59064),d=n(67961),h=n(4741),p=n(83021),m=n(64706),f=n(40191);const _=f;class v extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,
|
||||
this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleCustomRemeasureDelegate=()=>{this._resizeForced(),this._handleMeasure()},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,i,r,a,u,c,d,h,p,m,f;if(this.state.isMeasureValid&&!t)return;const{position:_}=this.props,v=(0,o.ensureNotNull)(this._containerRef);let g=v.getBoundingClientRect();const y=document.documentElement.clientHeight,x=document.documentElement.clientWidth,C=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let b=y-0-C;const w=g.height>b;if(w){(0,o.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",g=v.getBoundingClientRect()}const{width:M,height:S}=g,W="function"==typeof _?_(M,S,x,y):_,R=null!==(i=null===(s=null==W?void 0:W.indentFromWindow)||void 0===s?void 0:s.left)&&void 0!==i?i:0,E=x-(null!==(r=W.overrideWidth)&&void 0!==r?r:M)-(null!==(u=null===(a=null==W?void 0:W.indentFromWindow)||void 0===a?void 0:a.right)&&void 0!==u?u:0),O=(0,l.clamp)(W.x,R,Math.max(R,E)),N=(null!==(d=null===(c=null==W?void 0:W.indentFromWindow)||void 0===c?void 0:c.top)&&void 0!==d?d:0)+C,D=y-(null!==(h=W.overrideHeight)&&void 0!==h?h:S)-(null!==(m=null===(p=null==W?void 0:W.indentFromWindow)||void 0===p?void 0:p.bottom)&&void 0!==m?m:0);let T=(0,l.clamp)(W.y,N,Math.max(N,D));if(W.forbidCorrectYCoord&&T<W.y&&(b-=W.y-T,T=W.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&W.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const P=null!==(f=W.overrideHeight)&&void 0!==f?f:w?b:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:P,appearingMenuWidth:t?this.state.appearingMenuWidth:W.overrideWidth,appearingPosition:{x:O,y:T},isMeasureValid:!0},(()=>{this._restoreScrollPosition(),e&&e()}))},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,o.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop},
|
||||
this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout((()=>{this._handleMeasure({forceRecalcPosition:!0})}),80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame((()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null}))))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.subscribe(this,this._handleGlobalClose),null==t||t.subscribe(null,this._handleCustomRemeasureDelegate),window.addEventListener("resize",this._resize);const n=null!==this.context;this._hotkeys||n||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleGlobalClose()}})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.unsubscribe(this,this._handleGlobalClose),null==t||t.unsubscribe(null,this._handleCustomRemeasureDelegate),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,children:h,minWidth:_,theme:v=f,className:y,maxHeight:x,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S}=this.props,{appearingMenuHeight:W,appearingMenuWidth:R,appearingPosition:E,isMeasureValid:O}=this.state,N={"--ui-kit-menu-max-width":`${E&&E.x}px`,maxWidth:"calc(100vw - var(--ui-kit-menu-max-width) - 6px)"};return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(u.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,className:r()(y,v.menuWrap,!O&&v.isMeasuring),style:{height:W,left:E&&E.x,minWidth:_,position:"fixed",top:E&&E.y,width:R,...this.props.limitMaxWidth&&N},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S},s.createElement("div",{className:r()(v.scrollWrap,!this.props.noMomentumBasedScroll&&v.momentumBased),style:{overflowY:void 0!==W?"scroll":"auto",maxHeight:x},onScrollCapture:this._handleScroll,
|
||||
ref:this._handleScrollWrapRef},s.createElement(g,{className:v.menuBox},h)))),s.createElement(u.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}focus(e){var t;null===(t=this._containerRef)||void 0===t||t.focus(e)}blur(){var e;null===(e=this._containerRef)||void 0===e||e.blur()}}function g(e){const t=(0,o.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(i=n.current)||void 0===i?void 0:i.contains(s))))return;var s,i;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=p.SubmenuContext},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>r});var s=n(50959),i=n(59064);const r=s.createContext(i.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var s=n(50959),i=n(962),r=n(36174),o=n(67961),l=n(60508);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",i.createPortal(s.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=s.createContext(null)},60508:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>i,SlotContext:()=>r});var s=n(50959);class i extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=s.createContext(null)}}]);
|
||||
7
charting_library/bundles/3263.238cd2d620e004adee5a.js
Normal file
7
charting_library/bundles/3263.238cd2d620e004adee5a.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3263],{25398:n=>{n.exports={"round-button":"round-button-FujgyDpN",icon:"icon-FujgyDpN",content:"content-FujgyDpN",link:"link-FujgyDpN","color-brand":"color-brand-FujgyDpN","variant-primary":"variant-primary-FujgyDpN","disable-themes":"disable-themes-FujgyDpN",activated:"activated-FujgyDpN","variant-quiet-primary":"variant-quiet-primary-FujgyDpN","variant-secondary":"variant-secondary-FujgyDpN","variant-ghost":"variant-ghost-FujgyDpN","color-gray":"color-gray-FujgyDpN","color-red":"color-red-FujgyDpN","color-black":"color-black-FujgyDpN","color-invertedblack":"color-invertedblack-FujgyDpN","size-xsmall":"size-xsmall-FujgyDpN","icon-only":"icon-only-FujgyDpN","with-start-icon":"with-start-icon-FujgyDpN","with-end-icon":"with-end-icon-FujgyDpN",startIcon:"startIcon-FujgyDpN",endIcon:"endIcon-FujgyDpN","size-small":"size-small-FujgyDpN","size-medium":"size-medium-FujgyDpN","size-large":"size-large-FujgyDpN","size-xlarge":"size-xlarge-FujgyDpN","size-xxlarge":"size-xxlarge-FujgyDpN",animated:"animated-FujgyDpN",stretch:"stretch-FujgyDpN"}},48729:n=>{n.exports={"round-tabs":"round-tabs-J4T7wK54","align-start":"align-start-J4T7wK54","align-center":"align-center-J4T7wK54",tab:"tab-J4T7wK54","tab-primary":"tab-primary-J4T7wK54",checked:"checked-J4T7wK54","tab-ghost":"tab-ghost-J4T7wK54","size-xsmall":"size-xsmall-J4T7wK54","size-small":"size-small-J4T7wK54","size-large":"size-large-J4T7wK54"}},12228:n=>{n.exports={itemRow:"itemRow-BadjY5sX",favoriteButton:"favoriteButton-BadjY5sX",active:"active-BadjY5sX",selected:"selected-BadjY5sX",mobile:"mobile-BadjY5sX",itemInfo:"itemInfo-BadjY5sX",title:"title-BadjY5sX",details:"details-BadjY5sX",itemInfoWithPadding:"itemInfoWithPadding-BadjY5sX",favorite:"favorite-BadjY5sX",removeButton:"removeButton-BadjY5sX"}},28355:n=>{n.exports={title:"title-QPktCwTY",tabs:"tabs-QPktCwTY",empty:"empty-QPktCwTY",image:"image-QPktCwTY",spinner:"spinner-QPktCwTY",contentList:"contentList-QPktCwTY"}},64530:(n,o,e)=>{"use strict";e.d(o,{DialogContentItem:()=>m});var s=e(50959),t=e(97754),a=e.n(t),i=e(49483),l=e(36189),r=e(96040);function u(n){const{url:o,...e}=n;return o?s.createElement("a",{...e,href:o}):s.createElement("div",{...e})}var d=e(12228);function m(n){const{title:o,subtitle:e,removeBtnLabel:t,onClick:m,onClickFavorite:g,onClickRemove:b,isActive:y,isSelected:w,isFavorite:C,isMobile:h=!1,showFavorite:v=!0,...p}=n;return s.createElement(u,{...p,className:a()(d.itemRow,y&&!w&&d.active,h&&d.mobile,w&&d.selected),onClick:c.bind(null,m),"data-role":"list-item","data-active":y},v&&g&&s.createElement(l.FavoriteButton,{className:a()(d.favoriteButton,C&&d.favorite,i.CheckMobile.any()&&d.mobile),isActive:y&&!w,isFilled:C,onClick:c.bind(null,g),"data-name":"list-item-favorite-button","data-favorite":C}),s.createElement("div",{className:a()(d.itemInfo,!v&&d.itemInfoWithPadding)},s.createElement("div",{className:a()(d.title,y&&!w&&d.active,h&&d.mobile),"data-name":"list-item-title"},o),s.createElement("div",{
|
||||
className:a()(d.details,y&&!w&&d.active,h&&d.mobile)},e)),s.createElement(r.RemoveButton,{className:d.removeButton,isActive:y&&!w,onClick:c.bind(null,b),"data-name":"list-item-remove-button",title:t}))}function c(n,o){o.defaultPrevented||(o.preventDefault(),n(o))}},23263:(n,o,e)=>{"use strict";e.d(o,{ManageDrawings:()=>Y});var s=e(50959),t=e(43370),a=(e(50151),e(9745)),i=e(11542),l=e(36298),r=e(97145),u=e(59224),d=e(92249),m=e(64530),c=e(1722),g=e(63932),b=e(97754),y=e.n(b);var w=e(90186),C=e(27011),h=e(25398),v=e.n(h);function p(n){const{className:o,color:e,variant:s,size:t,stretch:a,animated:i,disableThemes:l,isInvertedColorTheme:r,...u}=n;return{...u,...(0,w.filterDataProps)(n),...(0,w.filterAriaProps)(n)}}function f(n){const{reference:o,children:e,iconOnly:t,startIcon:i,endIcon:l,...r}=n,u=function(n,o){const{className:e,color:s="brand",variant:t="primary",size:a="xlarge",stretch:i,animated:l=!1,disableThemes:r=!1,iconOnly:u=!1,isAnchor:d=!1,isActivated:m=!1,isInvertedColorTheme:c=!1,endIcon:g,startIcon:y}=o,w=function(n,o){return!!o&&"black"===n}(s,c);return b(e,n["round-button"],w?n[`color-inverted${s}`]:n[`color-${s}`],n[`variant-${t}`],n[`size-${a}`],l&&n.animated,i&&n.stretch,r&&n["disable-themes"],u&&n["icon-only"],d&&n.link,m&&n.activated,y&&n["with-start-icon"],g&&n["with-end-icon"])}(v(),n);return s.createElement("button",{...p(r),className:u,ref:o},i&&s.createElement(a.Icon,{className:y()(v().icon,v().startIcon),icon:i}),!(0,C.isIconOnly)(e,t)&&s.createElement("span",{className:v().content},e),l&&s.createElement(a.Icon,{className:y()(v().icon,v().endIcon),icon:l}))}e(21593);function k(n,o){const{align:e="start",size:s="xsmall"}=o;return b(n["round-tabs"],n[`align-${e}`],n[`size-${s}`])}function z(n,o){const{variant:e="primary",isChecked:s}=o;return b(n.tab,n[`tab-${e}`],s&&n.checked)}var S=e(48729),_=e.n(S);const N=s.forwardRef(((n,o)=>{const{tabs:e,size:t="xsmall",variant:a="primary",theme:i=_()}=n;return s.createElement("div",{className:k(i,n),ref:o},e.map((n=>{const{isChecked:o,...e}=n;return s.createElement(f,{...e,className:z(i,{...e,variant:a,isChecked:o}),size:t,variant:a})})))}));N.displayName="RoundTabsButtons";i.t(null,void 0,e(87871)),i.t(null,void 0,e(10538)),i.t(null,void 0,e(74860));var j=e(29540),D=e(28355);const I=(0,u.getLogger)("Chart.ManageDrawings"),E=new Map;function L(n){let o=E.get(n);return void 0===o&&(o=new r.WatchedValue([]),E.set(n,o)),o}const x=new l.TranslatedString("remove all line tools for {symbol}",i.t(null,void 0,e(23481))),F=n=>i.t(null,{plural:"{drawingsCount} drawings",count:n},e(88143)).format({drawingsCount:n.toString()}),T=i.t(null,void 0,e(85128)),M=i.t(null,void 0,e(18570));function B(n){const[o,e]=s.useState(null),[a,i]=s.useState(null),[l,r]=s.useState(null),[u,m]=(s.useRef(null),s.useState([]));return s.useEffect((()=>{let o;const s=()=>{o&&i(o.mainSeries().proSymbol())};return n.withModel(null,(()=>{o=n.model(),e(o),s(),o.mainSeries().symbolResolved().subscribe(null,s)})),()=>{null==o||o.mainSeries().symbolResolved().unsubscribe(null,s),e(null)}}),[n]),
|
||||
s.useEffect((()=>{if(null!==o){const n={},e=(0,t.default)(w,250,{leading:!1});return w(),o.model().dataSourceCollectionChanged().subscribe(n,e),()=>{o.model().dataSourceCollectionChanged().unsubscribe(n,e)}}}),[o]),s.useEffect((()=>{if(null!==o){const n=L(o.model().id()).spawn();return m([...n.value()]),n.subscribe((()=>m([...n.value()]))),()=>null==n?void 0:n.destroy()}}),[o]),s.useMemo((()=>({currentSymbol:a,symbolDrawingsMaps:l,removeSymbolDrawings:g,changeSymbol:b,hiddenSymbols:u})),[a,l,g,b,u]);async function g(n,e){if(o&&l){const s=l[e].get(n);if(s){const e=Array.from(s).map((n=>o.model().dataSourceForId(n))).filter(c.notNull);e.length>0&&o.removeSources(e,!1,x.format({symbol:n}));const t=L(o.model().id());t.setValue([...t.value(),n]);try{await w()}catch(n){I.logError(`Error removing line tools: ${n}`)}t.setValue(t.value().filter((o=>o!==n)))}}}function b(e){n.setSymbol(e),null!==o&&i(e)}async function y(n){const o=function(n){const o=[new Map,new Map,new Map];{const e=o[0];n.forEach((n=>{var o;if((0,d.isLineTool)(n)&&n.showInObjectTree()){const s=null!==(o=n.symbol())&&void 0!==o?o:"",t=e.get(s)||new Set;t.add(n.id()),e.set(s,t)}}))}return o}(n);return(await async function(){return[new Map,new Map,new Map]}()).forEach(((n,e)=>{const s=o[e];n.forEach(((n,o)=>{const e=s.get(o)||new Set;n.forEach((n=>e.add(n))),s.set(o,e)}))})),o}async function w(){null!==o&&r(await y(o.dataSources()))}}function Y(n){const{isMobile:o,chartWidget:t,onClose:l,onInitialized:r}=n,{currentSymbol:u,symbolDrawingsMaps:d,removeSymbolDrawings:c,changeSymbol:b,hiddenSymbols:y}=B(t),[w,C]=s.useState(0),[h,v,p]=s.useMemo((()=>{var n;if(null!==u&&null!==d){const o=[];let e=0,s=w;if(null===s)for(s=2;s>0&&!(((null===(n=d[s].get(u))||void 0===n?void 0:n.size)||0)>0);)s--;return d[s].forEach(((n,s)=>{y.includes(s)||(o.push({symbol:s,drawingsCount:n.size,onRemove:()=>function(n){c(n,p)}(s),onClick:()=>function(n){""!==n&&(b(n),null==l||l())}(s)}),e+=n.size)})),o.sort(((n,o)=>n.drawingsCount===o.drawingsCount?n.symbol.localeCompare(o.symbol):n.drawingsCount>o.drawingsCount?-1:1)),[o,e,s]}return[[],0,0]}),[u,w,d,y]);return s.useEffect((()=>{null!==d&&(null==r||r())}),[d]),s.createElement(s.Fragment,null,h.length>0&&s.createElement("div",{className:D.title},`${f=d?d[p].size:0,i.t(null,{plural:"{symbolsCount} symbols",context:"symbols_and_drawings_count",count:f},e(52908)).format({symbolsCount:f.toString()})} ${(n=>i.t(null,{plural:"with {drawingsCount} drawings",context:"symbols_and_drawings_count",count:n},e(42743)).format({drawingsCount:n.toString()}))(v)}`),0===h.length?null===d?s.createElement(g.Spinner,{className:D.spinner}):s.createElement("div",{className:D.empty},s.createElement(a.Icon,{className:D.image,icon:j}),s.createElement("span",null,M)):h.map((({symbol:n,drawingsCount:e,onRemove:t,onClick:a})=>s.createElement(m.DialogContentItem,{key:n,title:n,subtitle:F(e),removeBtnLabel:T,isActive:n===u,isMobile:o,onClick:a,onClickRemove:t,showFavorite:!1}))));var f}},29540:n=>{
|
||||
n.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72" width="72" height="72"><path fill="currentColor" d="M15 24a21 21 0 1 1 42 0v7.41l8.97 5.01 1.08.6-.82.94-7.77 8.82 2.34 2.53-1.47 1.36L57 48.15V69H46v-7h-6v5h-9V56h-6v13H15V48.15l-2.33 2.52-1.47-1.36 2.35-2.53-7.78-8.82-.82-.93 1.08-.6L15 31.4V24Zm0 9.7-6.9 3.87L15 45.4V33.7Zm42 11.7 6.91-7.83-6.9-3.87v11.7ZM36 5a19 19 0 0 0-19 19v43h6V54h10v11h5v-5h10v7h7V24A19 19 0 0 0 36 5Zm-5 19.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM42.5 26a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>'},74860:n=>{n.exports={ar:["رسومات محلية"],ca_ES:["Dibuixos locals"],cs:"Local drawings",de:["Lokale Zeichnungen"],el:"Local drawings",en:"Local drawings",es:["Dibujos locales"],fa:"Local drawings",fr:["Dessins locaux"],he_IL:["שרטוטים מקומיים"],hu_HU:"Local drawings",id_ID:["Gambar lokal"],it:["Disegni in loco"],ja:["ローカルの描画"],ko:["로컬 드로잉"],ms_MY:["Lukisan tempatan"],nl_NL:"Local drawings",pl:["Rysunki lokalne"],pt:["Desenhos locais"],ro:"Local drawings",ru:["На выбранном графике"],sv:["Lokala ritningar"],th:["ภาพวาดท้องถิ่น"],tr:["Lokal çizimler"],vi:["Bản vẽ cục bộ"],zh:["本地绘图"],zh_TW:["當地繪圖"]}},18570:n=>{n.exports={ar:["لا يوجد رسوم حتى الآن"],ca_ES:["Encara no hi ha dibuixos"],cs:["Zatím Žádné Nákresy"],de:["Noch keine Zeichnungen"],el:["Δεν υπάρχουν ακομα σχέδια"],en:"No drawings yet",es:["No hay dibujos todavía"],fa:["شکلی رسم نشده است"],fr:["Pas de Dessins pour le moment"],he_IL:["אין שרטוט עדיין"],hu_HU:["Nincs még rajz"],id_ID:["Belum ada gambar saat ini"],it:["Nessun disegno disponibile"],ja:["未描画"],ko:["그림없음"],ms_MY:["Masih belum ada lukisan"],nl_NL:["Nog geen tekeningen"],pl:["Brak rysunków"],pt:["Ainda sem desenhos"],ro:"No drawings yet",ru:["Нет инструментов рисования"],sv:["Inga ritningar än"],th:["ยังไม่มีรูปวาด"],tr:["Henüz çizim yok"],vi:["Chưa có bản vẽ nào"],zh:["尚未绘图"],zh_TW:["尚無任何繪圖"]}},87871:n=>{n.exports={ar:["متزامن كليًا"],ca_ES:["Sincronitzat globalment"],cs:"Synced globally",de:["Global synchronisiert"],el:"Synced globally",en:"Synced globally",es:["Sincronizado globalmente"],fa:"Synced globally",fr:["Synchronisé globalement"],he_IL:["מסונכרן ברחבי העולם"],hu_HU:"Synced globally",id_ID:["Disinkronisasi secara global"],it:["Sincronizzazione globale"],ja:["グローバルに同期"],ko:["전체 싱크"],ms_MY:["Disegerakkan secara sejagat"],nl_NL:"Synced globally",pl:["Zsynchronizowane globalnie"],pt:["Sincronizado em tudo"],ro:"Synced globally",ru:["Синхр. везде"],sv:["Synkad globalt"],th:["ซิงค์ทั่วโลก"],tr:["Küresel senkronize"],vi:["Đã đồng bộ hóa trên toàn cầu"],zh:["全局同步"],zh_TW:["全球同步"]}},10538:n=>{n.exports={ar:["تمت المزامنة في التنسيق"],ca_ES:["Sincronitzat a la plantilla"],cs:"Synced in layout",de:["Im Layout synchronisiert"],el:"Synced in layout",en:"Synced in layout",es:["Sincronizado en la plantilla"],fa:"Synced in layout",fr:["Synchronisé dans la mise en page"],he_IL:["מסונכרן בפריסה"],hu_HU:"Synced in layout",id_ID:["Disinkronisasi dalam layout"],it:["Sincronizzazione su layout"],ja:["レイアウト内で同期"],ko:["레이아웃 싱크"],ms_MY:["Disegerakkan di dalam susun atur"],
|
||||
nl_NL:"Synced in layout",pl:["Zsynchronizowane w układzie"],pt:["Sincronizado no layout"],ro:"Synced in layout",ru:["Синхр. на всех графиках"],sv:["Synkad i layout"],th:["ซิงค์ในเลย์เอาต์"],tr:["Düzende senkronize"],vi:["Đã đồng bộ hóa trong bố cục"],zh:["在布局内同步"],zh_TW:["版面同步"]}},85128:n=>{n.exports={ar:["إزالة كافة الرسومات لهذا الرمز"],ca_ES:["Elimina tots els dibuixos per a aquest símbol"],cs:"Remove all drawings for this symbol",de:["Alle Zeichnungen für dieses Symbol entfernen"],el:"Remove all drawings for this symbol",en:"Remove all drawings for this symbol",es:["Eliminar todos los dibujos para este símbolo"],fa:"Remove all drawings for this symbol",fr:["Supprimer tous les dessins pour ce symbole"],he_IL:["הסר את כל השרטוטים לסימול זה"],hu_HU:"Remove all drawings for this symbol",id_ID:["Hilangkan seluruh gambar pada simbol ini"],it:["Rimuove tutti i disegni su questo simbolo"],ja:["このシンボルのすべての描画を削除"],ko:["이 심볼에 대한 모든 드로잉 없애기"],ms_MY:["Buang semua lukisan untuk simbol ini"],nl_NL:"Remove all drawings for this symbol",pl:["Usuń wszystkie obiekty rysowania dla tego symbolu"],pt:["Remover todos os desenhos deste símbolo"],ro:"Remove all drawings for this symbol",ru:["Удалить все объекты рисования для этого символа"],sv:["Ta bort alla ritningar för denna symbol"],th:["ลบการวาดทั้งหมดของตัวย่อนี้"],tr:["Bu sembol için tüm çizimleri kaldır"],vi:["Loại bỏ tất cả nét vẽ cho mã này"],zh:["移除该商品代码的所有绘图"],zh_TW:["刪除此商品代碼的所有繪圖"]}},23481:n=>{n.exports={ar:["حذف كافة خطوط الأدوات لـ {symbol}"],ca_ES:["elimina totes les eines de línies per a {symbol}"],cs:"remove all line tools for {symbol}",de:["alle Linienwerkzeuge für {symbol} entfernen"],el:"remove all line tools for {symbol}",en:"remove all line tools for {symbol}",es:["eliminar todas las herramientas de líneas para {symbol}"],fa:"remove all line tools for {symbol}",fr:["supprimer tous les outils de ligne pour {symbol}."],he_IL:["הסרת כל קבוצת כלי קו {symbol}"],hu_HU:"remove all line tools for {symbol}",id_ID:["Hilangkan semua peralatan garis untuk {symbol}"],it:["rimuovi tutte le linee da {symbol}"],ja:["{symbol}のすべてのラインツールの削除"],ko:["{symbol}의 모든 줄 도구 제거"],ms_MY:["buang semua alat garisan untuk {symbol}"],nl_NL:"remove all line tools for {symbol}",pl:["usuń wszystkie narzędzia linii dla {symbol}"],pt:["remover todas as ferramentas de linhas para {symbol}"],ro:"remove all line tools for {symbol}",ru:["удаление всех объектов рисования для {symbol}"],sv:["Ta bort alla linjeverktyg för {symbol}"],th:["ลบเครื่องมือเส้นทั้งหมดสำหรับ {symbol}"],tr:["{symbol} için tüm çizgi araçlarını kaldır"],vi:["loại bỏ tất cả đường công cụ cho {symbol}"],zh:["移除{symbol}的所有线条工具"],zh_TW:["移除{symbol}的所有線條工具"]}},42743:n=>{n.exports={ar:["مع {drawingsCount} رسم","مع {drawingsCount} رسم","مع {drawingsCount} رسم","مع {drawingsCount} رسوم","مع {drawingsCount} رسماً","مع {drawingsCount} رسماً"],ca_ES:["amb {drawingsCount} dibuix","amb {drawingsCount} dibuixos"],cs:"with {drawingsCount} drawing",de:["mit {drawingsCount} Zeichnung","mit {drawingsCount} Zeichnungen"],
|
||||
el:"with {drawingsCount} drawing",en:"with {drawingsCount} drawing",es:["con {drawingsCount} dibujo","con {drawingsCount} dibujos"],fa:["with {drawingsCount} drawings"],fr:["avec {drawingsCount} dessin","avec {drawingsCount} dessins"],he_IL:["עם שרטוט {drawingsCount}","עם {drawingsCount} שרטוטים","עם {drawingsCount} שרטוטים","עם {drawingsCount} שרטוטים"],hu_HU:["with {drawingsCount} drawings"],id_ID:["dengan {drawingsCount} gambar"],it:["con {drawingsCount} disegno","con {drawingsCount} disegni"],ja:["に{drawingsCount}個の描画"],ko:["{drawingsCount} 드로잉이 있는"],ms_MY:["dengan {drawingsCount} lukisan"],nl_NL:"with {drawingsCount} drawing",pl:["z {drawingsCount} rysunkiem","z {drawingsCount} rysunkami","z {drawingsCount} rysunkami","z {drawingsCount} rysunkami"],pt:["com {drawingsCount} desenho","com {drawingsCount} desenhos"],ro:"with {drawingsCount} drawing",ru:["с {drawingsCount} объектом рисования","с {drawingsCount} объектами рисования","с {drawingsCount} объектами рисования","с {drawingsCount} объектами рисования"],sv:["med {drawingsCount} ritverktyg","med {drawingsCount} ritverktyg"],th:["กับ {drawingsCount} การวาด"],tr:["{drawingsCount} çizim ile","{drawingsCount} çizim ile"],vi:["với {drawingsCount} nét vẽ"],zh:["含{drawingsCount}个绘图"],zh_TW:["含{drawingsCount}個繪圖"]}},88143:n=>{n.exports={ar:["{drawingsCount} رسم","{drawingsCount} رسم","{drawingsCount} رسم","{drawingsCount} رسوم","{drawingsCount} رسماً","{drawingsCount} رسماً"],ca_ES:["{drawingsCount} dibuix","{drawingsCount} dibuixos"],cs:"{drawingsCount} drawing",de:["{drawingsCount} Zeichnung","{drawingsCount} Zeichnungen"],el:"{drawingsCount} drawing",en:"{drawingsCount} drawing",es:["{drawingsCount} dibujo","{drawingsCount} dibujos"],fa:["{drawingsCount} drawings"],fr:["{drawingsCount} dessin","{drawingsCount} dessins"],he_IL:["שרטוט {drawingsCount}","{drawingsCount} שרטוטים","{drawingsCount} שרטוטים","{drawingsCount} שרטוטים"],hu_HU:["{drawingsCount} drawings"],id_ID:["{drawingsCount} gambar"],it:["{drawingsCount} disegno","{drawingsCount} disegni"],ja:["{drawingsCount}個の描画"],ko:["{drawingsCount} 드로잉"],ms_MY:["{drawingsCount} lukisan"],nl_NL:"{drawingsCount} drawing",pl:["{drawingsCount} rysunek","{drawingsCount} rysunki","{drawingsCount} rysunków","{drawingsCount} rysunków"],pt:["{drawingsCount} desenho","{drawingsCount} desenhos"],ro:"{drawingsCount} drawing",ru:["{drawingsCount} объект рисования","{drawingsCount} объекта рисования","{drawingsCount} объектов рисования","{drawingsCount} объектов рисования"],sv:["{drawingsCount} ritverktyg","{drawingsCount} ritverktyg"],th:["{drawingsCount} การวาด"],tr:["{drawingsCount} çizimi","{drawingsCount} çizimi"],vi:["{drawingsCount} nét vẽ"],zh:["{drawingsCount}个绘图"],zh_TW:["{drawingsCount}個繪圖"]}},52908:n=>{n.exports={ar:["{symbolsCount} رمز","{symbolsCount} رمز","{symbolsCount} رمز","{symbolsCount} رموز","{symbolsCount} رمزاً","{symbolsCount} رمزاً"],ca_ES:["{symbolsCount} símbol","{symbolsCount} símbols"],cs:"{symbolsCount} symbol",
|
||||
de:["{symbolsCount} Symbol","{symbolsCount} Symbole"],el:"{symbolsCount} symbol",en:"{symbolsCount} symbol",es:["{symbolsCount} símbolo","{symbolsCount} símbolos"],fa:["{symbolsCount} symbols"],fr:["{symbolsCount} symbole","{symbolsCount} symboles"],he_IL:["סימול {symbolsCount}","{symbolsCount} סימולים","{symbolsCount} סימולים","{symbolsCount} סימולים"],hu_HU:["{symbolsCount} symbols"],id_ID:["{symbolsCount} simbol"],it:["{symbolsCount} simbolo","{symbolsCount} simboli"],ja:["{symbolsCount}シンボル"],ko:["{symbolsCount} 심볼"],ms_MY:["Simbol {symbolsCount}"],nl_NL:"{symbolsCount} symbol",pl:"{symbolsCount} symbol",pt:["{symbolsCount} símbolo","{symbolsCount} símbolos"],ro:"{symbolsCount} symbol",ru:["{symbolsCount} символ","{symbolsCount} символа","{symbolsCount} символов","{symbolsCount} символов"],sv:"{symbolsCount} symbol",th:["{symbolsCount} สัญลักษณ์"],tr:["{symbolsCount} sembol","{symbolsCount} sembol"],vi:["{symbolsCount} mã giao dịch"],zh:["{symbolsCount}个商品"],zh_TW:["{symbolsCount}個商品"]}}}]);
|
||||
@@ -1,6 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3291],{59142:function(e,t){var n,r,o;r=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],i=!1,u=-1,c=void 0,l=void 0,s=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},f=function(e){var t=e||window.event;return!!s(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},d=function(){setTimeout((function(){void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};e.disableBodyScroll=function(e,r){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!a.some((function(t){return t.targetElement===e}))){var d={targetElement:e,options:r||{}};a=[].concat(t(a),[d]),e.ontouchstart=function(e){1===e.targetTouches.length&&(u=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,r,o,a;1===t.targetTouches.length&&(r=e,a=(n=t).targetTouches[0].clientY-u,!s(n.target)&&(r&&0===r.scrollTop&&0<a||(o=r)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&a<0?f(n):n.stopPropagation()))},i||(document.addEventListener("touchmove",f,n?{passive:!1}:void 0),i=!0)}}else{m=r,setTimeout((function(){if(void 0===l){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(l=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var p={targetElement:e,options:r||{}};a=[].concat(t(a),[p])}var m},e.clearAllBodyScrollLocks=function(){o?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),i&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1),a=[],u=-1):(d(),a=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter((function(t){return t.targetElement!==e})),i&&0===a.length&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1)}else 1===a.length&&a[0].targetElement===e?(d(),a=[]):a=a.filter((function(t){return t.targetElement!==e}))}},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",
|
||||
white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},92910:e=>{e.exports={separator:"separator-QjUlCDId",small:"small-QjUlCDId",normal:"normal-QjUlCDId",large:"large-QjUlCDId"}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>l});var r,o=n(50959),a=n(97754),i=n(74991),u=n(25650),c=n.n(u);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class l extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=a(c().item,c()[t],c()[n]);return o.createElement("span",{className:a(c().loader,r&&c().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return c()["loader-initial"];case r.Appear:return c()["loader-appear"];default:return""}}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},51613:(e,t,n)=>{"use strict";n.d(t,{PopupMenuSeparator:()=>u});var r=n(50959),o=n(97754),a=n.n(o),i=n(92910);function u(e){const{size:t="normal",className:n,ariaHidden:o=!1}=e;return r.createElement("div",{className:a()(i.separator,"small"===t&&i.small,"normal"===t&&i.normal,"large"===t&&i.large,n),role:"separator","aria-hidden":o})}},40173:(e,t,n)=>{"use strict";function r(e,t,n={}){return Object.assign({},e,function(e,t,n={}){const r=Object.assign({},t);for(const o of Object.keys(t)){const a=n[o]||o;a in e&&(r[o]=[e[a],t[o]].join(" "))}return r}(e,t,n))}n.d(t,{mergeThemes:()=>r})},6132:(e,t,n)=>{"use strict";var r=n(22134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},19036:(e,t,n)=>{e.exports=n(6132)()},22134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(e,t)=>{"use strict"
|
||||
;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function h(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function E(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}h.prototype.isReactComponent={},h.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")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=h.prototype;var g=b.prototype=new E;g.constructor=b,v(g,h.prototype),g.isPureReactComponent=!0;var _=Array.isArray,T=Object.prototype.hasOwnProperty,w={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,u=null;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)T.call(t,o)&&!S.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){for(var l=Array(c),s=0;s<c;s++)l[s]=arguments[s+2];a.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:n,type:e,key:i,ref:u,props:a,_owner:w.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,a,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c=!1;if(null===e)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return i=i(c=e),e=""===a?"."+I(c,0):a,_(i)?(o="",null!=e&&(o=e.replace(A,"$&/")+"/"),R(i,t,o,"",(function(e){return e}))):null!=i&&(L(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(A,"$&/")+"/")+e)),t.push(i)),1;if(c=0,a=""===a?".":a+":",_(e))for(var l=0;l<e.length;l++){var s=a+I(u=e[l],l);c+=R(u,t,o,s,i)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(u=e.next()).done;)c+=R(u=u.value,t,o,s=a+I(u,l++),i);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")
|
||||
;return c}function B(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var k={current:null},P={transition:null},M={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:P,ReactCurrentOwner:w};t.Children={map:B,forEach:function(e,t,n){B(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!L(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=h,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),a=e.key,i=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)T.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:u}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=L,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return k.current.useCallback(e,t)},t.useContext=function(e){return k.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return k.current.useDeferredValue(e)},t.useEffect=function(e,t){return k.current.useEffect(e,t)},t.useId=function(){return k.current.useId()},t.useImperativeHandle=function(e,t,n){return k.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return k.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return k.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return k.current.useMemo(e,t)},t.useReducer=function(e,t,n){return k.current.useReducer(e,t,n)},t.useRef=function(e){
|
||||
return k.current.useRef(e)},t.useState=function(e){return k.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return k.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return k.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},44242:e=>{e.exports={title:"title-u3QJgF_p"}},81261:(e,t,n)=>{"use strict";n.d(t,{focusFirstMenuItem:()=>l,handleAccessibleMenuFocus:()=>u,handleAccessibleMenuKeyDown:()=>c,queryMenuElements:()=>d});var r=n(16838),o=n(71468),a=n(68335);const i=[37,39,38,40];function u(e,t){e.target&&r.PLATFORM_ACCESSIBILITY_ENABLED&&e.relatedTarget===t.current&&l(e.target)}function c(e){if(!r.PLATFORM_ACCESSIBILITY_ENABLED)return;if(e.defaultPrevented)return;const t=(0,a.hashFromEvent)(e);if(!i.includes(t))return;const n=document.activeElement;if(!(document.activeElement instanceof HTMLElement))return;const u=d(e.currentTarget).sort(r.navigationOrderComparator);if(0===u.length)return;const c=document.activeElement.closest('[data-role="menuitem"]');if(!(c instanceof HTMLElement))return;const l=u.indexOf(c);if(-1===l)return;const m=p(c),v=m.indexOf(document.activeElement),y=-1!==v,h=e=>{n&&(0,o.becomeSecondaryElement)(n),(0,o.becomeMainElement)(e),e.focus()};switch(t){case 37:if(!m.length)return;e.preventDefault(),h(0===v?u[l]:y?s(m,v,-1):m[m.length-1]);break;case 39:if(!m.length)return;e.preventDefault(),v===m.length-1?h(u[l]):h(y?s(m,v,1):m[0]);break;case 38:{e.preventDefault();const t=s(u,l,-1);if(y){const e=f(t,v);h(e||t);break}h(t);break}case 40:{e.preventDefault();const t=s(u,l,1);if(y){const e=f(t,v);h(e||t);break}h(t)}}}function l(e){const[t]=d(e);t&&((0,o.becomeMainElement)(t),t.focus())}function s(e,t,n){return e[(t+e.length+n)%e.length]}function f(e,t){const n=p(e);return n.length?n[(t+n.length)%n.length]:null}function d(e){return Array.from(e.querySelectorAll('[data-role="menuitem"]:not([disabled], [aria-disabled])')).filter((0,r.createScopedVisibleElementFilter)(e))}function p(e){return Array.from(e.querySelectorAll("[tabindex]:not([disabled], [aria-disabled])")).filter((0,r.createScopedVisibleElementFilter)(e))}},36898:(e,t,n)=>{"use strict";n.d(t,{useMouseClickAutoBlur:()=>i});var r=n(50959),o=n(76460),a=n(16838);function i(e,t=!0){(0,r.useEffect)((()=>{if(!a.PLATFORM_ACCESSIBILITY_ENABLED||!t)return;const n=t=>{const n=e.current;null!==n&&document.activeElement instanceof HTMLElement&&((0,o.isKeyboardClick)(t)||n.contains(document.activeElement)&&"INPUT"!==document.activeElement.tagName&&document.activeElement.blur())};return window.addEventListener("click",n,!0),()=>window.removeEventListener("click",n,!0)}),[t])}},82962:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetMenuSummary:()=>i});var r=n(50959),o=n(97754),a=n(44242);function i(e){return r.createElement("div",{className:o(e.className,a.title)},e.children)}},88066:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_TOOLBAR_BUTTON_THEME:()=>u,ToolbarButton:()=>c});var r=n(50959),o=n(31409),a=n(50238),i=n(16838);const u=o.DEFAULT_TOOL_WIDGET_BUTTON_THEME,c=(0,r.forwardRef)((function(e,t){
|
||||
const{tooltip:n,...u}=e,[c,l]=(0,a.useRovingTabindexElement)(t);return r.createElement(o.ToolWidgetButton,{"aria-label":i.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:i.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:l,"data-tooltip":n})}))},48889:(e,t,n)=>{"use strict";n.d(t,{ToolbarIconButton:()=>u});var r=n(50959),o=n(50238),a=n(16838),i=n(50813);const u=(0,r.forwardRef)((function(e,t){const{tooltip:n,...u}=e,[c,l]=(0,o.useRovingTabindexElement)(t);return r.createElement(i.ToolWidgetIconButton,{"aria-label":a.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:a.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:l,"data-tooltip":n})}))},50298:(e,t,n)=>{"use strict";n.d(t,{ToolbarMenuButton:()=>s});var r=n(50959),o=n(39416),a=n(8087),i=n(50238),u=n(16838),c=n(36898),l=n(81261);const s=(0,r.forwardRef)((function(e,t){const{tooltip:n,menuReference:s=null,...f}=e,[d,p]=(0,i.useRovingTabindexElement)(null),m=(0,o.useFunctionalRefObject)(s);return(0,c.useMouseClickAutoBlur)(m),r.createElement(a.ToolWidgetMenu,{"aria-label":u.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...f,ref:t,tag:u.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",reference:d,tabIndex:p,"data-tooltip":n,menuReference:m,onMenuKeyDown:l.handleAccessibleMenuKeyDown,onMenuFocus:e=>(0,l.handleAccessibleMenuFocus)(e,d)})}))},5962:(e,t,n)=>{"use strict";n.d(t,{RegistryProvider:()=>c,registryContextType:()=>l,validateRegistry:()=>u});var r=n(50959),o=n(19036),a=n.n(o);const i=r.createContext({});function u(e,t){a().checkPropTypes(t,e,"context","RegistryContext")}function c(e){const{validation:t,value:n}=e;return u(n,t),r.createElement(i.Provider,{value:n},e.children)}function l(){return i}}}]);
|
||||
1
charting_library/bundles/3353.860146c59230ab4bd938.css
Normal file
1
charting_library/bundles/3353.860146c59230ab4bd938.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}
|
||||
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#868993}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#868993}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#868993}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}
|
||||
@@ -1 +1 @@
|
||||
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}
|
||||
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#868993}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#868993}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#868993}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}
|
||||
@@ -1 +1 @@
|
||||
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-right:0}.actionButton-k53vexPa:last-child{margin-left:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 0 20px 20px}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-left:-22px}.marginWithoutCloseButton-B02UUUN3{margin-right:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-right:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}
|
||||
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-right:0}.actionButton-k53vexPa:last-child{margin-left:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 0 20px 20px}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3 a,html.theme-dark .content-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-left:-22px}.marginWithoutCloseButton-B02UUUN3{margin-right:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-right:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}
|
||||
@@ -1 +1 @@
|
||||
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-left:0}.actionButton-k53vexPa:last-child{margin-right:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 20px 20px 0}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-right:-22px}.marginWithoutCloseButton-B02UUUN3{margin-left:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-left:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}
|
||||
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-left:0}.actionButton-k53vexPa:last-child{margin-right:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 20px 20px 0}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3 a,html.theme-dark .content-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-right:-22px}.marginWithoutCloseButton-B02UUUN3{margin-left:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-left:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}
|
||||
1
charting_library/bundles/3780.a289557f2e0bcabcc4ca.css
Normal file
1
charting_library/bundles/3780.a289557f2e0bcabcc4ca.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#fff);border-radius:3px;box-shadow:0 2px 4px #0003;box-sizing:border-box;text-align:left;-webkit-user-select:none;user-select:none;z-index:100}html.theme-dark .menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.menuWrap-Kq3ruQo8.isMeasuring-Kq3ruQo8{opacity:0;pointer-events:none;position:fixed;visibility:hidden}.menuWrap-Kq3ruQo8:focus{outline:none}.scrollWrap-Kq3ruQo8{height:100%;overflow-x:hidden;overflow-y:auto}.scrollWrap-Kq3ruQo8.momentumBased-Kq3ruQo8{-webkit-overflow-scrolling:touch}.scrollWrap-Kq3ruQo8::-webkit-scrollbar{height:5px;width:5px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-corner{display:none}.menuBox-Kq3ruQo8{padding:6px 0}.isHidden-Kq3ruQo8{display:none}
|
||||
.menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#fff);border-radius:6px;box-shadow:0 2px 4px #0003;box-sizing:border-box;text-align:left;-webkit-user-select:none;user-select:none;z-index:100}html.theme-dark .menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.menuWrap-Kq3ruQo8.isMeasuring-Kq3ruQo8{opacity:0;pointer-events:none;position:fixed;visibility:hidden}.menuWrap-Kq3ruQo8:focus{outline:none}.scrollWrap-Kq3ruQo8{height:100%;overflow-x:hidden;overflow-y:auto}.scrollWrap-Kq3ruQo8.momentumBased-Kq3ruQo8{-webkit-overflow-scrolling:touch}.scrollWrap-Kq3ruQo8::-webkit-scrollbar{height:5px;width:5px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-corner{display:none}.menuBox-Kq3ruQo8{padding:6px 0}.isHidden-Kq3ruQo8{display:none}
|
||||
@@ -1 +1 @@
|
||||
.menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#fff);border-radius:3px;box-shadow:0 2px 4px #0003;box-sizing:border-box;text-align:right;-webkit-user-select:none;user-select:none;z-index:100}html.theme-dark .menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.menuWrap-Kq3ruQo8.isMeasuring-Kq3ruQo8{opacity:0;pointer-events:none;position:fixed;visibility:hidden}.menuWrap-Kq3ruQo8:focus{outline:none}.scrollWrap-Kq3ruQo8{height:100%;overflow-x:hidden;overflow-y:auto}.scrollWrap-Kq3ruQo8.momentumBased-Kq3ruQo8{-webkit-overflow-scrolling:touch}.scrollWrap-Kq3ruQo8::-webkit-scrollbar{height:5px;width:5px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-corner{display:none}.menuBox-Kq3ruQo8{padding:6px 0}.isHidden-Kq3ruQo8{display:none}
|
||||
.menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#fff);border-radius:6px;box-shadow:0 2px 4px #0003;box-sizing:border-box;text-align:right;-webkit-user-select:none;user-select:none;z-index:100}html.theme-dark .menuWrap-Kq3ruQo8{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.menuWrap-Kq3ruQo8.isMeasuring-Kq3ruQo8{opacity:0;pointer-events:none;position:fixed;visibility:hidden}.menuWrap-Kq3ruQo8:focus{outline:none}.scrollWrap-Kq3ruQo8{height:100%;overflow-x:hidden;overflow-y:auto}.scrollWrap-Kq3ruQo8.momentumBased-Kq3ruQo8{-webkit-overflow-scrolling:touch}.scrollWrap-Kq3ruQo8::-webkit-scrollbar{height:5px;width:5px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollWrap-Kq3ruQo8::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollWrap-Kq3ruQo8::-webkit-scrollbar-corner{display:none}.menuBox-Kq3ruQo8{padding:6px 0}.isHidden-Kq3ruQo8{display:none}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
charting_library/bundles/3896.96db838d3467bcf68051.css
Normal file
1
charting_library/bundles/3896.96db838d3467bcf68051.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,10 +0,0 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3986],{32766:(e,i,t)=>{t.d(i,{getSeriesStylePropertiesDefinitions:()=>Pe});var n=t(44352),o=t(36298),r=t(46141),l=(t(62615),t(97145)),s=t(14483),a=t(49152),c=t(20345),d=t(94474);const u=new o.TranslatedString("change color bars based on previous close",n.t(null,void 0,t(29353))),h=new o.TranslatedString("change HLC bars",n.t(null,void 0,t(55740))),p=new o.TranslatedString("change bar up color",n.t(null,void 0,t(76804))),y=new o.TranslatedString("change bar down color",n.t(null,void 0,t(71816))),g=new o.TranslatedString("change thin bars",n.t(null,void 0,t(72886))),v=new o.TranslatedString("change line price source",n.t(null,void 0,t(17119))),f=new o.TranslatedString("change line color",n.t(null,void 0,t(87828))),S=new o.TranslatedString("change line width",n.t(null,void 0,t(69125))),w=new o.TranslatedString("change area price source",n.t(null,void 0,t(1316))),b=new o.TranslatedString("change area line color",n.t(null,void 0,t(661))),P=new o.TranslatedString("change area line width",n.t(null,void 0,t(6610))),T=new o.TranslatedString("change area fill color",n.t(null,void 0,t(97008))),m=new o.TranslatedString("change baseline price source",n.t(null,void 0,t(56819))),D=new o.TranslatedString("change baseline top line color",n.t(null,void 0,t(68621))),_=new o.TranslatedString("change baseline top line width",n.t(null,void 0,t(35339))),C=new o.TranslatedString("change baseline bottom line color",n.t(null,void 0,t(4164))),k=new o.TranslatedString("change baseline bottom line width",n.t(null,void 0,t(38990))),L=new o.TranslatedString("change baseline fill top area color",n.t(null,void 0,t(12673))),M=new o.TranslatedString("change baseline fill bottom area color",n.t(null,void 0,t(73163))),$=new o.TranslatedString("change base level",n.t(null,void 0,t(31547))),W=new o.TranslatedString("change high-low body visibility",n.t(null,void 0,t(30033))),V=new o.TranslatedString("change high-low body color",n.t(null,void 0,t(81080))),I=new o.TranslatedString("change high-low borders visibility",n.t(null,void 0,t(79236))),O=new o.TranslatedString("change high-low border color",n.t(null,void 0,t(76885))),B=new o.TranslatedString("change high-low labels visibility",n.t(null,void 0,t(42981))),A=new o.TranslatedString("change high-low labels color",n.t(null,void 0,t(31937))),x=(new o.TranslatedString("change renko wick visibility",n.t(null,void 0,t(9473))),new o.TranslatedString("change renko wick up color",n.t(null,void 0,t(7747))),new o.TranslatedString("change renko wick down color",n.t(null,void 0,t(75986))),new o.TranslatedString("change the display of real prices on price scale (instead of Heiken-Ashi price)",n.t(null,void 0,t(39783))),new o.TranslatedString("change range thin bars",n.t(null,void 0,t(28143))),new o.TranslatedString("change range bars style",n.t(null,void 0,t(35116))),
|
||||
new o.TranslatedString("change {candleType} body visibility",n.t(null,void 0,t(47202)))),F=new o.TranslatedString("change {candleType} up color",n.t(null,void 0,t(61118))),N=new o.TranslatedString("change {candleType} down color",n.t(null,void 0,t(36320))),E=new o.TranslatedString("change {candleType} border visibility",n.t(null,void 0,t(23986))),H=new o.TranslatedString("change {candleType} up border color",n.t(null,void 0,t(5464))),R=new o.TranslatedString("change {candleType} down border color",n.t(null,void 0,t(92330))),j=new o.TranslatedString("change {candleType} wick visibility",n.t(null,void 0,t(39987))),U=new o.TranslatedString("change {candleType} wick up color",n.t(null,void 0,t(45543))),G=new o.TranslatedString("change {candleType} wick down color",n.t(null,void 0,t(60164))),z=(new o.TranslatedString("change {chartType} up color",n.t(null,void 0,t(59414))),new o.TranslatedString("change {chartType} down color",n.t(null,void 0,t(85503))),new o.TranslatedString("change {chartType} projection bar up color",n.t(null,void 0,t(50453))),new o.TranslatedString("change {chartType} projection bar down color",n.t(null,void 0,t(18465))),new o.TranslatedString("change {chartType} border bar up color",n.t(null,void 0,t(11107))),new o.TranslatedString("change {chartType} border bar down color",n.t(null,void 0,t(79088))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change column up color",n.t(null,void 0,t(85709)))),J=new o.TranslatedString("change column down color",n.t(null,void 0,t(12155))),q=new o.TranslatedString("change column price source",n.t(null,void 0,t(66890))),K=n.t(null,void 0,t(63243)),Q=n.t(null,void 0,t(86953)),X=n.t(null,void 0,t(5536)),Y=n.t(null,void 0,t(87151)),Z=n.t(null,void 0,t(55314)),ee=n.t(null,void 0,t(83760)),ie=n.t(null,void 0,t(72269)),te=n.t(null,void 0,t(26458)),ne=n.t(null,void 0,t(24248)),oe=n.t(null,void 0,t(1277)),re=n.t(null,void 0,t(57417)),le=n.t(null,void 0,t(50430)),se=n.t(null,void 0,t(86846)),ae=n.t(null,void 0,t(58747)),ce=n.t(null,void 0,t(11157)),de=(n.t(null,void 0,t(83610)),n.t(null,void 0,t(39667)),n.t(null,void 0,t(80293)),n.t(null,void 0,t(94089)),n.t(null,void 0,t(5704)),n.t(null,void 0,t(29881)),n.t(null,void 0,t(7445))),ue=n.t(null,void 0,t(83760)),he=n.t(null,void 0,t(72269)),pe=n.t(null,void 0,t(94420)),ye=n.t(null,void 0,t(83678)),ge=n.t(null,void 0,t(15857)),ve=n.t(null,void 0,t(75310));n.t(null,void 0,t(32733)),n.t(null,void 0,t(16812)),n.t(null,void 0,t(63528));function fe(e,i,t,n){return(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.barColorsOnPrevClose,u)},{id:`${t}${n}`,title:K})}function Se(e,i,t,n,o,s){const c=(0,a.createWVFromGetterAndSubscription)((()=>e.model().isInReplay.bind(e.model())()&&false),e.model().onInReplayStateChanged());return(0,r.createOptionsPropertyDefinition)({disabled:(0,
|
||||
r.convertFromReadonlyWVToDefinitionProperty)(c.ownership()),option:(0,r.convertToDefinitionProperty)(e,i.priceSource,s)},{id:`${n}${o}`,title:ne,options:new l.WatchedValue(t)})}function we(e,i,t,n){const o=(0,d.removeSpaces)(t.originalText());return[(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,x.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.upColor,null,F.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.downColor,null,N.format({candleType:t}))},{id:`${n}Symbol${o}CandlesColor`,title:ee}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBorder,E.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.borderUpColor,null,H.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.borderDownColor,null,R.format({candleType:t}))},{id:`${n}Symbol${o}BordersColor`,title:ie}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawWick,j.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.wickUpColor,null,U.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.wickDownColor,null,G.format({candleType:t}))},{id:`${n}Symbol${o}WickColors`,title:te})]}function be(e,i,t,n){return[Se(e,i,t,n,"SymbolLinePriceSource",v),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.color,null,f),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,S)},{id:`${n}SymbolLineStyle`,title:oe})]}function Pe(e,i,a,d,u){switch(a){case 0:return function(e,i,t){return[fe(e,i,t,"SymbolBarStyleBarColorsOnPrevClose"),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.dontDrawOpen,h)},{id:`${t}SymbolDontDrawOpen`,title:Q}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,p)},{id:`${t}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,y)},{id:`${t}SymbolDownColor`,title:Y}),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.thinBars,g)},{id:`${t}SymbolBarThinBars`,title:Z})]}(e,i.barStyle.childs(),u);case 1:return function(e,i,r){return[fe(e,i,r,"SymbolCandleStyleBarColorsOnPrevClose"),...we(e,i,new o.TranslatedString("candle",n.t(null,void 0,t(30792))),r)]}(e,i.candleStyle.childs(),u);case 2:return be(e,i.lineStyle.childs(),d.seriesPriceSources,u);case 14:return be(e,i.lineWithMarkersStyle.childs(),d.seriesPriceSources,u);case 15:return be(e,i.steplineStyle.childs(),d.seriesPriceSources,u);case 3:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolAreaPriceSource",w),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.linecolor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,P)},{id:`${n}SymbolAreaLineStyle`,title:oe}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.color1,i.transparency,T),color2:(0,r.getColorDefinitionProperty)(e,i.color2,i.transparency,T)
|
||||
},{id:`${n}SymbolAreaFills`,title:se})]}(e,i.areaStyle.childs(),d.seriesPriceSources,u);case 16:return function(e,i,t,n){return[(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.highLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.highLineWidth,P)},{id:`${n}SymbolHLCAreaHighLineStyle`,title:ye}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.lowLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.lowLineWidth,P)},{id:`${n}SymbolHLCAreaLowLineStyle`,title:ve}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.closeLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.closeLineWidth,P)},{id:`${n}SymbolHLCAreaCloseLineStyle`,title:ge}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.highCloseFillColor,null,T),color2:(0,r.getColorDefinitionProperty)(e,i.closeLowFillColor,null,T)},{id:`${n}SymbolHLCAreaFills`,title:se})]}(e,i.hlcAreaStyle.childs(),d.seriesPriceSources,u);case 9:return we(e,i.hollowCandleStyle.childs(),new o.TranslatedString("hollow candles",n.t(null,void 0,t(75165))),u);case 10:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolBaseLinePriceSource",m),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.topLineColor,null,D),width:(0,r.convertToDefinitionProperty)(e,i.topLineWidth,_)},{id:`${n}SymbolBaseLineTopLine`,title:re}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.bottomLineColor,null,C),width:(0,r.convertToDefinitionProperty)(e,i.bottomLineWidth,k)},{id:`${n}SymbolBaseLineBottomLine`,title:le}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.topFillColor1,null,L),color2:(0,r.getColorDefinitionProperty)(e,i.topFillColor2,null,L)},{id:`${n}SymbolBaseLineTopFills`,title:ae}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor1,null,M),color2:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor2,null,M)},{id:`${n}SymbolBaseLineBottomFills`,title:ce}),(0,r.createNumberPropertyDefinition)({value:(0,r.convertToDefinitionProperty)(e,i.baseLevelPercentage,$,[c.floor])},{id:`${n}SymbolBaseLevelPercentage`,title:de,type:0,min:new l.WatchedValue(0),max:new l.WatchedValue(100),step:new l.WatchedValue(1),unit:new l.WatchedValue("%")})]}(e,i.baselineStyle.childs(),d.seriesPriceSources,u);case 13:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolColumnPriceSource",q),fe(e,i,n,"SymbolColumnStyleColumnColorsOnPrevClose"),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,z)},{id:`${n}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,J)},{id:`${n}SymbolDownColor`,title:Y})]}(e,i.columnStyle.childs(),d.seriesPriceSources,u)}if(12===a&&s.enabled("chart_style_hilo")){return function(e,i,t){return[(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,W),color:(0,
|
||||
r.getColorDefinitionProperty)(e,i.color,null,V)},{id:`${t}SymbolBodiesColor`,title:ue}),(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showBorders,I),color:(0,r.getColorDefinitionProperty)(e,i.borderColor,null,O)},{id:`${t}SymbolBorderColor`,title:he}),(0,r.createTextPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showLabels,B),color:(0,r.getColorDefinitionProperty)(e,i.labelColor,null,A)},{id:`${t}SymbolLabels`,title:pe,isEditable:!1,isMultiLine:!1})]}(e,i.hiloStyle.childs(),u)}if(!i.hasOwnProperty("haStyle"))return[];if(d.isJapaneseChartsAvailable&&8===a){return function(e,i,r){const l=[];return l.push(fe(e,i,r,"SymbolHAStyleBarColorsOnPrevClose"),...we(e,i,new o.TranslatedString("Heikin Ashi",n.t(null,void 0,t(40530))),r)),l}(e,i.haStyle.childs(),u)}return d.isJapaneseChartsAvailable&&s.enabled("japanese_chart_styles"),[]}},73986:(e,i,t)=>{t.d(i,{SeriesPropertyDefinitionsViewModel:()=>te,basePriceSources:()=>ee,seriesPrecisionValues:()=>ie});var n=t(50151),o=t(44352),r=t(36298),l=t(14483),s=t(46141),a=t(97145),c=t(42960),d=t(32766),u=t(20345);const h=new r.TranslatedString("change {inputName} property",o.t(null,void 0,t(21547)));function p(e){return e.map((e=>({value:e,title:o.t(e,{context:"input"},t(88601))})))}function y(e,i,l,d,y,g,v){const f=[];return l.forEach((l=>{if(!function(e,i){return!e.isHidden&&(void 0===e.visible||function(e,i){if(!e)return!0;const t=e.split("==");return!(t.length<2)&&i[t[0]].value()===t[1]}(e.visible,i))}(l,d))return;const S=l.id;if(!d.hasOwnProperty(S))return;const w=d[S],b=function(e,i){return"style"===e.id?"Box size assignment method":"boxSize"===e.id?"Box size":i.childs().name.value()}(l,y[S]),P=function(e){return o.t(e,{context:"input"},t(88601))}(b),T=new r.TranslatedString(b,P);if("options"in l){const i=(0,n.ensure)(l.options);f.push((0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,options:new a.WatchedValue(p(i))}))}else if("integer"!==l.type){if("float"===l.type){let t;return t=function(e,i){return!((i===(0,c.chartStyleStudyId)(4)||i===(0,c.chartStyleStudyId)(6))&&"boxSize"===e||i===(0,c.chartStyleStudyId)(5)&&"reversalAmount"===e)}(S,i)||null===g.value()?new a.WatchedValue(l.min):g,void f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,type:1,min:t,max:new a.WatchedValue(l.max),defval:l.defval}))}"text"!==l.type?"bool"!==l.type||f.push((0,s.createCheckablePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P})):f.push((0,s.createTextPropertyDefinition)({text:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,isEditable:!0,isMultiLine:!1}))}else f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}),[u.floor])},{id:`${v}${l.name}`,title:P,type:0,min:new a.WatchedValue(l.min),
|
||||
max:new a.WatchedValue(l.max),defval:l.defval}))})),f}var g=t(59224),v=t(93544),f=t(49152),S=t(97906),w=t(11678);const b=(0,g.getLogger)("Chart.Definitions.Series"),P=l.enabled("show_average_close_price_line_and_label"),T=l.enabled("pre_post_market_sessions"),m=new r.TranslatedString("change decimal places",o.t(null,void 0,t(71809))),D=new r.TranslatedString("change timezone",o.t(null,void 0,t(20505))),_=(new r.TranslatedString("adjust data for dividends",o.t(null,void 0,t(42390))),new r.TranslatedString("use settlement as close on daily interval",o.t(null,void 0,t(98402))),new r.TranslatedString("adjust for contract changes",o.t(null,void 0,t(99511))),new r.TranslatedString("change session",o.t(null,void 0,t(65303)))),C=new r.TranslatedString("change extended hours color",o.t(null,void 0,t(31317))),k=new r.TranslatedString("change pre market color",o.t(null,void 0,t(46257))),L=new r.TranslatedString("change post market color",o.t(null,void 0,t(49973))),M=new r.TranslatedString("change price line visibility",o.t(null,void 0,t(67761))),$=new r.TranslatedString("change price line color",o.t(null,void 0,t(77640))),W=new r.TranslatedString("change price line width",o.t(null,void 0,t(97322))),V=(new r.TranslatedString("change previous close price line visibility",o.t(null,void 0,t(59883))),new r.TranslatedString("change previous close price line color",o.t(null,void 0,t(91183))),new r.TranslatedString("change previous close price line width",o.t(null,void 0,t(87631))),new r.TranslatedString("change pre/post market price lines visibility",o.t(null,void 0,t(50393))),new r.TranslatedString("change pre market line color",o.t(null,void 0,t(60852))),new r.TranslatedString("change post market line color",o.t(null,void 0,t(5969))),new r.TranslatedString("change bid and ask lines visibility",o.t(null,void 0,t(32311))),new r.TranslatedString("change bid line color",o.t(null,void 0,t(36703))),new r.TranslatedString("change ask line color",o.t(null,void 0,t(29180))),new r.TranslatedString("change high and low price lines visibility",o.t(null,void 0,t(92556)))),I=new r.TranslatedString("change high and low price line color",o.t(null,void 0,t(60944))),O=new r.TranslatedString("change high and low price line width",o.t(null,void 0,t(83708))),B=new r.TranslatedString("change average close price line visibility",o.t(null,void 0,t(98866))),A=new r.TranslatedString("change average close price line color",o.t(null,void 0,t(30385))),x=new r.TranslatedString("change average close price line width",o.t(null,void 0,t(68927))),F=(o.t(null,void 0,t(9994)),o.t(null,void 0,t(25866))),N=(o.t(null,void 0,t(10989)),o.t(null,void 0,t(99983)),o.t(null,void 0,t(62521))),E=o.t(null,void 0,t(15107)),H=(o.t(null,void 0,t(8094)),o.t(null,void 0,t(47586)),o.t(null,void 0,t(6350)),
|
||||
o.t(null,void 0,t(73947))),R=o.t(null,void 0,t(87492)),j=o.t(null,void 0,t(39280)),U=o.t(null,void 0,t(30777)),G=o.t(null,void 0,t(8136)),z=o.t(null,void 0,t(31691)),J=o.t(null,void 0,t(10591)),q=o.t(null,void 0,t(94884)),K=o.t(null,void 0,t(22353)),Q=o.t(null,void 0,t(4329)),X=o.t(null,void 0,t(39292)),Y=o.t(null,void 0,t(70816)),Z=[{priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],ee=[{title:j,value:"open",id:"price-source-open"},{title:U,value:"high",id:"price-source-high"},{title:G,value:"low",id:"price-source-low"},{title:z,value:"close",id:"price-source-close"},{title:J,value:"hl2",id:"price-source-hl2"},{title:q,value:"hlc3",id:"price-source-hlc3"},{title:K,value:"ohlc4",id:"price-source-ohlc4"}];function ie(){const e=[{title:Q,value:"default"}],i=function(e=15){const i=[];for(let t=0;t<=e;t++)i.push({priceScale:Math.pow(10,t),minMove:1,frac:!1});return i}();for(let t=0;t<i.length;t++){const n=Math.log10(i[t].priceScale),o=0===n?"Integer":1===n?`${n} decimal`:`${n} decimals`;e.push({title:o,value:`${i[t].priceScale},${i[t].minMove},${i[t].frac}`})}for(let i=0;i<Z.length;i++)e.push({title:`${Z[i].minMove}/${Z[i].priceScale}`,value:`${Z[i].priceScale},${Z[i].minMove},${Z[i].frac}`});return e}class te{constructor(e,i,t,n,o,r){this._definitions=null,this._inputsSubscriptions=null,this._isDestroyed=!1,this._propertyPages=null,this._seriesMinTickWV=null,this._sessionIdOptionsWV=new a.WatchedValue([]),this._series=e,this._undoModel=i,this._model=this._undoModel.model(),this._propertyPageId=t,this._propertyPageName=n,this._propertyPageIcon=o,this._timezonePropertyObj=r,this._series.onStyleChanged().subscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().subscribe(this,this._updateDefinitions),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSeriesMinTickWV),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSessionIdOptionsWV),this._updateSeriesMinTickWV(),this._updateSessionIdOptionsWV()}destroy(){null!==this._propertyPages&&this._propertyPages.forEach((e=>{(0,s.destroyDefinitions)(e.definitions.value())})),this._series.onStyleChanged().unsubscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().unsubscribeAll(this),this._series.dataEvents().symbolResolved().unsubscribeAll(this),this._unsubscribeInputsUpdate(),this._isDestroyed=!0}propertyPages(){return null===this._propertyPages?this._getDefinitions().then((e=>{var i;if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");return null===this._propertyPages&&(this._propertyPages=[{id:this._propertyPageId,title:this._propertyPageName,icon:this._propertyPageIcon,definitions:new a.WatchedValue(e.definitions),
|
||||
visible:null!==(i=e.visible)&&void 0!==i?i:new a.WatchedValue(!0).readonly()}]),this._propertyPages})):Promise.resolve(this._propertyPages)}_seriesMinTick(){const e=this._series.symbolInfo();return null!==e?e.minmov/e.pricescale:null}_updateSeriesMinTickWV(){null===this._seriesMinTickWV?this._seriesMinTickWV=new a.WatchedValue(this._seriesMinTick()):this._seriesMinTickWV.setValue(this._seriesMinTick())}_updateSessionIdOptionsWV(){if(!T)return;const e=this._series.symbolInfo();if(null===e)return;const i=(e.subsessions||[]).filter((e=>!e.private)).map((e=>({title:(0,w.translateSessionDescription)(e.description),value:e.id})));this._sessionIdOptionsWV.setValue(i)}_updateDefinitions(){null!==this._definitions&&(0,s.destroyDefinitions)(this._definitions.definitions),this._definitions=null,this._unsubscribeInputsUpdate(),this._createSeriesDefinitions().then((e=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");(0,n.ensureNotNull)(this._propertyPages)[0].definitions.setValue(e.definitions)}))}_getDefinitions(){return null===this._definitions?this._createSeriesDefinitions():Promise.resolve(this._definitions)}_unsubscribeInputsUpdate(){null!==this._inputsSubscriptions&&(this._inputsSubscriptions.forEach((e=>{e.unsubscribeAll(this)})),this._inputsSubscriptions=null)}_subscribeInputsUpdate(e,i){const t=[];e.forEach((e=>{if(void 0!==e.visible){const n=e.visible.split("==");if(2===n.length){const e=i[n[0]];-1===t.indexOf(e)&&(e.subscribe(this,this._updateDefinitions),t.push(e))}}})),t.length>0?this._inputsSubscriptions=t:this._inputsSubscriptions=null}_createSeriesDefinitions(){const e=this._series.properties().childs(),i=this._series.getInputsProperties(),r=this._series.getInputsInfoProperties(),l=e.style.value(),u=this._series.getStyleShortName();return new Promise((e=>{const t=(0,c.chartStyleStudyId)(l);null!==t?this._model.studyMetaInfoRepository().findById({type:"java",studyId:t}).then((t=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return void e(null);const o=(0,n.ensureNotNull)(this._seriesMinTickWV),l=y(this._undoModel,t.id,t.inputs,i,r,o,u);this._subscribeInputsUpdate(t.inputs,i),e(l)})).catch((i=>{b.logWarn(`Find meta info for create series definitions with error - ${(0,v.errorToString)(i)}`),e(null)})):e(null)})).then((i=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return this._definitions;const n=(0,d.getSeriesStylePropertiesDefinitions)(this._undoModel,e,l,{seriesPriceSources:ee,isJapaneseChartsAvailable:true},"mainSeries");null!==i&&n.push(...i);const r=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,e.minTick,m)},{id:`${u}SymbolMinTick`,title:H,options:new a.WatchedValue(ie())}),h=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,this._timezonePropertyObj.property,D)},{id:`${u}SymbolTimezone`,title:R,
|
||||
options:new a.WatchedValue(this._timezonePropertyObj.values)});return this._definitions={definitions:[(0,s.createPropertyDefinitionsGeneralGroup)(n,"generalSymbolStylesGroup",(0,c.getTranslatedChartStyleName)(l)),(0,s.createPropertyDefinitionsGeneralGroup)(this._seriesPriceLinesDefinitions(u),"priceLinesGroup",o.t(null,void 0,t(77986))),(0,s.createPropertyDefinitionsGeneralGroup)([...this._seriesDataDefinitions(u),r,h],"dataModififcationGroup",o.t(null,void 0,t(81285)))]},this._definitions}))}_seriesDataDefinitions(e){const i=[];if(T){const t=this._series.sessionIdProxyProperty(),n=(0,S.combineWithFilteredUpdate)(((e,i)=>!i&&(0,c.symbolHasSeveralSessions)(this._series.symbolInfo())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,f.createWVFromProperty)(this._series.isDWMProperty()).ownership()),o=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,t,_),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(n.ownership())},{id:"sessionId",title:F,options:this._sessionIdOptionsWV});i.push(o);const r=this._model.sessions().graphicsInfo();let l=!1;r.backgrounds&&(l=void 0!==r.backgrounds.outOfSession);const a=l?this._createOutOfSessionDefinition(e):this._createPrePostMarketDefinition(e);i.push(a)}return i}_createOutOfSessionDefinition(e){const i=this._model.sessions().properties().childs().graphics.childs().backgrounds.childs().outOfSession.childs();return(0,s.createColorPropertyDefinition)({color:(0,s.getColorDefinitionProperty)(this._undoModel,i.color,i.transparency,C)},{id:`${e}SymbolExtendedHoursColors`,title:N})}_createPrePostMarketDefinition(e){const i=(0,S.combineWithFilteredUpdate)(((e,i)=>!i&&(0,c.symbolHasPreOrPostMarket)(this._series.symbolInfo())&&!(0,c.isRegularSessionId)(this._series.sessionIdProxyProperty().value())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,f.createWVFromProperty)(this._series.isDWMProperty()).ownership()),t=this._model.sessions(),n=t.properties().childs().graphics.childs().backgrounds.childs().preMarket.childs(),o=t.properties().childs().graphics.childs().backgrounds.childs().postMarket.childs();return(0,s.createTwoColorsPropertyDefinition)({color1:(0,s.getColorDefinitionProperty)(this._undoModel,n.color,n.transparency,k),color2:(0,s.getColorDefinitionProperty)(this._undoModel,o.color,o.transparency,L),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(i.ownership())},{id:`${e}SymbolExtendedHoursColors`,title:N})}_seriesPriceLinesDefinitions(e){const i=[],t=this._series.properties().childs();if(this._series.hasClosePrice()){const n=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,t.showPriceLine,M),color:(0,s.getColorDefinitionProperty)(this._undoModel,t.priceLineColor,null,$),width:(0,s.convertToDefinitionProperty)(this._undoModel,t.priceLineWidth,W)},{id:`${e}SymbolLastValuePriceLine`,title:E});i.push(n)}this._series.hasClosePrice();const n=t.highLowAvgPrice.childs(),o=(0,s.createLinePropertyDefinition)({checked:(0,
|
||||
s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesVisible,V),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.highLowPriceLinesColor,null,I),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesWidth,O)},{id:`${e}SymbolHighLowPriceLines`,title:X});if(i.push(o),P){const t=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.averageClosePriceLineVisible,B),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.averagePriceLineColor,null,A),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.averagePriceLineWidth,x)},{id:`${e}SymbolAverageClosePriceLine`,title:Y});i.push(t)}return i}}}}]);
|
||||
10
charting_library/bundles/3986.b50fcad4f1b77533bda7.js
Normal file
10
charting_library/bundles/3986.b50fcad4f1b77533bda7.js
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3986],{32766:(e,i,t)=>{t.d(i,{getSeriesStylePropertiesDefinitions:()=>Pe});var n=t(11542),o=t(36298),r=t(295),l=(t(62615),t(97145)),s=t(14483),a=t(1722),c=(t(49152),t(20345)),d=t(94474);const u=new o.TranslatedString("change color bars based on previous close",n.t(null,void 0,t(29353))),h=(new o.TranslatedString("change use volume weighted bars",n.t(null,void 0,t(95108))),new o.TranslatedString("change HLC bars",n.t(null,void 0,t(55740)))),p=new o.TranslatedString("change bar up color",n.t(null,void 0,t(76804))),y=new o.TranslatedString("change bar down color",n.t(null,void 0,t(71816))),v=new o.TranslatedString("change thin bars",n.t(null,void 0,t(72886))),g=new o.TranslatedString("change line price source",n.t(null,void 0,t(17119))),f=new o.TranslatedString("change line color",n.t(null,void 0,t(87828))),S=new o.TranslatedString("change line width",n.t(null,void 0,t(69125))),w=new o.TranslatedString("change area price source",n.t(null,void 0,t(1316))),b=new o.TranslatedString("change area line color",n.t(null,void 0,t(661))),P=new o.TranslatedString("change area line width",n.t(null,void 0,t(6610))),T=new o.TranslatedString("change area fill color",n.t(null,void 0,t(97008))),m=new o.TranslatedString("change baseline price source",n.t(null,void 0,t(56819))),D=new o.TranslatedString("change baseline top line color",n.t(null,void 0,t(68621))),_=new o.TranslatedString("change baseline top line width",n.t(null,void 0,t(35339))),C=new o.TranslatedString("change baseline bottom line color",n.t(null,void 0,t(4164))),k=new o.TranslatedString("change baseline bottom line width",n.t(null,void 0,t(38990))),L=new o.TranslatedString("change baseline fill top area color",n.t(null,void 0,t(12673))),M=new o.TranslatedString("change baseline fill bottom area color",n.t(null,void 0,t(73163))),$=new o.TranslatedString("change base level",n.t(null,void 0,t(31547))),W=new o.TranslatedString("change high-low body visibility",n.t(null,void 0,t(30033))),V=new o.TranslatedString("change high-low body color",n.t(null,void 0,t(81080))),I=new o.TranslatedString("change high-low borders visibility",n.t(null,void 0,t(79236))),O=new o.TranslatedString("change high-low border color",n.t(null,void 0,t(76885))),B=new o.TranslatedString("change high-low labels visibility",n.t(null,void 0,t(42981))),x=new o.TranslatedString("change high-low labels color",n.t(null,void 0,t(31937))),A=(new o.TranslatedString("change renko wick visibility",n.t(null,void 0,t(9473))),new o.TranslatedString("change renko wick up color",n.t(null,void 0,t(7747))),new o.TranslatedString("change renko wick down color",n.t(null,void 0,t(75986))),new o.TranslatedString("change the display of real prices on price scale (instead of Heiken-Ashi price)",n.t(null,void 0,t(39783))),new o.TranslatedString("change range thin bars",n.t(null,void 0,t(28143))),new o.TranslatedString("change range bars style",n.t(null,void 0,t(35116))),
|
||||
new o.TranslatedString("change {candleType} body visibility",n.t(null,void 0,t(47202)))),F=new o.TranslatedString("change {candleType} up color",n.t(null,void 0,t(61118))),E=new o.TranslatedString("change {candleType} down color",n.t(null,void 0,t(36320))),N=new o.TranslatedString("change {candleType} border visibility",n.t(null,void 0,t(23986))),H=new o.TranslatedString("change {candleType} up border color",n.t(null,void 0,t(5464))),R=new o.TranslatedString("change {candleType} down border color",n.t(null,void 0,t(92330))),j=new o.TranslatedString("change {candleType} wick visibility",n.t(null,void 0,t(39987))),U=new o.TranslatedString("change {candleType} wick up color",n.t(null,void 0,t(45543))),z=new o.TranslatedString("change {candleType} wick down color",n.t(null,void 0,t(60164))),G=(new o.TranslatedString("change {chartType} up color",n.t(null,void 0,t(59414))),new o.TranslatedString("change {chartType} down color",n.t(null,void 0,t(85503))),new o.TranslatedString("change {chartType} projection bar up color",n.t(null,void 0,t(50453))),new o.TranslatedString("change {chartType} projection bar down color",n.t(null,void 0,t(18465))),new o.TranslatedString("change {chartType} border bar up color",n.t(null,void 0,t(11107))),new o.TranslatedString("change {chartType} border bar down color",n.t(null,void 0,t(79088))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change column up color",n.t(null,void 0,t(85709)))),J=new o.TranslatedString("change column down color",n.t(null,void 0,t(12155))),q=new o.TranslatedString("change column price source",n.t(null,void 0,t(66890))),K=n.t(null,void 0,t(63243)),Q=(n.t(null,void 0,t(35612)),n.t(null,void 0,t(86953))),X=n.t(null,void 0,t(5536)),Y=n.t(null,void 0,t(87151)),Z=n.t(null,void 0,t(55314)),ee=n.t(null,void 0,t(83760)),ie=n.t(null,void 0,t(72269)),te=n.t(null,void 0,t(26458)),ne=n.t(null,void 0,t(24248)),oe=n.t(null,void 0,t(1277)),re=n.t(null,void 0,t(57417)),le=n.t(null,void 0,t(50430)),se=n.t(null,void 0,t(86846)),ae=n.t(null,void 0,t(58747)),ce=n.t(null,void 0,t(11157)),de=(n.t(null,void 0,t(83610)),n.t(null,void 0,t(39667)),n.t(null,void 0,t(80293)),n.t(null,void 0,t(94089)),n.t(null,void 0,t(5704)),n.t(null,void 0,t(29881)),n.t(null,void 0,t(7445))),ue=n.t(null,void 0,t(83760)),he=n.t(null,void 0,t(72269)),pe=n.t(null,void 0,t(94420)),ye=n.t(null,void 0,t(83678)),ve=n.t(null,void 0,t(15857)),ge=n.t(null,void 0,t(75310));n.t(null,void 0,t(32733)),n.t(null,void 0,t(16812)),n.t(null,void 0,t(63528));function fe(e,i,t,n){return(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.barColorsOnPrevClose,u)},{id:`${t}${n}`,title:K})}function Se(e,i,t,n,o,s){const a=void 0;return(0,r.createOptionsPropertyDefinition)({disabled:a&&(0,r.convertFromReadonlyWVToDefinitionProperty)(a.ownership()),option:(0,r.convertToDefinitionProperty)(e,i.priceSource,s)},{id:`${n}${o}`,
|
||||
title:ne,options:new l.WatchedValue(t)})}function we(e,i,t,n){const o=(0,d.removeSpaces)(t.originalText());return[(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,A.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.upColor,null,F.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.downColor,null,E.format({candleType:t}))},{id:`${n}Symbol${o}CandlesColor`,title:ee}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBorder,N.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.borderUpColor,null,H.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.borderDownColor,null,R.format({candleType:t}))},{id:`${n}Symbol${o}BordersColor`,title:ie}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawWick,j.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.wickUpColor,null,U.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.wickDownColor,null,z.format({candleType:t}))},{id:`${n}Symbol${o}WickColors`,title:te})]}function be(e,i,t,n){return[Se(e,i,t,n,"SymbolLinePriceSource",g),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.color,null,f),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,S)},{id:`${n}SymbolLineStyle`,title:oe})]}function Pe(e,i,d,u,g){switch(d){case 0:return function(e,i,t,n){return[fe(e,i,n,"SymbolBarStyleBarColorsOnPrevClose"),void 0,(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.dontDrawOpen,h)},{id:`${n}SymbolDontDrawOpen`,title:Q}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,p)},{id:`${n}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,y)},{id:`${n}SymbolDownColor`,title:Y}),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.thinBars,v)},{id:`${n}SymbolBarThinBars`,title:Z})].filter(a.isExistent)}(e,i.barStyle.childs(),Te(i)&&i.useVolumeWeightBars,g);case 1:return function(e,i,r,l){return[fe(e,i,l,"SymbolCandleStyleBarColorsOnPrevClose"),void 0,...we(e,i,new o.TranslatedString("candle",n.t(null,void 0,t(30792))),l)].filter(a.isExistent)}(e,i.candleStyle.childs(),Te(i)&&i.useVolumeWeightBars,g);case 2:return be(e,i.lineStyle.childs(),u.seriesPriceSources,g);case 14:return be(e,i.lineWithMarkersStyle.childs(),u.seriesPriceSources,g);case 15:return be(e,i.steplineStyle.childs(),u.seriesPriceSources,g);case 3:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolAreaPriceSource",w),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.linecolor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,P)},{id:`${n}SymbolAreaLineStyle`,title:oe}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.color1,i.transparency,T),color2:(0,r.getColorDefinitionProperty)(e,i.color2,i.transparency,T)},{
|
||||
id:`${n}SymbolAreaFills`,title:se})]}(e,i.areaStyle.childs(),u.seriesPriceSources,g);case 16:return function(e,i,t,n){return[(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.highLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.highLineWidth,P)},{id:`${n}SymbolHLCAreaHighLineStyle`,title:ye}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.lowLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.lowLineWidth,P)},{id:`${n}SymbolHLCAreaLowLineStyle`,title:ge}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.closeLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.closeLineWidth,P)},{id:`${n}SymbolHLCAreaCloseLineStyle`,title:ve}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.highCloseFillColor,null,T),color2:(0,r.getColorDefinitionProperty)(e,i.closeLowFillColor,null,T)},{id:`${n}SymbolHLCAreaFills`,title:se})]}(e,i.hlcAreaStyle.childs(),u.seriesPriceSources,g);case 9:return we(e,i.hollowCandleStyle.childs(),new o.TranslatedString("hollow candles",n.t(null,void 0,t(75165))),g);case 10:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolBaseLinePriceSource",m),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.topLineColor,null,D),width:(0,r.convertToDefinitionProperty)(e,i.topLineWidth,_)},{id:`${n}SymbolBaseLineTopLine`,title:re}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.bottomLineColor,null,C),width:(0,r.convertToDefinitionProperty)(e,i.bottomLineWidth,k)},{id:`${n}SymbolBaseLineBottomLine`,title:le}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.topFillColor1,null,L),color2:(0,r.getColorDefinitionProperty)(e,i.topFillColor2,null,L)},{id:`${n}SymbolBaseLineTopFills`,title:ae}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor1,null,M),color2:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor2,null,M)},{id:`${n}SymbolBaseLineBottomFills`,title:ce}),(0,r.createNumberPropertyDefinition)({value:(0,r.convertToDefinitionProperty)(e,i.baseLevelPercentage,$,[c.floor])},{id:`${n}SymbolBaseLevelPercentage`,title:de,type:0,min:new l.WatchedValue(0),max:new l.WatchedValue(100),step:new l.WatchedValue(1),unit:new l.WatchedValue("%")})]}(e,i.baselineStyle.childs(),u.seriesPriceSources,g);case 13:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolColumnPriceSource",q),fe(e,i,n,"SymbolColumnStyleColumnColorsOnPrevClose"),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,G)},{id:`${n}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,J)},{id:`${n}SymbolDownColor`,title:Y})]}(e,i.columnStyle.childs(),u.seriesPriceSources,g)}if(12===d&&s.enabled("chart_style_hilo")){return function(e,i,t){return[(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,W),color:(0,
|
||||
r.getColorDefinitionProperty)(e,i.color,null,V)},{id:`${t}SymbolBodiesColor`,title:ue}),(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showBorders,I),color:(0,r.getColorDefinitionProperty)(e,i.borderColor,null,O)},{id:`${t}SymbolBorderColor`,title:he}),(0,r.createTextPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showLabels,B),color:(0,r.getColorDefinitionProperty)(e,i.labelColor,null,x)},{id:`${t}SymbolLabels`,title:pe,isEditable:!1,isMultiLine:!1})]}(e,i.hiloStyle.childs(),g)}if(!i.hasOwnProperty("haStyle"))return[];if(u.isJapaneseChartsAvailable&&8===d){return function(e,i,r){const l=[];return l.push(fe(e,i,r,"SymbolHAStyleBarColorsOnPrevClose"),...we(e,i,new o.TranslatedString("Heikin Ashi",n.t(null,void 0,t(40530))),r)),l}(e,i.haStyle.childs(),g)}return u.isJapaneseChartsAvailable&&s.enabled("japanese_chart_styles"),[]}function Te(e){return!("inputs"in e)}},73986:(e,i,t)=>{t.d(i,{SeriesPropertyDefinitionsViewModel:()=>ne,basePriceSources:()=>ie,seriesPrecisionValues:()=>te});var n=t(50151),o=t(11542),r=t(36298),l=t(14483),s=t(295),a=t(97145),c=t(74970),d=t(42960),u=t(32766),h=t(20345);const p=new r.TranslatedString("change {inputName} property",o.t(null,void 0,t(21547)));function y(e){return e.map((e=>({value:e,title:o.t(e,{context:"input"},t(88601))})))}function v(e,i,l,c,u,v,g){const f=[];return l.forEach((l=>{if(!function(e,i){return!e.isHidden&&(void 0===e.visible||function(e,i){if(!e)return!0;const t=e.split("==");return!(t.length<2)&&i[t[0]].value()===t[1]}(e.visible,i))}(l,c))return;const S=l.id;if(!c.hasOwnProperty(S))return;const w=c[S],b=function(e,i){return"style"===e.id?"Box size assignment method":"boxSize"===e.id?"Box size":i.childs().name.value()}(l,u[S]),P=function(e){return o.t(e,{context:"input"},t(88601))}(b),T=new r.TranslatedString(b,P);if("options"in l){const i=(0,n.ensure)(l.options);f.push((0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(e,w,p.format({inputName:T}))},{id:`${g}${l.name}`,title:P,options:new a.WatchedValue(y(i))}))}else if("integer"!==l.type){if("float"===l.type){let t;return t=function(e,i){return!((i===(0,d.chartStyleStudyId)(4)||i===(0,d.chartStyleStudyId)(6))&&"boxSize"===e||i===(0,d.chartStyleStudyId)(5)&&"reversalAmount"===e)}(S,i)||null===v.value()?new a.WatchedValue(l.min):v,void f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,p.format({inputName:T}))},{id:`${g}${l.name}`,title:P,type:1,min:t,max:new a.WatchedValue(l.max),defval:l.defval}))}"text"!==l.type?"bool"!==l.type||f.push((0,s.createCheckablePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(e,w,p.format({inputName:T}))},{id:`${g}${l.name}`,title:P})):f.push((0,s.createTextPropertyDefinition)({text:(0,s.convertToDefinitionProperty)(e,w,p.format({inputName:T}))},{id:`${g}${l.name}`,title:P,isEditable:!0,isMultiLine:!1}))}else f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,p.format({inputName:T}),[h.floor])},{id:`${g}${l.name}`,
|
||||
title:P,type:0,min:new a.WatchedValue(l.min),max:new a.WatchedValue(l.max),defval:l.defval}))})),f}var g=t(59224),f=t(93544),S=t(49152),w=t(97906),b=t(11678);const P=(0,g.getLogger)("Chart.Definitions.Series"),T=l.enabled("show_average_close_price_line_and_label"),m=l.enabled("pre_post_market_sessions"),D=new r.TranslatedString("change decimal places",o.t(null,void 0,t(71809))),_=new r.TranslatedString("change timezone",o.t(null,void 0,t(20505))),C=(new r.TranslatedString("adjust data for dividends",o.t(null,void 0,t(42390))),new r.TranslatedString("use settlement as close on daily interval",o.t(null,void 0,t(98402))),new r.TranslatedString("adjust for contract changes",o.t(null,void 0,t(99511))),new r.TranslatedString("change session",o.t(null,void 0,t(65303)))),k=new r.TranslatedString("change extended hours color",o.t(null,void 0,t(31317))),L=new r.TranslatedString("change pre market color",o.t(null,void 0,t(46257))),M=new r.TranslatedString("change post market color",o.t(null,void 0,t(49973))),$=new r.TranslatedString("change price line visibility",o.t(null,void 0,t(67761))),W=new r.TranslatedString("change price line color",o.t(null,void 0,t(77640))),V=new r.TranslatedString("change price line width",o.t(null,void 0,t(97322))),I=(new r.TranslatedString("change previous close price line visibility",o.t(null,void 0,t(59883))),new r.TranslatedString("change previous close price line color",o.t(null,void 0,t(91183))),new r.TranslatedString("change previous close price line width",o.t(null,void 0,t(87631))),new r.TranslatedString("change pre/post market price lines visibility",o.t(null,void 0,t(50393))),new r.TranslatedString("change pre market line color",o.t(null,void 0,t(60852))),new r.TranslatedString("change post market line color",o.t(null,void 0,t(5969))),new r.TranslatedString("change bid and ask lines visibility",o.t(null,void 0,t(32311))),new r.TranslatedString("change bid line color",o.t(null,void 0,t(36703))),new r.TranslatedString("change ask line color",o.t(null,void 0,t(29180))),new r.TranslatedString("change high and low price lines visibility",o.t(null,void 0,t(92556)))),O=new r.TranslatedString("change high and low price line color",o.t(null,void 0,t(60944))),B=new r.TranslatedString("change high and low price line width",o.t(null,void 0,t(83708))),x=new r.TranslatedString("change average close price line visibility",o.t(null,void 0,t(98866))),A=new r.TranslatedString("change average close price line color",o.t(null,void 0,t(30385))),F=new r.TranslatedString("change average close price line width",o.t(null,void 0,t(68927))),E=(o.t(null,void 0,t(9994)),o.t(null,void 0,t(25866))),N=(o.t(null,void 0,t(10989)),o.t(null,void 0,t(23500)),o.t(null,void 0,t(62521))),H=o.t(null,void 0,t(15107)),R=(o.t(null,void 0,t(8094)),o.t(null,void 0,t(47586)),o.t(null,void 0,t(6350)),
|
||||
o.t(null,void 0,t(73947))),j=o.t(null,void 0,t(87492)),U=o.t(null,void 0,t(39280)),z=o.t(null,void 0,t(30777)),G=o.t(null,void 0,t(8136)),J=o.t(null,void 0,t(31691)),q=o.t(null,void 0,t(10591)),K=o.t(null,void 0,t(94884)),Q=o.t(null,void 0,t(22353)),X=o.t(null,void 0,t(4329)),Y=o.t(null,void 0,t(39292)),Z=o.t(null,void 0,t(70816)),ee=[{priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],ie=[{title:U,value:"open",id:"price-source-open"},{title:z,value:"high",id:"price-source-high"},{title:G,value:"low",id:"price-source-low"},{title:J,value:"close",id:"price-source-close"},{title:q,value:"hl2",id:"price-source-hl2"},{title:K,value:"hlc3",id:"price-source-hlc3"},{title:Q,value:"ohlc4",id:"price-source-ohlc4"}];function te(){const e=[{title:X,value:"default"}],i=function(e=15){const i=[];for(let t=0;t<=e;t++)i.push({priceScale:Math.pow(10,t),minMove:1,frac:!1});return i}();for(let t=0;t<i.length;t++){const n=Math.log10(i[t].priceScale),o=0===n?"Integer":1===n?`${n} decimal`:`${n} decimals`;e.push({title:o,value:`${i[t].priceScale},${i[t].minMove},${i[t].frac}`})}for(let i=0;i<ee.length;i++)e.push({title:`${ee[i].minMove}/${ee[i].priceScale}`,value:`${ee[i].priceScale},${ee[i].minMove},${ee[i].frac}`});return e}class ne{constructor(e,i,t,n,o,r){this._definitions=null,this._inputsSubscriptions=null,this._isDestroyed=!1,this._propertyPages=null,this._seriesMinTickWV=null,this._sessionIdOptionsWV=new a.WatchedValue([]),this._series=e,this._undoModel=i,this._model=this._undoModel.model(),this._propertyPageId=t,this._propertyPageName=n,this._propertyPageIcon=o,this._timezonePropertyObj=r,this._series.onStyleChanged().subscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().subscribe(this,this._updateDefinitions),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSeriesMinTickWV),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSessionIdOptionsWV),this._updateSeriesMinTickWV(),this._updateSessionIdOptionsWV()}destroy(){null!==this._propertyPages&&this._propertyPages.forEach((e=>{(0,s.destroyDefinitions)(e.definitions.value())})),this._series.onStyleChanged().unsubscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().unsubscribeAll(this),this._series.dataEvents().symbolResolved().unsubscribeAll(this),this._unsubscribeInputsUpdate(),this._isDestroyed=!0}propertyPages(){return null===this._propertyPages?this._getDefinitions().then((e=>{var i;if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");return null===this._propertyPages&&(this._propertyPages=[{id:this._propertyPageId,title:this._propertyPageName,icon:this._propertyPageIcon,definitions:new a.WatchedValue(e.definitions),
|
||||
visible:null!==(i=e.visible)&&void 0!==i?i:new a.WatchedValue(!0).readonly()}]),this._propertyPages})):Promise.resolve(this._propertyPages)}_seriesMinTick(){const e=this._series.symbolInfo();return null!==e?e.minmov/e.pricescale:null}_updateSeriesMinTickWV(){null===this._seriesMinTickWV?this._seriesMinTickWV=new a.WatchedValue(this._seriesMinTick()):this._seriesMinTickWV.setValue(this._seriesMinTick())}_updateSessionIdOptionsWV(){if(!m)return;const e=this._series.symbolInfo();if(null===e)return;const i=(e.subsessions||[]).filter((e=>!e.private)).map((e=>({title:(0,b.translateSessionDescription)(e.description),value:e.id})));this._sessionIdOptionsWV.setValue(i)}_updateDefinitions(){null!==this._definitions&&(0,s.destroyDefinitions)(this._definitions.definitions),this._definitions=null,this._unsubscribeInputsUpdate(),this._createSeriesDefinitions().then((e=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");(0,n.ensureNotNull)(this._propertyPages)[0].definitions.setValue(e.definitions)}))}_getDefinitions(){return null===this._definitions?this._createSeriesDefinitions():Promise.resolve(this._definitions)}_unsubscribeInputsUpdate(){null!==this._inputsSubscriptions&&(this._inputsSubscriptions.forEach((e=>{e.unsubscribeAll(this)})),this._inputsSubscriptions=null)}_subscribeInputsUpdate(e,i){const t=[];e.forEach((e=>{if(void 0!==e.visible){const n=e.visible.split("==");if(2===n.length){const e=i[n[0]];-1===t.indexOf(e)&&(e.subscribe(this,this._updateDefinitions),t.push(e))}}})),t.length>0?this._inputsSubscriptions=t:this._inputsSubscriptions=null}_createSeriesDefinitions(){const e=this._series.properties().childs(),i=this._series.getInputsProperties(),r=this._series.getInputsInfoProperties(),l=e.style.value(),h=this._series.getStyleShortName();return new Promise((e=>{const t=17!==l?(0,d.chartStyleStudyId)(l):null;null!==t?(0,c.studyMetaInfoRepository)().findById({type:"java",studyId:t}).then((t=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return void e(null);const o=(0,n.ensureNotNull)(this._seriesMinTickWV),l=v(this._undoModel,t.id,t.inputs,i,r,o,h);this._subscribeInputsUpdate(t.inputs,i),e(l)})).catch((i=>{P.logWarn(`Find meta info for create series definitions with error - ${(0,f.errorToString)(i)}`),e(null)})):e(null)})).then((i=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");return null!==this._definitions?this._definitions:new Promise(((t,n)=>{if(17!==l){const n=(0,u.getSeriesStylePropertiesDefinitions)(this._undoModel,e,l,{seriesPriceSources:ie,isJapaneseChartsAvailable:true},"mainSeries");null!==i&&n.push(...i);t((0,s.createPropertyDefinitionsGeneralGroup)(n,"generalSymbolStylesGroup",(0,d.getTranslatedChartStyleName)(l)))}else n("unexpected chart style")})).then((i=>{const n=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,e.minTick,D)},{id:`${h}SymbolMinTick`,title:R,options:new a.WatchedValue(te())
|
||||
}),r=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,this._timezonePropertyObj.property,_)},{id:`${h}SymbolTimezone`,title:j,options:new a.WatchedValue(this._timezonePropertyObj.values)});return this._definitions={definitions:[i,(0,s.createPropertyDefinitionsGeneralGroup)(this._seriesPriceLinesDefinitions(h),"priceLinesGroup",o.t(null,void 0,t(77986))),(0,s.createPropertyDefinitionsGeneralGroup)([...this._seriesDataDefinitions(h),n,r],"dataModififcationGroup",o.t(null,void 0,t(81285)))]},this._definitions}))}))}_seriesDataDefinitions(e){const i=[];if(m){const t=this._series.sessionIdProxyProperty(),n=(0,w.combineWithFilteredUpdate)(((e,i)=>!i&&(0,d.symbolHasSeveralSessions)(this._series.symbolInfo())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,S.createWVFromProperty)(this._series.isDWMProperty()).ownership()),o=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,t,C),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(n.ownership())},{id:"sessionId",title:E,options:this._sessionIdOptionsWV});i.push(o);const r=this._model.sessions().graphicsInfo();let l=!1;r.backgrounds&&(l=void 0!==r.backgrounds.outOfSession);const a=l?this._createOutOfSessionDefinition(e):this._createPrePostMarketDefinition(e);i.push(a)}return i}_createOutOfSessionDefinition(e){const i=this._model.sessions().properties().childs().graphics.childs().backgrounds.childs().outOfSession.childs();return(0,s.createColorPropertyDefinition)({color:(0,s.getColorDefinitionProperty)(this._undoModel,i.color,i.transparency,k)},{id:`${e}SymbolExtendedHoursColors`,title:N})}_createPrePostMarketDefinition(e){const i=(0,w.combineWithFilteredUpdate)(((e,i)=>!i&&(0,d.symbolHasPreOrPostMarket)(this._series.symbolInfo())&&!(0,d.isRegularSessionId)(this._series.sessionIdProxyProperty().value())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,S.createWVFromProperty)(this._series.isDWMProperty()).ownership()),t=this._model.sessions(),n=t.properties().childs().graphics.childs().backgrounds.childs().preMarket.childs(),o=t.properties().childs().graphics.childs().backgrounds.childs().postMarket.childs();return(0,s.createTwoColorsPropertyDefinition)({color1:(0,s.getColorDefinitionProperty)(this._undoModel,n.color,n.transparency,L),color2:(0,s.getColorDefinitionProperty)(this._undoModel,o.color,o.transparency,M),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(i.ownership())},{id:`${e}SymbolExtendedHoursColors`,title:N})}_seriesPriceLinesDefinitions(e){const i=[],t=this._series.properties().childs();if(this._series.hasClosePrice()){const n=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,t.showPriceLine,$),color:(0,s.getColorDefinitionProperty)(this._undoModel,t.priceLineColor,null,W),width:(0,s.convertToDefinitionProperty)(this._undoModel,t.priceLineWidth,V)},{id:`${e}SymbolLastValuePriceLine`,title:H});i.push(n)}this._series.hasClosePrice();const n=t.highLowAvgPrice.childs(),o=(0,
|
||||
s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesVisible,I),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.highLowPriceLinesColor,null,O),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesWidth,B)},{id:`${e}SymbolHighLowPriceLines`,title:Y});if(i.push(o),T){const t=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.averageClosePriceLineVisible,x),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.averagePriceLineColor,null,A),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.averagePriceLineWidth,F)},{id:`${e}SymbolAverageClosePriceLine`,title:Z});i.push(t)}return i}}}}]);
|
||||
1
charting_library/bundles/4102.4abd8542fa3aa3e7fd5d.css
Normal file
1
charting_library/bundles/4102.4abd8542fa3aa3e7fd5d.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
charting_library/bundles/4370.18ca7d93e5073f0446c0.js
Normal file
3
charting_library/bundles/4370.18ca7d93e5073f0446c0.js
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4370],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>M});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,h=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&a()}function c(){s(o)}function a(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),
|
||||
window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=m(0,0,0,0);function p(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function l(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=p(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,c=p(r.width),a=p(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=v(r,"left","right")+o),Math.round(a+s)!==n&&(a-=v(r,"top","bottom")+s)),!function(t){return t===f(t).document.documentElement}(t)){var h=Math.round(c+o)-e,u=Math.round(a+s)-n;1!==Math.abs(h)&&(c-=h),1!==Math.abs(u)&&(a-=u)}return m(i.left,i.top,c,a)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function b(t){return i?_(t)?function(t){var e=t.getBBox();return m(0,0,e.width,e.height)}(t):l(t):d}function m(t,e,n,r){return{x:t,y:e,width:n,height:r}}var y=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=b(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),g=function(t,e){var n,r,i,o,s,c,a,h=(r=(n=e).x,i=n.y,o=n.width,s=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(c.prototype),u(a,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),a);u(this,{target:t,contentRect:h})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
|
||||
if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new y(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new g(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),r=new w(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const M=void 0!==o.ResizeObserver?o.ResizeObserver:O},25931:(t,e,n)=>{n.d(e,{nanoid:()=>r});let r=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"")}}]);
|
||||
@@ -1,6 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4378],{45015:e=>{e.exports={"link-item":"link-item-eIA09f0e"}},85200:e=>{e.exports={"arrow-icon":"arrow-icon-NIrWNOPk",dropped:"dropped-NIrWNOPk","size-xsmall":"size-xsmall-NIrWNOPk","size-small":"size-small-NIrWNOPk","size-medium":"size-medium-NIrWNOPk","size-large":"size-large-NIrWNOPk","size-xlarge":"size-xlarge-NIrWNOPk"}},25164:e=>{e.exports={"underline-tab":"underline-tab-cfYYXvwA","disable-focus-outline":"disable-focus-outline-cfYYXvwA","enable-cursor-pointer":"enable-cursor-pointer-cfYYXvwA",selected:"selected-cfYYXvwA","disable-active-state-styles":"disable-active-state-styles-cfYYXvwA","size-xsmall":"size-xsmall-cfYYXvwA","size-small":"size-small-cfYYXvwA","size-medium":"size-medium-cfYYXvwA","size-large":"size-large-cfYYXvwA","size-xlarge":"size-xlarge-cfYYXvwA",fake:"fake-cfYYXvwA"}},79877:e=>{e.exports={"scroll-wrap":"scroll-wrap-SmxgjhBJ","size-xlarge":"size-xlarge-SmxgjhBJ","enable-scroll":"enable-scroll-SmxgjhBJ","underline-tabs":"underline-tabs-SmxgjhBJ","size-large":"size-large-SmxgjhBJ","size-medium":"size-medium-SmxgjhBJ","size-small":"size-small-SmxgjhBJ","size-xsmall":"size-xsmall-SmxgjhBJ","stretch-tabs":"stretch-tabs-SmxgjhBJ","stretch-tab-item":"stretch-tab-item-SmxgjhBJ"}},56073:(e,t,n)=>{"use strict";function i(e,t=!1){const n=getComputedStyle(e),i=[n.height];return"border-box"!==n.boxSizing&&i.push(n.paddingTop,n.paddingBottom,n.borderTopWidth,n.borderBottomWidth),t&&i.push(n.marginTop,n.marginBottom),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}function a(e,t=!1){const n=getComputedStyle(e),i=[n.width];return"border-box"!==n.boxSizing&&i.push(n.paddingLeft,n.paddingRight,n.borderLeftWidth,n.borderRightWidth),t&&i.push(n.marginLeft,n.marginRight),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}n.d(t,{outerHeight:()=>i,outerWidth:()=>a})},64378:(e,t,n)=>{"use strict";n.d(t,{UnderlineButtonTabs:()=>se});var i,a=n(50959),s=n(97754),l=n.n(s),r=n(44352);!function(e){e.StartFirst="start-first",e.EndFirst="end-first"}(i||(i={}));var o=n(67842),c=n(56073),u=n(78869),d=n(43010),m=n(53017);function b(e){const{itemsList:t,getItemId:n,calcVisibleAndHiddenItems:i,shouldKeepItemVisible:s,onMeasureCallback:l,forceUpdate:r=!1}=e,[b,h]=(0,u.useRefsMap)(),v=(0,a.useRef)(null),g=(0,a.useRef)({widthsMap:new Map,containerWidth:0,moreButtonWidth:0}),[p,C]=(0,a.useState)({visible:t,hidden:[]}),k=(0,a.useMemo)((()=>t.reduce(((e,t,n)=>(s(t)&&e.push(n),e)),[])),[t,s]),w=(0,a.useCallback)((()=>{const e=i(g.current,k);(function(e,t){return!f(e.visible,t.visible)||!f(e.hidden,t.hidden)})(p,e)&&C(e)}),[g,C,p,k,i]),x=(0,a.useCallback)((()=>{g.current.moreButtonWidth=v.current?(0,c.outerWidth)(v.current,!0):0;const e=new Map(g.current.widthsMap);for(const i of t){const t=n(i),a=b.current.get(t);if(a){const n=(0,c.outerWidth)(a,!0);e.set(t,n)}}g.current.widthsMap=e,l&&l()}),[g,t,n,b,l]),y=(0,a.useRef)(null),A=(0,a.useCallback)((([e])=>{e.contentRect.width!==g.current.containerWidth&&(y.current&&cancelAnimationFrame(y.current),
|
||||
g.current.containerWidth=e.contentRect.width,y.current=requestAnimationFrame((()=>{w()})))}),[g,w]),I=(0,a.useRef)(null),R=(0,a.useCallback)((([e])=>{I.current&&cancelAnimationFrame(I.current),x(),I.current=requestAnimationFrame((()=>{w()}))}),[x,w]),z=(0,o.useResizeObserver)(R),B=(0,o.useResizeObserver)(A),S=(0,a.useRef)(null),N=(0,m.mergeRefs)([B,S]),E=(0,a.useRef)(t),W=(0,a.useRef)(!0),H=(0,a.useRef)([]);return(0,d.useIsomorphicLayoutEffect)((()=>{!r&&!W.current&&f(E.current,t)&&f(k,H.current)||(w(),W.current=!1,E.current=t,H.current=k)}),[t,w,k,r]),{containerRefCallback:N,moreButtonRef:v,innerContainerRefCallback:z,itemsRefs:b,setItemRef:h,hiddenItems:p.hidden,visibleItems:p.visible,itemsMeasurements:g}}function f(e,t){return e.length===t.length&&e.reduce(((e,n,i)=>e&&n===t[i]),!0)}function h(e,t,n,s=i.EndFirst){const l=(0,a.useCallback)(((n,a)=>{const l=e.map((e=>{var i;return null!==(i=n.widthsMap.get(t(e)))&&void 0!==i?i:0}));return function({items:e,containerWidth:t,elementsWidths:n,menuItemWidth:a,keepVisible:s,direction:l}){const r=[...e],o=[],c=[];let u=0;for(const e of n)u+=e;if(u<=t)return{visible:r,hidden:c};const d=[...n];if(u=s.map((e=>d[e])).reduce(((e,t)=>e+t),0)+a,l===i.EndFirst)for(let e=0;e<r.length;e++)s.includes(e)?o.push(r[e]):(u+=d[e],u<=t?o.push(r[e]):c.push(r[e]));else for(let e=r.length-1;e>=0;e--)s.includes(e)?o.unshift(r[e]):(u+=d[e],u<=t?o.unshift(r[e]):c.unshift(r[e]));return{visible:o,hidden:c}}({items:e,containerWidth:n.containerWidth,elementsWidths:l,menuItemWidth:n.moreButtonWidth,keepVisible:a,direction:s})}),[e]);return b({itemsList:e,getItemId:t,calcVisibleAndHiddenItems:l,shouldKeepItemVisible:n})}var v,g=n(38528),p=n(47201),C=n(7953),k=n(22064);function w(e,t,n,i,a){return{id:e,role:"tablist","aria-orientation":t,"aria-label":a,"aria-labelledby":i,"aria-disabled":n}}function x(e,t,n,i,a){return{id:e,role:"tab",tabIndex:t?0:-1,disabled:a,"aria-selected":n,"aria-controls":i,"aria-disabled":a}}!function(e){e.SquareButtonTabs="square-button-tabs",e.UnderlineButtonTabs="underline-button-tabs",e.UnderlineAnchorTabs="underline-anchor-tabs",e.RoundAnchorTabs="round-anchor-tabs",e.RoundButtonTabs="round-button-tabs",e.LightButtonTabs="light-button-tabs"}(v||(v={}));var y=n(29202),A=n(16921),I=n(50151),R=n(66686),z=n(36762);function B(){return!1}function S(e){const{activationType:t="manual"}=e,n=(0,a.useMemo)((()=>t),[]);return(0,I.assert)(t===n,"Activation type must be invariant."),"automatic"===t?function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r,isCollapsed:o=B}=e,c=(0,a.useCallback)((e=>{l(e),o(e)||r(e)}),[l,r,o]);return(0,R.useKeyboardEventHandler)([(0,z.useItemsKeyboardNavigation)(t,n,s,c,!0)],i)}(e):function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r}=e,o=n.find(s),c=(0,a.useCallback)((()=>{void 0!==o&&r(o)}),[o,r]),u=(0,a.useCallback)((e=>l(e)),[l]),d=(0,z.useItemsKeyboardNavigation)(t,n,s,u,!0),m=(0,R.useKeyboardActionHandler)([13,32],c);return(0,
|
||||
R.useKeyboardEventHandler)([d,m],i)}(e)}var N=n(5325);function E(e){const{id:t,items:n,orientation:i="horizontal",activationType:s="manual",disabled:l,tablistLabelId:r,tablistLabel:o,focusOnHighlight:c=!0,preventDefaultIfKeyboardActionHandled:u=!0,scrollIntoViewOptions:d,isActive:m,onActivate:b,isCollapsed:f,isRtl:h}=e,v=function(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}(),g=(0,a.useRef)(new Map),[C,I]=(0,a.useState)(),[R,z]=(0,y.useFocus)(),B=n.find(m),E=(0,a.useCallback)((e=>!l&&!e.disabled&&e===C),[l,C]),W=(0,a.useCallback)((e=>{const t=g.current.get(e);c&&void 0!==t&&t!==document.activeElement&&t.focus()}),[c,g]),H=(0,a.useRef)(),O=(0,a.useCallback)(((e,t)=>{l||e.disabled||(I(e),"number"==typeof t?(clearTimeout(H.current),H.current=setTimeout((()=>W(e)),t)):W(e))}),[l,E,I,W]),T=(0,a.useCallback)((e=>{l||e.disabled||(b(e),E(e)||O(e))}),[l,m,b,E,O]),F=S({isRtl:h,items:(0,a.useMemo)((()=>n.filter((e=>!l&&!e.disabled))),[n,l]),activationType:s,preventDefaultIfHandled:u,onActivate:T,isHighlighted:E,onHighlight:O,isCollapsed:f}),M=(0,a.useCallback)((e=>{let t=null;for(const[n,i]of g.current.entries())if(e.target===i){t=n;break}t&&!E(t)&&("automatic"===s&&f&&!f(t)?T(t):O(t))}),[s,g,E,O,T,f]);(0,a.useEffect)((()=>{v||void 0!==B&&I(B)}),[B,v]),(0,a.useEffect)((()=>{R||I(void 0)}),[R]),(0,a.useEffect)((()=>()=>clearTimeout(H.current)),[]);const[Y,L]=(0,A.useKeepActiveItemIntoView)({...d,activeItem:null!=C?C:B,getKey:(0,a.useCallback)((e=>e.id),[])}),K=(0,a.useCallback)(((e,t)=>{L(e,t),null!==t?g.current.set(e,t):g.current.delete(e)}),[L,g]);var D;return{tabsBindings:n.map((e=>{var t,n;const i=E(e),a=m(e),s=null!==(n=null!==(t=e.disabled)&&void 0!==t?t:l)&&void 0!==n&&n,r=!s&&(R?i:a);return{...x(e.id,r,a,e.tabpanelId,s),highlighted:i,active:a,handleItemRef:K}})),tablistBinding:{...w((D=t,(0,k.createDomId)(D,"tablist")),i,l,r,o),onBlur:z.onBlur,onFocus:(0,p.createSafeMulticastEventHandler)(z.onFocus,M),onKeyDown:F},scrollWrapBinding:{ref:Y},onActivate:T,onHighlight:O,isHighlighted:E}}var W=n(26597);const H=(0,a.createContext)("small");var O=n(17946),T=n(25164);function F(e){const{size:t="xsmall",active:n,fake:i,enableActiveStateStyles:a,anchor:l=!1,hideFocusOutline:r=!1,className:o}=e;return s(T["underline-tab"],T[`size-${t}`],n&&T.selected,!a&&T["disable-active-state-styles"],r&&T["disable-focus-outline"],i&&T.fake,l&&T["enable-cursor-pointer"],o)}const M=(0,a.forwardRef)(((e,t)=>{const n=(0,a.useContext)(H),i=(0,a.useContext)(O.CustomBehaviourContext),{active:s,fake:l,className:r,enableActiveStateStyles:o=i.enableActiveStateStyles,hideFocusOutline:c=!1,...u}=e;return a.createElement("button",{...u,ref:t,className:F({size:n,active:s,fake:l,enableActiveStateStyles:o,hideFocusOutline:c,className:r})})}));M.displayName="UnderlineTabsBaseButton";const Y=(0,a.forwardRef)(((e,t)=>{const{item:n,highlighted:i,handleItemRef:s,onClick:l,"aria-disabled":r,...o}=e,c=(0,a.useCallback)((()=>{l&&l(n)}),[l,n]),u=(0,a.useCallback)((e=>{s&&s(n,e),
|
||||
t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[n,s,t]);return a.createElement(M,{...o,id:n.id,onClick:c,ref:u},n.label)}));Y.displayName="UnderlineButtonTab";var L=n(16396),K=n(4523),D=n(9745),P=n(47531),j=n(2948),X=n(63509),J=n(68874),V=n(85200);function U(e){switch(e){case"xsmall":return P;case"small":return j;case"medium":case"large":return X;case"xlarge":return J}}function q(e){const{size:t,isDropped:n=!1}=e;return a.createElement(D.Icon,{icon:U(t),className:s(V["arrow-icon"],V[`size-${t}`],n&&V.dropped)})}var $=n(45015);function Z(e){const{size:t,disabled:n,isOpened:i,enableActiveStateStyles:s,hideFocusOutline:l,fake:r,items:o,buttonContent:c,buttonRef:u,isAnchorTabs:d,isHighlighted:m,onButtonClick:b,onItemClick:f,onClose:h}=e,v=(0,a.useRef)(null),p=(0,g.useMergedRefs)([u,v]),C=function(e,t){const n=(0,a.useRef)(Q);return(0,a.useEffect)((()=>{const e=getComputedStyle((0,I.ensureNotNull)(t.current));n.current={xsmall:G(e,"xsmall"),small:G(e,"small"),medium:G(e,"medium"),large:G(e,"large"),xlarge:G(e,"xlarge")}}),[t]),(0,a.useCallback)((()=>{const i=(0,I.ensureNotNull)(t.current).getBoundingClientRect(),a=n.current[e];return{x:i.left,y:i.top+i.height+a+4,indentFromWindow:{top:4,bottom:4,left:4,right:4}}}),[t,e])}(t,v);return a.createElement(K.PopupMenuDisclosureView,{buttonRef:v,listboxTabIndex:-1,isOpened:i,onClose:h,listboxAria:{"aria-hidden":!0},popupPosition:C,button:a.createElement(M,{"aria-hidden":!0,disabled:n,active:i,onClick:b,ref:p,tabIndex:-1,enableActiveStateStyles:s,hideFocusOutline:l,fake:r},c,a.createElement(q,{size:t,isDropped:i})),popupChildren:o.map((e=>a.createElement(L.PopupMenuItem,{key:e.id,className:d?$["link-item"]:void 0,onClick:f,onClickArg:e,isActive:m(e),label:e.label,isDisabled:e.disabled,link:"href"in e?e.href:void 0,rel:"rel"in e?e.rel:void 0,target:"target"in e?e.target:void 0,renderComponent:"renderComponent"in e?e.renderComponent:void 0,dontClosePopup:!0})))})}function G(e,t){return parseInt(e.getPropertyValue(`--ui-lib-underline-tabs-tab-margin-bottom-${t}`),10)}const Q={xsmall:0,small:0,medium:0,large:0,xlarge:0};function _(e,t=!1){const[n,i]=(0,a.useState)(t);return(0,a.useEffect)((()=>{const t=window.matchMedia(e);function n(){i(t.matches)}return n(),t.addListener(n),()=>{t.removeListener(n)}}),[e]),n}var ee=n(86240),te=n(79877);function ne(e){const{size:t,overflowBehaviour:n,className:i}=e;return s(te["scroll-wrap"],te[`size-${t}`],"scroll"===n&&te["enable-scroll"],i)}function ie(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}var ae=n(38223);function se(e){const{id:t,items:i,activationType:s,orientation:o,disabled:c,moreButtonContent:u=r.t(null,void 0,n(41610)),size:d="small",onActivate:m,isActive:b,className:f,style:v,overflowBehaviour:k,enableActiveStateStyles:w,tablistLabelId:x,tablistLabel:y,"data-name":A="underline-tabs-buttons",stretchTabs:I}=e,R=ie(),z=function(e){const t=_(ee["media-mf-phone-landscape"],!0),n=ie();return null!=e?e:n||!t?"scroll":"collapse"}(k),B=(0,a.useRef)(!1),S=(0,
|
||||
a.useCallback)((e=>e.id),[]),N="none"===z&&I,O=null!=w?w:!R,{visibleItems:T,hiddenItems:F,containerRefCallback:M,innerContainerRefCallback:L,moreButtonRef:K,setItemRef:D}=h(i,S,b),P="collapse"===z?T:i,j="collapse"===z?F:[],X=(0,a.useCallback)((e=>j.includes(e)),[j]),{tabsBindings:J,tablistBinding:V,scrollWrapBinding:U,onActivate:q,onHighlight:$,isHighlighted:G}=E({id:t,items:[...P,...j],activationType:s,orientation:o,disabled:c,tablistLabelId:x,tablistLabel:y,onActivate:m,isActive:b,isCollapsed:X,isRtl:ae.isRtl}),Q=j.find(G),se=(0,a.useCallback)((()=>{const e=i.find(b);e&&$(e)}),[$,b,i]),le=(0,a.useCallback)((e=>{var t;return null!==(t=J.find((t=>t.id===e.id)))&&void 0!==t?t:{}}),[i,J]),{isOpened:re,open:oe,close:ce,onButtonClick:ue}=(0,C.useDisclosure)({id:t,disabled:c}),de=(0,a.useCallback)((()=>{ce(),se(),B.current=!0}),[ce,se]),me=(0,a.useCallback)((()=>{Q&&(q(Q),$(Q,200))}),[q,$,Q]);U.ref=(0,g.useMergedRefs)([U.ref,M]),V.ref=(0,g.useMergedRefs)([V.ref,L]),V.onKeyDown=(0,p.createSafeMulticastEventHandler)((0,W.useKeyboardEventHandler)([(0,W.useKeyboardClose)(re,de),(0,W.useKeyboardActionHandler)([13,32],me,(0,a.useCallback)((()=>Boolean(Q)),[Q]))]),V.onKeyDown);const be=(0,a.useCallback)((e=>{B.current=!0,ue(e)}),[B,ue]),fe=(0,a.useCallback)((e=>{e&&q(e)}),[q]);return(0,a.useEffect)((()=>{B.current?B.current=!1:(Q&&!re&&oe(),!Q&&re&&ce())}),[Q,re,oe,ce]),a.createElement(H.Provider,{value:d},a.createElement("div",{...U,className:ne({size:d,overflowBehaviour:z,className:f}),style:v,"data-name":A},a.createElement("div",{...V,className:l()(te["underline-tabs"],N&&te["stretch-tabs"])},P.map((e=>a.createElement(Y,{...le(e),className:l()(N&&te["stretch-tab-item"]),key:e.id,item:e,onClick:()=>q(e),enableActiveStateStyles:O,hideFocusOutline:R,ref:D(S(e)),...e.dataId&&{"data-id":e.dataId}}))),j.map((e=>a.createElement(Y,{...le(e),key:e.id,item:e,fake:!0}))),a.createElement(Z,{size:d,disabled:c,isOpened:re,items:j,buttonContent:u,buttonRef:K,isHighlighted:G,onButtonClick:be,onItemClick:fe,onClose:ce,enableActiveStateStyles:O,hideFocusOutline:R,fake:0===j.length}))))}var le=n(38952);function re(e){return a.createElement("a",{...(0,le.renameRef)(e)})}(0,a.forwardRef)(((e,t)=>{var n;const i=(0,a.useContext)(H),s=(0,a.useContext)(O.CustomBehaviourContext),{item:l,highlighted:r,handleItemRef:o,onClick:c,active:u,fake:d,className:m,enableActiveStateStyles:b=s.enableActiveStateStyles,hideFocusOutline:f=!1,disabled:h,"aria-disabled":v,...g}=e,p=(0,a.useCallback)((e=>{v?e.preventDefault():c&&c(l)}),[c,v,l]),C=(0,a.useCallback)((e=>{o&&o(l,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[l,o,t]),k=null!==(n=l.renderComponent)&&void 0!==n?n:re;return a.createElement(k,{...g,id:l.id,"aria-disabled":v,onClick:p,reference:C,href:l.href,rel:l.rel,target:l.target,className:F({size:i,active:u,fake:d,enableActiveStateStyles:b,anchor:!0,hideFocusOutline:f,className:m})},l.label)})).displayName="UnderlineAnchorTab"},47531:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="m4.67 7.38.66-.76L9 9.84l3.67-3.22.66.76L9 11.16 4.67 7.38Z"/></svg>'},63509:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M8.38 11.78a1 1 0 0 0 1.24 0l5-4a1 1 0 1 0-1.24-1.56L9 9.72l-4.38-3.5a1 1 0 1 0-1.24 1.56l5 4Z"/></svg>'},68874:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M7.3 10.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z"/></svg>'}}]);
|
||||
9
charting_library/bundles/4403.bf44a542113a4440984b.js
Normal file
9
charting_library/bundles/4403.bf44a542113a4440984b.js
Normal file
@@ -0,0 +1,9 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4403],{1414:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","color-black-friday":"color-black-friday-D4RPB3ZC","color-cyber-monday":"color-cyber-monday-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},81026:e=>{e.exports={container:"container-WDZ0PRNh","container-xxsmall":"container-xxsmall-WDZ0PRNh","container-xsmall":"container-xsmall-WDZ0PRNh","container-small":"container-small-WDZ0PRNh","container-medium":"container-medium-WDZ0PRNh","container-large":"container-large-WDZ0PRNh","intent-default":"intent-default-WDZ0PRNh",focused:"focused-WDZ0PRNh",readonly:"readonly-WDZ0PRNh",disabled:"disabled-WDZ0PRNh","with-highlight":"with-highlight-WDZ0PRNh",grouped:"grouped-WDZ0PRNh","adjust-position":"adjust-position-WDZ0PRNh","first-row":"first-row-WDZ0PRNh","first-col":"first-col-WDZ0PRNh",stretch:"stretch-WDZ0PRNh","font-size-medium":"font-size-medium-WDZ0PRNh","font-size-large":"font-size-large-WDZ0PRNh","no-corner-top-left":"no-corner-top-left-WDZ0PRNh","no-corner-top-right":"no-corner-top-right-WDZ0PRNh","no-corner-bottom-right":"no-corner-bottom-right-WDZ0PRNh","no-corner-bottom-left":"no-corner-bottom-left-WDZ0PRNh","size-xxsmall":"size-xxsmall-WDZ0PRNh","size-xsmall":"size-xsmall-WDZ0PRNh","size-small":"size-small-WDZ0PRNh","size-medium":"size-medium-WDZ0PRNh","size-large":"size-large-WDZ0PRNh","intent-success":"intent-success-WDZ0PRNh","intent-warning":"intent-warning-WDZ0PRNh","intent-danger":"intent-danger-WDZ0PRNh","intent-primary":"intent-primary-WDZ0PRNh","border-none":"border-none-WDZ0PRNh","border-thin":"border-thin-WDZ0PRNh","border-thick":"border-thick-WDZ0PRNh",highlight:"highlight-WDZ0PRNh",shown:"shown-WDZ0PRNh"}},7236:e=>{e.exports={"inner-slot":"inner-slot-W53jtLjw",interactive:"interactive-W53jtLjw",
|
||||
icon:"icon-W53jtLjw","inner-middle-slot":"inner-middle-slot-W53jtLjw","before-slot":"before-slot-W53jtLjw","after-slot":"after-slot-W53jtLjw"}},30930:e=>{e.exports={input:"input-RUSovanF","size-xxsmall":"size-xxsmall-RUSovanF","size-xsmall":"size-xsmall-RUSovanF","size-small":"size-small-RUSovanF","size-medium":"size-medium-RUSovanF","size-large":"size-large-RUSovanF","with-start-slot":"with-start-slot-RUSovanF","with-end-slot":"with-end-slot-RUSovanF"}},83073:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-PhMf7PhQ",submitButton:"submitButton-PhMf7PhQ",buttons:"buttons-PhMf7PhQ"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>y});var o=n(50959),r=n(97754),l=n(95604),s=n(9745),i=n(1414),a=n.n(i);const c="apply-overflow-tooltip apply-overflow-tooltip--check-children-recursively apply-overflow-tooltip--allow-text";function u(e){const{color:t="brand",size:n="medium",variant:o="primary",stretch:s=!1,icon:i,startIcon:u,endIcon:d,iconOnly:h=!1,className:m,isGrouped:f,cellState:p,disablePositionAdjustment:b=!1,primaryText:g,secondaryText:C,isAnchor:R=!1}=e,v=function(e){let t="";return 0!==e&&(1&e&&(t=r(t,a()["no-corner-top-left"])),2&e&&(t=r(t,a()["no-corner-top-right"])),4&e&&(t=r(t,a()["no-corner-bottom-right"])),8&e&&(t=r(t,a()["no-corner-bottom-left"]))),t}((0,l.getGroupCellRemoveRoundBorders)(p));return r(m,a().button,a()[`size-${n}`],a()[`color-${t}`],a()[`variant-${o}`],s&&a().stretch,(i||u)&&a()["with-start-icon"],d&&a()["with-end-icon"],h&&a()["icon-only"],v,f&&a().grouped,f&&!b&&a()["adjust-position"],f&&p.isTop&&a()["first-row"],f&&p.isLeft&&a()["first-col"],g&&C&&a()["multiline-content"],R&&a().link,c)}function d(e){const{startIcon:t,icon:n,iconOnly:l,children:i,endIcon:u,primaryText:d,secondaryText:h}=e,m=null!=t?t:n,f=!(t||n||u||l)&&!i&&d&&h;return o.createElement(o.Fragment,null,m&&o.createElement(s.Icon,{icon:m,className:a()["start-icon-wrap"]}),i&&o.createElement("span",{className:a().content},i),u&&!l&&o.createElement(s.Icon,{icon:u,className:a()["end-icon-wrap"]}),f&&function(e){return e.primaryText&&e.secondaryText&&o.createElement("div",{className:r(a()["text-wrap"],c)},o.createElement("span",{className:a()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?o.createElement("span",{className:a()["secondary-text"]}," ",e.secondaryText," "):o.createElement("span",{className:a()["secondary-text"]},o.createElement("span",null,e.secondaryText.firstLine),o.createElement("span",null,e.secondaryText.secondLine)))}(e))}var h=n(34094),m=n(86332),f=n(90186);function p(e){const{className:t,color:n,variant:o,size:r,stretch:l,animated:s,icon:i,iconOnly:a,startIcon:c,endIcon:u,primaryText:d,secondaryText:h,...m}=e;return{...m,...(0,f.filterDataProps)(e),...(0,f.filterAriaProps)(e)}}function b(e){const{reference:t,tooltipText:n,...r}=e,{isGrouped:l,cellState:s,disablePositionAdjustment:i}=(0,o.useContext)(m.ControlGroupContext),a=u({...r,isGrouped:l,cellState:s,disablePositionAdjustment:i});return o.createElement("button",{...p(r),className:a,ref:t,
|
||||
"data-overflow-tooltip-text":null!=n?n:e.primaryText?[e.primaryText,e.secondaryText].join(" "):(0,h.getTextForTooltip)(e.children)},o.createElement(d,{...r}))}function g(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function C(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function R(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function v(e){const{intent:t,size:n,appearance:o,useFullWidth:r,icon:l,...s}=e;return{...s,color:C(t),size:R(n),variant:g(o),stretch:r,startIcon:l}}function y(e){return o.createElement(b,{...v(e)})}},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>C,InputClasses:()=>p});var o=n(50959),r=n(97754),l=n(50151),s=n(38528),i=n(90186),a=n(86332),c=n(95604);var u=n(81026),d=n.n(u);function h(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function m(e,t,n,o){const{removeRoundBorder:l,className:s,intent:i="default",borderStyle:a="thin",size:u,highlight:m,disabled:f,readonly:p,stretch:b,noReadonlyStyles:g,isFocused:C}=e,R=h(null!=l?l:(0,c.getGroupCellRemoveRoundBorders)(n));return r(d().container,d()[`container-${u}`],d()[`intent-${i}`],d()[`border-${a}`],u&&d()[`size-${u}`],R,m&&d()["with-highlight"],f&&d().disabled,p&&!g&&d().readonly,C&&d().focused,b&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],s)}function f(e,t,n){const{highlight:o,highlightRemoveRoundBorder:l}=e;if(!o)return d().highlight;const s=h(null!=l?l:(0,c.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,d()[`size-${n}`],s)}const p={FontSizeMedium:(0,l.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,l.ensureDefined)(d()["font-size-large"])},b={passive:!1};function g(e,t){const{style:n,id:r,role:l,onFocus:c,onBlur:u,onMouseOver:d,onMouseOut:h,onMouseDown:p,onMouseUp:g,onKeyDown:C,onClick:R,tabIndex:v,startSlot:y,middleSlot:x,endSlot:D,onWheel:P,onWheelNoPassive:S=null,size:w}=e,{isGrouped:N,cellState:B,disablePositionAdjustment:z=!1}=(0,o.useContext)(a.ControlGroupContext),Z=function(e,t=null,n){const r=(0,o.useRef)(null),l=(0,o.useRef)(null),s=(0,o.useCallback)((()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.addEventListener(e,t,n)}),[]),i=(0,o.useCallback)((()=>{if(null===r.current||null===l.current)return;const[e,t,n]=l.current;null!==t&&r.current.removeEventListener(e,t,n)}),[]),a=(0,o.useCallback)((e=>{i(),r.current=e,s()}),[]);return(0,o.useEffect)((()=>(l.current=[e,t,n],s(),i)),[e,t,n]),a}("wheel",S,b);return o.createElement("span",{style:n,id:r,role:l,
|
||||
className:m(e,N,B,z),tabIndex:v,ref:(0,s.useMergedRefs)([t,Z]),onFocus:c,onBlur:u,onMouseOver:d,onMouseOut:h,onMouseDown:p,onMouseUp:g,onKeyDown:C,onClick:R,onWheel:P,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)},y,x,D,o.createElement("span",{className:f(e,B,w)}))}g.displayName="ControlSkeleton";const C=o.forwardRef(g)},78274:(e,t,n)=>{"use strict";n.d(t,{AfterSlot:()=>u,EndSlot:()=>c,MiddleSlot:()=>a,StartSlot:()=>i});var o=n(50959),r=n(97754),l=n(7236),s=n.n(l);function i(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function a(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["inner-slot"],s()["inner-middle-slot"],t)},n)}function c(e){const{className:t,interactive:n=!0,icon:l=!1,children:i}=e;return o.createElement("span",{className:r(s()["inner-slot"],n&&s().interactive,l&&s().icon,t)},i)}function u(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(s()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>C});var o=n(50959),r=n(97754),l=n(90186),s=n(47201),i=n(48907),a=n(38528),c=n(48027),u=n(29202),d=n(45812),h=n(67029),m=n(78274),f=n(30930),p=n.n(f);function b(e){return!(0,l.isAriaAttribute)(e)&&!(0,l.isDataAttribute)(e)}function g(e){const{id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:f,draggable:g,autoComplete:C,autoFocus:R,maxLength:v,min:y,max:x,step:D,pattern:P,inputMode:S,onSelect:w,onFocus:N,onBlur:B,onKeyDown:z,onKeyUp:Z,onKeyPress:E,onChange:k,onDragStart:F,size:W="small",className:M,inputClassName:_,disabled:T,readonly:I,containerTabIndex:K,startSlot:O,endSlot:A,reference:j,containerReference:H,onContainerFocus:L,...U}=e,G=(0,l.filterProps)(U,b),V={...(0,l.filterAriaProps)(U),...(0,l.filterDataProps)(U),id:t,title:n,role:s,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:f,draggable:g,autoComplete:C,autoFocus:R,maxLength:v,min:y,max:x,step:D,pattern:P,inputMode:S,onSelect:w,onFocus:N,onBlur:B,onKeyDown:z,onKeyUp:Z,onKeyPress:E,onChange:k,onDragStart:F};return o.createElement(h.ControlSkeleton,{...G,disabled:T,readonly:I,tabIndex:K,className:r(p().container,M),size:W,ref:H,onFocus:L,startSlot:O,middleSlot:o.createElement(m.MiddleSlot,null,o.createElement("input",{...V,className:r(p().input,p()[`size-${W}`],_,O&&p()["with-start-slot"],A&&p()["with-end-slot"]),disabled:T,readOnly:I,ref:j})),endSlot:A})}function C(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:l,onBlur:h,reference:m,containerReference:f=null}=e,p=(0,o.useRef)(null),b=(0,o.useRef)(null),[C,R]=(0,u.useFocus)(),v=t?void 0:C?-1:r,y=t?void 0:C?r:-1,{isMouseDown:x,handleMouseDown:D,handleMouseUp:P}=(0,d.useIsMouseDown)(),S=(0,s.createSafeMulticastEventHandler)(R.onFocus,(function(e){n&&!x.current&&(0,i.selectAllContent)(e.currentTarget)}),l),w=(0,s.createSafeMulticastEventHandler)(R.onBlur,h),N=(0,o.useCallback)((e=>{p.current=e,m&&("function"==typeof m&&m(e),
|
||||
"object"==typeof m&&(m.current=e))}),[p,m]);return o.createElement(g,{...e,isFocused:C,containerTabIndex:v,tabIndex:y,onContainerFocus:function(e){b.current===e.target&&null!==p.current&&p.current.focus()},onFocus:S,onBlur:w,reference:N,containerReference:(0,a.useMergedRefs)([b,f]),onMouseDown:D,onMouseUp:P})}},66686:(e,t,n)=>{"use strict";n.d(t,{useComposedKeyboardActionHandlers:()=>i,useKeyboardActionHandler:()=>s,useKeyboardClose:()=>u,useKeyboardEventHandler:()=>a,useKeyboardOpen:()=>d,useKeyboardToggle:()=>c});var o=n(50959),r=n(3343);const l=()=>!0;function s(e,t,n=l,r){return(0,o.useCallback)((o=>{if(r){if("horizontal"===r&&(40===o||38===o))return;if("vertical"===r&&(37===o||39===o))return}const l=e.map((e=>"function"==typeof e?e():e));return!(!n(o)||!l.includes(o))&&(t(o),!0)}),[...e,t,n])}function i(...e){return(0,o.useCallback)((t=>{for(const n of e)if(n(t))return!0;return!1}),[...e])}function a(e,t=!0){const n=i(...e);return(0,o.useCallback)((e=>{n((0,r.hashFromEvent)(e))&&t&&e.preventDefault()}),[n])}function c(e,t=!0){return s([13,32],e,(function(e){if(13===e)return t;return!0}))}function u(e,t){return s([9,(0,o.useCallback)((()=>r.Modifiers.Shift+9),[]),27],t,(0,o.useCallback)((()=>e),[e]))}function d(e,t){return s([40,38],t,(0,o.useCallback)((()=>!e),[e]))}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>l});var o=n(47201),r=n(29202);function l(e){const{onFocus:t,onBlur:n,intent:l,highlight:s,disabled:i}=e,[a,c]=(0,r.useFocus)(void 0,i),u=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onBlur,n);return{...e,intent:l||(a?"primary":"default"),highlight:null!=s?s:a,onFocus:u,onBlur:d}}},7953:(e,t,n)=>{"use strict";n.d(t,{useDisclosure:()=>c});var o=n(50959),r=n(50151),l=n(54717),s=n(29202),i=n(47201),a=n(22064);function c(e){const{id:t,listboxId:n,disabled:c,buttonTabIndex:u=0,onFocus:d,onBlur:h,onClick:m}=e,[f,p]=(0,o.useState)(!1),[b,g]=(0,s.useFocus)(),C=b||f,R=(null!=n?n:void 0!==t)?(0,a.createDomId)(t,"listbox"):void 0,v=(0,o.useRef)(null),y=(0,o.useCallback)((e=>{var t;return null===(t=v.current)||void 0===t?void 0:t.focus(e)}),[v]),x=(0,o.useRef)(null),D=(0,o.useCallback)((()=>(0,r.ensureNotNull)(x.current).focus()),[x]),P=(0,o.useCallback)((()=>p(!0)),[p]),S=(0,o.useCallback)(((e=!1,t=!1)=>{p(!1);const{activeElement:n}=document;n&&(0,l.isTextEditingField)(n)||t||y({preventScroll:e})}),[p,y]),w=(0,o.useCallback)((()=>{f?S():P()}),[f,S,P]),N=c?[]:[d,g.onFocus],B=c?[]:[h,g.onBlur],z=c?[]:[m,w],Z=(0,i.createSafeMulticastEventHandler)(...N),E=(0,i.createSafeMulticastEventHandler)(...B),k=(0,i.createSafeMulticastEventHandler)(...z);return{listboxId:R,isOpened:f,isFocused:C,buttonTabIndex:c?-1:u,listboxTabIndex:-1,open:P,close:S,toggle:w,onOpen:D,buttonFocusBindings:{onFocus:Z,onBlur:E},onButtonClick:k,buttonRef:v,listboxRef:x,buttonAria:{"aria-controls":f?R:void 0,"aria-expanded":f,"aria-disabled":c}}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(50959);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)((()=>{
|
||||
t&&n&&r(!1)}),[t,n]);const l={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,l]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(50959);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)((()=>{e.current=!0}),[e]),n=(0,o.useCallback)((()=>{e.current=!1}),[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},36762:(e,t,n)=>{"use strict";n.d(t,{useItemsKeyboardNavigation:()=>s});var o=n(50959),r=n(66686);function l(e,t){return e>=0?e%t:(t-Math.abs(e)%t)%t}function s(e,t,n,s,i,a,c={},u){const d=(0,o.useCallback)((e=>{const t=n.findIndex(s);if(t===n.length-1&&!a)return void((null==u?void 0:u.onFailNext)&&u.onFailNext(e));const o=l(t+1,n.length);i&&i(n[o],"next")}),[n,s,i,a]),h=(0,o.useCallback)((e=>{const t=n.findIndex(s);if(0===t&&!a)return void((null==u?void 0:u.onFailPrev)&&u.onFailPrev(e));const o=l(t-1,n.length);i&&i(n[o],"previous")}),[n,s,i,a]),m=(0,o.useCallback)((()=>{i&&i(n[0],"first")}),[i,n]),f=(0,o.useCallback)((()=>{i&&i(n[n.length-1],"last")}),[i,n]),p=(0,o.useMemo)((()=>(e=>({next:[40,()=>e()?37:39],previous:[38,()=>e()?39:37],first:[33,()=>e()?35:36],last:[34,()=>e()?36:35]}))(t)),[t]),{next:b=p.next,previous:g=p.previous,first:C=p.first,last:R=p.last}=c;return(0,r.useComposedKeyboardActionHandlers)((0,r.useKeyboardActionHandler)(b,d,(()=>!0),e),(0,r.useKeyboardActionHandler)(g,h,(()=>!0),e),(0,r.useKeyboardActionHandler)(C,m,(()=>!0),e),(0,r.useKeyboardActionHandler)(R,f,(()=>!0),e))}},16921:(e,t,n)=>{"use strict";n.d(t,{useKeepActiveItemIntoView:()=>d});var o=n(50959),r=n(50151),l=n(74991);const s={duration:200,additionalScroll:0},i={vertical:{scrollSize:"scrollHeight",clientSize:"clientHeight",start:"top",end:"bottom",size:"height"},horizontal:{scrollSize:"scrollWidth",clientSize:"clientWidth",start:"left",end:"right",size:"width"}};function a(e,t){const n=i[e];return t[n.scrollSize]>t[n.clientSize]}function c(e,t,n,o,r,s){const a=function(e,t,n,o=0){const r=i[e];return{start:-1*o,middle:-1*(Math.floor(n[r.size]/2)-Math.floor(t[r.size]/2)),end:-1*(n[r.size]-t[r.size])+o}}(e,o,r,s.additionalScroll);let c=0;if(function(e,t,n){const o=i[e];return t[o.start]<n[o.start]-n[o.size]/2||t[o.end]>n[o.end]+n[o.size]/2}(e,o,r))c=a.middle;else{const t=function(e,t,n,o=0){const r=i[e],l=t[r.start]+Math.floor(t[r.size]/2),s=n[r.start]+Math.floor(n[r.size]/2);return{start:t[r.start]-n[r.start]-o,middle:l-s,end:t[r.end]-n[r.end]+o}}(e,o,r,s.additionalScroll),n=function(e){const{start:t,middle:n,end:o}=e,r=new Map([[Math.abs(t),{key:"start",value:Math.sign(t)}],[Math.abs(n),{key:"middle",value:Math.sign(n)}],[Math.abs(o),{key:"end",value:Math.sign(o)}]]),l=Math.min(...r.keys());return r.get(l)}(t);c=void 0!==n?a[n.key]:0}return function(e){const{additionalScroll:t=0,duration:n=l.dur,func:o=l.easingFunc.easeInOutCubic,onScrollEnd:r,target:s,wrap:i,direction:a="vertical"}=e;let{targetRect:c,wrapRect:u}=e;c=null!=c?c:s.getBoundingClientRect(),
|
||||
u=null!=u?u:i.getBoundingClientRect();const d=("vertical"===a?c.top-u.top:c.left-u.left)+t,h="vertical"===a?"scrollTop":"scrollLeft",m=i?i[h]:0;let f,p=0;return p=window.requestAnimationFrame((function e(t){let l;if(f?l=t-f:(l=0,f=t),l>=n)return i[h]=m+d,void(r&&r());const s=m+d*o(l/n);i[h]=Math.floor(s),p=window.requestAnimationFrame(e)})),function(){window.cancelAnimationFrame(p),r&&r()}}({...s,target:t,targetRect:o,wrap:n,wrapRect:r,additionalScroll:c,direction:e})}class u{constructor(e=null){this._container=null,this._lastScrolledElement=null,this._stopVerticalScroll=null,this._stopHorizontalScroll=null,this._container=e}scrollTo(e,t=s){if(null!==this._container&&null!==e&&!function(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom&&n.left>=o.left&&n.right<=o.right}(e,this._container)){const n=e.getBoundingClientRect(),o=this._container.getBoundingClientRect();this.stopScroll(),a("vertical",this._container)&&(this._stopVerticalScroll=c("vertical",e,this._container,n,o,this._modifyOptions("vertical",t))),a("horizontal",this._container)&&(this._stopHorizontalScroll=c("horizontal",e,this._container,n,o,this._modifyOptions("horizontal",t)))}this._lastScrolledElement=e}scrollToLastElement(e){this.scrollTo(this._lastScrolledElement,e)}stopScroll(){null!==this._stopVerticalScroll&&this._stopVerticalScroll(),null!==this._stopHorizontalScroll&&this._stopHorizontalScroll()}getContainer(){return this._container}setContainer(e){var t;this._container=e,(null===(t=this._container)||void 0===t?void 0:t.contains(this._lastScrolledElement))||(this._lastScrolledElement=null)}destroy(){this.stopScroll(),this._container=null,this._lastScrolledElement=null}_handleScrollEnd(e){"vertical"===e?this._stopVerticalScroll=null:this._stopHorizontalScroll=null}_modifyOptions(e,t){return Object.assign({},t,{onScrollEnd:()=>{this._handleScrollEnd(e),void 0!==t.onScrollEnd&&t.onScrollEnd()}})}}function d(e={}){const{activeItem:t,getKey:n,...l}=e,s=(0,o.useRef)(null),i=(0,o.useRef)(new Map),a=function(e){const t=(0,o.useRef)(null);return(0,o.useEffect)((()=>(t.current=new u(e),()=>(0,r.ensureNotNull)(t.current).destroy())),[]),t}(s.current),c=(0,o.useCallback)((()=>{null!==a.current&&null!==s.current&&a.current.getContainer()!==s.current&&a.current.setContainer(s.current)}),[a,s]),d=(0,o.useCallback)((e=>{s.current=e}),[s]),h=(0,o.useCallback)(((e,t)=>{const o=n?n(e):e;t?i.current.set(o,t):i.current.delete(o)}),[i,n]),m=(0,o.useCallback)(((e,t)=>{if(!e)return;const o=n?n(e):e,l=i.current.get(o);l&&(c(),(0,r.ensureNotNull)(a.current).scrollTo(l,t))}),[i,a,n]);return(0,o.useEffect)((()=>m(t,l)),[m,t]),[d,h,m]}},38528:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>l});var o=n(50959),r=n(53017);function l(e){return(0,o.useCallback)((0,r.mergeRefs)(e),e)}},22064:(e,t,n)=>{"use strict";n.d(t,{createDomId:()=>a,joinDomIds:()=>c});const o=/\s/g;function r(e){return"string"==typeof e}function l(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":
|
||||
case"symbol":return e.toString();default:return null}}function s(e){return e.trim().length>0}function i(e){return e.replace(o,"-")}function a(...e){const t=e.map(l).filter(r).filter(s).map(i);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(l).filter(r).filter(s).join(" ")}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},50182:(e,t,n)=>{"use strict";n.d(t,{AdaptiveConfirmDialog:()=>h});var o=n(50959),r=n(97754),l=n.n(r),s=n(94720),i=n(50151),a=n(11542),c=n(68335),u=n(35057),d=n(83073);class h extends o.PureComponent{constructor(){super(...arguments),this._dialogRef=o.createRef(),this._handleClose=()=>{const{defaultActionOnClose:e,onSubmit:t,onCancel:n,onClose:o}=this.props;switch(e){case"submit":t();break;case"cancel":n()}o()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=e=>{const{onSubmit:t,submitButtonDisabled:n,submitOnEnterKey:o}=this.props;13===(0,c.hashFromEvent)(e)&&o&&(e.preventDefault(),n||t())}}render(){const{render:e,onClose:t,onSubmit:n,onCancel:r,footerLeftRenderer:l,submitButtonText:s,submitButtonDisabled:i,defaultActionOnClose:a,submitOnEnterKey:c,...d}=this.props;return o.createElement(u.AdaptivePopupDialog,{...d,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,i.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return e=>{const{render:t,footerLeftRenderer:r,additionalButtons:i,submitButtonText:c,submitButtonDisabled:u,onSubmit:h,cancelButtonText:m,showCancelButton:f=!0,submitButtonClassName:p,cancelButtonClassName:b,buttonsWrapperClassName:g}=this.props;return o.createElement(o.Fragment,null,t(e),o.createElement("div",{className:d.footer},r&&r(e.isSmallWidth),o.createElement("div",{className:l()(d.buttons,g)},i,f&&o.createElement(s.Button,{className:b,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=m?m:a.t(null,void 0,n(20036))),o.createElement("span",{className:d.submitButton},o.createElement(s.Button,{className:p,disabled:u,name:"submit",onClick:h,"data-name":"submit-button"},null!=c?c:a.t(null,void 0,n(68988)))))))}}}h.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},4523:(e,t,n)=>{"use strict";n.d(t,{PopupMenuDisclosureView:()=>u});var o=n(50959),r=n(20520),l=n(50151);const s={x:0,y:0};function i(e,t,n){return(0,o.useCallback)((()=>function(e,t,{x:n=s.x,y:o=s.y}=s){const r=(0,l.ensureNotNull)(e).getBoundingClientRect(),i={x:r.left+n,y:r.top+r.height+o,indentFromWindow:{top:4,bottom:4,left:4,right:4}};return t&&(i.overrideWidth=r.width),i}(e.current,t,n)),[e,t])}var a=n(86240);const c=parseInt(a["size-header-height"]);function u(e){
|
||||
const{button:t,popupChildren:n,buttonRef:l,listboxId:s,listboxClassName:a,listboxTabIndex:u,matchButtonAndListboxWidths:d,isOpened:h,scrollWrapReference:m,listboxReference:f,onClose:p,onOpen:b,onListboxFocus:g,onListboxBlur:C,onListboxKeyDown:R,listboxAria:v,repositionOnScroll:y=!0,closeOnHeaderOverlap:x=!1,popupPositionCorrection:D={x:0,y:0},popupPosition:P}=e,S=i(l,d,D),w=x?c:0;return o.createElement(o.Fragment,null,t,o.createElement(r.PopupMenu,{...v,id:s,className:a,tabIndex:u,isOpened:h,position:P||S,repositionOnScroll:y,onClose:p,onOpen:b,doNotCloseOn:l.current,reference:f,scrollWrapReference:m,onFocus:g,onBlur:C,onKeyDown:R,closeOnScrollOutsideOffset:w},n))}},26597:(e,t,n)=>{"use strict";n.d(t,{useKeyboardActionHandler:()=>o.useKeyboardActionHandler,useKeyboardClose:()=>o.useKeyboardClose,useKeyboardEventHandler:()=>o.useKeyboardEventHandler,useKeyboardOpen:()=>o.useKeyboardOpen,useKeyboardToggle:()=>o.useKeyboardToggle});var o=n(66686)}}]);
|
||||
@@ -1,9 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4403],{1414:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},81026:e=>{e.exports={container:"container-WDZ0PRNh","container-xxsmall":"container-xxsmall-WDZ0PRNh","container-xsmall":"container-xsmall-WDZ0PRNh","container-small":"container-small-WDZ0PRNh","container-medium":"container-medium-WDZ0PRNh","container-large":"container-large-WDZ0PRNh","intent-default":"intent-default-WDZ0PRNh",focused:"focused-WDZ0PRNh",readonly:"readonly-WDZ0PRNh",disabled:"disabled-WDZ0PRNh","with-highlight":"with-highlight-WDZ0PRNh",grouped:"grouped-WDZ0PRNh","adjust-position":"adjust-position-WDZ0PRNh","first-row":"first-row-WDZ0PRNh","first-col":"first-col-WDZ0PRNh",stretch:"stretch-WDZ0PRNh","font-size-medium":"font-size-medium-WDZ0PRNh","font-size-large":"font-size-large-WDZ0PRNh","no-corner-top-left":"no-corner-top-left-WDZ0PRNh","no-corner-top-right":"no-corner-top-right-WDZ0PRNh","no-corner-bottom-right":"no-corner-bottom-right-WDZ0PRNh","no-corner-bottom-left":"no-corner-bottom-left-WDZ0PRNh","size-xxsmall":"size-xxsmall-WDZ0PRNh","size-xsmall":"size-xsmall-WDZ0PRNh","size-small":"size-small-WDZ0PRNh","size-medium":"size-medium-WDZ0PRNh","size-large":"size-large-WDZ0PRNh","intent-success":"intent-success-WDZ0PRNh","intent-warning":"intent-warning-WDZ0PRNh","intent-danger":"intent-danger-WDZ0PRNh","intent-primary":"intent-primary-WDZ0PRNh","border-none":"border-none-WDZ0PRNh","border-thin":"border-thin-WDZ0PRNh","border-thick":"border-thick-WDZ0PRNh",highlight:"highlight-WDZ0PRNh",shown:"shown-WDZ0PRNh"}},7236:e=>{e.exports={"inner-slot":"inner-slot-W53jtLjw",interactive:"interactive-W53jtLjw",icon:"icon-W53jtLjw","inner-middle-slot":"inner-middle-slot-W53jtLjw","before-slot":"before-slot-W53jtLjw",
|
||||
"after-slot":"after-slot-W53jtLjw"}},30930:e=>{e.exports={input:"input-RUSovanF","size-xxsmall":"size-xxsmall-RUSovanF","size-xsmall":"size-xsmall-RUSovanF","size-small":"size-small-RUSovanF","size-medium":"size-medium-RUSovanF","size-large":"size-large-RUSovanF","with-start-slot":"with-start-slot-RUSovanF","with-end-slot":"with-end-slot-RUSovanF"}},83073:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-PhMf7PhQ",submitButton:"submitButton-PhMf7PhQ",buttons:"buttons-PhMf7PhQ"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>R});var o=n(50959),r=n(97754),s=n(95604),l=n(9745),i=n(1414),a=n.n(i);function c(e){const{color:t="brand",size:n="medium",variant:o="primary",stretch:l=!1,icon:i,startIcon:c,endIcon:u,iconOnly:d=!1,className:h,isGrouped:m,cellState:f,disablePositionAdjustment:p=!1,primaryText:b,secondaryText:g,isAnchor:C=!1}=e,R=function(e){let t="";return 0!==e&&(1&e&&(t=r(t,a()["no-corner-top-left"])),2&e&&(t=r(t,a()["no-corner-top-right"])),4&e&&(t=r(t,a()["no-corner-bottom-right"])),8&e&&(t=r(t,a()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(f));return r(h,a().button,a()[`size-${n}`],a()[`color-${t}`],a()[`variant-${o}`],l&&a().stretch,(i||c)&&a()["with-start-icon"],u&&a()["with-end-icon"],d&&a()["icon-only"],R,m&&a().grouped,m&&!p&&a()["adjust-position"],m&&f.isTop&&a()["first-row"],m&&f.isLeft&&a()["first-col"],b&&g&&a()["multiline-content"],C&&a().link)}function u(e){const{startIcon:t,icon:n,iconOnly:r,children:s,endIcon:i,primaryText:c,secondaryText:u}=e,d=null!=t?t:n,h=!(t||n||i||r)&&!s&&c&&u;return o.createElement(o.Fragment,null,d&&o.createElement(l.Icon,{icon:d,className:a()["start-icon-wrap"]}),s&&o.createElement("span",{className:a().content},s),i&&!r&&o.createElement(l.Icon,{icon:i,className:a()["end-icon-wrap"]}),h&&function(e){return e.primaryText&&e.secondaryText&&o.createElement("div",{className:a()["text-wrap"]},o.createElement("span",{className:a()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?o.createElement("span",{className:a()["secondary-text"]}," ",e.secondaryText," "):o.createElement("span",{className:a()["secondary-text"]},o.createElement("span",null,e.secondaryText.firstLine),o.createElement("span",null,e.secondaryText.secondLine)))}(e))}var d=n(86332),h=n(90186);function m(e){const{className:t,color:n,variant:o,size:r,stretch:s,animated:l,icon:i,iconOnly:a,startIcon:c,endIcon:u,primaryText:d,secondaryText:m,...f}=e;return{...f,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function f(e){const{reference:t,...n}=e,{isGrouped:r,cellState:s,disablePositionAdjustment:l}=(0,o.useContext)(d.ControlGroupContext),i=c({...n,isGrouped:r,cellState:s,disablePositionAdjustment:l});return o.createElement("button",{...m(n),className:i,ref:t},o.createElement(u,{...n}))}function p(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function b(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"
|
||||
}}function g(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function C(e){const{intent:t,size:n,appearance:o,useFullWidth:r,icon:s,...l}=e;return{...l,color:b(t),size:g(n),variant:p(o),stretch:r,startIcon:s}}function R(e){return o.createElement(f,{...C(e)})}},95604:(e,t,n)=>{"use strict";function o(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>o})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>C,InputClasses:()=>p});var o=n(50959),r=n(97754),s=n(50151),l=n(38528),i=n(90186),a=n(86332),c=n(95604);var u=n(81026),d=n.n(u);function h(e){let t="";return 0!==e&&(1&e&&(t=r(t,d()["no-corner-top-left"])),2&e&&(t=r(t,d()["no-corner-top-right"])),4&e&&(t=r(t,d()["no-corner-bottom-right"])),8&e&&(t=r(t,d()["no-corner-bottom-left"]))),t}function m(e,t,n,o){const{removeRoundBorder:s,className:l,intent:i="default",borderStyle:a="thin",size:u,highlight:m,disabled:f,readonly:p,stretch:b,noReadonlyStyles:g,isFocused:C}=e,R=h(null!=s?s:(0,c.getGroupCellRemoveRoundBorders)(n));return r(d().container,d()[`container-${u}`],d()[`intent-${i}`],d()[`border-${a}`],u&&d()[`size-${u}`],R,m&&d()["with-highlight"],f&&d().disabled,p&&!g&&d().readonly,C&&d().focused,b&&d().stretch,t&&d().grouped,!o&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],l)}function f(e,t,n){const{highlight:o,highlightRemoveRoundBorder:s}=e;if(!o)return d().highlight;const l=h(null!=s?s:(0,c.getGroupCellRemoveRoundBorders)(t));return r(d().highlight,d().shown,d()[`size-${n}`],l)}const p={FontSizeMedium:(0,s.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(d()["font-size-large"])},b={passive:!1};function g(e,t){const{style:n,id:r,role:s,onFocus:c,onBlur:u,onMouseOver:d,onMouseOut:h,onMouseDown:p,onMouseUp:g,onKeyDown:C,onClick:R,tabIndex:v,startSlot:y,middleSlot:x,endSlot:D,onWheel:P,onWheelNoPassive:S=null,size:w}=e,{isGrouped:N,cellState:B,disablePositionAdjustment:z=!1}=(0,o.useContext)(a.ControlGroupContext),Z=function(e,t=null,n){const r=(0,o.useRef)(null),s=(0,o.useRef)(null),l=(0,o.useCallback)((()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.addEventListener(e,t,n)}),[]),i=(0,o.useCallback)((()=>{if(null===r.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&r.current.removeEventListener(e,t,n)}),[]),a=(0,o.useCallback)((e=>{i(),r.current=e,l()}),[]);return(0,o.useEffect)((()=>(s.current=[e,t,n],l(),i)),[e,t,n]),a}("wheel",S,b);return o.createElement("span",{style:n,id:r,role:s,className:m(e,N,B,z),tabIndex:v,ref:(0,l.useMergedRefs)([t,Z]),onFocus:c,onBlur:u,onMouseOver:d,onMouseOut:h,onMouseDown:p,onMouseUp:g,onKeyDown:C,onClick:R,onWheel:P,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)},y,x,D,o.createElement("span",{className:f(e,B,w)}))}g.displayName="ControlSkeleton";const C=o.forwardRef(g)},78274:(e,t,n)=>{"use strict";n.d(t,{AfterSlot:()=>u,EndSlot:()=>c,
|
||||
MiddleSlot:()=>a,StartSlot:()=>i});var o=n(50959),r=n(97754),s=n(7236),l=n.n(s);function i(e){const{className:t,interactive:n=!0,icon:s=!1,children:i}=e;return o.createElement("span",{className:r(l()["inner-slot"],n&&l().interactive,s&&l().icon,t)},i)}function a(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(l()["inner-slot"],l()["inner-middle-slot"],t)},n)}function c(e){const{className:t,interactive:n=!0,icon:s=!1,children:i}=e;return o.createElement("span",{className:r(l()["inner-slot"],n&&l().interactive,s&&l().icon,t)},i)}function u(e){const{className:t,children:n}=e;return o.createElement("span",{className:r(l()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>C});var o=n(50959),r=n(97754),s=n(90186),l=n(47201),i=n(48907),a=n(38528),c=n(48027),u=n(29202),d=n(45812),h=n(67029),m=n(78274),f=n(30930),p=n.n(f);function b(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function g(e){const{id:t,title:n,role:l,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:f,draggable:g,autoComplete:C,autoFocus:R,maxLength:v,min:y,max:x,step:D,pattern:P,inputMode:S,onSelect:w,onFocus:N,onBlur:B,onKeyDown:z,onKeyUp:Z,onKeyPress:E,onChange:k,onDragStart:F,size:W="small",className:M,inputClassName:_,disabled:I,readonly:K,containerTabIndex:O,startSlot:T,endSlot:A,reference:j,containerReference:H,onContainerFocus:L,...U}=e,G=(0,s.filterProps)(U,b),V={...(0,s.filterAriaProps)(U),...(0,s.filterDataProps)(U),id:t,title:n,role:l,tabIndex:i,placeholder:a,name:c,type:u,value:d,defaultValue:f,draggable:g,autoComplete:C,autoFocus:R,maxLength:v,min:y,max:x,step:D,pattern:P,inputMode:S,onSelect:w,onFocus:N,onBlur:B,onKeyDown:z,onKeyUp:Z,onKeyPress:E,onChange:k,onDragStart:F};return o.createElement(h.ControlSkeleton,{...G,disabled:I,readonly:K,tabIndex:O,className:r(p().container,M),size:W,ref:H,onFocus:L,startSlot:T,middleSlot:o.createElement(m.MiddleSlot,null,o.createElement("input",{...V,className:r(p().input,p()[`size-${W}`],_,T&&p()["with-start-slot"],A&&p()["with-end-slot"]),disabled:I,readOnly:K,ref:j})),endSlot:A})}function C(e){e=(0,c.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:r=0,onFocus:s,onBlur:h,reference:m,containerReference:f=null}=e,p=(0,o.useRef)(null),b=(0,o.useRef)(null),[C,R]=(0,u.useFocus)(),v=t?void 0:C?-1:r,y=t?void 0:C?r:-1,{isMouseDown:x,handleMouseDown:D,handleMouseUp:P}=(0,d.useIsMouseDown)(),S=(0,l.createSafeMulticastEventHandler)(R.onFocus,(function(e){n&&!x.current&&(0,i.selectAllContent)(e.currentTarget)}),s),w=(0,l.createSafeMulticastEventHandler)(R.onBlur,h),N=(0,o.useCallback)((e=>{p.current=e,m&&("function"==typeof m&&m(e),"object"==typeof m&&(m.current=e))}),[p,m]);return o.createElement(g,{...e,isFocused:C,containerTabIndex:v,tabIndex:y,onContainerFocus:function(e){b.current===e.target&&null!==p.current&&p.current.focus()},onFocus:S,onBlur:w,reference:N,containerReference:(0,a.useMergedRefs)([b,f]),onMouseDown:D,onMouseUp:P})}},66686:(e,t,n)=>{"use strict";n.d(t,{useComposedKeyboardActionHandlers:()=>i,
|
||||
useKeyboardActionHandler:()=>l,useKeyboardClose:()=>u,useKeyboardEventHandler:()=>a,useKeyboardOpen:()=>d,useKeyboardToggle:()=>c});var o=n(50959),r=n(3343);const s=()=>!0;function l(e,t,n=s){return(0,o.useCallback)((o=>{const r=e.map((e=>"function"==typeof e?e():e));return!(!n(o)||!r.includes(o))&&(t(o),!0)}),[...e,t,n])}function i(...e){return(0,o.useCallback)((t=>{for(const n of e)if(n(t))return!0;return!1}),[...e])}function a(e,t=!0){const n=i(...e);return(0,o.useCallback)((e=>{n((0,r.hashFromEvent)(e))&&t&&e.preventDefault()}),[n])}function c(e,t=!0){return l([13,32],e,(function(e){if(13===e)return t;return!0}))}function u(e,t){return l([9,(0,o.useCallback)((()=>r.Modifiers.Shift+9),[]),27],t,(0,o.useCallback)((()=>e),[e]))}function d(e,t){return l([40,38],t,(0,o.useCallback)((()=>!e),[e]))}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>s});var o=n(47201),r=n(29202);function s(e){const{onFocus:t,onBlur:n,intent:s,highlight:l,disabled:i}=e,[a,c]=(0,r.useFocus)(void 0,i),u=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onFocus,t),d=(0,o.createSafeMulticastEventHandler)(i?void 0:c.onBlur,n);return{...e,intent:s||(a?"primary":"default"),highlight:null!=l?l:a,onFocus:u,onBlur:d}}},7953:(e,t,n)=>{"use strict";n.d(t,{useDisclosure:()=>c});var o=n(50959),r=n(50151),s=n(54717),l=n(29202),i=n(47201),a=n(22064);function c(e){const{id:t,listboxId:n,disabled:c,buttonTabIndex:u=0,onFocus:d,onBlur:h,onClick:m}=e,[f,p]=(0,o.useState)(!1),[b,g]=(0,l.useFocus)(),C=b||f,R=(null!=n?n:void 0!==t)?(0,a.createDomId)(t,"listbox"):void 0,v=(0,o.useRef)(null),y=(0,o.useCallback)((e=>{var t;return null===(t=v.current)||void 0===t?void 0:t.focus(e)}),[v]),x=(0,o.useRef)(null),D=(0,o.useCallback)((()=>(0,r.ensureNotNull)(x.current).focus()),[x]),P=(0,o.useCallback)((()=>p(!0)),[p]),S=(0,o.useCallback)(((e=!1,t=!1)=>{p(!1);const{activeElement:n}=document;n&&(0,s.isTextEditingField)(n)||t||y({preventScroll:e})}),[p,y]),w=(0,o.useCallback)((()=>{f?S():P()}),[f,S,P]),N=c?[]:[d,g.onFocus],B=c?[]:[h,g.onBlur],z=c?[]:[m,w],Z=(0,i.createSafeMulticastEventHandler)(...N),E=(0,i.createSafeMulticastEventHandler)(...B),k=(0,i.createSafeMulticastEventHandler)(...z);return{listboxId:R,isOpened:f,isFocused:C,buttonTabIndex:c?-1:u,listboxTabIndex:-1,open:P,close:S,toggle:w,onOpen:D,buttonFocusBindings:{onFocus:Z,onBlur:E},onButtonClick:k,buttonRef:v,listboxRef:x,buttonAria:{"aria-controls":f?R:void 0,"aria-expanded":f,"aria-disabled":c}}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>r});var o=n(50959);function r(e,t){const[n,r]=(0,o.useState)(!1);(0,o.useEffect)((()=>{t&&n&&r(!1)}),[t,n]);const s={onFocus:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!0)}),[e]),onBlur:(0,o.useCallback)((function(t){void 0!==e&&e.current!==t.target||r(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>r});var o=n(50959);function r(){const e=(0,o.useRef)(!1),t=(0,o.useCallback)((()=>{e.current=!0}),[e]),n=(0,o.useCallback)((()=>{e.current=!1}),[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},
|
||||
36762:(e,t,n)=>{"use strict";n.d(t,{useItemsKeyboardNavigation:()=>l});var o=n(50959),r=n(66686);function s(e,t){return e>=0?e%t:(t-Math.abs(e)%t)%t}function l(e,t,n,l,i,a={},c){const u=(0,o.useCallback)((e=>{const o=t.findIndex(n);if(o===t.length-1&&!i)return void((null==c?void 0:c.onFailNext)&&c.onFailNext(e));const r=s(o+1,t.length);l&&l(t[r],"next")}),[t,n,l,i]),d=(0,o.useCallback)((e=>{const o=t.findIndex(n);if(0===o&&!i)return void((null==c?void 0:c.onFailPrev)&&c.onFailPrev(e));const r=s(o-1,t.length);l&&l(t[r],"previous")}),[t,n,l,i]),h=(0,o.useCallback)((()=>{l&&l(t[0],"first")}),[l,t]),m=(0,o.useCallback)((()=>{l&&l(t[t.length-1],"last")}),[l,t]),f=(0,o.useMemo)((()=>(e=>({next:[40,()=>e()?37:39],previous:[38,()=>e()?39:37],first:[33,()=>e()?35:36],last:[34,()=>e()?36:35]}))(e)),[e]),{next:p=f.next,previous:b=f.previous,first:g=f.first,last:C=f.last}=a;return(0,r.useComposedKeyboardActionHandlers)((0,r.useKeyboardActionHandler)(p,u),(0,r.useKeyboardActionHandler)(b,d),(0,r.useKeyboardActionHandler)(g,h),(0,r.useKeyboardActionHandler)(C,m))}},16921:(e,t,n)=>{"use strict";n.d(t,{useKeepActiveItemIntoView:()=>d});var o=n(50959),r=n(50151),s=n(74991);const l={duration:200,additionalScroll:0},i={vertical:{scrollSize:"scrollHeight",clientSize:"clientHeight",start:"top",end:"bottom",size:"height"},horizontal:{scrollSize:"scrollWidth",clientSize:"clientWidth",start:"left",end:"right",size:"width"}};function a(e,t){const n=i[e];return t[n.scrollSize]>t[n.clientSize]}function c(e,t,n,o,r,l){const a=function(e,t,n,o=0){const r=i[e];return{start:-1*o,middle:-1*(Math.floor(n[r.size]/2)-Math.floor(t[r.size]/2)),end:-1*(n[r.size]-t[r.size])+o}}(e,o,r,l.additionalScroll);let c=0;if(function(e,t,n){const o=i[e];return t[o.start]<n[o.start]-n[o.size]/2||t[o.end]>n[o.end]+n[o.size]/2}(e,o,r))c=a.middle;else{const t=function(e,t,n,o=0){const r=i[e],s=t[r.start]+Math.floor(t[r.size]/2),l=n[r.start]+Math.floor(n[r.size]/2);return{start:t[r.start]-n[r.start]-o,middle:s-l,end:t[r.end]-n[r.end]+o}}(e,o,r,l.additionalScroll),n=function(e){const{start:t,middle:n,end:o}=e,r=new Map([[Math.abs(t),{key:"start",value:Math.sign(t)}],[Math.abs(n),{key:"middle",value:Math.sign(n)}],[Math.abs(o),{key:"end",value:Math.sign(o)}]]),s=Math.min(...r.keys());return r.get(s)}(t);c=void 0!==n?a[n.key]:0}return function(e){const{additionalScroll:t=0,duration:n=s.dur,func:o=s.easingFunc.easeInOutCubic,onScrollEnd:r,target:l,wrap:i,direction:a="vertical"}=e;let{targetRect:c,wrapRect:u}=e;c=null!=c?c:l.getBoundingClientRect(),u=null!=u?u:i.getBoundingClientRect();const d=("vertical"===a?c.top-u.top:c.left-u.left)+t,h="vertical"===a?"scrollTop":"scrollLeft",m=i?i[h]:0;let f,p=0;return p=window.requestAnimationFrame((function e(t){let s;if(f?s=t-f:(s=0,f=t),s>=n)return i[h]=m+d,void(r&&r());const l=m+d*o(s/n);i[h]=Math.floor(l),p=window.requestAnimationFrame(e)})),function(){window.cancelAnimationFrame(p),r&&r()}}({...l,target:t,targetRect:o,wrap:n,wrapRect:r,additionalScroll:c,direction:e})}class u{constructor(e=null){this._container=null,
|
||||
this._lastScrolledElement=null,this._stopVerticalScroll=null,this._stopHorizontalScroll=null,this._container=e}scrollTo(e,t=l){if(null!==this._container&&null!==e&&!function(e,t){const n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom&&n.left>=o.left&&n.right<=o.right}(e,this._container)){const n=e.getBoundingClientRect(),o=this._container.getBoundingClientRect();this.stopScroll(),a("vertical",this._container)&&(this._stopVerticalScroll=c("vertical",e,this._container,n,o,this._modifyOptions("vertical",t))),a("horizontal",this._container)&&(this._stopHorizontalScroll=c("horizontal",e,this._container,n,o,this._modifyOptions("horizontal",t)))}this._lastScrolledElement=e}scrollToLastElement(e){this.scrollTo(this._lastScrolledElement,e)}stopScroll(){null!==this._stopVerticalScroll&&this._stopVerticalScroll(),null!==this._stopHorizontalScroll&&this._stopHorizontalScroll()}getContainer(){return this._container}setContainer(e){var t;this._container=e,(null===(t=this._container)||void 0===t?void 0:t.contains(this._lastScrolledElement))||(this._lastScrolledElement=null)}destroy(){this.stopScroll(),this._container=null,this._lastScrolledElement=null}_handleScrollEnd(e){"vertical"===e?this._stopVerticalScroll=null:this._stopHorizontalScroll=null}_modifyOptions(e,t){return Object.assign({},t,{onScrollEnd:()=>{this._handleScrollEnd(e),void 0!==t.onScrollEnd&&t.onScrollEnd()}})}}function d(e={}){const{activeItem:t,getKey:n,...s}=e,l=(0,o.useRef)(null),i=(0,o.useRef)(new Map),a=function(e){const t=(0,o.useRef)(null);return(0,o.useEffect)((()=>(t.current=new u(e),()=>(0,r.ensureNotNull)(t.current).destroy())),[]),t}(l.current),c=(0,o.useCallback)((()=>{null!==a.current&&null!==l.current&&a.current.getContainer()!==l.current&&a.current.setContainer(l.current)}),[a,l]),d=(0,o.useCallback)((e=>{l.current=e}),[l]),h=(0,o.useCallback)(((e,t)=>{const o=n?n(e):e;t?i.current.set(o,t):i.current.delete(o)}),[i,n]),m=(0,o.useCallback)(((e,t)=>{if(!e)return;const o=n?n(e):e,s=i.current.get(o);s&&(c(),(0,r.ensureNotNull)(a.current).scrollTo(s,t))}),[i,a,n]);return(0,o.useEffect)((()=>m(t,s)),[m,t]),[d,h,m]}},38528:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>s});var o=n(50959),r=n(53017);function s(e){return(0,o.useCallback)((0,r.mergeRefs)(e),e)}},22064:(e,t,n)=>{"use strict";n.d(t,{createDomId:()=>a,joinDomIds:()=>c});const o=/\s/g;function r(e){return"string"==typeof e}function s(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function l(e){return e.trim().length>0}function i(e){return e.replace(o,"-")}function a(...e){const t=e.map(s).filter(r).filter(l).map(i);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function c(...e){return e.map(s).filter(r).filter(l).join(" ")}},48907:(e,t,n)=>{"use strict";function o(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>o})},50182:(e,t,n)=>{"use strict";n.d(t,{AdaptiveConfirmDialog:()=>h})
|
||||
;var o=n(50959),r=n(97754),s=n.n(r),l=n(94720),i=n(50151),a=n(44352),c=n(68335),u=n(35057),d=n(83073);class h extends o.PureComponent{constructor(){super(...arguments),this._dialogRef=o.createRef(),this._handleClose=()=>{const{defaultActionOnClose:e,onSubmit:t,onCancel:n,onClose:o}=this.props;switch(e){case"submit":t();break;case"cancel":n()}o()},this._handleCancel=()=>{this.props.onCancel(),this.props.onClose()},this._handleKeyDown=e=>{const{onSubmit:t,submitButtonDisabled:n,submitOnEnterKey:o}=this.props;13===(0,c.hashFromEvent)(e)&&o&&(e.preventDefault(),n||t())}}render(){const{render:e,onClose:t,onSubmit:n,onCancel:r,footerLeftRenderer:s,submitButtonText:l,submitButtonDisabled:i,defaultActionOnClose:a,submitOnEnterKey:c,...d}=this.props;return o.createElement(u.AdaptivePopupDialog,{...d,ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose})}focus(){(0,i.ensureNotNull)(this._dialogRef.current).focus()}_renderChildren(){return e=>{const{render:t,footerLeftRenderer:r,additionalButtons:i,submitButtonText:c,submitButtonDisabled:u,onSubmit:h,cancelButtonText:m,showCancelButton:f=!0,submitButtonClassName:p,cancelButtonClassName:b,buttonsWrapperClassName:g}=this.props;return o.createElement(o.Fragment,null,t(e),o.createElement("div",{className:d.footer},r&&r(e.isSmallWidth),o.createElement("div",{className:s()(d.buttons,g)},i,f&&o.createElement(l.Button,{className:b,name:"cancel",appearance:"stroke",onClick:this._handleCancel},null!=m?m:a.t(null,void 0,n(20036))),o.createElement("span",{className:d.submitButton},o.createElement(l.Button,{className:p,disabled:u,name:"submit",onClick:h,"data-name":"submit-button"},null!=c?c:a.t(null,void 0,n(68988)))))))}}}h.defaultProps={defaultActionOnClose:"submit",submitOnEnterKey:!0}},4523:(e,t,n)=>{"use strict";n.d(t,{PopupMenuDisclosureView:()=>u});var o=n(50959),r=n(20520),s=n(50151);const l={x:0,y:0};function i(e,t,n){return(0,o.useCallback)((()=>function(e,t,{x:n=l.x,y:o=l.y}=l){const r=(0,s.ensureNotNull)(e).getBoundingClientRect(),i={x:r.left+n,y:r.top+r.height+o,indentFromWindow:{top:4,bottom:4,left:4,right:4}};return t&&(i.overrideWidth=r.width),i}(e.current,t,n)),[e,t])}var a=n(86240);const c=parseInt(a["size-header-height"]);function u(e){const{button:t,popupChildren:n,buttonRef:s,listboxId:l,listboxClassName:a,listboxTabIndex:u,matchButtonAndListboxWidths:d,isOpened:h,scrollWrapReference:m,listboxReference:f,onClose:p,onOpen:b,onListboxFocus:g,onListboxBlur:C,onListboxKeyDown:R,listboxAria:v,repositionOnScroll:y=!0,closeOnHeaderOverlap:x=!1,popupPositionCorrection:D={x:0,y:0},popupPosition:P}=e,S=i(s,d,D),w=x?c:0;return o.createElement(o.Fragment,null,t,o.createElement(r.PopupMenu,{...v,id:l,className:a,tabIndex:u,isOpened:h,position:P||S,repositionOnScroll:y,onClose:p,onOpen:b,doNotCloseOn:s.current,reference:f,scrollWrapReference:m,onFocus:g,onBlur:C,onKeyDown:R,closeOnScrollOutsideOffset:w},n))}},26597:(e,t,n)=>{"use strict";n.d(t,{useKeyboardActionHandler:()=>o.useKeyboardActionHandler,
|
||||
useKeyboardClose:()=>o.useKeyboardClose,useKeyboardEventHandler:()=>o.useKeyboardEventHandler,useKeyboardOpen:()=>o.useKeyboardOpen,useKeyboardToggle:()=>o.useKeyboardToggle});var o=n(66686)},86240:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-mf-phone-landscape":"screen and (min-width: 568px)"}')}}]);
|
||||
28
charting_library/bundles/4648.7172f75bb866b3438c6f.js
Normal file
28
charting_library/bundles/4648.7172f75bb866b3438c6f.js
Normal file
@@ -0,0 +1,28 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4648,6408],{5734:e=>{e.exports={dialog:"dialog-aRAWUDhF",rounded:"rounded-aRAWUDhF",shadowed:"shadowed-aRAWUDhF",fullscreen:"fullscreen-aRAWUDhF",darker:"darker-aRAWUDhF",backdrop:"backdrop-aRAWUDhF"}},38446:e=>{e.exports={wrapper:"wrapper-VB9J73Gf",focused:"focused-VB9J73Gf",readonly:"readonly-VB9J73Gf",disabled:"disabled-VB9J73Gf","size-small":"size-small-VB9J73Gf","size-medium":"size-medium-VB9J73Gf","size-large":"size-large-VB9J73Gf","font-size-small":"font-size-small-VB9J73Gf","font-size-medium":"font-size-medium-VB9J73Gf","font-size-large":"font-size-large-VB9J73Gf","border-none":"border-none-VB9J73Gf",shadow:"shadow-VB9J73Gf","border-thin":"border-thin-VB9J73Gf","border-thick":"border-thick-VB9J73Gf","intent-default":"intent-default-VB9J73Gf","intent-success":"intent-success-VB9J73Gf","intent-warning":"intent-warning-VB9J73Gf","intent-danger":"intent-danger-VB9J73Gf","intent-primary":"intent-primary-VB9J73Gf","corner-top-left":"corner-top-left-VB9J73Gf","corner-top-right":"corner-top-right-VB9J73Gf","corner-bottom-right":"corner-bottom-right-VB9J73Gf","corner-bottom-left":"corner-bottom-left-VB9J73Gf",childrenContainer:"childrenContainer-VB9J73Gf"}},36547:e=>{e.exports={defaultSelect:"defaultSelect-OM7V5ndi"}},14619:e=>{e.exports={itemWrap:"itemWrap-srH7jxJB",item:"item-srH7jxJB",icon:"icon-srH7jxJB",selected:"selected-srH7jxJB",label:"label-srH7jxJB"}},7625:e=>{e.exports={lineEndSelect:"lineEndSelect-gw7ESiZg",right:"right-gw7ESiZg"}},66220:e=>{e.exports={lineStyleSelect:"lineStyleSelect-GcXENVb4",multipleStyles:"multipleStyles-GcXENVb4"}},99118:e=>{e.exports={lineWidthSelect:"lineWidthSelect-EUDB1YgB",bar:"bar-EUDB1YgB",isActive:"isActive-EUDB1YgB",item:"item-EUDB1YgB"}},68089:e=>{e.exports={container:"container-dhpv13DH",active:"active-dhpv13DH",disabled:"disabled-dhpv13DH",icon:"icon-dhpv13DH"}},45707:e=>{e.exports={wrap:"wrap-b6_0ORMg",disabled:"disabled-b6_0ORMg"}},3115:e=>{e.exports={dropdown:"dropdown-gZlS9p6t",dropdownMenu:"dropdownMenu-gZlS9p6t",firstColorPicker:"firstColorPicker-gZlS9p6t"}},47543:e=>{e.exports={row:"row-nGXZ4vJz",empty:"empty-nGXZ4vJz",wrap:"wrap-nGXZ4vJz",breakpointNormal:"breakpointNormal-nGXZ4vJz",breakpointMedium:"breakpointMedium-nGXZ4vJz",breakpointSmall:"breakpointSmall-nGXZ4vJz"}},50540:e=>{e.exports={coordinates:"coordinates-mb1bDWNb",input:"input-mb1bDWNb",selectionCoordinates:"selectionCoordinates-mb1bDWNb",selectionCoordinates__inputs:"selectionCoordinates__inputs-mb1bDWNb",selectionCoordinates__description:"selectionCoordinates__description-mb1bDWNb",hintButton:"hintButton-mb1bDWNb"}},35199:e=>{e.exports={wrapper:"wrapper-NVcHMTVy",checkbox:"checkbox-NVcHMTVy",colorSelect:"colorSelect-NVcHMTVy",hintButton:"hintButton-NVcHMTVy"}},22497:e=>{e.exports={withoutPadding:"withoutPadding-KtEcG0Q0"}},54970:e=>{e.exports={input:"input-mIsHGNhw",control:"control-mIsHGNhw",item:"item-mIsHGNhw",cell:"cell-mIsHGNhw",fragmentCell:"fragmentCell-mIsHGNhw",largeWidth:"largeWidth-mIsHGNhw",
|
||||
withTitle:"withTitle-mIsHGNhw",title:"title-mIsHGNhw"}},89232:e=>{e.exports={line:"line-j5rMaiWF",control:"control-j5rMaiWF",valueInput:"valueInput-j5rMaiWF",valueUnit:"valueUnit-j5rMaiWF",input:"input-j5rMaiWF"}},76739:e=>{e.exports={unit:"unit-ZtRdVxiD",input:"input-ZtRdVxiD",normal:"normal-ZtRdVxiD",big:"big-ZtRdVxiD",dropdown:"dropdown-ZtRdVxiD",dropdownMenu:"dropdownMenu-ZtRdVxiD"}},22332:e=>{e.exports={optionalTwoColors:"optionalTwoColors-LDRcAXEV",colorPicker:"colorPicker-LDRcAXEV",dropdown:"dropdown-LDRcAXEV",dropdownMenu:"dropdownMenu-LDRcAXEV"}},13784:e=>{e.exports={dropdown:"dropdown-RxdEkbF0",normal:"normal-RxdEkbF0",big:"big-RxdEkbF0",dropdownMenu:"dropdownMenu-RxdEkbF0"}},66586:e=>{e.exports={range:"range-GLEBGed4",valueInput:"valueInput-GLEBGed4",rangeSlider:"rangeSlider-GLEBGed4",rangeSlider_mixed:"rangeSlider_mixed-GLEBGed4",input:"input-GLEBGed4",hintButton:"hintButton-GLEBGed4"}},85357:e=>{e.exports={select:"select-hJtsYZ3G",wrap:"wrap-hJtsYZ3G",colorsWrap:"colorsWrap-hJtsYZ3G"}},42793:e=>{e.exports={colorPicker:"colorPicker-VK3h8amb",fontStyleButton:"fontStyleButton-VK3h8amb",dropdown:"dropdown-VK3h8amb",dropdownMenu:"dropdownMenu-VK3h8amb",hintButton:"hintButton-VK3h8amb"}},81364:e=>{e.exports={twoColors:"twoColors-C2hZXnYv",colorPicker:"colorPicker-C2hZXnYv"}},27394:e=>{e.exports={dropdown:"dropdown-eLkGg0Ft",menu:"menu-eLkGg0Ft"}},8326:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-qyCw0PaN",dragging:"dragging-qyCw0PaN",dialogAnimatedAppearance:"dialogAnimatedAppearance-qyCw0PaN",dialogAnimation:"dialogAnimation-qyCw0PaN",dialogTooltip:"dialogTooltip-qyCw0PaN"}},64104:e=>{e.exports={desktopSize:"desktopSize-icygBqe7",drawer:"drawer-icygBqe7",menuBox:"menuBox-icygBqe7"}},58516:e=>{e.exports={btnContent:"btnContent-ivexqeZZ",contentPart:"contentPart-ivexqeZZ"}},54583:e=>{e.exports={checkbox:"checkbox-aOSYFxuH"}},65542:e=>{e.exports={range:"range-mFgGeMmT",disabled:"disabled-mFgGeMmT",rangeSlider:"rangeSlider-mFgGeMmT",rangeSliderMiddleWrap:"rangeSliderMiddleWrap-mFgGeMmT",rangeSliderMiddle:"rangeSliderMiddle-mFgGeMmT",dragged:"dragged-mFgGeMmT",pointer:"pointer-mFgGeMmT",rangePointerWrap:"rangePointerWrap-mFgGeMmT"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},53017:(e,t,n)=>{"use strict";function o(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function i(e){return o([e])}n.d(t,{isomorphicRef:()=>i,mergeRefs:()=>o})},52778:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>i});var o=n(36383);function i(e){const{children:t,...n}=e;return t((0,o.useOutsideEvent)(n))}},66045:(e,t,n)=>{"use strict";n.d(t,{FontSizeSelect:()=>c});var o=n(50959),i=n(97754),r=n.n(i),a=n(90405),l=n(90186),s=n(36547);function c(e){const{id:t,fontSize:n,fontSizes:i=[],className:c,disabled:d,fontSizeChange:u}=e;return o.createElement(a.Select,{id:t,disabled:d,className:r()(c,s.defaultSelect),
|
||||
menuClassName:s.defaultSelect,items:(p=i,p.map((e=>({value:e.value,content:e.title})))),value:n,onChange:u,...(0,l.filterDataProps)(e)});var p}},94697:(e,t,n)=>{"use strict";n.d(t,{DisplayItem:()=>d,DropItem:()=>u,IconDropdown:()=>c});var o=n(50959),i=n(97754),r=n.n(i),a=n(90405),l=n(9745),s=n(14619);function c(e){const{menuItemClassName:t,...n}=e;return o.createElement(a.Select,{...n,menuItemClassName:r()(t,s.itemWrap)})}function d(e){return o.createElement("div",{className:r()(s.item,s.selected,e.className)},o.createElement(l.Icon,{className:s.icon,icon:e.icon}))}function u(e){return o.createElement("div",{className:s.item},o.createElement(l.Icon,{className:r()(s.icon,e.iconClassName),icon:e.icon}),o.createElement("div",{className:s.label},e.label))}},53598:(e,t,n)=>{"use strict";n.d(t,{LineStyleSelect:()=>f});var o=n(11542),i=n(50959),r=n(97754),a=n.n(r),l=n(79849),s=n(94697),c=n(501),d=n(23851),u=n(57740),p=n(80427),h=n(66220);const m=[{type:l.LINESTYLE_SOLID,icon:c,label:o.t(null,void 0,n(1277))},{type:l.LINESTYLE_DASHED,icon:d,label:o.t(null,void 0,n(59317))},{type:l.LINESTYLE_DOTTED,icon:u,label:o.t(null,void 0,n(42973))}];class f extends i.PureComponent{render(){const{id:e,lineStyle:t,className:n,lineStyleChange:o,disabled:r,additionalItems:l,allowedLineStyles:c}=this.props;let d=function(e){let t=[...m];return void 0!==e&&(t=t.filter((t=>e.includes(t.type)))),t.map((e=>({value:e.type,selectedContent:i.createElement(s.DisplayItem,{icon:e.icon}),content:i.createElement(s.DropItem,{icon:e.icon,label:e.label})})))}(c);return l&&(d=[{readonly:!0,content:l},...d]),i.createElement(s.IconDropdown,{id:e,disabled:r,className:a()(h.lineStyleSelect,n),hideArrowButton:!0,items:d,value:t,onChange:o,"data-name":"line-style-select",addPlaceholderToItems:!1,placeholder:i.createElement(s.DisplayItem,{icon:p,className:h.multipleStyles})})}}},50890:(e,t,n)=>{"use strict";n.d(t,{LineWidthSelect:()=>d});var o=n(50959),i=n(97754),r=n(90405),a=n(99118);const l=[1,2,3,4];function s(e){const{id:t,value:n,items:s=l,disabled:c,onChange:d}=e;return o.createElement(r.Select,{id:t,disabled:c,hideArrowButton:!0,className:a.lineWidthSelect,items:(u=s,u.map((e=>({value:e,selectedContent:p(e,!0),content:p(e)})))),value:n,onChange:d,"data-name":"line-width-select"});var u;function p(e,t){const r={borderTopWidth:e};return o.createElement("div",{className:a.item},o.createElement("div",{className:i(a.bar,{[a.isActive]:e===n&&!t}),style:r}," "))}}var c=n(45560);function d(e){const{property:t}=e,[n,i]=(0,c.useDefinitionProperty)({property:t});return o.createElement(s,{...e,value:n,onChange:i})}},66849:(e,t,n)=>{"use strict";n.d(t,{ControlCustomHeightContext:()=>r,ControlCustomWidthContext:()=>i});var o=n(50959);const i=o.createContext({}),r=o.createContext({})},82064:(e,t,n)=>{"use strict";n.d(t,{Section:()=>tn});var o=n(50959),i=n(295),r=n(48897),a=n(45560),l=n(31356);function s(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},title:s,solutionId:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1
|
||||
}),[p]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0});return p?o.createElement(l.CommonSection,{id:t,offset:d,checked:n,title:s,solutionId:c,disabled:e.disabled||u}):null}var c=n(97754),d=n.n(c),u=n(22064),p=n(53598);function h(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(p.LineStyleSelect,{...e,lineStyle:n,lineStyleChange:i})}var m=n(50890),f=n(60521),g=n(50151);function v(e){return"mixed"===e}function y(e,t,n){const[i,r]=(0,o.useState)(e),a=(0,o.useRef)(i);return(0,o.useEffect)((()=>{r(e)}),[e,n]),[i,function(e){a.current=e,r(e)},function(){t(a.current)},function(){a.current=e,r(e)}]}var b=n(68335),E=n(92399),D=n(37160),_=n(87663),w=n(49483);function C(e){const{property:t,...n}=e,[i,r]=(0,o.useState)(performance.now()),[l,s]=(0,a.useDefinitionProperty)({property:t,handler:()=>r(performance.now())}),c=y(l,s,i);return o.createElement(S,{...n,valueHash:i,sharedBuffer:c})}function S(e){const{sharedBuffer:t,min:n,max:i,step:r,...a}=e,[l,s,c,d]=t,u=(0,o.useRef)(null),p=(0,o.useRef)(null),h={flushed:!1};return o.createElement(P,{...a,ref:p,onValueChange:function(e,t){s(e),"step"!==t||h.flushed||(c(),h.flushed=!0)},onKeyDown:function(e){if(e.defaultPrevented||h.flushed)return;switch((0,b.hashFromEvent)(e.nativeEvent)){case 27:d(),h.flushed=!0;break;case 13:e.preventDefault();const t=(0,g.ensureNotNull)(p.current).getClampedValue();null!==t&&(s(t),c(),h.flushed=!0)}},onBlur:function(e){const t=(0,g.ensureNotNull)(u.current);if(!t.contains(document.activeElement)&&!t.contains(e.relatedTarget)){const e=(0,g.ensureNotNull)(p.current).getClampedValue();null===e||h.flushed||(s(e),c(),h.flushed=!0)}},value:l,roundByStep:!1,containerReference:function(e){u.current=e},inputMode:w.CheckMobile.iOS()?void 0:"numeric",min:n,max:i,step:r,stretch:!1})}const x={mode:"float",min:-Number.MAX_VALUE,max:Number.MAX_VALUE,step:1,precision:0,inheritPrecisionFromStep:!0};class P extends o.PureComponent{constructor(e){super(e),this._selection=null,this._restoreSelection=!1,this._input=null,this._handleSelectionChange=()=>{this._restoreSelection||document.activeElement!==(0,g.ensureNotNull)(this._input)||this._saveSelection((0,g.ensureNotNull)(this._input))},this._handleInputReference=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(e)},this._onFocus=e=>{this._saveSelection((0,g.ensureNotNull)(this._input)),this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this._selection=null,this.setState({displayValue:N(this.props,this.props.value,k(this.props)),focused:!1}),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.currentTarget,n=t.value,o=function(e,t,n){switch(n){case"integer":return T.test(t)?t:e;case"float":return t=t.replace(/,/g,"."),V.test(t)?t:e}}(this.state.displayValue,n,this.props.mode),i=I(o),r=this._checkValueBoundaries(i);var a,l;this.setState({displayValue:o}),o!==n&&(a=this.state.displayValue,l=(l=o).replace(/,/g,"."),
|
||||
(a=a.replace(/,/g,".")).includes(".")||!l.includes("."))?(this._restoreSelection=!0,this.forceUpdate()):this._saveSelection(t),r.value&&N(this.props,i)===o&&this.props.onValueChange(i,"input")},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1}=this.props,o=I(this.state.displayValue);let i;if(isNaN(o)){const{defaultValue:e}=this.props;if(void 0===e)return;i=e}else{const r=new f.Big(o),a=new f.Big(n),l=r.mod(a);let s=r.plus(e*n);!l.eq(0)&&t&&(s=s.plus((e>0?0:1)*n).minus(l)),i=s.toNumber()}this._checkValueBoundaries(i).value&&(this.setState({displayValue:N(this.props,i,k(this.props))}),this.props.onValueChange(i,"step"))},this.state={value:B(this.props.value),displayValue:N(this.props,this.props.value,k(this.props)),focused:!1,valueHash:this.props.valueHash}}componentDidMount(){document.addEventListener("selectionchange",this._handleSelectionChange)}componentWillUnmount(){document.removeEventListener("selectionchange",this._handleSelectionChange)}componentDidUpdate(){const e=(0,g.ensureNotNull)(this._input),t=this._selection;if(null!==t&&this._restoreSelection&&document.activeElement===e){const{start:n,end:o,direction:i}=t;e.setSelectionRange(n,o,i)}this._restoreSelection=!1}render(){return o.createElement(E.NumberInputView,{type:"text",inputMode:this.props.inputMode,name:this.props.name,fontSizeStyle:"medium",value:this.state.displayValue,className:this.props.className,placeholder:this.props.placeholder,forceShowControls:this.props.forceShowControls,disabled:this.props.disabled,stretch:this.props.stretch,error:Boolean(this.props.error),errorMessage:this.props.error,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this._handleInputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,autoSelectOnFocus:!0,"data-name":this.props["data-name"],highlight:this.props.highlight})}getClampedValue(){const{min:e,max:t}=this.props,n=I(this.state.displayValue);return isNaN(n)?null:(0,D.clamp)(n,e,t)}static getDerivedStateFromProps(e,t){const{valueHash:n}=e,o=B(e.value);if(t.value!==o||t.valueHash!==n){return{value:o,valueHash:n,displayValue:N(e,o,t.focused&&t.valueHash===n?void 0:k(e))}}return null}_saveSelection(e){const{selectionStart:t,selectionEnd:n,selectionDirection:o}=e;null!==t&&null!==n&&null!==o&&(this._selection={start:t,end:n,direction:o})}_checkValueBoundaries(e){const{min:t,max:n}=this.props,o=function(e,t,n){const o=e>=t,i=e<=n;return{passMin:o,passMax:i,pass:o&&i,clamped:(0,D.clamp)(e,t,n)}}(e,t,n);return{value:o.pass}}}P.defaultProps=x;const T=/^-?[0-9]*$/,V=/^(-?([0-9]+\.?[0-9]*)|(-?[0-9]*))$/;function N(e,t,n){return v(t=B(t))?"—":(null!==t&&void 0!==n&&(n=Math.max(M(t),n)),function(e,t){if(null===e)return"";return new _.NumericFormatter(t).format(e)}(t,n))}function k(e){let t=0;return e.inheritPrecisionFromStep&&e.step<=1&&(t=M(e.step)),Math.max(e.precision,t)||void 0}function M(e){const t=Math.trunc(e).toString();return(0,
|
||||
D.clamp)(_.NumericFormatter.formatNoE(e).length-t.length-1,0,15)}function I(e,t){return new _.NumericFormatter(t).parse(e)}function B(e){return"number"==typeof e&&Number.isFinite(e)||v(e)?e:null}var F=n(24377),A=n(58593),L=n(87095);function R(e){const{color:t,thickness:n,thicknessItems:i,noAlpha:r}=e,[l,s]=(0,a.useDefinitionProperty)({property:t}),[c,d]=(0,a.useDefinitionProperty)(n?{property:n}:{defaultValue:void 0});return o.createElement(A.ColorSelect,{...e,color:function(){if(!l)return null;if("mixed"===l)return"mixed";return(0,F.rgbToHexString)((0,F.parseRgb)(l))}(),onColorChange:function(e){const t=l&&"mixed"!==l?(0,L.alphaToTransparency)((0,F.parseRgba)(l)[3]):0;s((0,L.generateColor)(String(e),t,!0))},thickness:c,thicknessItems:i,onThicknessChange:d,opacity:r?void 0:l&&"mixed"!==l?(0,F.parseRgba)(l)[3]:void 0,onOpacityChange:r?void 0:function(e){s((0,L.generateColor)(l,(0,L.alphaToTransparency)(e),!0))}})}var z=n(11542),W=n(73436),G=n(94697),H=n(90186),O=n(43382),U=n(98853),J=n(7625);const Y=[{type:W.LineEnd.Normal,icon:O,label:z.t(null,void 0,n(55362))},{type:W.LineEnd.Arrow,icon:U,label:z.t(null,void 0,n(96237))}];class X extends o.PureComponent{constructor(e){super(e),this._items=[],this._items=Y.map((t=>({value:t.type,selectedContent:o.createElement(G.DisplayItem,{icon:t.icon}),content:o.createElement(G.DropItem,{icon:t.icon,iconClassName:d()(e.isRight&&J.right),label:t.label})})))}render(){const{id:e,lineEnd:t,className:n,lineEndChange:i,isRight:r,disabled:a}=this.props;return o.createElement(G.IconDropdown,{id:e,disabled:a,className:d()(J.lineEndSelect,r&&J.right,n),items:this._items,value:t,onChange:i,hideArrowButton:!0,...(0,H.filterDataProps)(this.props)})}}function $(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(X,{...e,lineEnd:n,lineEndChange:i})}var Z=n(78260),j=n(47543);function K(e){const{children:t,className:n,breakPoint:i="Normal"}=e;return o.createElement(Z.CellWrap,{className:c(j.wrap,n,j[`breakpoint${i}`])},o.Children.map(t,(e=>o.isValidElement(e)?o.createElement("span",{key:null===e.key?void 0:e.key,className:c(j.row,r(e)&&j.empty)},e):e)));function r(e){return!(!o.isValidElement(e)||e.type!==o.Fragment||!Array.isArray(e.props.children))&&e.props.children.every((e=>null===e))}}const q={1:"float",0:"integer"};var Q=n(77975),ee=n(89232);function te(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r,leftEnd:s,rightEnd:d,value:p,extendLeft:f,extendRight:g},title:v,valueMin:y,valueMax:b,valueStep:E,valueUnit:D,extendLeftTitle:_,extendRightTitle:w,solutionId:S},offset:x}=e,[P]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[T]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[V]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),N=(0,Q.useWatchedValueReadonly)({watchedValue:y,defaultValue:void 0}),k=(0,Q.useWatchedValueReadonly)({watchedValue:b,defaultValue:void 0}),M=(0,Q.useWatchedValueReadonly)({watchedValue:E,defaultValue:void 0}),I=(0,Q.useWatchedValueReadonly)({watchedValue:D,defaultValue:void 0
|
||||
}),B=e.disabled||!P;return V?o.createElement(o.Fragment,null,o.createElement(l.CommonSection,{id:t,offset:x,checked:n,title:v,solutionId:S,disabled:e.disabled||T},o.createElement(K,{className:ee.line,breakPoint:"Small"},o.createElement(o.Fragment,null,function(){const{definition:{properties:{color:n,width:i},widthValues:r}}=e;if(n)return o.createElement("span",{className:ee.control},o.createElement(R,{color:n,thickness:i,disabled:B,thicknessItems:r}));return i&&o.createElement("span",{className:ee.control},o.createElement(m.LineWidthSelect,{id:(0,u.createDomId)(t,"line-width-select"),items:r,property:i,disabled:B}))}(),function(){const{definition:{properties:{style:n}}}=e;return n&&o.createElement("span",{className:ee.control},o.createElement(h,{id:(0,u.createDomId)(t,"line-style-select"),property:n,disabled:B}))}()),(s||d||p)&&o.createElement(o.Fragment,null,o.createElement(o.Fragment,null,s&&o.createElement($,{id:(0,u.createDomId)(t,"left-end-select"),"data-name":"left-end-select",className:ee.control,property:s,disabled:B}),d&&o.createElement($,{id:(0,u.createDomId)(t,"right-end-select"),"data-name":"right-end-select",className:ee.control,property:d,disabled:B,isRight:!0})),function(){const{definition:{valueType:t}}=e;return p&&o.createElement("span",{className:c(ee.valueInput,ee.control)},o.createElement(C,{className:ee.input,property:p,min:N,max:k,step:M,disabled:B,mode:void 0!==t?q[t]:void 0,name:"line-value-input"}),o.createElement("span",{className:ee.valueUnit},I))}()))),f&&o.createElement(l.CommonSection,{id:`${t}ExtendLeft`,offset:x,checked:f,title:_,disabled:e.disabled||T}),g&&o.createElement(l.CommonSection,{id:`${t}ExtendRight`,offset:x,checked:g,title:w,disabled:e.disabled||T})):null}var ne=n(93613),oe=n(90405),ie=n(36947);function re(e){const{property:t,options:n,...i}=e,[r,l]=(0,a.useDefinitionProperty)({property:t}),s=(0,ie.useForceUpdate)();return(0,o.useEffect)((()=>{const e=()=>s();return Array.isArray(n)||n.subscribe(e),()=>{Array.isArray(n)||n.unsubscribe(e)}}),[]),o.createElement(oe.Select,{...i,onChange:l,value:r,items:(Array.isArray(n)?n:n.value()).map((e=>e.readonly?{content:e.title,readonly:e.readonly}:{content:e.title,value:e.value,disabled:e.disabled,id:e.id}))})}var ae=n(3115);const le=[{title:z.t(null,void 0,n(35637)),value:ne.ColorType.Solid},{title:z.t(null,void 0,n(16079)),value:ne.ColorType.Gradient}];function se(e){const{id:t,disabled:n,noAlpha:i,properties:r}=e,{color:l,gradientColor1:s,gradientColor2:c,type:d}=r,[p]=(0,a.useDefinitionProperty)({property:d,defaultValue:ne.ColorType.Solid});return o.createElement(K,null,o.createElement(re,{id:(0,u.createDomId)(t,"background-type-options-dropdown"),"data-name":"background-type-options-dropdown",className:ae.dropdown,menuClassName:ae.dropdownMenu,disabled:n,property:d,options:le}),p===ne.ColorType.Solid?o.createElement(R,{color:l,disabled:n,noAlpha:i}):o.createElement(o.Fragment,null,o.createElement(R,{className:ae.firstColorPicker,color:s,disabled:n,noAlpha:i}),o.createElement(R,{color:c,disabled:n,noAlpha:i})))}function ce(e){
|
||||
const{definition:{id:t,properties:n,title:i,noAlpha:r,solutionId:s},offset:c}=e,{color:d,checked:u,disabled:p,visible:h}=n,[m]=(0,a.useDefinitionProperty)({property:u,defaultValue:!0}),[f]=(0,a.useDefinitionProperty)({property:p,defaultValue:!1}),[g]=(0,a.useDefinitionProperty)({property:h,defaultValue:!0}),v=e.disabled||!m;return g?o.createElement(l.CommonSection,{id:t,offset:c,checked:u,title:i,solutionId:s,disabled:e.disabled||f},o.createElement(Z.CellWrap,null,n.hasOwnProperty("type")?o.createElement(se,{id:t,properties:n,disabled:v,noAlpha:r}):o.createElement(R,{color:d,disabled:v,noAlpha:r}))):null}var de=n(54368),ue=n(33013),pe=n(45707);function he(e){const{value:t,disabled:n,onChange:i,className:r}=e;return o.createElement("div",{className:c(pe.wrap,r,{[pe.disabled]:n})},o.createElement(de.Opacity,{hideInput:!0,color:ue.colorsPalette["color-tv-blue-500"],opacity:1-t/100,onChange:function(e){n||i(100-100*e)},disabled:n}))}function me(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t});return o.createElement(he,{...n,value:i,onChange:r})}function fe(e){const{definition:{id:t,properties:{transparency:n,checked:i,disabled:r,visible:s},title:c,solutionId:d},offset:u}=e,[p]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[h]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[m]=(0,a.useDefinitionProperty)({property:s,defaultValue:!0}),f=e.disabled||!p;return m?o.createElement(l.CommonSection,{id:t,offset:u,checked:i,title:c,solutionId:d,disabled:e.disabled||h},o.createElement(Z.CellWrap,null,o.createElement(me,{property:n,disabled:f}))):null}var ge=n(81364);function ve(e){const{definition:{id:t,properties:{color1:n,color2:i,checked:r,disabled:s,visible:c},title:d,noAlpha1:u,noAlpha2:p,solutionId:h},offset:m}=e,[f]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[g]=(0,a.useDefinitionProperty)({property:s,defaultValue:!1}),[v]=(0,a.useDefinitionProperty)({property:c,defaultValue:!0}),y=e.disabled||!f||g;return v?o.createElement(l.CommonSection,{id:t,offset:m,checked:r,solutionId:h,title:d,disabled:e.disabled||g},o.createElement(Z.CellWrap,{className:ge.twoColors},b(n,u),b(i,p))):null;function b(e,t){return o.createElement("span",{className:ge.colorPicker},o.createElement(R,{color:e,disabled:y,noAlpha:t}))}}var ye=n(66849),be=n(76739);function Ee(e){const{definition:{id:t,properties:{checked:n,value:i,unitOptionsValue:r,disabled:s,visible:d},min:p,max:h,step:m,title:f,unit:v,unitOptions:y,type:b,solutionId:E},offset:D}=e,[_]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[w]=(0,a.useDefinitionProperty)({property:s,defaultValue:!1}),[S]=(0,a.useDefinitionProperty)({property:d,defaultValue:!0}),x=(0,Q.useWatchedValueReadonly)({watchedValue:p,defaultValue:void 0}),P=(0,Q.useWatchedValueReadonly)({watchedValue:h,defaultValue:void 0}),T=(0,Q.useWatchedValueReadonly)({watchedValue:m,defaultValue:void 0}),V=(0,Q.useWatchedValueReadonly)({watchedValue:v,defaultValue:void 0}),N=(0,o.useContext)(ye.ControlCustomWidthContext),k=e.disabled||!_
|
||||
;return S?o.createElement(l.CommonSection,{id:t,offset:D,checked:n,title:f,solutionId:E,disabled:e.disabled||w},o.createElement(Z.CellWrap,null,o.createElement(K,null,o.createElement(C,{className:c(be.input,N[t]&&be[N[t]]),property:i,min:x,max:P,step:T,disabled:k,mode:q[b],name:"number-input","data-name":t}),r&&o.createElement(re,{id:(0,u.createDomId)(t,"unit-options-dropdown"),"data-name":"unit-options-dropdown",className:be.dropdown,menuClassName:be.dropdownMenu,disabled:k,property:r,options:(0,g.ensureDefined)(y)})),V&&o.createElement("span",{className:be.unit},V))):null}function De(e){const{definition:{id:t,properties:{checked:n,disabled:i,visible:r},childrenDefinitions:s,title:c},offset:d}=e,[u]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[p]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),[h]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),m=e.disabled||!u;return h?o.createElement(o.Fragment,null,o.createElement(l.CommonSection,{id:t,offset:d,checked:n,title:c,disabled:e.disabled||p}),s.map((e=>o.createElement(tn,{key:e.id,disabled:m,definition:e,offset:!0})))):null}var _e=n(66045);function we(e){const{property:t}=e,[n,i]=(0,a.useDefinitionProperty)({property:t});return o.createElement(_e.FontSizeSelect,{...e,fontSize:n,fontSizeChange:i,"data-name":"font-size-select"})}var Ce=n(9745),Se=n(68089);function xe(e){const{className:t,checked:n,icon:i,disabled:r,onClick:a}=e;return o.createElement("div",{className:d()(t,Se.container,n&&!r&&Se.active,r&&Se.disabled),onClick:r?void 0:a,"data-role":"button",...(0,H.filterDataProps)(e)},o.createElement(Ce.Icon,{className:Se.icon,icon:i}))}function Pe(e){const{icon:t,className:n,property:i,disabled:r}=e,[l,s]=(0,a.useDefinitionProperty)({property:i});return o.createElement(xe,{className:n,icon:t,checked:l,onClick:function(){s(!l)},disabled:r,...(0,H.filterDataProps)(e)})}var Te=n(67029),Ve=n(11062),Ne=n(2568);function ke(e){const{property:t,...n}=e,[i,r]=(0,a.useDefinitionProperty)({property:t}),l=(0,o.useCallback)((e=>r(e.target.value)),[r]);return o.createElement(Ne.Textarea,{...n,value:i,onChange:l})}var Me=n(8295),Ie=n(29285),Be=n(42793);const Fe=e=>({content:e.title,title:e.title,value:e.value,id:e.id}),Ae=e=>({content:e.title,title:e.title,value:e.value,id:e.id});function Le(e){const{definition:{id:t,properties:{color:n,size:i,checked:r,disabled:s,bold:c,italic:d,text:p,alignmentHorizontal:h,alignmentVertical:m,orientation:f,backgroundVisible:g,backgroundColor:v,borderVisible:y,borderColor:b,borderWidth:E,wrap:D},title:_,solutionId:w,sizeItems:C,alignmentTitle:S,alignmentHorizontalItems:x,alignmentVerticalItems:P,orientationTitle:T,orientationItems:V,backgroundTitle:N,borderTitle:k,borderWidthItems:M,wrapTitle:I},offset:B}=e,F=(0,o.useContext)(ye.ControlCustomHeightContext),[A]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[L]=(0,a.useDefinitionProperty)({property:s,defaultValue:!1}),[z,W]=(0,a.useDefinitionProperty)({property:m,defaultValue:void 0}),[G,H]=(0,a.useDefinitionProperty)({property:f,defaultValue:"horizontal"
|
||||
}),[O,U]=(0,a.useDefinitionProperty)({property:h,defaultValue:void 0}),[J]=(0,a.useDefinitionProperty)({property:g,defaultValue:!1}),[Y]=(0,a.useDefinitionProperty)({property:y,defaultValue:!1}),X=e.disabled||!A;return o.createElement(o.Fragment,null,function(){if(_)return o.createElement(l.CommonSection,{id:t,offset:B,checked:r,title:_,solutionId:w,disabled:e.disabled||L},o.createElement(K,{breakPoint:"Small"},q(),Q()));return o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{placement:"first",colSpan:2,offset:B,"data-section-name":t},q(),Q(),w&&!1))}(),p&&o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{placement:"first",colSpan:2,offset:B,"data-section-name":t},o.createElement(ke,{className:Te.InputClasses.FontSizeMedium,rows:($=F[t],"big"===$?9:5),stretch:!0,property:p,disabled:X,onFocus:function(e){e.target.select()},name:"text-input"}))),(h||m)&&o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:B,"data-section-name":t},o.createElement(Z.CellWrap,null,S)),o.createElement(Ve.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(K,{breakPoint:"Small"},void 0!==z&&void 0!==P&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-vertical-select"),"data-name":"alignment-vertical-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:X,value:z,items:P.map(Fe),onChange:W}),void 0!==O&&void 0!==x&&o.createElement(oe.Select,{id:(0,u.createDomId)(t,"alignment-horizontal-select"),"data-name":"alignment-horizontal-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:X,value:O,items:x.map(Fe),onChange:U})))),void 0!==f&&void 0!==V&&o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:B,"data-section-name":t},o.createElement(Z.CellWrap,null,T)),o.createElement(Ve.PropertyTable.Cell,{placement:"last",verticalAlign:"adaptive","data-section-name":t},o.createElement(K,{breakPoint:"Small"},o.createElement(oe.Select,{id:(0,u.createDomId)(t,"orientation-select"),"data-name":"orientation-select",className:Be.dropdown,menuClassName:Be.dropdownMenu,disabled:X,value:G,items:V.map(Ae),onChange:H})))),ee(N,g,v,!!g&&!J),ee(k,y,b,!!y&&!Y,E,M),D&&o.createElement(l.CommonSection,{id:`${t}Wrap`,offset:B,checked:D,title:I,disabled:e.disabled||L}));var $;function j(e,t,n){return e?o.createElement(Pe,{className:Be.fontStyleButton,icon:t,property:e,disabled:X,"data-name":n}):null}function q(){return o.createElement(o.Fragment,null,n&&o.createElement("div",{className:Be.colorPicker},o.createElement(R,{color:n,disabled:X})),i&&C&&o.createElement(we,{id:(0,u.createDomId)(t,"font-size-select"),property:i,fontSizes:C,disabled:X}))}function Q(){return o.createElement(o.Fragment,null,j(c,Me,"toggle-bold"),j(d,Ie,"toggle-italic"))}function ee(e,n,i,r,a,s){return i||n?o.createElement(l.CommonSection,{id:`${t}ColorSelect`,offset:B,checked:n,title:e,
|
||||
disabled:X},i&&o.createElement(R,{color:i,thickness:a,thicknessItems:s,disabled:X||r})):null}}var Re=n(86623),ze=n(1722);function We(e){const{property:t,mathOperations:n="+/*",mode:i="float",disabled:r,...l}=e,[s,c]=(0,o.useState)(performance.now()),[d,u]=(0,a.useDefinitionProperty)({property:t,handler:()=>c(performance.now())}),[p,h,m,f]=y(d,u,s),g=(0,o.useMemo)((()=>{const e=new RegExp(`^[${n.split("").join("\\")}-]?(${"float"===i?"(\\d+\\.\\d*)|":""}(\\d*))$`);return t=>(0,ze.isString)(t)&&e.test(t)}),[n,i]);return o.createElement(Re.FormInput,{...l,type:"text",value:p,onChange:function(e){const{value:t}=e.currentTarget;h(g(t)?t:p)},onKeyDown:function(e){if(e.defaultPrevented)return;switch((0,b.hashFromEvent)(e.nativeEvent)){case 27:f();break;case 13:v()}},onBlur:function(){v()},disabled:r,stretch:!1,autoSelectOnFocus:!0});function v(){p.length&&m()}}var Ge=n(50540);function He(e){const{definition:{properties:{x:t,y:n,disabled:i},id:r,title:a,solutionId:l},definition:s,offset:c}=e,d=i&&i.value()||e.disabled;return o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{verticalAlign:"top",placement:"first",offset:c,"data-section-name":r},o.createElement("span",{className:Ge.coordinates},a)),(t||n)&&o.createElement(Ve.PropertyTable.Cell,{placement:"last",offset:c,"data-section-name":r},o.createElement(K,{breakPoint:"Medium"},"coordinates"===s.propType?o.createElement(Oe,{definition:s,disabled:d}):o.createElement(Ue,{definition:s,disabled:d})),l&&!1))}function Oe(e){const{definition:{properties:{x:t,y:n},minX:i,maxX:r,stepX:a,minY:l,maxY:s,stepY:c,typeX:d,typeY:u},disabled:p}=e,h=(0,Q.useWatchedValueReadonly)({watchedValue:i,defaultValue:void 0}),m=(0,Q.useWatchedValueReadonly)({watchedValue:r,defaultValue:void 0}),f=(0,Q.useWatchedValueReadonly)({watchedValue:a,defaultValue:void 0}),g=(0,Q.useWatchedValueReadonly)({watchedValue:l,defaultValue:void 0}),v=(0,Q.useWatchedValueReadonly)({watchedValue:s,defaultValue:void 0}),y=(0,Q.useWatchedValueReadonly)({watchedValue:c,defaultValue:void 0});return o.createElement(o.Fragment,null,n&&o.createElement(C,{className:Ge.input,property:n,min:g,max:v,step:y,disabled:p,name:"y-input",mode:void 0!==u?q[u]:"integer"}),t&&o.createElement(C,{className:Ge.input,property:t,min:h,max:m,step:f,disabled:p,name:"x-input",mode:void 0!==d?q[d]:"integer"}))}function Ue(e){const{definition:{properties:{x:t,y:i},mathOperationsX:r,mathOperationsY:a,modeX:l,modeY:s},disabled:c}=e;return o.createElement("div",{className:Ge.selectionCoordinates},o.createElement("div",{className:Ge.selectionCoordinates__inputs},i&&o.createElement(We,{property:i,mathOperations:a,mode:s,disabled:c,className:Ge.input,placeholder:z.t(null,void 0,n(95166))}),t&&o.createElement(We,{property:t,mathOperations:r,mode:l,disabled:c,className:Ge.input,placeholder:z.t(null,void 0,n(76080))})),o.createElement("div",{className:Ge.selectionCoordinates__description},z.t(null,void 0,n(78019))))}var Je=n(13784);function Ye(e){
|
||||
const{definition:{id:t,properties:{checked:n,option:i,disabled:r,visible:s},title:c,solutionId:p,options:h},offset:m}=e,[f]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[g]=(0,a.useDefinitionProperty)({property:r,defaultValue:!1}),[v]=(0,a.useDefinitionProperty)({property:s,defaultValue:!0}),y=(0,o.useContext)(ye.ControlCustomWidthContext),b=e.disabled||!f;return v?o.createElement(l.CommonSection,{id:t,offset:m,checked:n,title:c,solutionId:p,disabled:e.disabled||g},o.createElement(Z.CellWrap,null,o.createElement(re,{id:(0,u.createDomId)(t,"options-dropdown"),"data-name":"options-dropdown",className:d()(Je.dropdown,y[t]&&Je[y[t]]),menuClassName:d()(Je.dropdownMenu,y[t]&&Je[y[t]]),disabled:b||g,property:i,options:h}))):null}var Xe=n(71953);var $e=n(38223),Ze=n(65542);class je extends o.PureComponent{constructor(e){super(e),this._container=null,this._pointer=null,this._rafPosition=null,this._rafDragStop=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null!==this._rafPosition||this.props.disabled||(this._rafPosition=requestAnimationFrame((()=>{const{from:t,to:n,min:o,max:i}=this.props,r=this._getNewPosition(e),a=1===this._detectPointerMode(e),l=a?(0,D.clamp)(r,o,n):t,s=a?n:(0,D.clamp)(r,t,i);l<=s&&this._handleChange(l,s),this._rafPosition=null})))},this._handleDragStop=()=>{null!==this._rafDragStop||this.props.disabled||(this._rafDragStop=requestAnimationFrame((()=>{this.setState({pointerDragMode:0}),this._rafDragStop=null,this.props.onCommit()})))},this._onSliderClick=e=>{w.CheckMobile.any()||(this._handlePosition(e.nativeEvent),this._dragSubscribe())},this._mouseUp=e=>{this._dragUnsubscribe(),this._handlePosition(e),this._handleDragStop()},this._mouseMove=e=>{this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this._handleDragStop()},this.state={pointerDragMode:0}}componentWillUnmount(){null!==this._rafPosition&&(cancelAnimationFrame(this._rafPosition),this._rafPosition=null),null!==this._rafDragStop&&(cancelAnimationFrame(this._rafDragStop),this._rafDragStop=null),this._dragUnsubscribe()}render(){const{className:e,disabled:t,from:n,to:i,min:r,max:a}=this.props,{pointerDragMode:l}=this.state,s=0!==l,d=a-r,u=0===d?r:(n-r)/d,p=0===d?a:(i-r)/d,h=(0,$e.isRtl)()?"right":"left";return o.createElement("div",{className:c(e,Ze.range,t&&Ze.disabled)},o.createElement("div",{className:Ze.rangeSlider,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:Ze.rangeSliderMiddleWrap},o.createElement("div",{className:c(Ze.rangeSliderMiddle,s&&Ze.dragged),style:{[h]:100*u+"%",width:100*(p-u)+"%"}})),o.createElement("div",{className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,s&&Ze.dragged),style:{[h]:100*u+"%"},ref:this._refPointer})),o.createElement("div",{
|
||||
className:Ze.rangePointerWrap},o.createElement("div",{className:c(Ze.pointer,s&&Ze.dragged),style:{[h]:100*p+"%"}}))))}_dragSubscribe(){const e=(0,g.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,g.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}_getNewPosition(e){const{min:t,max:n}=this.props,o=n-t,i=(0,g.ensureNotNull)(this._container),r=(0,g.ensureNotNull)(this._pointer),a=i.getBoundingClientRect(),l=r.offsetWidth;let s=e.clientX-l/2-a.left;return(0,$e.isRtl)()&&(s=a.width-s-l),(0,D.clamp)(s/(a.width-l),0,1)*o+t}_detectPointerMode(e){const{from:t,to:n}=this.props,{pointerDragMode:o}=this.state;if(0!==o)return o;const i=this._getNewPosition(e),r=Math.abs(t-i),a=Math.abs(n-i),l=r===a?i<t?1:2:r<a?1:2;return this.setState({pointerDragMode:l}),l}_handleChange(e,t){const{from:n,to:o,onChange:i}=this.props;e===n&&t===o||i(e,t)}}var Ke=n(90692),qe=n(66586);function Qe(e){const{definition:{id:t,properties:{checked:n,disabled:i,from:r,to:s},title:c,solutionId:u,max:p,min:h},offset:m,disabled:f}=e,[g]=(0,a.useDefinitionProperty)({property:n,defaultValue:!0}),[b]=(0,a.useDefinitionProperty)({property:i,defaultValue:!1}),E=(0,Q.useWatchedValueReadonly)({watchedValue:h,defaultValue:void 0}),D=(0,Q.useWatchedValueReadonly)({watchedValue:p,defaultValue:void 0}),[_,w]=(0,a.useDefinitionProperty)({property:r}),[C,x]=(0,a.useDefinitionProperty)({property:s}),P=v(_)||v(C),T=y(P?"mixed":_,(function(e){if(w(e),v(I)){const e=D||100;B(e),x(e)}})),[V,N,k]=T,M=y(P?"mixed":C,(function(e){if(x(e),v(V)){const e=E||0;N(e),w(e)}})),[I,B,F]=M,A=v(V)||v(I),L=f||v(g)||!g,R={flushed:!1};return o.createElement(l.CommonSection,{id:t,offset:m,checked:n,title:c,disabled:f||b},o.createElement(Z.CellWrap,{className:qe.range},function(){if(!E||!D)return null;return o.createElement(Ke.MatchMedia,{rule:"screen and (max-width: 460px)"},(e=>o.createElement(K,{breakPoint:"Medium"},o.createElement(o.Fragment,null,o.createElement("span",{className:qe.valueInput},o.createElement(S,{className:qe.input,sharedBuffer:T,min:E,max:v(I)?D:I,step:1,disabled:L,name:"from-input",mode:"integer",defaultValue:E}),e?o.createElement("span",{className:qe.rangeSlider},"—"):o.createElement(je,{className:d()(qe.rangeSlider,A&&qe.rangeSlider_mixed),from:A?E:V,to:A?D:I,min:E,max:D,onChange:z,onCommit:W,disabled:L}))),o.createElement(o.Fragment,null,o.createElement("span",{className:qe.valueInput},o.createElement(S,{className:qe.input,sharedBuffer:M,min:v(V)?E:V,max:D,step:1,disabled:L,name:"to-input",mode:"integer",defaultValue:D}),u&&!1)))))}()));function z(e,t){N(Math.round(e)),B(Math.round(t))}function W(){R.flushed||(k(),F(),R.flushed=!0)}}var et=n(86067),tt=n(53424),nt=n(54970);function ot(e){const{definitions:t,name:n,offset:i}=e,r=d()(nt.cell,nt.fragmentCell,t.some((e=>void 0!==e.solutionId))&&nt.largeWidth)
|
||||
;return o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{className:r,offset:i,placement:"first",verticalAlign:"adaptive",colSpan:2,"data-section-name":n,checkableTitle:!0},t.map((e=>o.createElement("div",{className:nt.item,key:e.id,"data-section-name":e.id},o.createElement(rt,{definition:e}))))))}function it(e){const{definition:t,offset:n}=e;return o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{className:nt.cell,offset:n,placement:"first",verticalAlign:"adaptive",colSpan:2,checkableTitle:!0},o.createElement(rt,{definition:t})))}function rt(e){const{definition:{id:t,properties:{disabled:n,checked:i,color:r,level:l,width:s,style:c},solutionId:p,title:m,widthValues:f,styleValues:g}}=e,[v]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),[y]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),b=y||!v;return o.createElement(o.Fragment,null,o.createElement(tt.CheckableTitle,{name:`is-enabled-${t}`,className:d()(m&&nt.withTitle),title:m&&o.createElement("span",{className:nt.title},m),property:i,disabled:y}),l&&o.createElement(C,{className:d()(nt.input,nt.control),property:l,disabled:b}),r&&o.createElement(R,{className:nt.control,disabled:b,color:r,thickness:s,thicknessItems:f}),c&&o.createElement(h,{id:(0,u.createDomId)(t,"leveled-line-style-select"),className:nt.control,property:c,disabled:b,allowedLineStyles:g}),p&&!1)}var at=n(27394);function lt(e){const{definition:{id:t,properties:{option1:n,option2:i,checked:r,disabled:s},title:c,solutionId:d,optionsItems1:p,optionsItems2:h},offset:m}=e,[f]=(0,a.useDefinitionProperty)({property:r,defaultValue:!0}),[g]=(0,a.useDefinitionProperty)({property:s,defaultValue:!1}),v=e.disabled||!f;return o.createElement(l.CommonSection,{id:t,offset:m,checked:r,title:c,solutionId:d,disabled:e.disabled||g},o.createElement(K,{className:at.twoOptions},o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-1"),"data-name":"two-options-dropdown-1",className:at.dropdown,menuClassName:at.menu,property:n,disabled:v,options:p}),o.createElement(re,{id:(0,u.createDomId)(t,"two-options-dropdown-2"),"data-name":"two-options-dropdown-2",className:at.dropdown,menuClassName:at.menu,property:i,disabled:v,options:h})))}var st=n(22332);function ct(e){const{definition:{id:t,properties:{color1:n,color2:i,option:r},options:a,color1Visible:s,color2Visible:c,title:p,noAlpha1:h,noAlpha2:m,solutionId:f},offset:g}=e,v=(0,Q.useWatchedValueReadonly)({watchedValue:s,defaultValue:!1}),y=(0,Q.useWatchedValueReadonly)({watchedValue:c,defaultValue:!1}),b=(0,o.useContext)(ye.ControlCustomWidthContext);return o.createElement(l.CommonSection,{id:t,offset:g,solutionId:f,title:p},o.createElement(Z.CellWrap,{className:st.optionalTwoColors},o.createElement(K,null,o.createElement(re,{id:(0,u.createDomId)(t,"options-dropdown"),"data-name":"options-dropdown",className:d()(st.dropdown,b[t]&&st[b[t]]),menuClassName:d()(st.dropdownMenu,b[t]&&st[b[t]]),property:r,options:a}),o.createElement(o.Fragment,null,v&&E(n,h),y&&E(i,m)))));function E(e,t){
|
||||
return o.createElement("span",{className:st.colorPicker},o.createElement(R,{color:e,noAlpha:t}))}}var dt=n(39828),ut=n(22497);function pt(e){const{source:t,inputs:n,model:i,inputsTabProperty:r,studyMetaInfo:a}=e.definition;return o.createElement(dt.InputsTabContent,{className:ut.withoutPadding,property:r,model:i,study:t,studyMetaInfo:a,inputs:n})}var ht=n(56840),mt=n(38297),ft=n(83682),gt=n(173);var vt=n(20520),yt=n(37558),bt=n(41590),Et=n(27317),Dt=n(40173);function _t(e){!function(e,t){(0,o.useEffect)((()=>{const n=t||document;return n.addEventListener("scroll",e),()=>n.removeEventListener("scroll",e)}),[e])}(e,document)}var wt=n(12811),Ct=n(24437),St=n(38446);function xt(e){const{children:t,highlight:n,disabled:i,reference:r,...a}=e,l=n?"primary":"default";return o.createElement("div",{...a,ref:r,className:d()(St.wrapper,St[`intent-${l}`],St["border-thin"],St["size-medium"],n&&St.highlight,n&&St.focused,i&&St.disabled),"data-role":"button"},o.createElement("div",{className:d()(St.childrenContainer,i&&St.disabled)},t),n&&o.createElement("span",{className:St.shadow}))}var Pt=n(64104);const Tt=()=>null,Vt=(0,Dt.mergeThemes)(Et.DEFAULT_MENU_THEME,{menuBox:Pt.menuBox});function Nt(e){const{value:t,disabled:n,onSelect:i}=e,r=(0,o.useRef)(null),{current:a}=(0,o.useRef)(ht.getJSON("RecentlyUsedEmojis",[t])),[l,s]=(0,o.useState)(a),[c,d]=(0,o.useState)(!1),u=(0,o.useCallback)((()=>d(!1)),[]);_t(u);const p=(0,o.useCallback)((e=>{const t=Array.from(new Set([e,...l])).slice(0,18);ht.setJSON("RecentlyUsedEmojis",t),s(t),i(e),u()}),[l,i]),h=(m=l,(0,o.useMemo)((()=>(gt.emojiGroups[0].emojis=m,[...gt.emojiGroups])),[m]));var m;return o.createElement(o.Fragment,null,o.createElement(xt,{reference:r,highlight:c,disabled:n,"data-name":"emoji-picker"},o.createElement(ft.EmojiWrap,{emoji:t,onClick:function(){n||d(!0)}})),o.createElement(Ke.MatchMedia,{rule:Ct.DialogBreakpoints.TabletSmall},(e=>c&&o.createElement(yt.DrawerManager,null,e?o.createElement(bt.Drawer,{className:Pt.drawer,position:"Bottom",onClose:u},o.createElement(mt.EmojiList,{emojis:h,onSelect:p,height:378})):o.createElement(vt.PopupMenu,{theme:Vt,isOpened:!0,position:(0,wt.getPopupPositioner)(r.current,{horizontalDropDirection:wt.HorizontalDropDirection.FromLeftToRight,horizontalAttachEdge:wt.HorizontalAttachEdge.Left}),onClickOutside:u,onClose:Tt},o.createElement(mt.EmojiList,{className:Pt.desktopSize,emojis:h,onSelect:p,height:378}))))))}var kt=n(35199);function Mt(e){const{definition:{id:t,title:n,properties:i,solutionId:r},offset:s}=e,{checked:c,emoji:d,backgroundColor:u}=i,[p]=(0,a.useDefinitionProperty)({property:c,defaultValue:!1}),[h,m]=(0,a.useDefinitionProperty)({property:d,defaultValue:"🙂"}),[f,g]=(0,a.useDefinitionProperty)({property:u,defaultValue:ue.colorsPalette["color-tv-blue-a600"]}),[v]=(0,a.useDefinitionProperty)({property:i.disabled,defaultValue:!1}),y=e.disabled||!p;return o.createElement(l.CommonSection,{id:t,offset:s,checked:c,title:n,solutionId:r,disabled:e.disabled||v},o.createElement(Nt,{value:h,disabled:y,onSelect:m
|
||||
}),o.createElement(A.ColorSelect,{className:kt.colorSelect,disabled:y,color:function(){if("mixed"===f)return f;return(0,F.rgbToHexString)((0,F.parseRgb)(f))}(),opacity:f&&"mixed"!==f?(0,F.parseRgba)(f)[3]:void 0,onColorChange:function(e){const t=f&&"mixed"!==f?(0,L.alphaToTransparency)((0,F.parseRgba)(f)[3]):0;g((0,L.generateColor)(String(e),t,!0))},onOpacityChange:function(e){g((0,L.generateColor)(f,(0,L.alphaToTransparency)(e),!0))}}))}function It(e){const{definition:{id:t,properties:{disabled:n,visible:i},childrenDefinitions:r,title:s},offset:c}=e,[d]=(0,a.useDefinitionProperty)({property:n,defaultValue:!1}),[u]=(0,a.useDefinitionProperty)({property:i,defaultValue:!0}),p=e.disabled;return u?o.createElement(o.Fragment,null,s&&o.createElement(l.CommonSection,{id:t,offset:c,title:s,disabled:e.disabled||d}),r.map((e=>o.createElement(tn,{key:e.id,disabled:p,definition:e,offset:Boolean(s)})))):null}var Bt=n(38528),Ft=n(36104),At=n(3343),Lt=n(26597),Rt=n(59054),zt=n(50238),Wt=n(16838),Gt=n(16396),Ht=n(15294),Ot=n(54583);function Ut(e){const{isDisabled:t,hint:n,label:i,isChecked:r,checkboxClassName:a,labelClassName:l,indeterminate:s,isActive:d,checkboxTabIndex:u,checkboxReference:p,checkboxDataRole:h,...m}=e;return o.createElement(Gt.PopupMenuItem,{...m,isDisabled:t,shortcut:n,dontClosePopup:!0,labelRowClassName:l,label:o.createElement(Ht.Checkbox,{reference:p,disabled:t,label:i,checked:r,indeterminate:s,className:c(Ot.checkbox,a),tabIndex:u,"data-role":h})})}var Jt=n(81091);function Yt(e){const[t,n]=(0,zt.useRovingTabindexElement)(null);return o.createElement(Ut,{...e,className:Jt.item,checkboxClassName:Jt.checkbox,checkboxReference:t,checkboxTabIndex:n,checkboxDataRole:Wt.PLATFORM_ACCESSIBILITY_ENABLED?"menuitem":void 0,onKeyDown:function(e){if(!Wt.PLATFORM_ACCESSIBILITY_ENABLED)return;const n=(0,At.hashFromEvent)(e);13!==n&&32!==n||(e.preventDefault(),t.current instanceof HTMLElement&&t.current.click())},"aria-disabled":Wt.PLATFORM_ACCESSIBILITY_ENABLED&&e.isDisabled||void 0})}var Xt=n(81261),$t=n(58516);function Zt(e){return!e.readonly&&!e.disabled}function jt(e){const{selectedItems:t,placeholder:n}=e;if(!t.length)return o.createElement("span",null,n);const i=t.map((e=>{var t,n,o;return null!==(n=null!==(t=e.selectedContent)&&void 0!==t?t:e.content)&&void 0!==n?n:null===(o=e.value)||void 0===o?void 0:o.toString()})).reduce(((e,t,n)=>t?(e.push(o.createElement("span",{key:n,className:$t.contentPart},t)),e.push(o.createElement("span",{key:`separator_${n}`},","," ")),e):e),[]);return i.length&&i.splice(-1),o.createElement("span",{className:$t.btnContent},i)}function Kt(e,t){
|
||||
const{id:n,items:i,menuClassName:r,menuItemClassName:a,tabIndex:l,disabled:s,highlight:c,intent:d,hideArrowButton:p,placeholder:h,value:m,"aria-labelledby":f,onFocus:g,onBlur:v,onClick:y,onChange:b,onKeyDown:E,openMenuOnEnter:D=!0,"aria-describedby":_,"aria-invalid":w,...C}=e,{listboxId:S,isOpened:x,isFocused:P,buttonTabIndex:T,highlight:V,intent:N,open:k,onOpen:M,close:I,toggle:B,buttonFocusBindings:F,onButtonClick:A,buttonRef:L,listboxRef:R,listboxTabIndex:z,buttonAria:W}=(0,Ft.useControlDisclosure)({id:n,disabled:s,buttonTabIndex:l,intent:d,highlight:c,onFocus:g,onBlur:v,onClick:y}),G=i.filter(Zt).filter((e=>m.some((t=>e.value===t)))),H=(0,u.joinDomIds)(f,n),O=H.length>0?H:void 0,U=(0,o.useMemo)((()=>({role:"listbox","aria-labelledby":f})),[f]),J=(0,Lt.useKeyboardToggle)(B,x||D),Y=(0,Lt.useKeyboardOpen)(x,k),X=(0,Lt.useKeyboardEventHandler)([J,Y]),$=(0,Bt.useMergedRefs)([L,t]);return o.createElement(Rt.ControlDisclosureView,{...C,...W,...F,id:n,role:"button",tabIndex:T,"aria-owns":W["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":O,disabled:s,hideArrowButton:p,isFocused:P,isOpened:x,highlight:V,intent:N,ref:$,onClick:A,onClose:I,onKeyDown:X,onOpen:M,listboxTabIndex:z,listboxId:S,listboxClassName:r,listboxAria:U,"aria-describedby":_,"aria-invalid":w,listboxReference:R,onListboxKeyDown:function(e){switch((0,At.hashFromEvent)(e)){case 27:case 9:return void(x&&(e.preventDefault(),I()))}(0,Xt.handleAccessibleMenuKeyDown)(e)},onListboxFocus:e=>(0,Xt.handleAccessibleMenuFocus)(e,L),buttonChildren:o.createElement(jt,{selectedItems:null!=G?G:null,placeholder:h})},i.map(((e,t)=>{var i,r,l;if(e.readonly)return o.createElement(o.Fragment,{key:`readonly_item_${t}`},e.content);const s=function(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,u.createDomId)(e,"item",null==t?void 0:t.value)}(n,e);return o.createElement(Yt,{key:s,id:s,className:a,"aria-selected":m===e.value,isChecked:m.includes(e.value),label:null!==(l=null!==(i=e.content)&&void 0!==i?i:null===(r=e.value)||void 0===r?void 0:r.toString())&&void 0!==l?l:"",onClick:()=>function(e){const t=new Set(m);t.has(e)?t.delete(e):t.add(e);b(Array.from(t))}(e.value),isDisabled:e.disabled})})))}Kt.displayName="Multiselect";const qt=o.forwardRef(Kt);var Qt=n(85357);function en(e){const{definition:t}=e,{checkableListOptions:r,definitions:a}=t,[l,s]=(0,o.useState)(p());(0,o.useEffect)((()=>{const e={},t=()=>{const e=p();s(e)};return t(),r.forEach((n=>{var o;n.properties.checked&&(null===(o=n.properties.checked)||void 0===o||o.subscribe(e,t))})),()=>{r.forEach((n=>{var o;n.properties.checked&&(null===(o=n.properties.checked)||void 0===o||o.unsubscribe(e,t))}))}}),[t]);const c=[],d=[],u=[];return a.value().forEach((e=>{(0,i.isPropertyDefinition)(e)&&((0,i.isColorDefinition)(e)?c.push(e):(0,i.isLineDefinition)(e)?d.push(e):(0,i.isOptionsDefinition)(e)&&u.push(e))})),o.createElement(o.Fragment,null,o.createElement(Ve.PropertyTable.Row,null,o.createElement(Ve.PropertyTable.Cell,{verticalAlign:"topCenter",placement:"first"
|
||||
},t.title),o.createElement(Ve.PropertyTable.Cell,{placement:"last"},o.createElement("div",{className:Qt.wrap},o.createElement(qt,{className:Qt.select,placeholder:z.t(null,void 0,n(45044)),onChange:function(e){const t=new Set(e);r.forEach((e=>{var n,o;!t.has(e.id)||(null===(n=e.properties.checked)||void 0===n?void 0:n.value())?!t.has(e.id)&&(null===(o=e.properties.checked)||void 0===o?void 0:o.value())&&e.properties.checked.setValue(!1):(0,g.ensureDefined)(e.properties.checked).setValue(!0)}))},value:l,matchButtonAndListboxWidths:!0,items:r.map((e=>({id:e.id,content:(0,g.ensureDefined)(e.title),value:e.id})))}),c.length||d.length?o.createElement("div",{className:Qt.colorsWrap},d.map((e=>o.createElement(R,{key:e.id,color:(0,g.ensureDefined)(e.properties.color),thickness:e.properties.width,thicknessItems:e.widthValues}))),c.map((e=>o.createElement(R,{key:e.id,color:e.properties.color})))):null))),u.map((e=>o.createElement(Ve.PropertyTable.Row,{key:e.id},o.createElement(Ve.PropertyTable.Cell,{placement:"first"}),o.createElement(Ve.PropertyTable.Cell,{placement:"last"},o.createElement(re,{className:Qt.select,property:e.properties.option,options:e.options}))))));function p(){return r.filter((e=>{var t;return(0,g.ensureDefined)(null===(t=e.properties)||void 0===t?void 0:t.checked).value()})).map((e=>e.id))}}function tn(e){const{definition:t,offset:n,disabled:a}=e;if(function(e){(0,o.useEffect)((()=>{if(void 0===e)return;const t={...e.properties};return Object.entries(t).forEach((([n,o])=>{void 0!==o&&o.subscribe(t,(()=>Xe.logger.logNormal(`Property "${n}" in definition "${e.id}" was updated to value "${o.value()}"`)))})),()=>{Object.entries(t).forEach((([,e])=>{null==e||e.unsubscribeAll(t)}))}}),[e])}((0,i.isPropertyDefinitionsGroup)(t)?void 0:t),(0,i.isPropertyDefinitionsGroup)(t))return o.createElement(nn,{definition:t,offset:n,disabled:a});switch(t.propType){case"line":return o.createElement(te,{...e,definition:t});case"checkable":return o.createElement(s,{...e,definition:t});case"color":return o.createElement(ce,{...e,definition:t});case"transparency":return o.createElement(fe,{...e,definition:t});case"twoColors":return o.createElement(ve,{...e,definition:t});case"optionalTwoColors":return o.createElement(ct,{...e,definition:t});case"fourColors":case"soundSelect":case"image":default:return null;case"number":return o.createElement(Ee,{...e,definition:t});case"symbol":return o.createElement(r.SymbolInputsButton,{...e,definition:t});case"text":return o.createElement(Le,{...e,definition:t});case"checkableSet":return o.createElement(De,{...e,definition:t});case"set":return o.createElement(It,{...e,definition:t});case"options":return o.createElement(Ye,{...e,definition:t});case"range":return o.createElement(Qe,{...e,definition:t});case"coordinates":case"selectionCoordinates":return o.createElement(He,{...e,definition:t});case"twoOptions":return o.createElement(lt,{...e,definition:t});case"leveledLine":return o.createElement(it,{...e,definition:t});case"emoji":return o.createElement(Mt,{...e,definition:t});case"studyInputs":
|
||||
return o.createElement(pt,{...e,definition:t})}}function nn(e){const{definition:t}=e,n=(0,Q.useWatchedValueReadonly)({watchedValue:t.definitions});return(0,Q.useWatchedValueReadonly)({watchedValue:t.visible,defaultValue:!0})?(0,i.isCheckableListOptionsDefinition)(t)?o.createElement(en,{definition:t}):o.createElement(o.Fragment,null,t.title&&o.createElement(et.GroupTitleSection,{title:t.title,name:t.id}),n&&function(e){const t=[];return e.reduce(((e,t)=>{if((0,i.isPropertyDefinitionsGroup)(t)||"leveledLine"!==t.propType)e.push(t);else{const n=e[e.length-1];Array.isArray(n)?n.push(t):e.push([t])}return e}),t)}(n).map((n=>Array.isArray(n)?o.createElement(ot,{key:n[0].id,name:t.id,definitions:n}):o.createElement(tn,{key:n.id,...e,definition:n}))),"general"===t.groupType&&o.createElement(Ve.PropertyTable.GroupSeparator,{size:1})):null}},95711:(e,t,n)=>{"use strict";n.d(t,{PopupContext:()=>o});const o=n(50959).createContext(null)},16181:(e,t,n)=>{"use strict";n.d(t,{PopupDialog:()=>x});var o=n(50959),i=n(97754),r=n(50151),a=n(99663),l=n(67961),s=n(90186),c=n(5734);class d extends o.PureComponent{constructor(){super(...arguments),this._manager=new l.OverlapManager,this._handleSlot=e=>{this._manager.setContainer(e)}}render(){const{rounded:e=!0,shadowed:t=!0,fullscreen:n=!1,darker:r=!1,className:l,backdrop:d,containerTabIndex:u=-1}=this.props,p=i(l,c.dialog,e&&c.rounded,t&&c.shadowed,n&&c.fullscreen,r&&c.darker),h=(0,s.filterDataProps)(this.props),m=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return o.createElement(o.Fragment,null,o.createElement(a.SlotContext.Provider,{value:this._manager},d&&o.createElement("div",{onClick:this.props.onClickBackdrop,className:c.backdrop}),o.createElement("div",{...h,className:p,style:m,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:u,"aria-label":this.props.containerAriaLabel},this.props.children)),o.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:e,left:t,width:n,right:o,top:i,zIndex:r,height:a}=this.props;return{bottom:e,left:t,right:o,top:i,zIndex:r,maxWidth:n,height:a}}}var u=n(86431),p=n(52778),h=n(37160);function m(e,t,n,o){return e+t>o&&(e=o-t),e<n&&(e=n),e}function f(e){return{x:(0,h.clamp)(e.x,20,document.documentElement.clientWidth-20),y:(0,h.clamp)(e.y,20,window.innerHeight-20)}}function g(e){return{x:e.clientX,y:e.clientY}}function v(e){return{x:e.touches[0].clientX,y:e.touches[0].clientY}}class y{constructor(e,t,n={boundByScreen:!0}){this._drag=null,this._canBeTouchClick=!1,this._frame=null,this._onMouseDragStart=e=>{if(0!==e.button||this._isTargetNoDraggable(e))return;e.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const t=f(g(e));this._dragStart(t)},this._onTouchDragStart=e=>{if(this._isTargetNoDraggable(e))return;this._canBeTouchClick=!0,e.preventDefault(),
|
||||
this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const t=f(v(e));this._dragStart(t)},this._onMouseDragEnd=e=>{e.target instanceof Node&&this._header.contains(e.target)&&e.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=e=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(e){if(e instanceof SVGElement){const t=document.createEvent("SVGEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}e instanceof HTMLElement&&e.click()}(e.target))},this._onMouseDragMove=e=>{const t=f(g(e));this._dragMove(t)},this._onTouchDragMove=e=>{this._canBeTouchClick=!1,e.preventDefault();const t=f(v(e));this._dragMove(t)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging"),this._options.onDragEnd&&this._options.onDragEnd()},this._dialog=e,this._header=t,this._options=n,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(e){this._options=e}_dragStart(e){const t=this._dialog.getBoundingClientRect();this._drag={startX:e.x,startY:e.y,finishX:e.x,finishY:e.y,dialogX:t.left,dialogY:t.top};const n=Math.round(t.left),o=Math.round(t.top);this._dialog.style.transform=`translate(${n}px, ${o}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(e){if(this._drag){if(this._drag.finishX=e.x,this._drag.finishY=e.y,null!==this._frame)return;this._frame=requestAnimationFrame((()=>{if(this._drag){const t=e.x-this._drag.startX,n=e.y-this._drag.startY;this._moveDialog(this._drag.dialogX+t,this._drag.dialogY+n)}this._frame=null}))}}_moveDialog(e,t){const n=this._dialog.getBoundingClientRect(),{boundByScreen:o}=this._options,i=m(e,n.width,o?0:-1/0,o?window.innerWidth:1/0),r=m(t,n.height,o?0:-1/0,o?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(i)}px, ${Math.round(r)}px)`}_isTargetNoDraggable(e){return e.target instanceof Element&&null!==e.target.closest("[data-disable-drag]")}}const b={vertical:0};class E{constructor(e,t){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame((()=>{this.recalculateBounds(),this._frame=null})))},this._dialog=e,this._guard=t.guard||b,this._calculateDialogPosition=t.calculateDialogPosition,this._initialHeight=e.style.height,
|
||||
window.addEventListener("resize",this._handleResize)}updateOptions(e){this._guard=e.guard||b,this._calculateDialogPosition=e.calculateDialogPosition}setFullscreen(e){this._isFullscreen!==e&&(this._isFullscreen=e,this.recalculateBounds())}centerAndFit(){const{x:e,y:t}=this.getDialogsTopLeftCoordinates(),n=this._calcAvailableHeight(),o=this._calcDialogHeight();if(n===o)if(this._calculateDialogPosition){const{left:e,top:t}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(e)}px, ${Math.round(t)}px)`}else this._dialog.style.height=o+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${e}px, ${t}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:e,clientWidth:t}=document.documentElement,n=this._calcDialogHeight(),o=t/2-this._dialog.clientWidth/2,i=e/2-n/2;return{x:Math.round(o),y:Math.round(i)}}recalculateBounds(){var e;const{clientHeight:t,clientWidth:n}=document.documentElement,{vertical:o}=this._guard,i=null===(e=this._calculateDialogPosition)||void 0===e?void 0:e.call(this,this._dialog,{clientWidth:n,clientHeight:t},{vertical:o});if(this._isFullscreen){if(this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none",i){const{left:e,top:t,width:n,height:o}=i;this._dialog.style.transform=`translate(${Math.round(e)}px, ${Math.round(t)}px)`,n&&(this._dialog.style.width=`${n}px`,this._dialog.style.minWidth="unset"),o&&(this._dialog.style.height=`${o}px`,this._dialog.style.minHeight="unset")}}else if(i){const{left:e,top:t}=i;this._dialog.style.transform=`translate(${Math.round(e)}px, ${Math.round(t)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const e=this._dialog.getBoundingClientRect(),i=t-2*o,r=m(e.left,e.width,0,n),a=m(e.top,e.height,o,t);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(r)}px, ${Math.round(a)}px)`,this._dialog.style.height=i<e.height?i+"px":this._initialHeight}}destroy(){window.removeEventListener("resize",this._handleResize),null!==this._frame&&(cancelAnimationFrame(this._frame),this._frame=null)}_calcDialogHeight(){const e=this._calcAvailableHeight();return e<this._dialog.clientHeight?e:this._dialog.clientHeight}_calcAvailableHeight(){return document.documentElement.clientHeight-2*this._guard.vertical}}var D=n(42842),_=n(95711),w=n(99054),C=n(8326);C["tooltip-offset"];class S extends o.PureComponent{constructor(e){super(e),this._dialog=null,this._cleanUpFunctions=[],this._prevActiveElement=null,this._handleDialogRef=e=>{const{reference:t}=this.props;this._dialog=e,"function"==typeof t&&t(e)},this._handleFocus=e=>{this._moveToTop()},this._handleMouseDown=e=>{this._moveToTop()},this._handleTouchStart=e=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return o.createElement(_.PopupContext.Provider,{value:this},o.createElement(p.OutsideEvent,{mouseDown:!0,touchStart:!0,
|
||||
handler:this.props.onClickOutside},(e=>o.createElement("div",{ref:e,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]},o.createElement(d,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:i(C.dialog,this.props.className)},!1,this.props.children)))))}componentDidMount(){const{draggable:e,boundByScreen:t,onDragStart:n}=this.props,o=(0,r.ensureNotNull)(this._dialog);if(e){const e=o.querySelector("[data-dragg-area]");if(e&&e instanceof HTMLElement){const i=new y(o,e,{boundByScreen:Boolean(t),onDragStart:n});this._cleanUpFunctions.push((()=>i.destroy())),this._drag=i}}this._prevActiveElement=document.activeElement,this.props.autofocus&&!o.contains(document.activeElement)&&o.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,w.setFixedBodyState)(!0);const{guard:i,calculateDialogPosition:a}=this.props;if(this.props.resizeHandler)this._resize=this.props.resizeHandler;else{const e=new E(o,{guard:i,calculateDialogPosition:a});this._cleanUpFunctions.push((()=>e.destroy())),this._resize=e}if(this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus){if(this.props.onForceFocus)return void this.props.onForceFocus(o);o.focus()}}componentDidUpdate(){if(this._resize){const{guard:e,calculateDialogPosition:t}=this.props;this._resize.updateOptions({guard:e,calculateDialogPosition:t}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){var e;if(this.props.shouldReturnFocus&&this._prevActiveElement&&document.body.contains(this._prevActiveElement)&&(null===document.activeElement||document.activeElement===document.body||(null===(e=this._dialog)||void 0===e?void 0:e.contains(document.activeElement))))try{this._prevActiveElement.focus({preventScroll:!0})}catch(e){}for(const e of this._cleanUpFunctions)e();(this._isFullScreen()||this.props.fixedBody)&&(0,w.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(e){if(this._resize&&this._dialog){const{x:t,y:n}=e,{x:o,y:i}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",`${t}px`),this._dialog.style.setProperty("--animationTranslateStartY",`${n}px`),this._dialog.style.setProperty("--animationTranslateEndX",`${o}px`),
|
||||
this._dialog.style.setProperty("--animationTranslateEndY",`${i}px`),this._dialog.classList.add(C.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}S.contextType=D.PortalContext,S.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0,shouldReturnFocus:!0};const x=(0,u.makeOverlapable)(S)},95276:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosure:()=>d});var o=n(50959),i=n(38528),r=n(26597),a=n(59054),l=n(36104),s=n(68335),c=n(66986);const d=o.forwardRef(((e,t)=>{const{id:n,tabIndex:d,disabled:u,highlight:p,intent:h,children:m,onClick:f,onFocus:g,onBlur:v,listboxAria:y,onListboxKeyDown:b,...E}=e,D=(0,o.useRef)({"aria-labelledby":n}),{listboxId:_,isOpened:w,isFocused:C,buttonTabIndex:S,listboxTabIndex:x,highlight:P,intent:T,onOpen:V,close:N,toggle:k,buttonFocusBindings:M,onButtonClick:I,buttonRef:B,listboxRef:F,buttonAria:A}=(0,l.useControlDisclosure)({id:n,disabled:u,buttonTabIndex:d,intent:h,highlight:p,onFocus:g,onBlur:v,onClick:f}),L=(0,r.useKeyboardToggle)(k),R=(0,r.useKeyboardClose)(w,N),z=(0,r.useKeyboardEventHandler)([L,R]);return o.createElement(a.ControlDisclosureView,{...E,...M,...A,id:n,role:"button",tabIndex:S,disabled:u,isOpened:w,isFocused:C,ref:(0,i.useMergedRefs)([B,t]),highlight:P,intent:T,onClose:N,onOpen:V,onClick:I,onKeyDown:z,listboxId:_,listboxTabIndex:x,listboxReference:F,listboxAria:null!=y?y:D.current,onListboxKeyDown:function(e){if(27===(0,s.hashFromEvent)(e))return e.preventDefault(),void N();null==b||b(e)}},m,o.createElement("span",{className:c.invisibleFocusHandler,tabIndex:0,"aria-hidden":!0,onFocus:()=>N()}))}));d.displayName="ControlDisclosure"},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>r});var o=n(50959),i=n(42842);function r(e){return class extends o.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const r=o.createElement(e,{...this.props,zIndex:150});return"parent"===n?r:o.createElement(i.Portal,null,r)}}}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>c});var o=n(11542),i=n(50959),r=n(97754),a=n(9745),l=n(33765),s=n(27306);function c(e){const{className:t,isActive:c,onClick:d,onMouseDown:u,title:p,hidden:h,"data-name":m="remove-button",...f}=e;return i.createElement(a.Icon,{...f,"data-name":m,className:r(s.button,"apply-common-tooltip",c&&s.active,h&&s.hidden,t),icon:l,onClick:d,onMouseDown:u,title:p||o.t(null,void 0,n(34596))})}},81091:e=>{e.exports={checkbox:"checkbox-hcyAOCXc",item:"item-hcyAOCXc"}},12811:(e,t,n)=>{"use strict";n.d(t,{HorizontalAttachEdge:()=>i,HorizontalDropDirection:()=>a,VerticalAttachEdge:()=>o,VerticalDropDirection:()=>r,getPopupPositioner:()=>c});var o,i,r,a,l=n(50151);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom",e[e.AutoStrict=2]="AutoStrict"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const s={
|
||||
verticalAttachEdge:o.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return n=>{var c,d;const{contentWidth:u,contentHeight:p,availableHeight:h}=n,m=(0,l.ensureNotNull)(e).getBoundingClientRect(),{horizontalAttachEdge:f=s.horizontalAttachEdge,horizontalDropDirection:g=s.horizontalDropDirection,horizontalMargin:v=s.horizontalMargin,verticalMargin:y=s.verticalMargin,matchButtonAndListboxWidths:b=s.matchButtonAndListboxWidths}=t;let E=null!==(c=t.verticalAttachEdge)&&void 0!==c?c:s.verticalAttachEdge,D=null!==(d=t.verticalDropDirection)&&void 0!==d?d:s.verticalDropDirection;E===o.AutoStrict&&(h<m.y+m.height+y+p?(E=o.Top,D=r.FromBottomToTop):(E=o.Bottom,D=r.FromTopToBottom));const _=E===o.Top?-1*y:y,w=f===i.Right?m.right:m.left,C=E===o.Top?m.top:m.bottom,S={x:w-(g===a.FromRightToLeft?u:0)+v,y:C-(D===r.FromBottomToTop?p:0)+_};return b&&(S.overrideWidth=m.width),S}}},3347:(e,t,n)=>{"use strict";n.d(t,{convertToDefinitionProperty:()=>r,makeProxyDefinitionProperty:()=>i});var o=n(51768);function i(e,t,n){const o=new Map,i=void 0!==t?t[0]:e=>e,r=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,a={value:()=>i(e.value()),setValue:t=>{e.setValue(r(t))},subscribe:(t,n)=>{const i=e=>{n(a)};o.set(n,i),e.subscribe(t,i)},unsubscribe:(t,n)=>{const i=o.get(n);i&&(e.unsubscribe(t,i),o.delete(n))},unsubscribeAll:t=>{e.unsubscribeAll(t),o.clear()},destroy:()=>{e.release(),null==n||n()}};return a}function r(e,t,n,r,a,l,s){const c=i(t.weakReference(),r,l),d=void 0!==r?void 0!==r[1]?r[1]:r[0]:e=>e,u=null!=a?a:o=>e.setProperty(t,d(o),n);return c.setValue=e=>{var t;s&&(0,o.trackEvent)(s.category,s.event,null===(t=s.label)||void 0===t?void 0:t.call(s,e)),u(e)},c}},43715:(e,t,n)=>{"use strict";n.d(t,{createLinePropertyDefinition:()=>s});var o=n(73436),i=n(79849);const r=[i.LINESTYLE_SOLID,i.LINESTYLE_DOTTED,i.LINESTYLE_DASHED],a=[1,2,3,4],l=[o.LineEnd.Normal,o.LineEnd.Arrow];function s(e,t){const n={propType:"line",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=r),void 0!==n.properties.width&&(n.widthValues=a),void 0===n.properties.leftEnd&&void 0===n.properties.rightEnd||void 0!==n.endsValues||(n.endsValues=l),void 0!==n.properties.value&&void 0===n.valueType&&(n.valueType=1),n}},295:(e,t,n)=>{"use strict";function o(e,t){return{propType:"checkable",properties:e,...t}}function i(e,t,n){return{propType:"checkableSet",properties:e,childrenDefinitions:n,...t}}function r(e,t){return{propType:"color",properties:e,noAlpha:!1,...t}}n.d(t,{convertFromReadonlyWVToDefinitionProperty:()=>z,convertFromWVToDefinitionProperty:()=>R,convertToDefinitionProperty:()=>A.convertToDefinitionProperty,createCheckablePropertyDefinition:()=>o,createCheckableSetPropertyDefinition:()=>i,createColorPropertyDefinition:()=>r,createCoordinatesPropertyDefinition:()=>S,createEmojiPropertyDefinition:()=>k,createLeveledLinePropertyDefinition:()=>d,createLinePropertyDefinition:()=>a.createLinePropertyDefinition,
|
||||
createNumberPropertyDefinition:()=>u,createOptionalTwoColorsPropertyDefinition:()=>C,createOptionsPropertyDefinition:()=>p,createPropertyDefinitionsGeneralGroup:()=>B,createPropertyDefinitionsLeveledLinesGroup:()=>F,createRangePropertyDefinition:()=>P,createSelectionCoordinatesPropertyDefinition:()=>x,createSessionPropertyDefinition:()=>N,createStudyInputsPropertyDefinition:()=>M,createSymbolPropertyDefinition:()=>V,createTextPropertyDefinition:()=>_,createTransparencyPropertyDefinition:()=>T,createTwoColorsPropertyDefinition:()=>w,createTwoOptionsPropertyDefinition:()=>h,destroyDefinitions:()=>te,getColorDefinitionProperty:()=>X,getLockPriceScaleDefinitionProperty:()=>G,getPriceScaleSelectionStrategyDefinitionProperty:()=>W,getScaleRatioDefinitionProperty:()=>H,getSymbolDefinitionProperty:()=>$,isCheckableListOptionsDefinition:()=>ee,isColorDefinition:()=>q,isLineDefinition:()=>K,isOptionsDefinition:()=>Q,isPropertyDefinition:()=>Z,isPropertyDefinitionsGroup:()=>j,makeProxyDefinitionProperty:()=>A.makeProxyDefinitionProperty});var a=n(43715),l=n(79849);const s=[l.LINESTYLE_SOLID,l.LINESTYLE_DOTTED,l.LINESTYLE_DASHED],c=[1,2,3,4];function d(e,t){const n={propType:"leveledLine",properties:e,...t};return void 0!==n.properties.style&&(n.styleValues=s),void 0!==n.properties.width&&(n.widthValues=c),n}function u(e,t){return{propType:"number",properties:e,type:1,...t}}function p(e,t){return{propType:"options",properties:e,...t}}function h(e,t){return{propType:"twoOptions",properties:e,...t}}var m=n(11542);const f=[{id:"bottom",value:"bottom",title:m.t(null,void 0,n(65994))},{id:"middle",value:"middle",title:m.t(null,void 0,n(76476))},{id:"top",value:"top",title:m.t(null,void 0,n(91757))}],g=[{id:"left",value:"left",title:m.t(null,void 0,n(19286))},{id:"center",value:"center",title:m.t(null,void 0,n(72171))},{id:"right",value:"right",title:m.t(null,void 0,n(21141))}],v=[{id:"horizontal",value:"horizontal",title:m.t(null,void 0,n(77405))},{id:"vertical",value:"vertical",title:m.t(null,void 0,n(44085))}],y=[10,11,12,14,16,20,24,28,32,40].map((e=>({title:String(e),value:e}))),b=[1,2,3,4],E=m.t(null,void 0,n(92960)),D=m.t(null,void 0,n(90581));function _(e,t){const n={propType:"text",properties:e,...t,isEditable:t.isEditable||!1};return void 0!==n.properties.size&&void 0===n.sizeItems&&(n.sizeItems=y),void 0!==n.properties.alignmentVertical&&void 0===n.alignmentVerticalItems&&(n.alignmentVerticalItems=f),void 0!==n.properties.alignmentHorizontal&&void 0===n.alignmentHorizontalItems&&(n.alignmentHorizontalItems=g),(n.alignmentVerticalItems||n.alignmentHorizontalItems)&&void 0===n.alignmentTitle&&(n.alignmentTitle=E),void 0!==n.properties.orientation&&(void 0===n.orientationItems&&(n.orientationItems=v),void 0===n.orientationTitle&&(n.orientationTitle=D)),void 0!==n.properties.borderWidth&&void 0===n.borderWidthItems&&(n.borderWidthItems=b),n}function w(e,t){return{propType:"twoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function C(e,t){return{propType:"optionalTwoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}
|
||||
function S(e,t){return{propType:"coordinates",properties:e,...t}}function x(e,t){return{propType:"selectionCoordinates",properties:e,...t}}function P(e,t){return{propType:"range",properties:e,...t}}function T(e,t){return{propType:"transparency",properties:e,...t}}function V(e,t){return{propType:"symbol",properties:e,...t}}function N(e,t){return{propType:"session",properties:e,...t}}function k(e,t){return{propType:"emoji",properties:e,...t}}function M(e,t){return{propType:"studyInputs",properties:e,...t}}var I=n(97145);function B(e,t,n,o){return{id:t,title:n,visible:o,groupType:"general",definitions:new I.WatchedValue(e)}}function F(e,t,n){return{id:t,title:n,groupType:"leveledLines",definitions:new I.WatchedValue(e)}}var A=n(3347);function L(e,t,n){const o=new Map,i=void 0!==t?t[0]:e=>e,r=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,a={value:()=>i(e.value()),setValue:t=>{var n;null===(n=e.setValue)||void 0===n||n.call(e,r(t))},subscribe:(t,n)=>{const i=()=>{n(a)};let r=o.get(t);void 0===r?(r=new Map,r.set(n,i),o.set(t,r)):r.set(n,i),e.subscribe(i)},unsubscribe:(t,n)=>{const i=o.get(t);if(void 0!==i){const t=i.get(n);void 0!==t&&(e.unsubscribe(t),i.delete(n))}},unsubscribeAll:t=>{const n=o.get(t);void 0!==n&&(n.forEach(((t,n)=>{e.unsubscribe(t)})),n.clear())}};return n&&(a.destroy=()=>n()),a}function R(e,t,n,o){const i=L(t,o),r=void 0!==o?void 0!==o[1]?o[1]:o[0]:e=>e;return i.setValue=o=>e.setWatchedValue(t,r(o),n),i}function z(e,t){return function(e,t,n,o){const i=new Map;return L({subscribe:(n,o)=>{const r=e=>n(t(e));i.set(n,r),e.subscribe(r,o)},unsubscribe:t=>{if(t){const n=i.get(t);n&&(e.unsubscribe(n),i.delete(t))}else i.clear(),e.unsubscribe()},value:()=>t(e.value())},n,o)}(e,(e=>e),t,(()=>e.release()))}function W(e,t){const n=(0,A.makeProxyDefinitionProperty)(t.weakReference());return n.setValue=t=>e.setPriceScaleSelectionStrategy(t),n}function G(e,t,n,o){const i=(0,A.makeProxyDefinitionProperty)(t.weakReference());return i.setValue=t=>{const i={lockScale:t};e.setPriceScaleMode(i,n,o)},i}function H(e,t,n,o){const i=(0,A.makeProxyDefinitionProperty)(t.weakReference(),o);return i.setValue=o=>{e.setScaleRatioProperty(t,o,n)},i}var O=n(24377),U=n(87095),J=n(49152);function Y(e,t){if((0,U.isHexColor)(e)){const n=(0,O.parseRgb)(e);return(0,O.rgbaToString)((0,O.rgba)(n,(100-t)/100))}return e}function X(e,t,n,o,i){let r;if(null!==n){const e=(0,J.combineProperty)(Y,t.weakReference(),n.weakReference());r=(0,A.makeProxyDefinitionProperty)(e.ownership())}else r=(0,A.makeProxyDefinitionProperty)(t.weakReference(),[()=>Y(t.value(),0),e=>e]);return r.setValue=n=>{i&&e.beginUndoMacro(o),e.setProperty(t,n,o),i&&e.endUndoMacro()},r}function $(e,t,n,o,i,r){const a=[(l=n,s=t,e=>{const t=l(s);if(e===s.value()&&null!==t){const e=t.ticker||t.full_name;if(e)return e}return e}),e=>e];var l,s;const c=(0,A.convertToDefinitionProperty)(e,t,i,a);r&&(c.setValue=r);const d=new Map;c.subscribe=(e,n)=>{const o=e=>{n(c)};d.set(n,o),t.subscribe(e,o)},c.unsubscribe=(e,n)=>{const o=d.get(n);o&&(t.unsubscribe(e,o),d.delete(n))};const u={}
|
||||
;return o.subscribe(u,(()=>{d.forEach(((e,t)=>{t(c)}))})),c.destroy=()=>{o.unsubscribeAll(u),d.clear()},c}function Z(e){return e.hasOwnProperty("propType")}function j(e){return e.hasOwnProperty("groupType")}function K(e){return"line"===e.propType}function q(e){return"color"===e.propType}function Q(e){return"options"===e.propType}function ee(e){return"checkableListOptions"===e.groupType}function te(e){e.forEach((e=>{var t;if(Z(e)){Object.keys(e.properties).forEach((t=>{const n=e.properties[t];void 0!==n&&void 0!==n.destroy&&n.destroy()}))}else te(e.definitions.value()),null===(t=e.visible)||void 0===t||t.destroy()}))}},44996:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="currentColor" fillRule="evenodd" clipRule="evenodd" d="M7.5 13a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM5 14.5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0zm9.5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM12 14.5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0zm9.5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM19 14.5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0z"/></svg>'},33765:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},23851:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M4 13h5v1H4v-1zM12 13h5v1h-5v-1zM20 13h5v1h-5v-1z"/></svg>'},57740:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="currentColor"><circle cx="9" cy="14" r="1"/><circle cx="4" cy="14" r="1"/><circle cx="14" cy="14" r="1"/><circle cx="19" cy="14" r="1"/><circle cx="24" cy="14" r="1"/></svg>'},80427:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M5.5 7a.5.5 0 0 0 0 1h17a.5.5 0 0 0 0-1h-17Zm0 6a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm7 0a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm6.5.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5ZM7 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm5-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></svg>'},501:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path stroke="currentColor" d="M4 13.5h20"/></svg>'},98853:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M4.5 13.5H24m-19.5 0L8 17m-3.5-3.5L8 10"/></svg>'},43382:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M8.5 13.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm0 0H24"/></svg>'},8295:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M14 21h-3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h3c2 0 4 1 4 3 0 1 0 2-1.5 3 1.5.5 2.5 2 2.5 4 0 2.75-2.638 4-5 4zM12 9l.004 3c.39.026.82 0 1.25 0C14.908 12 16 11.743 16 10.5c0-1.1-.996-1.5-2.5-1.5-.397 0-.927-.033-1.5 0zm0 5v5h1.5c1.5 0 3.5-.5 3.5-2.5S15 14 13.5 14c-.5 0-.895-.02-1.5 0z"/></svg>'},29285:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M12.143 20l1.714-12H12V7h5v1h-2.143l-1.714 12H15v1h-5v-1h2.143z"/></svg>'}}]);
|
||||
@@ -1,21 +1,21 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4713],{37287:e=>{e.exports={calendar:"calendar-N6r5jhbE",popupStyle:"popupStyle-N6r5jhbE",header:"header-N6r5jhbE","flip-horizontal":"flip-horizontal-N6r5jhbE","sub-header":"sub-header-N6r5jhbE","view-month":"view-month-N6r5jhbE","view-year":"view-year-N6r5jhbE","view-decades":"view-decades-N6r5jhbE",weeks:"weeks-N6r5jhbE",week:"week-N6r5jhbE",day:"day-N6r5jhbE","accent-color":"accent-color-N6r5jhbE","current-day":"current-day-N6r5jhbE","slot-wrapper":"slot-wrapper-N6r5jhbE","hide-focus-ring":"hide-focus-ring-N6r5jhbE","decade-button":"decade-button-N6r5jhbE","visually-hidden":"visually-hidden-N6r5jhbE"}},53209:e=>{e.exports={container:"container-PNiXwSz6",icon:"icon-PNiXwSz6",tooltip:"tooltip-PNiXwSz6",date:"date-PNiXwSz6",time:"time-PNiXwSz6"}},20111:e=>{e.exports={pickerInput:"pickerInput-P2cJzZdH",icon:"icon-P2cJzZdH",disabled:"disabled-P2cJzZdH",picker:"picker-P2cJzZdH",fixed:"fixed-P2cJzZdH",absolute:"absolute-P2cJzZdH",nativePicker:"nativePicker-P2cJzZdH"}},30247:e=>{e.exports={tooltip:"tooltip-RU08GcsY"}},44022:e=>{e.exports={errors:"errors-bghR31WL",show:"show-bghR31WL",error:"error-bghR31WL","visually-hidden":"visually-hidden-bghR31WL"}},40461:e=>{e.exports={"error-icon":"error-icon-UhKAouIg","intent-danger":"intent-danger-UhKAouIg","intent-warning":"intent-warning-UhKAouIg"}},78634:e=>{e.exports={wrap:"wrap-NsE0FV0Z",input:"input-NsE0FV0Z"}},43832:e=>{e.exports={icon:"icon-Rubz29lH"}},27345:e=>{e.exports={"static-messages":"static-messages-cF4vS9J8",errors:"errors-cF4vS9J8",warnings:"warnings-cF4vS9J8","success-mesages":"success-mesages-cF4vS9J8","input-description":"input-description-cF4vS9J8",message:"message-cF4vS9J8"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk","disclosure-item-circle-logo":"disclosure-item-circle-logo-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},78869:(e,t,n)=>{"use strict";n.d(t,{useRefsMap:()=>a});var s=n(50959);function a(){const e=(0,s.useRef)(new Map),t=(0,s.useCallback)((t=>n=>{null!==n?e.current.set(t,n):e.current.delete(t)}),[e]);return[e,t]}},47201:(e,t,n)=>{"use strict";function s(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>s})},27365:(e,t,n)=>{"use strict";n.d(t,{getChartTimezoneOffsetMs:()=>o,getTimezoneName:()=>r});var s=n(41249),a=n.n(s);function r(e){const t=e.model().timezone();if("exchange"!==t)return t;const n=e.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}function o(e,t){if(void 0===t)return 0;return a().get_timezone(t).offset_utc(e)}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>s,dialogsOpenerManager:()=>a});class s{constructor(){
|
||||
this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const a=new s},1405:(e,t,n)=>{"use strict";n.d(t,{anchors:()=>s});n(50959);const s={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},15499:(e,t,n)=>{"use strict";n.d(t,{CalendarViewType:()=>w,DECADES_YEARS_AMOUNT:()=>y,MONTHS:()=>o,MONTHS_SHORT:()=>i,SUB_HEADER_DECADES:()=>D,SUB_HEADER_YEAR:()=>b,WEEKDAYS_MIN:()=>a,getCurrentAriaLabel:()=>F,getCurrentVisibleTitle:()=>M,getDayAriaLabel:()=>C,getNextAriaLabel:()=>_,getNextLiveRegionConfirmation:()=>k,getNextMonth:()=>R,getPrevAriaLabel:()=>E,getPrevLiveRegionConfirmation:()=>S,getViewTypeLiveRegionConfirmation:()=>N});var s=n(44352);const a=[s.t(null,{context:"day_of_week"},n(11268)),s.t(null,{context:"day_of_week"},n(31533)),s.t(null,{context:"day_of_week"},n(26230)),s.t(null,{context:"day_of_week"},n(24793)),s.t(null,{context:"day_of_week"},n(19801)),s.t(null,{context:"day_of_week"},n(63331)),s.t(null,{context:"day_of_week"},n(85954))],r=[s.t(null,void 0,n(72149)),s.t(null,void 0,n(61199)),s.t(null,void 0,n(44979)),s.t(null,void 0,n(7147)),s.t(null,void 0,n(7951)),s.t(null,void 0,n(72970)),s.t(null,void 0,n(1144))],o=[s.t(null,void 0,n(26910)),s.t(null,void 0,n(16467)),s.t(null,void 0,n(84675)),s.t(null,void 0,n(97637)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(49385)),s.t(null,void 0,n(23230)),s.t(null,void 0,n(86797)),s.t(null,void 0,n(61132)),s.t(null,void 0,n(90784)),s.t(null,void 0,n(71194)),s.t(null,void 0,n(55669))],i=[s.t(null,void 0,n(95425)),s.t(null,void 0,n(35050)),s.t(null,void 0,n(51369)),s.t(null,void 0,n(42762)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(15224)),s.t(null,void 0,n(6215)),s.t(null,void 0,n(38465)),s.t(null,void 0,n(57902)),s.t(null,void 0,n(73546)),s.t(null,void 0,n(71230)),s.t(null,void 0,n(92203))],l=s.t(null,void 0,n(2587)),c=s.t(null,void 0,n(39752)),u=s.t(null,void 0,n(39329)),h=s.t(null,void 0,n(83771)),d=s.t(null,void 0,n(27004)),p=s.t(null,void 0,n(75385)),m=s.t(null,void 0,n(83583)),g=s.t(null,void 0,n(80879)),f=s.t(null,void 0,n(6244)),v={setMonth:s.t(null,void 0,n(92702)),setYear:s.t(null,void 0,n(52051)),setDecades:s.t(null,void 0,n(99990))};var w;!function(e){e.Month="month",e.Year="year",e.Decades="decades"}(w||(w={}));const D=s.t(null,void 0,n(69325)),b=s.t(null,void 0,n(95543)),y=20;function C(e){return`${r[e.getDay()]} ${e.getDate()} ${o[e.getMonth()]} ${e.getFullYear()}`}function E(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),`${l}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:
|
||||
return`${u}, ${t.getFullYear()-1}`;case w.Decades:return`${d}, ${t.getFullYear()-y} - ${t.getFullYear()-1}`}}function _(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()+1),`${c}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:return`${h}, ${t.getFullYear()+1}`;case w.Decades:return`${p}, ${t.getFullYear()+y} - ${t.getFullYear()+2*y-1}`}}function F(e,t){switch(e){case w.Month:return`${m}, ${t.getFullYear()}`;case w.Year:return`${g}, ${t.getFullYear()} - ${t.getFullYear()+y-1}`;case w.Decades:return`${f}, ${o[t.getMonth()]} ${t.getFullYear()}`}}function M(e,t){switch(e){case w.Month:return`${o[t.getMonth()]} ${t.getFullYear()}`;case w.Year:return`${t.getFullYear()}`;case w.Decades:return`${t.getFullYear()} - ${t.getFullYear()+y-1}`}}function S(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:""+(t.getFullYear()-1)});case w.Decades:return v.setDecades.format({year_start:""+(t.getFullYear()-y),year_end:""+(t.getFullYear()-1)})}}function k(e,t){switch(e){case w.Month:{const e=R(t);return v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:`${t.getFullYear()+1}`});case w.Decades:return v.setDecades.format({year_start:`${t.getFullYear()+y}`,year_end:""+(t.getFullYear()+2*y-1)})}}function N(e,t){switch(e){case w.Month:return v.setYear.format({year:`${t.getFullYear()}`});case w.Year:return v.setDecades.format({year_start:`${t.getFullYear()}`,year_end:""+(t.getFullYear()+y-1)});case w.Decades:return v.setMonth.format({month:o[t.getMonth()]})}}function R(e){return 11===e.getMonth()?new Date(e.getFullYear()+1,0,1):new Date(e.getFullYear(),e.getMonth()+1,1)}},28746:(e,t,n)=>{"use strict";n.d(t,{Calendar:()=>E});var s=n(50959),a=n(97754),r=n(90744),o=n(17140),i=n(37287);function l(e){const{prevAriaLabel:t,nextAriaLabel:n,currentAriaLabel:a,currentVisibleTitle:l,isNextDisabled:c,isPrevDisabled:u,isViewModeDisabled:h,prevRef:d,middleRef:p,onPrevClick:m,onNextClick:g,onCurrentClick:f,onPrevKeyDown:v,onMiddleKeyDown:w,onHeaderKeyDown:D}=e;return s.createElement("div",{className:i.header,onKeyDown:D},s.createElement(r.LightButton,{startIcon:o,onClick:m,size:"small",variant:"ghost","aria-label":t,disabled:u,onKeyDown:v,reference:d}),s.createElement(r.LightButton,{size:"small",variant:"ghost","aria-label":a,onClick:f,disabled:h,onKeyDown:w,reference:p},l),s.createElement(r.LightButton,{startIcon:o,onClick:g,size:"small",variant:"ghost","aria-label":n,disabled:c,className:i["flip-horizontal"]}))}var c=n(23935),u=n(15499),h=n(53741);class d extends s.PureComponent{constructor(){super(...arguments),this._dateFormatter=new h.DateFormatter,this._getVariant=()=>{let e="ghost";return this._withinSelectedRange()&&(e=this.props.isDisabled?"secondary":"quiet-primary"),this._isOnHighlightedEdge()&&this.props.isDisabled&&(e="quiet-primary"),e},this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){
|
||||
this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const a=new s},1405:(e,t,n)=>{"use strict";n.d(t,{anchors:()=>s});n(50959);const s={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},15499:(e,t,n)=>{"use strict";n.d(t,{CalendarViewType:()=>w,DECADES_YEARS_AMOUNT:()=>y,MONTHS:()=>o,MONTHS_SHORT:()=>i,SUB_HEADER_DECADES:()=>D,SUB_HEADER_YEAR:()=>b,WEEKDAYS_MIN:()=>a,getCurrentAriaLabel:()=>F,getCurrentVisibleTitle:()=>M,getDayAriaLabel:()=>C,getNextAriaLabel:()=>_,getNextLiveRegionConfirmation:()=>k,getNextMonth:()=>R,getPrevAriaLabel:()=>E,getPrevLiveRegionConfirmation:()=>S,getViewTypeLiveRegionConfirmation:()=>N});var s=n(11542);const a=[s.t(null,{context:"day_of_week"},n(11268)),s.t(null,{context:"day_of_week"},n(31533)),s.t(null,{context:"day_of_week"},n(26230)),s.t(null,{context:"day_of_week"},n(24793)),s.t(null,{context:"day_of_week"},n(19801)),s.t(null,{context:"day_of_week"},n(63331)),s.t(null,{context:"day_of_week"},n(85954))],r=[s.t(null,void 0,n(72149)),s.t(null,void 0,n(61199)),s.t(null,void 0,n(44979)),s.t(null,void 0,n(7147)),s.t(null,void 0,n(7951)),s.t(null,void 0,n(72970)),s.t(null,void 0,n(1144))],o=[s.t(null,void 0,n(26910)),s.t(null,void 0,n(16467)),s.t(null,void 0,n(84675)),s.t(null,void 0,n(97637)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(49385)),s.t(null,void 0,n(23230)),s.t(null,void 0,n(86797)),s.t(null,void 0,n(61132)),s.t(null,void 0,n(90784)),s.t(null,void 0,n(71194)),s.t(null,void 0,n(55669))],i=[s.t(null,void 0,n(95425)),s.t(null,void 0,n(35050)),s.t(null,void 0,n(51369)),s.t(null,void 0,n(42762)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(15224)),s.t(null,void 0,n(6215)),s.t(null,void 0,n(38465)),s.t(null,void 0,n(57902)),s.t(null,void 0,n(73546)),s.t(null,void 0,n(71230)),s.t(null,void 0,n(92203))],l=s.t(null,void 0,n(2587)),c=s.t(null,void 0,n(39752)),u=s.t(null,void 0,n(39329)),h=s.t(null,void 0,n(83771)),d=s.t(null,void 0,n(27004)),p=s.t(null,void 0,n(75385)),m=s.t(null,void 0,n(83583)),g=s.t(null,void 0,n(80879)),f=s.t(null,void 0,n(6244)),v={setMonth:s.t(null,void 0,n(92702)),setYear:s.t(null,void 0,n(52051)),setDecades:s.t(null,void 0,n(99990))};var w;!function(e){e.Month="month",e.Year="year",e.Decades="decades"}(w||(w={}));const D=s.t(null,void 0,n(69325)),b=s.t(null,void 0,n(95543)),y=20;function C(e){return`${r[e.getDay()]} ${e.getDate()} ${o[e.getMonth()]} ${e.getFullYear()}`}function E(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),`${l}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:
|
||||
return`${u}, ${t.getFullYear()-1}`;case w.Decades:return`${d}, ${t.getFullYear()-y} - ${t.getFullYear()-1}`}}function _(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()+1),`${c}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:return`${h}, ${t.getFullYear()+1}`;case w.Decades:return`${p}, ${t.getFullYear()+y} - ${t.getFullYear()+2*y-1}`}}function F(e,t){switch(e){case w.Month:return`${m}, ${t.getFullYear()}`;case w.Year:return`${g}, ${t.getFullYear()} - ${t.getFullYear()+y-1}`;case w.Decades:return`${f}, ${o[t.getMonth()]} ${t.getFullYear()}`}}function M(e,t){switch(e){case w.Month:return`${o[t.getMonth()]} ${t.getFullYear()}`;case w.Year:return`${t.getFullYear()}`;case w.Decades:return`${t.getFullYear()} - ${t.getFullYear()+y-1}`}}function S(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:""+(t.getFullYear()-1)});case w.Decades:return v.setDecades.format({year_start:""+(t.getFullYear()-y),year_end:""+(t.getFullYear()-1)})}}function k(e,t){switch(e){case w.Month:{const e=R(t);return v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:`${t.getFullYear()+1}`});case w.Decades:return v.setDecades.format({year_start:`${t.getFullYear()+y}`,year_end:""+(t.getFullYear()+2*y-1)})}}function N(e,t){switch(e){case w.Month:return v.setYear.format({year:`${t.getFullYear()}`});case w.Year:return v.setDecades.format({year_start:`${t.getFullYear()}`,year_end:""+(t.getFullYear()+y-1)});case w.Decades:return v.setMonth.format({month:o[t.getMonth()]})}}function R(e){return 11===e.getMonth()?new Date(e.getFullYear()+1,0,1):new Date(e.getFullYear(),e.getMonth()+1,1)}},28746:(e,t,n)=>{"use strict";n.d(t,{Calendar:()=>E});var s=n(50959),a=n(97754),r=n(14543),o=n(17140),i=n(37287);function l(e){const{prevAriaLabel:t,nextAriaLabel:n,currentAriaLabel:a,currentVisibleTitle:l,isNextDisabled:c,isPrevDisabled:u,isViewModeDisabled:h,prevRef:d,middleRef:p,onPrevClick:m,onNextClick:g,onCurrentClick:f,onPrevKeyDown:v,onMiddleKeyDown:w,onHeaderKeyDown:D}=e;return s.createElement("div",{className:i.header,onKeyDown:D},s.createElement(r.LightButton,{startIcon:o,onClick:m,size:"small",variant:"ghost","aria-label":t,disabled:u,onKeyDown:v,reference:d}),s.createElement(r.LightButton,{size:"small",variant:"ghost","aria-label":a,onClick:f,disabled:h,onKeyDown:w,reference:p},l),s.createElement(r.LightButton,{startIcon:o,onClick:g,size:"small",variant:"ghost","aria-label":n,disabled:c,className:i["flip-horizontal"]}))}var c=n(23935),u=n(15499),h=n(53741);class d extends s.PureComponent{constructor(){super(...arguments),this._dateFormatter=new h.DateFormatter,this._getVariant=()=>{let e="ghost";return this._withinSelectedRange()&&(e=this.props.isDisabled?"secondary":"quiet-primary"),this._isOnHighlightedEdge()&&this.props.isDisabled&&(e="quiet-primary"),e},this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){
|
||||
const e=a(i.day,this.props.isDisabled&&i.disabled,!this.props.isDisabled&&(this.props.isSelected||this._isOnHighlightedEdge())&&i["accent-color"],this._withinSelectedRange()&&i["within-selected-range"],this._isCurrentDay()&&i["current-day"],!this.props.showFocusRing&&i["hide-focus-ring"]),t=this.props.isSelected||this._isOnHighlightedEdge()||this._withinSelectedRange(),n=t||this._isCurrentDay();return s.createElement(r.LightButton,{onClick:this._onClick,onFocus:this.props.onFocus,size:"small",variant:this._getVariant(),isSelected:n,"data-day":this._dateFormatter.formatLocal(this.props.day),className:e,disabled:this.props.isDisabled,reference:this.props.reference,tabIndex:this.props.tabIndex,"aria-label":(0,u.getDayAriaLabel)(this.props.day),"aria-selected":t,"aria-current":this._isCurrentDay()?"date":void 0},this.props.day.getDate())}_isOnHighlightedEdge(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&((0,c.isSameDay)(e,t)||(0,c.isSameDay)(e,n))}_withinSelectedRange(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&this._isBetweenByDay(t,e,n)}_isCurrentDay(){return(0,c.isSameDay)(new Date,this.props.day)}_isBetweenByDay(e,t,n){const s=(0,c.resetToDayStart)(e),a=(0,c.resetToDayStart)(t),r=(0,c.resetToDayStart)(n);return s<a&&a<r}}var p=n(78869),m=n(68335);function g({isDisabledDate:e,findDate:t,getFirstDate:n,getLastDate:a,setNext:r,setPrev:o,dateToFocus:i,verticalOffset:l,dateLevel:u}){const[h,d]=(0,p.useRefsMap)(),g=(0,s.useCallback)((t=>t?e(t)?null:t:null),[e]),f=(0,s.useCallback)(((n,s)=>{if(!n)return null;const a=(0,c.getCloneDateWithOffset)({dateFrom:n,offset:s,isDisabledDate:e,level:u});return g(t(a))}),[t,g]),v=(0,s.useCallback)((()=>{const e=n();return g(e)||f(e,1)}),[g,f]),w=(0,s.useCallback)((()=>{const e=a();return g(e)||f(e,-1)}),[g,f]),D=(0,s.useCallback)(((t,n)=>{if(!t)return;const s=(0,c.getCloneDateWithOffset)({dateFrom:t,offset:n,isDisabledDate:e,level:u});s&&(n>0?r(s):o(s))}),[e,r,o]),{currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}=function({refsMap:e,verticalOffset:t,getNextKeyToFocus:n,getFirstKey:a,getLastKey:r,onGridEnd:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((t=>{if(!t)return;const n=e.current.get(t);n&&(n.focus(),l(t))}),[e]),u=(0,s.useCallback)((e=>{const t=n(i,e);t?c(t):o(i,e)}),[i,n]),h=(0,s.useCallback)((e=>{const n=(0,m.hashFromEvent)(e);if(40===n&&(e.preventDefault(),u(t)),38===n&&(e.preventDefault(),u(-1*t)),39===n&&(e.preventDefault(),u(1)),37===n&&(e.preventDefault(),u(-1)),36===n){e.preventDefault();const t=a();c(t)}if(35===n){e.preventDefault();const t=r();c(t)}}),[i,n]);return{currentlyFocused:i,setCurrentlyFocused:l,focusItem:c,bindings:{onKeyDown:h}}}({refsMap:h,verticalOffset:l,getNextKeyToFocus:f,getFirstKey:v,getLastKey:w,onGridEnd:D});return(0,s.useEffect)((()=>C(g(t(i)))),[i]),{itemsRefs:h,setItemRef:d,ensureNotDisabledDate:g,currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}}function f(e){
|
||||
const{selectedDate:t,dateToFocus:n,weeks:a,onClickDay:r,setPrevMonth:o,setNextMonth:l,maxDate:h,minDate:p,disableWeekends:m,showFocusRing:f,highlightedFrom:v,highlightedTo:w,isDisabled:D,focusableDateRef:b}=e,y=(0,s.useCallback)((e=>{if(!e)return null;let t=null;return a.find((({days:n})=>(t=n.find((t=>(0,c.isSameDay)(t,e))),t))),t}),[a]),C=(0,s.useCallback)((()=>a[0].days[0]),[a]),E=(0,s.useCallback)((()=>{const e=a[a.length-1].days;return e[e.length-1]}),[a]),_=(0,s.useCallback)((e=>D||(0,c.isDayDisabled)({day:e,minDate:p,maxDate:h,disableWeekends:m})),[p,h,m,D]),{itemsRefs:F,setItemRef:M,currentlyFocused:S,setCurrentlyFocused:k,bindings:N}=g({isDisabledDate:_,findDate:y,getFirstDate:C,getLastDate:E,setPrev:o,setNext:l,dateToFocus:n,verticalOffset:7,dateLevel:"day"}),R=(0,c.getDateInTabOrder)({selectedDate:t,dateToFocus:n,currentlyFocused:S,firstEnabledDate:(0,c.getFirstEnabledDay)(a,_),getFirstDate:C,getLastDate:E,isDisabledDate:_});return(0,s.useEffect)((()=>{b.current=R&&F.current.get(R)||null}),[R,b]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},u.WEEKDAYS_MIN.map((e=>s.createElement("span",{key:e},e)))),s.createElement("div",{className:i["view-month"],tabIndex:-1,...N},s.createElement("div",{className:i.weeks},a.map((({week:e,days:n})=>s.createElement("div",{className:i.week,key:e},n.map((e=>s.createElement(d,{key:e.toDateString(),day:e,isDisabled:_(e),isSelected:(0,c.isSameDay)(e,t),onClick:r,highlightedFrom:v,highlightedTo:w,reference:M(e),tabIndex:(0,c.isSameDay)(e,R)?0:-1,onFocus:(0,c.isSameDay)(e,R)?()=>k(e):void 0,showFocusRing:f})))))))))}function v(e){const{months:t,selectedDate:n,maxDate:a,minDate:o,showFocusRing:l,dateToFocus:h,isDisabled:d,focusableDateRef:p,onSelect:m,setPrevYear:f,setNextYear:v}=e,w=(0,s.useCallback)((e=>d||!(0,c.isInRange)(e,o,a,"month")),[o,a,d]),D=(0,s.useCallback)((e=>{if(!e)return null;let n=null;return t.find((({date:t})=>(n=(0,c.isSameMonth)(e,t)?t:null,n))),n}),[t]),b=(0,s.useCallback)((()=>t[0].date),[t]),y=(0,s.useCallback)((()=>t[t.length-1].date),[t]),{itemsRefs:C,setItemRef:E,currentlyFocused:_,setCurrentlyFocused:F,bindings:M}=g({isDisabledDate:w,findDate:D,getFirstDate:b,getLastDate:y,setPrev:f,setNext:v,verticalOffset:3,dateToFocus:h,dateLevel:"month"}),S=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:h,currentlyFocused:_,firstEnabledDate:(0,c.getFirstEnabledMonth)(t,w),getFirstDate:b,getLastDate:y,isDisabledDate:w});return(0,s.useEffect)((()=>{p.current=S&&C.current.get(S)||null}),[S,p]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_YEAR)),s.createElement("div",{className:i["view-year"],...M},t.map((({title:e,ariaLabel:t,date:a})=>{const o=(0,c.isSameMonth)(a,n),u=w(a),h=o?"quiet-primary":"ghost";return s.createElement(r.LightButton,{key:a.toDateString(),size:"small",variant:h,disabled:u,isSelected:o,className:!l&&i["hide-focus-ring"],onClick:()=>m(a),reference:E(a),tabIndex:(0,c.isSameMonth)(a,S)?0:-1,onFocus:(0,
|
||||
c.isSameMonth)(a,S)?()=>F(a):void 0,"aria-label":`${t} ${a.getFullYear()}`,"aria-selected":o},e)}))))}function w(e){const{years:t,selectedDate:n,dateToFocus:o,maxDate:l,minDate:h,showFocusRing:d,isDisabled:p,focusableDateRef:m,onSelect:f,setPrevDecades:v,setNextDecades:w}=e,D=(0,s.useCallback)((e=>p||!(0,c.isInRange)(e,h,l,"year")),[h,l,p]),b=(0,s.useCallback)((e=>e&&t.find((t=>(0,c.isSameYear)(e,t)))||null),[t]),y=(0,s.useCallback)((()=>t[0]),[t]),C=(0,s.useCallback)((()=>t[t.length-1]),[t]),{itemsRefs:E,setItemRef:_,currentlyFocused:F,setCurrentlyFocused:M,bindings:S}=g({isDisabledDate:D,findDate:b,getFirstDate:y,getLastDate:C,setPrev:v,setNext:w,dateToFocus:o,verticalOffset:4,dateLevel:"year"}),k=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:o,currentlyFocused:F,firstEnabledDate:(0,c.getFirstEnabledYear)(t,D),getFirstDate:y,getLastDate:C,isDisabledDate:D});return(0,s.useEffect)((()=>{m.current=k&&E.current.get(k)||null}),[k,m]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_DECADES)),s.createElement("div",{className:i["view-decades"],...S},t.map((e=>{const t=e.getFullYear(),o=(0,c.isSameYear)(e,n),l=D(e),u=o?"quiet-primary":"ghost";return s.createElement(r.LightButton,{key:e.toDateString(),size:"small",variant:u,disabled:l,isSelected:o,className:a(i["decade-button"],!d&&i["hide-focus-ring"]),onClick:()=>f(e),reference:_(e),tabIndex:(0,c.isSameYear)(e,k)?0:-1,onFocus:(0,c.isSameYear)(e,k)?()=>M(e):void 0,"aria-selected":o},t)}))))}class D{constructor(e,t=[]){this._messagesQueue=[],this._alternate=!1,this._renderedMessage=null,this._idCounter=0,this._containers=[...t],this._type=e}setContainers(e){this._containers=[...e]}addMessage(e,t=0){const n=this._generateId(),s={id:n,message:e,destroyTimeout:this._calculateDestroyTimeout(e,t)};return this._messagesQueue.push(s),this._renderedMessage||this._renderMessage(),{...s,type:this._type,destroy:this._getDestroyMessageCallback(n)}}destroyAll(){var e;this._messagesQueue=[],clearTimeout(null===(e=this._renderedMessage)||void 0===e?void 0:e.destroyTimer),this._containers.forEach((e=>{e.innerText=""})),this._renderedMessage=null,this._alternate=!1}_generateId(){return`live-region-${this._type}-${this._idCounter++}`}_calculateDestroyTimeout(e,t=0){const n=50*e.trim().length+200,s=250*e.trim().length;return Math.min(Math.max(n,t),s)}_findById(e){var t;return(null===(t=this._renderedMessage)||void 0===t?void 0:t.id)===e?this._renderedMessage:this._messagesQueue.find((t=>t.id===e))}_getDestroyMessageCallback(e){return async t=>{const n=this._findById(e);return!!n&&(n.renderedTo?!!t&&(this._removeRenderedMessage(),this._renderMessage(),!0):(this._removeFromQueue(n),!0))}}_removeRenderedMessage(){var e;const t=null===(e=this._renderedMessage)||void 0===e?void 0:e.renderedTo;t&&(t.innerText=""),this._renderedMessage=null}_removeFromQueue(e){this._messagesQueue=this._messagesQueue.filter((t=>t!==e))}async _renderMessage(){if(!this._containers.length||!this._messagesQueue.length)return
|
||||
;const e=this._alternate?this._containers[0]:this._containers[1],t=this._messagesQueue.shift();let n;e.innerText=t.message;const s=new Promise(((e,s)=>{n=setTimeout((()=>{var n;if((null===(n=this._renderedMessage)||void 0===n?void 0:n.id)===t.id)return this._removeRenderedMessage(),void this._renderMessage().then(e);s("Currently rendered message is not the one that you 're trying to destroy")}),t.destroyTimeout)}));this._renderedMessage={...t,renderedTo:e,destroyTimer:n,destroyPromise:s},this._alternate=!this._alternate}}class b extends D{}const y=new class{constructor(){this.isInited=!1,this._politeQueue=new b("polite"),this._assertiveQueue=new b("assertive")}renderTo(e,t=!1){return t&&this.destroy(),this._init(e)}destroy(){this._politeQueue.destroyAll(),this._assertiveQueue.destroyAll(),this.isInited=!1}sayPolitely(e,t){return this.isInited?this._politeQueue.addMessage(e,t):null}interrupt(e,t){return this.isInited?this._assertiveQueue.addMessage(e,t):null}_init(e){if(!e)return!1;if(this.isInited)return!1;return!!this._setContainers(e)&&(this.isInited=!0,!0)}_setContainers(e){const t=document.getElementById(e);if(!t)return!1;const n=t.querySelectorAll('[aria-live="polite"]'),s=t.querySelectorAll('[aria-live="assertive"]');return!(!n||2!==n.length||!s||2!==s.length)&&(this._politeQueue.setContainers([n[0],n[1]]),this._assertiveQueue.setContainers([s[0],s[1]]),!0)}};function C({viewType:e,decadesStartYear:t,viewDate:n,setPrev:a,setNext:r,switchViewType:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((e=>{i&&i.destroy(),l(y.sayPolitely(e))}),[i,l]);return{onPrevClick:(0,s.useCallback)((()=>{c((0,u.getPrevLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),a(null)}),[a,c]),onNextClick:(0,s.useCallback)((()=>{c((0,u.getNextLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),r(null)}),[r,c]),onSwitchViewType:(0,s.useCallback)((s=>{c((0,u.getViewTypeLiveRegionConfirmation)(e,e===u.CalendarViewType.Year?t:n)),o(s)}),[o,c])}}function E(e){const{selectedDate:t,maxDate:n,minDate:r,className:o,disableWeekends:h,highlightedFrom:d,highlightedTo:p,popupStyle:g=!0,showFocusRing:D=!1,autoFocus:b=!1,isDisabled:y=!1,withFocusTrap:E=!1,endSlot:_,onSelect:F,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,focusTriggerElement:R}=e,[x,T]=(0,s.useState)(D),I=(0,s.useCallback)((()=>T(!0)),[T]);(0,s.useEffect)((()=>{D&&T(!0)}),[D]);const P=(0,s.useCallback)((e=>{R&&38===(0,m.hashFromEvent)(e)&&(e.preventDefault(),e.stopPropagation(),T(!1),R())}),[R]),{viewDate:A,viewType:Y,dateToFocus:O,weeks:z,months:V,years:L,isNextDisabled:H,isPrevDisabled:B,setPrev:$,setNext:K,switchViewType:W,onClickDay:j,onClickMonth:J,onClickYear:q}=function({selectedDate:e,autoFocus:t,showFocusRing:n,minDate:a,maxDate:r,onSelect:o,onMonthSwitch:i,onYearSwitch:l,onDecadesSwitch:h,onViewTypeChange:d}){const[p,m]=(0,s.useState)(e),[g,f]=(0,s.useState)(u.CalendarViewType.Month),[v,w]=(0,s.useState)(t?e:null),D=(0,s.useMemo)((()=>(0,c.getDecadesStart)(p)),[p]),b=(0,s.useCallback)((e=>{const t=new Date(p),n=(0,
|
||||
;const e=this._alternate?this._containers[0]:this._containers[1],t=this._messagesQueue.shift();let n;e.innerText=t.message;const s=new Promise(((e,s)=>{n=setTimeout((()=>{var n;if((null===(n=this._renderedMessage)||void 0===n?void 0:n.id)===t.id)return this._removeRenderedMessage(),void this._renderMessage().then(e);s("Currently rendered message is not the one that you 're trying to destroy")}),t.destroyTimeout)}));this._renderedMessage={...t,renderedTo:e,destroyTimer:n,destroyPromise:s},this._alternate=!this._alternate}}class b extends D{}const y=new class{constructor(){this.isInited=!1,this._politeQueue=new b("polite"),this._assertiveQueue=new b("assertive")}renderTo(e,t=!1){return t&&this.destroy(),this._init(e)}destroy(){this._politeQueue.destroyAll(),this._assertiveQueue.destroyAll(),this.isInited=!1}sayPolitely(e,t){return this.isInited?this._politeQueue.addMessage(e,t):null}interrupt(e,t){return this.isInited?this._assertiveQueue.addMessage(e,t):null}_init(e){if(!e)return!1;if(this.isInited)return!1;return!!this._setContainers(e)&&(this.isInited=!0,!0)}_setContainers(e){const t=document.getElementById(e);if(!t)return!1;const n=t.querySelectorAll('[aria-live="polite"]'),s=t.querySelectorAll('[aria-live="assertive"]');return!(!n||2!==n.length||!s||2!==s.length)&&(this._politeQueue.setContainers([n[0],n[1]]),this._assertiveQueue.setContainers([s[0],s[1]]),!0)}};function C({viewType:e,decadesStartYear:t,viewDate:n,setPrev:a,setNext:r,switchViewType:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((e=>{i&&i.destroy(),l(y.sayPolitely(e))}),[i,l]);return{onPrevClick:(0,s.useCallback)((()=>{c((0,u.getPrevLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),a(null)}),[a,c]),onNextClick:(0,s.useCallback)((()=>{c((0,u.getNextLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),r(null)}),[r,c]),onSwitchViewType:(0,s.useCallback)((s=>{c((0,u.getViewTypeLiveRegionConfirmation)(e,e===u.CalendarViewType.Year?t:n)),o(s)}),[o,c])}}function E(e){const{selectedDate:t,maxDate:n,minDate:r,className:o,disableWeekends:h,highlightedFrom:d,highlightedTo:p,popupStyle:g=!0,showFocusRing:D=!1,autoFocus:b=!1,isDisabled:y=!1,withFocusTrap:E=!1,endSlot:_,onSelect:F,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,focusTriggerElement:R}=e,[x,T]=(0,s.useState)(D),I=(0,s.useCallback)((()=>T(!0)),[T]);(0,s.useEffect)((()=>{D&&T(!0)}),[D]);const P=(0,s.useCallback)((e=>{R&&38===(0,m.hashFromEvent)(e)&&(e.preventDefault(),e.stopPropagation(),T(!1),R())}),[R]),{viewDate:A,viewType:Y,dateToFocus:O,weeks:V,months:z,years:L,isNextDisabled:H,isPrevDisabled:B,setPrev:$,setNext:K,switchViewType:W,onClickDay:j,onClickMonth:J,onClickYear:q}=function({selectedDate:e,autoFocus:t,showFocusRing:n,minDate:a,maxDate:r,onSelect:o,onMonthSwitch:i,onYearSwitch:l,onDecadesSwitch:h,onViewTypeChange:d}){const[p,m]=(0,s.useState)(e),[g,f]=(0,s.useState)(u.CalendarViewType.Month),[v,w]=(0,s.useState)(t?e:null),D=(0,s.useMemo)((()=>(0,c.getDecadesStart)(p)),[p]),b=(0,s.useCallback)((e=>{const t=new Date(p),n=(0,
|
||||
u.getNextMonth)(p),s=new Date(n.getFullYear(),n.getMonth()+e,0).getDate(),a=p.getDate()>s?s:p.getDate();t.setMonth(t.getMonth()+e,a),m(t),i&&i(t)}),[p,i]),y=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(t.getFullYear()+e),m(t),l&&l(t)}),[p,l]),C=(0,s.useCallback)((e=>{const t=new Date(D);t.setFullYear(t.getFullYear()+e),m(t),h&&h(t)}),[D,p,h]),E=(0,s.useCallback)(((e,t)=>{switch(t&&w(t),g){case u.CalendarViewType.Month:return b(1*e);case u.CalendarViewType.Year:return y(1*e);case u.CalendarViewType.Decades:return C(e*u.DECADES_YEARS_AMOUNT)}}),[g,b,y,C]),_=(0,s.useCallback)((e=>E(-1,e)),[E]),F=(0,s.useCallback)((e=>E(1,e)),[E]),M=(0,s.useCallback)((()=>{const e=Object.values(u.CalendarViewType);let t=e.indexOf(g)+1;t>=e.length&&(t=0),f(e[t]),d&&d(e[t])}),[g]),S=(0,s.useCallback)((e=>{m(new Date(e)),o&&o(new Date(e))}),[o]),k=(0,s.useCallback)((e=>{const t=new Date(p);t.setMonth(e.getMonth()),(0,c.isSameMonth)(t,e)||t.setMonth(e.getMonth(),1),m(t);const n=new Date(v||p);n.setMonth(e.getMonth()),(0,c.isSameMonth)(n,e)||n.setMonth(e.getMonth(),1),w(n),f(u.CalendarViewType.Month)}),[p,o,M]),N=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(e.getFullYear()),m(t);const n=new Date(v||p);n.setFullYear(e.getFullYear()),w(n),f(u.CalendarViewType.Year)}),[p,o,M]),R=(0,s.useMemo)((()=>(0,c.getWeeks)(p)),[p]),x=(0,s.useMemo)((()=>(0,c.getMonths)(p)),[p]),T=(0,s.useMemo)((()=>(0,c.getDecades)(D)),[D]),I=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=R[R.length-1].days,t=new Date(e[e.length-1]);return t.setDate(t.getDate()+1),!(0,c.isInRange)(t,a,r)}case u.CalendarViewType.Year:{const e=new Date(x[x.length-1].date);return e.setMonth(e.getMonth()+1),!(0,c.isInRange)(e,a,r,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[T.length-1]);return e.setFullYear(e.getFullYear()+1),!(0,c.isInRange)(e,a,r,"year")}}}),[g,a,r,R,x,T]),P=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=new Date(R[0].days[0]);return e.setDate(e.getDate()-1),!(0,c.isInRange)(e,a,r)}case u.CalendarViewType.Year:{const e=new Date(x[0].date);return e.setMonth(e.getMonth()-1),!(0,c.isInRange)(e,a,r,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[0]);return e.setFullYear(e.getFullYear()-1),!(0,c.isInRange)(e,a,r,"year")}}}),[g,a,r,R,x,T]);return(0,s.useEffect)((()=>{!v&&n&&t&&w(e),n||w(null)}),[t,e,v,n]),{viewDate:p,viewType:g,dateToFocus:v,weeks:R,months:x,years:T,isNextDisabled:I,isPrevDisabled:P,setPrev:_,setNext:F,switchViewType:M,onClickDay:S,onClickMonth:k,onClickYear:N}}({selectedDate:t,minDate:r,maxDate:n,autoFocus:b,showFocusRing:x,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,onSelect:F}),{focusableDateRef:U,prevRef:Q,middleRef:Z,onPrevKeyDown:X,onMiddleKeyDown:G,forwardFocusToStart:ee}=function({withFocusTrap:e,isPrevDisabled:t}){const n=(0,s.useRef)(null),a=(0,s.useCallback)((t=>{var s;e&&m.Modifiers.Shift+9===(0,m.hashFromEvent)(t)&&(t.preventDefault(),null===(s=n.current)||void 0===s||s.focus())}),[e]),r=(0,s.useCallback)((e=>{t||a(e)}),[t,a]),o=(0,
|
||||
s.useCallback)((e=>{t&&a(e)}),[t,a]),i=(0,s.useRef)(null),l=(0,s.useRef)(null),c=(0,s.useCallback)((e=>{var n,s;e.preventDefault(),e.stopPropagation(),t?null===(s=l.current)||void 0===s||s.focus():null===(n=i.current)||void 0===n||n.focus()}),[t]);return{focusableDateRef:n,prevRef:i,middleRef:l,onPrevKeyDown:r,onMiddleKeyDown:o,forwardFocusToStart:c}}({withFocusTrap:E,isPrevDisabled:B}),te=(0,s.useMemo)((()=>L[0]),[L]),{onPrevClick:ne,onNextClick:se,onSwitchViewType:ae}=C({viewType:Y,decadesStartYear:te,viewDate:A,setPrev:$,setNext:K,switchViewType:W});return s.createElement("div",{className:a(i.calendar,g&&i.popupStyle,o),tabIndex:-1,onKeyDown:I},s.createElement(l,{prevAriaLabel:(0,u.getPrevAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),nextAriaLabel:(0,u.getNextAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),currentAriaLabel:(0,u.getCurrentAriaLabel)(Y,Y===u.CalendarViewType.Year?te:A),currentVisibleTitle:(0,u.getCurrentVisibleTitle)(Y,Y===u.CalendarViewType.Decades?te:A),onPrevClick:ne,onNextClick:se,onPrevKeyDown:X,onMiddleKeyDown:G,onHeaderKeyDown:P,onCurrentClick:ae,isNextDisabled:y||H,isPrevDisabled:y||B,isViewModeDisabled:y,prevRef:Q,middleRef:Z}),Y===u.CalendarViewType.Month&&s.createElement(f,{weeks:z,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onClickDay:j,disableWeekends:h,highlightedFrom:d,highlightedTo:p,setPrevMonth:$,setNextMonth:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Year&&s.createElement(v,{months:V,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:J,setPrevYear:$,setNextYear:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Decades&&s.createElement(w,{years:L,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:q,setPrevDecades:$,setNextDecades:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),s.createElement("div",{className:i["slot-wrapper"]},_),E&&s.createElement("div",{tabIndex:0,onFocus:ee}))}},85528:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>F});var s=n(44352),a=n(50959),r=n(97754),o=n(5325),i=n(32563),l=n(53741),c=n(28746),u=n(50151),h=n(9745),d=n(86623),p=n(95263),m=n(78274),g=n(76594),f=n(65718),v=n(68335),w=n(20111);class D extends a.PureComponent{constructor(e){super(e),this._input=null,this._inputContainer=null,this._handleFocus=e=>{var t,n;this.props.showOnFocus&&this.props.onShowPicker(),null===(n=(t=this.props).onFocus)||void 0===n||n.call(t,e)},this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=e=>{this._inputContainer=e},this._onShowPicker=e=>{if(e&&this._inputContainer){const t=e.getBoundingClientRect(),n=this._inputContainer.getBoundingClientRect();t.width&&t.width>window.innerWidth-n.left?(e.style.right="0",e.style.left="auto"):(e.style.right="auto",e.style.left=`${n.left}px`);const s=window.innerHeight-n.bottom,a=n.top;if(s>=t.height)return void(e.style.top=`${n.bottom}px`);e.style.top="auto",e.style.bottom=a<t.height?"0":`${s+n.height}px`}},this._onChange=()=>{const e=(0,u.ensureNotNull)(this._input).value
|
||||
s.useCallback)((e=>{t&&a(e)}),[t,a]),i=(0,s.useRef)(null),l=(0,s.useRef)(null),c=(0,s.useCallback)((e=>{var n,s;e.preventDefault(),e.stopPropagation(),t?null===(s=l.current)||void 0===s||s.focus():null===(n=i.current)||void 0===n||n.focus()}),[t]);return{focusableDateRef:n,prevRef:i,middleRef:l,onPrevKeyDown:r,onMiddleKeyDown:o,forwardFocusToStart:c}}({withFocusTrap:E,isPrevDisabled:B}),te=(0,s.useMemo)((()=>L[0]),[L]),{onPrevClick:ne,onNextClick:se,onSwitchViewType:ae}=C({viewType:Y,decadesStartYear:te,viewDate:A,setPrev:$,setNext:K,switchViewType:W});return s.createElement("div",{className:a(i.calendar,g&&i.popupStyle,o),tabIndex:-1,onKeyDown:I},s.createElement(l,{prevAriaLabel:(0,u.getPrevAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),nextAriaLabel:(0,u.getNextAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),currentAriaLabel:(0,u.getCurrentAriaLabel)(Y,Y===u.CalendarViewType.Year?te:A),currentVisibleTitle:(0,u.getCurrentVisibleTitle)(Y,Y===u.CalendarViewType.Decades?te:A),onPrevClick:ne,onNextClick:se,onPrevKeyDown:X,onMiddleKeyDown:G,onHeaderKeyDown:P,onCurrentClick:ae,isNextDisabled:y||H,isPrevDisabled:y||B,isViewModeDisabled:y,prevRef:Q,middleRef:Z}),Y===u.CalendarViewType.Month&&s.createElement(f,{weeks:V,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onClickDay:j,disableWeekends:h,highlightedFrom:d,highlightedTo:p,setPrevMonth:$,setNextMonth:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Year&&s.createElement(v,{months:z,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:J,setPrevYear:$,setNextYear:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Decades&&s.createElement(w,{years:L,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:q,setPrevDecades:$,setNextDecades:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),s.createElement("div",{className:i["slot-wrapper"]},_),E&&s.createElement("div",{tabIndex:0,onFocus:ee}))}},85528:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>F});var s=n(11542),a=n(50959),r=n(97754),o=n(5325),i=n(32563),l=n(53741),c=n(28746),u=n(50151),h=n(9745),d=n(86623),p=n(95263),m=n(78274),g=n(52778),f=n(42842),v=n(68335),w=n(20111);class D extends a.PureComponent{constructor(e){super(e),this._input=null,this._inputContainer=null,this._handleFocus=e=>{var t,n;this.props.showOnFocus&&this.props.onShowPicker(),null===(n=(t=this.props).onFocus)||void 0===n||n.call(t,e)},this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=e=>{this._inputContainer=e},this._onShowPicker=e=>{if(e&&this._inputContainer){const t=e.getBoundingClientRect(),n=this._inputContainer.getBoundingClientRect();t.width&&t.width>window.innerWidth-n.left?(e.style.right="0",e.style.left="auto"):(e.style.right="auto",e.style.left=`${n.left}px`);const s=window.innerHeight-n.bottom,a=n.top;if(s>=t.height)return void(e.style.top=`${n.bottom}px`);e.style.top="auto",e.style.bottom=a<t.height?"0":`${s+n.height}px`}},this._onChange=()=>{const e=(0,u.ensureNotNull)(this._input).value
|
||||
;this.setState({value:e}),this.props.onType(e)},this._onKeyDown=e=>{this.props.hideOnKeyDown&&this.props.onHidePicker(),this.props.onKeyDown&&this.props.onKeyDown(e)},this._onKeyPress=e=>{if(e.charCode){const t=String.fromCharCode(e.charCode);this.props.inputRegex.test(t)||e.preventDefault()}},this._onKeyUp=e=>{if(8!==e.keyCode){const e=(0,u.ensureNotNull)(this._input).value,t=this.props.fixValue(e);t!==e&&this.setState({value:t})}},this._handleDropdownKeydown=e=>{var t;27===(0,v.hashFromEvent)(e)&&(null===(t=this._input)||void 0===t||t.focus(),this.props.onHidePicker())},this.state={value:e.value,valueFromProps:e.value}}render(){const{position:e="fixed",className:t,size:n,disabled:s,readonly:o,errors:i,icon:l,InputComponent:c=d.FormInput}=this.props;return a.createElement("div",{className:w.pickerInput,ref:this._handleContainerRef},a.createElement(c,{value:this.state.value,onBlur:this.props.onBlur,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this._handleFocus,onClick:this.props.onShowPicker,reference:this._handleInputRef,className:t,size:n,disabled:s,errors:i,messagesPosition:p.MessagesPosition.Attached,hasErrors:this.props.showErrorMessages&&i&&i.length>0,name:this.props.name,readonly:o,endSlot:i&&i.length?void 0:a.createElement(m.EndSlot,null,a.createElement(h.Icon,{icon:l,className:r(w.icon,s&&w.disabled),onClick:s||o?void 0:this.props.onShowPicker})),"data-name":this.props.name}),this.props.showPicker&&!o?a.createElement(f.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},a.createElement(g.OutsideEvent,{mouseDown:!0,handler:this.props.onHidePicker},(t=>a.createElement("span",{ref:t,style:{pointerEvents:"auto"}},a.createElement("div",{className:r(w.picker,w[e]),key:"0",ref:this._onShowPicker,onKeyDown:this._handleDropdownKeydown},this.props.children))))):null)}static getDerivedStateFromProps(e,t){return e.value!==t.valueFromProps?{value:e.value,valueFromProps:e.value}:null}}D.defaultProps={showOnFocus:!0};class b extends a.PureComponent{constructor(e){super(e),this._input=null,this._nativeInputRef=a.createRef(),this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._onFocus=()=>{this.setState({isFocused:!0})},this._onBlur=()=>{this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.state.value),this.setState({isFocused:!1})},this._onChange=e=>{const{value:t}=e.target;t&&(this.setState({value:t}),this.props.onChange(t))},this.state={value:e.value,isFocused:!1}}componentDidMount(){this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.props.value)}render(){const{className:e,containerClassName:t,disabled:n,errors:s,InputComponent:o=d.FormInput}=this.props,i=!this.props.readonly&&!n,l=this.props.showErrorMessages&&s&&s.length>0;return a.createElement("div",{className:r(w.pickerInput,t)},a.createElement(o,{value:this.state.value,readonly:!0,noReadonlyStyles:!0,
|
||||
endSlot:s&&s.length?void 0:a.createElement(m.EndSlot,null,a.createElement(h.Icon,{icon:this.props.icon,className:r(w.icon,n&&w.disabled)})),className:e,inputClassName:w.textInput,size:this.props.size,disabled:n,hasErrors:l,errors:s,alwaysShowAttachedErrors:!0,messagesPosition:p.MessagesPosition.Attached,name:i?void 0:this.props.name,reference:this._handleInputRef,highlight:this.state.isFocused,intent:!l&&this.state.isFocused?"primary":void 0}),i&&a.createElement("input",{ref:this._nativeInputRef,type:this.props.type,className:w.nativePicker,onChange:this._onChange,onInput:this._onChange,min:this.props.min,max:this.props.max,name:this.props.name,onFocus:this._onFocus,onBlur:this._onBlur}))}}var y=n(23935),C=n(67029),E=n(53017),_=n(1401);class F extends a.PureComponent{constructor(e){super(e),this._pickerInputContainerRef=a.createRef(),this._pickerInpuRef=a.createRef(),this._dateFormatter=new l.DateFormatter,this._onPickerInputKeyDown=e=>{const t=(0,v.hashFromEvent)(e);if([v.Modifiers.Shift+9,9].includes(t))this._hideCalendar();else{if(40===t)return e.preventDefault(),this._showCalendar(),void this.setState({autofocusCalendar:!0});13===t&&this.props.onEnter&&this.props.onEnter(e),this._hideCalendar()}},this._returnFocusToInput=()=>{var e;this.setState({autofocusCalendar:!1}),null===(e=this._pickerInpuRef.current)||void 0===e||e.focus()},this._fixValue=e=>(e=(e=e.substring(0,10)).replace(/-+/g,"-"),(/^\d{4}$/.test(e)||/^\d{4}-\d{2}$/.test(e))&&(e+="-"),e),this._isValid=e=>{if(/^[0-9]{4}(-[0-9]{2}){2}/.test(e)){const t=new Date(e.concat("T00:00"));return!(0,y.isInvalidDateObj)(t)&&(!!(this.props.noRangeValidation||i.mobiletouch&&o.isIOS)||(0,y.isInRange)(t,this.props.minDate,this.props.maxDate))}return!1},this._onBlur=e=>{var t;if(!this.props.revertInvalidData||(null===(t=this._pickerInputContainerRef.current)||void 0===t?void 0:t.contains(e.relatedTarget)))return;const{value:n}=e.target;if(!this._isValid(n)){const t=new Date(this.state.date);this.setState({pickerInputKey:e.timeStamp,date:t,isInvalid:!1}),this.props.onPick(t)}},this._onType=e=>{const t=this._isValid(e)?new Date(e.concat("T00:00")):null;t?this.setState({date:t,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(t)},this._onSelect=e=>{this.setState({date:e,showCalendar:!1,isInvalid:!1}),this.props.onPick(e)},this._showCalendar=()=>{this.setState({showCalendar:!0})},this._hideCalendar=()=>{this.setState({showCalendar:!1,autofocusCalendar:!1})},this._getErrors=()=>{const e=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&e.push(s.t(null,void 0,n(5122))),e},this.state={pickerInputKey:0,date:e.initial,showCalendar:!1,isInvalid:!this._isValid(this._dateFormatter.formatLocal(e.initial)),autofocusCalendar:!1,initial:e.initial}}render(){const e=this.props.endSlotComponent,t=(0,E.mergeRefs)([this._pickerInpuRef,this.props.inputReference]);return i.mobiletouch?a.createElement(b,{value:this._dateFormatter.formatLocal(this.state.date),type:"date",onChange:this._onType,icon:_,disabled:this.props.disabled,size:this.props.size,
|
||||
min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:r(this._getFontSizeClassName(this.props.size),this.props.className),containerClassName:this.props.containerClassName,inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):a.createElement("div",{className:this.props.containerClassName,ref:this._pickerInputContainerRef},a.createElement(D,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:_,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:r(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:t,InputComponent:this.props.InputComponent,onKeyDown:this._onPickerInputKeyDown,onFocus:this.props.onFocus},a.createElement(c.Calendar,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect,endSlot:e&&a.createElement(e,{onSelectDate:this._onSelect}),autoFocus:this.state.autofocusCalendar,showFocusRing:this.state.autofocusCalendar,focusTriggerElement:this._returnFocusToInput,withFocusTrap:!0})))}static getDerivedStateFromProps(e,t){return t.initial!==e.initial?{...t,date:e.initial,initial:e.initial}:null}_getFontSizeClassName(e){return e?"large"===e?C.InputClasses.FontSizeLarge:C.InputClasses.FontSizeMedium:void 0}}F.defaultProps={position:"fixed",withCalendar:!0}},76056:(e,t,n)=>{"use strict";n.d(t,{DateInput:()=>m});var s=n(50959),a=n(44352),r=n(9745),o=n(78274),i=n(86623),l=n(97754),c=n.n(l),u=n(30247);function h(e){const{className:t,text:n}=e;return s.createElement("span",{className:c()(u.tooltip,t)},n)}var d=n(98475);const p=n(53209);function m(e){const{hasErrors:t,onClick:l,errors:c,className:u,theme:m=p,...g}=e;return s.createElement("div",{className:m.container,onClick:l},s.createElement(i.FormInput,{...g,className:m.date,hasErrors:t,errors:[],endSlot:!t&&s.createElement(o.EndSlot,{icon:!0,interactive:!1},s.createElement(r.Icon,{icon:d,className:m.icon}))}),t&&s.createElement(h,{text:a.t(null,void 0,n(32457)),className:m.tooltip}))}},23935:(e,t,n)=>{"use strict";n.d(t,{addLocalTime:()=>b,getCloneDateWithOffset:()=>N,getDateInTabOrder:()=>R,getDecades:()=>_,getDecadesStart:()=>y,getFirstEnabledDay:()=>M,getFirstEnabledMonth:()=>S,getFirstEnabledYear:()=>k,getMonths:()=>E,getWeeks:()=>C,isDayDisabled:()=>F,isInRange:()=>f,isInvalidDateObj:()=>v,isSameDay:()=>u,isSameMonth:()=>h,isSameYear:()=>d,resetToDayEnd:()=>o,resetToDayStart:()=>r,
|
||||
min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:r(this._getFontSizeClassName(this.props.size),this.props.className),containerClassName:this.props.containerClassName,inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):a.createElement("div",{className:this.props.containerClassName,ref:this._pickerInputContainerRef},a.createElement(D,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:_,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:r(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:t,InputComponent:this.props.InputComponent,onKeyDown:this._onPickerInputKeyDown,onFocus:this.props.onFocus},a.createElement(c.Calendar,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect,endSlot:e&&a.createElement(e,{onSelectDate:this._onSelect}),autoFocus:this.state.autofocusCalendar,showFocusRing:this.state.autofocusCalendar,focusTriggerElement:this._returnFocusToInput,withFocusTrap:!0})))}static getDerivedStateFromProps(e,t){return t.initial!==e.initial?{...t,date:e.initial,initial:e.initial}:null}_getFontSizeClassName(e){return e?"large"===e?C.InputClasses.FontSizeLarge:C.InputClasses.FontSizeMedium:void 0}}F.defaultProps={position:"fixed",withCalendar:!0}},76056:(e,t,n)=>{"use strict";n.d(t,{DateInput:()=>m});var s=n(50959),a=n(11542),r=n(9745),o=n(78274),i=n(86623),l=n(97754),c=n.n(l),u=n(30247);function h(e){const{className:t,text:n}=e;return s.createElement("span",{className:c()(u.tooltip,t)},n)}var d=n(98475);const p=n(53209);function m(e){const{hasErrors:t,onClick:l,errors:c,className:u,theme:m=p,...g}=e;return s.createElement("div",{className:m.container,onClick:l},s.createElement(i.FormInput,{...g,className:m.date,hasErrors:t,errors:[],endSlot:!t&&s.createElement(o.EndSlot,{icon:!0,interactive:!1},s.createElement(r.Icon,{icon:d,className:m.icon}))}),t&&s.createElement(h,{text:a.t(null,void 0,n(32457)),className:m.tooltip}))}},23935:(e,t,n)=>{"use strict";n.d(t,{addLocalTime:()=>b,getCloneDateWithOffset:()=>N,getDateInTabOrder:()=>R,getDecades:()=>_,getDecadesStart:()=>y,getFirstEnabledDay:()=>M,getFirstEnabledMonth:()=>S,getFirstEnabledYear:()=>k,getMonths:()=>E,getWeeks:()=>C,isDayDisabled:()=>F,isInRange:()=>f,isInvalidDateObj:()=>v,isSameDay:()=>u,isSameMonth:()=>h,isSameYear:()=>d,resetToDayEnd:()=>o,resetToDayStart:()=>r,
|
||||
subtractLocalTime:()=>D,twoDigitsFormat:()=>a});var s=n(15499);function a(e){return("0"+e).slice(-2)}function r(e){const t=new Date(e);return t.setMilliseconds(0),t.setSeconds(0),t.setMinutes(0),t.setHours(0),t}function o(e){const t=new Date(e);return t.setMilliseconds(999),t.setSeconds(59),t.setMinutes(59),t.setHours(23),t}function i(e,t=!1){const n=r(e),s=t?function(e){if(e>6)throw new Error("Invalid day is provided");return 0===e?6:e-1}(n.getDay()):n.getDay();return n.setDate(n.getDate()-s),n}function l(e){const t=r(e);return t.setDate(1),t}function c(e){const t=l(e);return t.setMonth(1),t}function u(e,t){return!!t&&Number(r(e))===Number(r(t))}function h(e,t){return!!t&&Number(l(e))===Number(l(t))}function d(e,t){return!!t&&Number(c(e))===Number(c(t))}function p(e){const t=new Date(e.getFullYear(),0,1),n=(Number(e)-Number(t))/864e5;return Math.ceil((n+t.getDay()+1)/7)}function m(e){const t=new Date(e);return t.setDate(t.getDate()+7),t}const g={day:r,month:l,year:c};function f(e,t,n,s="day"){const a=g[s],r=!t||Number(a(t))-Number(a(e))<=0;return(!n||Number(a(n))-Number(a(e))>=0)&&r}function v(e){return Number.isNaN(Number(e))}function w(e){return new Date(e).getTimezoneOffset()/60}function D(e){const t=new Date(e);return t.setHours(t.getHours()+w(t)),t}function b(e){const t=new Date(e);return t.setHours(t.getHours()-w(t)),t}function y(e){const t=e.getFullYear()%10*-1,n=new Date(e);return n.setFullYear(e.getFullYear()+t),n}function C(e){const t=[];let n=i(l(e),!0);for(let s=0;s<6;s++){const s=[];for(let t=0;t<7;t++){const a=new Date(n);a.setDate(a.getDate()+t),h(a,e)&&s.push(a)}s.length&&t.push({week:p(n),days:s}),n=new Date(m(n))}return t}function E(e){return s.MONTHS_SHORT.map(((t,n)=>{const a=l(e);return a.setMonth(n),{title:t,ariaLabel:s.MONTHS[n],date:a}}))}function _(e){const t=[];for(let n=0;n<s.DECADES_YEARS_AMOUNT;n++){const s=new Date(e);s.setFullYear(e.getFullYear()+n),t.push(s)}return t}function F({day:e,minDate:t,maxDate:n,disableWeekends:s=!1}){if(!f(e,t,n))return!0;const a=[6,0].includes(e.getDay());return!!s&&a}function M(e,t){return function n(s=0,a=0){if(!e[s]||!e[s].days[a])return;const r=e[s].days,o=r[a];return t(o)?a+1<r.length?n(s,a+1):n(s+1,0):o}()}function S(e,t){return function n(s=0){if(!e[s])return;const a=e[s].date;return t(a)?n(s+1):a}()}function k(e,t){return function n(s=0){if(!e[s])return;const a=e[s];return t(a)?n(s+1):a}()}function N({dateFrom:e,offset:t,level:n="day",maxIterations:s=6,isDisabledDate:a=(()=>!1)}){return function e(r,o=0){const i=new Date(r);switch(n){case"day":i.setDate(i.getDate()+t);break;case"month":i.setMonth(i.getMonth()+t);break;case"year":i.setFullYear(i.getFullYear()+t)}const l=a(i);return o>s||!l?l?null:i:e(i,o+1)}(e)}function R({selectedDate:e,dateToFocus:t,currentlyFocused:n,firstEnabledDate:s,getFirstDate:a,getLastDate:r,isDisabledDate:o}){const i=f(e,a(),r(),"day")&&!o(e)?e:null,l=t&&f(t,a(),r(),"day")&&!o(t)?t:null;return(n&&f(n,a(),r(),"day")&&!o(n)?n:null)||i||l||s}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>r,
|
||||
useAccurateHover:()=>o,useHover:()=>a});var s=n(50959);function a(){const[e,t]=(0,s.useState)(!1);return[e,{onMouseOver:function(e){r(e)&&t(!0)},onMouseOut:function(e){r(e)&&t(!1)}}]}function r(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,n]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const t=t=>{if(null===e.current)return;const s=e.current.contains(t.target);n(s)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},86623:(e,t,n)=>{"use strict";n.d(t,{FormInput:()=>c});var s=n(50959),a=n(31261),r=n(95263),o=n(78274),i=n(47201),l=n(38528);function c(e){var t;const{intent:n,onFocus:c,onBlur:u,onMouseOver:h,onMouseOut:d,containerReference:p=null,endSlot:m,hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,"aria-required":N,"aria-invalid":R,"aria-label":x,inputDescription:T,...I}=e,P=(0,r.useControlValidationLayout)({hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,inputDescription:T}),A=(0,i.createSafeMulticastEventHandler)(c,P.onFocus),Y=(0,i.createSafeMulticastEventHandler)(u,P.onBlur),O=(0,i.createSafeMulticastEventHandler)(h,P.onMouseOver),z=(0,i.createSafeMulticastEventHandler)(d,P.onMouseOut);return s.createElement(s.Fragment,null,s.createElement(a.InputControl,{...I,intent:null!==(t=P.intent)&&void 0!==t?t:n,onFocus:A,onBlur:Y,onMouseOver:O,onMouseOut:z,containerReference:(0,l.useMergedRefs)([p,P.containerReference]),endSlot:s.createElement(s.Fragment,null,P.icon&&s.createElement(o.EndSlot,{icon:!0},P.icon),m),"aria-required":N,"aria-invalid":R,"aria-describedby":P.ariaIds,"aria-label":x}),P.renderedErrors)}},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>A});var s=n(49483),a=n(50959),r=n(97754),o=n.n(r),i=n(50151),l=n(47201),c=n(78274),u=n(31261),h=n(9745),d=n(43832),p=n(95096);function m(e){return a.createElement(h.Icon,{className:d.icon,icon:p})}var g=n(29202),f=n(78634);var v=n(36383),w=n(37160);const D={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function b(e,t,n){const s=[],a=n;let r=0,o=0;const i=e.length,l=a.length;let c=-1,u=0;const h=[],d=i-1,p=[];let m;for(;r<i&&o<l;){const n=e.charAt(r),i=a.charAt(o),l=D[n];l?(i.match(l.pattern)?(s.push(i),l.recursive&&(-1===c?c=r:r===d&&r!==c&&(r=c-1),d===c&&(r-=1)),r+=1):i===m?(u--,m=void 0):l.optional?(r+=1,o-=1):l.fallback?(s.push(l.fallback),r+=1,o-=1):p.push({p:o,v:i,e:l.pattern}),o+=1):(t||s.push(n),i===n?(h.push(o),o+=1):(m=n,h.push(o+u),u++),r+=1)}const g=e.charAt(d);i!==l+1||D[g]||s.push(g);const f=s.join(""),v=function(e,t){const n=0,s={}
|
||||
;for(let e=0;e<t.length;e++)s[t[e]+n]=1;return s}(0,h);return[f,v,p]}function y(e,t,n){const s=function(e){let t=!0;for(let n=0;n<e.length;n++){const s=D[e.charAt(n)];if(s&&s.recursive){t=!1;break}}return t?e.length:void 0}(e),[r,o]=b(e,!1,t),[l,c]=(0,a.useState)(r),[u,h]=(0,a.useState)(0),[d,p]=(0,a.useState)(!1),m=(0,a.useRef)(o),g=(0,a.useRef)(l);return(0,a.useEffect)((()=>{const[n,s]=b(e,!1,t);c(n),f(s)}),[t,e]),(0,a.useLayoutEffect)((()=>{const e=(0,i.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),p(!1)),h(C(e))}),[d]),[t,g,{onChange:function(){const t=(0,i.ensureNotNull)(n.current),s=t.value,[a,r]=b(e,!1,s);c(a),g.current=a;const o=f(r),d=function(e,t,n,s,a,r){if(e!==t){const o=t.length,i=e.length;let l=0,c=0,u=0,h=0,d=0;for(d=s;d<o&&a[d];d++)c++;for(d=s-1;d>=0&&a[d];d--)l++;for(d=s-1;d>=0;d--)a[d]&&u++;for(d=n-1;d>=0;d--)r[d]&&h++;if(s>i)s=10*o;else if(n>=s&&n!==i){if(r[s]){const e=s;s-=h-u,a[s-=l]&&(s=e)}}else s>n&&(s+=u-h,s+=c)}return s}(l,a,u,C(t),r,o);h(d),p(!0)},onSelect:function(){const e=(0,i.ensureNotNull)(n.current);h(C(e))},maxLength:s}];function f(e){const t=m.current;return m.current=e,t}}function C(e){return e.selectionStart||0}function E(e){const{value:t,mask:n,onChange:s,...r}=e,o=(0,a.useRef)(null),[i,l,c]=y(n,t,o);return(0,a.useLayoutEffect)((()=>{void 0!==e.reference&&(e.reference.current=o.current)}),[e.reference]),a.createElement(u.InputControl,{...r,maxLength:c.maxLength,value:i,autoComplete:"off",reference:function(e){o.current=e},onChange:function(){c.onChange(),s(l.current)},onSelect:c.onSelect})}var _=n(68335),F=n(20520),M=n(16396),S=n(78071);const k=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[s,a]=[I(t.toString()),I(n.toString())],r=`${s}:${a}`,o=x(r)?r:T(r);e.push(o)}return e})();function N(e){let t=!1;const n=(0,a.useRef)(null),s=(0,a.useRef)(null),r=(0,a.useRef)(null),l=(0,a.useRef)(null),[u,h]=(0,g.useFocus)(),[d,p]=(0,a.useState)(e.value),f=R(d),D=x(f)?f:T(f),[b,y]=(0,a.useState)(D),C=u||L().some((e=>null!==e&&e.contains(document.activeElement)));(0,a.useLayoutEffect)((()=>p(e.value)),[e.value]),(0,a.useLayoutEffect)((()=>y(D)),[d,C]),(0,a.useEffect)((()=>H(b===D?"auto":"smooth")),[b]);const N=(0,S.lowerbound)(k,D,((e,t)=>e<t));let I=k;k[N]!==D&&(I=[...k],I.splice(N,0,D));const P=(0,v.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:function(e){null!==s.current&&C&&e.target instanceof Node&&null!==r.current&&!r.current.contains(e.target)&&s.current.blur()}});return a.createElement("div",{className:o()(e.className),onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);if(38===t){e.preventDefault();const t=(I.indexOf(b)+I.length-1)%I.length;y(I[t])}if(40===t){e.preventDefault();const t=(I.indexOf(b)+I.length+1)%I.length;y(I[t])}},onFocus:function(e){z(e)||h.onFocus(e)},onBlur:function(e){z(e)||h.onBlur(e)},ref:P},a.createElement(E,{disabled:e.disabled,name:e.name,endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),reference:s,containerReference:n,mask:"09:00",value:d,onFocus:function(t){
|
||||
var n;setTimeout(B,0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(e){z(e)||A(d)},onChange:function(t){p(t),e.onInput&&e.onInput(t)},onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);13===t&&(e.preventDefault(),A(b),(0,i.ensureNotNull)(s.current).blur());27===t&&(e.preventDefault(),(0,i.ensureNotNull)(s.current).blur())}}),a.createElement(F.PopupMenu,{onOpen:function(){H()},onClose:function(){},position:function(){const e=(0,i.ensureNotNull)(n.current).getBoundingClientRect(),t=window.innerHeight-e.bottom,s=e.top;let a=231,r=e.bottom;if(a>s&&a>t){const n=(0,w.clamp)(a,0,s),o=(0,w.clamp)(a,0,t);a=Math.max(n,o),r=n>o?e.top-n:e.bottom}else a>t&&(r=e.top-a);return{x:e.left,y:r,overrideWidth:e.width,overrideHeight:a}},closeOnClickOutside:!1,isOpened:C,tabIndex:-1,reference:r},I.map((e=>a.createElement(M.PopupMenuItem,{key:e,label:e,isActive:e===D,isHovered:e===b,reference:e===b?Y:void 0,onClick:O,onClickArg:e})))));function A(n){const s=R(n),a=x(s)?s:T(s);p(a),t||(t=!0,e.onChange(a))}function Y(e){l.current=e}function O(e){A((0,i.ensureDefined)(e)),(0,i.ensureNotNull)(r.current).blur()}function z(e){return u&&(null!==V(document.activeElement)||null!==V(e.relatedTarget))}function V(e){return e instanceof Node&&L().find((t=>null!==t&&t.contains(e)))||null}function L(){return[r.current,s.current]}function H(e="auto"){if(null!==l.current){const t=(0,i.ensureNotNull)(r.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom<n.bottom)&&l.current.scrollIntoView({behavior:e})}}function B(){const e=s.current;if(null!==e){const t=e.value||"";e.setSelectionRange(0,t.length)}}}function R(e){const[t="",n=""]=e.split(":"),[s,a]=[I(t),P(n)];return`${s}:${a}`}function x(e){return/^(0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/g.test(e)}function T(e){const[t,n]=e.split(":"),[s,a]=[(0,w.clamp)(parseInt(t),0,23),(0,w.clamp)(parseInt(n),0,59)],[r,o]=[I(s.toString()),P(a.toString())];return`${r}:${o}`}function I(e){return e.slice(0,2).padStart(2,"0")}function P(e){return e.slice(0,2).padEnd(2,"0")}const A=s.CheckMobile.any()?function(e){const{onChange:t,onFocus:n,value:s,className:r,...h}=e,d=(0,a.useRef)(null),[p,v]=(0,g.useFocus)(),w=(0,l.createSafeMulticastEventHandler)(v.onBlur,(function(){d.current&&s&&(d.current.defaultValue=s)}));return(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.defaultValue=s)}),[]),(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.value=s)}),[s]),a.createElement("div",{className:o()(f.wrap,r)},a.createElement(u.InputControl,{...h,type:"text",endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),value:s,highlight:p,intent:p?"primary":void 0,onFocus:function(e){(0,i.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),a.createElement("input",{...v,disabled:e.disabled,className:f.input,type:"time",onBlur:w,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:N},95263:(e,t,n)=>{"use strict";n.d(t,{MessagesPosition:()=>_,useControlValidationLayout:()=>I})
|
||||
useAccurateHover:()=>o,useHover:()=>a});var s=n(50959);function a(){const[e,t]=(0,s.useState)(!1);return[e,{onMouseOver:function(e){r(e)&&t(!0)},onMouseOut:function(e){r(e)&&t(!1)}}]}function r(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,n]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const t=t=>{if(null===e.current)return;const s=e.current.contains(t.target);n(s)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},86623:(e,t,n)=>{"use strict";n.d(t,{FormInput:()=>c});var s=n(50959),a=n(31261),r=n(95263),o=n(78274),i=n(47201),l=n(38528);function c(e){var t;const{intent:n,onFocus:c,onBlur:u,onMouseOver:h,onMouseOut:d,containerReference:p=null,endSlot:m,hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,"aria-required":N,"aria-invalid":R,"aria-label":x,inputDescription:T,...I}=e,P=(0,r.useControlValidationLayout)({hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,inputDescription:T}),A=(0,i.createSafeMulticastEventHandler)(c,P.onFocus),Y=(0,i.createSafeMulticastEventHandler)(u,P.onBlur),O=(0,i.createSafeMulticastEventHandler)(h,P.onMouseOver),V=(0,i.createSafeMulticastEventHandler)(d,P.onMouseOut);return s.createElement(s.Fragment,null,s.createElement(a.InputControl,{...I,intent:null!==(t=P.intent)&&void 0!==t?t:n,onFocus:A,onBlur:Y,onMouseOver:O,onMouseOut:V,containerReference:(0,l.useMergedRefs)([p,P.containerReference]),endSlot:s.createElement(s.Fragment,null,P.icon&&s.createElement(o.EndSlot,{icon:!0},P.icon),m),"aria-required":N,"aria-invalid":R,"aria-describedby":P.ariaIds,"aria-label":x}),P.renderedErrors)}},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>A});var s=n(49483),a=n(50959),r=n(97754),o=n.n(r),i=n(50151),l=n(47201),c=n(78274),u=n(31261),h=n(9745),d=n(43832),p=n(95096);function m(e){return a.createElement(h.Icon,{className:d.icon,icon:p})}var g=n(29202),f=n(78634);var v=n(36383),w=n(37160);const D={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function b(e,t,n){const s=[],a=n;let r=0,o=0;const i=e.length,l=a.length;let c=-1,u=0;const h=[],d=i-1,p=[];let m;for(;r<i&&o<l;){const n=e.charAt(r),i=a.charAt(o),l=D[n];l?(i.match(l.pattern)?(s.push(i),l.recursive&&(-1===c?c=r:r===d&&r!==c&&(r=c-1),d===c&&(r-=1)),r+=1):i===m?(u--,m=void 0):l.optional?(r+=1,o-=1):l.fallback?(s.push(l.fallback),r+=1,o-=1):p.push({p:o,v:i,e:l.pattern}),o+=1):(t||s.push(n),i===n?(h.push(o),o+=1):(m=n,h.push(o+u),u++),r+=1)}const g=e.charAt(d);i!==l+1||D[g]||s.push(g);const f=s.join(""),v=function(e,t){const n=0,s={}
|
||||
;for(let e=0;e<t.length;e++)s[t[e]+n]=1;return s}(0,h);return[f,v,p]}function y(e,t,n){const s=function(e){let t=!0;for(let n=0;n<e.length;n++){const s=D[e.charAt(n)];if(s&&s.recursive){t=!1;break}}return t?e.length:void 0}(e),[r,o]=b(e,!1,t),[l,c]=(0,a.useState)(r),[u,h]=(0,a.useState)(0),[d,p]=(0,a.useState)(!1),m=(0,a.useRef)(o),g=(0,a.useRef)(l);return(0,a.useEffect)((()=>{const[n,s]=b(e,!1,t);c(n),f(s)}),[t,e]),(0,a.useLayoutEffect)((()=>{const e=(0,i.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),p(!1)),h(C(e))}),[d]),[t,g,{onChange:function(){const t=(0,i.ensureNotNull)(n.current),s=t.value,[a,r]=b(e,!1,s);c(a),g.current=a;const o=f(r),d=function(e,t,n,s,a,r){if(e!==t){const o=t.length,i=e.length;let l=0,c=0,u=0,h=0,d=0;for(d=s;d<o&&a[d];d++)c++;for(d=s-1;d>=0&&a[d];d--)l++;for(d=s-1;d>=0;d--)a[d]&&u++;for(d=n-1;d>=0;d--)r[d]&&h++;if(s>i)s=10*o;else if(n>=s&&n!==i){if(r[s]){const e=s;s-=h-u,a[s-=l]&&(s=e)}}else s>n&&(s+=u-h,s+=c)}return s}(l,a,u,C(t),r,o);h(d),p(!0)},onSelect:function(){const e=(0,i.ensureNotNull)(n.current);h(C(e))},maxLength:s}];function f(e){const t=m.current;return m.current=e,t}}function C(e){return e.selectionStart||0}function E(e){const{value:t,mask:n,onChange:s,...r}=e,o=(0,a.useRef)(null),[i,l,c]=y(n,t,o);return(0,a.useLayoutEffect)((()=>{void 0!==e.reference&&(e.reference.current=o.current)}),[e.reference]),a.createElement(u.InputControl,{...r,maxLength:c.maxLength,value:i,autoComplete:"off",reference:function(e){o.current=e},onChange:function(){c.onChange(),s(l.current)},onSelect:c.onSelect})}var _=n(68335),F=n(20520),M=n(16396),S=n(78071);const k=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[s,a]=[I(t.toString()),I(n.toString())],r=`${s}:${a}`,o=x(r)?r:T(r);e.push(o)}return e})();function N(e){let t=!1;const n=(0,a.useRef)(null),s=(0,a.useRef)(null),r=(0,a.useRef)(null),l=(0,a.useRef)(null),[u,h]=(0,g.useFocus)(),[d,p]=(0,a.useState)(e.value),f=R(d),D=x(f)?f:T(f),[b,y]=(0,a.useState)(D),C=u||L().some((e=>null!==e&&e.contains(document.activeElement)));(0,a.useLayoutEffect)((()=>p(e.value)),[e.value]),(0,a.useLayoutEffect)((()=>y(D)),[d,C]),(0,a.useEffect)((()=>H(b===D?"auto":"smooth")),[b]);const N=(0,S.lowerbound)(k,D,((e,t)=>e<t));let I=k;k[N]!==D&&(I=[...k],I.splice(N,0,D));const P=(0,v.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:function(e){null!==s.current&&C&&e.target instanceof Node&&null!==r.current&&!r.current.contains(e.target)&&s.current.blur()}});return a.createElement("div",{className:o()(e.className),onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);if(38===t){e.preventDefault();const t=(I.indexOf(b)+I.length-1)%I.length;y(I[t])}if(40===t){e.preventDefault();const t=(I.indexOf(b)+I.length+1)%I.length;y(I[t])}},onFocus:function(e){V(e)||h.onFocus(e)},onBlur:function(e){V(e)||h.onBlur(e)},ref:P},a.createElement(E,{disabled:e.disabled,name:e.name,endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),reference:s,containerReference:n,mask:"09:00",value:d,onFocus:function(t){
|
||||
var n;setTimeout(B,0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(e){V(e)||A(d)},onChange:function(t){p(t),e.onInput&&e.onInput(t)},onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);13===t&&(e.preventDefault(),A(b),(0,i.ensureNotNull)(s.current).blur());27===t&&(e.preventDefault(),(0,i.ensureNotNull)(s.current).blur())}}),a.createElement(F.PopupMenu,{onOpen:function(){H()},onClose:function(){},position:function(){const e=(0,i.ensureNotNull)(n.current).getBoundingClientRect(),t=window.innerHeight-e.bottom,s=e.top;let a=231,r=e.bottom;if(a>s&&a>t){const n=(0,w.clamp)(a,0,s),o=(0,w.clamp)(a,0,t);a=Math.max(n,o),r=n>o?e.top-n:e.bottom}else a>t&&(r=e.top-a);return{x:e.left,y:r,overrideWidth:e.width,overrideHeight:a}},closeOnClickOutside:!1,isOpened:C,tabIndex:-1,reference:r},I.map((e=>a.createElement(M.PopupMenuItem,{key:e,label:e,isActive:e===D,isHovered:e===b,reference:e===b?Y:void 0,onClick:O,onClickArg:e})))));function A(n){const s=R(n),a=x(s)?s:T(s);p(a),t||(t=!0,e.onChange(a))}function Y(e){l.current=e}function O(e){A((0,i.ensureDefined)(e)),(0,i.ensureNotNull)(r.current).blur()}function V(e){return u&&(null!==z(document.activeElement)||null!==z(e.relatedTarget))}function z(e){return e instanceof Node&&L().find((t=>null!==t&&t.contains(e)))||null}function L(){return[r.current,s.current]}function H(e="auto"){if(null!==l.current){const t=(0,i.ensureNotNull)(r.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom<n.bottom)&&l.current.scrollIntoView({behavior:e})}}function B(){const e=s.current;if(null!==e){const t=e.value||"";e.setSelectionRange(0,t.length)}}}function R(e){const[t="",n=""]=e.split(":"),[s,a]=[I(t),P(n)];return`${s}:${a}`}function x(e){return/^(0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/g.test(e)}function T(e){const[t,n]=e.split(":"),[s,a]=[(0,w.clamp)(parseInt(t),0,23),(0,w.clamp)(parseInt(n),0,59)],[r,o]=[I(s.toString()),P(a.toString())];return`${r}:${o}`}function I(e){return e.slice(0,2).padStart(2,"0")}function P(e){return e.slice(0,2).padEnd(2,"0")}const A=s.CheckMobile.any()?function(e){const{onChange:t,onFocus:n,value:s,className:r,...h}=e,d=(0,a.useRef)(null),[p,v]=(0,g.useFocus)(),w=(0,l.createSafeMulticastEventHandler)(v.onBlur,(function(){d.current&&s&&(d.current.defaultValue=s)}));return(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.defaultValue=s)}),[]),(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.value=s)}),[s]),a.createElement("div",{className:o()(f.wrap,r)},a.createElement(u.InputControl,{...h,type:"text",endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),value:s,highlight:p,intent:p?"primary":void 0,onFocus:function(e){(0,i.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),a.createElement("input",{...v,disabled:e.disabled,className:f.input,type:"time",onBlur:w,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:N},95263:(e,t,n)=>{"use strict";n.d(t,{MessagesPosition:()=>_,useControlValidationLayout:()=>I})
|
||||
;var s=n(50959),a=n(97754);function r(e,t){(0,s.useEffect)((()=>(t&&t(e),()=>{t&&t(e)})),[])}var o=n(29202),i=n(70412),l=n(78274),c=n(1405),u=n(86431),h=n(962);var d=n(44022),p=n(38223);class m extends s.PureComponent{render(){const{children:e=[],show:t=!1,customErrorClass:n,disableRtlStyles:r,messageIdCallback:o}=this.props,i=a(d.errors,{[d.show]:t},n),l=e.map(((e,t)=>s.createElement(w,{key:t,messageIdCallback:o},e)));let c={position:"absolute",top:this.props.top,width:this.props.width,height:this.props.height,bottom:void 0!==this.props.bottom?this.props.bottom:"100%",right:void 0!==this.props.right?this.props.right:0,left:this.props.left,zIndex:this.props.zIndex,maxWidth:this.props.maxWidth};if((0,p.isRtl)()&&!r){const{left:e,right:t}=c;c={...c,left:t,right:e}}return s.createElement("div",{style:c,className:i},l)}}const g=(0,u.makeOverlapable)((f=m,(v=class extends s.PureComponent{constructor(e){super(e),this._getComponentInstance=e=>{this._instance=e},this._throttleCalcProps=()=>{requestAnimationFrame((()=>this.setState(this._calcProps(this.props))))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(e){e.children===this.props.children&&e.top===this.props.top&&e.left===this.props.left&&e.width===this.props.width||this.setState(this._getStateFromProps(),(()=>this.setState(this._calcProps(this.props))))}render(){return s.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},s.createElement(f,{...this.props,ref:this._getComponentInstance,top:this.state.top,bottom:void 0!==this.state.bottom?this.state.bottom:"auto",right:void 0!==this.state.right?this.state.right:"auto",left:this.state.left,width:this.state.width,maxWidth:this.state.maxWidth},this.props.children))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){return{bottom:this.props.bottom,left:this.props.left,right:this.props.right,top:void 0!==this.props.top?this.props.top:-1e4,width:this.props.inheritWidthFromTarget?this.props.target&&this.props.target.getBoundingClientRect().width:this.props.width,maxWidth:this.props.inheritMaxWidthFromTarget&&this.props.target&&this.props.target.getBoundingClientRect().width}}_calcProps(e){if(e.target&&e.attachment&&e.targetAttachment){const t=this._calcTargetProps(e.target,e.attachment,e.targetAttachment);if(null===t)return{};const{width:n,inheritWidthFromTarget:s=!0,inheritMaxWidthFromTarget:a=!1}=this.props,r={width:s?t.width:n,maxWidth:a?t.width:void 0};switch(e.attachment.vertical){case"bottom":case"middle":r.top=t.y;break;default:r[e.attachment.vertical]=t.y}switch(e.attachment.horizontal){case"right":case"center":r.left=t.x;break;default:r[e.attachment.horizontal]=t.x}return r}return{}}_calcTargetProps(e,t,n){const s=e.getBoundingClientRect(),a=this._instanceElem.getBoundingClientRect(),r="parent"===this.props.root?this._getCoordsRelToParentEl(e,s):this._getCoordsRelToDocument(s);if(null===r)return null
|
||||
;const o=this._getDimensions(a),i=this._getDimensions(s).width;let l=0,c=0;switch(t.vertical){case"top":c=r[n.vertical];break;case"bottom":c=r[n.vertical]-o.height;break;case"middle":c=r[n.vertical]-o.height/2}switch(t.horizontal){case"left":l=r[n.horizontal];break;case"right":l=r[n.horizontal]-o.width;break;case"center":l=r[n.horizontal]-o.width/2}return"number"==typeof this.props.attachmentOffsetY&&(c+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(l+=this.props.attachmentOffsetX),{x:l,y:c,width:i}}_getCoordsRelToDocument(e){const t=pageYOffset,n=pageXOffset,s=e.top+t,a=e.bottom+t,r=e.left+n;return{top:s,bottom:a,left:r,right:e.right+n,middle:(s+e.height)/2,center:r+e.width/2}}_getCoordsRelToParentEl(e,t){const n=e.offsetParent;if(null===n)return null;const s=n.scrollTop,a=n.scrollLeft,r=e.offsetTop+s,o=e.offsetLeft+a,i=t.width+o;return{top:r,bottom:t.height+r,left:o,right:i,middle:(r+t.height)/2,center:(o+t.width)/2}}_getDimensions(e){return{height:e.height,width:e.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",v));var f,v;function w(e){const{children:t,messageIdCallback:n,...a}=e;return s.createElement("div",{...a,className:d.error},t)}function D(e){const{children:t,messageIdCallback:n,...a}=e,o=s.useId();return r(o,n),s.createElement("span",{...a,className:d["visually-hidden"],id:o},t)}var b=n(9745),y=n(16658),C=n(40461);function E(e){const{intent:t="danger"}=e;return s.createElement(b.Icon,{icon:y,className:a(C["error-icon"],C[`intent-${t}`])})}var _,F,M=n(27345);!function(e){e[e.Attached=0]="Attached",e[e.Static=1]="Static",e[e.Hidden=2]="Hidden"}(_||(_={})),function(e){e.Top="top",e.Bottom="bottom"}(F||(F={}));const S={top:{attachment:c.anchors.topRight.attachment,targetAttachment:c.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:c.anchors.bottomRight.attachment,targetAttachment:c.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function k(e){const{isOpened:t,target:n,errorAttachment:a=F.Top,customErrorsAttachment:r,root:o="parent",inheritWidthFromTarget:i=!1,disableRtlStyles:l,children:c,messageIdCallback:u}=e,{attachment:h,targetAttachment:d,attachmentOffsetY:p}=null!=r?r:S[a];return s.createElement(s.Fragment,null,s.createElement(g,{isOpened:t,target:n,root:o,inheritWidthFromTarget:i,attachment:h,targetAttachment:d,attachmentOffsetY:p,disableRtlStyles:l,messageIdCallback:u,inheritMaxWidthFromTarget:!0,show:!0},c),s.createElement(D,{messageIdCallback:u},c))}function N(e,t){return Boolean(e)&&void 0!==t&&t.length>0}function R(e,t,n){return e===_.Attached&&N(t,n)}function x(e,t,n){return e===_.Static&&N(t,n)}function T(e,t,n){
|
||||
const{hasErrors:s,hasWarnings:a,hasSuccessMessages:r,alwaysShowAttachedErrors:o,iconHidden:i,errors:l,warnings:c,successMessages:u,messagesPosition:h=_.Static}=e,d=R(h,s,l),p=R(h,a,c),m=d&&(t||n||Boolean(o)),g=!m&&p&&(t||n),f=x(h,s,l),v=!f&&x(h,a,c),w=!f&&!v&&x(h,r,u),D=!i&&Boolean(s),b=!i&&!D&&Boolean(a),y=function(e,t,n){return Boolean(n)?"success":Boolean(e)?"danger":Boolean(t)?"warning":void 0}(s,a,r);return{hasAttachedErrorMessages:d,hasAttachedWarningMessages:p,showAttachedErrorMessages:m,showAttachedWarningMessages:g,showStaticErrorMessages:f,showStaticWarningMessages:v,showStaticSuccessMessages:w,showErrorIcon:D,showWarningIcon:b,intent:y}}function I(e){var t,n,r,c;const{errors:u,warnings:h,successMessages:d,messagesAttachment:p,customErrorsAttachment:m,messagesRoot:g,inheritMessagesWidthFromTarget:f,disableMessagesRtlStyles:v,inputDescription:w}=e,[D,b]=(0,o.useFocus)(),[y,C]=(0,i.useHover)(),_=(0,s.useRef)(null),[F,S]=s.useState(void 0),N=(0,s.useRef)(new Map),R=s.useCallback((e=>{if(!e)return;const t=N.current;t.has(e)?t.delete(e):t.set(e,e),0!==t.size?S(Array.from(t.keys()).join(" ")):S(void 0)}),[S,N.current]),{hasAttachedErrorMessages:x,hasAttachedWarningMessages:I,showAttachedErrorMessages:A,showAttachedWarningMessages:Y,showStaticErrorMessages:O,showStaticWarningMessages:z,showStaticSuccessMessages:V,showErrorIcon:L,showWarningIcon:H,intent:B}=T(e,D,y),$=L||H?s.createElement(E,{intent:L?"danger":"warning"}):void 0,K=x?s.createElement(k,{errorAttachment:p,customErrorsAttachment:m,isOpened:A,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:u,messageIdCallback:R}):void 0,W=I?s.createElement(k,{errorAttachment:p,isOpened:Y,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:h,messageIdCallback:R}):void 0,j=O?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.errors)},null==u?void 0:u.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,J=z?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.warnings)},null==h?void 0:h.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,q=V?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["success-mesages"])},null==d?void 0:d.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,U=!O&&!z&&!V&&w?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["input-description"])},s.createElement(P,{messageIdCallback:R},w)):void 0;return{ariaIds:F,icon:$,renderedErrors:null!==(c=null!==(r=null!==(n=null!==(t=null!=K?K:W)&&void 0!==t?t:j)&&void 0!==n?n:J)&&void 0!==r?r:q)&&void 0!==c?c:U,containerReference:_,intent:B,...b,...C}}function P(e){const{children:t,messageIdCallback:n,...a}=e,o=s.useId();return r(o,n),s.createElement("span",{...a,className:M.message,id:o},t)}},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>u,PopupMenuItem:()=>d});var s=n(50959),a=n(97754),r=n(59064),o=n(51768),i=n(90186),l=n(76068),c=n(71986);const u=c;function h(e){e.stopPropagation()}function d(e){
|
||||
const{id:t,role:n,"aria-label":u,"aria-selected":d,"aria-checked":p,className:m,title:g,labelRowClassName:f,labelClassName:v,shortcut:w,forceShowShortcuts:D,icon:b,isActive:y,isDisabled:C,isHovered:E,appearAsDisabled:_,label:F,link:M,showToolboxOnHover:S,showToolboxOnFocus:k,target:N,rel:R,toolbox:x,reference:T,onMouseOut:I,onMouseOver:P,onKeyDown:A,suppressToolboxClick:Y=!0,theme:O=c,tabIndex:z,tagName:V,renderComponent:L,roundedIcon:H,iconAriaProps:B,circleLogo:$}=e,K=(0,i.filterDataProps)(e),W=(0,s.useRef)(null),j=(0,s.useMemo)((()=>function(e){function t(t){const{reference:n,...a}=t,r=null!=e?e:a.href?"a":"div",o="a"===r?a:function(e){const{download:t,href:n,hrefLang:s,media:a,ping:r,rel:o,target:i,type:l,referrerPolicy:c,...u}=e;return u}(a);return s.createElement(r,{...o,ref:n})}return t.displayName=`DefaultComponent(${e})`,t}(V)),[V]),J=null!=L?L:j;return s.createElement(J,{...K,id:t,role:n,"aria-label":u,"aria-selected":d,"aria-checked":p,className:a(m,O.item,b&&O.withIcon,{[O.isActive]:y,[O.isDisabled]:C||_,[O.hovered]:E}),title:g,href:M,target:N,rel:R,reference:function(e){W.current=e,"function"==typeof T&&T(e);"object"==typeof T&&(T.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:s,onClickArg:a,trackEventObject:i}=e;if(C)return;i&&(0,o.trackEvent)(i.category,i.event,i.label);s&&s(a,t);n||(0,r.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:s}=e;n&&s&&(0,o.trackEvent)(n.category,n.event,`${n.label}_rightClick`)},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:s}=e;if(1===t.button&&M&&n){let e=n.label;s&&(e+="_mouseWheelClick"),(0,o.trackEvent)(n.category,n.event,e)}},onMouseOver:P,onMouseOut:I,onKeyDown:A,tabIndex:z},$&&s.createElement(l.CircleLogo,{...B,className:c["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:$.logoUrl,placeholderLetter:$.placeholderLetter}),b&&s.createElement("span",{"aria-label":B&&B["aria-label"],"aria-hidden":B&&Boolean(B["aria-hidden"]),className:a(O.icon,H&&c["round-icon"]),dangerouslySetInnerHTML:{__html:b}}),s.createElement("span",{className:a(O.labelRow,f)},s.createElement("span",{className:a(O.label,v)},F)),(void 0!==w||D)&&s.createElement("span",{className:O.shortcut},(q=w)&&q.split("+").join(" + ")),void 0!==x&&s.createElement("span",{onClick:Y?h:void 0,className:a(O.toolbox,{[O.showOnHover]:S,[O.showOnFocus]:k})},x));var q}},20520:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>d});var s=n(50959),a=n(962),r=n(62942),o=n(65718),i=n(27317),l=n(29197);const c=s.createContext(void 0);var u=n(36383);const h=s.createContext({setMenuMaxWidth:!1});function d(e){const{controller:t,children:n,isOpened:d,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:g,onClose:f,onKeyboardClose:v,"data-name":w="popup-menu-container",...D}=e,b=(0,s.useContext)(l.CloseDelegateContext),y=s.useContext(h),C=(0,s.useContext)(c),E=(0,u.useOutsideEvent)({handler:function(e){g&&g(e);if(!p)return;const t=(0,r.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const n of t){const t=a.findDOMNode(n)
|
||||
;if(t instanceof Node&&t.contains(e.target))return}f()},mouseDown:!0,touchStart:!0});return d?s.createElement(o.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},s.createElement("span",{ref:E,style:{pointerEvents:"auto"}},s.createElement(i.Menu,{...D,onClose:f,onKeyboardClose:v,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:b,customRemeasureDelegate:C,ref:t,"data-name":w,limitMaxWidth:y.setMenuMaxWidth},n))):null}},17140:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M16.47 20.53a.75.75 0 1 0 1.06-1.06l-1.06 1.06zM11 14l-.53-.53c-.3.3-.3.77 0 1.06L11 14zm6.53-5.47a.75.75 0 0 0-1.06-1.06l1.06 1.06zm0 10.94l-6-6-1.06 1.06 6 6 1.06-1.06zm-6-4.94l6-6-1.06-1.06-6 6 1.06 1.06z"/></svg>'},98475:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M10 4h1v2h6V4h1v2h2.5A2.5 2.5 0 0 1 23 8.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 5 19.5v-11A2.5 2.5 0 0 1 7.5 6H10V4zm8 3H7.5C6.67 7 6 7.67 6 8.5v11c0 .83.67 1.5 1.5 1.5h13c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5H18zm-3 2h-2v2h2V9zm-7 4h2v2H8v-2zm12-4h-2v2h2V9zm-7 4h2v2h-2v-2zm-3 4H8v2h2v-2zm3 0h2v2h-2v-2zm7-4h-2v2h2v-2z"/></svg>'},1401:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path d="M4 0c-.6 0-1 .4-1 1v1H1c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1h-2V1c0-.6-.4-1-1-1h-1c-.6 0-1 .4-1 1v1H6V1c0-.6-.4-1-1-1H4zM2 5h12v9H2V5zm5 2v2h2V7H7zm3 0v2h2V7h-2zm-6 3v2h2v-2H4zm3 0v2h2v-2H7zm3 0v2h2v-2h-2z"/></svg>'},16658:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M8 15c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm0 1c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-1-12c0-.552.448-1 1-1s1 .448 1 1v4c0 .552-.448 1-1 1s-1-.448-1-1v-4zm1 7c-.552 0-1 .448-1 1s.448 1 1 1 1-.448 1-1-.448-1-1-1z"/></svg>'},95096:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path fill="currentColor" d="M1 8.5a7.5 7.5 0 1 1 15 0 7.5 7.5 0 0 1-15 0zM8.5 0a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9 9V3H8v5H5v1h4z"/></svg>'}}]);
|
||||
const{hasErrors:s,hasWarnings:a,hasSuccessMessages:r,alwaysShowAttachedErrors:o,iconHidden:i,errors:l,warnings:c,successMessages:u,messagesPosition:h=_.Static}=e,d=R(h,s,l),p=R(h,a,c),m=d&&(t||n||Boolean(o)),g=!m&&p&&(t||n),f=x(h,s,l),v=!f&&x(h,a,c),w=!f&&!v&&x(h,r,u),D=!i&&Boolean(s),b=!i&&!D&&Boolean(a),y=function(e,t,n){return Boolean(n)?"success":Boolean(e)?"danger":Boolean(t)?"warning":void 0}(s,a,r);return{hasAttachedErrorMessages:d,hasAttachedWarningMessages:p,showAttachedErrorMessages:m,showAttachedWarningMessages:g,showStaticErrorMessages:f,showStaticWarningMessages:v,showStaticSuccessMessages:w,showErrorIcon:D,showWarningIcon:b,intent:y}}function I(e){var t,n,r,c;const{errors:u,warnings:h,successMessages:d,messagesAttachment:p,customErrorsAttachment:m,messagesRoot:g,inheritMessagesWidthFromTarget:f,disableMessagesRtlStyles:v,inputDescription:w}=e,[D,b]=(0,o.useFocus)(),[y,C]=(0,i.useHover)(),_=(0,s.useRef)(null),[F,S]=s.useState(void 0),N=(0,s.useRef)(new Map),R=s.useCallback((e=>{if(!e)return;const t=N.current;t.has(e)?t.delete(e):t.set(e,e),0!==t.size?S(Array.from(t.keys()).join(" ")):S(void 0)}),[S,N.current]),{hasAttachedErrorMessages:x,hasAttachedWarningMessages:I,showAttachedErrorMessages:A,showAttachedWarningMessages:Y,showStaticErrorMessages:O,showStaticWarningMessages:V,showStaticSuccessMessages:z,showErrorIcon:L,showWarningIcon:H,intent:B}=T(e,D,y),$=L||H?s.createElement(E,{intent:L?"danger":"warning"}):void 0,K=x?s.createElement(k,{errorAttachment:p,customErrorsAttachment:m,isOpened:A,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:u,messageIdCallback:R}):void 0,W=I?s.createElement(k,{errorAttachment:p,isOpened:Y,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:h,messageIdCallback:R}):void 0,j=O?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.errors)},null==u?void 0:u.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,J=V?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.warnings)},null==h?void 0:h.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,q=z?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["success-mesages"])},null==d?void 0:d.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,U=!O&&!V&&!z&&w?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["input-description"])},s.createElement(P,{messageIdCallback:R},w)):void 0;return{ariaIds:F,icon:$,renderedErrors:null!==(c=null!==(r=null!==(n=null!==(t=null!=K?K:W)&&void 0!==t?t:j)&&void 0!==n?n:J)&&void 0!==r?r:q)&&void 0!==c?c:U,containerReference:_,intent:B,...b,...C}}function P(e){const{children:t,messageIdCallback:n,...a}=e,o=s.useId();return r(o,n),s.createElement("span",{...a,className:M.message,id:o},t)}},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>h});var s=n(50959),a=n(97754),r=n(51768),o=n(59064),i=n(76068),l=n(71986);const c=l;function u(e){e.stopPropagation()}function h(e){
|
||||
const{id:t,role:n,className:c,title:h,labelRowClassName:d,labelClassName:p,toolboxClassName:m,shortcut:g,forceShowShortcuts:f,icon:v,iconClassname:w,isActive:D,isDisabled:b,isHovered:y,appearAsDisabled:C,label:E,link:_,showToolboxOnHover:F,showToolboxOnFocus:M,target:S,rel:k,toolbox:N,reference:R,onMouseOut:x,onMouseOver:T,onKeyDown:I,suppressToolboxClick:P=!0,theme:A=l,tabIndex:Y,tagName:O,renderComponent:V,roundedIcon:z,iconAriaProps:L,circleLogo:H,dontClosePopup:B,onClick:$,onClickArg:K,trackEventObject:W,trackMouseWheelClick:j,trackRightClick:J,...q}=e,U=(0,s.useRef)(null),Q=(0,s.useMemo)((()=>function(e){function t(t){const{reference:n,...a}=t,r=null!=e?e:a.href?"a":"div",o="a"===r?a:function(e){const{download:t,href:n,hrefLang:s,media:a,ping:r,rel:o,target:i,type:l,referrerPolicy:c,...u}=e;return u}(a);return s.createElement(r,{...o,ref:n})}return t.displayName=`DefaultComponent(${e})`,t}(O)),[O]),Z=null!=V?V:Q;return s.createElement(Z,{...q,id:t,role:n,className:a(c,A.item,v&&A.withIcon,{[A.isActive]:D,[A.isDisabled]:b||C,[A.hovered]:y}),title:h,href:_,target:S,rel:k,reference:function(e){U.current=e,"function"==typeof R&&R(e);"object"==typeof R&&(R.current=e)},onClick:function(e){if(b)return;W&&(0,r.trackEvent)(W.category,W.event,W.label);$&&$(K,e);B||(0,o.globalCloseMenu)()},onContextMenu:function(e){W&&J&&(0,r.trackEvent)(W.category,W.event,`${W.label}_rightClick`)},onMouseUp:function(e){if(1===e.button&&_&&W){let e=W.label;j&&(e+="_mouseWheelClick"),(0,r.trackEvent)(W.category,W.event,e)}},onMouseOver:T,onMouseOut:x,onKeyDown:I,tabIndex:Y},H&&s.createElement(i.CircleLogo,{...L,className:l["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:H.logoUrl,placeholderLetter:H.placeholderLetter}),v&&s.createElement("span",{"aria-label":L&&L["aria-label"],"aria-hidden":L&&Boolean(L["aria-hidden"]),className:a(A.icon,z&&l["round-icon"],w),dangerouslySetInnerHTML:{__html:v}}),s.createElement("span",{className:a(A.labelRow,d)},s.createElement("span",{className:a(A.label,p)},E)),(void 0!==g||f)&&s.createElement("span",{className:A.shortcut},(X=g)&&X.split("+").join(" + ")),void 0!==N&&s.createElement("span",{onClick:P?u:void 0,className:a(m,A.toolbox,{[A.showOnHover]:F,[A.showOnFocus]:M})},N));var X}},20520:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>d});var s=n(50959),a=n(962),r=n(62942),o=n(42842),i=n(27317),l=n(29197);const c=s.createContext(void 0);var u=n(36383);const h=s.createContext({setMenuMaxWidth:!1});function d(e){const{controller:t,children:n,isOpened:d,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:g,onClose:f,onKeyboardClose:v,"data-name":w="popup-menu-container",...D}=e,b=(0,s.useContext)(l.CloseDelegateContext),y=s.useContext(h),C=(0,s.useContext)(c),E=(0,u.useOutsideEvent)({handler:function(e){g&&g(e);if(!p)return;const t=(0,r.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const n of t){const t=a.findDOMNode(n);if(t instanceof Node&&t.contains(e.target))return}f()},mouseDown:!0,touchStart:!0});return d?s.createElement(o.Portal,{top:"0",left:"0",right:"0",
|
||||
bottom:"0",pointerEvents:"none"},s.createElement("span",{ref:E,style:{pointerEvents:"auto"}},s.createElement(i.Menu,{...D,onClose:f,onKeyboardClose:v,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:b,customRemeasureDelegate:C,ref:t,"data-name":w,limitMaxWidth:y.setMenuMaxWidth},n))):null}},17140:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="m16.47 7.47 1.06 1.06L12.06 14l5.47 5.47-1.06 1.06L9.94 14l6.53-6.53Z"/></svg>'},98475:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M10 4h1v2h6V4h1v2h2.5A2.5 2.5 0 0 1 23 8.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 5 19.5v-11A2.5 2.5 0 0 1 7.5 6H10V4zm8 3H7.5C6.67 7 6 7.67 6 8.5v11c0 .83.67 1.5 1.5 1.5h13c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5H18zm-3 2h-2v2h2V9zm-7 4h2v2H8v-2zm12-4h-2v2h2V9zm-7 4h2v2h-2v-2zm-3 4H8v2h2v-2zm3 0h2v2h-2v-2zm7-4h-2v2h2v-2z"/></svg>'},1401:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path d="M4 0c-.6 0-1 .4-1 1v1H1c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1h-2V1c0-.6-.4-1-1-1h-1c-.6 0-1 .4-1 1v1H6V1c0-.6-.4-1-1-1H4zM2 5h12v9H2V5zm5 2v2h2V7H7zm3 0v2h2V7h-2zm-6 3v2h2v-2H4zm3 0v2h2v-2H7zm3 0v2h2v-2h-2z"/></svg>'},16658:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" d="M9 16A7 7 0 1 0 9 2a7 7 0 0 0 0 14Zm0 1A8 8 0 1 0 9 1a8 8 0 0 0 0 16ZM8 5a1 1 0 0 1 2 0v4a1 1 0 1 1-2 0V5Zm1 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},95096:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path fill="currentColor" d="M1 8.5a7.5 7.5 0 1 1 15 0 7.5 7.5 0 0 1-15 0zM8.5 0a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9 9V3H8v5H5v1h4z"/></svg>'}}]);
|
||||
@@ -1,13 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4717],{1414:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},81026:e=>{e.exports={container:"container-WDZ0PRNh","container-xxsmall":"container-xxsmall-WDZ0PRNh","container-xsmall":"container-xsmall-WDZ0PRNh","container-small":"container-small-WDZ0PRNh","container-medium":"container-medium-WDZ0PRNh","container-large":"container-large-WDZ0PRNh","intent-default":"intent-default-WDZ0PRNh",focused:"focused-WDZ0PRNh",readonly:"readonly-WDZ0PRNh",disabled:"disabled-WDZ0PRNh","with-highlight":"with-highlight-WDZ0PRNh",grouped:"grouped-WDZ0PRNh","adjust-position":"adjust-position-WDZ0PRNh","first-row":"first-row-WDZ0PRNh","first-col":"first-col-WDZ0PRNh",stretch:"stretch-WDZ0PRNh","font-size-medium":"font-size-medium-WDZ0PRNh","font-size-large":"font-size-large-WDZ0PRNh","no-corner-top-left":"no-corner-top-left-WDZ0PRNh","no-corner-top-right":"no-corner-top-right-WDZ0PRNh","no-corner-bottom-right":"no-corner-bottom-right-WDZ0PRNh","no-corner-bottom-left":"no-corner-bottom-left-WDZ0PRNh","size-xxsmall":"size-xxsmall-WDZ0PRNh","size-xsmall":"size-xsmall-WDZ0PRNh","size-small":"size-small-WDZ0PRNh","size-medium":"size-medium-WDZ0PRNh","size-large":"size-large-WDZ0PRNh","intent-success":"intent-success-WDZ0PRNh","intent-warning":"intent-warning-WDZ0PRNh","intent-danger":"intent-danger-WDZ0PRNh","intent-primary":"intent-primary-WDZ0PRNh","border-none":"border-none-WDZ0PRNh","border-thin":"border-thin-WDZ0PRNh","border-thick":"border-thick-WDZ0PRNh",highlight:"highlight-WDZ0PRNh",shown:"shown-WDZ0PRNh"}},7236:e=>{e.exports={"inner-slot":"inner-slot-W53jtLjw",interactive:"interactive-W53jtLjw",icon:"icon-W53jtLjw","inner-middle-slot":"inner-middle-slot-W53jtLjw","before-slot":"before-slot-W53jtLjw",
|
||||
"after-slot":"after-slot-W53jtLjw"}},30930:e=>{e.exports={input:"input-RUSovanF","size-xxsmall":"size-xxsmall-RUSovanF","size-xsmall":"size-xsmall-RUSovanF","size-small":"size-small-RUSovanF","size-medium":"size-medium-RUSovanF","size-large":"size-large-RUSovanF","with-start-slot":"with-start-slot-RUSovanF","with-end-slot":"with-end-slot-RUSovanF"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},88803:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},20817:e=>{e.exports={autocomplete:"autocomplete-uszkUMOz",caret:"caret-uszkUMOz",icon:"icon-uszkUMOz",suggestions:"suggestions-uszkUMOz",suggestion:"suggestion-uszkUMOz",noResults:"noResults-uszkUMOz",selected:"selected-uszkUMOz",opened:"opened-uszkUMOz"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>_});var r=n(50959),o=n(97754),s=n(95604),i=n(9745),a=n(1414),l=n.n(a);function u(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:i=!1,icon:a,startIcon:u,endIcon:c,iconOnly:d=!1,className:h,isGrouped:p,cellState:f,disablePositionAdjustment:m=!1,primaryText:g,secondaryText:y,isAnchor:v=!1}=e,_=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(f));return o(h,l().button,l()[`size-${n}`],l()[`color-${t}`],l()[`variant-${r}`],i&&l().stretch,(a||u)&&l()["with-start-icon"],c&&l()["with-end-icon"],d&&l()["icon-only"],_,p&&l().grouped,p&&!m&&l()["adjust-position"],p&&f.isTop&&l()["first-row"],p&&f.isLeft&&l()["first-col"],g&&y&&l()["multiline-content"],v&&l().link)}function c(e){const{startIcon:t,icon:n,iconOnly:o,children:s,endIcon:a,primaryText:u,secondaryText:c}=e,d=null!=t?t:n,h=!(t||n||a||o)&&!s&&u&&c;return r.createElement(r.Fragment,null,d&&r.createElement(i.Icon,{icon:d,className:l()["start-icon-wrap"]}),s&&r.createElement("span",{className:l().content},s),a&&!o&&r.createElement(i.Icon,{icon:a,className:l()["end-icon-wrap"]}),h&&function(e){return e.primaryText&&e.secondaryText&&r.createElement("div",{className:l()["text-wrap"]},r.createElement("span",{className:l()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?r.createElement("span",{className:l()["secondary-text"]}," ",e.secondaryText," "):r.createElement("span",{className:l()["secondary-text"]},r.createElement("span",null,e.secondaryText.firstLine),r.createElement("span",null,e.secondaryText.secondLine)))}(e))}var d=n(86332),h=n(90186);function p(e){
|
||||
const{className:t,color:n,variant:r,size:o,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:u,endIcon:c,primaryText:d,secondaryText:p,...f}=e;return{...f,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function f(e){const{reference:t,...n}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:i}=(0,r.useContext)(d.ControlGroupContext),a=u({...n,isGrouped:o,cellState:s,disablePositionAdjustment:i});return r.createElement("button",{...p(n),className:a,ref:t},r.createElement(c,{...n}))}function m(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function g(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function y(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function v(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:s,...i}=e;return{...i,color:g(t),size:y(n),variant:m(r),stretch:o,startIcon:s}}function _(e){return r.createElement(f,{...v(e)})}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>r});const r=n(50959).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function r(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>r})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>v,InputClasses:()=>m});var r=n(50959),o=n(97754),s=n(50151),i=n(38528),a=n(90186),l=n(86332),u=n(95604);var c=n(81026),d=n.n(c);function h(e){let t="";return 0!==e&&(1&e&&(t=o(t,d()["no-corner-top-left"])),2&e&&(t=o(t,d()["no-corner-top-right"])),4&e&&(t=o(t,d()["no-corner-bottom-right"])),8&e&&(t=o(t,d()["no-corner-bottom-left"]))),t}function p(e,t,n,r){const{removeRoundBorder:s,className:i,intent:a="default",borderStyle:l="thin",size:c,highlight:p,disabled:f,readonly:m,stretch:g,noReadonlyStyles:y,isFocused:v}=e,_=h(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(n));return o(d().container,d()[`container-${c}`],d()[`intent-${a}`],d()[`border-${l}`],c&&d()[`size-${c}`],_,p&&d()["with-highlight"],f&&d().disabled,m&&!y&&d().readonly,v&&d().focused,g&&d().stretch,t&&d().grouped,!r&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],i)}function f(e,t,n){const{highlight:r,highlightRemoveRoundBorder:s}=e;if(!r)return d().highlight;const i=h(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(t));return o(d().highlight,d().shown,d()[`size-${n}`],i)}const m={FontSizeMedium:(0,s.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(d()["font-size-large"])},g={passive:!1};function y(e,t){const{style:n,id:o,role:s,onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:h,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,tabIndex:w,startSlot:b,middleSlot:C,endSlot:x,onWheel:R,onWheelNoPassive:E=null,size:S}=e,{isGrouped:D,cellState:P,disablePositionAdjustment:k=!1}=(0,r.useContext)(l.ControlGroupContext),N=function(e,t=null,n){const o=(0,r.useRef)(null),s=(0,
|
||||
r.useRef)(null),i=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.addEventListener(e,t,n)}),[]),a=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.removeEventListener(e,t,n)}),[]),l=(0,r.useCallback)((e=>{a(),o.current=e,i()}),[]);return(0,r.useEffect)((()=>(s.current=[e,t,n],i(),a)),[e,t,n]),l}("wheel",E,g);return r.createElement("span",{style:n,id:o,role:s,className:p(e,D,P,k),tabIndex:w,ref:(0,i.useMergedRefs)([t,N]),onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:h,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,onWheel:R,...(0,a.filterDataProps)(e),...(0,a.filterAriaProps)(e)},b,C,x,r.createElement("span",{className:f(e,P,S)}))}y.displayName="ControlSkeleton";const v=r.forwardRef(y)},78274:(e,t,n)=>{"use strict";n.d(t,{AfterSlot:()=>c,EndSlot:()=>u,MiddleSlot:()=>l,StartSlot:()=>a});var r=n(50959),o=n(97754),s=n(7236),i=n.n(s);function a(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function l(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["inner-slot"],i()["inner-middle-slot"],t)},n)}function u(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function c(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>v});var r=n(50959),o=n(97754),s=n(90186),i=n(47201),a=n(48907),l=n(38528),u=n(48027),c=n(29202),d=n(45812),h=n(67029),p=n(78274),f=n(30930),m=n.n(f);function g(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function y(e){const{id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B,size:I="small",className:L,inputClassName:W,disabled:M,readonly:Z,containerTabIndex:T,startSlot:U,endSlot:A,reference:F,containerReference:j,onContainerFocus:V,...$}=e,q=(0,s.filterProps)($,g),H={...(0,s.filterAriaProps)($),...(0,s.filterDataProps)($),id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B};return r.createElement(h.ControlSkeleton,{...q,disabled:M,readonly:Z,tabIndex:T,className:o(m().container,L),size:I,ref:j,onFocus:V,startSlot:U,middleSlot:r.createElement(p.MiddleSlot,null,r.createElement("input",{...H,className:o(m().input,m()[`size-${I}`],W,U&&m()["with-start-slot"],A&&m()["with-end-slot"]),disabled:M,readOnly:Z,ref:F})),endSlot:A})}function v(e){e=(0,u.useControl)(e)
|
||||
;const{disabled:t,autoSelectOnFocus:n,tabIndex:o=0,onFocus:s,onBlur:h,reference:p,containerReference:f=null}=e,m=(0,r.useRef)(null),g=(0,r.useRef)(null),[v,_]=(0,c.useFocus)(),w=t?void 0:v?-1:o,b=t?void 0:v?o:-1,{isMouseDown:C,handleMouseDown:x,handleMouseUp:R}=(0,d.useIsMouseDown)(),E=(0,i.createSafeMulticastEventHandler)(_.onFocus,(function(e){n&&!C.current&&(0,a.selectAllContent)(e.currentTarget)}),s),S=(0,i.createSafeMulticastEventHandler)(_.onBlur,h),D=(0,r.useCallback)((e=>{m.current=e,p&&("function"==typeof p&&p(e),"object"==typeof p&&(p.current=e))}),[m,p]);return r.createElement(y,{...e,isFocused:v,containerTabIndex:w,tabIndex:b,onContainerFocus:function(e){g.current===e.target&&null!==m.current&&m.current.focus()},onFocus:E,onBlur:S,reference:D,containerReference:(0,l.useMergedRefs)([g,f]),onMouseDown:x,onMouseUp:R})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>s});var r=n(47201),o=n(29202);function s(e){const{onFocus:t,onBlur:n,intent:s,highlight:i,disabled:a}=e,[l,u]=(0,o.useFocus)(void 0,a),c=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onFocus,t),d=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onBlur,n);return{...e,intent:s||(l?"primary":"default"),highlight:null!=i?i:l,onFocus:c,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>o});var r=n(50959);function o(e,t){const[n,o]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&n&&o(!1)}),[t,n]);const s={onFocus:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!0)}),[e]),onBlur:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>o});var r=n(50959);function o(){const e=(0,r.useRef)(!1),t=(0,r.useCallback)((()=>{e.current=!0}),[e]),n=(0,r.useCallback)((()=>{e.current=!1}),[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},38528:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>s});var r=n(50959),o=n(53017);function s(e){return(0,r.useCallback)((0,o.mergeRefs)(e),e)}},27267:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function s(o){if(e>o.timeStamp)return;const s=o.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(o))}return o.click&&r.addEventListener("click",s,!1),o.mouseDown&&r.addEventListener("mousedown",s,!1),o.touchEnd&&r.addEventListener("touchend",s,!1),o.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(50959),o=n(27267);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:a,reference:l,ownerDocument:u=document}=e,c=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:i},r=l?l.current:c.current;return(0,o.addOutsideEventListener)(d.current,r,a,u,e)}),[t,n,s,i,a]),l||c}},9745:(e,t,n)=>{
|
||||
"use strict";n.d(t,{Icon:()=>o});var r=n(50959);const o=r.forwardRef(((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>u});var r,o=n(50959),s=n(97754),i=n(74991),a=n(25650),l=n.n(a);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class u extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=s(l().item,l()[t],l()[n]);return o.createElement("span",{className:s(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},90186:(e,t,n)=>{"use strict";function r(e){return s(e,i)}function o(e){return s(e,a)}function s(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function i(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterAriaProps:()=>o,filterDataProps:()=>r,filterProps:()=>s,isAriaAttribute:()=>a,isDataAttribute:()=>i})},48907:(e,t,n)=>{"use strict";function r(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>r})},53017:(e,t,n)=>{"use strict";function r(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return r([e])}n.d(t,{isomorphicRef:()=>o,mergeRefs:()=>r})},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var r=n(50151);class o{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class s{constructor(e=document){this._storage=new o,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const r=this._document.createElement("div");if(r.style.position=t.position,r.style.zIndex=this._index.toString(),r.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length
|
||||
;if(t.index>=e)this._container.appendChild(r);else if(t.index<=0)this._container.insertBefore(r,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(r,e)}}else"reverse"===t.direction?this._container.insertBefore(r,this._container.firstChild):this._container.appendChild(r);return this._windows.set(e,r),++this._index,r}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(i.get(t));{const t=new s(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-i}return e}})();function o(e,t,n){null!==e&&e.style.setProperty(t,n)}function s(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function i(e,t){return parseInt(s(e,t))}let a=0,l=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++a){const e=s(t,"overflow"),a=i(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(o(n,"right",`${r()}px`),t.style.paddingRight=`${a+r()}px`,l=!0),t.classList.add("i-no-scroll")}else if(!e&&a>0&&0==--a&&(t.classList.remove("i-no-scroll"),l)){o(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=r()),t.style.paddingRight=(e<0?0:e)+"px",l=!1}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(88803);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},21788:(e,t,n)=>{"use strict";n.d(t,{Autocomplete:()=>f});var r,o=n(44352),s=n(50959),i=n(97754),a=n(10381),l=n(78274),u=n(31261),c=n(76594);!function(e){e[e.Enter=13]="Enter",e[e.Space=32]="Space",e[e.Backspace=8]="Backspace",e[e.DownArrow=40]="DownArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.LeftArrow=37]="LeftArrow",e[e.Escape=27]="Escape",e[e.Tab=9]="Tab"}(r||(r={}));var d=n(65718),h=n(20817)
|
||||
;function p(e,t){return""===e||-1!==t.toLowerCase().indexOf(e.toLowerCase())}class f extends s.PureComponent{constructor(e){if(super(e),this._containerInputElement=null,this._raf=null,this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleMeasure=()=>{if(this.state.isMeasureValid||!this.props.suggestionsInPortal||!this._containerInputElement)return;const{bottom:e,left:t,width:n}=this._containerInputElement.getBoundingClientRect();this.setState({appearingWidth:n,appearingPosition:{x:t,y:e},isMeasureValid:!0})},this._setInputRef=e=>{e&&(this._inputElement=e,this.props.setupHTMLInput&&this.props.setupHTMLInput(e),this._inputElement.addEventListener("keyup",this._handleKeyUpEnter))},this._setContainerInputRef=e=>{this._containerInputElement=e},this._handleCaretClick=()=>{this.state.isOpened?(this._close(),this.props.preventOnFocusOpen&&this._focus()):this.props.preventOnFocusOpen?this._open():this._focus()},this._handleOutsideClick=()=>{const{allowUserDefinedValues:e,value:t,onChange:n}=this.props,{queryValue:r}=this.state;e?n&&r!==t&&n(r):this.setState(this._valueToQuery(t)),this._close()},this._handleFocus=e=>{this.props.preventOnFocusOpen||this._open(),this.props.onFocus&&this.props.onFocus(e)},this._handleChange=e=>{const{preventSearchOnEmptyQuery:t,allowUserDefinedValues:n,onChange:r,onSuggestionsOpen:o,onSuggestionsClose:s}=this.props,i=e.currentTarget.value;if(t&&""===i)this.setState({queryValue:i,isOpened:!1,active:void 0}),s&&s();else{const e=this._suggestions(i),t=Object.keys(e).length>0;this.setState({queryValue:i,isOpened:t,active:n?void 0:this._getActiveKeyByValue(i)}),t&&o&&o()}n&&r&&r(i)},this._handleItemClick=e=>{const t=e.currentTarget.id;this.setState({queryValue:m(this.props.source)[t]}),this.props.onChange&&this.props.onChange(t),this._close()},this._handleKeyDown=e=>{if(-1===[r.DownArrow,r.UpArrow,r.Enter,r.Escape].indexOf(e.which))return;const{allowUserDefinedValues:t,value:n,onChange:o,onSuggestionsOpen:s}=this.props,{active:i,isOpened:a,queryValue:l}=this.state;a&&(e.preventDefault(),e.stopPropagation());const u=this._suggestions(l);switch(e.which){case r.DownArrow:case r.UpArrow:const c=Object.keys(u);if(!a&&c.length&&e.which===r.DownArrow){this.setState({isOpened:!0,active:c[0]}),s&&s();break}let d;if(void 0===i){if(e.which===r.UpArrow){this._close();break}d=0}else d=c.indexOf(i)+(e.which===r.UpArrow?-1:1);d<0&&(d=0),d>c.length-1&&(d=c.length-1);const h=c[d];this.setState({active:h});const p=document.getElementById(h);p&&this._scrollIfNotVisible(p,this._suggestionsElement);break;case r.Escape:this._close(),a||this._blur();break;case r.Enter:let f=i;t&&(a&&f?this.setState(this._valueToQuery(f)):f=l),void 0!==f&&(this._close(),a||this._blur(),f!==n?o&&o(f):this.setState(this._valueToQuery(f)))}},this._setSuggestionsRef=e=>{e&&(this._suggestionsElement=e)},this._scrollIfNotVisible=(e,t)=>{
|
||||
const n=t.scrollTop,r=t.scrollTop+t.clientHeight,o=e.offsetTop,s=o+e.clientHeight;o<=n?e.scrollIntoView(!0):s>=r&&e.scrollIntoView(!1)},!(e=>Array.isArray(e.source)||!e.allowUserDefinedValues)(e))throw new Error("allowUserDefinedProps === true cay only be used if source is array");this.state={valueFromProps:e.value,isOpened:!1,active:e.value,queryValue:m(e.source)[e.value]||(e.allowUserDefinedValues?e.value:"")}}componentDidMount(){this.props.suggestionsInPortal&&window.addEventListener("resize",this._resize)}componentDidUpdate(){this.state.isOpened&&this._handleMeasure()}componentWillUnmount(){this._inputElement&&this._inputElement.removeEventListener("keyup",this._handleKeyUpEnter),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),window.removeEventListener("resize",this._resize)}render(){return s.createElement(c.OutsideEvent,{handler:this._handleOutsideClick,click:!0},(e=>s.createElement("div",{className:i(h.autocomplete,"js-dialog-skip-escape"),ref:e},s.createElement(u.InputControl,{id:this.props.id,name:this.props.name,endSlot:Object.keys(this._suggestions(this.state.queryValue)).length?s.createElement(l.EndSlot,null,s.createElement("span",{className:h.caret,onClick:this._handleCaretClick,tabIndex:-1},s.createElement(a.ToolWidgetCaret,{className:h.icon,dropped:this.state.isOpened}))):void 0,maxLength:this.props.maxLength,reference:this._setInputRef,containerReference:this._setContainerInputRef,stretch:!0,placeholder:this.props.placeholder,value:this.state.queryValue,intent:this.props.error?"danger":void 0,onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this.props.onBlur,onMouseOver:this.props.onMouseOver,onMouseOut:this.props.onMouseOut,onKeyDown:this._handleKeyDown,autoComplete:"off",size:this.props.size}),this._renderSuggestions())))}static getDerivedStateFromProps(e,t){const{allowUserDefinedValues:n,value:r,source:o}=e;if(r===t.valueFromProps&&t.isOpened)return null;const s=n?r:""===r?"":m(o)[r]||t.queryValue;return{...t,valueFromProps:r,active:r,queryValue:s}}_renderSuggestions(){return this.props.suggestionsInPortal?this.state.isOpened?this._renderPortalSuggestions():null:this._renderSuggestionsItems()}_renderPortalSuggestions(){return s.createElement(d.Portal,null,this._renderSuggestionsItems())}_focus(){this._inputElement.focus()}_blur(){this._inputElement.blur()}_open(){const{onSuggestionsOpen:e}=this.props;this._focus(),this.setState({isOpened:!0,active:this.props.value}),e&&e()}_close(){const{onSuggestionsClose:e}=this.props;this.setState({isOpened:!1,active:void 0}),e&&e()}_suggestions(e){const{filter:t=p}=this.props,n=m(this.props.source),r={};return Object.keys(n).filter((r=>t(e,n[r]))).forEach((e=>r[e]=n[e])),r}_renderSuggestionsItems(){const e=this._suggestions(this.state.queryValue),t=Object.keys(e).map((t=>{const n=i(h.suggestion,this.state.active===t&&h.selected);return s.createElement("li",{id:t,key:t,className:n,onClick:this._handleItemClick},e[t])})),r=s.createElement("li",{className:h.noResults},o.t(null,void 0,n(56614)))
|
||||
;if(!t.length&&this.props.noEmptyText)return null;const{appearingPosition:a,appearingWidth:l}=this.state;return s.createElement("ul",{className:i(h.suggestions,this.state.isOpened&&h.opened),ref:this._setSuggestionsRef,style:{left:a&&a.x,top:a&&a.y,width:l&&l}},t.length?t:r)}_handleKeyUpEnter(e){e.which===r.Enter&&e.stopImmediatePropagation()}_getActiveKeyByValue(e){const{filter:t=p}=this.props,n=this._suggestions(e),r=Object.keys(n);for(const o of r)if(t(e,n[o]))return o;return r[0]}_valueToQuery(e){return{queryValue:m(this.props.source)[e]||""}}}function m(e){let t={};return Array.isArray(e)?e.forEach((e=>{t[e]=e})):t=e,t}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(50959);class o extends r.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>u});var r=n(50959),o=n(962),s=n(36174),i=n(67961),a=n(60508);class l extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",o.createPortal(r.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const u=r.createContext(null)},60508:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>s});var r=n(50959);class o extends r.Component{shouldComponentUpdate(){return!1}render(){return r.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=r.createContext(null)},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>l});var r=n(50959),o=n(97754),s=n(9745),i=n(34587),a=n(578);function l(e){const{dropped:t,className:n}=e;return r.createElement(s.Icon,{className:o(n,i.icon,{[i.dropped]:t}),icon:a})}},95257:(e,t)=>{"use strict"
|
||||
;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function v(){}function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}y.prototype.isReactComponent={},y.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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=_.prototype=new v;w.constructor=_,m(w,y.prototype),w.isPureReactComponent=!0;var b=Array.isArray,C=Object.prototype.hasOwnProperty,x={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,s={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,o)&&!R.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];s.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===s[o]&&(s[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:a,props:s,_owner:x.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var D=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,o,s,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===s?"."+P(l,0):s,b(i)?(o="",null!=e&&(o=e.replace(D,"$&/")+"/"),k(i,t,o,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(D,"$&/")+"/")+e)),t.push(i)),1;if(l=0,s=""===s?".":s+":",b(e))for(var u=0;u<e.length;u++){var c=s+P(a=e[u],u);l+=k(a,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(a=e.next()).done;)l+=k(a=a.value,t,o,c=s+P(a,u++),i);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")
|
||||
;return l}function N(e,t,n){if(null==e)return e;var r=[],o=0;return k(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var z={current:null},B={transition:null},I={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:B,ReactCurrentOwner:x};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=_,t.StrictMode=s,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),s=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=x.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)C.call(t,u)&&!R.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:s,ref:i,props:o,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=B.transition;B.transition={};try{e()}finally{B.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return z.current.useCallback(e,t)},t.useContext=function(e){return z.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return z.current.useDeferredValue(e)},t.useEffect=function(e,t){return z.current.useEffect(e,t)},t.useId=function(){return z.current.useId()},t.useImperativeHandle=function(e,t,n){return z.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return z.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return z.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return z.current.useMemo(e,t)},t.useReducer=function(e,t,n){return z.current.useReducer(e,t,n)},t.useRef=function(e){
|
||||
return z.current.useRef(e)},t.useState=function(e){return z.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return z.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return z.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},20036:e=>{e.exports={ar:["إلغاء"],ca_ES:["Cancel·la"],cs:["Zrušit"],de:["Abbrechen"],el:["Άκυρο"],en:"Cancel",es:["Cancelar"],fa:["لغو"],fr:["Annuler"],he_IL:["ביטול"],hu_HU:["Törlés"],id_ID:["Batal"],it:["Annulla"],ja:["キャンセル"],ko:["취소"],ms_MY:["Batal"],nl_NL:["Annuleren"],pl:["Anuluj"],pt:["Cancelar"],ro:"Cancel",ru:["Отмена"],sv:["Avbryt"],th:["ยกเลิก"],tr:["İptal"],vi:["Hủy bỏ"],zh:["取消"],zh_TW:["取消"]}},68988:e=>{e.exports={ar:["موافق"],ca_ES:["Acceptar"],cs:"Ok",de:"Ok",el:"Ok",en:"Ok",es:["Aceptar"],fa:"Ok",fr:["D'accord"],he_IL:["אוקיי"],hu_HU:["Oké"],id_ID:"Ok",it:"Ok",ja:["OK"],ko:["확인"],ms_MY:"Ok",nl_NL:"Ok",pl:"Ok",pt:"Ok",ro:"Ok",ru:["Ок"],sv:["OK"],th:["ตกลง"],tr:["Tamam"],vi:"Ok",zh:["确认"],zh_TW:["確認"]}},56614:e=>{e.exports={ar:["لا توجد نتائج"],ca_ES:["No s'han trobat resultats"],cs:"No results found",de:["Keine Ergebnisse"],el:"No results found",en:"No results found",es:["No se han encontrado resultados"],fa:"No results found",fr:["Pas de résultat trouvé"],he_IL:["לא נמצאו תוצאות"],hu_HU:"No results found",id_ID:["Hasil tidak ditemukan"],it:["Nessun risultato trovato"],ja:["該当なし"],ko:["결과를 찾을 수 없습니다"],ms_MY:["Tiada keputusan dijumpai"],nl_NL:"No results found",pl:["Brak wyników przeszukiwania"],pt:["Nenhum resultado encontrado"],ro:"No results found",ru:["Не найдено результатов"],sv:["Inga resultat hittades"],th:["ไม่พบข้อมูลใดๆ"],tr:["Hiç sonuç bulunamadı"],vi:["Không tìm thấy kết quả"],zh:["未搜寻结果"],zh_TW:["未找到結果"]}},85520:e=>{e.exports={ar:["حفظ"],ca_ES:["Desa"],cs:["Uložit"],de:["Speichern"],el:["Αποθήκευση"],en:"Save",es:["Guardar"],fa:["ذخیره"],fr:["Sauvegarder"],he_IL:["שמור"],hu_HU:["Mentés"],id_ID:["Simpan"],it:["Salva"],ja:["保存"],ko:["저장"],ms_MY:["Simpan"],nl_NL:["Opslaan"],pl:["Zapisz"],pt:["Salvar"],ro:"Save",ru:["Сохранить"],sv:["Spara"],th:["บันทึก"],tr:["Kaydet"],vi:["Lưu"],zh:["保存"],zh_TW:["儲存"]}}}]);
|
||||
1
charting_library/bundles/4781.cf1365a3bf51d9989978.css
Normal file
1
charting_library/bundles/4781.cf1365a3bf51d9989978.css
Normal file
@@ -0,0 +1 @@
|
||||
.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-right:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-left:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 4px 0 6px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:auto;margin-right:18px}
|
||||
@@ -0,0 +1 @@
|
||||
.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-left:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-right:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 6px 0 4px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:18px;margin-right:auto}
|
||||
1
charting_library/bundles/4788.3cff897925f7a8dbc837.css
Normal file
1
charting_library/bundles/4788.3cff897925f7a8dbc837.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
charting_library/bundles/4894.99d4c2794da9feef3c70.css
Normal file
1
charting_library/bundles/4894.99d4c2794da9feef3c70.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.seriesControlWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-right:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-left:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;left:0;position:absolute;top:0;visibility:hidden}
|
||||
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#f0f3fa}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.clicked-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-clicked,var(--tv-color-toolbar-button-background-hover,#f0f3fa));content:""}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.clicked-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-clicked,var(--tv-color-toolbar-button-background-hover,#2a2e39))}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.seriesControlWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-right:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-left:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;left:0;position:absolute;top:0;visibility:hidden}
|
||||
@@ -1 +1 @@
|
||||
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.seriesControlWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-left:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-right:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;position:absolute;right:0;top:0;visibility:hidden}
|
||||
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#f0f3fa}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.clicked-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-clicked,var(--tv-color-toolbar-button-background-hover,#f0f3fa));content:""}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.clicked-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-clicked,var(--tv-color-toolbar-button-background-hover,#2a2e39))}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.seriesControlWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-left:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-right:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;position:absolute;right:0;top:0;visibility:hidden}
|
||||
4
charting_library/bundles/5057.5382614553878fcf337d.js
Normal file
4
charting_library/bundles/5057.5382614553878fcf337d.js
Normal file
@@ -0,0 +1,4 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5057],{45350:e=>{e.exports={"nav-button":"nav-button-znwuaSC1",link:"link-znwuaSC1",background:"background-znwuaSC1",icon:"icon-znwuaSC1","flip-icon":"flip-icon-znwuaSC1","size-large":"size-large-znwuaSC1","preserve-paddings":"preserve-paddings-znwuaSC1","size-medium":"size-medium-znwuaSC1","size-small":"size-small-znwuaSC1","size-xsmall":"size-xsmall-znwuaSC1","size-xxsmall":"size-xxsmall-znwuaSC1","visually-hidden":"visually-hidden-znwuaSC1"}},55596:e=>{e.exports={dialog:"dialog-b8SxMnzX",wrapper:"wrapper-b8SxMnzX",separator:"separator-b8SxMnzX",bounded:"bounded-b8SxMnzX"}},69827:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-BZKENkhT",unsetAlign:"unsetAlign-BZKENkhT",title:"title-BZKENkhT",subtitle:"subtitle-BZKENkhT",textWrap:"textWrap-BZKENkhT",ellipsis:"ellipsis-BZKENkhT",close:"close-BZKENkhT",icon:"icon-BZKENkhT"}},45719:e=>{e.exports={separator:"separator-Pf4rIzEt"}},57340:(e,t,n)=>{"use strict";n.d(t,{CloseButton:()=>u});var s=n(50959),r=n(64388),o=n(17105),i=n(15130),a=n(38822),l=n(63346),c=n(34983);function d(e="large"){switch(e){case"large":return o;case"medium":default:return i;case"small":return a;case"xsmall":return l;case"xxsmall":return c}}const u=s.forwardRef(((e,t)=>s.createElement(r.NavButton,{...e,ref:t,icon:d(e.size)})))},64388:(e,t,n)=>{"use strict";n.d(t,{NavButton:()=>c});var s=n(50959),r=n(97754),o=n(9745),i=n(45350);function a(e){const{size:t="large",preservePaddings:n,isLink:s,flipIconOnRtl:o,className:a}=e;return r(i["nav-button"],i[`size-${t}`],n&&i["preserve-paddings"],o&&i["flip-icon"],s&&i.link,a)}function l(e){const{children:t,icon:n}=e;return s.createElement(s.Fragment,null,s.createElement("span",{className:i.background}),s.createElement(o.Icon,{icon:n,className:i.icon,"aria-hidden":!0}),t&&s.createElement("span",{className:i["visually-hidden"]},t))}const c=(0,s.forwardRef)(((e,t)=>{const{icon:n,type:r="button",preservePaddings:o,flipIconOnRtl:i,size:c,"aria-label":d,...u}=e;return s.createElement("button",{...u,className:a({...e,children:d}),ref:t,type:r},s.createElement(l,{icon:n},d))}));c.displayName="NavButton";var d=n(21593),u=n(53017);(0,s.forwardRef)(((e,t)=>{const{icon:n,renderComponent:r,"aria-label":o,...i}=e,c=null!=r?r:d.CustomComponentDefaultLink;return s.createElement(c,{...i,className:a({...e,children:o,isLink:!0}),reference:(0,u.isomorphicRef)(t)},s.createElement(l,{icon:n},o))})).displayName="NavAnchorButton"},38952:(e,t,n)=>{"use strict";function s(e){const{reference:t,...n}=e;return{...n,ref:t}}n.d(t,{renameRef:()=>s})},21593:(e,t,n)=>{"use strict";n.d(t,{CustomComponentDefaultLink:()=>o});var s=n(50959),r=n(38952);function o(e){return s.createElement("a",{...(0,r.renameRef)(e)})}s.PureComponent},35057:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>B});var s=n(50959),r=n(50151);var o=n(97754),i=n.n(o),a=n(68335),l=n(38223),c=n(35749),d=n(16181),u=n(1109),h=n(24437),p=n(90692),m=n(95711);var f=n(52092),g=n(76422),v=n(11542),w=n(57340)
|
||||
;const C=s.createContext({setHideClose:()=>{}});var b=n(69827);function _(e){const{title:t,titleTextWrap:r=!1,subtitle:o,showCloseIcon:a=!0,onClose:l,onCloseButtonKeyDown:c,renderBefore:d,renderAfter:u,draggable:h,className:p,unsetAlign:m,closeAriaLabel:f=v.t(null,void 0,n(80395)),closeButtonReference:g}=e,[_,E]=(0,s.useState)(!1);return s.createElement(C.Provider,{value:{setHideClose:E}},s.createElement("div",{className:i()(b.container,p,(o||m)&&b.unsetAlign)},d,s.createElement("div",{"data-dragg-area":h,className:b.title},s.createElement("div",{className:i()(r?b.textWrap:b.ellipsis)},t),o&&s.createElement("div",{className:i()(b.ellipsis,b.subtitle)},o)),u,a&&!_&&s.createElement(w.CloseButton,{className:b.close,"data-name":"close","aria-label":f,onClick:l,onKeyDown:c,ref:g,size:"medium",preservePaddings:!0})))}var E=n(53017),x=n(90186),N=n(55596);const k={vertical:20},S={vertical:0};class B extends s.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleCloseBtnClick=()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleClose()},this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(h.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{if(!e.defaultPrevented){if(this.props.onKeyDown&&this.props.onKeyDown(e),27===(0,a.hashFromEvent)(e)){if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose();const{activeElement:n}=document,s=(0,r.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,c.isTextEditingField)(n))return void s.focus();if(s.contains(n))return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose()}}var t,n;(function(e){if("function"==typeof e)return e();return Boolean(e)})(this.props.disableTabNavigationContainment)||(n=e,[9,a.Modifiers.Shift+9].includes((0,a.hashFromEvent)(n))&&n.stopPropagation())}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()},this._calculatePositionWithOffsets=(e,t)=>{const n=(0,r.ensureDefined)(this.props.fullScreenViewOffsets).value();return{top:n.top,left:(0,l.isRtl)()?-n.right:n.left,width:t.clientWidth-n.left-n.right,height:t.clientHeight-n.top-n.bottom}}}componentDidMount(){var e,t;this.props.ignoreClosePopupsAndDialog||g.subscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),
|
||||
void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.subscribe(this._requestResize)}componentWillUnmount(){var e,t;this.props.ignoreClosePopupsAndDialog||g.unsubscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.unsubscribe(this._requestResize)}focus(){(0,r.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:r,title:o,titleTextWrap:a,dataName:l,onClickOutside:c,additionalElementPos:f,additionalHeaderElement:g,backdrop:v,shouldForceFocus:w=!0,shouldReturnFocus:C,onForceFocus:b,showSeparator:B,subtitle:z,draggable:y=!0,fullScreen:D=!1,showCloseIcon:O=!0,rounded:A=!0,isAnimationEnabled:P,growPoint:K,dialogTooltip:R,unsetHeaderAlign:M,onDragStart:L,dataDialogName:T,closeAriaLabel:F,containerAriaLabel:I,reference:W,containerTabIndex:Z,closeButtonReference:H,onCloseButtonKeyDown:V,shadowed:q,fullScreenViewOffsets:Q,fixedBody:X}=this.props,U="after"!==f?g:void 0,G="after"===f?g:void 0,$="string"==typeof o?o:T||"",j=(0,x.filterDataProps)(this.props),J=(0,E.mergeRefs)([this._handleReference,W]);return s.createElement(p.MatchMedia,{rule:h.DialogBreakpoints.SmallHeight},(f=>s.createElement(p.MatchMedia,{rule:h.DialogBreakpoints.TabletSmall},(h=>s.createElement(d.PopupDialog,{rounded:!(h||D)&&A,className:i()(N.dialog,D&&Q&&N.bounded,e),isOpened:r,reference:J,onKeyDown:this._handleKeyDown,onClickOutside:c,onClickBackdrop:c,fullscreen:h||D,guard:f?S:k,boundByScreen:h||D,shouldForceFocus:w,onForceFocus:b,shouldReturnFocus:C,backdrop:v,draggable:y,isAnimationEnabled:P,growPoint:K,name:this.props.dataName,dialogTooltip:R,onDragStart:L,containerAriaLabel:I,containerTabIndex:Z,calculateDialogPosition:D&&Q?this._calculatePositionWithOffsets:void 0,shadowed:q,fixedBody:X,...j},s.createElement("div",{className:i()(N.wrapper,t),"data-name":l,"data-dialog-name":$},void 0!==o&&s.createElement(_,{draggable:y&&!(h||D),onClose:this._handleCloseBtnClick,renderAfter:G,renderBefore:U,subtitle:z,title:o,titleTextWrap:a,showCloseIcon:O,className:n,unsetAlign:M,closeAriaLabel:F,closeButtonReference:H,onCloseButtonKeyDown:V}),B&&s.createElement(u.Separator,{className:N.separator}),s.createElement(m.PopupContext.Consumer,null,(e=>this._renderChildren(e,h||D)))))))))}}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>i});var s=n(50959),r=n(97754),o=n(45719);function i(e){
|
||||
return s.createElement("div",{className:r(o.separator,e.className)})}},17105:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path stroke="currentColor" stroke-width="1.2" d="m1.5 1.5 21 21m0-21-21 21"/></svg>'},15130:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path stroke="currentColor" stroke-width="1.2" d="m1.5 1.5 15 15m0-15-15 15"/></svg>'},38822:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14"><path stroke="currentColor" stroke-width="1.2" d="m1.5 1.5 11 11m0-11-11 11"/></svg>'},63346:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12"><path stroke="currentColor" stroke-width="1.2" d="m1.5 1.5 9 9m0-9-9 9"/></svg>'},34983:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" width="10" height="10"><path stroke="currentColor" stroke-width="1.2" d="m1.5 1.5 7 7m0-7-7 7"/></svg>'}}]);
|
||||
8
charting_library/bundles/5128.57de9f218989cee8119d.js
Normal file
8
charting_library/bundles/5128.57de9f218989cee8119d.js
Normal file
@@ -0,0 +1,8 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5128],{59142:function(e,t){var n,o,s;o=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),i=[],r=!1,a=-1,l=void 0,c=void 0,u=function(e){return i.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},h=function(e){var t=e||window.event;return!!u(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},d=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,o){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!i.some((function(t){return t.targetElement===e}))){var d={targetElement:e,options:o||{}};i=[].concat(t(i),[d]),e.ontouchstart=function(e){1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,o,s,i;1===t.targetTouches.length&&(o=e,i=(n=t).targetTouches[0].clientY-a,!u(n.target)&&(o&&0===o.scrollTop&&0<i||(s=o)&&s.scrollHeight-s.scrollTop<=s.clientHeight&&i<0?h(n):n.stopPropagation()))},r||(document.addEventListener("touchmove",h,n?{passive:!1}:void 0),r=!0)}}else{p=o,setTimeout((function(){if(void 0===c){var e=!!p&&!0===p.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:e,options:o||{}};i=[].concat(t(i),[m])}var p},e.clearAllBodyScrollLocks=function(){s?(i.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),r&&(document.removeEventListener("touchmove",h,n?{passive:!1}:void 0),r=!1),i=[],a=-1):(d(),i=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,i=i.filter((function(t){return t.targetElement!==e})),r&&0===i.length&&(document.removeEventListener("touchmove",h,n?{passive:!1}:void 0),r=!1)}else 1===i.length&&i[0].targetElement===e?(d(),i=[]):i=i.filter((function(t){return t.targetElement!==e}))}},void 0===(s="function"==typeof n?n.apply(t,o):n)||(e.exports=s)},70048:e=>{e.exports={wrapper:"wrapper-GZajBGIm",input:"input-GZajBGIm",box:"box-GZajBGIm",icon:"icon-GZajBGIm",noOutline:"noOutline-GZajBGIm","intent-danger":"intent-danger-GZajBGIm",check:"check-GZajBGIm",
|
||||
dot:"dot-GZajBGIm"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa"}},44445:e=>{e.exports={accessible:"accessible-rm8yeqY4"}},51331:e=>{e.exports={loaderWrap:"loaderWrap-jGEARQlM",big:"big-jGEARQlM",loader:"loader-jGEARQlM"}},22436:e=>{e.exports={item:"item-GJX1EXhk",interactive:"interactive-GJX1EXhk",hovered:"hovered-GJX1EXhk",disabled:"disabled-GJX1EXhk",active:"active-GJX1EXhk",shortcut:"shortcut-GJX1EXhk",normal:"normal-GJX1EXhk",big:"big-GJX1EXhk",iconCell:"iconCell-GJX1EXhk",icon:"icon-GJX1EXhk",checkmark:"checkmark-GJX1EXhk",content:"content-GJX1EXhk",label:"label-GJX1EXhk",checked:"checked-GJX1EXhk",toolbox:"toolbox-GJX1EXhk",showToolboxOnHover:"showToolboxOnHover-GJX1EXhk",arrowIcon:"arrowIcon-GJX1EXhk",subMenu:"subMenu-GJX1EXhk",invisibleHotkey:"invisibleHotkey-GJX1EXhk"}},86838:e=>{e.exports={row:"row-DFIg7eOh",line:"line-DFIg7eOh",hint:"hint-DFIg7eOh"}},36002:e=>{e.exports={menu:"menu-Tx5xMZww"}},29122:e=>{e.exports={item:"item-WJDah4zD",emptyIcons:"emptyIcons-WJDah4zD",loading:"loading-WJDah4zD",disabled:"disabled-WJDah4zD",interactive:"interactive-WJDah4zD",hovered:"hovered-WJDah4zD",normal:"normal-WJDah4zD",big:"big-WJDah4zD",icon:"icon-WJDah4zD",label:"label-WJDah4zD",title:"title-WJDah4zD",nested:"nested-WJDah4zD",shortcut:"shortcut-WJDah4zD",remove:"remove-WJDah4zD"}},33927:e=>{e.exports={separator:"separator-Ymxd0dt_"}},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},70673:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>u});var o=n(50959),s=n(97754),i=n(90186),r=n(9745),a=n(65890),l=n(70048),c=n.n(l);function u(e){const t=s(c().box,c()[`intent-${e.intent}`],{[c().check]:!Boolean(e.indeterminate),[c().dot]:Boolean(e.indeterminate),[c().noOutline]:-1===e.tabIndex}),n=s(c().wrapper,e.className);return o.createElement("span",{className:n,title:e.title,style:e.style},o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:c().input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference,"aria-required":e["aria-required"],"aria-describedby":e["aria-describedby"],"aria-invalid":e["aria-invalid"],...(0,i.filterDataProps)(e)}),o.createElement("span",{className:t},o.createElement(r.Icon,{icon:a,className:c().icon})))}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>a});var o=n(50959),s=n(97754),i=n(25650),r=n.n(i);function a(e){const{className:t,size:n="medium",staticPosition:i,color:a="black"}=e,l=s(r().item,r()[a],r()[n]);return o.createElement("span",{
|
||||
className:s(r().loader,i&&r().static,t)},o.createElement("span",{className:l}),o.createElement("span",{className:l}),o.createElement("span",{className:l}))}},10772:(e,t,n)=>{"use strict";n.d(t,{ContextMenuAction:()=>x});var o=n(50959),s=n(50151),i=n(91561),r=n(59064),a=n(51768),l=n(38223);var c=n(83021),u=n(97754),h=n.n(u),d=n(26996),m=n(50267),p=n(51331);function v(e){const{size:t="normal"}=e;return o.createElement(m.ContextMenuItem,{size:t,jsxLabel:o.createElement("div",{className:h()(p.loaderWrap,p[t])},o.createElement(d.Loader,{className:p.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}var b=n(3343),E=n(50238),g=n(16838),f=n(44445);const w=(0,o.forwardRef)((function(e,t){const{className:n,...s}=e,[i,r]=(0,E.useRovingTabindexElement)(t);return o.createElement(m.ContextMenuItem,{...s,className:h()(g.PLATFORM_ACCESSIBILITY_ENABLED&&f.accessible,n),reference:i,tabIndex:r,onKeyDown:function(e){if(!g.PLATFORM_ACCESSIBILITY_ENABLED||e.target!==e.currentTarget)return;const t=(0,b.hashFromEvent)(e);13!==t&&32!==t||(e.preventDefault(),i.current instanceof HTMLElement&&i.current.click())},"data-role":g.PLATFORM_ACCESSIBILITY_ENABLED?"menuitem":void 0,"aria-disabled":g.PLATFORM_ACCESSIBILITY_ENABLED&&e.disabled||void 0})}));class x extends o.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=o.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,r.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,r.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:o,top:s}=t.getBoundingClientRect(),i=document.documentElement.clientWidth,r={x:n-e,y:s},a={x:o,y:s};return(0,l.isRtl)()?n<=e?a:r:i-o>=e?a:r}return n}(e.contentWidth,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>{var e;return null===(e=this.context)||void 0===e?void 0:e.registerSubmenu(this.props.action.id,(e=>(0,s.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e)))},this.state={...this.props.action.getState()}}componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){var n,o,s;t.loading!==this.state.loading&&(null===(o=(n=this.props).onRequestUpdate)||void 0===o||o.call(n)),0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),
|
||||
t.subItems.length>0&&0===this.state.subItems.length&&(null===(s=this._unsubscribe)||void 0===s||s.call(this)),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){var e,t;const n=(null===(e=this.context)||void 0===e?void 0:e.current)?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?o.createElement(v,{size:this.state.size}):o.createElement(w,{theme:this.props.theme,ref:null!==(t=this.props.reference)&&void 0!==t?t:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:n,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,...this.state},o.createElement(i.ContextMenu,{isOpened:n,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){var e;this.state.subItems.length&&(null===(e=this.context)||void 0===e||e.setCurrent(this.props.action.id))}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,a.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter((e=>Boolean(e))).join(".")}}x.contextType=c.SubmenuContext},50267:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>f,DEFAUL_CONTEXT_MENU_ITEM_THEME:()=>E});var o=n(50959),s=n(97754),i=n(70673),r=n(49483),a=n(32563);var l=n(96040),c=n(36189),u=n(99025),h=n(25812),d=n(14483),m=n(90186),p=n(80802),v=n(14665),b=n(22436);const E=b,g=d.enabled("items_favoriting");class f extends o.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(function(e){const t=e.sourceCapabilities;let n=t&&t.firesTouchEvents;return void 0===n&&(n=a.touch),n})(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:i,favourite:a,theme:l=b,size:h="normal",onKeyDown:d,label:p,jsxLabel:E,styledLabel:f}=this.props,w=this.props.checkable&&this.props.checkboxInput?"label":"div";return o.createElement(o.Fragment,null,o.createElement("tr",{...(0,m.filterDataProps)(this.props),...(0,m.filterAriaProps)(this.props),className:s(this.props.className,l.item,!this.props.noInteractive&&l.interactive,this.props.hovered&&l.hovered,this.props.disabled&&l.disabled,this.props.active&&l.active,this.props.selected&&l.selected,l[h]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName,tabIndex:this.props.tabIndex,onKeyDown:d
|
||||
},g&&void 0!==a&&o.createElement("td",null,o.createElement(c.FavoriteButton,{className:l.favourite,isFilled:a,onClick:this.props.onFavouriteClick})),o.createElement("td",{className:s(l.iconCell),"data-icon-cell":!0},this._icon(l)),o.createElement("td",{className:l.contentCell},o.createElement(w,{className:l.content},o.createElement("span",{className:s(l.label,this.props.checked&&l.checked),"data-label":!0},!E&&f?f.map((({text:e,...t},n)=>o.createElement("span",{key:n,style:t},e))):null!=E?E:p),this._toolbox(l),e&&o.createElement("span",{className:l.arrowIcon,dangerouslySetInnerHTML:{__html:v},"data-submenu-arrow":!0}),!e&&t&&!r.CheckMobile.any()&&o.createElement(u.Hint,{className:s(i&&l.invisibleHotkey),text:t}),!e&&!t&&n&&o.createElement(u.Hint,{text:n})))),o.createElement("tr",{className:l.subMenu},o.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return o.createElement(i.CheckboxInput,{className:s(e.icon,e.checkboxInput),checked:this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||p;return o.createElement("span",{className:s(e.icon,t&&e.checkmark),dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):o.createElement("span",{className:e.icon})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?o.createElement("span",{className:s(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){return this.props.toolbox&&this.props.toolbox.type===h.ToolboxType.Delete?o.createElement(l.RemoveButton,{onClick:this.props.toolbox.action}):null}}},91561:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>M,OverlapContextMenu:()=>y});var o=n(50959),s=n(97754),i=n.n(s),r=n(86431),a=n(27317),l=n(52778);class c extends o.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}var u=n(28127),h=n(37558),d=n(90692),m=n(33927);function p(e){return o.createElement("li",{className:m.separator})}var v=n(23829),b=n(41590),E=n(59064);function g(e){var t;const n=null!==(t=e.action.custom())&&void 0!==t?t:e.action,[s,i]=(0,o.useState)((()=>n.getState())),[r,a]=(0,o.useState)(!1),l=!!s.subItems.length,c=l&&r;return(0,o.useEffect)((()=>{const e=()=>i(n.getState());return n.onUpdate().subscribe(null,e),()=>{n.onUpdate().unsubscribe(null,e)}}),[]),o.createElement(v.ContextMenuItem,{...s,onClick:function(e){if(s.disabled||e.defaultPrevented)return;if(l)return void a(!0)
|
||||
;s.doNotCloseOnClick||(0,E.globalCloseMenu)();n.execute()},isLoading:s.loading,isHovered:c},c&&o.createElement(b.Drawer,{onClose:u},o.createElement(x,{items:s.subItems,parentAction:n,closeNested:u})));function u(e){e&&e.preventDefault(),a(!1)}}var f=n(54627),w=n(66493);function x(e){const{items:t,parentAction:n,closeNested:s}=e,i=!Boolean(n)&&t.every((e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable))));return o.createElement(f.EmptyIconsContext.Provider,{value:i},o.createElement("ul",null,n&&o.createElement(o.Fragment,null,o.createElement(v.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:w,onClick:s}),o.createElement(p,null)),t.map((e=>{switch(e.type){case"action":return o.createElement(g,{key:e.id,action:e});case"separator":return o.createElement(p,{key:e.id})}}))))}const k=o.createContext(null);var C=n(81261),_=n(16838),I=n(36002);class M extends o.PureComponent{constructor(e){super(e),this._menuRef=o.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{var e,t;(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&this.props.takeFocus&&(null===(t=this.props.menuElementReference)||void 0===t||t.current.focus({preventScroll:!0}))},this._handleFocus=e=>{this.props.isKeyboardEvent&&e.target&&_.PLATFORM_ACCESSIBILITY_ENABLED&&(0,C.focusFirstMenuItem)(e.target)},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:s,menuStatName:r,parentStatName:m,takeFocus:p,...v}=this.props;return e?o.createElement(h.DrawerManager,null,o.createElement(c,{keyCode:27,eventType:"keyup",handler:this._handleClose}),o.createElement(d.MatchMedia,{rule:"screen and (max-width: 430px)"},(t=>this._isDrawer(t)?o.createElement(k.Provider,{value:{type:"drawer"}},o.createElement(b.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":v["data-name"]},o.createElement(x,{items:n}))):o.createElement(k.Provider,{value:{type:"menu"}},o.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},(t=>o.createElement(a.Menu,{...v,reference:t,className:i()(I.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:p?-1:void 0,onOpen:this._handleFocusOnOpen,onFocus:this._handleFocus,onKeyDown:C.handleAccessibleMenuKeyDown},o.createElement(u.ActionsTable,{items:n,menuStatName:r,parentStatName:m,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))))):null}update(){var e;this._menuRef.current&&this._menuRef.current.update(),this.props.isKeyboardEvent&&(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&document.activeElement===this.props.menuElementReference.current&&(0,C.focusFirstMenuItem)(this.props.menuElementReference.current)}
|
||||
_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const y=(0,r.makeOverlapable)(M)},99025:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>a});var o=n(50959),s=n(97754),i=n.n(s),r=n(22436);function a(e){const{text:t="",className:n}=e;return o.createElement("span",{className:i()(r.shortcut,n)},t)}},23829:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>p});var o=n(50959),s=n(97754),i=n.n(s),r=n(9745),a=n(26996),l=n(54627),c=n(99025),u=n(39750),h=n(79978),d=n(69311),m=n(29122);function p(e){const{className:t,isTitle:n,isLoading:s,isHovered:p,active:v,checkable:b,disabled:E,checked:g,icon:f,iconChecked:w,hint:x,subItems:k,label:C,styledLabel:_,onClick:I,children:M,toolbox:y,jsxLabel:S,size:N="normal"}=e,L=(0,o.useContext)(l.EmptyIconsContext),D=!!k.length;return s?o.createElement("li",{className:i()(t,m.item,m.loading,m[N])},o.createElement(a.Loader,null)):o.createElement("li",{className:i()(t,m.item,m.interactive,n&&m.title,E&&m.disabled,p&&m.hovered,v&&m.active,L&&m.emptyIcons,m[N]),onClick:I},o.createElement(r.Icon,{className:i()(m.icon),icon:function(){if(b&&g)return w||f||u;return f}()}),o.createElement("span",{className:i()(m.label)},!S&&_?_.map((({text:e,...t},n)=>o.createElement("span",{key:n,style:t},e))):null!=S?S:C),!!y&&o.createElement(r.Icon,{onClick:function(){y&&y.action()},className:m.remove,icon:d}),!D&&x&&o.createElement(c.Hint,{className:m.shortcut,text:x}),D&&o.createElement(r.Icon,{className:m.nested,icon:h}),M)}},54627:(e,t,n)=>{"use strict";n.d(t,{EmptyIconsContext:()=>o});const o=n(50959).createContext(!1)},36189:(e,t,n)=>{"use strict";n.d(t,{FavoriteButton:()=>h});var o=n(11542),s=n(50959),i=n(97754),r=n(9745),a=n(39146),l=n(48010),c=n(14877);const u={add:o.t(null,void 0,n(44629)),remove:o.t(null,void 0,n(72482))};function h(e){const{className:t,isFilled:n,isActive:o,onClick:h,...d}=e;return s.createElement(r.Icon,{...d,className:i(c.favorite,"apply-common-tooltip",n&&c.checked,o&&c.active,t),icon:n?a:l,onClick:h,title:n?u.remove:u.add})}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>c});var o=n(11542),s=n(50959),i=n(97754),r=n(9745),a=n(33765),l=n(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:h,title:d,hidden:m,"data-name":p="remove-button",...v}=e;return s.createElement(r.Icon,{...v,"data-name":p,className:i(l.button,"apply-common-tooltip",c&&l.active,m&&l.hidden,t),icon:a,onClick:u,onMouseDown:h,title:d||o.t(null,void 0,n(34596))})}},28127:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>a});var o=n(50959),s=n(86838);function i(e){return o.createElement("tr",{className:s.row},o.createElement("td",null,o.createElement("div",{className:s.line})),o.createElement("td",null,o.createElement("div",{className:s.line}),e.hint?o.createElement("div",{className:s.hint},e.hint):null))}var r=n(10772);class a extends o.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){
|
||||
return o.createElement("table",null,o.createElement("tbody",null,this.props.items.map((e=>this._item(e)))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){var t;switch(e.type){case"separator":return o.createElement(i,{key:e.id,hint:e.getHint()});case"action":const n=null!==(t=e.custom())&&void 0!==t?t:e;return o.createElement(r.ContextMenuAction,{key:n.id,action:n,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===n,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},65890:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},66493:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.5 20L11 14.5 16.5 9"/></svg>'},79978:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'},80802:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 14" width="18" height="14"><path fill="currentColor" d="M6 11.17l-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41-10.59 10.58z"/></svg>'},39750:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},33765:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},69311:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9.7 9l4.65-4.65-.7-.7L9 8.29 4.35 3.65l-.7.7L8.29 9l-4.64 4.65.7.7L9 9.71l4.65 4.64.7-.7L9.71 9z"/></svg>'},14665:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 16" width="10" height="16"><path d="M.6 1.4l1.4-1.4 8 8-8 8-1.4-1.4 6.389-6.532-6.389-6.668z"/></svg>'},39146:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},48010:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-left:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-right:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-right:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-left:8px}
|
||||
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-left:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-right:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-right:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;overflow:hidden;width:100%}.tabletDialog-IKuIIugL{max-width:560px}.desktopDialog-IKuIIugL{max-width:840px;min-width:719px;width:100%}@media (max-width:768px){.desktopDialog-IKuIIugL{max-width:640px;min-width:480px}}@media (max-width:519px){.desktopDialog-IKuIIugL{max-width:479px;min-width:380px}}.label-lVJKBKVk{margin-left:8px}
|
||||
@@ -1 +1 @@
|
||||
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-right:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-left:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-left:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-right:8px}
|
||||
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-right:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-left:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-left:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;overflow:hidden;width:100%}.tabletDialog-IKuIIugL{max-width:560px}.desktopDialog-IKuIIugL{max-width:840px;min-width:719px;width:100%}@media (max-width:768px){.desktopDialog-IKuIIugL{max-width:640px;min-width:480px}}@media (max-width:519px){.desktopDialog-IKuIIugL{max-width:479px;min-width:380px}}.label-lVJKBKVk{margin-right:8px}
|
||||
4
charting_library/bundles/5164.a45b25a7ca6a0c16f810.js
Normal file
4
charting_library/bundles/5164.a45b25a7ca6a0c16f810.js
Normal file
@@ -0,0 +1,4 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5164],{88803:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},82434:e=>{e.exports={scrollWrap:"scrollWrap-FaOvTD2r"}},77253:e=>{e.exports={wrap:"wrap-vSb6C0Bj","wrap--horizontal":"wrap--horizontal-vSb6C0Bj",bar:"bar-vSb6C0Bj",barInner:"barInner-vSb6C0Bj","barInner--horizontal":"barInner--horizontal-vSb6C0Bj","bar--horizontal":"bar--horizontal-vSb6C0Bj"}},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},67842:(e,t,r)=>{"use strict";r.d(t,{useResizeObserver:()=>a});var n=r(50959),o=r(59255),i=r(43010),s=r(39416);function a(e,t=[]){const{callback:r,ref:a=null}=function(e){return"function"==typeof e?{callback:e}:e}(e),l=(0,n.useRef)(null),c=(0,n.useRef)(r);c.current=r;const u=(0,s.useFunctionalRefObject)(a),v=(0,n.useCallback)((e=>{u(e),null!==l.current&&(l.current.disconnect(),null!==e&&l.current.observe(e))}),[u,l]);return(0,i.useIsomorphicLayoutEffect)((()=>(l.current=new o.default(((e,t)=>{c.current(e,t)})),u.current&&v(u.current),()=>{var e;null===(e=l.current)||void 0===e||e.disconnect()})),[u,...t]),v}},24437:(e,t,r)=>{"use strict";r.d(t,{DialogBreakpoints:()=>o});var n=r(88803);const o={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},3085:(e,t,r)=>{"use strict";r.d(t,{OverlayScrollContainer:()=>f});var n=r(50959),o=r(97754),i=r.n(o),s=r(38223),a=r(50151),l=r(37160);const c=r(77253),u={0:{isHorizontal:!1,isNegative:!1,sizePropName:"height",minSizePropName:"minHeight",startPointPropName:"top",currentMousePointPropName:"clientY",progressBarTransform:"translateY"},1:{isHorizontal:!0,isNegative:!1,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"left",currentMousePointPropName:"clientX",progressBarTransform:"translateX"},2:{isHorizontal:!0,isNegative:!0,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"right",currentMousePointPropName:"clientX",progressBarTransform:"translateX"}},v=40;function d(e){const{size:t,scrollSize:r,clientSize:o,scrollProgress:s,onScrollProgressChange:d,scrollMode:h,theme:m=c,onDragStart:f,onDragEnd:p,minBarSize:g=v}=e,b=(0,n.useRef)(null),z=(0,n.useRef)(null),[N,k]=(0,n.useState)(!1),P=(0,n.useRef)(0),{isHorizontal:w,isNegative:C,sizePropName:L,minSizePropName:S,startPointPropName:M,currentMousePointPropName:E,progressBarTransform:T}=u[h];(0,n.useEffect)((()=>{const e=(0,a.ensureNotNull)(b.current).ownerDocument;return N?(f&&f(),e&&(e.addEventListener("mousemove",O),e.addEventListener("mouseup",W))):p&&p(),()=>{e&&(e.removeEventListener("mousemove",O),e.removeEventListener("mouseup",W))}}),[N])
|
||||
;const x=t/r||0,_=o*x||0,H=Math.max(_,g),R=(t-H)/(t-_),D=r-t,B=C?-D:0,y=C?0:D,F=j((0,l.clamp)(s,B,y))||0;return n.createElement("div",{ref:b,className:i()(m.wrap,w&&m["wrap--horizontal"]),style:{[L]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const t=I(e.nativeEvent,(0,a.ensureNotNull)(b.current)),r=Math.sign(t),n=(0,a.ensureNotNull)(z.current).getBoundingClientRect();P.current=r*n[L]/2;let o=Math.abs(t)-Math.abs(P.current);const i=j(D);o<0?(o=0,P.current=t):o>i&&(o=i,P.current=t-r*i);d(A(r*o)),k(!0)}},n.createElement("div",{ref:z,className:i()(m.bar,w&&m["bar--horizontal"]),style:{[S]:g,[L]:H,transform:`${T}(${F}px)`},onMouseDown:function(e){e.preventDefault(),P.current=I(e.nativeEvent,(0,a.ensureNotNull)(z.current)),k(!0)}},n.createElement("div",{className:i()(m.barInner,w&&m["barInner--horizontal"])})));function O(e){const t=I(e,(0,a.ensureNotNull)(b.current))-P.current;d(A(t))}function W(){k(!1)}function I(e,t){const r=t.getBoundingClientRect()[M];return e[E]-r}function j(e){return e*x*R}function A(e){return e/x/R}}var h=r(70412),m=r(82434);function f(e){const{reference:t,className:r,containerHeight:i=0,containerWidth:a=0,contentHeight:l=0,contentWidth:c=0,scrollPosTop:u=0,scrollPosLeft:v=0,onVerticalChange:f,onHorizontalChange:p,visible:g}=e,[b,z]=(0,h.useHover)(),[N,k]=(0,n.useState)(!1),P=i<l,w=a<c,C=P&&w?8:0;return n.createElement("div",{...z,ref:t,className:o(r,m.scrollWrap),style:{visibility:g||b||N?"visible":"hidden"}},P&&n.createElement(d,{size:i-C,scrollSize:l-C,clientSize:i-C,scrollProgress:u,onScrollProgressChange:function(e){f&&f(e)},onDragStart:L,onDragEnd:S,scrollMode:0}),w&&n.createElement(d,{size:a-C,scrollSize:c-C,clientSize:a-C,scrollProgress:v,onScrollProgressChange:function(e){p&&p(e)},onDragStart:L,onDragEnd:S,scrollMode:(0,s.isRtl)()?2:1}));function L(){k(!0)}function S(){k(!1)}}},36189:(e,t,r)=>{"use strict";r.d(t,{FavoriteButton:()=>v});var n=r(11542),o=r(50959),i=r(97754),s=r(9745),a=r(39146),l=r(48010),c=r(14877);const u={add:n.t(null,void 0,r(44629)),remove:n.t(null,void 0,r(72482))};function v(e){const{className:t,isFilled:r,isActive:n,onClick:v,...d}=e;return o.createElement(s.Icon,{...d,className:i(c.favorite,"apply-common-tooltip",r&&c.checked,n&&c.active,t),icon:r?a:l,onClick:v,title:r?u.remove:u.add})}},898:(e,t,r)=>{"use strict";r.d(t,{useDimensions:()=>i});var n=r(50959),o=r(67842);function i(e){const[t,r]=(0,n.useState)(null),i=(0,n.useCallback)((([e])=>{const n=e.target.getBoundingClientRect();n.width===(null==t?void 0:t.width)&&n.height===t.height||r(n)}),[t]);return[(0,o.useResizeObserver)({callback:i,ref:e}),t]}},70412:(e,t,r)=>{"use strict";r.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>s,useHover:()=>o});var n=r(50959);function o(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}function s(e){const[t,r]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const t=t=>{if(null===e.current)return
|
||||
;const n=e.current.contains(t.target);r(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},33127:(e,t,r)=>{"use strict";r.d(t,{useOverlayScroll:()=>l});var n=r(50959),o=r(50151),i=r(70412),s=r(49483);const a={onMouseOver:()=>{},onMouseOut:()=>{}};function l(e,t=s.CheckMobile.any()){const r=(0,n.useRef)(null),l=e||(0,n.useRef)(null),[c,u]=(0,i.useHover)(),[v,d]=(0,n.useState)({reference:r,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){d((t=>({...t,scrollPosTop:e}))),(0,o.ensureNotNull)(l.current).scrollTop=e},onHorizontalChange:function(e){d((t=>({...t,scrollPosLeft:e}))),(0,o.ensureNotNull)(l.current).scrollLeft=e},visible:c}),h=(0,n.useCallback)((()=>{if(!l.current)return;const{clientHeight:e,scrollHeight:t,scrollTop:n,clientWidth:o,scrollWidth:i,scrollLeft:s}=l.current,a=r.current?r.current.offsetTop:0;d((r=>({...r,containerHeight:e-a,contentHeight:t-a,scrollPosTop:n,containerWidth:o,contentWidth:i,scrollPosLeft:s})))}),[]);function m(){d((e=>({...e,scrollPosTop:(0,o.ensureNotNull)(l.current).scrollTop,scrollPosLeft:(0,o.ensureNotNull)(l.current).scrollLeft})))}return(0,n.useEffect)((()=>{c&&h(),d((e=>({...e,visible:c})))}),[c]),(0,n.useEffect)((()=>{const e=l.current;return e&&e.addEventListener("scroll",m),()=>{e&&e.removeEventListener("scroll",m)}}),[l]),[v,t?a:u,l,h]}},96040:(e,t,r)=>{"use strict";r.d(t,{RemoveButton:()=>c});var n=r(11542),o=r(50959),i=r(97754),s=r(9745),a=r(33765),l=r(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:v,title:d,hidden:h,"data-name":m="remove-button",...f}=e;return o.createElement(s.Icon,{...f,"data-name":m,className:i(l.button,"apply-common-tooltip",c&&l.active,h&&l.hidden,t),icon:a,onClick:u,onMouseDown:v,title:d||n.t(null,void 0,r(34596))})}},33765:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},39146:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},48010:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'},80395:e=>{e.exports={ar:["إغلاق القائمة"],ca_ES:"Close menu",cs:"Close menu",de:["Menü schließen"],el:"Close menu",en:"Close menu",es:["Cerrar menú"],fa:"Close menu",fr:["Fermer le menu"],he_IL:["סגור תפריט"],hu_HU:"Close menu",id_ID:["Pilih menu"],it:["Chiudere menù"],ja:["メニューを閉じる"],ko:["메뉴 닫기"],ms_MY:["Tutup menu"],nl_NL:"Close menu",
|
||||
pl:["Zamknij menu"],pt:["Fechar menu"],ro:"Close menu",ru:["Закрыть меню"],sv:["Stäng menyn"],th:["ปิดเมนู"],tr:["Menüyü kapat"],vi:["Đóng menu"],zh:["关闭菜单"],zh_TW:["關閉選單"]}},44629:e=>{e.exports={ar:["اضف إلى القائمة التفضيلات"],ca_ES:["Afegeix a preferits"],cs:["Přidat do oblíbených"],de:["Zu Favoriten hinzufügen"],el:["Προσθήκη στα αγαπημένα"],en:"Add to favorites",es:["Añadir a favoritos"],fa:["افزودن به موارد مورد علاقه"],fr:["Ajouter aux favoris"],he_IL:["הוסף למועדפים"],hu_HU:["Hozzáadás kedvencekhez"],id_ID:["Tambah ke daftar favorit"],it:["Aggiungi ai preferiti"],ja:["お気に入りに追加"],ko:["즐겨찾기에 넣기"],ms_MY:["Tambah kepada kegemaran"],nl_NL:["Voeg toe aan favorieten"],pl:["Dodaj do ulubionych"],pt:["Adicionar aos favoritos"],ro:"Add to favorites",ru:["Добавить в избранное"],sv:["Lägg till som favorit"],th:["เพิ่มลงรายการโปรด"],tr:["Favorilere ekle"],vi:["Thêm vào mục yêu thích"],zh:["添加到收藏"],zh_TW:["加入收藏"]}},72482:e=>{e.exports={ar:["حذف من القائمة المفضلة"],ca_ES:["Treure de preferits"],cs:["Odebrat z oblíbených"],de:["Aus Favoriten entfernen"],el:["Διαγραφή απο τα αγαπημένα"],en:"Remove from favorites",es:["Quitar de favoritos"],fa:["حذف از موارد مورد علاقه"],fr:["Retirer des favoris"],he_IL:["הסר ממועדפים"],hu_HU:["Eltávolít kedvencek közül"],id_ID:["Hilangkan dari favorit"],it:["Rimuovi dai preferiti"],ja:["お気に入りから削除"],ko:["즐겨찾기지움"],ms_MY:["Buang dari kegemaran"],nl_NL:["Verwijder van favorieten"],pl:["Usuń z ulubionych"],pt:["Remover dos favoritos"],ro:"Remove from favorites",ru:["Удалить из предпочтений"],sv:["Ta bort från favoriter"],th:["ลบออกจากรายการโปรด"],tr:["Favorilerimden çıkar"],vi:["Loại bỏ khỏi mục yêu thích"],zh:["从收藏中移除"],zh_TW:["從收藏移除"]}}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5711],{88803:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},55596:e=>{e.exports={dialog:"dialog-b8SxMnzX",wrapper:"wrapper-b8SxMnzX",separator:"separator-b8SxMnzX",bounded:"bounded-b8SxMnzX"}},12228:e=>{e.exports={itemRow:"itemRow-BadjY5sX",favoriteButton:"favoriteButton-BadjY5sX",active:"active-BadjY5sX",selected:"selected-BadjY5sX",mobile:"mobile-BadjY5sX",itemInfo:"itemInfo-BadjY5sX",title:"title-BadjY5sX",details:"details-BadjY5sX",itemInfoWithPadding:"itemInfoWithPadding-BadjY5sX",favorite:"favorite-BadjY5sX",removeButton:"removeButton-BadjY5sX"}},69827:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-BZKENkhT",unsetAlign:"unsetAlign-BZKENkhT",title:"title-BZKENkhT",subtitle:"subtitle-BZKENkhT",textWrap:"textWrap-BZKENkhT",ellipsis:"ellipsis-BZKENkhT",close:"close-BZKENkhT",icon:"icon-BZKENkhT"}},82434:e=>{e.exports={scrollWrap:"scrollWrap-FaOvTD2r"}},77253:e=>{e.exports={wrap:"wrap-vSb6C0Bj","wrap--horizontal":"wrap--horizontal-vSb6C0Bj",bar:"bar-vSb6C0Bj",barInner:"barInner-vSb6C0Bj","barInner--horizontal":"barInner--horizontal-vSb6C0Bj","bar--horizontal":"bar--horizontal-vSb6C0Bj"}},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},45719:e=>{e.exports={separator:"separator-Pf4rIzEt"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},67842:(e,t,r)=>{"use strict";r.d(t,{useResizeObserver:()=>a});var n=r(50959),o=r(59255),i=r(43010),s=r(39416);function a(e,t=[]){const{callback:r,ref:a=null}=function(e){return"function"==typeof e?{callback:e}:e}(e),l=(0,n.useRef)(null),c=(0,n.useRef)(r);c.current=r;const u=(0,s.useFunctionalRefObject)(a),d=(0,n.useCallback)((e=>{u(e),null!==l.current&&(l.current.disconnect(),null!==e&&l.current.observe(e))}),[u,l]);return(0,i.useIsomorphicLayoutEffect)((()=>(l.current=new o.default(((e,t)=>{c.current(e,t)})),u.current&&d(u.current),()=>{var e;null===(e=l.current)||void 0===e||e.disconnect()})),[u,...t]),d}},53017:(e,t,r)=>{"use strict";function n(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return n([e])}r.d(t,{isomorphicRef:()=>o,mergeRefs:()=>n})},24437:(e,t,r)=>{"use strict";r.d(t,{DialogBreakpoints:()=>o});var n=r(88803);const o={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},35057:(e,t,r)=>{"use strict";r.d(t,{AdaptivePopupDialog:()=>B});var n=r(50959),o=r(50151);var i=r(97754),s=r.n(i),a=r(68335),l=r(38223),c=r(35749),u=r(63016),d=r(1109),h=r(24437),p=r(90692),v=r(95711);var m=r(52092),f=r(76422),g=r(9745);const b=n.createContext({setHideClose:()=>{}});var N=r(7720),C=r(69827)
|
||||
;function w(e){const{title:t,titleTextWrap:r=!1,subtitle:o,showCloseIcon:i=!0,onClose:a,onCloseButtonKeyDown:l,renderBefore:c,renderAfter:u,draggable:d,className:h,unsetAlign:p,closeAriaLabel:v,closeButtonReference:m}=e,[f,w]=(0,n.useState)(!1);return n.createElement(b.Provider,{value:{setHideClose:w}},n.createElement("div",{className:s()(C.container,h,(o||p)&&C.unsetAlign)},c,n.createElement("div",{"data-dragg-area":d,className:C.title},n.createElement("div",{className:s()(r?C.textWrap:C.ellipsis)},t),o&&n.createElement("div",{className:s()(C.ellipsis,C.subtitle)},o)),u,i&&!f&&n.createElement("button",{className:C.close,onClick:a,onKeyDown:l,"data-name":"close","aria-label":v,type:"button",ref:m},n.createElement(g.Icon,{className:C.icon,icon:N,"data-name":"close","data-role":"button"}))))}var E=r(53017),_=r(90186),P=r(55596);const k={vertical:20},S={vertical:0};class B extends n.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleCloseBtnClick=()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleClose()},this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(h.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{if(!e.defaultPrevented){if(this.props.onKeyDown&&this.props.onKeyDown(e),27===(0,a.hashFromEvent)(e)){if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose();const{activeElement:r}=document,n=(0,o.ensureNotNull)(this._reference);if(null!==r){if(e.preventDefault(),"true"===(t=r).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,c.isTextEditingField)(r))return void n.focus();if(n.contains(r))return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose()}}var t,r;(function(e){if("function"==typeof e)return e();return Boolean(e)})(this.props.disableTabNavigationContainment)||(r=e,[9,a.Modifiers.Shift+9].includes((0,a.hashFromEvent)(r))&&r.stopPropagation())}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()},this._calculatePositionWithOffsets=(e,t)=>{const r=(0,o.ensureDefined)(this.props.fullScreenViewOffsets).value();return{top:r.top,left:(0,l.isRtl)()?-r.right:r.left,width:t.clientWidth-r.left-r.right,height:t.clientHeight-r.top-r.bottom}}}componentDidMount(){var e,t;this.props.ignoreClosePopupsAndDialog||f.subscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),
|
||||
void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.subscribe(this._requestResize)}componentWillUnmount(){var e,t;this.props.ignoreClosePopupsAndDialog||f.unsubscribe(m.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.unsubscribe(this._requestResize)}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,r;return null!==(r=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==r&&r}render(){const{className:e,wrapperClassName:t,headerClassName:r,isOpened:o,title:i,titleTextWrap:a,dataName:l,onClickOutside:c,additionalElementPos:m,additionalHeaderElement:f,backdrop:g,shouldForceFocus:b=!0,shouldReturnFocus:N,onForceFocus:C,showSeparator:B,subtitle:z,draggable:M=!0,fullScreen:D=!1,showCloseIcon:L=!0,rounded:x=!0,isAnimationEnabled:O,growPoint:R,dialogTooltip:A,unsetHeaderAlign:T,onDragStart:y,dataDialogName:F,closeAriaLabel:H,containerAriaLabel:I,reference:W,containerTabIndex:K,closeButtonReference:j,onCloseButtonKeyDown:Y,shadowed:X,fullScreenViewOffsets:Q}=this.props,V="after"!==m?f:void 0,Z="after"===m?f:void 0,G="string"==typeof i?i:F||"",U=(0,_.filterDataProps)(this.props),q=(0,E.mergeRefs)([this._handleReference,W]);return n.createElement(p.MatchMedia,{rule:h.DialogBreakpoints.SmallHeight},(m=>n.createElement(p.MatchMedia,{rule:h.DialogBreakpoints.TabletSmall},(h=>n.createElement(u.PopupDialog,{rounded:!(h||D)&&x,className:s()(P.dialog,D&&Q&&P.bounded,e),isOpened:o,reference:q,onKeyDown:this._handleKeyDown,onClickOutside:c,onClickBackdrop:c,fullscreen:h||D,guard:m?S:k,boundByScreen:h||D,shouldForceFocus:b,onForceFocus:C,shouldReturnFocus:N,backdrop:g,draggable:M,isAnimationEnabled:O,growPoint:R,name:this.props.dataName,dialogTooltip:A,onDragStart:y,containerAriaLabel:I,containerTabIndex:K,calculateDialogPosition:D&&Q?this._calculatePositionWithOffsets:void 0,shadowed:X,...U},n.createElement("div",{className:s()(P.wrapper,t),"data-name":l,"data-dialog-name":G},void 0!==i&&n.createElement(w,{draggable:M&&!(h||D),onClose:this._handleCloseBtnClick,renderAfter:Z,renderBefore:V,subtitle:z,title:i,titleTextWrap:a,showCloseIcon:L,className:r,unsetAlign:T,closeAriaLabel:H,closeButtonReference:j,onCloseButtonKeyDown:Y}),B&&n.createElement(d.Separator,{className:P.separator}),n.createElement(v.PopupContext.Consumer,null,(e=>this._renderChildren(e,h||D)))))))))}}},64530:(e,t,r)=>{"use strict";r.d(t,{DialogContentItem:()=>d});var n=r(50959),o=r(97754),i=r.n(o),s=r(49483),a=r(36189),l=r(96040);function c(e){
|
||||
const{url:t,...r}=e;return t?n.createElement("a",{...r,href:t}):n.createElement("div",{...r})}var u=r(12228);function d(e){const{title:t,subtitle:r,removeBtnLabel:o,onClick:d,onClickFavorite:p,onClickRemove:v,isActive:m,isSelected:f,isFavorite:g,isMobile:b=!1,showFavorite:N=!0,...C}=e;return n.createElement(c,{...C,className:i()(u.itemRow,m&&!f&&u.active,b&&u.mobile,f&&u.selected),onClick:h.bind(null,d),"data-role":"list-item","data-active":m},N&&p&&n.createElement(a.FavoriteButton,{className:i()(u.favoriteButton,g&&u.favorite,s.CheckMobile.any()&&u.mobile),isActive:m&&!f,isFilled:g,onClick:h.bind(null,p),"data-name":"list-item-favorite-button","data-favorite":g}),n.createElement("div",{className:i()(u.itemInfo,!N&&u.itemInfoWithPadding)},n.createElement("div",{className:i()(u.title,m&&!f&&u.active,b&&u.mobile),"data-name":"list-item-title"},t),n.createElement("div",{className:i()(u.details,m&&!f&&u.active,b&&u.mobile)},r)),n.createElement(l.RemoveButton,{className:u.removeButton,isActive:m&&!f,onClick:h.bind(null,v),"data-name":"list-item-remove-button",title:o}))}function h(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},3085:(e,t,r)=>{"use strict";r.d(t,{OverlayScrollContainer:()=>m});var n=r(50959),o=r(97754),i=r.n(o),s=r(38223),a=r(50151),l=r(37160);const c=r(77253),u={0:{isHorizontal:!1,isNegative:!1,sizePropName:"height",minSizePropName:"minHeight",startPointPropName:"top",currentMousePointPropName:"clientY",progressBarTransform:"translateY"},1:{isHorizontal:!0,isNegative:!1,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"left",currentMousePointPropName:"clientX",progressBarTransform:"translateX"},2:{isHorizontal:!0,isNegative:!0,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"right",currentMousePointPropName:"clientX",progressBarTransform:"translateX"}},d=40;function h(e){const{size:t,scrollSize:r,clientSize:o,scrollProgress:s,onScrollProgressChange:h,scrollMode:p,theme:v=c,onDragStart:m,onDragEnd:f,minBarSize:g=d}=e,b=(0,n.useRef)(null),N=(0,n.useRef)(null),[C,w]=(0,n.useState)(!1),E=(0,n.useRef)(0),{isHorizontal:_,isNegative:P,sizePropName:k,minSizePropName:S,startPointPropName:B,currentMousePointPropName:z,progressBarTransform:M}=u[p];(0,n.useEffect)((()=>{const e=(0,a.ensureNotNull)(b.current).ownerDocument;return C?(m&&m(),e&&(e.addEventListener("mousemove",F),e.addEventListener("mouseup",H))):f&&f(),()=>{e&&(e.removeEventListener("mousemove",F),e.removeEventListener("mouseup",H))}}),[C]);const D=t/r||0,L=o*D||0,x=Math.max(L,g),O=(t-x)/(t-L),R=r-t,A=P?-R:0,T=P?0:R,y=W((0,l.clamp)(s,A,T))||0;return n.createElement("div",{ref:b,className:i()(v.wrap,_&&v["wrap--horizontal"]),style:{[k]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const t=I(e.nativeEvent,(0,a.ensureNotNull)(b.current)),r=Math.sign(t),n=(0,a.ensureNotNull)(N.current).getBoundingClientRect();E.current=r*n[k]/2;let o=Math.abs(t)-Math.abs(E.current);const i=W(R);o<0?(o=0,E.current=t):o>i&&(o=i,E.current=t-r*i);h(K(r*o)),w(!0)}},n.createElement("div",{ref:N,
|
||||
className:i()(v.bar,_&&v["bar--horizontal"]),style:{[S]:g,[k]:x,transform:`${M}(${y}px)`},onMouseDown:function(e){e.preventDefault(),E.current=I(e.nativeEvent,(0,a.ensureNotNull)(N.current)),w(!0)}},n.createElement("div",{className:i()(v.barInner,_&&v["barInner--horizontal"])})));function F(e){const t=I(e,(0,a.ensureNotNull)(b.current))-E.current;h(K(t))}function H(){w(!1)}function I(e,t){const r=t.getBoundingClientRect()[B];return e[z]-r}function W(e){return e*D*O}function K(e){return e/D/O}}var p=r(70412),v=r(82434);function m(e){const{reference:t,className:r,containerHeight:i=0,containerWidth:a=0,contentHeight:l=0,contentWidth:c=0,scrollPosTop:u=0,scrollPosLeft:d=0,onVerticalChange:m,onHorizontalChange:f,visible:g}=e,[b,N]=(0,p.useHover)(),[C,w]=(0,n.useState)(!1),E=i<l,_=a<c,P=E&&_?8:0;return n.createElement("div",{...N,ref:t,className:o(r,v.scrollWrap),style:{visibility:g||b||C?"visible":"hidden"}},E&&n.createElement(h,{size:i-P,scrollSize:l-P,clientSize:i-P,scrollProgress:u,onScrollProgressChange:function(e){m&&m(e)},onDragStart:k,onDragEnd:S,scrollMode:0}),_&&n.createElement(h,{size:a-P,scrollSize:c-P,clientSize:a-P,scrollProgress:d,onScrollProgressChange:function(e){f&&f(e)},onDragStart:k,onDragEnd:S,scrollMode:(0,s.isRtl)()?2:1}));function k(){w(!0)}function S(){w(!1)}}},36189:(e,t,r)=>{"use strict";r.d(t,{FavoriteButton:()=>d});var n=r(44352),o=r(50959),i=r(97754),s=r(9745),a=r(39146),l=r(48010),c=r(14877);const u={add:n.t(null,void 0,r(44629)),remove:n.t(null,void 0,r(72482))};function d(e){const{className:t,isFilled:r,isActive:n,onClick:d,...h}=e;return o.createElement(s.Icon,{...h,className:i(c.favorite,"apply-common-tooltip",r&&c.checked,n&&c.active,t),icon:r?a:l,onClick:d,title:r?u.remove:u.add})}},898:(e,t,r)=>{"use strict";r.d(t,{useDimensions:()=>i});var n=r(50959),o=r(67842);function i(){const[e,t]=(0,n.useState)(null),r=(0,n.useCallback)((([r])=>{const n=r.target.getBoundingClientRect();n.width===(null==e?void 0:e.width)&&n.height===e.height||t(n)}),[e]);return[(0,o.useResizeObserver)(r),e]}},70412:(e,t,r)=>{"use strict";r.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>s,useHover:()=>o});var n=r(50959);function o(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}function s(e){const[t,r]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);r(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},33127:(e,t,r)=>{"use strict";r.d(t,{useOverlayScroll:()=>l});var n=r(50959),o=r(50151),i=r(70412),s=r(49483);const a={onMouseOver:()=>{},onMouseOut:()=>{}};function l(e,t=s.CheckMobile.any()){const r=(0,n.useRef)(null),l=e||(0,n.useRef)(null),[c,u]=(0,i.useHover)(),[d,h]=(0,n.useState)({reference:r,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){h((t=>({...t,scrollPosTop:e
|
||||
}))),(0,o.ensureNotNull)(l.current).scrollTop=e},onHorizontalChange:function(e){h((t=>({...t,scrollPosLeft:e}))),(0,o.ensureNotNull)(l.current).scrollLeft=e},visible:c}),p=(0,n.useCallback)((()=>{if(!l.current)return;const{clientHeight:e,scrollHeight:t,scrollTop:n,clientWidth:o,scrollWidth:i,scrollLeft:s}=l.current,a=r.current?r.current.offsetTop:0;h((r=>({...r,containerHeight:e-a,contentHeight:t-a,scrollPosTop:n,containerWidth:o,contentWidth:i,scrollPosLeft:s})))}),[]);function v(){h((e=>({...e,scrollPosTop:(0,o.ensureNotNull)(l.current).scrollTop,scrollPosLeft:(0,o.ensureNotNull)(l.current).scrollLeft})))}return(0,n.useEffect)((()=>{c&&p(),h((e=>({...e,visible:c})))}),[c]),(0,n.useEffect)((()=>{const e=l.current;return e&&e.addEventListener("scroll",v),()=>{e&&e.removeEventListener("scroll",v)}}),[l]),[d,t?a:u,l,p]}},1109:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>s});var n=r(50959),o=r(97754),i=r(45719);function s(e){return n.createElement("div",{className:o(i.separator,e.className)})}},96040:(e,t,r)=>{"use strict";r.d(t,{RemoveButton:()=>c});var n=r(44352),o=r(50959),i=r(97754),s=r(9745),a=r(33765),l=r(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:d,title:h,hidden:p,"data-name":v="remove-button",...m}=e;return o.createElement(s.Icon,{...m,"data-name":v,className:i(l.button,"apply-common-tooltip",c&&l.active,p&&l.hidden,t),icon:a,onClick:u,onMouseDown:d,title:h||n.t(null,void 0,r(34596))})}},33765:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},39146:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},48010:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'},44629:e=>{e.exports={ar:["اضف إلى القائمة التفضيلات"],ca_ES:["Afegeix a preferits"],cs:["Přidat do oblíbených"],de:["Zu Favoriten hinzufügen"],el:["Προσθήκη στα αγαπημένα"],en:"Add to favorites",es:["Añadir a favoritos"],fa:["افزودن به موارد مورد علاقه"],fr:["Ajouter aux favoris"],he_IL:["הוסף למועדפים"],hu_HU:["Hozzáadás kedvencekhez"],id_ID:["Tambah ke daftar favorit"],it:["Aggiungi ai preferiti"],ja:["お気に入りに追加"],ko:["즐겨찾기에 넣기"],ms_MY:["Tambah kepada kegemaran"],nl_NL:["Voeg toe aan favorieten"],pl:["Dodaj do ulubionych"],pt:["Adicionar aos favoritos"],
|
||||
ro:"Add to favorites",ru:["Добавить в избранное"],sv:["Lägg till som favorit"],th:["เพิ่มลงรายการโปรด"],tr:["Favorilere ekle"],vi:["Thêm vào mục yêu thích"],zh:["添加到收藏"],zh_TW:["加入收藏"]}},72482:e=>{e.exports={ar:["حذف من القائمة المفضلة"],ca_ES:["Treure de preferits"],cs:["Odebrat z oblíbených"],de:["Aus Favoriten entfernen"],el:["Διαγραφή απο τα αγαπημένα"],en:"Remove from favorites",es:["Quitar de favoritos"],fa:["حذف از موارد مورد علاقه"],fr:["Retirer des favoris"],he_IL:["הסר ממועדפים"],hu_HU:["Eltávolít kedvencek közül"],id_ID:["Hilangkan dari favorit"],it:["Rimuovi dai preferiti"],ja:["お気に入りから削除"],ko:["즐겨찾기지움"],ms_MY:["Buang dari kegemaran"],nl_NL:["Verwijder van favorieten"],pl:["Usuń z ulubionych"],pt:["Remover dos favoritos"],ro:"Remove from favorites",ru:["Удалить из предпочтений"],sv:["Ta bort från favoriter"],th:["ลบออกจากรายการโปรด"],tr:["Favorilerimden çıkar"],vi:["Loại bỏ khỏi mục yêu thích"],zh:["从收藏中移除"],zh_TW:["從收藏移除"]}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
.errorCard-S9sXvhAu{align-items:center;background:var(--backgroundColor,#fff);color:var(--textColor,#434651);display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}html.theme-dark .errorCard-S9sXvhAu{background:var(--backgroundColor,#131722);color:var(--textColor,#9598a1)}.errorCard__icon-S9sXvhAu{margin-bottom:12px}.errorCard_size_big-S9sXvhAu .errorCard__icon-S9sXvhAu{margin-bottom:21px}.errorCard__message-S9sXvhAu{font-size:14px;line-height:22px;text-align:center}.errorCard_size_big-S9sXvhAu .errorCard__message-S9sXvhAu{font-size:18px;line-height:28px}.errorCard_limitWidth-S9sXvhAu .errorCard__message-S9sXvhAu{max-width:350px}.errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff;cursor:pointer;line-height:28px}.errorCard__link-S9sXvhAu:visited,html.theme-dark .errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff}html.theme-dark .errorCard__link-S9sXvhAu:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}html.theme-dark .errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}}.errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}html.theme-dark .errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}.errorCard__link-S9sXvhAu:focus{outline:auto}.errorCard__link-S9sXvhAu:focus-visible{outline:auto}.errorCard__link-S9sXvhAu:focus:not(:focus-visible){outline:none}.errorCardRendererContainer-S9sXvhAu{--backgroundColor:initial;--textColor:initial;cursor:default;height:100%;position:absolute;width:100%}.errorCardRendererContainer-S9sXvhAu:empty{visibility:hidden}
|
||||
@@ -1 +0,0 @@
|
||||
.errorCard-S9sXvhAu{align-items:center;background:var(--backgroundColor,#fff);color:var(--textColor,#434651);display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}html.theme-dark .errorCard-S9sXvhAu{background:var(--backgroundColor,#131722);color:var(--textColor,#9598a1)}.errorCard__icon-S9sXvhAu{margin-bottom:12px}.errorCard_size_big-S9sXvhAu .errorCard__icon-S9sXvhAu{margin-bottom:21px}.errorCard__message-S9sXvhAu{font-size:14px;line-height:22px;text-align:center}.errorCard_size_big-S9sXvhAu .errorCard__message-S9sXvhAu{font-size:18px;line-height:28px}.errorCard_limitWidth-S9sXvhAu .errorCard__message-S9sXvhAu{max-width:350px}.errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff;cursor:pointer;line-height:28px}.errorCard__link-S9sXvhAu:visited,html.theme-dark .errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff}html.theme-dark .errorCard__link-S9sXvhAu:visited{fill:#2962ff;color:#2962ff}@media (any-hover:hover){.errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}html.theme-dark .errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}}.errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}html.theme-dark .errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}.errorCard__link-S9sXvhAu:focus{outline:auto}.errorCard__link-S9sXvhAu:focus-visible{outline:auto}.errorCard__link-S9sXvhAu:focus:not(:focus-visible){outline:none}.errorCardRendererContainer-S9sXvhAu{--backgroundColor:initial;--textColor:initial;cursor:default;height:100%;position:absolute;width:100%}.errorCardRendererContainer-S9sXvhAu:empty{visibility:hidden}
|
||||
1
charting_library/bundles/5866.f164dd2a584ab0f493cf.css
Normal file
1
charting_library/bundles/5866.f164dd2a584ab0f493cf.css
Normal file
@@ -0,0 +1 @@
|
||||
.errorCard-S9sXvhAu{align-items:center;background:var(--backgroundColor,#fff);color:var(--textColor,#434651);display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}html.theme-dark .errorCard-S9sXvhAu{background:var(--backgroundColor,#131722);color:var(--textColor,#9598a1)}.errorCard__icon-S9sXvhAu{margin-bottom:12px}.errorCard_size_big-S9sXvhAu .errorCard__icon-S9sXvhAu{margin-bottom:21px}.errorCard__message-S9sXvhAu{font-size:14px;line-height:22px;text-align:center}.errorCard_size_big-S9sXvhAu .errorCard__message-S9sXvhAu{font-size:18px;line-height:28px}.errorCard_limitWidth-S9sXvhAu .errorCard__message-S9sXvhAu{max-width:350px}.errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff;cursor:pointer;line-height:28px}html.theme-dark .errorCard__link-S9sXvhAu{fill:#3179f5;color:#3179f5}.errorCard__link-S9sXvhAu:visited{fill:#2962ff;color:#2962ff}html.theme-dark .errorCard__link-S9sXvhAu:visited{fill:#3179f5;color:#3179f5}@media (any-hover:hover){.errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}html.theme-dark .errorCard__link-S9sXvhAu:hover{fill:#2962ff;color:#2962ff}}.errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}html.theme-dark .errorCard__link-S9sXvhAu:active{fill:#1e53e5;color:#1e53e5}.errorCard__link-S9sXvhAu:focus{outline:auto;outline-offset:2px}.errorCard__link-S9sXvhAu:focus-visible{outline:auto;outline-offset:2px}.errorCard__link-S9sXvhAu:focus:not(:focus-visible){outline:none}.errorCardRendererContainer-S9sXvhAu{--backgroundColor:initial;--textColor:initial;cursor:default;height:100%;position:absolute;width:100%}.errorCardRendererContainer-S9sXvhAu:empty{visibility:hidden}
|
||||
@@ -0,0 +1 @@
|
||||
.errorCard-S9sXvhAu{align-items:center;background:var(--backgroundColor,#fff);color:var(--textColor,#434651);display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}html.theme-dark .errorCard-S9sXvhAu{background:var(--backgroundColor,#131722);color:var(--textColor,#9598a1)}.errorCard__icon-S9sXvhAu{margin-bottom:12px}.errorCard_size_big-S9sXvhAu .errorCard__icon-S9sXvhAu{margin-bottom:21px}.errorCard__message-S9sXvhAu{font-size:14px;line-height:22px;text-align:center}.errorCard_size_big-S9sXvhAu .errorCard__message-S9sXvhAu{font-size:18px;line-height:28px}.errorCard_limitWidth-S9sXvhAu .errorCard__message-S9sXvhAu{max-width:350px}.errorCard__link-S9sXvhAu{fill:#2962ff;color:#2962ff;cursor:pointer;line-height:28px}html.theme-dark .errorCard__link-S9sXvhAu{fill:#3179f5;color:#3179f5}.errorCard__link-S9sXvhAu:visited{fill:#2962ff;color:#2962ff}html.theme-dark .errorCard__link-S9sXvhAu:visited{fill:#3179f5;color:#3179f5}@media (any-hover:hover){.errorCard__link-S9sXvhAu:hover{fill:#1e53e5;color:#1e53e5}html.theme-dark .errorCard__link-S9sXvhAu:hover{fill:#2962ff;color:#2962ff}}.errorCard__link-S9sXvhAu:active{fill:#1848cc;color:#1848cc}html.theme-dark .errorCard__link-S9sXvhAu:active{fill:#1e53e5;color:#1e53e5}.errorCard__link-S9sXvhAu:focus{outline:auto;outline-offset:2px}.errorCard__link-S9sXvhAu:focus-visible{outline:auto;outline-offset:2px}.errorCard__link-S9sXvhAu:focus:not(:focus-visible){outline:none}.errorCardRendererContainer-S9sXvhAu{--backgroundColor:initial;--textColor:initial;cursor:default;height:100%;position:absolute;width:100%}.errorCardRendererContainer-S9sXvhAu:empty{visibility:hidden}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user