1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[312],{47743:function(){},24561:function(e,t,n){"use strict";var r=n(67294),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},a.apply(this,arguments)};var o=function(e){var t=e.animate,n=e.backgroundColor,o=e.backgroundOpacity,i=e.baseUrl,l=e.children,s=e.foregroundColor,c=e.foregroundOpacity,u=e.gradientRatio,p=e.uniqueKey,d=e.interval,f=e.rtl,h=e.speed,m=e.style,y=e.title,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","interval","rtl","speed","style","title"]),b=p||Math.random().toString(36).substring(6),g=b+"-diff",O=b+"-animated-diff",E=b+"-aria",w=f?{transform:"scaleX(-1)"}:null,k="0; "+d+"; 1",C=h+"s";return(0,r.createElement)("svg",a({"aria-labelledby":E,role:"img",style:a(a({},m),w)},v),y?(0,r.createElement)("title",{id:E},y):null,(0,r.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+i+"#"+g+")",style:{fill:"url("+i+"#"+O+")"}}),(0,r.createElement)("defs",{role:"presentation"},(0,r.createElement)("clipPath",{id:g},l),(0,r.createElement)("linearGradient",{id:O},(0,r.createElement)("stop",{offset:"0%",stopColor:n,stopOpacity:o},t&&(0,r.createElement)("animate",{attributeName:"offset",values:-u+"; "+-u+"; 1",keyTimes:k,dur:C,repeatCount:"indefinite"})),(0,r.createElement)("stop",{offset:"50%",stopColor:s,stopOpacity:c},t&&(0,r.createElement)("animate",{attributeName:"offset",values:-u/2+"; "+-u/2+"; "+(1+u/2),keyTimes:k,dur:C,repeatCount:"indefinite"})),(0,r.createElement)("stop",{offset:"100%",stopColor:n,stopOpacity:o},t&&(0,r.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+u),keyTimes:k,dur:C,repeatCount:"indefinite"})))))};o.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading..."};var i=function(e){return e.children?(0,r.createElement)(o,a({},e)):(0,r.createElement)(l,a({},e))},l=function(e){return(0,r.createElement)(i,a({viewBox:"0 0 476 124"},e),(0,r.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,r.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};t.ZP=i},93658:function(e,t,n){"use strict";t.Z=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=(r=n(94184))&&r.__esModule?r:{default:r};function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var f="Select...",h=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?p(e):t}(this,u(t).call(this,e))).state={selected:n.parseValue(e.value,e.options)||{label:"undefined"===typeof e.placeholder?f:e.placeholder,value:""},isOpen:!1},n.dropdownRef=(0,a.createRef)(),n.mounted=!0,n.handleDocumentClick=n.handleDocumentClick.bind(p(n)),n.fireChangeEvent=n.fireChangeEvent.bind(p(n)),n}var n,r,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(r=[{key:"componentDidUpdate",value:function(e){if(this.props.value!==e.value)if(this.props.value){var t=this.parseValue(this.props.value,this.props.options);t!==this.state.selected&&this.setState({selected:t})}else this.setState({selected:{label:"undefined"===typeof this.props.placeholder?f:this.props.placeholder,value:""}})}},{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleDocumentClick,!1),document.addEventListener("touchend",this.handleDocumentClick,!1)}},{key:"componentWillUnmount",value:function(){this.mounted=!1,document.removeEventListener("click",this.handleDocumentClick,!1),document.removeEventListener("touchend",this.handleDocumentClick,!1)}},{key:"handleMouseDown",value:function(e){this.props.onFocus&&"function"===typeof this.props.onFocus&&this.props.onFocus(this.state.isOpen),"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.props.disabled||this.setState({isOpen:!this.state.isOpen}))}},{key:"parseValue",value:function(e,t){var n;if("string"===typeof e)for(var r=0,a=t.length;r<a;r++)if("group"===t[r].type){var o=t[r].items.filter((function(t){return t.value===e}));o.length&&(n=o[0])}else"undefined"!==typeof t[r].value&&t[r].value===e&&(n=t[r]);return n||e}},{key:"setValue",value:function(e,t){var n={selected:{value:e,label:t},isOpen:!1};this.fireChangeEvent(n),this.setState(n)}},{key:"fireChangeEvent",value:function(e){e.selected!==this.state.selected&&this.props.onChange&&this.props.onChange(e.selected)}},{key:"renderOption",value:function(e){var t,n=e.value;"undefined"===typeof n&&(n=e.label||e);var r=e.label||e.value||e,i=n===this.state.selected.value||n===this.state.selected,l=(s(t={},"".concat(this.props.baseClassName,"-option"),!0),s(t,e.className,!!e.className),s(t,"is-selected",i),t),c=(0,o.default)(l);return a.default.createElement("div",{key:n,className:c,onMouseDown:this.setValue.bind(this,n,r),onClick:this.setValue.bind(this,n,r),role:"option","aria-selected":i?"true":"false"},r)}},{key:"buildMenu",value:function(){var e=this,t=this.props,n=t.options,r=t.baseClassName,o=n.map((function(t){if("group"===t.type){var n=a.default.createElement("div",{className:"".concat(r,"-title")},t.name),o=t.items.map((function(t){return e.renderOption(t)}));return a.default.createElement("div",{className:"".concat(r,"-group"),key:t.name,role:"listbox",tabIndex:"-1"},n,o)}return e.renderOption(t)}));return o.length?o:a.default.createElement("div",{className:"".concat(r,"-noresults")},"No options found")}},{key:"handleDocumentClick",value:function(e){this.mounted&&(this.dropdownRef.current.contains(e.target)||this.state.isOpen&&this.setState({isOpen:!1}))}},{key:"isValueSelected",value:function(){return"string"===typeof this.state.selected||""!==this.state.selected.value}},{key:"render",value:function(){var e,t,n,r,i,l=this.props,c=l.baseClassName,u=l.controlClassName,p=l.placeholderClassName,d=l.menuClassName,f=l.arrowClassName,h=l.arrowClosed,m=l.arrowOpen,y=l.className,v=this.props.disabled?"Dropdown-disabled":"",b="string"===typeof this.state.selected?this.state.selected:this.state.selected.label,g=(0,o.default)((s(e={},"".concat(c,"-root"),!0),s(e,y,!!y),s(e,"is-open",this.state.isOpen),e)),O=(0,o.default)((s(t={},"".concat(c,"-control"),!0),s(t,u,!!u),s(t,v,!!v),t)),E=(0,o.default)((s(n={},"".concat(c,"-placeholder"),!0),s(n,p,!!p),s(n,"is-selected",this.isValueSelected()),n)),w=(0,o.default)((s(r={},"".concat(c,"-menu"),!0),s(r,d,!!d),r)),k=(0,o.default)((s(i={},"".concat(c,"-arrow"),!0),s(i,f,!!f),i)),C=a.default.createElement("div",{className:E},b),N=this.state.isOpen?a.default.createElement("div",{className:w,"aria-expanded":"true"},this.buildMenu()):null;return a.default.createElement("div",{ref:this.dropdownRef,className:g},a.default.createElement("div",{className:O,onMouseDown:this.handleMouseDown.bind(this),onTouchEnd:this.handleMouseDown.bind(this),"aria-haspopup":"listbox"},C,a.default.createElement("div",{className:"".concat(c,"-arrow-wrapper")},m&&h?this.state.isOpen?m:h:a.default.createElement("span",{className:k}))),N)}}])&&c(n.prototype,r),i&&c(n,i),t}(a.Component);h.defaultProps={baseClassName:"Dropdown"};var m=h;t.Z=m}}]);
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.