moved essential tradingview libs into public/charting_library; tradingview subproject checkout no longer necessary
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "tradingview"]
|
|
||||||
path = tradingview
|
|
||||||
url = git@git.tolson.net:dexorder/advanced_charts.git
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
.title-u3QJgF_p{cursor:default;font-size:11px;letter-spacing:.4px;line-height:16px;margin:6px 0;padding:0 12px;text-transform:uppercase}.title-u3QJgF_p,html.theme-dark .title-u3QJgF_p{color:var(--tv-color-popup-element-secondary-text,#787b86)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.title-u3QJgF_p{cursor:default;font-size:11px;letter-spacing:.4px;line-height:16px;margin:6px 0;padding:0 12px;text-transform:uppercase}.title-u3QJgF_p,html.theme-dark .title-u3QJgF_p{color:var(--tv-color-popup-element-secondary-text,#787b86)}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1553],{11553:(t,e,i)=>{var n;!function(r,s,o,a){"use strict";var h,u=["","webkit","Moz","MS","ms","o"],c=s.createElement("div"),l=Math.round,p=Math.abs,f=Date.now;function v(t,e,i){return setTimeout(I(t,i),e)}function d(t,e,i){return!!Array.isArray(t)&&(m(t,i[e],i),!0)}function m(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==a)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function g(t,e,i){var n="DEPRECATED METHOD: "+e+"\n"+i+" AT \n";return function(){var e=new Error("get-stack-trace"),i=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=r.console&&(r.console.warn||r.console.log);return s&&s.call(r.console,n,i),t.apply(this,arguments)}}h="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==a&&null!==n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}:Object.assign;var T=g((function(t,e,i){for(var n=Object.keys(e),r=0;r<n.length;)(!i||i&&t[n[r]]===a)&&(t[n[r]]=e[n[r]]),r++;return t}),"extend","Use `assign`."),y=g((function(t,e){return T(t,e,!0)}),"merge","Use `assign`.");function E(t,e,i){var n,r=e.prototype;(n=t.prototype=Object.create(r)).constructor=t,n._super=r,i&&h(n,i)}function I(t,e){return function(){return t.apply(e,arguments)}}function A(t,e){return"function"==typeof t?t.apply(e&&e[0]||a,e):t}function C(t,e){return t===a?e:t}function b(t,e,i){m(D(e),(function(e){t.addEventListener(e,i,!1)}))}function _(t,e,i){m(D(e),(function(e){t.removeEventListener(e,i,!1)}))}function S(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function P(t,e){return t.indexOf(e)>-1}function D(t){return t.trim().split(/\s+/g)}function w(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function x(t){return Array.prototype.slice.call(t,0)}function O(t,e,i){for(var n=[],r=[],s=0;s<t.length;){var o=e?t[s][e]:t[s];w(r,o)<0&&n.push(t[s]),r[s]=o,s++}return i&&(n=e?n.sort((function(t,i){return t[e]>i[e]})):n.sort()),n}function R(t,e){for(var i,n,r=e[0].toUpperCase()+e.slice(1),s=0;s<u.length;){if((n=(i=u[s])?i+r:e)in t)return n;s++}return a}var M=1;function z(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var N="ontouchstart"in r,X=R(r,"PointerEvent")!==a,Y=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F="touch",k="mouse",W=24,q=["x","y"],L=["clientX","clientY"];function H(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){A(t.options.enable,[t])&&i.handler(e)},this.init()}function U(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,s=1&e&&n-r==0,o=12&e&&n-r==0;i.isFirst=!!s,i.isFinal=!!o,s&&(t.session={}),i.eventType=e,function(t,e){
|
||||||
|
var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=V(e));r>1&&!i.firstMultiple?i.firstMultiple=V(e):1===r&&(i.firstMultiple=!1);var s=i.firstInput,o=i.firstMultiple,h=o?o.center:s.center,u=e.center=j(n);e.timeStamp=f(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=$(h,u),e.distance=B(h,u),function(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},s=t.prevInput||{};1!==e.eventType&&4!==s.eventType||(r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y});e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}(i,e),e.offsetDirection=Z(e.deltaX,e.deltaY);var c=G(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,e.scale=o?(l=o.pointers,v=n,B(v[0],v[1],L)/B(l[0],l[1],L)):1,e.rotation=o?function(t,e){return $(e[1],e[0],L)+$(t[1],t[0],L)}(o.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,s,o=t.lastInterval||e,h=e.timeStamp-o.timeStamp;if(8!=e.eventType&&(h>25||o.velocity===a)){var u=e.deltaX-o.deltaX,c=e.deltaY-o.deltaY,l=G(h,u,c);n=l.x,r=l.y,i=p(l.x)>p(l.y)?l.x:l.y,s=Z(u,c),t.lastInterval=e}else i=o.velocity,n=o.velocityX,r=o.velocityY,s=o.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=s}(i,e);var l,v;var d=t.element;S(e.srcEvent.target,d)&&(d=e.srcEvent.target);e.target=d}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function V(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:l(t.pointers[i].clientX),clientY:l(t.pointers[i].clientY)},i++;return{timeStamp:f(),pointers:e,center:j(e),deltaX:t.deltaX,deltaY:t.deltaY}}function j(t){var e=t.length;if(1===e)return{x:l(t[0].clientX),y:l(t[0].clientY)};for(var i=0,n=0,r=0;r<e;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:l(i/e),y:l(n/e)}}function G(t,e,i){return{x:e/t||0,y:i/t||0}}function Z(t,e){return t===e?1:p(t)>=p(e)?t<0?2:4:e<0?8:16}function B(t,e,i){i||(i=q);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function $(t,e,i){i||(i=q);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}H.prototype={handler:function(){},init:function(){this.evEl&&b(this.element,this.evEl,this.domHandler),this.evTarget&&b(this.target,this.evTarget,this.domHandler),this.evWin&&b(z(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(z(this.element),this.evWin,this.domHandler)}};var J={mousedown:1,mousemove:2,mouseup:4},K="mousedown",Q="mousemove mouseup";function tt(){this.evEl=K,this.evWin=Q,this.pressed=!1,H.apply(this,arguments)}E(tt,H,{handler:function(t){var e=J[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:k,srcEvent:t}))}});var et={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},it={2:F,3:"pen",4:k,
|
||||||
|
5:"kinect"},nt="pointerdown",rt="pointermove pointerup pointercancel";function st(){this.evEl=nt,this.evWin=rt,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(nt="MSPointerDown",rt="MSPointerMove MSPointerUp MSPointerCancel"),E(st,H,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),r=et[n],s=it[t.pointerType]||t.pointerType,o=s==F,a=w(e,t.pointerId,"pointerId");1&r&&(0===t.button||o)?a<0&&(e.push(t),a=e.length-1):12&r&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),i&&e.splice(a,1))}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8},at="touchstart",ht="touchstart touchmove touchend touchcancel";function ut(){this.evTarget=at,this.evWin=ht,this.started=!1,H.apply(this,arguments)}function ct(t,e){var i=x(t.touches),n=x(t.changedTouches);return 12&e&&(i=O(i.concat(n),"identifier",!0)),[i,n]}E(ut,H,{handler:function(t){var e=ot[t.type];if(1===e&&(this.started=!0),this.started){var i=ct.call(this,t,e);12&e&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:F,srcEvent:t})}}});var lt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},pt="touchstart touchmove touchend touchcancel";function ft(){this.evTarget=pt,this.targetIds={},H.apply(this,arguments)}function vt(t,e){var i=x(t.touches),n=this.targetIds;if(3&e&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,s,o=x(t.changedTouches),a=[],h=this.target;if(s=i.filter((function(t){return S(t.target,h)})),1===e)for(r=0;r<s.length;)n[s[r].identifier]=!0,r++;for(r=0;r<o.length;)n[o[r].identifier]&&a.push(o[r]),12&e&&delete n[o[r].identifier],r++;return a.length?[O(s.concat(a),"identifier",!0),a]:void 0}E(ft,H,{handler:function(t){var e=lt[t.type],i=vt.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:F,srcEvent:t})}});function dt(){H.apply(this,arguments);var t=I(this.handler,this);this.touch=new ft(this.manager,t),this.mouse=new tt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function mt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,gt.call(this,e)):12&t&>.call(this,e)}function gt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout((function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)}),2500)}}function Tt(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n],s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=25&&o<=25)return!0}return!1}E(dt,H,{handler:function(t,e,i){var n=i.pointerType==F,r=i.pointerType==k;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)mt.call(this,e,i);else if(r&&Tt.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}})
|
||||||
|
;var yt=R(c.style,"touchAction"),Et=yt!==a,It="compute",At="auto",Ct="manipulation",bt="none",_t="pan-x",St="pan-y",Pt=function(){if(!Et)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){t[i]=!e||r.CSS.supports("touch-action",i)})),t}();function Dt(t,e){this.manager=t,this.set(e)}Dt.prototype={set:function(t){t==It&&(t=this.compute()),Et&&this.manager.element.style&&Pt[t]&&(this.manager.element.style[yt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,(function(e){A(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(P(t,bt))return bt;var e=P(t,_t),i=P(t,St);if(e&&i)return bt;if(e||i)return e?_t:St;if(P(t,Ct))return Ct;return At}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,r=P(n,bt)&&!Pt.none,s=P(n,St)&&!Pt["pan-y"],o=P(n,_t)&&!Pt["pan-x"];if(r){var a=1===t.pointers.length,h=t.distance<2,u=t.deltaTime<250;if(a&&h&&u)return}if(!o||!s)return r||s&&6&i||o&&i&W?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var wt=32;function xt(t){this.options=h({},this.defaults,t||{}),this.id=M++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Ot(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Rt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Mt(t,e){var i=e.manager;return i?i.get(t):t}function zt(){xt.apply(this,arguments)}function Nt(){zt.apply(this,arguments),this.pX=null,this.pY=null}function Xt(){zt.apply(this,arguments)}function Yt(){xt.apply(this,arguments),this._timer=null,this._input=null}function Ft(){zt.apply(this,arguments)}function kt(){zt.apply(this,arguments)}function Wt(){xt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function qt(t,e){return(e=e||{}).recognizers=C(e.recognizers,qt.defaults.preset),new Lt(t,e)}xt.prototype={defaults:{},set:function(t){return h(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(d(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Mt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return d(t,"dropRecognizeWith",this)||(t=Mt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(d(t,"requireFailure",this))return this;var e=this.requireFail;return-1===w(e,t=Mt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(d(t,"dropRequireFailure",this))return this;t=Mt(t,this);var e=w(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},
|
||||||
|
emit:function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i<8&&n(e.options.event+Ot(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=8&&n(e.options.event+Ot(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=wt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=h({},t);if(!A(this.options.enable,[this,e]))return this.reset(),void(this.state=wt);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},E(zt,xt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=6&e,r=this.attrTest(t);return n&&(8&i||!r)?16|e:n||r?4&i?8|e:2&e?4|e:2:wt}}),E(Nt,zt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(St),t&W&&e.push(_t),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,s=t.deltaX,o=t.deltaY;return r&e.direction||(6&e.direction?(r=0===s?1:s<0?2:4,i=s!=this.pX,n=Math.abs(t.deltaX)):(r=0===o?1:o<0?8:16,i=o!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return zt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Rt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),E(Xt,zt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),E(Yt,xt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[At]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||12&t.eventType&&!r)this.reset();else if(1&t.eventType)this.reset(),this._timer=v((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return wt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),E(Ft,zt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),E(kt,zt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Nt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction
|
||||||
|
;return 30&i?e=t.overallVelocity:6&i?e=t.overallVelocityX:i&W&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=Rt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),E(Wt,xt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ct]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(n&&r&&i){if(4!=t.eventType)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,o=!this.pCenter||B(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,o&&s?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=v((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return wt},failTimeout:function(){return this._timer=v((function(){this.state=wt}),this.options.interval,this),wt},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),qt.VERSION="2.0.7",qt.defaults={domEvents:!1,touchAction:It,enable:!0,inputTarget:null,inputClass:null,preset:[[Ft,{enable:!1}],[Xt,{enable:!1},["rotate"]],[kt,{direction:6}],[Nt,{direction:6},["swipe"]],[Wt],[Wt,{event:"doubletap",taps:2},["tap"]],[Yt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Lt(t,e){var i;this.options=h({},qt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((i=this).options.inputClass||(X?st:Y?ft:N?dt:tt))(i,U),this.touchAction=new Dt(this,this.options.touchAction),Ht(this,!0),m(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Ht(t,e){var i,n=t.element;n.style&&(m(t.options.cssProps,(function(r,s){i=R(n.style,s),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}Lt.prototype={set:function(t){return h(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(r=e.curRecognizer=null);for(var s=0;s<n.length;)i=n[s],2===e.stopped||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&14&i.state&&(r=e.curRecognizer=i),s++}},get:function(t){if(t instanceof xt)return t
|
||||||
|
;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(d(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(d(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=w(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var i=this.handlers;return m(D(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this}},off:function(t,e){if(t!==a){var i=this.handlers;return m(D(t),(function(t){e?i[t]&&i[t].splice(w(i[t],e),1):delete i[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var i=s.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&Ht(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},h(qt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:wt,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:W,DIRECTION_ALL:30,Manager:Lt,Input:H,TouchAction:Dt,TouchInput:ft,MouseInput:tt,PointerEventInput:st,TouchMouseInput:dt,SingleTouchInput:ut,Recognizer:xt,AttrRecognizer:zt,Tap:Wt,Pan:Nt,Swipe:kt,Pinch:Xt,Rotate:Ft,Press:Yt,on:b,off:_,each:m,merge:y,extend:T,assign:h,inherit:E,bindFn:I,prefixed:R}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=qt,(n=function(){return qt}.call(e,i,e,t))===a||(t.exports=n)}(window,document)}}]);
|
||||||
@@ -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?"-":"_"),"")}}]);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.separator-EI7Qsb2Q{border-top:1px solid #e0e3eb}html.theme-dark .separator-EI7Qsb2Q{border-top:1px solid #434651}.scrollable-EI7Qsb2Q{-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-EI7Qsb2Q{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-EI7Qsb2Q{min-height:auto}}.scrollable-EI7Qsb2Q::-webkit-scrollbar{height:5px;width:5px}.scrollable-EI7Qsb2Q::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-EI7Qsb2Q::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-EI7Qsb2Q::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-EI7Qsb2Q::-webkit-scrollbar-corner{display:none}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.separator-EI7Qsb2Q{border-top:1px solid #e0e3eb}html.theme-dark .separator-EI7Qsb2Q{border-top:1px solid #434651}.scrollable-EI7Qsb2Q{-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-EI7Qsb2Q{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-EI7Qsb2Q{min-height:auto}}.scrollable-EI7Qsb2Q::-webkit-scrollbar{height:5px;width:5px}.scrollable-EI7Qsb2Q::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-EI7Qsb2Q::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-EI7Qsb2Q::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-EI7Qsb2Q::-webkit-scrollbar-corner{display:none}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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>'}}]);
|
||||||
@@ -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
@@ -0,0 +1 @@
|
|||||||
|
.row-Sj9z7O1v{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-Sj9z7O1v{justify-content:flex-start;padding-left:20px}.calendar-PM3TZruR{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-P_IVoUsZ{min-width:302px}.dialogWrapperSmall-P_IVoUsZ{max-width:419px;width:100%}.tabs-P_IVoUsZ{--ui-lib-underline-tabs-hor-padding:20px;padding:0 var(--ui-lib-underline-tabs-hor-padding)}.content-P_IVoUsZ{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-P_IVoUsZ{scrollbar-color:#363a45 #0000}.content-P_IVoUsZ::-webkit-scrollbar{height:5px;width:5px}.content-P_IVoUsZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-P_IVoUsZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-P_IVoUsZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-P_IVoUsZ::-webkit-scrollbar-corner{display:none}.contentMobile-P_IVoUsZ{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-P_IVoUsZ{flex:0 1 201px}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.row-Sj9z7O1v{grid-gap:12px;display:grid;grid-template-columns:150px 100px;margin-bottom:16px;padding-left:20px;padding-right:20px}.mobileRow-Sj9z7O1v{justify-content:flex-start;padding-right:20px}.calendar-PM3TZruR{margin-left:8px;margin-right:8px;padding-bottom:15px;padding-top:1px}.dialogWrapper-P_IVoUsZ{min-width:302px}.dialogWrapperSmall-P_IVoUsZ{max-width:419px;width:100%}.tabs-P_IVoUsZ{--ui-lib-underline-tabs-hor-padding:20px;padding:0 var(--ui-lib-underline-tabs-hor-padding)}.content-P_IVoUsZ{overflow:auto;padding-top:17px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .content-P_IVoUsZ{scrollbar-color:#363a45 #0000}.content-P_IVoUsZ::-webkit-scrollbar{height:5px;width:5px}.content-P_IVoUsZ::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-P_IVoUsZ::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-P_IVoUsZ::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-P_IVoUsZ::-webkit-scrollbar-corner{display:none}.contentMobile-P_IVoUsZ{display:flex;flex-direction:column;flex-grow:1}.bodyWrapper-P_IVoUsZ{flex:0 1 201px}
|
||||||
@@ -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}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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)}}]);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 16px 8px 47px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-right:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;left:20px;pointer-events:none;position:absolute;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#6a6d78;position:absolute;right:20px}html.theme-dark .cancel-qm7Rg5MB{color:#868993}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 47px 8px 16px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-left:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;pointer-events:none;position:absolute;right:20px;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#6a6d78;left:20px;position:absolute}html.theme-dark .cancel-qm7Rg5MB{color:#868993}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.scrollable-uT4IUFMG{-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-uT4IUFMG{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-uT4IUFMG{min-height:auto}}.scrollable-uT4IUFMG::-webkit-scrollbar{height:5px;width:5px}.scrollable-uT4IUFMG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-uT4IUFMG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-uT4IUFMG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-uT4IUFMG::-webkit-scrollbar-corner{display:none}.content-uT4IUFMG{border-color:currentcolor #e0e3eb #e0e3eb;border-top:1px solid #e0e3eb;box-sizing:border-box;flex:1 1 auto;padding:24px 20px}html.theme-dark .content-uT4IUFMG{border-color:#434651}.content-uT4IUFMG .row-uT4IUFMG{align-items:center;color:#131722;display:flex;margin-top:16px}html.theme-dark .content-uT4IUFMG .row-uT4IUFMG{color:#d1d4dc}.content-uT4IUFMG .row-uT4IUFMG:first-child{margin-top:0}.content-uT4IUFMG .row-uT4IUFMG .title-uT4IUFMG{display:flex;flex:none;line-height:21px;margin-right:20px;width:80px;word-break:break-word}.content-uT4IUFMG .row-uT4IUFMG .control-uT4IUFMG{line-height:21px;width:100px}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.scrollable-uT4IUFMG{-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-uT4IUFMG{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-uT4IUFMG{min-height:auto}}.scrollable-uT4IUFMG::-webkit-scrollbar{height:5px;width:5px}.scrollable-uT4IUFMG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-uT4IUFMG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-uT4IUFMG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-uT4IUFMG::-webkit-scrollbar-corner{display:none}.content-uT4IUFMG{border-color:currentcolor #e0e3eb #e0e3eb;border-top:1px solid #e0e3eb;box-sizing:border-box;flex:1 1 auto;padding:24px 20px}html.theme-dark .content-uT4IUFMG{border-color:#434651}.content-uT4IUFMG .row-uT4IUFMG{align-items:center;color:#131722;display:flex;margin-top:16px}html.theme-dark .content-uT4IUFMG .row-uT4IUFMG{color:#d1d4dc}.content-uT4IUFMG .row-uT4IUFMG:first-child{margin-top:0}.content-uT4IUFMG .row-uT4IUFMG .title-uT4IUFMG{display:flex;flex:none;line-height:21px;margin-left:20px;width:80px;word-break:break-word}.content-uT4IUFMG .row-uT4IUFMG .control-uT4IUFMG{line-height:21px;width:100px}
|
||||||
@@ -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
public/charting_library/bundles/2846.fbbd62afe04b4f9387f2.js
Normal file
13
public/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>'}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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}個商品"]}}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.wrapper-GZajBGIm{display:inline-block;flex:none;height:18px;position:relative;width:18px}.wrapper-GZajBGIm .input-GZajBGIm:hover:not(:focus):not(:disabled):not(:active)+.box-GZajBGIm{border-color:#a3a6af}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:hover:not(:focus):not(:disabled):not(:active)+.box-GZajBGIm{border-color:#5d606b}.wrapper-GZajBGIm .input-GZajBGIm:hover:checked:not(:focus):not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1e53e5);border-color:var(--ui-lib-checkbox-color-accent,#1e53e5)}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:hover:checked:not(:focus):not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1e53e5);border-color:var(--ui-lib-checkbox-color-accent,#1e53e5)}.wrapper-GZajBGIm .box-GZajBGIm{align-items:center;border:1px solid #b2b5be;border-radius:3px;box-sizing:border-box;display:flex;height:100%;justify-content:center;position:relative;transition:background-color .35s ease;width:100%}html.theme-dark .wrapper-GZajBGIm .box-GZajBGIm{border:1px solid #50535e}.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm{align-items:center;box-sizing:border-box;display:inline-flex}.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm,.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm svg{height:9px;width:11px}.wrapper-GZajBGIm .box-GZajBGIm:before{border:2px solid #2962ffcc;border-radius:6px;box-sizing:border-box;content:"";height:26px;left:-5px;opacity:0;position:absolute;top:-5px;transform:scale(.69231);width:26px}html.theme-dark .wrapper-GZajBGIm .box-GZajBGIm:before{border:2px solid #2962ffcc}.wrapper-GZajBGIm .box-GZajBGIm.noOutline-GZajBGIm:before{content:none}.wrapper-GZajBGIm .box-GZajBGIm:after{background-color:initial;border-radius:50%;content:"";height:6px;left:calc(50% - 3px);position:absolute;top:calc(50% - 3px);width:6px}.wrapper-GZajBGIm .intent-danger-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .intent-danger-GZajBGIm{border-color:#f23645}.wrapper-GZajBGIm .input-GZajBGIm{cursor:inherit;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#2962ff)}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{border-color:var(--ui-lib-checkbox-color-accent,#2962ff)}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#2962ff)}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#fff}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#d1d4dc}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#fff}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#d1d4dc}.wrapper-GZajBGIm .input-GZajBGIm:disabled+.box-GZajBGIm{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:disabled+.box-GZajBGIm{background-color:#2a2e39;border-color:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm{background-color:#e0e3eb}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm{background-color:#2a2e39}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:active:not(:disabled)+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:active:not(:disabled)+.box-GZajBGIm{border-color:var(--ui-lib-checkbox-color-accent,#1848cc)}.wrapper-GZajBGIm .input-GZajBGIm:checked:active:not(:disabled)+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:active:not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1848cc)}.wrapper-GZajBGIm .input-GZajBGIm:focus+.box-GZajBGIm:before{opacity:1;transform:scale(1)}.wrapper-GZajBGIm .input-GZajBGIm:focus-visible+.box-GZajBGIm:before{opacity:1;transform:scale(1)}.wrapper-GZajBGIm .input-GZajBGIm:focus:not(:focus-visible)+.box-GZajBGIm:before{opacity:0;transform:scale(.69231)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrapper-GZajBGIm{display:inline-block;flex:none;height:18px;position:relative;width:18px}.wrapper-GZajBGIm .input-GZajBGIm:hover:not(:focus):not(:disabled):not(:active)+.box-GZajBGIm{border-color:#a3a6af}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:hover:not(:focus):not(:disabled):not(:active)+.box-GZajBGIm{border-color:#5d606b}.wrapper-GZajBGIm .input-GZajBGIm:hover:checked:not(:focus):not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1e53e5);border-color:var(--ui-lib-checkbox-color-accent,#1e53e5)}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:hover:checked:not(:focus):not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1e53e5);border-color:var(--ui-lib-checkbox-color-accent,#1e53e5)}.wrapper-GZajBGIm .box-GZajBGIm{align-items:center;border:1px solid #b2b5be;border-radius:3px;box-sizing:border-box;display:flex;height:100%;justify-content:center;position:relative;transition:background-color .35s ease;width:100%}html.theme-dark .wrapper-GZajBGIm .box-GZajBGIm{border:1px solid #50535e}.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm{align-items:center;box-sizing:border-box;display:inline-flex}.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm,.wrapper-GZajBGIm .box-GZajBGIm .icon-GZajBGIm svg{height:9px;width:11px}.wrapper-GZajBGIm .box-GZajBGIm:before{border:2px solid #2962ffcc;border-radius:6px;box-sizing:border-box;content:"";height:26px;opacity:0;position:absolute;right:-5px;top:-5px;transform:scale(.69231);width:26px}html.theme-dark .wrapper-GZajBGIm .box-GZajBGIm:before{border:2px solid #2962ffcc}.wrapper-GZajBGIm .box-GZajBGIm.noOutline-GZajBGIm:before{content:none}.wrapper-GZajBGIm .box-GZajBGIm:after{background-color:initial;border-radius:50%;content:"";height:6px;position:absolute;right:calc(50% - 3px);top:calc(50% - 3px);width:6px}.wrapper-GZajBGIm .intent-danger-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .intent-danger-GZajBGIm{border-color:#f23645}.wrapper-GZajBGIm .input-GZajBGIm{cursor:inherit;height:100%;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#2962ff)}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{border-color:var(--ui-lib-checkbox-color-accent,#2962ff)}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#2962ff)}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#fff}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#d1d4dc}.wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#fff}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#d1d4dc}.wrapper-GZajBGIm .input-GZajBGIm:disabled+.box-GZajBGIm{background-color:#e0e3eb;border-color:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:disabled+.box-GZajBGIm{background-color:#2a2e39;border-color:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm{background-color:#e0e3eb}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm{background-color:#2a2e39}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.check-GZajBGIm .icon-GZajBGIm{stroke:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#b2b5be}html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:disabled+.box-GZajBGIm.dot-GZajBGIm:after{background-color:#50535e}.wrapper-GZajBGIm .input-GZajBGIm:active:not(:disabled)+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:active:not(:disabled)+.box-GZajBGIm{border-color:var(--ui-lib-checkbox-color-accent,#1848cc)}.wrapper-GZajBGIm .input-GZajBGIm:checked:active:not(:disabled)+.box-GZajBGIm,html.theme-dark .wrapper-GZajBGIm .input-GZajBGIm:checked:active:not(:disabled)+.box-GZajBGIm{background-color:var(--ui-lib-checkbox-color-accent,#1848cc)}.wrapper-GZajBGIm .input-GZajBGIm:focus+.box-GZajBGIm:before{opacity:1;transform:scale(1)}.wrapper-GZajBGIm .input-GZajBGIm:focus-visible+.box-GZajBGIm:before{opacity:1;transform:scale(1)}.wrapper-GZajBGIm .input-GZajBGIm:focus:not(:focus-visible)+.box-GZajBGIm:before{opacity:0;transform:scale(.69231)}
|
||||||
@@ -0,0 +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:#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}
|
||||||
@@ -0,0 +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:#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}
|
||||||
@@ -0,0 +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 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}
|
||||||
@@ -0,0 +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 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}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.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}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.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
@@ -0,0 +1 @@
|
|||||||
|
.button-LkmyTVRc{all:unset;display:flex;position:relative}.button-LkmyTVRc:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-LkmyTVRc:focus-visible:before{content:"";outline-style:solid}.button-LkmyTVRc.active-LkmyTVRc:before{outline-color:#fffc}.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-right:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.button-LkmyTVRc{all:unset;display:flex;position:relative}.button-LkmyTVRc:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-LkmyTVRc:focus-visible:before{content:"";outline-style:solid}.button-LkmyTVRc.active-LkmyTVRc:before{outline-color:#fffc}.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-left:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.button-hoWtpNyh{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-hoWtpNyh:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-hoWtpNyh:focus-visible:before{content:"";outline-style:solid}.button-hoWtpNyh.isActive-hoWtpNyh,html.theme-dark .button-hoWtpNyh.isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 6px 0 18px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.button-MeQD3kFA{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-MeQD3kFA:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-MeQD3kFA:focus-visible:before{content:"";outline-style:solid}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.button-hoWtpNyh{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-hoWtpNyh:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-hoWtpNyh:focus-visible:before{content:"";outline-style:solid}.button-hoWtpNyh.isActive-hoWtpNyh,html.theme-dark .button-hoWtpNyh.isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 18px 0 6px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.button-MeQD3kFA{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-MeQD3kFA:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-MeQD3kFA:focus-visible:before{content:"";outline-style:solid}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}
|
||||||
10
public/charting_library/bundles/3986.b50fcad4f1b77533bda7.js
Normal file
10
public/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}}}}]);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.tv-circle-logo{align-items:center;border-radius:50%;color:#fff;display:inline-flex;font-style:normal;font-weight:700;justify-content:center}html.theme-dark .tv-circle-logo{color:#5d606b}.tv-circle-logo:not(img){background-color:#e0e3eb}html.theme-dark .tv-circle-logo:not(img){background-color:#2a2e39}.tv-circle-logo--xxxsmall{font-size:11px;height:18px;line-height:16px;width:18px}.tv-circle-logo--xxsmall{font-size:11px;height:20px;line-height:16px;width:20px}.tv-circle-logo--xsmall{font-size:11px;height:24px;line-height:16px;width:24px}.tv-circle-logo--small{font-size:14px;height:28px;line-height:16px;width:28px}.tv-circle-logo--medium{font-size:16px;height:36px;line-height:16px;width:36px}.tv-circle-logo--large{font-size:24px;height:48px;line-height:32px;width:48px}.tv-circle-logo--xlarge{font-size:40px;height:56px;line-height:40px;width:56px}.tv-circle-logo--xxlarge{font-size:80px;height:112px;line-height:80px;width:112px}.tv-circle-logo--xxxlarge{font-size:160px;height:168px;line-height:160px;width:168px}.tv-circle-logo--border{border:1px solid #fff}html.theme-dark .tv-circle-logo--border{border:1px solid #1e222d}.tv-circle-logo--visually-hidden{opacity:0;position:absolute}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.tv-circle-logo{align-items:center;border-radius:50%;color:#fff;display:inline-flex;font-style:normal;font-weight:700;justify-content:center}html.theme-dark .tv-circle-logo{color:#5d606b}.tv-circle-logo:not(img){background-color:#e0e3eb}html.theme-dark .tv-circle-logo:not(img){background-color:#2a2e39}.tv-circle-logo--xxxsmall{font-size:11px;height:18px;line-height:16px;width:18px}.tv-circle-logo--xxsmall{font-size:11px;height:20px;line-height:16px;width:20px}.tv-circle-logo--xsmall{font-size:11px;height:24px;line-height:16px;width:24px}.tv-circle-logo--small{font-size:14px;height:28px;line-height:16px;width:28px}.tv-circle-logo--medium{font-size:16px;height:36px;line-height:16px;width:36px}.tv-circle-logo--large{font-size:24px;height:48px;line-height:32px;width:48px}.tv-circle-logo--xlarge{font-size:40px;height:56px;line-height:40px;width:56px}.tv-circle-logo--xxlarge{font-size:80px;height:112px;line-height:80px;width:112px}.tv-circle-logo--xxxlarge{font-size:160px;height:168px;line-height:160px;width:168px}.tv-circle-logo--border{border:1px solid #fff}html.theme-dark .tv-circle-logo--border{border:1px solid #1e222d}.tv-circle-logo--visually-hidden{opacity:0;position:absolute}
|
||||||
33
public/charting_library/bundles/4062.9229fac3ef3db26fd5bc.js
Normal file
33
public/charting_library/bundles/4062.9229fac3ef3db26fd5bc.js
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4062],{60676:(e,t,r)=>{"use strict";r.d(t,{A:()=>_,B:()=>y,C:()=>k,D:()=>b,E:()=>u,F:()=>U,G:()=>W,H:()=>A,J:()=>F,K:()=>X,L:()=>ee,M:()=>te,N:()=>Z,O:()=>ne,P:()=>L,Q:()=>x,R:()=>j,S:()=>B,T:()=>R,U:()=>oe,Y:()=>V,_:()=>J,a:()=>H,a3:()=>re,b:()=>$,d:()=>q,e:()=>M,f:()=>K,g:()=>G,h:()=>Y,i:()=>m,j:()=>D,k:()=>a,l:()=>w,m:()=>S,n:()=>P,o:()=>h,p:()=>l,q:()=>v,r:()=>f,s:()=>T,t:()=>c,u:()=>d,v:()=>C,y:()=>E,z:()=>O});var n=r(49209),o=r(15882),i=r(75880);const s=function(e,t){var r;void 0===t&&(t=!0);var o=new Promise((function(n){r=setTimeout(n,e,t)}));return o[n.CANCEL]=function(){clearTimeout(r)},o};var a=function(e){return function(){return e}}(!0),c=function(){};var u=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var l=function(e,t){(0,o.default)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(r){e[r]=t[r]}))},d=function(e,t){var r;return(r=[]).concat.apply(r,t.map(e))};function f(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function h(e){var t=!1;return function(){t||(t=!0,e())}}var g=function(e){throw e},p=function(e){return{value:e,done:!0}};function v(e,t,r){void 0===t&&(t=g),void 0===r&&(r="iterator");var n={meta:{name:r},next:e,throw:t,return:p,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(n[Symbol.iterator]=function(){return n}),n}function y(e,t){var r=t.sagaStack;console.error(e),console.error(r)}var m=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},S=function(e){return Array.apply(null,new Array(e))},b=function(e){return function(t){return e(Object.defineProperty(t,n.SAGA_ACTION,{value:!0}))}},O=function(e){return e===n.TERMINATE},E=function(e){return e===n.TASK_CANCEL},T=function(e){return O(e)||E(e)};function w(e,t){var r=Object.keys(e),n=r.length;var o,s=0,a=(0,i.array)(e)?S(n):{},u={};return r.forEach((function(e){var r=function(r,i){o||(i||T(r)?(t.cancel(),t(r,i)):(a[e]=r,++s===n&&(o=!0,t(a))))};r.cancel=c,u[e]=r})),t.cancel=function(){o||(o=!0,r.forEach((function(e){return u[e].cancel()})))},u}function D(e){return{name:e.name||"anonymous",location:C(e)}}function C(e){return e[n.SAGA_LOCATION]}var I={isEmpty:a,put:c,take:c};function N(e,t){void 0===e&&(e=10);var r=new Array(e),n=0,o=0,i=0,s=function(t){r[o]=t,o=(o+1)%e,n++},a=function(){if(0!=n){var t=r[i];return r[i]=null,n--,i=(i+1)%e,t}},c=function(){for(var e=[];n;)e.push(a());return e};return{isEmpty:function(){return 0==n},put:function(a){var u;if(n<e)s(a);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:r[o]=a,i=o=(o+1)%e;break;case 4:u=2*e,r=c(),n=r.length,o=r.length,i=0,r.length=u,e=u,s(a)}},take:a,flush:c}}var P=function(){return I},x=function(e){return N(e,3)},M=function(e){return N(e,4)},A=Object.freeze({__proto__:null,none:P,fixed:function(e){return N(e,1)},
|
||||||
|
dropping:function(e){return N(e,2)},sliding:x,expanding:M}),R="TAKE",L="PUT",_="ALL",j="RACE",k="CALL",H="CPS",U="FORK",F="JOIN",$="CANCEL",B="SELECT",q="ACTION_CHANNEL",K="CANCELLED",G="FLUSH",W="GET_CONTEXT",Y="SET_CONTEXT",z=function(e,t){var r;return(r={})[n.IO]=!0,r.combinator=!1,r.type=e,r.payload=t,r};function X(e,t){return void 0===e&&(e="*"),(0,i.pattern)(e)?z(R,{pattern:e}):(0,i.multicast)(e)&&(0,i.notUndef)(t)&&(0,i.pattern)(t)?z(R,{channel:e,pattern:t}):(0,i.channel)(e)?z(R,{channel:e}):void 0}function V(e,t){return(0,i.undef)(t)&&(t=e,e=void 0),z(L,{channel:e,action:t})}function J(e){var t=z(_,e);return t.combinator=!0,t}function Q(e,t){var r,n=null;return(0,i.func)(e)?r=e:((0,i.array)(e)?(n=e[0],r=e[1]):(n=e.context,r=e.fn),n&&(0,i.string)(r)&&(0,i.func)(n[r])&&(r=n[r])),{context:n,fn:r,args:t}}function Z(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return z(k,Q(e,r))}function ee(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return z(U,Q(e,r))}function te(e){return void 0===e&&(e=n.SELF_CANCELLATION),z($,e)}function re(e){void 0===e&&(e=u);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return z(B,{selector:e,args:r})}function ne(e,t){return z(q,{pattern:e,buffer:t})}var oe=Z.bind(null,s)},75880:(e,t,r)=>{"use strict";r.d(t,{array:()=>c,channel:()=>f,func:()=>s,iterator:()=>l,multicast:()=>p,notUndef:()=>i,pattern:()=>d,promise:()=>u,string:()=>a,stringableFunc:()=>h,symbol:()=>g,undef:()=>o});var n=r(49209),o=function(e){return null==e},i=function(e){return null!=e},s=function(e){return"function"==typeof e},a=function(e){return"string"==typeof e},c=Array.isArray,u=function(e){return e&&s(e.then)},l=function(e){return e&&s(e.next)&&s(e.throw)},d=function e(t){return t&&(a(t)||g(t)||s(t)||c(t)&&t.every(e))},f=function(e){return e&&s(e.take)&&s(e.close)},h=function(e){return s(e)&&e.hasOwnProperty("toString")},g=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},p=function(e){return f(e)&&e[n.MULTICAST]}},49209:(e,t,r)=>{"use strict";r.d(t,{CANCEL:()=>o,CHANNEL_END_TYPE:()=>i,IO:()=>s,MATCH:()=>a,MULTICAST:()=>c,SAGA_ACTION:()=>u,SAGA_LOCATION:()=>g,SELF_CANCELLATION:()=>l,TASK:()=>d,TASK_CANCEL:()=>f,TERMINATE:()=>h});var n=function(e){return"@@redux-saga/"+e},o=n("CANCEL_PROMISE"),i=n("CHANNEL_END"),s=n("IO"),a=n("MATCH"),c=n("MULTICAST"),u=n("SAGA_ACTION"),l=n("SELF_CANCELLATION"),d=n("TASK"),f=n("TASK_CANCEL"),h=n("TERMINATE"),g=n("LOCATION")},59142:function(e,t){var r,n,o;n=[t],r=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=!1;if("undefined"!=typeof window){var n={get passive(){r=!0}};window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}
|
||||||
|
var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),i=[],s=!1,a=-1,c=void 0,u=void 0,l=function(e){return i.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!l(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},f=function(){setTimeout((function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};e.disableBodyScroll=function(e,n){if(o){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 f={targetElement:e,options:n||{}};i=[].concat(t(i),[f]),e.ontouchstart=function(e){1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var r,n,o,i;1===t.targetTouches.length&&(n=e,i=(r=t).targetTouches[0].clientY-a,!l(r.target)&&(n&&0===n.scrollTop&&0<i||(o=n)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&i<0?d(r):r.stopPropagation()))},s||(document.addEventListener("touchmove",d,r?{passive:!1}:void 0),s=!0)}}else{g=n,setTimeout((function(){if(void 0===u){var e=!!g&&!0===g.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(u=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var h={targetElement:e,options:n||{}};i=[].concat(t(i),[h])}var g},e.clearAllBodyScrollLocks=function(){o?(i.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),s&&(document.removeEventListener("touchmove",d,r?{passive:!1}:void 0),s=!1),i=[],a=-1):(f(),i=[])},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,i=i.filter((function(t){return t.targetElement!==e})),s&&0===i.length&&(document.removeEventListener("touchmove",d,r?{passive:!1}:void 0),s=!1)}else 1===i.length&&i[0].targetElement===e?(f(),i=[]):i=i.filter((function(t){return t.targetElement!==e}))}},void 0===(o="function"==typeof r?r.apply(t,n):r)||(e.exports=o)},3341:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var s=i[o]
|
||||||
|
;if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},72535:(e,t,r)=>{"use strict";var n=r(56237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return n.isMemo(e)?s:a[e.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var o=h(r);o&&o!==g&&e(t,o,n)}var s=l(r);d&&(s=s.concat(d(r)));for(var a=c(t),p=c(r),v=0;v<s.length;++v){var y=s[v];if(!(i[y]||n&&n[y]||p&&p[y]||a&&a[y])){var m=f(r,y);try{u(t,y,m)}catch(e){}}}}return t}},60198:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,S=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case d:case i:case a:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case p:case c:return e;default:return t}}case o:return t}}}function E(e){return O(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=p,t.Portal=o,t.Profiler=a,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||O(e)===l},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return O(e)===f},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===v},t.isMemo=function(e){return O(e)===p},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===a},t.isStrictMode=function(e){return O(e)===s},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){
|
||||||
|
return"string"==typeof e||"function"==typeof e||e===i||e===d||e===a||e===s||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===p||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===m||e.$$typeof===S||e.$$typeof===b||e.$$typeof===y)},t.typeOf=O},56237:(e,t,r)=>{"use strict";e.exports=r(60198)},11195:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case s:case f:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case d:case p:case g:case c:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return y(e)===u}},61357:(e,t,r)=>{"use strict";e.exports=r(11195)},86942:(e,t,r)=>{"use strict";r.d(t,{Provider:()=>L,connect:()=>R});var n=r(4322),o=r(7231),i=r(962);let s=function(e){e()};const a=()=>s;var c=r(50959);const u=(0,c.createContext)(null);let l=null;var d=r(15882),f=r(30950),h=r(72535),g=r.n(h),p=r(61357);const v=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function y(e,t,r,n,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:s}){let a,c,u,l,d,f=!1;function h(f,h){const g=!i(h,c),p=!o(f,a,h,c);return a=f,c=h,g&&p?(u=e(a,c),t.dependsOnOwnProps&&(l=t(n,c)),d=r(u,l,c),d):g?(e.dependsOnOwnProps&&(u=e(a,c)),t.dependsOnOwnProps&&(l=t(n,c)),d=r(u,l,c),d):p?function(){const t=e(a,c),n=!s(t,u);return u=t,n&&(d=r(u,l,c)),d}():d}return function(o,i){return f?h(o,i):(a=o,c=i,u=e(a,c),l=t(n,c),d=r(u,l,c),f=!0,d)}}function m(e){return function(t){const r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function S(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function b(e,t){return function(t,{displayName:r}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=S(e);let o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=S(o),o=n(t,r)),o},n}}function O(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function E(e,t,r){return(0,d.default)({},r,e,t)}const T={notify(){},get:()=>[]};function w(e,t){let r,n=T;function o(){s.onStateChange&&s.onStateChange()}function i(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){const e=a();let t=null,r=null;return{clear(){t=null,r=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){
|
||||||
|
let n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const s={addNestedSub:function(e){return i(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(r)},trySubscribe:i,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=T)},getListeners:()=>n};return s}const D=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?c.useLayoutEffect:c.useEffect;function C(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function I(e,t){if(C(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!C(e[r[n]],t[r[n]]))return!1;return!0}const N=["reactReduxForwardedRef"];let P=()=>{throw new Error("uSES not initialized!")};const x=[null,null];function M(e,t,r,n,o,i){e.current=n,r.current=!1,o.current&&(o.current=null,i())}function A(e,t){return e===t}const R=function(e,t,r,{pure:n,areStatesEqual:o=A,areOwnPropsEqual:i=I,areStatePropsEqual:s=I,areMergedPropsEqual:a=I,forwardRef:l=!1,context:h=u}={}){const S=h,T=function(e){return e?"function"==typeof e?b(e):O(e,"mapStateToProps"):m((()=>({})))}(e),C=function(e){return e&&"object"==typeof e?m((t=>function(e,t){const r={};for(const n in e){const o=e[n];"function"==typeof o&&(r[n]=(...e)=>t(o(...e)))}return r}(e,t))):e?"function"==typeof e?b(e):O(e,"mapDispatchToProps"):m((e=>({dispatch:e})))}(t),R=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let o,i=!1;return function(t,r,s){const a=e(t,r,s);return i?n(a,o)||(o=a):(i=!0,o=a),o}}}(e):O(e,"mergeProps"):()=>E}(r),L=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:L,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:T,initMapDispatchToProps:C,initMergeProps:R,areStatesEqual:o,areStatePropsEqual:s,areOwnPropsEqual:i,areMergedPropsEqual:a};function u(t){const[r,o,i]=(0,c.useMemo)((()=>{const{reactReduxForwardedRef:e}=t,r=(0,f.default)(t,N);return[t.context,e,r]}),[t]),s=(0,c.useMemo)((()=>r&&r.Consumer&&(0,p.isContextConsumer)(c.createElement(r.Consumer,null))?r:S),[r,S]),a=(0,c.useContext)(s),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(a)&&Boolean(a.store);const h=u?t.store:a.store,g=l?a.getServerState:h.getState,m=(0,c.useMemo)((()=>function(e,t){let{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:o}=t,i=(0,f.default)(t,v);return y(r(e,i),n(e,i),o(e,i),e,i)}(h.dispatch,n)),[h]),[b,O]=(0,c.useMemo)((()=>{if(!L)return x;const e=w(h,u?void 0:a.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,u,a]),E=(0,c.useMemo)((()=>u?a:(0,d.default)({},a,{subscription:b})),[u,a,b]),T=(0,c.useRef)(),C=(0,c.useRef)(i),I=(0,
|
||||||
|
c.useRef)(),A=(0,c.useRef)(!1),R=((0,c.useRef)(!1),(0,c.useRef)(!1)),_=(0,c.useRef)();D((()=>(R.current=!0,()=>{R.current=!1})),[]);const j=(0,c.useMemo)((()=>()=>I.current&&i===C.current?I.current:m(h.getState(),i)),[h,i]),k=(0,c.useMemo)((()=>e=>b?function(e,t,r,n,o,i,s,a,c,u,l){if(!e)return()=>{};let d=!1,f=null;const h=()=>{if(d||!a.current)return;const e=t.getState();let r,h;try{r=n(e,o.current)}catch(e){h=e,f=e}h||(f=null),r===i.current?s.current||u():(i.current=r,c.current=r,s.current=!0,l())};return r.onStateChange=h,r.trySubscribe(),h(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(L,h,b,m,C,T,A,R,I,O,e):()=>{}),[b]);var H,U,F;let $;H=M,U=[C,T,A,i,I,O],D((()=>H(...U)),F);try{$=P(k,j,g?()=>m(g(),i):j)}catch(e){throw _.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${_.current.stack}\n\n`),e}D((()=>{_.current=void 0,I.current=void 0,T.current=$}));const B=(0,c.useMemo)((()=>c.createElement(e,(0,d.default)({},$,{ref:o}))),[o,e,$]);return(0,c.useMemo)((()=>L?c.createElement(s.Provider,{value:E},B):B),[s,B,E])}const h=c.memo(u);if(h.WrappedComponent=e,h.displayName=u.displayName=r,l){const t=c.forwardRef((function(e,t){return c.createElement(h,(0,d.default)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=r,t.WrappedComponent=e,g()(t,e)}return g()(h,e)}};const L=function({store:e,context:t,children:r,serverState:n}){const o=(0,c.useMemo)((()=>{const t=w(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0}}),[e,n]),i=(0,c.useMemo)((()=>e.getState()),[e]);D((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),i!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,i]);const s=t||u;return c.createElement(s.Provider,{value:o},r)};var _,j;_=o.useSyncExternalStoreWithSelector,l=_,(e=>{P=e})(n.useSyncExternalStore),j=i.unstable_batchedUpdates,s=j},3354:(e,t,r)=>{"use strict";var n=r(50959),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,i={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:l,props:i,_owner:a.current}}t.jsx=u},16453:(e,t,r)=>{"use strict";e.exports=r(3354)},54773:(e,t,r)=>{"use strict";r.d(t,{buffers:()=>a.H,default:()=>z,eventChannel:()=>N});var n=r(49209),o=r(15882),i=r(30950),s=r(75880),a=r(60676),c=r(21153);function u(){var e={};return e.promise=new Promise((function(t,r){e.resolve=t,e.reject=r})),e}const l=u;var d=[],f=0;function h(e){try{v(),e()}finally{y()}}function g(e){d.push(e),f||(v(),m())}function p(e){try{return v(),e()}finally{m()}}function v(){f++}function y(){f--}function m(){var e;for(y();!f&&void 0!==(e=d.shift());)h(e)}var S=function(e){return function(t){
|
||||||
|
return e.some((function(e){return w(e)(t)}))}},b=function(e){return function(t){return e(t)}},O=function(e){return function(t){return t.type===String(e)}},E=function(e){return function(t){return t.type===e}},T=function(){return a.k};function w(e){var t="*"===e?T:(0,s.string)(e)?O:(0,s.array)(e)?S:(0,s.stringableFunc)(e)?O:(0,s.func)(e)?b:(0,s.symbol)(e)?E:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var D={type:n.CHANNEL_END_TYPE},C=function(e){return e&&e.type===n.CHANNEL_END_TYPE};function I(e){void 0===e&&(e=(0,a.e)());var t=!1,r=[];return{take:function(n){t&&e.isEmpty()?n(D):e.isEmpty()?(r.push(n),n.cancel=function(){(0,a.r)(r,n)}):n(e.take())},put:function(n){if(!t){if(0===r.length)return e.put(n);r.shift()(n)}},flush:function(r){t&&e.isEmpty()?r(D):r(e.flush())},close:function(){if(!t){t=!0;var e=r;r=[];for(var n=0,o=e.length;n<o;n++){(0,e[n])(D)}}}}}function N(e,t){void 0===t&&(t=(0,a.n)());var r,n=!1,o=I(t),i=function(){n||(n=!0,(0,s.func)(r)&&r(),o.close())};return r=e((function(e){C(e)?i():o.put(e)})),r=(0,a.o)(r),n&&r(),{take:o.take,flush:o.flush,close:i}}function P(){var e,t,r,o,i,s,c=(t=!1,o=r=[],i=function(){o===r&&(o=r.slice())},s=function(){t=!0;var e=r=o;o=[],e.forEach((function(e){e(D)}))},(e={})[n.MULTICAST]=!0,e.put=function(e){if(!t)if(C(e))s();else for(var i=r=o,a=0,c=i.length;a<c;a++){var u=i[a];u[n.MATCH](e)&&(u.cancel(),u(e))}},e.take=function(e,r){void 0===r&&(r=T),t?e(D):(e[n.MATCH]=r,i(),o.push(e),e.cancel=(0,a.o)((function(){i(),(0,a.r)(o,e)})))},e.close=s,e),u=c.put;return c.put=function(e){e[n.SAGA_ACTION]?u(e):g((function(){u(e)}))},c}function x(e,t){var r=e[n.CANCEL];(0,s.func)(r)&&(t.cancel=r),e.then(t,(function(e){t(e,!0)}))}var M,A=0,R=function(){return++A};function L(e){e.isRunning()&&e.cancel()}var _=((M={})[a.T]=function(e,t,r){var o=t.channel,i=void 0===o?e.channel:o,a=t.pattern,c=t.maybe,u=function(e){e instanceof Error?r(e,!0):!C(e)||c?r(e):r(n.TERMINATE)};try{i.take(u,(0,s.notUndef)(a)?w(a):null)}catch(e){return void r(e,!0)}r.cancel=u.cancel},M[a.P]=function(e,t,r){var n=t.channel,o=t.action,i=t.resolve;g((function(){var t;try{t=(n?n.put:e.dispatch)(o)}catch(e){return void r(e,!0)}i&&(0,s.promise)(t)?x(t,r):r(t)}))},M[a.A]=function(e,t,r,n){var o=n.digestEffect,i=A,c=Object.keys(t);if(0!==c.length){var u=(0,a.l)(t,r);c.forEach((function(e){o(t[e],i,u[e],e)}))}else r((0,s.array)(t)?[]:{})},M[a.R]=function(e,t,r,n){var o=n.digestEffect,i=A,c=Object.keys(t),u=(0,s.array)(t)?(0,a.m)(c.length):{},l={},d=!1;c.forEach((function(e){var t=function(t,n){d||(n||(0,a.s)(t)?(r.cancel(),r(t,n)):(r.cancel(),d=!0,u[e]=t,r(u)))};t.cancel=a.t,l[e]=t})),r.cancel=function(){d||(d=!0,c.forEach((function(e){return l[e].cancel()})))},c.forEach((function(e){d||o(t[e],i,l[e],e)}))},M[a.C]=function(e,t,r,n){var o=t.context,i=t.fn,c=t.args,u=n.task;try{var l=i.apply(o,c);if((0,s.promise)(l))return void x(l,r);if((0,s.iterator)(l))return void G(e,l,u.context,A,(0,a.j)(i),!1,r);r(l)}catch(e){r(e,!0)}},M[a.a]=function(e,t,r){var n=t.context,o=t.fn,i=t.args;try{var a=function(e,t){
|
||||||
|
(0,s.undef)(e)?r(t):r(e,!0)};o.apply(n,i.concat(a)),a.cancel&&(r.cancel=a.cancel)}catch(e){r(e,!0)}},M[a.F]=function(e,t,r,n){var o=t.context,i=t.fn,c=t.args,u=t.detached,l=n.task,d=function(e){var t=e.context,r=e.fn,n=e.args;try{var o=r.apply(t,n);if((0,s.iterator)(o))return o;var i=!1;return(0,a.q)((function(e){return i?{value:e,done:!0}:(i=!0,{value:o,done:!(0,s.promise)(o)})}))}catch(e){return(0,a.q)((function(){throw e}))}}({context:o,fn:i,args:c}),f=function(e,t){return e.isSagaIterator?{name:e.meta.name}:(0,a.j)(t)}(d,i);p((function(){var t=G(e,d,l.context,A,f,u,void 0);u?r(t):t.isRunning()?(l.queue.addTask(t),r(t)):t.isAborted()?l.queue.abort(t.error()):r(t)}))},M[a.J]=function(e,t,r,n){var o=n.task,i=function(e,t){if(e.isRunning()){var r={task:o,cb:t};t.cancel=function(){e.isRunning()&&(0,a.r)(e.joiners,r)},e.joiners.push(r)}else e.isAborted()?t(e.error(),!0):t(e.result())};if((0,s.array)(t)){if(0===t.length)return void r([]);var c=(0,a.l)(t,r);t.forEach((function(e,t){i(e,c[t])}))}else i(t,r)},M[a.b]=function(e,t,r,o){var i=o.task;t===n.SELF_CANCELLATION?L(i):(0,s.array)(t)?t.forEach(L):L(t),r()},M[a.S]=function(e,t,r){var n=t.selector,o=t.args;try{r(n.apply(void 0,[e.getState()].concat(o)))}catch(e){r(e,!0)}},M[a.d]=function(e,t,r){var n=t.pattern,o=I(t.buffer),i=w(n),s=function t(r){C(r)||e.channel.take(t,i),o.put(r)},a=o.close;o.close=function(){s.cancel(),a()},e.channel.take(s,i),r(o)},M[a.f]=function(e,t,r,n){r(n.task.isCancelled())},M[a.g]=function(e,t,r){t.flush(r)},M[a.G]=function(e,t,r,n){r(n.task.context[t])},M[a.h]=function(e,t,r,n){var o=n.task;(0,a.p)(o.context,t),r()},M);function j(e,t){return e+"?"+t}function k(e){var t=e.name,r=e.location;return r?t+" "+j(r.fileName,r.lineNumber):t}function H(e){var t=(0,a.u)((function(e){return e.cancelledTasks}),e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var U=null,F=[],$=function(e){e.crashedEffect=U,F.push(e)},B=function(){U=null,F.length=0},q=function(){var e=F[0],t=F.slice(1),r=e.crashedEffect?function(e){var t=(0,a.v)(e);return t?t.code+" "+j(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+k(e.meta)+(r?" \n when executing effect "+r:"")].concat(t.map((function(e){return" created by "+k(e.meta)})),[H(F)]).join("\n")};function K(e,t,r,o,i,s,c){var u;void 0===c&&(c=a.t);var d,f,h=0,g=null,p=[],v=Object.create(r),y=function(e,t,r){var n,o=[],i=!1;function s(e){t(),u(),r(e,!0)}function c(t){o.push(t),t.cont=function(c,u){i||((0,a.r)(o,t),t.cont=a.t,u?s(c):(t===e&&(n=c),o.length||(i=!0,r(n))))}}function u(){i||(i=!0,o.forEach((function(e){e.cont=a.t,e.cancel()})),o=[])}return c(e),{addTask:c,cancelAll:u,abort:s,getTasks:function(){return o}}}(t,(function(){p.push.apply(p,y.getTasks().map((function(e){return e.meta.name})))}),m);function m(t,r){if(r){if(h=2,$({meta:i,cancelledTasks:p}),S.isRoot){var o=q();B(),e.onError(t,{sagaStack:o})}f=t,g&&g.reject(t)}else t===n.TASK_CANCEL?h=1:1!==h&&(h=3),d=t,g&&g.resolve(t);S.cont(t,r),S.joiners.forEach((function(e){e.cb(t,r)})),
|
||||||
|
S.joiners=null}var S=((u={})[n.TASK]=!0,u.id=o,u.meta=i,u.isRoot=s,u.context=v,u.joiners=[],u.queue=y,u.cancel=function(){0===h&&(h=1,y.cancelAll(),m(n.TASK_CANCEL,!1))},u.cont=c,u.end=m,u.setContext=function(e){(0,a.p)(v,e)},u.toPromise=function(){return g||(g=l(),2===h?g.reject(f):0!==h&&g.resolve(d)),g.promise},u.isRunning=function(){return 0===h},u.isCancelled=function(){return 1===h||0===h&&1===t.status},u.isAborted=function(){return 2===h},u.result=function(){return d},u.error=function(){return f},u);return S}function G(e,t,r,o,i,c,u){var l=e.finalizeRunEffect((function(t,r,o){if((0,s.promise)(t))x(t,o);else if((0,s.iterator)(t))G(e,t,f.context,r,i,!1,o);else if(t&&t[n.IO]){(0,_[t.type])(e,t.payload,o,h)}else o(t)}));g.cancel=a.t;var d={meta:i,cancel:function(){0===d.status&&(d.status=1,g(n.TASK_CANCEL))},status:0},f=K(e,d,r,o,i,c,u),h={task:f,digestEffect:p};return u&&(u.cancel=f.cancel),g(),f;function g(e,r){try{var i;r?(i=t.throw(e),B()):(0,a.y)(e)?(d.status=1,g.cancel(),i=(0,s.func)(t.return)?t.return(n.TASK_CANCEL):{done:!0,value:n.TASK_CANCEL}):i=(0,a.z)(e)?(0,s.func)(t.return)?t.return():{done:!0}:t.next(e),i.done?(1!==d.status&&(d.status=3),d.cont(i.value)):p(i.value,o,g)}catch(e){if(1===d.status)throw e;d.status=2,d.cont(e,!0)}}function p(t,r,n,o){void 0===o&&(o="");var i,s=R();function c(r,o){i||(i=!0,n.cancel=a.t,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(s,r):e.sagaMonitor.effectResolved(s,r)),o&&function(e){U=e}(t),n(r,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:s,parentEffectId:r,label:o,effect:t}),c.cancel=a.t,n.cancel=function(){i||(i=!0,c.cancel(),c.cancel=a.t,e.sagaMonitor&&e.sagaMonitor.effectCancelled(s))},l(t,s,c)}}function W(e,t){var r=e.channel,n=void 0===r?P():r,o=e.dispatch,i=e.getState,s=e.context,u=void 0===s?{}:s,l=e.sagaMonitor,d=e.effectMiddlewares,f=e.onError,h=void 0===f?a.B:f;for(var g=arguments.length,v=new Array(g>2?g-2:0),y=2;y<g;y++)v[y-2]=arguments[y];var m=t.apply(void 0,v);var S,b=R();if(l&&(l.rootSagaStarted=l.rootSagaStarted||a.t,l.effectTriggered=l.effectTriggered||a.t,l.effectResolved=l.effectResolved||a.t,l.effectRejected=l.effectRejected||a.t,l.effectCancelled=l.effectCancelled||a.t,l.actionDispatched=l.actionDispatched||a.t,l.rootSagaStarted({effectId:b,saga:t,args:v})),d){var O=c.compose.apply(void 0,d);S=function(e){return function(t,r,n){return O((function(t){return e(t,r,n)}))(t)}}}else S=a.E;var E={channel:n,dispatch:(0,a.D)(o),getState:i,sagaMonitor:l,onError:h,finalizeRunEffect:S};return p((function(){var e=G(E,m,u,b,(0,a.j)(t),!0,void 0);return l&&l.effectResolved(b,e),e}))}const Y=function(e){var t,r=void 0===e?{}:e,n=r.context,s=void 0===n?{}:n,c=r.channel,u=void 0===c?P():c,l=r.sagaMonitor,d=(0,i.default)(r,["context","channel","sagaMonitor"]);function f(e){var r=e.getState,n=e.dispatch;return t=W.bind(null,(0,o.default)({},d,{context:s,channel:u,dispatch:n,getState:r,sagaMonitor:l})),function(e){return function(t){l&&l.actionDispatched&&l.actionDispatched(t);var r=e(t);return u.put(t),r}}}return f.run=function(){
|
||||||
|
return t.apply(void 0,arguments)},f.setContext=function(e){(0,a.p)(s,e)},f},z=Y},36349:(e,t,r)=>{"use strict";r.d(t,{all:()=>o._,call:()=>o.N,cancel:()=>o.M,fork:()=>o.L,put:()=>o.Y,select:()=>o.a3,take:()=>o.K,throttle:()=>l});var n=r(75880),o=r(60676),i=function(e){return{done:!0,value:e}},s={};function a(e){return(0,n.channel)(e)?"channel":(0,n.stringableFunc)(e)?String(e):(0,n.func)(e)?e.name:String(e)}function c(e,t,r){var n,a,c,u=t;function l(t,r){if(u===s)return i(t);if(r&&!a)throw u=s,r;n&&n(t);var o=r?e[a](r):e[u]();return u=o.nextState,c=o.effect,n=o.stateUpdater,a=o.errorState,u===s?i(t):c}return(0,o.q)(l,(function(e){return l(null,e)}),r)}function u(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),s=3;s<n;s++)i[s-3]=arguments[s];var u,l,d={done:!1,value:(0,o.O)(t,(0,o.Q)(1))},f=function(){return{done:!1,value:(0,o.K)(l)}},h=function(e){return{done:!1,value:o.L.apply(void 0,[r].concat(i,[e]))}},g={done:!1,value:(0,o.U)(e)},p=function(e){return u=e},v=function(e){return l=e};return c({q1:function(){return{nextState:"q2",effect:d,stateUpdater:v}},q2:function(){return{nextState:"q3",effect:f(),stateUpdater:p}},q3:function(){return{nextState:"q4",effect:h(u)}},q4:function(){return{nextState:"q2",effect:g}}},"q1","throttle("+a(t)+", "+r.name+")")}function l(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),s=3;s<n;s++)i[s-3]=arguments[s];return o.L.apply(void 0,[u,e,t,r].concat(i))}},91622:(e,t,r)=>{"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{applyMiddleware:()=>v,bindActionCreators:()=>g,combineReducers:()=>f,createStore:()=>d});var a="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function d(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),
|
||||||
|
void 0!==r){if("function"!=typeof r)throw new Error(s(1));return r(d)(e,t)}if("function"!=typeof e)throw new Error(s(2));var o=e,i=t,c=[],f=c,h=!1;function g(){f===c&&(f=c.slice())}function p(){if(h)throw new Error(s(3));return i}function v(e){if("function"!=typeof e)throw new Error(s(4));if(h)throw new Error(s(5));var t=!0;return g(),f.push(e),function(){if(t){if(h)throw new Error(s(6));t=!1,g();var r=f.indexOf(e);f.splice(r,1),c=null}}}function y(e){if(!l(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if(h)throw new Error(s(9));try{h=!0,i=o(i,e)}finally{h=!1}for(var t=c=f,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error(s(10));o=e,y({type:u.REPLACE})}function S(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(s(11));function r(){e.next&&e.next(p())}return r(),{unsubscribe:t(r)}}})[a]=function(){return this},e}return y({type:u.INIT}),(n={dispatch:y,subscribe:v,getState:p,replaceReducer:m})[a]=S,n}function f(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];0,"function"==typeof e[o]&&(r[o]=e[o])}var i,a=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:u.INIT}))throw new Error(s(12));if(void 0===r(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))}))}(r)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var n=!1,o={},c=0;c<a.length;c++){var u=a[c],l=r[u],d=e[u],f=l(d,t);if(void 0===f){t&&t.type;throw new Error(s(14))}o[u]=f,n=n||f!==d}return(n=n||a.length!==Object.keys(e).length)?o:e}}function h(e,t){return function(){return t(e.apply(this,arguments))}}function g(e,t){if("function"==typeof e)return h(e,t);if("object"!=typeof e||null===e)throw new Error(s(16));var r={};for(var n in e){var o=e[n];"function"==typeof o&&(r[n]=h(o,t))}return r}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(s(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return n=p.apply(void 0,a)(r.dispatch),i(i({},r),{},{dispatch:n})}}}},21153:(e,t,r)=>{"use strict";function n(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{compose:()=>u,createStore:()=>c});var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(e){if("object"!=typeof e||null===e)return!1
|
||||||
|
;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,r){var i;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(n(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(n(1));return r(c)(e,t)}if("function"!=typeof e)throw new Error(n(2));var u=e,l=t,d=[],f=d,h=!1;function g(){f===d&&(f=d.slice())}function p(){if(h)throw new Error(n(3));return l}function v(e){if("function"!=typeof e)throw new Error(n(4));if(h)throw new Error(n(5));var t=!0;return g(),f.push(e),function(){if(t){if(h)throw new Error(n(6));t=!1,g();var r=f.indexOf(e);f.splice(r,1),d=null}}}function y(e){if(!a(e))throw new Error(n(7));if(void 0===e.type)throw new Error(n(8));if(h)throw new Error(n(9));try{h=!0,l=u(l,e)}finally{h=!1}for(var t=d=f,r=0;r<t.length;r++){(0,t[r])()}return e}function m(e){if("function"!=typeof e)throw new Error(n(10));u=e,y({type:s.REPLACE})}function S(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(n(11));function r(){e.next&&e.next(p())}return r(),{unsubscribe:t(r)}}})[o]=function(){return this},e}return y({type:s.INIT}),(i={dispatch:y,subscribe:v,getState:p,replaceReducer:m})[o]=S,i}function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}},77145:(e,t,r)=>{"use strict";function n(e,t){return e===t}function o(e,t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,o=0;o<n;o++)if(!e(t[o],r[o]))return!1;return!0}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var r=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+r+"]")}return t}r.d(t,{createSelector:()=>s});var s=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];var s=0,a=n.pop(),c=i(n),u=e.apply(void 0,[function(){return s++,a.apply(null,arguments)}].concat(r)),l=e((function(){for(var e=[],t=c.length,r=0;r<t;r++)e.push(c[r].apply(null,arguments));return u.apply(null,e)}));return l.resultFunc=a,l.dependencies=c,l.recomputations=function(){return s},l.resetRecomputations=function(){return s=0},l}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=null,i=null;return function(){return o(t,r,arguments)||(i=e.apply(null,arguments)),r=arguments,i}}))},12415:(e,t,r)=>{"use strict";var n=r(50959);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,s=n.useEffect,a=n.useLayoutEffect,c=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){
|
||||||
|
return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,l=n[1];return a((function(){o.value=r,o.getSnapshot=t,u(o)&&l({inst:o})}),[e,r,t]),s((function(){return u(o)&&l({inst:o}),e((function(){u(o)&&l({inst:o})}))}),[e]),c(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},2179:(e,t,r)=>{"use strict";var n=r(50959),o=r(4322);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,a=n.useRef,c=n.useEffect,u=n.useMemo,l=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=u((function(){function e(e){if(!c){if(c=!0,s=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var r=n(e);return void 0!==o&&o(t,r)?t:(s=e,a=r)}var s,a,c=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,r,n,o]);var h=s(e,d[0],d[1]);return c((function(){f.hasValue=!0,f.value=h}),[h]),l(h),h}},4322:(e,t,r)=>{"use strict";e.exports=r(12415)},7231:(e,t,r)=>{"use strict";e.exports=r(2179)},15882:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{default:()=>n})},30950:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{default:()=>n})},6346:(e,t,r)=>{"use strict";function n(e,t,...r){if("undefined"!=typeof process&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;e=new Error(t.replace(/%s/g,(function(){return r[n++]}))),e.name="Invariant Violation"}throw e.framesToPop=1,e}}r.d(t,{invariant:()=>n})},98789:(e,t,r)=>{"use strict";function n(e,t,r,n){let o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<i.length;s++){const c=i[s];if(!a(c))return!1;const u=e[c],l=t[c];if(o=r?r.call(n,u,l,c):void 0,!1===o||void 0===o&&u!==l)return!1}return!0}r.d(t,{shallowEqual:()=>n})},98314:(e,t,r)=>{"use strict";let n;function o(){return n||(n=new Image,n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n}r.d(t,{getEmptyImage:()=>o})},10170:(e,t,r)=>{"use strict";r.d(t,{HTML5Backend:()=>w});var n={};function o(e){let t=null
|
||||||
|
;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:()=>a,HTML:()=>l,TEXT:()=>u,URL:()=>c});class i{enter(e){const t=this.entered.length;return this.entered=function(e,t){const r=new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);const o=[];return r.forEach((e=>o.push(e))),o}(this.entered.filter((t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e)))),[e]),0===t&&this.entered.length>0}leave(e){const t=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=e,r.filter((e=>e!==n))),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class s{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})}))}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach((r=>{const n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const a="__NATIVE_FILE__",c="__NATIVE_URL__",u="__NATIVE_TEXT__",l="__NATIVE_HTML__";function d(e,t,r){const n=t.reduce(((t,r)=>t||e.getData(r)),"");return null!=n?n:r}const f={[a]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[l]:{exposeProperties:{html:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[c]:{exposeProperties:{urls:(e,t)=>d(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[u]:{exposeProperties:{text:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function h(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(f).filter((e=>{const r=f[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}const g=o((()=>/firefox/i.test(navigator.userAgent))),p=o((()=>Boolean(window.safari)));class v{interpolate(e){const{xs:t,ys:r,c1s:n,c2s:o,c3s:i}=this;let s=t.length-1;if(e===t[s])return r[s];let a,c=0,u=i.length-1;for(;c<=u;){a=Math.floor(.5*(c+u));const n=t[a];if(n<e)c=a+1;else{if(!(n>e))return r[a];u=a-1}}s=Math.max(0,u);const l=e-t[s],d=l*l;return r[s]+n[s]*l+o[s]*d+i[s]*l*d}constructor(e,t){const{length:r}=e,n=[];for(let e=0;e<r;e++)n.push(e);n.sort(((t,r)=>e[t]<e[r]?-1:1));const o=[],i=[],s=[];let a,c;for(let n=0;n<r-1;n++)a=e[n+1]-e[n],c=t[n+1]-t[n],i.push(a),o.push(c),s.push(c/a);const u=[s[0]];for(let e=0;e<i.length-1;e++){const t=s[e],r=s[e+1];if(t*r<=0)u.push(0);else{a=i[e];const n=i[e+1],o=a+n;u.push(3*o/((o+n)/t+(o+a)/r))}}u.push(s[s.length-1]);const l=[],d=[];let f;for(let e=0;e<u.length-1;e++){f=s[e];const t=u[e],r=1/i[e],n=t+u[e+1]-f-f;l.push((f-t-n)*r),d.push(n*r*r)}this.xs=e,
|
||||||
|
this.ys=t,this.c1s=u,this.c2s=l,this.c3s=d}}function y(e){const t=1===e.nodeType?e:e.parentElement;if(!t)return null;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function m(e){return{x:e.clientX,y:e.clientY}}function S(e,t,r,n,o){const i="IMG"===(s=t).nodeName&&(g()||!(null===(a=document.documentElement)||void 0===a?void 0:a.contains(s)));var s,a;const c=y(i?e:t),u={x:r.x-c.x,y:r.y-c.y},{offsetWidth:l,offsetHeight:d}=e,{anchorX:f,anchorY:h}=n,{dragPreviewWidth:m,dragPreviewHeight:S}=function(e,t,r,n){let o=e?t.width:r,i=e?t.height:n;return p()&&e&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}(i,t,l,d),{offsetX:b,offsetY:O}=o,E=0===O||O;return{x:0===b||b?b:new v([0,.5,1],[u.x,u.x/l*m,u.x+m-l]).interpolate(f),y:E?O:(()=>{let e=new v([0,.5,1],[u.y,u.y/d*S,u.y+S-d]).interpolate(h);return p()&&i&&(e+=(window.devicePixelRatio-1)*S),e})()}}class b{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}class T{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;var t;void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),
|
||||||
|
this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);const n=t=>this.handleDragStart(t,e),o=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),o=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n),t.addEventListener("drop",o),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return E({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId();return E({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(n).some((t=>n[t]===e))}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){const r=f[e];if(!r)throw new Error(`native type ${e} has no configuration`);const n=new s(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){
|
||||||
|
this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;this.mouseMoveTimeoutTimer=setTimeout((()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var e;if(this.currentDragSourceNode=null,this.rootElement)null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0);return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&y(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>Boolean(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{const e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;const{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;const r=m(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=e,o=h(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),o=this.sourcePreviewNodes.get(e)||t;if(o){
|
||||||
|
const{anchorX:e,anchorY:i,offsetX:s,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),c=S(t,o,r,{anchorX:e,anchorY:i},{offsetX:s,offsetY:a});n.setDragImage(o,c.x,c.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);const{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(o)this.beginDragNativeItem(o);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{var t;(this.dragEnterTargetIds=[],this.isDraggingNativeItem())&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer));if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;const{dataTransfer:r}=e,n=h(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{const{dragEnterTargetIds:t}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:m(e)});t.some((e=>this.monitor.canDropOnTarget(e)))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=e=>{var t;(this.dragOverTargetIds=[],this.isDraggingNativeItem())&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer))},this.handleTopDragOver=e=>{const{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));this.altKeyPressed=e.altKey,this.lastClientOffset=m(e),this.scheduleHover(t);(t||[]).some((e=>this.monitor.canDropOnTarget(e)))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault();this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=e=>{var t;(this.dropTargetIds=[],this.isDraggingNativeItem())?(e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):h(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{const{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:m(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{const t=e.target
|
||||||
|
;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new b(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}const w=function(e,t,r){return new T(e,t,r)}},7809:(e,t,r)=>{"use strict";r.d(t,{TouchBackend:()=>g});var n,o=r(6346);!function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(n||(n={}));class i{get delay(){var e;return null!==(e=this.args.delay)&&void 0!==e?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return null!==(e=this.args.ignoreContextMenu)&&void 0!==e&&e}get enableHoverOutsideTarget(){var e;return null!==(e=this.args.enableHoverOutsideTarget)&&void 0!==e&&e}get enableKeyboardEvents(){var e;return null!==(e=this.args.enableKeyboardEvents)&&void 0!==e&&e}get enableMouseEvents(){var e;return null!==(e=this.args.enableMouseEvents)&&void 0!==e&&e}get enableTouchEvents(){var e;return null===(e=this.args.enableTouchEvents)||void 0===e||e}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,t,r,n;return null!==(n=null!==(r=null===(e=this.args)||void 0===e?void 0:e.delayTouchStart)&&void 0!==r?r:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get delayMouseStart(){var e,t,r,n;return null!==(n=null!==(r=null===(e=this.args)||void 0===e?void 0:e.delayMouseStart)&&void 0!==r?r:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.context)||void 0===e?void 0:e.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.args)||void 0===e?void 0:e.rootElement)||this.document}constructor(e,t){this.args=e,this.context=t}}const s=1,a=0;function c(e){return void 0===e.button||e.button===a}function u(e){return!!e.targetTouches}function l(e,t){return u(e)?function(e,t){return 1===e.targetTouches.length?l(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?l(e.touches[0]):void 0}(e,t):{x:e.clientX,y:e.clientY}}const d=(()=>{let e=!1;try{addEventListener("test",(()=>{}),Object.defineProperty({},"passive",{get:()=>(e=!0,!0)}))}catch(e){}return e})(),f={[n.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[n.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[n.keyboard]:{keydown:"keydown"}};class h{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}get document(){return this.options.document}setup(){
|
||||||
|
const e=this.options.rootElement;e&&((0,o.invariant)(!h.isSetUp,"Cannot have two Touch backends at the same time."),h.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){const e=this.options.rootElement;e&&(h.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,t,r,n=!1){const o=d?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=f[n][t];i&&e.addEventListener(i,r,o)}))}removeEventListener(e,t,r,n=!1){const o=d?{capture:n,passive:!1}:n;this.listenerTypes.forEach((function(n){const i=f[n][t];i&&e.removeEventListener(i,r,o)}))}connectDragSource(e,t){const r=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",r),()=>{this.sourceNodes.delete(e),this.removeEventListener(t,"start",r)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,t){const r=this.options.rootElement;if(!this.document||!r)return()=>{};const n=n=>{if(!this.document||!r||!this.monitor.isDragging())return;let o;switch(n.type){case f.mouse.move:o={x:n.clientX,y:n.clientY};break;case f.touch.move:var i,s;o={x:(null===(i=n.touches[0])||void 0===i?void 0:i.clientX)||0,y:(null===(s=n.touches[0])||void 0===s?void 0:s.clientY)||0}}const a=null!=o?this.document.elementFromPoint(o.x,o.y):void 0,c=a&&t.contains(a);return a===t||c?this.handleMove(n,e):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(e,t),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver((()=>{
|
||||||
|
e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())})),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,t,r){this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&function(e){const t=1===e.nodeType?e:e.parentElement;if(!t)return;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}(t)},this.handleTopMoveStartCapture=e=>{c(e)&&(this.moveStartSourceIds=[])},this.handleMoveStart=e=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(e)},this.handleTopMoveStart=e=>{if(!c(e))return;const t=l(e);t&&(u(e)&&(this.lastTargetTouchFallback=e.targetTouches[0]),this._mouseClientOffset=t),this.waitingForDelay=!1},this.handleTopMoveStartDelay=e=>{if(!c(e))return;const t=e.type===f.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,e),t),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(e,t)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(t)},this.handleTopMove=e=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:t,dragOverTargetIds:r}=this,n=this.options.enableHoverOutsideTarget,o=l(e,this.lastTargetTouchFallback);if(!o)return;if(this._isScrolling||!this.monitor.isDragging()&&function(e,t,r,n,o){if(!o)return!1;const i=180*Math.atan2(n-t,r-e)/Math.PI+180;for(let e=0;e<o.length;++e){const t=o[e];if(t&&(null==t.start||i>=t.start)&&(null==t.end||i<=t.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,o.x,o.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var i,s,a,c;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&t&&(i=this._mouseClientOffset.x||0,s=this._mouseClientOffset.y||0,a=o.x,c=o.y,Math.sqrt(Math.pow(Math.abs(a-i),2)+Math.pow(Math.abs(c-s),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(t,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const u=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(u),this.actions.publishDragSource(),e.cancelable&&e.preventDefault();const d=(r||[]).map((e=>this.targetNodes.get(e))).filter((e=>!!e)),f=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(o.x,o.y,d):this.document.elementsFromPoint(o.x,o.y),h=[];for(const e in f){
|
||||||
|
if(!f.hasOwnProperty(e))continue;let t=f[e];for(null!=t&&h.push(t);t;)t=t.parentElement,t&&-1===h.indexOf(t)&&h.push(t)}const g=h.filter((e=>d.indexOf(e)>-1)).map((e=>this._getDropTargetId(e))).filter((e=>!!e)).filter(((e,t,r)=>r.indexOf(e)===t));if(n)for(const e in this.targetNodes){const t=this.targetNodes.get(e);if(u&&t&&t.contains(u)&&-1===g.indexOf(e)){g.unshift(e);break}}g.reverse(),this.actions.hover(g,{clientOffset:o})},this._getDropTargetId=e=>{const t=this.targetNodes.keys();let r=t.next();for(;!1===r.done;){const n=r.value;if(e===this.targetNodes.get(n))return n;r=t.next()}},this.handleTopMoveEndCapture=e=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(e){return void 0===e.buttons||0==(e.buttons&s)}(e)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(e.cancelable&&e.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=e=>{"Escape"===e.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new i(r,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(n.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(n.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(n.keyboard)}}const g=function(e,t={},r={}){return new h(e,t,r)}},81904:(e,t,r)=>{"use strict";r.d(t,{DndContext:()=>n});const n=(0,r(50959).createContext)({dragDropManager:void 0})},23642:(e,t,r)=>{"use strict";r.d(t,{DndProvider:()=>fe});var n=r(16453),o=r(21153),i=r(6346);function s(e){return"object"==typeof e}const a="dnd-core/INIT_COORDS",c="dnd-core/BEGIN_DRAG",u="dnd-core/PUBLISH_DRAG_SOURCE",l="dnd-core/HOVER",d="dnd-core/DROP",f="dnd-core/END_DRAG";function h(e,t){return{type:a,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const g={type:a,payload:{clientOffset:null,sourceClientOffset:null}};function p(e){return function(t=[],r={publishSource:!0}){const{publishSource:n=!0,clientOffset:o,getSourceClientOffset:a}=r,u=e.getMonitor(),l=e.getRegistry();e.dispatch(h(o)),function(e,t,r){(0,i.invariant)(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){(0,i.invariant)(r.getSource(e),"Expected sourceIds to be registered.")}))}(t,u,l);const d=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,u);if(null==d)return void e.dispatch(g);let f=null;if(o){if(!a)throw new Error("getSourceClientOffset must be defined");!function(e){(0,i.invariant)("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(a),f=a(d)}e.dispatch(h(o,f));const p=l.getSource(d).beginDrag(u,d);if(null==p)return;!function(e){(0,
|
||||||
|
i.invariant)(s(e),"Item must be an object.")}(p),l.pinSource(d);const v=l.getSourceType(d);return{type:c,payload:{itemType:v,item:p,sourceId:d,clientOffset:o||null,sourceClientOffset:f||null,isSourcePublic:!!n}}}}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function m(e){return function(t={}){const r=e.getMonitor(),n=e.getRegistry();!function(e){(0,i.invariant)(e.isDragging(),"Cannot call drop while not dragging."),(0,i.invariant)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(r);const o=function(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(r);o.forEach(((o,a)=>{const c=function(e,t,r,n){const o=r.getTarget(e);let a=o?o.drop(n,e):void 0;(function(e){(0,i.invariant)(void 0===e||s(e),"Drop result must either be an object or undefined.")})(a),void 0===a&&(a=0===t?{}:n.getDropResult());return a}(o,a,n,r),u={type:d,payload:{dropResult:y({},t,c)}};e.dispatch(u)}))}}function S(e){return function(){const t=e.getMonitor(),r=e.getRegistry();!function(e){(0,i.invariant)(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const n=t.getSourceId();if(null!=n){r.getSource(n,!0).endDrag(t,n),r.unpinSource()}return{type:f}}}function b(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function O(e){return function(t,{clientOffset:r}={}){!function(e){(0,i.invariant)(Array.isArray(e),"Expected targetIds to be an array.")}(t);const n=t.slice(0),o=e.getMonitor(),s=e.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){const o=e[n];b(t.getTargetType(o),r)||e.splice(n,1)}}(n,s,o.getItemType()),function(e,t,r){(0,i.invariant)(t.isDragging(),"Cannot call hover while not dragging."),(0,i.invariant)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){const n=e[t];(0,i.invariant)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");const o=r.getTarget(n);(0,i.invariant)(o,"Expected targetIds to be registered.")}}(n,o,s),function(e,t,r){e.forEach((function(e){r.getTarget(e).hover(t,e)}))}(n,o,s),{type:l,payload:{targetIds:n,clientOffset:r||null}}}}function E(e){return function(){if(e.getMonitor().isDragging())return{type:u}}}class T{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store;const r=function(e){return{beginDrag:p(e),publishDragSource:E(e),hover:O(e),drop:m(e),endDrag:S(e)}}(this);return Object.keys(r).reduce(((n,o)=>{const i=r[o];var s;return n[o]=(s=i,(...r)=>{const n=s.apply(e,r);void 0!==n&&t(n)}),n}),{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){
|
||||||
|
this.isSetUp=!1,this.handleRefCountChange=()=>{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function w(e,t){return{x:e.x-t.x,y:e.y-t.y}}const D=[],C=[];D.__IS_NONE__=!0,C.__IS_ALL__=!0;class I{subscribeToStateChange(e,t={}){const{handlerIds:r}=t;(0,i.invariant)("function"==typeof e,"listener must be a function."),(0,i.invariant)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),o=t.stateId;try{const i=o===n||o===n+1&&!function(e,t){return e!==D&&(e===C||void 0===t||(r=e,t.filter((e=>r.indexOf(e)>-1))).length>0);var r}(t.dirtyHandlerIds,r);i||e()}finally{n=o}}))}subscribeToOffsetChange(e){(0,i.invariant)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const r=this.store.getState().dragOffset;r!==t&&(t=r,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return(0,i.invariant)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);if((0,i.invariant)(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;return b(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);if((0,i.invariant)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;const{shallow:r}=t;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),o=this.getItemType();if(o&&!b(n,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const s=i.indexOf(e);return r?s===i.length-1:s>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?w((i=n,{x:(o=t).x+i.x,y:o.y+i.y
|
||||||
|
}),r):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:r}=e;return t&&r?w(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const N="undefined"!=typeof global?global:self,P=N.MutationObserver||N.WebKitMutationObserver;function x(e){return function(){const t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}const M="function"==typeof P?function(e){let t=1;const r=new P(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}:x;class A{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const R=new class{enqueueTask(e){const{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=M(this.flush),this.requestErrorThrow=x((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},L=new class{create(e){const t=this.freeTasks,r=t.length?t.pop():new A(this.onError,(e=>t[t.length]=e));return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}(R.registerPendingError);const _="dnd-core/ADD_SOURCE",j="dnd-core/ADD_TARGET",k="dnd-core/REMOVE_SOURCE",H="dnd-core/REMOVE_TARGET";function U(e,t){t&&Array.isArray(e)?e.forEach((e=>U(e,!1))):(0,i.invariant)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var F;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(F||(F={}));let $=0;function B(e){const t=($++).toString();switch(e){case F.SOURCE:return`S${t}`;case F.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}function q(e){switch(e[0]){case"S":return F.SOURCE;case"T":return F.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function K(e,t){const r=e.entries();let n=!1;do{const{done:e,value:[,o]}=r.next();if(o===t)return!0;n=!!e}while(!n);return!1}class G{addSource(e,t){U(e),function(e){(0,i.invariant)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,i.invariant)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,i.invariant)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const r=this.addHandler(F.SOURCE,e,t);return this.store.dispatch(function(e){return{type:_,payload:{sourceId:e}}}(r)),r}addTarget(e,t){U(e,!0),function(e){(0,i.invariant)("function"==typeof e.canDrop,"Expected canDrop to be a function."),
|
||||||
|
(0,i.invariant)("function"==typeof e.hover,"Expected hover to be a function."),(0,i.invariant)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const r=this.addHandler(F.TARGET,e,t);return this.store.dispatch(function(e){return{type:j,payload:{targetId:e}}}(r)),r}containsHandler(e){return K(this.dragSources,e)||K(this.dropTargets,e)}getSource(e,t=!1){(0,i.invariant)(this.isSourceId(e),"Expected a valid source ID.");return t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,i.invariant)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,i.invariant)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,i.invariant)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return q(e)===F.SOURCE}isTargetId(e){return q(e)===F.TARGET}removeSource(e){var t;(0,i.invariant)(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:k,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},R.enqueueTask(L.create(t))}removeTarget(e){(0,i.invariant)(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:H,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);(0,i.invariant)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,i.invariant)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){const n=B(e);return this.types.set(n,t),e===F.SOURCE?this.dragSources.set(n,r):e===F.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const W=(e,t)=>e===t;function Y(e=D,t){switch(t.type){case l:break;case _:case j:case H:case k:return D;default:return C}const{targetIds:r=[],prevTargetIds:n=[]}=t.payload,o=function(e,t){const r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);const o=[];return r.forEach(((e,t)=>{1===e&&o.push(t)})),o}(r,n);if(!(o.length>0||!function(e,t,r=W){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(r,n)))return D;const i=n[n.length-1],s=r[r.length-1];return i!==s&&(i&&o.push(i),s&&o.push(s)),o}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const X={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function V(e=X,t){const{payload:r}=t;switch(t.type){case a:case c:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case l:return n=e.clientOffset,o=r.clientOffset,!n&&!o||n&&o&&n.x===o.x&&n.y===o.y?e:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r)
|
||||||
|
;"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){z(e,t,r[t])}))}return e}({},e,{clientOffset:r.clientOffset});case f:case d:return X;default:return e}var n,o}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){J(e,t,r[t])}))}return e}const Z={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function ee(e=Z,t){const{payload:r}=t;switch(t.type){case c:return Q({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case u:return Q({},e,{isSourcePublic:!0});case l:return Q({},e,{targetIds:r.targetIds});case H:return-1===e.targetIds.indexOf(r.targetId)?e:Q({},e,{targetIds:(n=e.targetIds,o=r.targetId,n.filter((e=>e!==o)))});case d:return Q({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case f:return Q({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var n,o}function te(e=0,t){switch(t.type){case _:case j:return e+1;case k:case H:return e-1;default:return e}}function re(e=0){return e+1}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ne(e,t,r[t])}))}return e}function ie(e={},t){return{dirtyHandlerIds:Y(e.dirtyHandlerIds,{type:t.type,payload:oe({},t.payload,{prevTargetIds:(r=e,n="dragOperation.targetIds",o=[],n.split(".").reduce(((e,t)=>e&&e[t]?e[t]:o||null),r))})}),dragOffset:V(e.dragOffset,t),refCount:te(e.refCount,t),dragOperation:ee(e.dragOperation,t),stateId:re(e.stateId)};var r,n,o}function se(e,t,r={},n=!1){const i=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,o.createStore)(ie,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),s=new I(i,new G(i)),a=new T(i,s),c=e(a,t,r);return a.receiveBackend(c),a}var ae=r(50959),ce=r(81904);function ue(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}
|
||||||
|
let le=0;const de=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var fe=(0,ae.memo)((function(e){var{children:t}=e,r=ue(e,["children"]);const[o,i]=function(e){if("manager"in e){return[{dragDropManager:e.manager},!1]}const t=function(e,t=he(),r,n){const o=t;o[de]||(o[de]={dragDropManager:se(e,t,r,n)});return o[de]}(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}(r);return(0,ae.useEffect)((()=>{if(i){const e=he();return++le,()=>{0==--le&&(e[de]=null)}}}),[]),(0,n.jsx)(ce.DndContext.Provider,{value:o,children:t})}));function he(){return"undefined"!=typeof global?global:window}},91701:(e,t,r)=>{"use strict";r.d(t,{useCollectedProps:()=>i});var n=r(76121),o=r(74401);function i(e,t,r){return function(e,t,r){const[i,s]=(0,n.useCollector)(e,t,r);return(0,o.useIsomorphicLayoutEffect)((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(s,{handlerIds:[t]})}),[e,s]),i}(t,e||(()=>({})),(()=>r.reconnect()))}},76121:(e,t,r)=>{"use strict";r.d(t,{useCollector:()=>s});var n=r(3341),o=r(50959),i=r(74401);function s(e,t,r){const[s,a]=(0,o.useState)((()=>t(e))),c=(0,o.useCallback)((()=>{const o=t(e);n(s,o)||(a(o),r&&r())}),[s,e,r]);return(0,i.useIsomorphicLayoutEffect)(c),[s,c]}},42357:(e,t,r)=>{"use strict";r.d(t,{useDrag:()=>O});var n=r(6346),o=r(91701),i=r(82442),s=r(50959);function a(e){return(0,s.useMemo)((()=>e.hooks.dragSource()),[e])}function c(e){return(0,s.useMemo)((()=>e.hooks.dragPreview()),[e])}var u=r(98789),l=r(71982),d=r(12406);class f{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){const t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(t?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}
|
||||||
|
didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,u.shallowEqual)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,u.shallowEqual)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,d.wrapConnectorHooks)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,l.isRef)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,l.isRef)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var h=r(84570),g=r(74401);let p=!1,v=!1;class y{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.invariant)(!p,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{p=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.invariant)(!v,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return v=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{v=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){
|
||||||
|
return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var m=r(87408);class S{beginDrag(){const e=this.spec,t=this.monitor;let r=null;return r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=r?r:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const r=this.spec,n=this.monitor,{isDragging:o}=r;return o?o(n):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,r=this.connector,{end:n}=e;n&&n(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function b(e,t,r){const o=(0,h.useDragDropManager)(),i=function(e,t,r){const n=(0,s.useMemo)((()=>new S(e,t,r)),[t,r]);return(0,s.useEffect)((()=>{n.spec=e}),[e]),n}(e,t,r),a=function(e){return(0,s.useMemo)((()=>{const t=e.type;return(0,n.invariant)(null!=t,"spec.type must be defined"),t}),[e])}(e);(0,g.useIsomorphicLayoutEffect)((function(){if(null!=a){const[e,n]=(0,m.registerSource)(a,i,o);return t.receiveHandlerId(e),r.receiveHandlerId(e),n}}),[o,t,r,i,a])}function O(e,t){const r=(0,i.useOptionalFactory)(e,t);(0,n.invariant)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const u=function(){const e=(0,h.useDragDropManager)();return(0,s.useMemo)((()=>new y(e)),[e])}(),l=function(e,t){const r=(0,h.useDragDropManager)(),n=(0,s.useMemo)((()=>new f(r.getBackend())),[r]);return(0,g.useIsomorphicLayoutEffect)((()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource())),[n,e]),(0,g.useIsomorphicLayoutEffect)((()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview())),[n,t]),n}(r.options,r.previewOptions);return b(r,u,l),[(0,o.useCollectedProps)(r.collect,u,l),a(l),c(l)]}},84570:(e,t,r)=>{"use strict";r.d(t,{useDragDropManager:()=>s});var n=r(6346),o=r(50959),i=r(81904);function s(){const{dragDropManager:e}=(0,o.useContext)(i.DndContext);return(0,n.invariant)(null!=e,"Expected drag drop context"),e}},85783:(e,t,r)=>{"use strict";r.d(t,{useDragLayer:()=>s});var n=r(50959),o=r(76121),i=r(84570);function s(e){const t=(0,i.useDragDropManager)().getMonitor(),[r,s]=(0,o.useCollector)(t,e);return(0,n.useEffect)((()=>t.subscribeToOffsetChange(s))),(0,n.useEffect)((()=>t.subscribeToStateChange(s))),r}},40933:(e,t,r)=>{"use strict";r.d(t,{useDrop:()=>S});var n=r(91701),o=r(82442),i=r(50959);function s(e){return(0,i.useMemo)((()=>e.hooks.dropTarget()),[e])}
|
||||||
|
var a=r(98789),c=r(71982),u=r(12406);class l{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,a.shallowEqual)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,u.wrapConnectorHooks)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,c.isRef)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var d=r(84570),f=r(74401);var h=r(6346);let g=!1;class p{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,h.invariant)(!g,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return g=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{g=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var v=r(87408);class y{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){
|
||||||
|
const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function m(e,t,r){const n=(0,d.useDragDropManager)(),o=function(e,t){const r=(0,i.useMemo)((()=>new y(e,t)),[t]);return(0,i.useEffect)((()=>{r.spec=e}),[e]),r}(e,t),s=function(e){const{accept:t}=e;return(0,i.useMemo)((()=>((0,h.invariant)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);(0,f.useIsomorphicLayoutEffect)((function(){const[e,i]=(0,v.registerTarget)(s,o,n);return t.receiveHandlerId(e),r.receiveHandlerId(e),i}),[n,t,o,r,s.map((e=>e.toString())).join("|")])}function S(e,t){const r=(0,o.useOptionalFactory)(e,t),a=function(){const e=(0,d.useDragDropManager)();return(0,i.useMemo)((()=>new p(e)),[e])}(),c=function(e){const t=(0,d.useDragDropManager)(),r=(0,i.useMemo)((()=>new l(t.getBackend())),[t]);return(0,f.useIsomorphicLayoutEffect)((()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget())),[e]),r}(r.options);return m(r,a,c),[(0,n.useCollectedProps)(r.collect,a,c),s(c)]}},74401:(e,t,r)=>{"use strict";r.d(t,{useIsomorphicLayoutEffect:()=>o});var n=r(50959);const o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},82442:(e,t,r)=>{"use strict";r.d(t,{useOptionalFactory:()=>o});var n=r(50959);function o(e,t){const r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,n.useMemo)((()=>"function"==typeof e?e():e),r)}},71982:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{isRef:()=>n})},87408:(e,t,r)=>{"use strict";function n(e,t,r){const n=r.getRegistry(),o=n.addTarget(e,t);return[o,()=>n.removeTarget(o)]}function o(e,t,r){const n=r.getRegistry(),o=n.addSource(e,t);return[o,()=>n.removeSource(o)]}r.d(t,{registerSource:()=>o,registerTarget:()=>n})},12406:(e,t,r)=>{"use strict";r.d(t,{wrapConnectorHooks:()=>s});var n=r(6346),o=r(50959);function i(e){return(t=null,r=null)=>{if(!(0,o.isValidElement)(t)){const n=t;return e(n,r),n}const i=t;!function(e){if("string"==typeof e.type)return;const t=e.type.displayName||e.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(i);return function(e,t){const r=e.ref;return(0,n.invariant)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?(0,o.cloneElement)(e,{ref:e=>{a(r,e),a(t,e)}}):(0,o.cloneElement)(e,{ref:t})}(i,r?t=>e(t,r):e)}}function s(e){const t={};return Object.keys(e).forEach((r=>{const n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{const e=i(n);t[r]=()=>e}})),t}function a(e,t){"function"==typeof e?e(t):e.current=t}}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.footer-PhMf7PhQ{border-top:1px solid #e0e3eb;display:flex;flex:0 0 auto;padding:16px 20px}html.theme-dark .footer-PhMf7PhQ{border-top:1px solid #434651}@media screen and (max-height:360px){.footer-PhMf7PhQ{padding:10px 20px}}.footer-PhMf7PhQ .submitButton-PhMf7PhQ{padding-left:12px}.footer-PhMf7PhQ .buttons-PhMf7PhQ{margin-left:auto}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.footer-PhMf7PhQ{border-top:1px solid #e0e3eb;display:flex;flex:0 0 auto;padding:16px 20px}html.theme-dark .footer-PhMf7PhQ{border-top:1px solid #434651}@media screen and (max-height:360px){.footer-PhMf7PhQ{padding:10px 20px}}.footer-PhMf7PhQ .submitButton-PhMf7PhQ{padding-right:12px}.footer-PhMf7PhQ .buttons-PhMf7PhQ{margin-right:auto}
|
||||||
@@ -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?"-":"_"),"")}}]);
|
||||||
@@ -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)}}]);
|
||||||
28
public/charting_library/bundles/4648.7172f75bb866b3438c6f.js
Normal file
28
public/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>'}}]);
|
||||||
21
public/charting_library/bundles/4713.8582f5ea3328f2cbdfae.js
Normal file
21
public/charting_library/bundles/4713.8582f5ea3328f2cbdfae.js
Normal file
@@ -0,0 +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(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: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: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(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),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: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>'}}]);
|
||||||
@@ -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}
|
||||||
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
@@ -0,0 +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:#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}
|
||||||
@@ -0,0 +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:#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}
|
||||||
@@ -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>'}}]);
|
||||||
@@ -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>'}}]);
|
||||||
32
public/charting_library/bundles/5142.2c34c8656148cc5203b7.js
Normal file
32
public/charting_library/bundles/5142.2c34c8656148cc5203b7.js
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.separator-Pf4rIzEt{background-color:#e0e3eb;height:1px;margin:8px 0}html.theme-dark .separator-Pf4rIzEt{background-color:#434651}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.separator-Pf4rIzEt{background-color:#e0e3eb;height:1px;margin:8px 0}html.theme-dark .separator-Pf4rIzEt{background-color:#434651}
|
||||||
@@ -0,0 +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;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}
|
||||||
@@ -0,0 +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;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}
|
||||||
@@ -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:["從收藏移除"]}}}]);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.accessible-NQERJsv9{outline:none;overflow:visible;position:relative}.accessible-NQERJsv9:focus{outline:none}.accessible-NQERJsv9:focus-visible{outline:none}.accessible-NQERJsv9:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1}.accessible-NQERJsv9:focus:after{display:block}.accessible-NQERJsv9:focus-visible:after{display:block}.accessible-NQERJsv9:focus:not(:focus-visible):after{display:none}.accessible-NQERJsv9:after{border-radius:6px}.accessible-NQERJsv9:not(.accessible-NQERJsv9.active-NQERJsv9):after{border-color:#2962ff}.accessible-NQERJsv9.active-NQERJsv9:after{border-color:#fffc}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.accessible-NQERJsv9{outline:none;overflow:visible;position:relative}.accessible-NQERJsv9:focus{outline:none}.accessible-NQERJsv9:focus-visible{outline:none}.accessible-NQERJsv9:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:1}.accessible-NQERJsv9:focus:after{display:block}.accessible-NQERJsv9:focus-visible:after{display:block}.accessible-NQERJsv9:focus:not(:focus-visible):after{display:none}.accessible-NQERJsv9:after{border-radius:6px}.accessible-NQERJsv9:not(.accessible-NQERJsv9.active-NQERJsv9):after{border-color:#2962ff}.accessible-NQERJsv9.active-NQERJsv9:after{border-color:#fffc}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.button-Y1TCZogJ{all:unset;display:flex;position:relative}.button-Y1TCZogJ:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;position:absolute;top:0;width:100%}.button-Y1TCZogJ:focus-visible:before{content:"";outline-style:solid}.button-Y1TCZogJ.active-Y1TCZogJ:before{outline-color:#fffc}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.button-Y1TCZogJ{all:unset;display:flex;position:relative}.button-Y1TCZogJ:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;position:absolute;right:0;top:0;width:100%}.button-Y1TCZogJ:focus-visible:before{content:"";outline-style:solid}.button-Y1TCZogJ.active-Y1TCZogJ:before{outline-color:#fffc}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrap-_HnK0UIN{bottom:0;display:flex;left:0;position:fixed;right:0;top:0;z-index:0}.wrap-_HnK0UIN.positionBottom-_HnK0UIN{align-items:flex-end}.backdrop-_HnK0UIN{background-color:#9598a1;bottom:0;left:0;opacity:.7;position:absolute;right:0;top:0;transform:translateZ(0)}html.theme-dark .backdrop-_HnK0UIN{background-color:#0c0e15}.drawer-_HnK0UIN{-webkit-overflow-scrolling:touch;background-color:var(--tv-color-popup-background,#fff);box-shadow:0 2px 4px #0003;box-sizing:border-box;padding:6px 0;z-index:1}html.theme-dark .drawer-_HnK0UIN{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.drawer-_HnK0UIN.positionLeft-_HnK0UIN{margin-right:40px;max-width:calc(100% - 40px);min-width:260px}.drawer-_HnK0UIN.positionBottom-_HnK0UIN{border-top-left-radius:6px;border-top-right-radius:6px;flex-basis:100%;margin-top:var(--drawer-margin-top-distance,100px);max-height:calc(100% - var(--drawer-min-top-distance, 100px));overflow:auto}.drawer-_HnK0UIN:focus{outline:none}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrap-_HnK0UIN{bottom:0;display:flex;left:0;position:fixed;right:0;top:0;z-index:0}.wrap-_HnK0UIN.positionBottom-_HnK0UIN{align-items:flex-end}.backdrop-_HnK0UIN{background-color:#9598a1;bottom:0;left:0;opacity:.7;position:absolute;right:0;top:0;transform:translateZ(0)}html.theme-dark .backdrop-_HnK0UIN{background-color:#0c0e15}.drawer-_HnK0UIN{-webkit-overflow-scrolling:touch;background-color:var(--tv-color-popup-background,#fff);box-shadow:0 2px 4px #0003;box-sizing:border-box;padding:6px 0;z-index:1}html.theme-dark .drawer-_HnK0UIN{background-color:var(--tv-color-popup-background,#1e222d);box-shadow:0 2px 4px #0006}.drawer-_HnK0UIN.positionLeft-_HnK0UIN{margin-left:40px;max-width:calc(100% - 40px);min-width:260px}.drawer-_HnK0UIN.positionBottom-_HnK0UIN{border-top-left-radius:6px;border-top-right-radius:6px;flex-basis:100%;margin-top:var(--drawer-margin-top-distance,100px);max-height:calc(100% - var(--drawer-min-top-distance, 100px));overflow:auto}.drawer-_HnK0UIN:focus{outline:none}
|
||||||
10
public/charting_library/bundles/5664.87e81959e880fa8ba65d.js
Normal file
10
public/charting_library/bundles/5664.87e81959e880fa8ba65d.js
Normal file
File diff suppressed because one or more lines are too long
@@ -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}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
|||||||
|
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5983],{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","margin-xsmall":"margin-xsmall-cfYYXvwA","margin-small":"margin-small-cfYYXvwA","margin-medium":"margin-medium-cfYYXvwA","margin-large":"margin-large-cfYYXvwA","margin-xlarge":"margin-xlarge-cfYYXvwA","ellipsis-children":"ellipsis-children-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","make-grid-column":"make-grid-column-SmxgjhBJ","stretch-tabs":"stretch-tabs-SmxgjhBJ","equal-tab-size":"equal-tab-size-SmxgjhBJ"}},10047:e=>{e.exports={underline:"underline-Pun8HxCz",center:"center-Pun8HxCz",corner:"corner-Pun8HxCz",disabled:"disabled-Pun8HxCz"}},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})},75983:(e,t,n)=>{"use strict";n.d(t,{UnderlineButtonTabs:()=>ce});var i,a=n(50959),l=n(97754),s=n.n(l),r=n(11542);!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:l,onMeasureCallback:s,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)=>(l(t)&&e.push(n),e)),[])),[t,l]),w=(0,a.useCallback)((()=>{if(g.current.containerWidth){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,s&&s()}),[g,t,n,b,s]),z=(0,a.useRef)(null),R=(0,a.useCallback)((([e])=>{e.contentRect.width!==g.current.containerWidth&&(z.current&&cancelAnimationFrame(z.current),g.current.containerWidth=e.contentRect.width,z.current=requestAnimationFrame((()=>{w()})))}),[g,w]),y=(0,a.useRef)(null),A=(0,a.useCallback)((([e])=>{y.current&&cancelAnimationFrame(y.current),x(),y.current=requestAnimationFrame((()=>{w()}))}),[x,w]),S=(0,o.useResizeObserver)(A),I=(0,o.useResizeObserver)(R),B=(0,a.useRef)(null),N=(0,m.mergeRefs)([I,B]),E=(0,a.useRef)(t),Y=(0,a.useRef)(!0),H=(0,a.useRef)([]);return(0,d.useIsomorphicLayoutEffect)((()=>{!r&&!Y.current&&f(E.current,t)&&f(k,H.current)||(w(),Y.current=!1,E.current=t,H.current=k)}),[t,w,k,r]),{containerRefCallback:N,moreButtonRef:v,innerContainerRefCallback:S,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,l=i.EndFirst){const s=(0,a.useCallback)(((n,a)=>{const s=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:l,direction:s}){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=l.map((e=>d[e])).reduce(((e,t)=>e+t),0)+a,s===i.EndFirst)for(let e=0;e<r.length;e++)l.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--)l.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:s,menuItemWidth:n.moreButtonWidth,keepVisible:a,direction:l})}),[e]);return b({itemsList:e,getItemId:t,calcVisibleAndHiddenItems:s,shouldKeepItemVisible:n})}var v,g=n(38528),p=n(47201),C=n(7953),k=n(22064);function w(e,t="horizontal",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 z=n(29202),R=n(16921),y=n(50151),A=n(66686),S=n(36762);function I(){return!1}function B(e){const{activationType:t="manual"}=e,n=(0,a.useMemo)((()=>t),[]);return(0,y.assert)(t===n,"Activation type must be invariant."),"automatic"===t?function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:l,onHighlight:s,onActivate:r,isCollapsed:o=I,orientation:c}=e,u=(0,
|
||||||
|
a.useCallback)((e=>{s(e),o(e)||r(e)}),[s,r,o]);return(0,A.useKeyboardEventHandler)([(0,S.useItemsKeyboardNavigation)(c,t,n,l,u,!0)],i)}(e):function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:l,onHighlight:s,onActivate:r,orientation:o}=e,c=n.find(l),u=(0,a.useCallback)((()=>{void 0!==c&&r(c)}),[c,r]),d=(0,a.useCallback)((e=>s(e)),[s]),m=(0,S.useItemsKeyboardNavigation)(o,t,n,l,d,!0),b=(0,A.useKeyboardActionHandler)([13,32],u);return(0,A.useKeyboardEventHandler)([m,b],i)}(e)}var N=n(5325);function E(e){var t,n;const{id:i,items:l,orientation:s,activationType:r="manual",disabled:o,tablistLabelId:c,tablistLabel:u,focusOnHighlight:d=!0,preventDefaultIfKeyboardActionHandled:m=!0,scrollIntoViewOptions:b,isActive:f,onActivate:h,isCollapsed:v,isRtl:g,isDisclosureOpened:C}=e,y=function(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}(),A=C?null:s||"horizontal",S=(0,a.useRef)(null!==(n=null===(t=e.itemsRefs)||void 0===t?void 0:t.current)&&void 0!==n?n:new Map),[I,E]=(0,a.useState)(),[Y,H]=(0,z.useFocus)(),W=l.find(f),T=(0,a.useCallback)((e=>!o&&!e.disabled&&e===I),[o,I]),O=(0,a.useCallback)((e=>{const t=S.current.get(e);d&&void 0!==t&&t!==document.activeElement&&t.focus()}),[d]),M=(0,a.useRef)(),X=(0,a.useCallback)(((e,t)=>{o||e.disabled||(E(e),"number"==typeof t?(clearTimeout(M.current),M.current=setTimeout((()=>O(e)),t)):O(e))}),[o,E,O]),F=(0,a.useCallback)((e=>{o||e.disabled||(h(e),T(e)||X(e))}),[o,h,T,X]),P=B({isRtl:g,items:(0,a.useMemo)((()=>l.filter((e=>!o&&!e.disabled))),[l,o]),activationType:r,preventDefaultIfHandled:m,onActivate:F,isHighlighted:T,onHighlight:X,isCollapsed:v,orientation:A}),D=(0,a.useCallback)((e=>{let t=null;for(const[n,i]of S.current.entries())if(e.target===i){t=n;break}t&&!T(t)&&("automatic"===r&&v&&!v(t)?F(t):X(t))}),[r,T,X,F,v]);(0,a.useEffect)((()=>{y||void 0!==W&&E(W)}),[W,y]),(0,a.useEffect)((()=>{Y||E(void 0)}),[Y]),(0,a.useEffect)((()=>()=>clearTimeout(M.current)),[]);const[K,L]=(0,R.useKeepActiveItemIntoView)({...b,activeItem:null!=I?I:W,getKey:(0,a.useCallback)((e=>e.id),[])}),j=(0,a.useCallback)(((e,t)=>{L(e,t),null!==t?S.current.set(e,t):S.current.delete(e)}),[L]),q=l.map((e=>{var t,n;const i=T(e),a=f(e),l=null!==(n=null!==(t=e.disabled)&&void 0!==t?t:o)&&void 0!==n&&n,s=!l&&(Y?i:a);return{...x(e.id,s,a,e.tabpanelId,l),highlighted:i,active:a,handleItemRef:j}}));var J;return{tabsBindings:q,tablistBinding:{...w((J=i,(0,k.createDomId)(J,"tablist")),s,o,c,u),onBlur:H.onBlur,onFocus:(0,p.createSafeMulticastEventHandler)(H.onFocus,D),onKeyDown:P},scrollWrapBinding:{ref:K},onActivate:F,onHighlight:X,isHighlighted:T}}var Y=n(26597);const H=(0,a.createContext)("small");var W=n(17946),T=n(25164);function O(e){const{size:t="xsmall",active:n,fake:i,enableActiveStateStyles:a,anchor:s=!1,hideFocusOutline:r=!1,equalTabSize:o,className:c}=e;return l(T["underline-tab"],T[`size-${t}`],n&&T.selected,!a&&T["disable-active-state-styles"],r&&T["disable-focus-outline"],i&&T.fake,s&&T["enable-cursor-pointer"],o&&T[`margin-${t}`],c)}const M=(0,
|
||||||
|
a.forwardRef)(((e,t)=>{const n=(0,a.useContext)(H),i=(0,a.useContext)(W.CustomBehaviourContext),{active:l,fake:r,className:o,enableActiveStateStyles:c=i.enableActiveStateStyles,hideFocusOutline:u=!1,equalTabSize:d,children:m,...b}=e;return a.createElement("button",{...b,ref:t,className:O({size:n,active:l,fake:r,enableActiveStateStyles:c,hideFocusOutline:u,equalTabSize:d,className:o})},d&&"string"==typeof m?a.createElement("span",{className:s()(T["ellipsis-children"],"apply-overflow-tooltip")},m):m)}));M.displayName="UnderlineTabsBaseButton";const X=(0,a.forwardRef)(((e,t)=>{const{item:n,highlighted:i,handleItemRef:l,onClick:s,"aria-disabled":r,...o}=e,c=(0,a.useCallback)((()=>{s&&s(n)}),[s,n]),u=(0,a.useCallback)((e=>{l&&l(n,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[n,l,t]);return a.createElement(M,{...o,id:n.id,onClick:c,ref:u},n.label)}));X.displayName="UnderlineButtonTab";var F=n(16396),P=n(4523),D=n(9745),K=n(47531),L=n(2948),j=n(63509),q=n(68874),J=n(85200);function V(e){switch(e){case"xsmall":return K;case"small":return L;case"medium":case"large":return j;case"xlarge":return q}}function $(e){const{size:t,isDropped:n=!1}=e;return a.createElement(D.Icon,{icon:V(t),className:l(J["arrow-icon"],J[`size-${t}`],n&&J.dropped)})}var U=n(45015);function Z(e){const{size:t,disabled:n,isOpened:i,enableActiveStateStyles:l,hideFocusOutline:s,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,y.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,y.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(P.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:l,hideFocusOutline:s,fake:r},c,a.createElement($,{size:t,isDropped:i})),popupChildren:o.map((e=>a.createElement(F.PopupMenuItem,{key:e.id,className:d?U["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};var _=n(86781),ee=n(86240),te=n(79877);function ne(e){const{size:t,overflowBehaviour:n,className:i}=e;return l(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(12481),le=n(38223),se=n(10047),re=n.n(se);function oe(e){const{disabled:t,translateX:n}=e,i=e.scale/100;return a.createElement("div",{className:l(re().underline,t&&re().disabled),style:{transform:`translateX(${n}px) scaleX(${i})`}},a.createElement("div",{className:re().corner,style:{transform:`scaleX(${1/i})`}}),a.createElement("div",{className:re().center,style:{transform:`scaleX(${1-30/e.scale})`}}),a.createElement("div",{className:re().corner,style:{transform:`scaleX(${1/i})`}}))}function ce(e){const{id:t,items:i,activationType:l,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:z,"data-name":R="underline-tabs-buttons",stretchTabs:y,equalTabSize:A}=e,S=ie(),I=function(e){const t=(0,_.useSafeMatchMedia)(ee["media-mf-phone-landscape"],!0),n=ie();return null!=e?e:n||!t?"scroll":"collapse"}(k),B=(0,a.useRef)(!1),N=(0,a.useCallback)((e=>e.id),[]),W="none"===I&&y,T="none"===I&&A,O=null!=w?w:!S,{visibleItems:M,hiddenItems:F,containerRefCallback:P,innerContainerRefCallback:D,moreButtonRef:K,setItemRef:L}=h(i,N,b),j="collapse"===I?M:i,q="collapse"===I?F:[],J=(0,a.useCallback)((e=>q.includes(e)),[q]),V=(0,a.useRef)(new Map),{isOpened:$,open:U,close:G,onButtonClick:Q}=(0,C.useDisclosure)({id:t,disabled:c}),{tabsBindings:se,tablistBinding:re,scrollWrapBinding:ce,onActivate:ue,onHighlight:de,isHighlighted:me}=E({id:t,items:[...j,...q],activationType:l,orientation:o,disabled:c,tablistLabelId:x,tablistLabel:z,onActivate:m,isActive:b,isCollapsed:J,isRtl:le.isRtl,itemsRefs:V,isDisclosureOpened:$}),be=i.find(b),fe=q.find(me),he=(0,a.useCallback)((()=>{be&&de(be)}),[de,be]),ve=(0,a.useCallback)((e=>{var t;return null!==(t=se.find((t=>t.id===e.id)))&&void 0!==t?t:{}}),[se]),ge=(0,a.useCallback)((()=>{G(),he(),B.current=!0}),[G,he]),pe=(0,a.useCallback)((()=>{fe&&(ue(fe),de(fe,200))}),[ue,de,fe]);ce.ref=(0,g.useMergedRefs)([ce.ref,P]),re.ref=(0,g.useMergedRefs)([re.ref,D]),re.onKeyDown=(0,p.createSafeMulticastEventHandler)((0,Y.useKeyboardEventHandler)([(0,Y.useKeyboardClose)($,ge),(0,Y.useKeyboardActionHandler)([13,32],pe,(0,a.useCallback)((()=>Boolean(fe)),[fe]))]),re.onKeyDown);const Ce=(0,a.useCallback)((e=>{B.current=!0,Q(e)}),[B,Q]),ke=(0,a.useCallback)((e=>{e&&ue(e)}),[ue]);(0,a.useEffect)((()=>{B.current?B.current=!1:(fe&&!$&&U(),!fe&&$&&G())}),[fe,$,U,G]);const we=function(e,t,n){const[i,l]=(0,a.useState)(),s=(0,a.useRef)(),r=e=>{var t;const n=null!==(t=e.parentElement)&&void 0!==t?t:void 0;if(void 0===n)return;const{left:i,right:a,width:s}=e.getBoundingClientRect(),{left:r,right:o}=n.getBoundingClientRect(),c=(0,le.isRtl)()?a-o:i-r;l({translateX:c,scale:s})};return(0,a.useEffect)((()=>{const e=(0,ae.default)((e=>{const t=e[0].target;void 0!==t&&r(t)}),50);s.current=new ResizeObserver(e)}),[]),(0,a.useEffect)((()=>{var n;if(void 0===t)return;const i=e.get(t);return void 0!==i?(r(i),
|
||||||
|
null===(n=s.current)||void 0===n||n.observe(i),()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.disconnect()}):void 0}),n),i}(V.current,null!=be?be:fe,[null!=be?be:fe,j,d,W,I]);return a.createElement(H.Provider,{value:d},a.createElement("div",{...ce,className:ne({size:d,overflowBehaviour:I,className:f}),style:v,"data-name":R},a.createElement("div",{...re,className:s()(te["underline-tabs"],{[te["make-grid-column"]]:W||T,[te["stretch-tabs"]]:W,[te["equal-tab-size"]]:T})},j.map((e=>a.createElement(X,{...ve(e),key:e.id,item:e,onClick:ue,enableActiveStateStyles:O,hideFocusOutline:S,ref:L(N(e)),...e.dataId&&{"data-id":e.dataId},equalTabSize:T}))),q.map((e=>a.createElement(X,{...ve(e),key:e.id,item:e,fake:!0}))),a.createElement(Z,{size:d,disabled:c,isOpened:$,items:q,buttonContent:u,buttonRef:K,isHighlighted:me,onButtonClick:Ce,onItemClick:ke,onClose:G,enableActiveStateStyles:O,hideFocusOutline:S,fake:0===q.length}),we&&a.createElement(oe,{...we,disabled:c}))))}var ue=n(38952);function de(e){return a.createElement("a",{...(0,ue.renameRef)(e)})}(0,a.forwardRef)(((e,t)=>{var n;const i=(0,a.useContext)(H),l=(0,a.useContext)(W.CustomBehaviourContext),{item:s,highlighted:r,handleItemRef:o,onClick:c,active:u,fake:d,className:m,enableActiveStateStyles:b=l.enableActiveStateStyles,hideFocusOutline:f=!1,disabled:h,"aria-disabled":v,...g}=e,p=(0,a.useCallback)((e=>{v?e.preventDefault():c&&c(s)}),[c,v,s]),C=(0,a.useCallback)((e=>{o&&o(s,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[s,o,t]),k=null!==(n=s.renderComponent)&&void 0!==n?n:de;return a.createElement(k,{...g,id:s.id,"aria-disabled":v,onClick:p,reference:C,href:s.href,rel:s.rel,target:s.target,className:O({size:i,active:u,fake:d,enableActiveStateStyles:b,anchor:!0,hideFocusOutline:f,className:m})},s.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="M3.57 7.85 9 12.62l5.43-4.77-1.32-1.5L9 9.95l-4.11-3.6-1.32 1.5Z"/></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>'}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
.icon-WB2y0EnP{align-items:center;display:flex;flex-direction:row;transition:transform .35s cubic-bezier(.175,.885,.32,1.275)}.icon-WB2y0EnP svg{fill:currentColor;display:block;height:4px;width:8px}.icon-WB2y0EnP.dropped-WB2y0EnP{transform:rotate(180deg)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.icon-WB2y0EnP{align-items:center;display:flex;flex-direction:row;transition:transform .35s cubic-bezier(.175,.885,.32,1.275)}.icon-WB2y0EnP svg{fill:currentColor;display:block;height:4px;width:8px}.icon-WB2y0EnP.dropped-WB2y0EnP{transform:rotate(-180deg)}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user