1"use strict";(globalThis.webpackChunkcgtrader=globalThis.webpackChunkcgtrader||[]).push([[89393],{30873(t,e,o){o.d(e,{A:()=>F});var n=o(96540);function r(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},a.apply(this,arguments)}function l(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)}return o}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function c(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return function(){return t}}var f=function(){};f.thatReturns=d,f.thatReturnsFalse=d(!1),f.thatReturnsTrue=d(!0),f.thatReturnsNull=d(null),f.thatReturnsThis=function(){return this},f.thatReturnsArgument=function(t){return t};var u=f;var b=function(t,e,o,n,r,i,a,l){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[o,n,r,i,a,l],c=0;(s=new Error(e.replace(/%s/g,function(){return p[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}},h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;(function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},o=0;o<10;o++)e["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(r){return!1}})()&&Object.assign;var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var g,y,w=(g=function(t){t.exports=function(){function t(t,e,o,n,r,i){i!==v&&b(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var o={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return o.checkPropTypes=u,o.PropTypes=o,o}()},g(y={exports:{}},y.exports),y.exports),E={HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"},T=function(t,e){var o;"function"===typeof window.CustomEvent?o=new window.CustomEvent(t,{detail:e}):((o=document.createEvent("Event")).initEvent(t,!1,!0),o.detail=e),window.dispatchEvent(o)};var x=function(t,e){var o=this.state.show,n=this.props.id,r=this.isCapture(e.currentTarget),i=e.currentTarget.getAttribute("currentItem");r||e.stopPropagation(),o&&"true"===i?t||this.hideTooltip(e):(e.currentTarget.setAttribute("currentItem","true"),O(e.currentTarget,this.getTargetArray(n)),this.showTooltip(e))},O=function(t,e){for(var o=0;o<e.length;o++)t!==e[o]?e[o].setAttribute("currentItem","false"):e[o].setAttribute("currentItem","true")},k={id:"9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf",set:function(t,e,o){this.id in t?t[this.id][e]=o:Object.defineProperty(t,this.id,{configurable:!0,value:i({},e,o)})},get:function(t,e){var o=t[this.id];if(void 0!==o)return o[e]}};var L=function(t,e,o){var n=e.respectEffect,r=void 0!==n&&n,i=e.customEvent,a=void 0!==i&&i,l=this.props.id,s=o.target.getAttribute("data-tip")||null,p=o.target.getAttribute("data-for")||null,c=o.target;
1if(!this.isCustomEvent(c)||a){var d=null==l&&null==p||p===l;if(null!=s&&(!r||"float"===this.getEffect(c))&&d){var f=function(t){var e={};for(var o in t)"function"===typeof t[o]?e[o]=t[o].bind(t):e[o]=t[o];return e}(o);f.currentTarget=c,t(f)}}},S=function(t,e){var o={};return t.forEach(function(t){var n=t.getAttribute(e);n&&n.split(" ").forEach(function(t){return o[t]=!0})}),o},A=function(){return document.getElementsByTagName("body")[0]};function C(t,e,o,n,r,i,a){for(var l=H(o),s=l.width,p=l.height,c=H(e),d=c.width,f=c.height,u=I(t,e,i),b=u.mouseX,h=u.mouseY,m=B(i,d,f,s,p),_=D(a),v=_.extraOffset_X,g=_.extraOffset_Y,y=window.innerWidth,w=window.innerHeight,E=N(o),T=E.parentTop,x=E.parentLeft,O=function(t){var e=m[t].l;return b+e+v},k=function(t){var e=m[t].t;return h+e+g},L=function(t){return function(t){var e=m[t].r;return b+e+v}(t)>y},S=function(t){return function(t){var e=m[t].b;return h+e+g}(t)>w},A=function(t){return function(t){return O(t)<0}(t)||L(t)||function(t){return k(t)<0}(t)||S(t)},C=function(t){return!A(t)},R=["top","bottom","left","right"],P=[],j=0;j<4;j++){var z=R[j];C(z)&&P.push(z)}var M,W=!1,U=r!==n;return C(r)&&U?(W=!0,M=r):P.length>0&&U&&A(r)&&A(n)&&(W=!0,M=P[0]),W?{isNewState:!0,newState:{place:M}}:{isNewState:!1,position:{left:parseInt(O(n)-x,10),top:parseInt(k(n)-T,10)}}}var R,P,j,H=function(t){var e=t.getBoundingClientRect(),o=e.height,n=e.width;return{height:parseInt(o,10),width:parseInt(n,10)}},I=function(t,e,o){var n=e.getBoundingClientRect(),r=n.top,i=n.left,a=H(e),l=a.width,s=a.height;return"float"===o?{mouseX:t.clientX,mouseY:t.clientY}:{mouseX:i+l/2,mouseY:r+s/2}},B=function(t,e,o,n,r){var i,a,l,s;return"float"===t?(i={l:-n/2,r:n/2,t:-(r+3+2),b:-3},l={l:-n/2,r:n/2,t:15,b:r+3+2+12},s={l:-(n+3+2),r:-3,t:-r/2,b:r/2},a={l:3,r:n+3+2,t:-r/2,b:r/2}):"solid"===t&&(i={l:-n/2,r:n/2,t:-(o/2+r+2),b:-o/2},l={l:-n/2,r:n/2,t:o/2,b:o/2+r+2},s={l:-(n+e/2+2),r:-e/2,t:-r/2,b:r/2},a={l:e/2,r:n+e/2+2,t:-r/2,b:r/2}),{top:i,bottom:l,left:s,right:a}},D=function(t){var e=0,o=0;for(var n in"[object String]"===Object.prototype.toString.apply(t)&&(t=JSON.parse(t.toString().replace(/\'/g,'"'))),t)"top"===n?o-=parseInt(t[n],10):"bottom"===n?o+=parseInt(t[n],10):"left"===n?e-=parseInt(t[n],10):"right"===n&&(e+=parseInt(t[n],10));return{extraOffset_X:e,extraOffset_Y:o}},N=function(t){for(var e=t;e&&"none"===window.getComputedStyle(e).getPropertyValue("transform");)e=e.parentElement;return{parentTop:e&&e.getBoundingClientRect().top||0,parentLeft:e&&e.getBoundingClientRect().left||0}};function z(t,e,o,r){if(e)return e;if(void 0!==o&&null!==o)return o;if(null===o)return null;var i=/<br\s*\/?>/;return r&&"false"!==r&&i.test(t)?t.split(i).map(function(t,e){return n.createElement("span",{key:e,className:"multi-line"},t)}):t}function M(t){var e={};return Object.keys(t).filter(function(t){return/(^aria-\w+$|^role$)/.test(t)}).forEach(function(o){e[o]=t[o]}),e}!function(t){if(t&&"undefined"!==typeof window){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t,document.head.appendChild(e)}}('.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n padding: 8px 21px;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip:before, .__react_component_tooltip:after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0px;\n margin-left: 0px;\n visibility: visible;\n}\n.__react_component_tooltip.type-dark {\n color: #fff;\n background-color: #222;\n}\n.__react_component_tooltip.type-dark.place-top:after {\n border-top-color: #222;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-dark.place-bottom:after {\n border-bottom-color: #222;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-dark.place-left:after {\n border-left-color: #222;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-dark.place-right:after {\n border-right-color: #222;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-dark.border {\n border: 1px solid #fff;\n}\n.__react_component_tooltip.type-dark.border.place-top:before {\n border-top: 8px solid #fff;\n}\n.__react_component_tooltip.type-dark.border.place-bottom:before {\n border-bottom: 8px solid #fff;\n}\n.__react_component_tooltip.type-dark.border.place-left:before {\n border-left: 8px solid #fff;\n}\n.__react_component_tooltip.type-dark.border.place-right:before {\n border-right: 8px solid #fff;\n}\n.__react_component_tooltip.type-success {\n color: #fff;\n background-color: #8DC572;\n}\n.__react_component_tooltip.type-success.place-top:after {\n border-top-color: #8DC572;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-success.place-bottom:after {\n border-bottom-color: #8DC572;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-success.place-left:after {\n border-left-color: #8DC572;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-success.place-right:after {\n border-right-color: #8DC572;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-success.border {\n border: 1px solid #fff;\n}\n.__react_component_tooltip.type-success.border.place-top:before {\n border-top: 8px solid #fff;\n}\n.__react_component_tooltip.type-success.border.place-bottom:before {\n border-bottom: 8px solid #fff;\n}\n.__react_component_tooltip.type-success.border.place-left:before {\n border-left: 8px solid #fff;\n}\n.__react_component_tooltip.type-success.border.place-right:before {\n border-right: 8px solid #fff;\n}\n.__react_component_tooltip.type-warning {\n color: #fff;\n background-color: #F0AD4E;\n}\n.__react_component_tooltip.type-warning.place-top:after {\n border-top-color: #F0AD4E;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-warning.place-bottom:after {\n border-bottom-color: #F0AD4E;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-warning.place-left:after {\n border-left-color: #F0AD4E;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-warning.place-right:after {\n border-right-color: #F0AD4E;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-warning.border {\n border: 1px solid #fff;\n}\n.__react_component_tooltip.type-warning.border.place-top:before {\n border-top: 8px solid #fff;\n}\n.__react_component_tooltip.type-warning.border.place-bottom:before {\n border-bottom: 8px solid #fff;\n}\n.__react_component_tooltip.type-warning.border.place-left:before {\n border-left: 8px solid #fff;\n}\n.__react_component_tooltip.type-warning.border.place-right:before {\n border-right: 8px solid #fff;\n}\n.__react_component_tooltip.type-error {\n color: #fff;\n background-color: #BE6464;\n}\n.__react_component_tooltip.type-error.place-top:after {\n border-top-color: #BE6464;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-error.place-bottom:after {\n border-bottom-color: #BE6464;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-error.place-left:after {\n border-left-color: #BE6464;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-error.place-right:after {\n border-right-color: #BE6464;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-error.border {\n border: 1px solid #fff;\n}\n.__react_component_tooltip.type-error.border.place-top:before {\n border-top: 8px solid #fff;\n}\n.__react_component_tooltip.type-error.border.place-bottom:before {\n border-bottom: 8px solid #fff;\n}\n.__react_component_tooltip.type-error.border.place-left:before {\n border-left: 8px solid #fff;\n}\n.__react_component_tooltip.type-error.border.place-right:before {\n border-right: 8px solid #fff;\n}\n.__react_component_tooltip.type-info {\n color: #fff;\n background-color: #337AB7;\n}\n.__react_component_tooltip.type-info.place-top:after {\n border-top-color: #337AB7;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-info.place-bottom:after {\n border-bottom-color: #337AB7;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-info.place-left:after {\n border-left-color: #337AB7;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-info.place-right:after {\n border-right-color: #337AB7;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-info.border {\n border: 1px solid #fff;\n}\n.__react_component_tooltip.type-info.border.place-top:before {\n border-top: 8px solid #fff;\n}\n.__react_component_tooltip.type-info.border.place-bottom:before {\n border-bottom: 8px solid #fff;\n}\n.__react_component_tooltip.type-info.border.place-left:before {\n border-left: 8px solid #fff;\n}\n.__react_component_tooltip.type-info.border.place-right:before {\n border-right: 8px solid #fff;\n}\n.__react_component_tooltip.type-light {\n color: #222;\n background-color: #fff;\n}\n.__react_component_tooltip.type-light.place-top:after {\n border-top-color: #fff;\n border-top-style: solid;\n border-top-width: 6px;\n}\n.__react_component_tooltip.type-light.place-bottom:after {\n border-bottom-color: #fff;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n}\n.__react_component_tooltip.type-light.place-left:after {\n border-left-color: #fff;\n border-left-style: solid;\n border-left-width: 6px;\n}\n.__react_component_tooltip.type-light.place-right:after {\n border-right-color: #fff;\n border-right-style: solid;\n border-right-width: 6px;\n}\n.__react_component_tooltip.type-light.border {\n border: 1px solid #222;\n}\n.__react_component_tooltip.type-light.border.place-top:before {\n border-top: 8px solid #222;\n}\n.__react_component_tooltip.type-light.border.place-bottom:before {\n border-bottom: 8px solid #222;\n}\n.__react_component_tooltip.type-light.border.place-left:before {\n border-left: 8px solid #222;\n}\n.__react_component_tooltip.type-light.border.place-right:before {\n border-right: 8px solid #222;\n}\n.__react_component_tooltip.place-top {\n margin-top: -10px;\n}\n.__react_component_tooltip.place-top:before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n bottom: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-top:after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n}\n.__react_component_tooltip.place-bottom {\n margin-top: 10px;\n}\n.__react_component_tooltip.place-bottom:before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n top: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-bottom:after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n}\n.__react_component_tooltip.place-left {\n margin-left: -10px;\n}\n.__react_component_tooltip.place-left:before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n right: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip.place-left:after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n}\n.__react_component_tooltip.place-right {\n margin-left: 10px;\n}\n.__react_component_tooltip.place-right:before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n left: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip.place-right:after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0px;\n text-align: center;\n}');var W,U=function(t){t.hide=function(t){T(E.HIDE,{target:t})},t.rebuild=function(){T(E.REBUILD)},t.show=function(t){T(E.SHOW,{target:t})},t.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},t.prototype.globalShow=function(t){if(this.mount){var e={currentTarget:t.detail.target};this.showTooltip(e,!0)}},t.prototype.globalHide=function(t){if(this.mount){var e=!!(t&&t.detail&&t.detail.target);this.hideTooltip({currentTarget:e&&t.detail.target},e)}}}(R=function(t){t.prototype.bindWindowEvents=function(t){window.removeEventListener(E.HI
1DE,this.globalHide),window.addEventListener(E.HIDE,this.globalHide,!1),window.removeEventListener(E.REBUILD,this.globalRebuild),window.addEventListener(E.REBUILD,this.globalRebuild,!1),window.removeEventListener(E.SHOW,this.globalShow),window.addEventListener(E.SHOW,this.globalShow,!1),t&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},t.prototype.unbindWindowEvents=function(){window.removeEventListener(E.HIDE,this.globalHide),window.removeEventListener(E.REBUILD,this.globalRebuild),window.removeEventListener(E.SHOW,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},t.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(R=function(t){t.prototype.isCustomEvent=function(t){return this.state.event||!!t.getAttribute("data-event")},t.prototype.customBindListener=function(t){var e=this,o=this.state,n=o.event,r=o.eventOff,i=t.getAttribute("data-event")||n,a=t.getAttribute("data-event-off")||r;i.split(" ").forEach(function(o){t.removeEventListener(o,k.get(t,o));var n=x.bind(e,a);k.set(t,o,n),t.addEventListener(o,n,!1)}),a&&a.split(" ").forEach(function(o){t.removeEventListener(o,e.hideTooltip),t.addEventListener(o,e.hideTooltip,!1)})},t.prototype.customUnbindListener=function(t){var e=this.state,o=e.event,n=e.eventOff,r=o||t.getAttribute("data-event"),i=n||t.getAttribute("data-event-off");t.removeEventListener(r,k.get(t,o)),i&&t.removeEventListener(i,this.hideTooltip)}}(R=function(t){t.prototype.isCapture=function(t){return t&&"true"===t.getAttribute("data-iscapture")||this.props.isCapture||!1}}(R=function(t){t.prototype.getEffect=function(t){return t.getAttribute("data-effect")||this.props.effect||"float"}}(R=function(t){t.prototype.isBodyMode=function(){return!!this.props.bodyMode},t.prototype.bindBodyListener=function(t){var e=this,o=this.state,n=o.event,r=o.eventOff,i=o.possibleCustomEvents,a=o.possibleCustomEventsOff,l=A(),s=S(t,"data-event"),p=S(t,"data-event-off");null!=n&&(s[n]=!0),null!=r&&(p[r]=!0),i.split(" ").forEach(function(t){return s[t]=!0}),a.split(" ").forEach(function(t){return p[t]=!0}),this.unbindBodyListener(l);var c=this.bodyModeListeners={};for(var d in null==n&&(c.mouseover=L.bind(this,this.showTooltip,{}),c.mousemove=L.bind(this,this.updateTooltip,{respectEffect:!0}),c.mouseout=L.bind(this,this.hideTooltip,{})),s)c[d]=L.bind(this,function(t){var o=t.currentTarget.getAttribute("data-event-off")||r;x.call(e,o,t)},{customEvent:!0});for(var f in p)c[f]=L.bind(this,this.hideTooltip,{customEvent:!0});for(var u in c)l.addEventListener(u,c[u])},t.prototype.unbindBodyListener=function(t){t=t||A();var e=this.bodyModeListeners;for(var o in e)t.removeEventListener(o,e[o])}}((j=P=function(t){function e(t){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=c(this,s(e).call(this,t))).state={place:t.place||"top",desiredPlace:t.place||"top",type:"dark",effect:"float",show:!1,border:!1,offset:{},extraClass:"",html:!1,delayHide:0,delayShow:0,event:t.event||null,eventOff:t.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:M(t),isEmptyTip:!1,disable:!1,possibleCustomEvents:t.possibleCustomEvents||"",possibleCustomEventsOff:t.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},o.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),o.mount=!0,o.delayShowLoop=null,o.delayHideLoop=null,o.delayReshow=null,o.intervalUpdateContent=null,o}var o,d,f;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),o=e,d=[{key:"bind",value:function(t){var e=this;t.forEach(function(t){e[t]=e[t].bind(e)})}},{key:"componentDidMount",value:function(){var t=this.props,e=(t.insecure,t.resizeHide);this.bindListener(),this.bindWindowEvents(e)}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(),this.unbindWindowEvents()}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(t){var e,o,n;if(t){var r=t.replace(/\\/g,"\\\\").replace(/"/g,'\\"');e=document.querySelectorAll('[data-tip][data-for="'.concat(r,'"]'))}else e=document.querySelectorAll("[data-tip]:not([data-for])");return n=(o=e).length,o.hasOwnProperty?Array.prototype.slice.call(o):new Array(n).fill().map(function(t){return o[t]})}},{key:"bindListener",value:function(){var t=this,e=this.props,o=e.id,n=e.globalEventOff,r=e.isCapture,
1i=this.getTargetArray(o);i.forEach(function(e){null===e.getAttribute("currentItem")&&e.setAttribute("currentItem","false"),t.unbindBasicListener(e),t.isCustomEvent(e)&&t.customUnbindListener(e)}),this.isBodyMode()?this.bindBodyListener(i):i.forEach(function(e){var o=t.isCapture(e),n=t.getEffect(e);t.isCustomEvent(e)?t.customBindListener(e):(e.addEventListener("mouseenter",t.showTooltip,o),"float"===n&&e.addEventListener("mousemove",t.updateTooltip,o),e.addEventListener("mouseleave",t.hideTooltip,o))}),n&&(window.removeEventListener(n,this.hideTooltip),window.addEventListener(n,this.hideTooltip,r)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var t=this,e=this.props,o=e.id,n=e.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(o).forEach(function(e){t.unbindBasicListener(e),t.isCustomEvent(e)&&t.customUnbindListener(e)}),n&&window.removeEventListener(n,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(t){var e=this.isCapture(t);t.removeEventListener("mouseenter",this.showTooltip,e),t.removeEventListener("mousemove",this.updateTooltip,e),t.removeEventListener("mouseleave",this.hideTooltip,e)}},{key:"getTooltipContent",value:function(){var t,e=this.props,o=e.getContent,n=e.children;return o&&(t=Array.isArray(o)?o[0]&&o[0](this.state.originTooltip):o(this.state.originTooltip)),z(this.state.originTooltip,n,t,this.state.isMultiline)}},{key:"isEmptyTip",value:function(t){return"string"===typeof t&&""===t||null===t}},{key:"showTooltip",value:function(t,e){if(!e||this.getTargetArray(this.props.id).some(function(e){return e===t.currentTarget})){var o=this.props,n=o.multiline,r=o.getContent,i=t.currentTarget.getAttribute("data-tip"),a=t.currentTarget.getAttribute("data-multiline")||n||!1,l=t instanceof window.FocusEvent||e,s=!0;t.currentTarget.getAttribute("data-scroll-hide")?s="true"===t.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(s=this.props.scrollHide);var p=t.currentTarget.getAttribute("data-place")||this.props.place||"top",c=l?"solid":this.getEffect(t.currentTarget),d=t.currentTarget.getAttribute("data-offset")||this.props.offset||{},f=C(t,t.currentTarget,this.tooltipRef,p,p,c,d);f.position&&this.props.overridePosition&&(f.position=this.props.overridePosition(f.position,t.currentTarget,this.tooltipRef,p,p,c,d));var u=f.isNewState?f.newState.place:p;this.clearTimer();var b=t.currentTarget,h=this.state.show?b.getAttribute("data-delay-update")||this.props.delayUpdate:0,m=this,_=function(){m.setState({originTooltip:i,isMultiline:a,desiredPlace:p,place:u,type:b.getAttribute("data-type")||m.props.type||"dark",effect:c,offset:d,html:b.getAttribute("data-html")?"true"===b.getAttribute("data-html"):m.props.html||!1,delayShow:b.getAttribute("data-delay-show")||m.props.delayShow||0,delayHide:b.getAttribute("data-delay-hide")||m.props.delayHide||0,delayUpdate:b.getAttribute("data-delay-update")||m.props.delayUpdate||0,border:b.getAttribute("data-border")?"true"===b.getAttribute("data-border"):m.props.border||!1,extraClass:b.getAttribute("data-class")||m.props.class||m.props.className||"",disable:b.getAttribute("data-tip-disable")?"true"===b.getAttribute("data-tip-disable"):m.props.disable||!1,currentTarget:b},function(){s&&m.addScrollListener(m.state.currentTarget),m.updateTooltip(t),r&&Array.isArray(r)&&(m.intervalUpdateContent=setInterval(function(){if(m.mount){var t=m.props.getContent,e=z(i,"",t[0](),a),o=m.isEmptyTip(e);m.setState({isEmptyTip:o}),m.updatePosition()}},r[1]))})};h?this.delayReshow=setTimeout(_,h):_()}}},{key:"updateTooltip",value:function(t){var e=this,o=this.state,n=o.delayShow,r=o.disable,i=this.props.afterShow,a=this.getTooltipContent(),l=parseInt(n,10),s=t.currentTarget||t.target;if(!this.mouseOnToolTip()&&!this.isEmptyTip(a)&&!r){var p=function(){if(Array.isArray(a)&&a.length>0||a){var o=!e.state.show;e.setState({currentEvent:t,currentTarget:s,show:!0},function(){e.updatePosition(),o&&i&&i(t)})}};clearTimeout(this.delayShowLoop),n?this.delayShowLoop=setTimeout(p,l):p()}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(t,e){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},r=this.state.disable,i=n.isScroll?0:this.state.delayHide,a=this.props.afterHide,l=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(l)&&!r){if(e&&(!this.getTargetArray(this.props.id).some(function(e){return e===t.currentTarget})||!this.state.show))return;var s=function(){var e=o.state.show;o.mouseOnToolTip()?o.listenForTooltipExit():(o.removeListenerForTooltipExit(),o.setState({show:!1},function(){o.removeScrollListener(),e&&a&&a(t)}))};this.clearTimer(),i?this.delayHideLoop=setTimeout(s,parseInt(i,10)):s()}}},{key:"hideTooltipOnScroll",value:function(t,e){this.hideTooltip(t,e,{isScroll:!0})}},{key:"addScrollListener",value:function(t){var e=this.isCapture(t);window.addEventListener("scroll",this.hideTooltipOnScroll,e)}},{key:"removeScrollListener",value:function(){window.removeEventListener("scroll",this.hideTooltipOnScroll)}},{key:"updatePosition",value:function(){var t=this,e=this.state,o=e.currentEvent,n=e.currentTarget,r=e.place,i=e.desiredPlace,a=e.effect,l=e.offset,s=this.tooltipRef,p=C(o,n,s,r,i,a,l);if(p.position&&this.props.overridePosition&&(p.position=this.props.overridePosition(p.position,o,n,s,r,i,a,l)),p.isNewState)return this.setState(p.newState,function(){t.updatePosition()});s.style.left=p.position.left+"px",s.style.top=p.position.top+"px"}},{key:"clearTimer",value:function(){clearTimeout(this.delayShowLoop),clearTimeout(this.delayHideLoop),clearTimeout(this.delayReshow),clearInterval(this.intervalUpdateContent)}},{key:"render",value:function(){var t=this,o=this.state,r=o.extraClass,i=o.html,l=o.ariaProps,s=o.disable,p=this.getTooltipContent(),c=this.isEmptyTip(p),d="__react_component_tooltip"+(!this.state.show||s||c?"":" show")+(this.state.border?" border":"")+" place-".concat(this.state.place)+" type-".concat(this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),f=this.props.wrapper;e.supportedWrappers.indexOf(f)<0&&(f=e.defaultProps.wrapper);
1var u=[d,r].filter(Boolean).join(" ");return i?n.createElement(f,a({className:u,id:this.props.id,ref:function(e){return t.tooltipRef=e}},l,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:p}})):n.createElement(f,a({className:u,id:this.props.id},l,{ref:function(e){return t.tooltipRef=e},"data-id":"tooltip"}),p)}}],f=[{key:"getDerivedStateFromProps",value:function(t,e){var o=e.ariaProps,n=M(t);return Object.keys(n).some(function(t){return n[t]!==o[t]})?function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?l(Object(o),!0).forEach(function(e){i(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({},e,{ariaProps:n}):null}}],d&&r(o.prototype,d),f&&r(o,f),e}(n.Component),i(P,"propTypes",{children:w.any,place:w.string,type:w.string,effect:w.string,offset:w.object,multiline:w.bool,border:w.bool,insecure:w.bool,class:w.string,className:w.string,id:w.string,html:w.bool,delayHide:w.number,delayUpdate:w.number,delayShow:w.number,event:w.string,eventOff:w.string,watchWindow:w.bool,isCapture:w.bool,globalEventOff:w.string,getContent:w.any,afterShow:w.func,afterHide:w.func,overridePosition:w.func,disable:w.bool,scrollHide:w.bool,resizeHide:w.bool,wrapper:w.string,bodyMode:w.bool,possibleCustomEvents:w.string,possibleCustomEventsOff:w.string,clickable:w.bool}),i(P,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),i(P,"supportedWrappers",["div","span"]),i(P,"displayName","ReactTooltip"),(W=R=j).prototype.bindRemovalTracker=function(){var t=this,e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=e){var o=new e(function(e){for(var o=0;o<e.length;o++)for(var n=e[o],r=0;r<n.removedNodes.length;r++)if(n.removedNodes[r]===t.state.currentTarget)return void t.hideTooltip()});o.observe(window.document,{childList:!0,subtree:!0}),this.removalTracker=o}},R=void(W.prototype.unbindRemovalTracker=function(){this.removalTracker&&(this.removalTracker.disconnect(),this.removalTracker=null)})||R))||R)||R)||R)||R)||R)||R;const F=U},33907(t,e,o){o.d(e,{A:()=>c});var n=o(25015),r=o(96540),i=o(30873),a=o(5556),l=o(21188),s=o(62582),p=o(31604);function c(t){var e=t.randomizeID,o=void 0!==e&&e,a=t.containerClass,c=void 0===a?"":a,d=t.className,f=void 0===d?"":d,u=t.id,b=void 0===u?"":u,h=t.href,m=void 0===h?"":h,_=t.onClick,v=void 0===_?function(){}:_,g=t.style,y=void 0===g?{}:g,w=t.event,E=void 0===w?"":w,T=t.disableMobileEvent,x=void 0!==T&&T,O=t.children,k=t.place,L=void 0===k?"":k,S=t.tooltipClassName,A=void 0===S?"":S,C=t.html,R=void 0!==C&&C,P=t.delayHide,j=void 0===P?0:P,H=t.delayShow,I=void 0===H?300:H,B=t.onShow,D=void 0===B?function(){}:B,N=t.content,z=void 0===N?"":N,M=t.heading,W=void 0===M?"":M,U=t.overridePosition,F=void 0===U?null:U,Y=t.clickable,X=void 0!==Y&&Y,q=t.onHide,V=void 0===q?function(){}:q,$=t.isAdjustable,J=void 0!==$&&$,K=t.offset,Z=void 0===K?{}:K,G=t.delayUpdate,Q=void 0===G?0:G,tt=(0,r.useState)(!1),et=(0,n.zC)(tt,2),ot=et[0],nt=et[1],rt=(0,r.useState)(0),it=(0,n.zC)(rt,2),at=it[0],lt=it[1],st=(0,s.A)(),pt=["xs","sm"].includes(st),ct=(0,p.Ay)("tooltip-"),dt=(0,r.useState)(function(){return o?(0,p.Ds)("-"):""}),ft=(0,n.zC)(dt,1)[0],ut=(0,r.useState)(!1),bt=(0,n.zC)(ut,2),ht=bt[0],mt=bt[1],_t=Boolean(b),vt=_t?"tooltip-".concat(b):ct,gt="".concat(vt).concat(ft),yt=o||!_t?gt:vt,wt=ht&&pt&&!x?"click":E;function Et(){X||(i.A.hide(),nt(!1),lt(function(t){return t+1}))}(0,r.useEffect)(function(){mt(!0)},[]);var Tt=r.createElement(r.Fragment,null,W&&r.createElement("div",{className:"cgt-tooltip__head"},W),z);return r.createElement("span",{className:c},r.createElement("span",{className:f,"data-tip":!0,"data-for":gt,href:m,onClick:v,onMouseLeave:Et,onBlur:Et,style:y,"data-event":wt,onMouseDown:function(){return(t=ot)||i.A.hide(),void nt(!t);var t}},O),r.createElement(i.A,{key:"".concat(gt,"-").concat(at),place:L,effect:"solid",id:gt,uuid:yt,className:(0,l.A)("cgt-tooltip",A,X&&"cgt-tooltip--clickable",J&&"cgt-tooltip--adjustable"),html:R,delayHide:X&&!j?500:j,delayShow:I,delayUpdate:Q,afterShow:function(t){nt(!0),D(t)},afterHide:function(t){nt(!1),V(t)}
1,globalEventOff:"click",overridePosition:F,offset:Z},R?z:Tt))}c.propTypes={randomizeID:a.bool,containerClass:a.string,className:a.string,id:a.string,href:a.string,onClick:a.func,onShow:a.func,style:a.object,event:a.string,disableMobileEvent:a.bool,place:a.string,tooltipClassName:a.string,html:a.bool,delayHide:a.number,delayShow:a.number,content:(0,a.oneOfType)([a.string,a.node]),heading:(0,a.oneOfType)([a.string,a.node]),overridePosition:a.func,clickable:a.bool,onHide:a.func,isAdjustable:a.bool,offset:a.object,delayUpdate:a.number}},74631(t,e,o){o.d(e,{A:()=>a});var n=o(96540),r=o(5556),i=o(21188);function a(t){var e=t.size,o=void 0===e?"":e,r=t.classNames,a=void 0===r?"":r;return n.createElement("div",{className:(0,i.A)("cgt-spinner",o&&"cgt-spinner--".concat(o),a&&a)})}a.propTypes={size:(0,r.oneOf)(["small","xsmall","",void 0]),classNames:r.string}},62582(t,e,o){o.d(e,{A:()=>a});var n=o(25015),r=o(96540);function i(t){if(t){var e="xxl";switch(!0){case t<576:e="xs";break;case t<964:e="sm";break;case t<1256:e="md";break;case t<1576:e="lg";break;case t<1848:e="xl";break;default:e="xxl"}return e}}function a(){var t="object"===("undefined"===typeof window?"undefined":(0,n.uk)(window)),e=(0,r.useState)(t?i(window.innerWidth):void 0),o=(0,n.zC)(e,2),a=o[0],l=o[1];return(0,r.useEffect)(function(){function e(){l(i(window.innerWidth))}if(t)return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),a}},31604(t,e,o){o.d(e,{Ay:()=>l,Ds:()=>a});var n=o(25015),r=o(96540),i=0;function a(){return i+=1,"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").concat(i.toString(36))}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="function"===typeof r.useId?r.useId():"",o=(0,r.useState)(function(){return a(t)}),i=(0,n.zC)(o,1)[0];return e?"".concat(t).concat(function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/[^a-zA-Z0-9_-]/g,"")}(e)):i}}}]); 2//# sourceMappingURL=89393-4b83dd09ca25cbdac00a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.