!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("lodash"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","lodash","reactDOM"],t):"object"==typeof exports?exports.baseUILib=t(require("react"),require("lodash"),require("react-dom")):e.baseUILib=t(e.React,e._,e.ReactDOM)}(this,function(e,t,n){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=169)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";e.exports={ACTION_WITH_SYMBOL:"ActionWithSymbol",ANGLE_INPUT:"AngleInput",ADD_THUMBNAIL_BUTTON:"AddThumbnailButton",BACK_BUTTON:"BackButton",BUBBLE:"Bubble",BUTTON:"Button",BUTTON_CONTENT:"ButtonContent",BUTTONS_GROUP:"ButtonsGroup",CLOSE_BUTTON:"CloseButton",CHECKBOX:"Checkbox",CHOOSE_COLOR_DIALOG:"ChooseColorDialog",COLOR_FORMAT:"ColorFormat",COLOR_SPACE:"ColorSpace",COLOR_PICKER_INPUT:"ColorPickerInput",CONTEXT_MENU:"ContextMenu",CONTEXT_MENU_ACTION:"ContextMenuAction",CONTEXT_MENU_CONTENT:"ContextMenuContent",CONTEXTUAL_DIVIDER:"ContextualDivider",CORNER:"Corner",CORNER_RADIUS_INPUT:"CornerRadiusInput",DATE_PICKER:"DatePicker",DATE_PICKER_INPUT:"DatePickerInput",DIVIDER:"Divider",DOCK:"Dock",DOCK_DIRECTION:"DockDirection",DRILL_IN_LIST_ITEM:"DrillInListItem",DROP_DOWN:"DropDown",DROP_DOWN_BASE:"DropDownBase",DROP_DOWN_BASE_OPTIONS:"DropDownBaseOptions",DROP_DOWN_DETAILED_OPTION:"DropDownDetailedOption",DROP_DOWN_OPTION:"DropDownOption",DROP_DOWN_STICKY_FOOTER:"DropDownStickyFooter",DROP_DOWN_THEME_OPTION:"DropDownThemeOption",DYNAMIC_FIELD:"DynamicField",EDITABLE_URL:"EditableURL",FONT_FAMILY_PICKER:"FontFamilyPicker",GOOGLE_PREVIEW:"GooglePreview",HELP_BUTTON:"HelpButton",HORIZONTAL_TABS:"HorizontalTabs",ILLUSTRATION:"Illustration",RADIO_BUTTONS_WITH_ILLUSTRATION:"RadioButtonsWithIllustration",IMAGE_AND_TEXT_TEMPLATE:"ImageAndTextTemplate",INFO_ICON:"InfoIcon",MY_COLORS:"MyColors",NUMERIC_INPUT:"NumericInput",OPACITY_PICKER:"OpacityPicker",PALETTE:"Palette",PALETTE_DIALOG:"PaletteDialog",PALETTE_PICKER:"PalettePicker",PALETTE_PICKER_DIALOG:"PalettePickerDialog",PANEL_HEADER:"PanelHeader",PRELOADER:"Preloader",PROGRESS_BAR:"ProgressBar",PROMOTIONAL_LIST:"PromotionalList",RADIO_BUTTON:"RadioButton",RADIO_BUTTONS:"RadioButtons",RESET_COLOR:"ResetColor",RICH_TEXT:"RichText",SECONDARY_MEDIA_IMAGE:"SecondaryMediaImage",SECTION_DIVIDER:"SectionDivider",SLIDER:"Slider",SORT_BY_DRAG_LIST:"SortByDragList",SORT_BY_DRAG_LIST_ITEM_ROW_BASE:"SortByDragListItemRowBase",SORT_BY_DRAG_LIST_ITEM_ROW:"SortByDragListItemRow",SORT_BY_DRAG_LIST_CUSTOM_ITEM_ROW:"SortByDragListCustomItemRow",SORT_BY_DRAG_LIST_TEXT_EDIT:"SortByDragListTextEdit",Symbol:"Symbol",TAB:"Tab",TEXT_FORMATTING_TOGGLE_BUTTON:"textFormattingToggleButton",TEXT_BOLD_BUTTON:"TextBoldButton",TEXT_COLOR_BUTTON:"TextColorButton",TEXT_ITALIC_BUTTON:"TextItalicButton",TEXT_UNDERLINE_BUTTON:"TextUnderlineButton",TEXT_INPUT:"TextInput",TEXT_INPUT_MULTI_LINE:"TextInputMultiline",TEXT_INPUT_MULTI_LINE_WITH_BUTTON:"TextInputMultilineWithButton",TEXT_LABEL:"TextLabel",TEXT_LABEL_BASE:"TextLabelBase",TEXT_LINK_BUTTON:"TextLinkButton",THUMBNAIL:"Thumbnail",THUMBNAIL_BUTTON_GROUP:"thumbnailButtonGroup",THUMBNAIL_COLOR_INPUT:"ThumbnailColorInput",THUMBNAILS:"Thumbnails",TOGGLE:"Toggle",TOGGLE_SWITCH:"ToggleSwitch",TOOLTIP:"Tooltip",TOOLTIP_ON_ELLIPSIS:"TooltipOnEllipsis",UPLOAD_BUTTON:"UploadButton",UPLOAD_BUTTON_STATUS_MESSAGE:"UploadButtonStatusMessage",VERTICAL_TABS:"VerticalTabs"}},function(e,t,n){e.exports=n(172)()},function(e,t,n){"use strict";var o=n(1),r=n(177),i=n(178),a=n(179);e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=o.flowRight.apply(o,[r,i,a].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tNumber(o.toFixed(2))},h=function(e,t){return s.every(p,function(n){return e[n]===t[n]})},m=function(e){return s.includes([u.TEXT_LABEL,u.TEXT_LABEL_BASE],s.invoke(e,"children.type.getDisplayName"))},g=function(e){return s.get(e,"children.props.shouldTranslate")?e.translateIfNeeded(s.get(e,"children.props.value")):s.get(e,"children.props.value")},b={displayTooltip:!1,style:d},y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=b,n.getContentContainerRef=function(e){n.contentContainerRef=e},n.getMeasureContainerRef=function(e){n.measureContainerRef=e},n.getContent=function(){return m(n.props)?g(n.props):s.get(n,"props.children.props",n.props).children},n.getTooltipMessage=function(){return n.props.customTooltipMessage||n.getContent()},n.getMeasureNode=function(){return n.measureContainerRef.firstElementChild||n.measureContainerRef},n.isDisabled=function(){return n.props.disabled||!n.state.displayTooltip},n.getClassName=function(){return n.props.getClassName("tooltip-on-ellipsis-content","contentClassName")},n.onMouseEnter=function(){var e=n.getStyle();h(n.state.style,e)?n.calcEllipsis():n.setState({style:e},n.calcEllipsis)},n.calcEllipsis=function(){var e=f(n.getTextNode(),n.getMeasureNode());n.state.displayTooltip!==e&&n.setState({displayTooltip:e})},n.getTextNode=function(){return s.get(n,"contentContainerRef.firstElementChild",n.contentContainerRef)},n.getStyle=function(){var e=n.getTextNode();return e?s(e).thru(window.getComputedStyle).pick(p).pickBy(s.negate(s.isUndefined)).assign({},d).value():d},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentDidMount",value:function(){if(this.props.customTrigger){var e=a.findDOMNode(this),t=a.findDOMNode(this.props.customTrigger);if(!function(e,t){for(var n=e;null!==n.parentElement;){if(n.parentElement===t)return!0;n=n.parentElement}return!1}(e,t))throw new Error("this.props.customTrigger ("+t+") is not an ancestor of this (tooltipOnEllipsis)");t.addEventListener("mouseenter",this.onMouseEnter)}}},{key:"componentWillUnmount",value:function(){this.props.customTrigger&&a.findDOMNode(this.props.customTrigger).removeEventListener("mouseenter",this.onMouseEnter)}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState(b)}},{key:"render",value:function(){return c.call(this)}}]),t}();y.displayName=u.TOOLTIP_ON_ELLIPSIS,y.propTypes={alignment:r.string,animationDuration:r.number,arrowDistance:r.number,closeOnMouseClick:r.bool,closeOnMouseLeave:r.bool,contentClassName:r.string,customTrigger:r.object,customTooltipMessage:r.oneOfType([r.string,r.node,r.element]),direction:r.string,disabled:r.bool,displayCustomTrigger:r.bool,isOpen:r.bool,marginBottom:r.number,marginLeft:r.number,marginRight:r.number,marginTop:r.number,maxWidth:r.number,onClose:r.func,onOpen:r.func,onOuterClick:r.func,onScroll:r.func,openOnMouseEnter:r.bool,zIndex:r.number},e.exports=l(y)},function(e,t,n){"use strict";var o=n(0),r=n(4),i=n(2),a=function(e){return o.createElement("span",{className:e.getClassName("symbol")},e.children)};a.displayName=i.Symbol,a.propTypes={},e.exports=r(a)},function(e,t,n){"use strict";e.exports={BACKSPACE:8,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACE:32,UP:38,Z:90}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n=0?0:t)},i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,s=function(e){return parseInt(e,16)},l=function(e){return(e<16?"0":"")+e.toString(16).toUpperCase()},c=function(e){return o(["red","green","blue"]).zipObject(i.exec(function(e){return e.replace(a,"#$1$1$2$2$3$3")}(e)).slice(1)).mapValues(s).value()},u=function(e){var t=o.mapValues(e,function(e){return e/255}),n=t.red,i=t.green,a=t.blue,s=Math.max(n,i,a),l=s-Math.min(n,i,a),c=function(e){var t=e.r,n=e.g,o=e.b,i=e.delta,a=e.max;if(0===i)return 0;switch(a){case t:return 60*r((n-o)/i,6);case n:return 60*((o-t)/i+2);case o:return 60*((t-n)/i+4)}}({r:n,g:i,b:a,delta:l,max:s}),u=100*(s&&l/s),p=100*s;return o.mapValues({hue:c,saturation:u,brightness:p},Math.round)},p=function(e){var t=e.hue,n=e.saturation,i=e.brightness,a=r(t,360)/360*6,s=n/100,l=i/100,c=Math.floor(a),u=a-c,p=l*(1-s),d=l*(1-u*s),f=l*(1-(1-u)*s),h=c%6,m=[l,d,p,p,f,l][h],g=[f,l,l,d,p,p][h],b=[p,p,f,l,l,d][h];return o.mapValues({red:m,green:g,blue:b},function(e){return Math.round(255*e)})},d=function(e){return"#"+[e.red,e.green,e.blue].map(l).join("")},f=o.flow(c,u),h=o.flow(p,d);e.exports={rgbToHsb:u,hexToRgb:c,hsbToRgb:p,rgbToHex:d,hexToHsb:f,hsbToHex:h,getDistanceToWhite:function(e){var t=e.saturation,n=e.brightness;return Math.sqrt(Math.pow(100-n,2)+Math.pow(t,2))}}},,,,,function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"value";return i.isValidElement(e)?e.props[t]:s.isObject(e)?e[t]:e},_=function(e){return i.isValidElement(e)||s.isObject(e)?N(e,"optionWrapperClassName"):null},w=function(e){return N(e,"label")},I=function(e){return i.isValidElement(e)?e.props.disabled:!!s.isObject(e)&&e.disabled},D=function(e,t){var n=w(t)||N(t);return n&&s.startsWith(n.toLowerCase(),e.toLowerCase())},A=function(e){return{width:"calc(100% + "+(e.offsetWidth-e.clientWidth)+"px)"}},F=function(e,t){if(i.isValidElement(e))return{key:e.key,child:t?e.props.label||e.props.value:e};var n=s.isString(e)||!e;return{key:n?e:e.key||e.label||e.value,child:n?e:e.label||e.value}},x=function(e){return e?a.findDOMNode(e):null},B=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=function(e){C(e,n.props.value)&&!n.props.callOnChangeAnyway||n.props.onChange(e),n.setState({isOpen:!1,candidateIndex:s.indexOf(n.getOptions(),n.getSelected())})};n.getOptions=function(){var e=n.props.groupedOptions?s.flattenDeep:s.flatten,t=n.props.children&&(s.isArray(n.props.children)?n.props.children:[n.props.children]);return n.props.options||s.compact(e(t))||[]},n.findOption=function(e){return s.find(n.getOptions(),C.bind(null,e))},n.hasChildren=function(){return i.isValidElement(n.getOptions())},n.map=n.hasChildren()?i.Children.map:s.map,n.getSelected=function(){return n.findOption(n.props.value)||n.props.placeholder||n.getOptions()[0]},n.onSelectedMount=function(e){n.wrappedSelectedOption=e},n.onActiveUpdate=function(e){n.activeOption=e},n.registerStickyFooter=function(e){n.stickyFooter=e},n.optionsRefs=[],n.optionsY=[],n.onOptionMount=function(e,t){n.optionsRefs[e]=t,n.optionsY[e]=a.findDOMNode(t).offsetTop},n.getOptionsElements=function(){return n.map(n.getOptions(),function(e,t){return O({onClick:o,onMouseEnter:function(){return n.setState({candidateIndex:t})},shouldTranslate:n.props.shouldTranslate,selected:n.getSelected()===e,active:t===n.state.candidateIndex,onSelectedMount:n.onSelectedMount,onActive:n.onActiveUpdate,key:e.key||N(e),onMount:n.props.shouldPassIsVisibleToOptions?function(e){n.onOptionMount(t,e)}:s.noop,isVisible:n.props.shouldPassIsVisibleToOptions?s.includes(n.state.visibleOptionsIndexes,t):null,wasVisible:n.props.shouldPassIsVisibleToOptions?s.includes(n.state.wasVisibleOptionsIndexes,t):null,registerStickyFooter:n.registerStickyFooter,toggleOptions:n.toggleOptions,optionWrapperClassName:_(e)},e)})},n.getCloseKeys=function(){return n.props.searchBox?[g.ENTER,g.ESC]:null},n.searchOption=function(e){return s.find(n.getOptions(),function(t){return D(e,t)&&n.getIsSelectableByIndex(n.getOptions().indexOf(t))})},n.onSearch=function(e,t){var o=e&&n.searchOption(e),r=o?n.getOptions().indexOf(o):n.state.candidateIndex;n.setState({candidateIndex:r,foundOption:o,searchTerm:e},function(){n.scrollToActive(!0),s.isFunction(t)&&t()})},n.registerInputToAllowEvents=function(e){n.setState({inputToAllowEvents:e})},n.getSelectedElements=function(){var e=n.getSelected(),t=n.props,o=t.hasArrowIcon,r=t.shouldTranslate,a=n.props.searchBox&&n.state.isOpen,s=F(e,a),l=s.key,c=s.child;return a?i.createElement(m,{key:l,hasArrowIcon:o,shouldTranslate:r,value:w(n.state.foundOption)||n.state.searchTerm,searchTerm:n.state.searchTerm,selectedValue:c,onChange:n.onSearch,registerInputToAllowEvents:n.registerInputToAllowEvents}):i.createElement(h,{key:l||"selected",isPlaceholder:n.props.placeholder&&e===n.props.placeholder,hasArrowIcon:o,shouldTranslate:r},c)},n.toggleOptions=function(e){return n.setState({isOpen:s.isUndefined(e)?!n.state.isOpen:e})},n.state={isOpen:!1,optionsStyle:{},optionsInnerStyle:{},visibleOptionsIndexes:[],wasVisibleOptionsIndexes:[],candidateIndex:s.indexOf(n.getOptions(),n.getSelected()),searchTerm:""},n.getValueByIndex=function(e){return N(n.getOptions()[e])},n.getIsDisabledByIndex=function(e){return I(n.getOptions()[e])},n.getIsSelectableByIndex=function(e){return!(s.isUndefined(n.getValueByIndex(e))||n.getIsDisabledByIndex(e))},n.getNewIndex=function(e){var t=n.state.candidateIndex,o=t,r=n.getOptions().length-1;do{t+=e}while(!n.getIsSelectableByIndex(t)&&t>=0&&t<=r);return t===r+Math.abs(e)||t===0-Math.abs(e)?o:t},n.scrollOptionsNode=function(e,t){n.customBlockScroll(e,t)||(e.scrollTop+=t)},n.scrollToActive=function(e){if(n.activeOption){var t=a.findDOMNode(n.activeOption),o=t.parentElement;e&&(o.scrollTop=t.offsetTop);var r=o.scrollTop,i=t.offsetTop+t.offsetHeight,s=r+o.offsetHeight;i>s?n.scrollOptionsNode(o,i-s):t.offsetTop0){if(t>0&&o.top>a)return r(e,t),!0;if(t<0&&o.bottom0&&0===t.scrollTop&&r.y!==e.y?t.scrollTop=e.y-r.y:n.props.shouldPassIsVisibleToOptions&&l(t.scrollTop)})}},n.getOptionsContainerClassName=function(){return s.compact([n.props.optionsContainerClassName,n.props.hiddenScroll&&!n.props.searchBox?"hidden-scroll":null,p.getViewportSize().width<=p.CONSTS.NARROW_VIEWPORT?"narrow-viewport":null]).join(" ")},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return b.call(this)}}]),t}();B.displayName=c.DROP_DOWN,B.propTypes={disabled:r.bool,value:r.any,options:u.PropTypes.options,onChange:r.func,onToggle:r.func,hasArrowIcon:r.bool,hiddenScroll:r.bool,openOnSelected:r.bool,searchBox:r.bool,shouldPassIsVisibleToOptions:r.bool,optionsContainerClassName:r.string,groupedOptions:r.bool,placeholder:r.oneOfType([r.string.isRequired,r.element.isRequired]),callOnChangeAnyway:r.bool,dataLabel:r.string,forceOpen:r.bool},B.defaultProps={disabled:!1,hasArrowIcon:!0,hiddenScroll:!0,openOnSelected:!0,searchBox:!1,shouldPassIsVisibleToOptions:!1,groupedOptions:!1,optionsContainerClassName:"",callOnChangeAnyway:!1},e.exports=l(B)},function(e,t,n){"use strict";var o=n(3),r=n(0),i=n(4),a=n(2),s=n(22),l=function(e){return r.createElement("div",{className:e.getClassName("control-dropdown-option-content"),value:e.value,key:e.key||e.value,disabled:e.disabled,style:e.wasVisibleStyle?function(e){return e.wasVisible?e.wasVisibleStyle:{}}(e):null,"data-aid":e.automationId},e.children&&!e.isSelectedElement?e.children:r.createElement(s,{closeOnMouseClick:!0},e.translateIfNeeded(e.label)))};l.displayName=a.DROP_DOWN_OPTION,l.propTypes={value:o.oneOfType([o.string.isRequired,o.number.isRequired]).isRequired,label:o.string.isRequired,disabled:o.bool,isSelectedElement:o.bool,wasVisible:o.bool,wasVisibleStyle:o.object},l.defaultProps={disabled:!1},e.exports=i(l)},,,,,,function(e,t,n){"use strict";var o=n(1),r=n(171),i=n(175),a=o.mapValues(r,function(e){return i(e)});e.exports=a},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var o={ONCE:"Once",MULTIPLE:"Multiple",OPTIONAL:"Optional",ANY:"Any"},r={once:function(){for(var e=arguments.length,t=Array(e),n=0;no/2?p-o:p);n.handleChange(d)}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"getFilledPartInPercent",value:function(){var e=(this.props.value-this.props.min)/(this.props.max-this.props.min)*100;return Math.min(100,Math.max(0,e))}},{key:"getColoredPartStyle",value:function(){var e=this.props.disabled?"#d5d5d5":this.props.opacityGradientColor;return e?{background:"linear-gradient(90deg, transparent 0%, "+e+" 100%)",width:"100%"}:{width:this.getFilledPartInPercent()+"%"}}},{key:"handleChange",value:function(e){a.isFunction(this.props.onChange)&&this.props.onChange(e)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.onSlide,!0),window.removeEventListener("mouseup",this.onSlideEnd,!0)}},{key:"render",value:function(){return l.call(this)}}]),t}();p.displayName=c.SLIDER,p.propTypes={value:r.number,onChange:r.func,opacityGradientColor:r.string,hideNumericInput:r.bool,onSlideStart:r.func,onSlideEnd:r.func,disabled:r.bool,min:r.number,max:r.number,unit:r.oneOf(Object.keys(u)),step:r.number},p.defaultProps={value:0,step:1,min:0,max:100},e.exports=s(p)},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;nn.actions.length?t:n.actions[o]?o:n.getNewIndex(e<0?e-1:e+1)},n.onKeyDown=function(e,t){if(t)if(e.keyCode===s.UP||e.keyCode===s.DOWN){var o=e.keyCode===s.UP?-1:1;n.setState({candidateIndex:n.getNewIndex(o)})}else if(e.keyCode===s.ENTER||e.keyCode===s.SPACE){var r=n.actions[n.state.candidateIndex]||a.noop;n.props.closeOnEnterOrSpace&&n.toggleOptions(!1),r(e)}},n.getButton=function(){return n.props.customButton?n.props.customButton:g()},n.onOptionsLayoutChange=function(t){if(t){var o=u.getViewportSize(),r=m(n),i=h(t),s={alignment:e.alignment,direction:e.direction},l=u.getOptionsPosition(o,r,i,s),c=u.getArrowPosition(r,l);n.lastValidOptionsX=a.isNaN(l.x)?n.lastValidOptionsX:l.x,n.setState({arrowPosition:c,optionsStyle:{top:l.y,left:n.lastValidOptionsX,height:l.height,width:l.width}})}};var r=function(e,t){if(e.props.onClick){var r=t===n.state.candidateIndex;return n.actions[t]=e.props.onClick,i.cloneElement(e,{onClick:function(t){n.props.closeOnClick&&n.toggleOptions(!1),e.props.onClick(t)},active:r,onMouseEnter:function(){return o(t)},onMouseLeave:function(){return o(null)}})}return delete n.actions[t],e};return n.traceClicksIfNeeded=function(e){var t=a.invoke(e,"type.getDisplayName")===c.CONTEXT_MENU_CONTENT,n=t?e.props.children:e;n=a.isArray(n)?a.compact(n):n;var o=i.Children.map(n,r);return t?i.cloneElement(e,e.props,o):o},n.optionsContainerClassName=function(){return[n.props.optionsContainerClassName,"context-menu-options","arrow-"+n.state.arrowPosition].join(" ")},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return d.call(this)}}]),t}();b.displayName=c.CONTEXT_MENU,b.propTypes={isOpen:r.bool,disabled:r.bool,customButton:r.element,optionsContainerClassName:r.string,closeOnClick:r.bool,closeOnEnterOrSpace:r.bool,blockClickOutside:r.bool,blockScroll:r.bool,alignment:r.string,direction:r.string,onToggle:r.func},b.defaultProps={disabled:!1,optionsContainerClassName:"",closeOnEnterOrSpace:!0,closeOnClick:!0,blockScroll:!0},e.exports=l(b)},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0},m=function(e){return s(e.children).reject(function(e){return s.includes(["fixed","absolute"],window.getComputedStyle(e).position)}).map("offsetHeight").sum()},g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.state={isOpen:!1,arrows:{up:!1,down:!1}},n.isOpen=function(){return n.props.customToggle?n.props.isOpen:n.state.isOpen},n.toggleFunc=n.props.customToggle?n.props.customToggle:function(e){return n.setState({isOpen:s.isUndefined(e)?!n.state.isOpen:e},n.onToggle)},n.toggleOptions=function(e){return n.props.disabled?s.noop():n.toggleFunc(e)},n.onToggle=function(){var e=n.isOpen();n.optionsNode=e?a.findDOMNode(n.optionsPortal.refs.optionsInner):null,n.onLayoutChange(),n.registerLastWindowScrollPosition(),n.cancelOptionsScroll(),s.isFunction(n.props.onToggle)&&n.props.onToggle(e)},n.updateArrow=function(){return n.isOpen()?n.setState({arrows:n.getArrows()}):s.noop()},n.onLayoutChange=function(){n.props.onLayoutChange&&n.props.onLayoutChange(n.getOptionsRect(),n.optionsNode),n.arrowsTimer=window.setTimeout(function(){return n.updateArrow()},0)},n.createLayoutTimer=function(){window.clearTimeout(n.layoutTimer),n.layoutTimer=window.setTimeout(function(){return n.onLayoutChange()},0)},n.getOptionsRect=function(){if(n.optionsNode){var e=a.findDOMNode(n.refs.selected).getBoundingClientRect(),t=window.getComputedStyle(n.optionsNode),o=n.optionsNode.scrollHeight,r=e.width;if(n.pendingHeightChange){n.pendingHeightChange=!1;var i=parseInt(t.paddingTop,10)+parseInt(t.paddingBottom,10);o=m(n.optionsNode)+i}if(n.pendingWidthChange)n.pendingWidthChange=!1,r=NaN,n.createLayoutTimer();else if(n.props.keepOptionsWidth){var l=s.get(n,"props.optionsInnerStyle.width")?n.optionsNode.clientWidth:n.optionsNode.offsetWidth,c=parseInt(t.paddingLeft,10)+parseInt(t.paddingRight,10);r=Math.max(l-c,e.width)}return{top:e.top+e.height,left:e.left,width:r,height:o}}},n.onWindowResize=function(){n.pendingWidthChange=!0,n.onLayoutChange()},n.shouldBlockScroll=function(e,t){return h(e,t)||n.props.customBlockScroll&&n.props.customBlockScroll(e,t)},n.handleArrowsScroll=function(e){var t=n.optionsNode;n.isOpen()&&!n.shouldBlockScroll(t,e)&&(t.scrollTop+=e),n.updateArrow()},n.handleScroll=function(e){if(n.isOpen())if(n.props.blockScroll&&!n.props.allowInnerScroll){var t=n.optionsNode;(n.shouldBlockScroll(t,e.deltaY)||!t.contains(e.target))&&(e.preventDefault(),e.stopPropagation()),n.updateArrow()}else n.props.allowInnerScroll&&n.onLayoutChange()},n.registerLastWindowScrollPosition=function(){n.lastWindowScrollPosition={x:window.scrollX,y:window.scrollY}},n.blockScrollOutOfWindow=function(){if(n.isOpen())if(n.props.blockScroll){var e=n.lastWindowScrollPosition,t=e.x,o=e.y;window.scrollTo(t,o)}else n.onLayoutChange()},n.getArrows=function(){var e=n.optionsNode;return{up:e&&e.scrollTop>0,down:e&&e.scrollTop+e.offsetHeight3&&void 0!==arguments[3]&&arguments[3];var r=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};o.alignment=o.alignment||c.ALIGNMENT.TOP;var r=t.x+t.width;if(!u(o)){var i=t.x-n.width-c.TOOLTIP_PADDING,a=r+n.width+c.TOOLTIP_PADDING,l={left:i>c.INDENT_FROM_EDGE,right:a3&&void 0!==arguments[3]?arguments[3]:{};o.alignment=o.alignment||c.ALIGNMENT.TOP;var r=t.y+t.height;if(u(o)){var i=t.y-n.height-c.TOOLTIP_PADDING,s=r+n.height+c.TOOLTIP_PADDING,l={top:i>c.INDENT_FROM_EDGE,bottom:s3&&void 0!==arguments[3]?arguments[3]:{},i=n.y+n.height,p=n.x+n.width;r.alignment=r.alignment||c.ALIGNMENT.TOP;var d=void 0;if(u(r)){d={x:l(t).x,y:t.y>n.y?i:n.y};var f=s(e),h=n.x;return fn.x&&(h+=c.INDENT_FROM_EDGE-n.x),{content:o.assign({},n,{x:h}),arrow:d}}d={x:t.x>n.x?p:n.x,y:l(t).y};var m=a(e),g=n.y;return mn.y&&(g+=c.INDENT_FROM_EDGE-n.y),{content:o.assign({},n,{y:g}),arrow:d}},isVerticalAlignment:u}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0],n=t.getInputElement();n&&(n.focus(),e&&t.selectContent(),t.focusFailed=n!==window.document.activeElement,t.focusFailed&&t.forceUpdate())},t.handleKeyDown=function(e){var n=e.keyCode,o=n===s.ESC&&t.props.blurOnEscKey,r=n===s.ENTER&&t.props.blurOnEnterKey;(o||r)&&(t.isCanceled=o,t.blurInput()),t.props.onKeyDown(e,t.blurInput)},t.scrollInputToTopIfNeeded=function(){t.getInputElement().scrollTop=0},t.selectContent=function(){var e=t.getInputElement();e&&(r.isFinite(t.props.initialSelectionStart)&&r.isFinite(t.props.initialSelectionEnd)?e.setSelectionRange(t.props.initialSelectionStart,t.props.initialSelectionEnd):e.select())},t.onFocusCallback=t.props.onFocus||r.noop,t.onFocus=function(e){e.target.addEventListener("mouseup",c),t.isCanceled=!1,t.valueOnFocus=e.target.value,t.props.selectOnFocus&&t.selectContent(),t.onFocusCallback(e)},t.onBlurCallback=t.props.onBlur||r.noop,t.onBlur=function(e){t.scrollInputToTopIfNeeded(),t.timers.reFocus=window.setTimeout(function(){window.document.hasFocus()||window.addEventListener("focus",t.reFocus)},0),t.isCanceled&&t.props.revertValueOnCancel&&t.props.onChange(t.props.successValue||t.valueOnFocus,!0),t.onBlurCallback(e,t.isCanceled),t.props.preventBlur&&t.reFocus()},t.reFocus=function(){t.focusInput(),window.removeEventListener("focus",t.reFocus)},t.getInputClassName=function(){var e=(t.props.innerInputClass||"")+(t.props.inputTextSuffix?" has-text-suffix":"");return t.props.getClassName(t.props.defaultInputClass+" "+e)},t.getInputProps=function(){return{ref:"input",type:t.props.type||"text",className:t.getInputClassName(),value:t.props.value,onChange:t.handleChange,disabled:t.isDisabled(),readOnly:t.props.isReadOnly,placeholder:t.props.translateIfNeeded(t.props.placeholder)||"",maxLength:t.props.maxLength,spellCheck:!1,onKeyDown:t.handleKeyDown,onFocus:t.onFocus,onBlur:t.onBlur,onWheel:t.props.shouldBlockOuterScroll?t.props.blockOuterScroll:r.noop,dir:t.props.dir,name:t.uniqueId,id:t.uniqueId}},t.getRootCssClasses=function(){return["input-container",t.isDisabled()?"is-disabled":"",t.props.success?"success":"",t.props.invalidMessage?"invalid":"",t.props.unit?t.props.unit+"-unit":""].join(" ")},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),o(n,[{key:"componentWillMount",value:function(){this.uniqueId=this.props.focusOnPrefixClick?r.uniqueId("baseuilib-input-"):void 0}},{key:"componentDidMount",value:function(){!this.props.isReadOnly&&this.props.autoSelect?this.timers.initialFocus=window.setTimeout(this.focusInput.bind(this,!0),0):this.props.focus&&(this.timers.initialFocus=window.setTimeout(this.focusInput.bind(this),0))}},{key:"componentDidUpdate",value:function(e){!this.props.isReadOnly&&e.isReadOnly&&(this.timers.writeableFocus=window.setTimeout(this.focusInput.bind(this,!0),0)),this.props.selectionActionCounter!==e.selectionActionCounter&&this.selectContent()}},{key:"componentWillUpdate",value:function(e){!e.focus||this.props.focus&&!this.focusFailed?!e.focus&&this.props.focus&&(window.clearTimeout(this.timers.focusUpdate),this.timers.blurUpdate=window.setTimeout(this.blurInput.bind(this),0)):(window.clearTimeout(this.timers.blurUpdate),this.timers.focusUpdate=window.setTimeout(this.focusInput.bind(this),0))}},{key:"componentWillUnmount",value:function(){r.forEach(this.timers,function(e){return window.clearTimeout(e)})}},{key:"render",value:function(){return t.call(this)}}]),n}();return u.displayName=e,u.propTypes=l.INPUT_PROP_TYPES,u.defaultProps=r.assign({},{disabled:!1,blurOnEnterKey:!0,blurOnEscKey:!0,shouldBlockOuterScroll:!1,placeholder:"",dir:"ltr",onKeyDown:r.noop,focusOnPrefixClick:!1,showInfoTooltip:!1,infoTooltipProps:{},isReadOnly:!1,autoSelect:!1,selectOnFocus:!0,revertValueOnCancel:!0,defaultInputClass:"input",preventBlur:!1,selectionActionCounter:0},n),u}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:t.props;t.setState({tooltipIsOpen:!t.isValid(e)})},t.props.onClickOutside(t.closeTooltip),t.validateSync=function(e){var n=l(t.props.validator);return!!r.isEmpty(n)||r.every(n,function(t){return t(e)})},t.validateAsync=function(e,n,o){var i=l(t.props.asyncValidator);if(r.isEmpty(i))n();else{var a={},s=r.size(i),c=0,u=!1;r.forEach(i,function(t,r){t(e,function(e){e&&(a[r]=e),++c===s&&n(a)},function(e){u||(u=!0,o(e))})})}},t.getMessage=function(){return t.syncPassed&&!t.shouldEnforceValidationStatus()?t.state.invalidMessage:t.props.invalidMessage},t.validate=function(e){var n=r.partial(t.onValidationSuccess,e),o=r.partial(t.onValidationFailed,e);if(t.validateSync(e)){if(t.syncPassed=!0,!t.props.asyncValidator)return void n();t.validateAsync(e,n,o)}else t.syncPassed=!1,o(t.getMessage())};var o=t.props.asyncValidator?t.props.asyncDelay:t.props.syncDelay;o&&(t.validate=r.debounce(t.validate,o)),t.showSuccess=function(){!t.isValid()||t.state.wasSuccess&&t.state.successValue===t.state.valueCandidate||(t.setState({wasSuccess:!0,isSuccess:!0,successValue:t.state.valueCandidate}),t.successTimer=window.setTimeout(function(){return t.setState({isSuccess:!1})},1e3))},t.onFocus=function(e){r.isFunction(t.props.onFocus)&&t.props.onFocus(e),(!t.props.validateInitialValue||t.valueChanged||t.shouldEnforceValidationStatus())&&t.openTooltipIfNeeded()},t.onBlur=function(e,n){t.closeTooltip(),r.isFunction(t.props.onBlur)&&t.props.onBlur(e,n),n||t.showSuccess()};var i=r.get(t,"props.valueLink.requestChange",t.props.onChange);return t.onValidationFailed=function(e,n){t.setState({isValid:!1,wasSuccess:!1,tooltipIsOpen:!t.isInitialValidation||t.isInitialValidation&&t.props.tooltipOnInitialValidation,invalidMessage:n||t.props.invalidMessage}),t.props.allowInvalidChange&&r.isFunction(i)&&i(e,!1),r.isFunction(t.props.onValidationStatus)&&t.props.onValidationStatus(!1),t.isInitialValidation=!1},t.onValidationSuccess=function(e){t.setState({isValid:!0,tooltipIsOpen:!1,invalidMessage:null}),t.showSuccess(),r.isFunction(i)&&i(e,!0),r.isFunction(t.props.onValidationStatus)&&t.props.onValidationStatus(!0),t.isInitialValidation=!1},t.onValueStateChange=function(e){t.valueChanged=!0,t.setState({valueCandidate:e},function(){t.shouldValidate()?t.validate(e):i(e)})},t.shouldEnforceValidationStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;return r.isBoolean(e.isValid)},t.shouldValidate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;return!t.shouldEnforceValidationStatus(e)&&e.validator||e.asyncValidator},t.isValid=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.state;return t.shouldEnforceValidationStatus(e)?e.isValid:n.isValid},t.getValidationProps=function(){var e=t.shouldValidate();return t.shouldEnforceValidationStatus()||e?r.assign({},t.props,{invalidMessage:!1===t.isValid()?t.getMessage():"",tooltipIsOpen:t.state.tooltipIsOpen,onFocus:t.onFocus,onChange:t.onValueStateChange,value:t.state.valueCandidate,success:t.state.isSuccess,successValue:t.state.successValue,onBlur:t.onBlur}):t.props},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),o(n,[{key:"componentWillMount",value:function(){var e=this.isValid();null!==e&&r.isFunction(this.props.onValidationStatus)&&this.props.onValidationStatus(e)}},{key:"componentDidMount",value:function(){var e=this;if(window.addEventListener("wheel",this.closeTooltip),window.addEventListener("scroll",this.closeTooltip),this.props.validateInitialValue&&this.shouldValidate()){this.isInitialValidation=!0;var t=this.state.valueCandidate;this.validate(t)}else this.shouldEnforceValidationStatus()&&(this.tooltipTimer=window.setTimeout(function(){return e.openTooltipIfNeeded()},0))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("wheel",this.closeTooltip),window.removeEventListener("scroll",this.closeTooltip),window.clearTimeout(this.successTimer),window.clearTimeout(this.tooltipTimer),this.props.cancelValidationOnUnmount&&r.isFunction(this.validate.cancel)&&this.validate.cancel()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.getPropsValue(e),o=this.getPropsValue();n!==this.state.valueCandidate&&n!==o?this.setState({valueCandidate:n},function(){t.shouldValidate()&&t.props.validateOnValuePropChange?t.validate(t.state.valueCandidate):t.shouldEnforceValidationStatus()&&t.props.validateOnValuePropChange&&t.openTooltipIfNeeded(e)}):e.isValid!==this.props.isValid&&this.openTooltipIfNeeded(e),this.isValid(e)!==this.isValid(this.props)&&(r.isFunction(this.props.onValidationStatus)&&this.props.onValidationStatus(this.isValid(e)),this.setState({wasSuccess:this.isValid(this.props,this.state)}))}},{key:"render",value:function(){var t=this.getValidationProps();return i.createElement(e,t)}}]),n}();return t.propTypes=s.VALIDATED_PROP_TYPES,t.defaultProps={allowInvalidChange:!1,validateInitialValue:!0,tooltipOnInitialValidation:!1,validateOnValuePropChange:!0,syncDelay:50,asyncDelay:300,cancelValidationOnUnmount:!0},a(t)}},function(e,t,n){"use strict";var o=n(94);e.exports={getValidNumericValue:function(e,t,n,r){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:2,l=isNaN(e)?t:e,c=i?o.roundByStep(l,a):l,u=o.fixDecimalPoint(c,s),p=o.getValueInRange(u,n,r);return String(p)}}},function(e,t,n){"use strict";e.exports={percent:"%",px:"px",angle:"°"}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"3",height:"5",viewBox:"0 0 3 5",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{fill:"#3899EC",d:"M.466 2.99L0 2.5l.31-.327L2.069.327 2.378 0 3 .653 2.69.98 1.242 2.5l1.446 1.52.311.327L2.379 5l-.311-.327L.466 2.99z"}))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n60?"#000":"#FFF"}},f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.state={hsb:l.hexToHsb(n.props.value)},n.getMarkerPosition=function(){return d(n.state.hsb)};var o=function(e){return Math.min(Math.max(0,e),100)};return n.setNewColorByMouseEvent=function(e){var t=function(e){var t=e.clientX-n.gradientRect.x,r=e.clientY-n.gradientRect.y,i=o(100*t/n.gradientRect.width);return{brightness:o(100-100*r/n.gradientRect.height),saturation:i,hue:n.state.hsb.hue}}(e),r=l.hsbToHex(t);t.brightness<5?n.setState({hsb:t},function(){n.props.onChange(r)}):n.props.onChange(r)},n.onMarkerDragStart=function(e){window.addEventListener("mousemove",n.onMarkerDrag),window.addEventListener("mouseup",n.onMarkerDragEnd),n.gradientRect=c(n.refs.gradient),n.setNewColorByMouseEvent(e)},n.onMarkerDrag=function(e){n.setNewColorByMouseEvent(e)},n.onMarkerDragEnd=function(){window.removeEventListener("mousemove",n.onMarkerDrag),window.removeEventListener("mouseup",n.onMarkerDragEnd)},n.setNewColorByHue=function(e){return a({hue:e}).defaults(n.state.hsb).thru(l.hsbToHex).thru(function(t){n.setState({hsb:a.defaults({hue:e},n.state.hsb)},function(){n.props.onChange(t)})}).value()},n.getBrightnessOptions=function(){return a(5).times(function(){return n.state.hsb}).map(function(e,t){return l.hsbToHex({hue:n.state.hsb.hue,saturation:e.saturation,brightness:20*t+10})}).reverse()},n.setNewColorByHex=function(e){return n.props.onChange(e)},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=l.hexToHsb(e.value),n=t.saturation<5||t.brightness<5||function(e,t){return Math.abs(t-e)<=5}(t.hue%358,this.state.hsb.hue%358),o=t.brightness<5;this.setState({hsb:a.defaults({hue:n?this.state.hsb.hue:t.hue,saturation:o?this.state.hsb.saturation:t.saturation},t)})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.onMarkerDrag),window.removeEventListener("mouseup",this.onMarkerDragEnd)}},{key:"render",value:function(){return u.call(this)}}]),t}();f.displayName=p.COLOR_SPACE,f.propTypes={value:r.string.isRequired,onChange:r.func.isRequired},f.defaultProps={},e.exports=s(f)},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0&&i[n.toIndex-1]!==n.dragged&&i[n.toIndex-1],l=Boolean(e.clientY>n.currentBottomY&&a),c=Boolean(e.clientY1&&void 0!==arguments[1]?arguments[1]:"className";return[e,t[n]].join(" ")}},n).omit(["valueLink"]).value();return i.createElement(e,r)}};a.propTypes={automationId:r.string},a.defaultProps={automationId:null},e.exports=a},function(e,t,n){"use strict";var o=n(0),r=n(1);n(22);e.exports=function(){return o.createElement("div",{"data-aid":this.props.automationId,className:this.props.getClassName(this.getRootCssClasses()),onClick:this.props.disabled?r.noop:this.props.action},this.props.children?o.createElement("div",{key:"content",className:"content-container"},o.createElement("div",{className:"content"},this.props.children)):null,this.props.symbol?o.createElement("div",{key:"symbol",className:"symbol-container"},this.props.symbol,"\n "):null)}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(17));e.exports=function(){return o.createElement(r,{alignment:this.props.alignment,animationDuration:this.props.animationDuration,arrowDistance:this.props.arrowDistance,closeOnMouseLeave:this.props.closeOnMouseLeave,closeOnMouseClick:this.props.closeOnMouseClick,content:this.getTooltipMessage(),customTrigger:this.props.customTrigger,"data-aid":this.props.automationId,direction:this.props.direction,disabled:this.isDisabled(),displayCustomTrigger:this.props.displayCustomTrigger,isOpen:this.props.isOpen,maxWidth:this.props.maxWidth,marginTop:this.props.marginTop,marginRight:this.props.marginRight,marginBottom:this.props.marginBottom,marginLeft:this.props.marginLeft,openOnMouseEnter:this.props.openOnMouseEnter,onScroll:this.props.onScroll,onOpen:this.props.onOpen,onClose:this.props.onClose,onOuterClick:this.props.onOuterClick,shouldTranslate:!1,zIndex:this.props.zIndex},o.createElement("div",{ref:this.getContentContainerRef,className:this.getClassName(),onMouseEnter:this.props.customTrigger?null:this.onMouseEnter},this.props.children,o.createElement("span",{ref:this.getMeasureContainerRef,style:this.state.style,className:"tooltip-on-ellipsis-content-measure"},this.getContent())))}},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(){return o.createElement("span",{className:this.props.getClassName("bubble arrow-"+this.props.arrowAlignment),onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},o.createElement("div",{className:"bubble-content",ref:this.getContentRef,style:this.getContentStyle(),key:"content"},this.getChildren()),this.props.arrowStyle?o.createElement("div",{className:"bubble-arrow",key:"arrow",style:this.props.arrowStyle}):null)}},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(){return o.createElement("span",{className:this.props.getClassName("has-tooltip"),"data-aid":this.props.automationId,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},this.props.customTrigger&&!this.props.displayCustomTrigger?null:this.props.children)}},function(e,t,n){"use strict";t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t(n=n||0===n?n:e)?(console.error("min limit is greater than max limit"),e):en?n:e};function u(e,t){return e.clientX>t.left&&e.clientXt.top&&e.clientY=o&&(t.scrollTop=o,e.preventDefault()),e.stopPropagation()}},n.setCustomScrollbarRef=function(e){e&&!n.customScrollbarRef&&(n.customScrollbarRef=e)},n.scrollbarYWidth=0,n.state={scrollPos:0,onDrag:!1},n.setRefElement=function(e){return function(t){t&&!n[e]&&(n[e]=t)}},n.hideScrollThumb=l(function(){n.setState({onDrag:!1})},500),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.Component),o(t,[{key:"componentDidMount",value:function(){void 0!==this.props.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate()}},{key:"componentWillReceiveProps",value:function(){this.externalRender=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.contentHeight,o=this.visibleHeight,r=this.getScrolledElement(),i=t.scrollPos>=n-o;this.contentHeight=r.scrollHeight,this.scrollbarYWidth=r.offsetWidth-r.clientWidth,this.visibleHeight=r.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded(),(this.props.freezePosition||e.freezePosition)&&this.adjustFreezePosition(e),void 0!==this.props.scrollTo&&this.props.scrollTo!==e.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&this.externalRender&&i&&this.updateScrollPosition(this.contentHeight-this.visibleHeight),this.externalRender=!1}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd)}},{key:"adjustFreezePosition",value:function(e){var t=this.getScrolledElement(),n=this.contentWrapper;this.props.freezePosition&&(n.scrollTop=this.state.scrollPos),e.freezePosition&&(t.scrollTop=this.state.scrollPos)}},{key:"toggleScrollIfNeeded",value:function(){var e=this.contentHeight-this.visibleHeight>1;this.hasScroll!==e&&(this.hasScroll=e,this.forceUpdate())}},{key:"getScrollTop",value:function(){return this.getScrolledElement().scrollTop}},{key:"updateScrollPosition",value:function(e){var t=this.getScrolledElement(),n=c(e,0,this.contentHeight-this.visibleHeight);t.scrollTop=n,this.setState({scrollPos:n})}},{key:"isMouseEventOnCustomScrollbar",value:function(e){if(!this.customScrollbarRef)return!1;var t=a.default.findDOMNode(this).getBoundingClientRect(),n=this.customScrollbarRef.getBoundingClientRect(),o=this.props.rtl?{left:t.left,right:n.right}:{left:n.left,width:t.right};return u(e,Object.assign({},{left:t.left,right:t.right,top:t.top,height:t.height},o))}},{key:"isMouseEventOnScrollHandle",value:function(e){return!!this.scrollHandle&&function(e,t){return u(e,t.getBoundingClientRect())}(e,a.default.findDOMNode(this.scrollHandle))}},{key:"calculateNewScrollHandleTop",value:function(e){var t=a.default.findDOMNode(this).getBoundingClientRect().top+window.pageYOffset,n=e.pageY-t,o=this.getScrollHandleStyle().top;return n>o+this.scrollHandleHeight?o+Math.min(this.scrollHandleHeight,this.visibleHeight-this.scrollHandleHeight):o-Math.max(this.scrollHandleHeight,0)}},{key:"getScrollValueFromHandlePosition",value:function(e){return e/this.scrollRatio}},{key:"getScrollHandleStyle",value:function(){var e=this.state.scrollPos*this.scrollRatio;return this.scrollHandleHeight=this.visibleHeight*this.scrollRatio,{height:this.scrollHandleHeight,top:e}}},{key:"adjustCustomScrollPosToContentPos",value:function(e){this.setState({scrollPos:e})}},{key:"getScrolledElement",value:function(){return this.innerContainer}},{key:"getInnerContainerClasses",value:function(){var e="inner-container";return this.state.scrollPos&&this.props.addScrolledClass&&(e+=" content-scrolled"),e}},{key:"getScrollStyles",value:function(){var e=this.scrollbarYWidth||20,t=this.props.rtl?"marginLeft":"marginRight",n={height:this.props.heightRelativeToParent||this.props.flex?"100%":""};n[t]=-1*e;var o={height:this.props.heightRelativeToParent||this.props.flex?"100%":"",overflowY:this.props.freezePosition?"hidden":"visible"};return o[t]=this.scrollbarYWidth?0:e,{innerContainer:n,contentWrapper:o}}},{key:"getOuterContainerStyle",value:function(){return{height:this.props.heightRelativeToParent||this.props.flex?"100%":""}}},{key:"getRootStyles",value:function(){var e={};return this.props.heightRelativeToParent?e.height=this.props.heightRelativeToParent:this.props.flex&&(e.flex=this.props.flex),e}},{key:"enforceMinHandleHeight",value:function(e){var t=this.props.minScrollHandleHeight;if(e.height>=t)return e;var n=(t-e.height)*(this.state.scrollPos/(this.contentHeight-this.visibleHeight));return{height:t,top:e.top-n}}},{key:"render",value:function(){var e=this.getScrollStyles(),t=this.getRootStyles(),n=this.enforceMinHandleHeight(this.getScrollHandleStyle());return i.default.createElement("div",{className:"custom-scroll "+(this.state.onDrag?"scroll-handle-dragged":""),style:t},i.default.createElement("div",{className:"outer-container",style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick},this.hasScroll?i.default.createElement("div",{className:"positioning"},i.default.createElement("div",{ref:this.setCustomScrollbarRef,className:"custom-scrollbar"+(this.props.rtl?" custom-scrollbar-rtl":""),key:"scrollbar"},i.default.createElement("div",{ref:this.setRefElement("scrollHandle"),className:"custom-scroll-handle",style:n},i.default.createElement("div",{className:this.props.handleClass})))):null,i.default.createElement("div",{ref:this.setRefElement("innerContainer"),className:this.getInnerContainerClasses(),style:e.innerContainer,onScroll:this.onScroll,onWheel:this.blockOuterScroll},i.default.createElement("div",{className:"content-wrapper",ref:this.setRefElement("contentWrapper"),style:e.contentWrapper},this.props.children))))}}]),t}();try{var d=n(0);p.propTypes={children:d.any,allowOuterScroll:d.bool,heightRelativeToParent:d.string,onScroll:d.func,addScrolledClass:d.bool,freezePosition:d.bool,handleClass:d.string,minScrollHandleHeight:d.number,flex:d.string,rtl:d.bool,scrollTo:d.number,keepAtBottom:d.bool}}catch(e){}p.defaultProps={handleClass:"inner-handle",minScrollHandleHeight:38},e.exports=p},function(e,t,n){e.exports=n(3)},,,,,function(e,t){}])}(function(){try{return n(3)}catch(e){}}(),n(16),n(0))},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(61);e.exports=function(){return o.createElement("div",{className:"color-picker-color-space",onDragStart:function(e){e.preventDefault()}.bind(this)},o.createElement("div",{className:"color-space-gradient-area",onMouseDown:this.onMarkerDragStart,ref:"gradient"},o.createElement("div",{className:"color-space-marker",style:this.getMarkerPosition()}),o.createElement("div",{className:"color-gradient-layer",style:{backgroundColor:"hsl("+this.state.hsb.hue+", 100%, 50%)"}}),o.createElement("div",{className:"color-gradient-layer saturation-layer"}),o.createElement("div",{className:"color-gradient-layer brightness-layer"})),o.createElement.apply(this,["div",{className:"color-picker-brightness-options"},r.map(this.getBrightnessOptions(),function(e,t){return o.createElement("div",{key:"brightnessOption-"+t,className:"brightness-option",style:{backgroundColor:e},onClick:function(e,t){this.setNewColorByHex(e)}.bind(this,e,t)})}.bind(this))]),o.createElement(i,{className:"color-picker-hue-slider hue-slider",value:this.state.hsb.hue,min:0,max:358,hideNumericInput:!0,onChange:this.setNewColorByHue}))}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(29);e.exports=function(){return o.createElement("div",{"data-aid":this.props.automationId,className:this.props.getClassName("control-slider-input")+(this.props.disabled?" disabled":"")},o.createElement("div",{className:"slider "+r({"with-numeric-input":!this.props.hideNumericInput}).transform(function(e,t,n){t&&e.push(n)},[]).join(" "),onDragStart:function(e){e.preventDefault()}.bind(this)},o.createElement("span",{className:"track",onMouseDown:this.onSlideStart,ref:function(e){this.track=e}.bind(this)},o.createElement("span",{className:"colored-part",style:this.getColoredPartStyle.call(this)})),o.createElement("div",{className:"knob-container"},o.createElement("span",{className:"knob",onMouseDown:this.onSlideStart,style:{left:this.getFilledPartInPercent()+"%"}}))),this.props.hideNumericInput?null:o.createElement(i,r.assign({},{unit:this.props.unit,key:"numeric"},this.props)))}},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(){return o.createElement("div",{className:this.props.getClassName("color-picker-reset-color")},o.createElement("div",{className:"color-picker-reset-color-option color-picker-reset-color-button",onClick:this.resetColor,style:{backgroundColor:this.initialColor}}),o.createElement("div",{className:"color-picker-reset-color-option",style:{backgroundColor:this.props.value}}))}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(104),a=n(30),s=n(29);e.exports=function(){return o.createElement("div",{className:"color-picker-color-format"},o.createElement(i,{value:this.state.format,arrowed:!0,onChange:function(e){this.setState({format:e})}.bind(this),options:this.formats,shouldTranslate:!1}),o.createElement.apply(this,["div",{className:"color-picker-color-format-input-container"},"HEX"===this.state.format?o.createElement(a,{key:"HEX",validator:this.hexValidator,invalidMessage:this.props.invalidHexMessage||"Check the HEX value",shouldTranslate:this.props.shouldTranslate,syncDelay:0,className:"color-picker-color-format-hex",innerInputClass:"color-picker-color-format-input",maxLength:6,value:this.props.value.slice(-6),onChange:function(e){this.props.onChange("#"+e)}.bind(this)}):null,"RGB"===this.state.format?r.map(this.getRGB(),function(e,t){return o.createElement(s,{key:t,innerInputClass:"color-picker-color-format-input",value:e,max:255,onChange:function(e,t,n){this.onRGBChange(n,t)}.bind(this,e,t)})}.bind(this)):null,"HSB"===this.state.format?r.map(this.getHSB(),function(e,t){return o.createElement(s,{key:t,innerInputClass:"color-picker-color-format-input",unit:"hue"===t?"angle":"percent",value:this.state.hsb[t],max:"hue"===t?360:100,onChange:function(e,t,n){this.onHSBChange(n,t)}.bind(this,e,t)})}.bind(this)):null]))}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(25));e.exports=function(){return o.createElement("div",{className:this.props.getClassName(this.getRootCssClasses())},o.createElement(r,{value:this.props.value,orientation:"horizontal",showRadioSymbol:!1,onChange:this.props.onChange,options:this.props.options,shouldTranslate:this.props.shouldTranslate}))}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(224);e.exports=function(){return o.createElement.apply(this,["div",{className:"color-picker-my-colors"},this.props.addColor?o.createElement("div",{key:"addColor",onClick:this.props.addColor,className:"color-picker-my-colors-option color-picker-my-colors-add"},o.createElement("div",{className:"color-picker-my-colors-add-inner"},o.createElement(i,{}))):null,r.map(this.props.colors,function(e,t){return o.createElement("div",{className:r(this.getOptionClassNames(e,t)).transform(function(e,t,n){t&&e.push(n)},[]).join(" "),onClick:function(e,t){this.props.onChange(e,t)}.bind(this,e,t),onMouseEnter:function(e,t){this.props.onColorEnter(e,t)}.bind(this,e,t),onMouseLeave:function(e,t){this.props.onColorLeave(e,t)}.bind(this,e,t),key:t},o.createElement("div",{className:"color-picker-my-colors-option-inner",style:{backgroundColor:e}}))}.bind(this))])}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",className:"plus-symbol"},o.createElement("path",{d:"M4 .015h2V10H4V.014z"}),o.createElement("path",{d:"M.015 4H10v2H.015V4z"}))}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(226);e.exports=function(){return o.createElement.apply(this,["div",{className:this.props.getClassName("color-picker-palette")},r.map(this.getColorsByPalette(this.props.palette),function(e,t){return o.createElement("span",{onClick:function(e,t){this.onChange(e,t)}.bind(this,e,t),onMouseEnter:function(e,t){this.props.onColorEnter(e,t)}.bind(this,e,t),onMouseLeave:function(e,t){this.props.onColorLeave(e,t)}.bind(this,e,t),className:"palette-single-color-container "+(this.props.value&&this.state.colorIndex===t?"selected-color":""),key:t},o.createElement("span",{className:"palette-single-color "+(this.getDistanceToWhite(e)<3?"light":""),style:{backgroundColor:e}}))}.bind(this)),r.map(this.props.mainColors,function(e,t){return o.createElement("span",{className:"palette-main-color-container",key:t},o.createElement("span",{className:"palette-main-color",onClick:function(e,t){this.props.onMainColorChange(e,t)}.bind(this,e,t),onMouseEnter:function(e,t){this.props.onColorEnter(e,t)}.bind(this,e,t),onMouseLeave:function(e,t){this.props.onColorLeave(e,t)}.bind(this,e,t),style:{backgroundColor:e}},o.createElement("span",{className:"change-main-color-arrow",style:{borderBottomColor:e}}),o.createElement("span",{className:"change-main-color-icon"},o.createElement(i,{}))))}.bind(this))])}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12"},o.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M11.14 12V9.14S9.29 11.9 5.81 11.9C2.61 11.9.01 9.43.01 6h.86c0 2.57 2.22 5.04 4.94 5.04 1.8 0 3.81-.99 4.69-2.54l-2.79-.04v-.75H12V12h-.86zM6.2.96c-1.8 0-3.82.99-4.69 2.54l2.78.04v.75H0V0h.86v2.86S2.72.1 6.2.1C9.39.1 12 2.57 12 6h-.86C11.14 3.43 8.92.96 6.2.96z"}))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;nu.INDENT_FROM_EDGE}},d=function(e,t,n){return{right:eu.INDENT_FROM_EDGE}},f=function(e,t,n,o){return e===o?!t.bottom&&t.top?n:o:!t.top&&t.bottom?o:n},h=function(e,t,n,o){return e===o?!t.right&&t.left?n:o:!t.left&&t.right?o:n},m=function(e){var t=e.min,n=e.max,o=e.low,r=e.high,i=e.alignment,a=e.direction,s=e.axis,l=e.viewport,c=u.ALIGNMENT,m=u.DIRECTION,g="X"===s?d:p,b="X"===s?h:f,y=void 0;y=a?"X"===s?m.RIGHT:m.BOTTOM:"X"===s?c.RIGHT:c.BOTTOM;var E=g(n,t,l);return b((a||i)===y?r:o,E,o,r)},g=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=u.ALIGNMENT,i=u.DIRECTION,s=o.alignment||r.RIGHT,l=o.direction||i.BOTTOM,c=s===r.RIGHT||s===r.LEFT,p=l!==i.LEFT&&l!==i.RIGHT,d=t.x+t.width,f=a(t).x,h={min:t.x-n.width,max:d+n.width},g={min:d-n.width+u.CHUPCHIK.PADDING,max:t.x+n.width-u.CHUPCHIK.PADDING},b={max:h.max,min:d},y={max:t.x,min:h.min},E={min:t.x-u.CHUPCHIK.PADDING,max:g.max},v={min:g.min,max:d+u.CHUPCHIK.PADDING},T={min:f-n.width/2,max:f+n.width/2};return!c&&p?T:m(c?{min:h.min,max:h.max,low:y,high:b,axis:"X",alignment:s,viewport:e}:{min:g.min,max:g.max,low:v,high:E,axis:"X",direction:l,viewport:e})};e.exports={CONSTS:u,getViewportSize:i,getOptionsPosition:function(e,t,n){arguments.length>3&&void 0!==arguments[3]&&arguments[3];var r=g.apply(void 0,arguments),i=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=u.ALIGNMENT,i=u.DIRECTION,a=o.alignment||r.RIGHT,s=o.direction||i.BOTTOM,l=a===r.RIGHT||a===r.LEFT,c=t.y+t.height,p={min:c-n.height+u.CHUPCHIK.PADDING,max:t.y+n.height-u.CHUPCHIK.PADDING},d={min:t.y-n.height,max:c+n.height},f={min:t.y-u.CHUPCHIK.PADDING,max:p.max},h={min:p.min,max:c+u.CHUPCHIK.PADDING},g={min:c,max:d.max},b={min:d.min,max:t.y};return m(l?{min:p.min,max:p.max,low:h,high:f,axis:"Y",direction:s,viewport:e}:{min:d.min,max:d.max,low:b,high:g,axis:"Y",alignment:a,viewport:e})}.apply(void 0,arguments),a={x:r.min,width:r.max-r.min,y:i.min,height:i.max-i.min};return o.mapValues(a,Math.ceil)},getArrowPosition:function(e,t){var n=u.CHUPCHIK.POSITION,o=a(e),r=a(t),i=s(e.x+e.width,t.x),l=s(e.x,t.x+t.width),c=!(l||i)&&e.y>t.y,p=s(e.y-u.CHUPCHIK.PADDING,t.y),d=s(e.x+e.width,t.x+t.width-u.CHUPCHIK.PADDING),f=s(o.y,r.y),h=s(o.x,r.x);return i?f?n.LEFT_MIDDLE:p?n.LEFT_TOP:n.LEFT_BOTTOM:l?f?n.RIGHT_MIDDLE:p?n.RIGHT_TOP:n.RIGHT_BOTTOM:c?h?n.BOTTOM_MIDDLE:d?n.BOTTOM_RIGHT:n.BOTTOM_LEFT:h?n.TOP_MIDDLE:d?n.TOP_RIGHT:n.TOP_LEFT}}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{baseProfile:"full",xmlns:"http://www.w3.org/2000/svg",height:"4",width:"12",viewBox:"0 0 12 4"},o.createElement("path",{className:"cls-b1",d:"M9.999 3.01A1.046 1.046 0 1 1 9.998.917a1.046 1.046 0 0 1 .001 2.093zm-3.998 0A1.046 1.046 0 1 1 6 .917 1.046 1.046 0 0 1 6 3.01zm-4.048-.041A1.055 1.055 0 0 1 .906 1.906c0-.587.469-1.062 1.047-1.062S3 1.319 3 1.906c0 .587-.469 1.063-1.047 1.063z"}))}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(66));e.exports=function(){return o.createElement(r,{automationId:this.props.automationId,className:this.props.getClassName("control-context-menu"),disabled:this.props.disabled,blockScroll:this.props.blockScroll,allowInnerScroll:!0,displayArrow:!1,selected:this.getButton(),optionsStyle:this.state.optionsStyle,optionsInnerStyle:this.state.optionsInnerStyle,onLayoutChange:this.onOptionsLayoutChange,onKeyDown:this.onKeyDown,optionsContainerClassName:this.optionsContainerClassName(),customCloseKeys:this.getCustomCloseKeys(),customToggle:this.toggleOptions,isOpen:this.isOpen(),keepOptionsWidth:!0,blockClickOutside:this.props.blockClickOutside,options:this.traceClicksIfNeeded(this.props.children)})}},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(){return o.createElement("div",{"data-aid":this.props.automationId,className:this.props.getClassName("control-dropdown-base")+(this.props.disabled?" disabled":""),"data-label":this.props.dataLabel},o.createElement("div",{className:["dropdown-selected",this.isOpen()?"is-open":""].join(" "),ref:"selected",onClick:this.toggleOptions.bind(this,void 0)},this.props.selected))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:{}).longerByScroll||0,r=t.y+t.height,i=a(e),s={min:Math.max(l.INDENT_FROM_EDGE,r-o),max:Math.min(i,r+n.height)};return s.min>s.max&&(s.min=Math.max(l.INDENT_FROM_EDGE,i-n.height)),s},p=function(e){var t=e.min,n=e.max,o=Math.max(0,l.INDENT_FROM_EDGE-t);return{min:t+o,max:n+o}},d=function(e,t,n){var o=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).longerByScroll||0,r=a(e),i=t.y-t.height,s=t.y-n.height,c=r-n.height;return{min:Math.max(l.INDENT_FROM_EDGE,i3&&void 0!==arguments[3]&&arguments[3];var r=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.isNumber(r.selectedOptionY),s=a(e),f=Math.min(l.MIN_LIST_HEIGHT,n.height),h=t.y,m=t.y+t.height,g=f<=h-l.INDENT_FROM_EDGE,b=f<=s-m,y={min:l.INDENT_FROM_EDGE,max:s},E=s>m?u:d,v=i?c.apply(void 0,arguments):E.apply(void 0,arguments);if(f>v.max-v.min&&!g&&!b)return y;var T=r.longerByScroll||0;return v.max-v.min-T>=f?p(v):i&&b?u.apply(void 0,arguments):g?d.apply(void 0,arguments):p(v)}.apply(void 0,arguments),i=function(e,t,n){var o=t.x,r=o+(n.width||t.width);if(e.width<=l.NARROW_VIEWPORT)r=(o=l.NARROW_VIEWPORT_PADDING)+e.width-2*l.NARROW_VIEWPORT_PADDING;else if(r>s(e)){var i=t.x+t.width;o=Math.max(i-n.width,l.INDENT_FROM_EDGE),r=i}return{min:o,max:r}}.apply(void 0,arguments),f={x:i.min,width:i.max-i.min,y:r.min,height:Math.min(r.max-r.min,n.height)};return o.mapValues(f,Math.ceil)}}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0&&(n.selectionStart=o)}}}},{key:"onChange",value:function(e){var t=e.target.value,n=e.target.selectionEnd,o=y.end-y.start;E&&o>0&&n===t.length&&0!==n&&t.length>0&&(t=t.slice(0,-1)),E=!1,this.props.onChange(t)}},{key:"render",value:function(){var e=this;return s.createElement("div",{key:this.props.key,className:"selected-container"},[s.createElement("input",{className:"selected-input"+(this.props.hasArrowIcon?" has-arrow-icon":""),value:this.props.value,onChange:function(t){return e.onChange(t)},spellCheck:!1,key:"input",ref:function(t){e.input=t}}),m(this.props)])}}]),t}();g.displayName="Option",b.displayName="Selected",T.displayName="SearchBox",e.exports={Option:u(g),Selected:u(b),SearchBox:u(T)}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(66));e.exports=function(){return o.createElement(r,{ref:"dropDownBase",automationId:this.props.automationId,className:this.props.getClassName("control-dropdown"+(this.props.hiddenScroll&&!this.props.searchBox?" hidden-scroll":"")),disabled:this.props.disabled,blockScroll:!0,onToggle:this.props.onToggle,selected:this.getSelectedElements(),optionsStyle:this.state.optionsStyle,optionsInnerStyle:this.state.optionsInnerStyle,onLayoutChange:this.onOptionsLayoutChange,onKeyDown:this.onKeyDown,onOptionsScroll:this.onOptionsScroll,customBlockScroll:this.customBlockScroll,customToggle:this.toggleOptions,optionsContainerClassName:this.getOptionsContainerClassName(),inputToAllowEvents:this.state.inputToAllowEvents,customCloseKeys:this.getCloseKeys(),displayArrow:!this.props.searchBox,isOpen:this.state.isOpen,keepOptionsWidth:!0,options:this.getOptionsElements(),dataLabel:this.props.dataLabel,forceOpen:this.props.forceOpen})}},function(e,t,n){"use strict";var o=n(3),r=n(4),i=n(2),a=n(271);a.displayName=i.DROP_DOWN_DETAILED_OPTION,a.propTypes={value:o.string.isRequired,label:o.string.isRequired,disabled:o.bool,wasVisible:o.bool,wasVisibleStyle:o.object,icon:o.any,description:o.string},e.exports=r(a)},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(48)),i=n(11);e.exports=function(e,t){return o.createElement(r,{value:e.value,label:e.label,className:"dropdown-detailed-option"},e.isSelectedElement?o.createElement("div",{className:"dropdown-detailed-option-label",key:"label"},o.createElement(i,{type:"T03",shouldTranslate:e.shouldTranslate,value:e.label,ellipsisProps:{closeOnMouseClick:!0}})):null,e.icon&&!e.isSelectedElement?o.createElement("div",{className:"dropdown-detailed-option-icon",key:"icon"},o.createElement("div",{className:"icon-content"},e.icon)):null,e.isSelectedElement?null:o.createElement("div",{className:"dropdown-detailed-option-content",key:"details"},o.createElement("div",{className:"dropdown-detailed-option-title"},o.createElement(i,{type:"T11",shouldTranslate:e.shouldTranslate,value:e.label,ellipsisProps:{closeOnMouseClick:!0}})),o.createElement("div",{className:"dropdown-detailed-option-description"},o.createElement(i,{type:"T12",shouldTranslate:e.shouldTranslate,value:e.description,ellipsisProps:{closeOnMouseClick:!0}}))))}},function(e,t,n){"use strict";var o=n(3),r=n(4),i=n(2),a=n(273);a.displayName=i.DROP_DOWN_THEME_OPTION,a.propTypes={value:o.string.isRequired,label:o.string.isRequired,disabled:o.bool,wasVisible:o.bool,wasVisibleStyle:o.object,size:o.number.isRequired,color:o.string,htmlTag:o.string,theme:o.object},e.exports=r(a)},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(48),a=n(22);e.exports=function(e,t){return o.createElement(i,r.assign({},{className:"dropdown-theme-option"},r.omit(e,"children")),e.isSelectedElement?o.createElement("div",{className:"dropdown-theme-option-label",key:"themeLabel"},e.label):null,e.isSelectedElement?null:o.createElement("div",{className:"dropdown-theme-option-preview",key:"themePreview"},e.color?o.createElement("div",{className:"dropdown-theme-option-color",key:"dropdownThemeColor",style:{backgroundColor:e.color}}):null,o.createElement(a,{marginTop:-10,closeOnMouseClick:!0},o.createElement("div",{className:"dropdown-theme-option-content",style:r.assign({fontSize:Math.min(e.size,30)+"px"},e.theme)},e.label)),e.htmlTag?o.createElement("div",{className:"dropdown-theme-option-html-tag",key:"dropdownThemeTag"},"<",e.htmlTag,">"):null),e.isSelectedElement?null:o.createElement("div",{className:"dropdown-theme-option-size",key:"themeSize"},e.size+"px"))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.noop,r=n.props.editButtons;n.setState(function(n){var o=n.isReadOnly,i=n.isFocused,s={isReadOnly:r?e:o,isFocused:!0!==e&&i};return a.assign(s,t)},o)},n.onChange=function(){n.props.onChange(n.state.valueCandidate)},n.getClassNames=function(){var e=n.state.isFocused?" focus":"",t=n.props.editButtons?" with-edit-buttons":"";return n.props.getClassName("control-editable-url"+e+t)},n.handleEdit=function(){n.setStateWithReadOnly(!1)},n.handleCandidateChange=function(e){var t=a.partial(n.props.onValueCandidateChange,e);n.setState({valueCandidate:e},t)},n.handleValidationStatusChange=function(e){var t=a.partial(n.props.onValidationStatus,e);n.setState({isValid:e},t)},n.handleBlur=function(e){var t=e.relatedTarget,o=n.state.isValid||n.props.allowInvalidChange,r=n.alreadyHandled||p(t);n.alreadyHandled=!1,n.props.onBlur(),o&&!r&&(n.props.confirmOnBlur?n.handleConfirm():n.setStateWithReadOnly(!0))},n.handleFocus=function(){n.setState({isFocused:!n.state.isReadOnly})},n.handleCancel=function(e){var t={valueCandidate:n.props.value,isValid:!0};n.setStateWithReadOnly(!0,t,function(){n.onChange(),a.isFunction(e)&&(n.alreadyHandled=!0,e())})},n.handleConfirm=function(e){if(n.state.isValid||n.props.allowInvalidChange){n.setStateWithReadOnly(!0,{},function(){n.onChange(),a.isFunction(e)&&(n.alreadyHandled=!0,e())})}},n.handleKeyDown=function(e,t){var o=e.keyCode;o===u.ENTER?n.handleConfirm(t):o===u.ESC&&n.handleCancel(t)},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({valueCandidate:e.value})}},{key:"render",value:function(){return l.call(this)}}]),t}(),f=r.oneOfType([r.arrayOf(r.func),r.func]);d.displayName=c.EDITABLE_URL,d.propTypes={domain:r.string.isRequired,isReadOnly:r.bool,value:r.string,onChange:r.func,onBlur:r.func,onValueCandidateChange:r.func,editButtons:r.bool,editButtonText:function(e,t,n){if(!e[t]&&e.editButtons)return new Error("Required prop '"+t+"' was not specified in '"+n+"'.")},autoSelect:r.bool,confirmOnBlur:r.bool,placeholder:r.string,validator:f,invalidMessage:r.string,onValidationStatus:r.func,allowInvalidChange:r.bool,syncDelay:r.number,isValid:r.bool},d.defaultProps={isReadOnly:!1,value:"",onChange:a.noop,onBlur:a.noop,onValueCandidateChange:a.noop,editButtons:!1,autoSelect:!0,confirmOnBlur:!0,onValidationStatus:a.noop,placeholder:""},e.exports=s(d)},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(278)),i=n(13),a=n(279),s=n(113),l=n(30);e.exports=function(){return o.createElement("div",{"data-aid":this.props.automationId,className:this.getClassNames()},o.createElement("div",{className:"address-bar-container"},o.createElement(r,{}),o.createElement("div",{className:"url-container"},o.createElement("span",{className:"domain"},this.props.domain),o.createElement(l,{defaultInputClass:"input-editable-url",focus:!1,isReadOnly:this.state.isReadOnly,value:this.state.valueCandidate,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,blurOnEscKey:!1,blurOnEnterKey:!1,autoSelect:this.props.autoSelect,onChange:this.handleCandidateChange,onValidationStatus:this.handleValidationStatusChange,onFocus:this.handleFocus,selectOnFocus:!1,shouldTranslate:this.props.shouldTranslate,allowInvalidChange:!0,validator:this.props.validator,isValid:this.props.isValid,invalidMessage:this.props.invalidMessage,syncDelay:this.props.syncDelay,preventBlur:!this.state.isValid&&!this.props.allowInvalidChange,placeholder:this.props.placeholder}))),this.props.editButtons?o.createElement("div",{className:"buttons-container",key:"buttonsContainer"},this.state.isReadOnly?null:o.createElement(i,{className:"btn-light btn-md btn-round editable-url-btn-cancel",onClick:this.handleCancel,key:"cancel"},o.createElement(a,{})),this.state.isReadOnly?null:o.createElement(i,{disabled:!this.state.isValid&&!this.props.allowInvalidChange,className:"btn-light btn-md btn-round editable-url-btn-apply",onClick:this.handleConfirm,key:"ok"},o.createElement(s,{})),this.state.isReadOnly?o.createElement(i,{className:"btn-light btn-edit",onClick:this.handleEdit,key:"edit"},this.props.translateIfNeeded(this.props.editButtonText)):null):null)}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{className:"symbol symbol-addressBarMiniToolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 60",width:"160",height:"60"},o.createElement("path",{className:"c1",fillRule:"evenodd",d:"M128.92 29.04l10.69-10.19a18.234 18.234 0 0 0-12.62-5.04c-9.87 0-17.91 7.65-17.91 17.07 0 9.41 8.04 17.07 17.91 17.07 7.71 0 14.23-4.68 16.76-11.2h10.4c-2.81 11.84-13.89 20.69-27.16 20.69-15.38 0-27.86-11.89-27.86-26.56 0-14.67 12.48-26.56 27.86-26.56 7.7 0 14.61 3.02 19.64 7.84l10.15-9.68v26.56h-27.86zm-73.86 7.74H23.25l9.73 9.27c2.33 2.22 2.33 5.82 0 8.05-2.33 2.22-6.11 2.22-8.45 0L4.98 35.46c-.11-.09-.26-.13-.36-.23a5.492 5.492 0 0 1-1.74-4.08c-.02-1.48.55-2.96 1.74-4.09.1-.1.25-.13.36-.23L24.53 8.19c2.34-2.22 6.12-2.22 8.45 0 2.33 2.23 2.33 5.83 0 8.05l-9.61 9.16h31.69c3.3 0 5.97 2.54 5.97 5.69 0 3.14-2.67 5.69-5.97 5.69z"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"10",viewBox:"0 0 11 10"},o.createElement("path",{fill:"#3799EB",fillRule:"evenodd",d:"M7.18 5.03l3.24-3.27a.984.984 0 0 0 0-1.4c-.38-.39-1-.39-1.39 0L5.79 3.63 2.55.36a.972.972 0 0 0-1.39 0c-.38.39-.38 1.01 0 1.4L4.4 5.03 1.16 8.29c-.38.39-.38 1.02 0 1.41a.978.978 0 0 0 1.39 0l3.24-3.27L9.03 9.7a.978.978 0 0 0 1.39 0 .996.996 0 0 0 0-1.41L7.18 5.03z"}))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0?o.createElement(a,{key:t.value},t.label):null,r.map(t.items,function(e,t,n,r,i){return o.createElement(s,{key:r.value,item:r,onChange:this.onItemCheckedStateChanged,isRoot:!0,filterText:this.state.filterText,isExpanded:this.isExpanded,expandClicked:this.expandClicked})}.bind(this,e,t,n))])}e.exports=function(){return function(){var e=this.getItemList();return o.createElement("div",{className:"multi-level-checkbox"},o.createElement(i,{value:this.getTagList(e),onItemCheckedStateChanged:this.onItemCheckedStateChanged,maxHeight:this.props.maxHeight,filterText:this.state.filterText,onFilterChanged:this.onFilterChanged,showTreeView:this.showTreeView,removeLastTag:this.removeLastTag}),this.state.treeViewOpen?o.createElement.apply(this,["div",{className:"tree-view",key:"MultiPleCheckboxTreeView"},e.length>0?r.map(e,l.bind(this,e)):null,this.areAllFiltered(e)?o.createElement("div",{className:"not-found-wrapper",key:"NoItemFound"},o.createElement("p",{className:"not-found-text"},this.props.noItemsFoundText)):null]):null)}.apply(this,[])}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n0?o.createElement(a,{key:"ItemCheckboxArrowDownn"}):null)),this.props.isExpanded(this.props.item.value)?r.map(this.props.item.items,function(e,t,n){return o.createElement(e,{key:t.value,item:t,onChange:this.props.onChange,filterText:this.props.filterText,isExpanded:this.props.isExpanded,expandClicked:this.props.expandClicked})}.bind(this,e)):null])}e.exports=function(){return this.props.item.isFiltered?null:s.apply(this,[])}},function(e,t,n){"use strict";var o=n(3),r=n(4),i=n(299),a=n(20),s=i;s.displayName="PanelHeaderCenteredText",s.propTypes={title:o.string.isRequired,titleType:o.oneOf(a.PANEL_HEADER_CENTERED_TEXT_TITLE_TYPES),subtitle:o.string,onHelp:o.func,onClose:o.func},s.defaultProps={titleType:a.PANEL_HEADER_CENTERED_TEXT_TITLE_DEFAULT_TYPE},e.exports=r(s)},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(13),n(60)),i=n(64);e.exports=function(e,t){return o.createElement("header",{className:e.getClassName("panel-header-centered-text"),"data-aid":e.automationId},o.createElement("div",{className:"title "+e.titleType.toLowerCase()},e.translateIfNeeded(e.title)),e.subtitle?o.createElement("div",{className:"subtitle",key:"subtitle"},e.translateIfNeeded(e.subtitle)):null,e.onHelp?o.createElement(i,{onClick:e.onHelp,key:"help"}):null,e.onClose?o.createElement(r,{onClick:e.onClose,key:"close"}):null)}},function(e,t,n){"use strict";var o=n(3),r=n(4),i=n(301);i.displayName="PanelHeaderIllustration",i.propTypes={blueStripHeight:o.number},i.defaultProps={blueStripHeight:90},e.exports=r(i)},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(e,t){return o.createElement("div",{className:e.getClassName("panel-header-illustration")},o.createElement("div",{className:"blue-strip",style:{height:e.blueStripHeight+"px"}}),o.createElement("div",{className:"illustration-container"},e.children))}},function(e,t,n){"use strict";var o=n(0),r=n(4),i=n(2),a=function(e){return o.createElement("div",{className:e.getClassName("control-preloader")})};a.displayName=i.PRELOADER,e.exports=r(a)},function(e,t,n){"use strict";var o=n(3),r=(n(0),n(4)),i=n(304),a=n(2),s=i;s.displayName=a.PROGRESS_BAR;var l={progress:o.number.isRequired,progressMax:o.number};s.propTypes=l,e.exports=r(s)},function(e,t,n){"use strict";var o=n(0),r=n(1);e.exports=function(e,t){return o.createElement("div",{className:"control-progress-bar","data-aid":e.automationId},o.createElement("div",{className:"progress-line-container",style:{width:"calc(100% - "+(r.isNumber(e.progressMax)&&e.progressMax>99?51:39)+"px)"}},o.createElement("div",{className:"progress-line",style:{width:e.progress/(r.isNumber(e.progressMax)?e.progressMax/100:1)+"%"}})),o.createElement("div",{className:"progress-text"},e.progress,r.isNumber(e.progressMax)?"/"+e.progressMax:"%"))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a,s=function(n){return r.createElement(i,o.defaults({name:e},n),r.createElement(t,n))};return s.displayName=e,s.defaultProps=n,s};e.exports={bold:c(i.TEXT_BOLD_BUTTON,l.bold),italic:c(i.TEXT_ITALIC_BUTTON,l.italic),underline:c(i.TEXT_UNDERLINE_BUTTON,l.underline),link:c(i.TEXT_LINK_BUTTON,l.link,{hasBackgroundWhenSelected:!0,options:[{value:!1,content:r.createElement(l.unlink),key:"false"},{value:!0,content:r.createElement(l.link),key:"true"}]},s),color:c(i.TEXT_COLOR_BUTTON,l.color,{value:!1,onChange:o.noop})}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(31),a=n(17),s=n(23);e.exports=function(e,t){return o.createElement(a,{disabled:!e.tooltipContent,content:e.tooltipContent,shouldTranslate:e.shouldTranslate},o.createElement(i,{className:e.getClassName(r({"text-formatting-toggle-button":!0,disabled:e.disabled,selected:e.value}).pickBy().keys().join(" ")),name:e.name,value:e.value,onChange:e.onChange,disabled:e.disabled},o.createElement(s,{},e.children)))}},function(e,t,n){"use strict";var o=n(3),r=n(4),i=n(2),a=n(315);a.displayName=i.TEXT_FORMATTING_TOGGLE_BUTTON,a.propTypes={value:o.bool.isRequired,onChange:o.func.isRequired,disabled:o.bool,options:o.arrayOf(o.shape({value:o.any,content:o.any})).isRequired,hasBackgroundWhenSelected:o.bool,tooltipContent:o.string},a.defaultProps={disabled:!1},e.exports=r(a)},function(e,t,n){"use strict";var o=n(0),r=n(1),i=(n(31),n(17)),a=n(47),s=n(23),l=n(115);e.exports=function(e,t){return o.createElement("span",{},e.value?null:o.createElement(l,r.assign({},{key:"toggleOff"},e)),e.value?o.createElement(i,{key:"toggleOn",disabled:!e.tooltipContent,content:e.tooltipContent,shouldTranslate:e.shouldTranslate},o.createElement.apply(this,[a,{value:e.value,onChange:e.onChange,callOnChangeAnyway:!0,className:"text-formatting-dropdown "+(e.hasBackgroundWhenSelected?"selected-has-background":""),optionsContainerClassName:"text-formatting-dropdown-options",hasArrowIcon:!1},r.map(e.options,function(e,t){return o.createElement(s,{value:e.value,key:e.value},e.content)}.bind(this))])):null)}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{className:"symbol-text-bold",xmlns:"http://www.w3.org/2000/svg",width:"11",height:"14",viewBox:"0 0 11 14"},o.createElement("path",{fillRule:"evenodd",d:"M6.74 14H1.98c-1.09 0-1.99-.9-1.99-2V2c0-1.1.9-2 1.99-2h3.9C7.34 0 8.5.64 9.25 1.79c.81 1.24.87 2.83.16 4.15-.14.27-.15.51-.35.73 1 .65 1.71 1.7 1.83 2.9.11 1.15-.24 2.24-.98 3.07C9.13 13.5 7.97 14 6.74 14zM1.98 8v4h4.98c.67 0 2 .06 2-2 0-1.94-.9-2-2-2H1.98zm0-2h3.99c.62 0 1.99 0 1.99-2 0-1.94-1.21-2-1.99-2H1.98v4z"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{className:"symbol-text-italic",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"14",viewBox:"0 0 8 14"},o.createElement("path",{fillRule:"evenodd",d:"M8 2V0H1v2h2.71L2.12 12H0v2h7v-2H4.15L5.74 2H8z"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{className:"symbol-text-underline",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},o.createElement("path",{fillRule:"evenodd",d:"M0 16v-2h12v2H0zm6-3.75c-2.8 0-5-2.24-5-5.21V1.09C1 .49 1.4 0 2 0s1 .49 1 1.09v5.95c0 1.5 1.21 3.03 3 3.03s3-1.53 3-3.03V1.09C9 .49 9.4 0 10 0s1 .49 1 1.09v5.95c0 2.97-2.2 5.21-5 5.21z"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"17",viewBox:"0 0 18 17"},o.createElement("path",{fillRule:"evenodd",d:"M16.32 7l-3.43 3.42a3.976 3.976 0 0 1-5.63 0 .96.96 0 0 1 0-1.38.96.96 0 0 1 1.38 0c.77.76 2.1.76 2.87 0l3.42-3.43c.38-.38.6-.89.6-1.43 0-.54-.22-1.05-.6-1.44a2.04 2.04 0 0 0-2.86 0l-1.7 1.71a.99.99 0 0 1-1.39 0 .99.99 0 0 1 0-1.39l1.7-1.7a4.002 4.002 0 0 1 5.64 0c1.55 1.55 1.55 4.08 0 5.64zm-5.26 1c-.38.39-1 .39-1.39 0-.79-.79-2.07-.79-2.86 0l-3.43 3.43c-.38.38-.59.89-.59 1.43 0 .54.21 1.05.59 1.44.79.78 2.08.78 2.87 0l1.7-1.71c.38-.38 1-.38 1.38 0 .39.39.39 1.01 0 1.39l-1.7 1.7a3.976 3.976 0 0 1-5.63 0 3.964 3.964 0 0 1-1.17-2.82c0-1.06.42-2.06 1.17-2.82l3.42-3.42a3.983 3.983 0 0 1 5.64 0c.38.38.38 1 0 1.38z"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"22",height:"18",viewBox:"0 0 22 18"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("path",{d:"M7.862 12.981l-1.646 1.67c-.799.81-2.1.81-2.899 0-.8-.81-.8-2.13-.001-2.94l3.317-3.363c.8-.81 2.101-.81 2.9 0a.85.85 0 0 0 1.216 0 .879.879 0 0 0-.001-1.231 3.737 3.737 0 0 0-5.329 0l-3.318 3.362a3.864 3.864 0 0 0 .001 5.404 3.734 3.734 0 0 0 5.329 0l1.646-1.67a.879.879 0 0 0 0-1.232.851.851 0 0 0-1.215 0z",fill:"#2B5672"}),o.createElement("path",{d:"M15.897 2.085c-1.423-1.447-3.908-1.447-5.328 0L8.923 3.76a.884.884 0 0 0 0 1.235.846.846 0 0 0 1.213 0l1.647-1.673c.774-.789 2.123-.789 2.9 0 .386.393.6.917.6 1.473 0 .557-.214 1.081-.601 1.476l-3.316 3.373c-.8.814-2.101.813-2.9 0a.847.847 0 0 0-1.215 0 .885.885 0 0 0 0 1.237c.735.746 1.7 1.119 2.665 1.119.966 0 1.93-.373 2.665-1.12l3.315-3.374A3.84 3.84 0 0 0 17 4.796a3.842 3.842 0 0 0-1.103-2.71z",fill:"#2B5672"}),o.createElement("path",{d:"M19.265 14l1.473-1.473a.895.895 0 0 0-1.265-1.264L18 12.736l-1.473-1.474a.893.893 0 1 0-1.265 1.265l1.473 1.474-1.473 1.472a.895.895 0 0 0 1.265 1.264L18 15.266l1.473 1.473a.89.89 0 0 0 1.265 0 .895.895 0 0 0 0-1.265L19.265 14z",fill:"#EE5951"})))}},function(e,t,n){"use strict";var o=n(0);n(1);e.exports=function(e,t){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"symbol-textForeColor",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"22px",height:"18px"},o.createElement("path",{fill:e.fill?e.fill:"none",fillRule:"evenodd",d:"M 17 3C 17 3 27.03 17 17 17 6.9 17 17 3 17 3Z"}),o.createElement("path",{fillRule:"evenodd",d:"M 16.96 18C 13.35 18 12 14.95 12 13.03 12 9.97 15.69 4.09 16.12 3.43 16.12 3.43 16.95 2.12 16.95 2.12 16.95 2.12 17.8 3.42 17.8 3.42 18.23 4.08 22 9.97 22 13.03 22 15.09 20.44 18 16.96 18ZM 16.96 3.97C 16.96 3.97 13 10.18 13 13.03 13 14.52 14.02 16.99 16.96 16.99 19.89 16.99 21 14.52 21 13.03 21 10.18 16.96 3.97 16.96 3.97ZM 3.6 9.02C 3.6 9.02 2 13.03 2 13.03 2 13.03-0 13.03-0 13.03-0 13.03 5 1 5 1 5 1 6 0 6 0 6 0 7 0 7 0 7 0 8 1 8 1 8 1 11 7.01 11 7.01 11 7.01 11 11.02 11 11.02 11 11.02 9.4 9.02 9.4 9.02 9.4 9.02 3.6 9.02 3.6 9.02ZM 7 3.01C 7 3.01 6 3.01 6 3.01 6 3.01 4.4 7.01 4.4 7.01 4.4 7.01 8.6 7.01 8.6 7.01 8.6 7.01 7 3.01 7 3.01Z"}))}},function(e,t,n){"use strict";var o=n(1),r=n(0),i=function(e){var t=e.currentTarget,n=e.currentTarget.scrollHeight-e.currentTarget.offsetHeight,o=e.deltaY%3?e.deltaY:10*e.deltaY;t.scrollTop+o<=0?(t.scrollTop=0,e.preventDefault()):t.scrollTop+o>=n&&(t.scrollTop=n,e.preventDefault()),e.stopPropagation()};e.exports=function(e){return function(t){return r.createElement(e,o.defaults({blockOuterScroll:i},t))}}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(17),a=n(45),s=n(59);e.exports=function(){return o.createElement("div",{className:this.props.getClassName("input-container")+" "+r({"input-multiline":!0,"is-disabled":this.isDisabled(),success:this.props.success,invalid:this.props.invalidMessage}).transform(function(e,t,n){t&&e.push(n)},[]).join(" "),"data-aid":this.props.automationId,onClick:this.props.onClick},o.createElement("textarea",this.getInputProps()),this.props.invalidMessage?o.createElement(i,{isOpen:this.props.tooltipIsOpen,content:this.props.invalidMessage,shouldTranslate:this.props.shouldTranslate,key:"validationErrorSymbol",className:"input-validation-icon"},o.createElement("span",{className:"input-validation-icon-inner"},o.createElement(a,{}))):null,this.props.success?o.createElement("span",{className:"input-validation-icon",key:"validationSuccessSymbol"},o.createElement("span",{className:"input-validation-icon-inner"},o.createElement(s,{}))):null)}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n=0&&(o[r]=c.omit(o[r],n)),o[t]=c.defaults(i({},n,!0),o[t]),o},g=function(e,t,n){var o=c.clone(e);return o[t]=c.omit(o[t],n),o},b=function(e){return e.value?e.value:function(e){return c.map(e,function(e){return{id:e.props.id,selected:e.props.isSelected,label:e.props.label,value:e.props.value,automationId:e.props.automationId,customActions:e.props.children,contentBefore:e.props.contentBefore,contentAfter:e.props.contentAfter,disabled:e.props.disabled,removable:c.isUndefined(e.props.removable)||Boolean(e.props.removable),draggable:c.isUndefined(e.props.draggable)||Boolean(e.props.draggable),dragHandleEnabled:e.props.dragHandleEnabled,dragHandleTooltipContent:e.props.dragHandleTooltipContent,isContextMenuOpen:e.props.isContextMenuOpen,onContextMenuToggle:e.props.onContextMenuToggle,contextMenuAlignment:e.props.contextMenuAlignment,contextMenuDirection:e.props.contextMenuDirection}})}(e.children)},y=function(e,t){return{triggerId:e,changedItem:t}},E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={value:b(e),draggingItem:null,itemInEdit:null,editMode:l.NONE},n.optimisticUpdate=function(e,t){n.setState({value:e},t)},n.replaceItems=function(e,t){var o=f(n.state.value,e,t),r=n.props.itemMoved?function(){return n.props.itemMoved(e,t)}:function(){return n.props.onChange(o,y("replaceItems",o[t]))};n.optimisticUpdate(o,r)},n.changeItem=function(e,t){var o=h(n.state.value,t,e),r=n.props.itemChanged?function(){return n.props.itemChanged(t,e)}:function(){return n.props.onChange(o,y("changeItem",t))};return n.optimisticUpdate(o,r)},n.isDragging=function(e){return n.state.draggingItem===e},n.setAsDefault=function(e){return n.props.onChange(m(n.state.value,e,"isDefault"),y("setAsDefault"))},n.removeAsDefault=function(e){return n.props.onChange(g(n.state.value,e,"isDefault"),y("removeAsDefault"))},n.toggleDefault=function(e,t){return n.props.toggleDefault?n.props.toggleDefault(e,t,n.state.value):e.isDefault?n.removeAsDefault(t):n.setAsDefault(t)},n.selectItem=function(e){return n.props.selectItem?n.props.selectItem(n.state.value[e],e,n.state.value):n.props.onChange(m(n.state.value,e,"selected"),y("selectItem"))},n.duplicate=function(e){if(n.props.duplicateItem)return n.props.duplicateItem(n.state.value[e],e,n.state.value);if(c.isFunction(n.props.cloneItem)){var t=n.state.value.slice(),o=c(t[e]).omit(["selected","isDefault"]).thru(n.props.cloneItem).value();t.splice(e+1,0,o),n.props.onChange(t,y("duplicate"))}},n.delete=function(e){if(n.props.deleteItem)return n.props.deleteItem(n.state.value[e],e,n.state.value);var t=n.state.value.slice(),o=t.splice(e,1);n.props.onChange(t,y("delete",o[0]))},n.getListClasses=function(){return n.props.getClassName("sort-by-drag-list")+(n.props.disabled?" disabled":"")+(n.props.noBorderTop?" no-border-top":"")},n.hasEditingItem=function(){return null!==n.state.itemInEdit},n.isListDraggable=function(){return n.props.draggable&&!n.hasEditingItem()},n.getItemEditMode=function(e){return n.state.itemInEdit===e?n.state.editMode:l.NONE},n.toggleEditLabelMode=function(e){n.state.editMode===l.EDIT_LABEL?n.setState({itemInEdit:null,editMode:l.NONE},function(){c.isFunction(n.props.onLabelEditEnd)&&n.props.onLabelEditEnd(e)}):n.setState({itemInEdit:e,editMode:l.EDIT_LABEL},function(){c.isFunction(n.props.onLabelEditStart)&&n.props.onLabelEditStart(e)})},n.toggleEditValueMode=function(e){n.state.editMode===l.EDIT_VALUE?n.setState({itemInEdit:null,editMode:l.NONE},function(){c.isFunction(n.props.onValueEditEnd)&&n.props.onValueEditEnd(e)}):n.setState({itemInEdit:e,editMode:l.EDIT_VALUE},function(){c.isFunction(n.props.onValueEditStart)&&n.props.onValueEditStart(e)})},n.getDefaultMenuActions=function(e){var t=[{key:"toggleDefault",enable:!0,label:function(e){return e.isDefault?this.labelOff:this.labelOn},labelOn:"Set as default",labelOff:"Remove as default",action:function(){return n.toggleDefault(n.state.value[e],e)}},{key:"duplicate",enable:!0,label:"Duplicate",action:function(){return n.duplicate(e)}},{key:"toggleEditLabel",enable:!0,label:"Rename",action:function(){return n.toggleEditLabelMode(e)}},{key:"toggleEditValue",enable:!0,label:"Edit value",action:function(){return n.toggleEditValueMode(e)}},{key:"delete",enable:!0,label:"Delete",action:function(){return n.delete(e)}}];return c.reduce(t,function(e,t,n){var o=c.omit(t,"key");return o.priority=-1*(n+1),e[t.key]=o,e},{})},n.getMenuActions=function(e){var t=n.getDefaultMenuActions(e);return n.props.menuActionsOverrides&&c.merge(t,n.props.menuActionsOverrides),c.pickBy(t,"enable")},n.startDragCallback=function(e){n.setState({draggingItem:e})},n.endDragCallback=function(){n.setState({draggingItem:null})},n.getLabelValidators=function(){return c.isArray(n.props.labelValidator)?n.props.labelValidator:c.isFunction(n.props.labelValidator)?[{validator:n.props.labelValidator,invalidMessage:n.props.labelInvalidMessage}]:[]},n.getValueValidators=function(){return c.isArray(n.props.valueValidator)?n.props.valueValidator:c.isFunction(n.props.valueValidator)?[{validator:n.props.valueValidator,invalidMessage:n.props.valueInvalidMessage}]:[]},n.getStyle=function(){return n.props.paddingBottom?{paddingBottom:n.props.paddingBottom}:{}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.Component),r(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({value:b(e)})}},{key:"render",value:function(){return u.call(this)}}]),t}();E.displayName="SortByDragList",E.propTypes={onChange:a.func,onItemHover:a.func,disabled:a.bool,selectable:a.bool,draggable:a.bool,selectItem:a.func,itemMoved:a.func,itemChanged:a.func,toggleDefault:a.func,duplicateItem:a.func,deleteItem:a.func,labelValidator:a.oneOfType([a.func,a.arrayOf(a.shape({validator:a.func.isRequired,invalidMessage:a.string.isRequired}))]),labelInvalidMessage:a.string,valueValidator:a.oneOfType([a.func,a.arrayOf(a.shape({validator:a.func.isRequired,invalidMessage:a.string.isRequired}))]),valueInvalidMessage:a.string,itemValuePrefix:a.string,labelPlaceholder:a.string,valuePlaceholder:a.string,menuActionsOverrides:a.shape({toggleDefault:a.shape({enable:a.bool,labelOn:a.string,labelOff:a.string,automationId:a.string,priority:a.number}),duplicate:a.shape({enable:a.bool,label:a.string,automationId:a.string,priority:a.number}),toggleEditLabel:a.shape({enable:a.bool,label:a.string,labelMaxLength:a.number,automationId:a.string,priority:a.number}),toggleEditValue:a.shape({enable:a.bool,label:a.string,valueMaxLength:a.number,automationId:a.string,priority:a.number}),delete:a.shape({enable:a.bool,label:a.string,automationId:a.string,priority:a.number})}),onLabelEditStart:a.func,onLabelEditEnd:a.func,onValueEditStart:a.func,onValueEditEnd:a.func,noBorderTop:a.bool,paddingBottom:a.number,value:a.arrayOf(a.shape({id:a.string.isRequired,label:a.string.isRequired,value:a.string,automationId:a.string,selected:a.bool,isDefault:a.bool})),children:function(e,t,n){var r=e[t];return e.value&&r?new Error("Overlapping props '"+t+"' and 'value' supplied to '"+n+"', expected only one of them."):e.value?null:r?(c.isArray(r)||(r=[r]),c.some(r,function(e){return c.get(e,"type._rawClass")!==p})?new Error("Invalid prop '"+t+"' of type "+("undefined"==typeof child?"undefined":o(child))+" supplied to '"+n+"', expected children of type '"+p.displayName+"'."):null):new Error("Required props '"+t+"' and 'value' were not specified in '"+n+"', one of them is required")}},E.defaultProps={disabled:!1,selectable:!1,draggable:!0},e.exports=d(E)},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(119),a=n(121);e.exports=function(){return o.createElement("div",{className:this.getListClasses(),"data-aid":this.props.automationId,style:this.getStyle()},o.createElement.apply(this,[i,{onItemMoved:this.replaceItems,draggable:this.isListDraggable(),beforeDragStart:this.startDragCallback,afterDragEnd:this.endDragCallback,dragPlaceholderCssClass:"sbdl-drag-placeholder"},r.map(this.state.value,function(e,t){return o.createElement(a,{key:"sbdlItem-"+e.id,disabled:this.props.disabled||e.disabled,draggable:e.draggable&&this.isListDraggable(),withDragHandle:this.props.draggable,isDragging:this.isDragging(t),select:this.props.selectable?this.selectItem.bind(this,t):null,isSelected:e.selected,value:e,labelPlaceholder:this.props.labelPlaceholder,valuePlaceholder:this.props.valuePlaceholder,labelValidators:this.getLabelValidators(),valueValidators:this.getValueValidators(),isContextMenuOpen:e.isContextMenuOpen,onContextMenuToggle:e.onContextMenuToggle,onChange:function(e,t,n){this.changeItem(t,n)}.bind(this,e,t),onHover:this.props.onItemHover,menuActions:this.getMenuActions(t),editMode:this.getItemEditMode(t),valuePrefix:this.props.itemValuePrefix,automationId:e.automationId,isDefault:e.isDefault,contentBefore:e.contentBefore,contentAfter:e.contentAfter,removable:e.removable,dragHandleEnabled:e.dragHandleEnabled,contextMenuAlignment:e.contextMenuAlignment,contextMenuDirection:e.contextMenuDirection,dragHandleTooltipContent:e.dragHandleTooltipContent},e.customActions)}.bind(this))]))}},function(e,t,n){"use strict";var o=n(0),r=n(1),i=n(122),a=n(123),s=n(65),l=(n(68),n(23),n(22));e.exports=function(){return o.createElement("div",{className:this.getRowClasses(),"data-aid":this.props.automationId,onMouseEnter:this.onHover},o.createElement(i,{dragHandle:this.shouldShowDragHandle(),dragHandleEnabled:this.props.dragHandleEnabled,isDragging:this.props.isDragging,dragHandleTooltipContent:this.props.dragHandleTooltipContent},this.isEditMode()?null:o.createElement("div",{className:"view-mode-content",key:"labelContainer",onMouseUp:this.select},o.createElement("div",{className:"text-container",onDoubleClick:this.onDoubleClick},this.props.contentBefore?o.createElement("div",{className:"content-before",key:"contentBefore"},this.props.contentBefore):null,o.createElement("div",{className:"text-inner-content",style:{width:this.getTextWidth()}},o.createElement(l,{},o.createElement("div",{className:r(this.getLabelClasses()).transform(function(e,t,n){t&&e.push(n)},[]).join(" ")},this.getLabelToDisplay())),this.hasValue()&&this.isMultiline()?o.createElement("div",{className:r(this.getValueClasses()).transform(function(e,t,n){t&&e.push(n)},[]).join(" "),key:"value"},this.getValueToDisplay()):null,this.hasValue()&&!this.isMultiline()?o.createElement(l,{key:"valueWithEllipsis"},o.createElement("div",{className:r(this.getValueClasses()).transform(function(e,t,n){t&&e.push(n)},[]).join(" ")},this.getValueToDisplay())):null),this.props.contentAfter?o.createElement("div",{className:"content-after",key:"contentAfter"},this.props.contentAfter):null),o.createElement("div",{className:"context-menu-container"},this.hasContextMenu()?o.createElement(s,{className:"flat",isOpen:this.props.isContextMenuOpen,onToggle:this.props.onContextMenuToggle,direction:this.props.contextMenuDirection,alignment:this.props.contextMenuAlignment,key:"sbdlContextMenu"},this.getAllContextMenuActions()):null)),this.editLabelMode()?o.createElement(a,{className:"text-edit-container label-text-edit",key:"sbdlLabelTextEdit",keyboardShortcuts:!0,autoFocus:!0,value:this.props.value.label,placeholder:this.getLabelPlaceHolder(),maxLength:this.getLabelMaxLength(),validators:this.props.labelValidators,onChange:this.updateLabelAndCloseEditMode,cancel:this.closeEditLabelMode}):null,this.editValueMode()?o.createElement(a,{className:"text-edit-container value-text-edit",key:"sbdlValueTextEdit",keyboardShortcuts:!0,autoFocus:!0,value:this.props.value.value,placeholder:this.getValuePlaceHolder(),maxLength:this.getValueMaxLength(),validators:this.props.valueValidators,onChange:this.updateValueAndCloseEditMode,cancel:this.closeEditValueMode}):null))}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(344)),i=n(23),a=n(17);e.exports=function(e,t){return o.createElement("div",{className:e.getClassName("sbdl-item-row-base")+(e.dragHandle?" has-drag-handle":"")+(e.dragHandleEnabled?"":" disabled-drag-handle")},e.dragHandleTooltipContent&&e.dragHandle?o.createElement("div",{key:"itemRowDragHandle",className:"drag-handle-container"},o.createElement(i,{className:"symbol-dragHandle"},o.createElement(a,{className:"dragHandle-tooltip",content:e.dragHandleTooltipContent,shouldTranslate:!1,isOpen:e.isDragging},o.createElement(r,{})))):null,e.dragHandle&&!e.dragHandleTooltipContent?o.createElement("div",{key:"itemRowDragHandle",className:"drag-handle-container"},o.createElement(i,{className:"symbol-dragHandle"},o.createElement(r,{}))):null,o.createElement("div",{className:"content"},"\n ",e.children,"\n "))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{baseProfile:"full",height:"12",width:"8",viewBox:"0 0 8 12"},o.createElement("path",{d:"M6 11.979v-2h2v2H6zm0-5h2v2H6v-2zm0-3h2v2H6v-2zm0-3h2v2H6v-2zm-3 9h2v2H3v-2zm0-3h2v2H3v-2zm0-3h2v2H3v-2zm0-3h2v2H3v-2zm-3 9h2v2H0v-2zm0-3h2v2H0v-2zm0-3h2v2H0v-2zm0-1.01V.979v-.01h2v2.01H0v-.01z"}))}},function(e,t,n){"use strict";var o=n(0),r=(n(1),n(30)),i=n(13),a=n(17);e.exports=function(){return o.createElement("div",{className:this.props.getClassName("sbdl-text-edit")+(this.isInvalid()?" invalid":"")},o.createElement(a,{disabled:!this.isInvalid(),key:"invalidMessage",isOpen:!0,content:this.state.invalidMessage,shouldTranslate:this.props.shouldTranslateInvalidMessage},o.createElement(r,{value:this.state.value,focus:this.props.autoFocus,onChange:this.onInputTextChange,maxLength:this.props.maxLength,placeholder:this.props.placeholder,shouldTranslate:!1})),o.createElement(i,{onClick:this.applyChanges,disabled:this.isInvalid()},"Done"))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M14 14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5h9v9zM8 3.5c0-.271.24-.5.525-.5h1.867c.301 0 .608.252.608.5V4H8v-.5zm4 .5v-.5c0-.799-.752-1.5-1.608-1.5H8.525C7.684 2 7 2.673 7 3.5V4H3v1h1v9a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3V5h1V4h-4zm-1 9h1V7h-1v6zm-2 0h1V7H9v6zm-2 0h1V7H7v6z",fill:"#2B5672",fillRule:"evenodd"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M15 12.5a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5H11v3.5a.5.5 0 0 0 .5.5H15v4.5zm-3 3a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5H7v5.5A1.5 1.5 0 0 0 8.5 14H12v1.5zm0-11L14.5 7H12V4.5zM12 3H8.5A1.5 1.5 0 0 0 7 4.5V6H5.5A1.5 1.5 0 0 0 4 7.5v8A1.5 1.5 0 0 0 5.5 17h6a1.5 1.5 0 0 0 1.5-1.5V14h1.5a1.5 1.5 0 0 0 1.5-1.5V7l-4-4z",fill:"#2B5672",fillRule:"evenodd"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M16.381 5.305l-1.702-1.704c-.801-.802-2.197-.8-2.996 0l-8.17 8.18L2 18.001l6.211-1.516 8.17-8.18a2.126 2.126 0 0 0 0-3zM3.426 16.573l.828-3.575 2.742 2.745-3.57.83zm4.548-1.214l-1.328-1.33 3.51-3.513-.681-.682-3.51 3.514-1.327-1.329 5.651-5.659 3.336 3.341-5.651 5.658zM15.7 7.623L14.306 9.02 10.97 5.68l1.394-1.397a1.183 1.183 0 0 1 1.634 0L15.7 5.986a1.16 1.16 0 0 1 0 1.637z",fill:"#2B5672",fillRule:"evenodd"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M16 4h-2v1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-2v1h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm-2 6V8.5A1.5 1.5 0 0 0 12.5 7h-6A1.5 1.5 0 0 0 5 8.5V10h1V8.5a.5.5 0 0 1 .5-.5H9v6H8v1h3v-1h-1V8h2.5a.5.5 0 0 1 .5.5V10h1zM2 15V6a1 1 0 0 1 1-1h2V4H3a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2v-1H3a1 1 0 0 1-1-1z",fill:"#2B5672",fillRule:"evenodd"}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"Set Selected"),o.createElement("g",{fill:"#2b5672",fillRule:"evenodd"},o.createElement("path",{d:"M10 6c-2.206 0-4 1.794-4 4s1.794 4 4 4 4-1.794 4-4-1.794-4-4-4m0 1a3 3 0 1 1 0 6 3 3 0 0 1 0-6"}),o.createElement("path",{d:"M10 3a7 7 0 1 0 0 14 7 7 0 0 0 0-14m0 1c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6"})))}},function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n