playbook-ui 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/playbook.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var i=arguments[e];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&t.push(a)}}else if("object"===o){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){t.push(i.toString());continue}for(var s in i)n.call(i,s)&&i[s]&&t.push(s)}}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(i=function(){return r}.apply(e,[]))||(t.exports=i)}()},function(t,e,n){"use strict";function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return p}));var i=n(22),r=n(54),o=[0,1];function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l=function(t,e){return Object.keys(t).map((function(n){var i="string"==typeof t[n]?Object(r.a)(t[n]):t[n];return"".concat(e,"_").concat(n,"_").concat(i)})).join(" ")},c={hoverProps:function(t){var e=t.hover,n="";return e?(n+=e.shadow?"hover_shadow_".concat(e.shadow," "):"",n+=e.background?"hover_background_".concat(e.background," "):"",n+=e.scale?"hover_scale_".concat(e.scale," "):""):n},spacingProps:function(t){var e=t.marginRight,n=t.marginLeft,i=t.marginTop,r=t.marginBottom,o=t.marginX,s=t.marginY,l=t.margin,c=t.paddingRight,d=t.paddingLeft,u=t.paddingTop,p=t.paddingBottom,h=t.paddingX,f=t.paddingY,m=t.padding,g="",_={marginRight:e,marginLeft:n,marginTop:i,marginBottom:r,marginX:o,marginY:s,margin:l,paddingRight:c,paddingLeft:d,paddingTop:u,paddingBottom:p,paddingX:h,paddingY:f,padding:m};function v(t){return{marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"}[t]}return Object.entries(_).forEach((function(t){var e=a(t,2),n=e[0],i=e[1];if(i)if("object"==typeof i)g+=function(t,e){var n="";return Object.entries(t).forEach((function(t){var i=a(t,2),r=i[0],o=i[1];n+="".concat(e,"_").concat(r,"_").concat(o," ")})),n}(i,v(n));else{var r=v(n);g+="".concat(r,"_").concat(i," ")}})),g.trim()},borderRadiusProps:function(t){var e=t.borderRadius,n="";return n+=e?"border_radius_".concat(e," "):""},darkProps:function(t){return t.dark?"dark":""},numberSpacingProps:function(t){var e=t.numberSpacing,n="";return n+=e?"ns_".concat(e," "):""},maxWidthProps:function(t){var e=t.maxWidth,n="";return n+=e?"max_width_".concat(e," "):""},zIndexProps:function(t){var e="";return Object.entries(t).forEach((function(t){"zIndex"==t[0]&&("number"==typeof t[1]?e+="z_index_".concat(t[1]," "):"object"==typeof t[1]&&Object.entries(t[1]).forEach((function(t){e+="z_index_".concat(t[0],"_").concat(t[1]," ")})))})),e},shadowProps:function(t){var e=t.shadow,n="";return n+=e?"shadow_".concat(e," "):""},lineHeightProps:function(t){var e=t.lineHeight,n="";return n+=e?"line_height_".concat(e," "):""},displayProps:function(t){var e="";return Object.entries(t).forEach((function(t){"display"==t[0]&&("string"==typeof t[1]?e+="display_".concat(t[1]," "):"object"==typeof t[1]&&Object.entries(t[1]).forEach((function(t){e+="display_".concat(t[0],"_").concat(t[1]," ")})))})),e},cursorProps:function(t){var e=t.cursor,n="";return n+=e?"cursor_".concat(Object(r.a)(e)):""},alignContentProps:function(t){var e=t.alignContent;return"object"==typeof e?l(e,"align_content"):e?"align_content_".concat(Object(r.a)(e)):""},alignItemsProps:function(t){var e=t.alignItems;return"object"==typeof e?l(e,"align_items"):e?"align_items_".concat(Object(r.a)(e)):""},alignSelfProps:function(t){var e=t.alignSelf;return"object"==typeof e?l(e,"align_self"):e?"align_self_".concat(e):""},flexDirectionProps:function(t){var e=t.flexDirection;return"object"==typeof e?l(e,"flex_direction"):e?"flex_direction_".concat(Object(r.a)(e)):""},flexWrapProps:function(t){var e=t.flexWrap;return"object"==typeof e?l(e,"flex_wrap"):e?"flex_wrap_".concat(Object(r.a)(e)):""},flexProps:function(t){var e=t.flex;return"object"==typeof e?l(e,"flex"):e?"flex_".concat(e):""},flexGrowProps:function(t){var e=t.flexGrow;return"object"==typeof e?l(e,"flex_grow"):o.includes(e)?"flex_grow_".concat(e):""},flexShrinkProps:function(t){var e=t.flexShrink;return"object"==typeof e?l(e,"flex_shrink"):o.includes(e)?"flex_shrink_".concat(e):""},justifyContentProps:function(t){var e=t.justifyContent;return"object"==typeof e?l(e,"justify_content"):e?"justify_content_".concat(Object(r.a)(e)):""},justifySelfProps:function(t){var e=t.justifySelf;return"object"==typeof e?l(e,"justify_self"):e?"justify_self_".concat(e):""},orderProps:function(t){var e=t.order;return"object"==typeof e?l(e,"flex_order"):e?"flex_order_".concat(e):""},positionProps:function(t){var e=t.position,n="";return n+=e&&"static"!==e?"position_".concat(e):""}},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},t),e);return Object.keys(c).map((function(t){return c[t](n)})).filter((function(t){return(null==t?void 0:t.length)>0})).join(" ")},u=function(t){},p=function(t){return Object(i.omit)(t,["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark"])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(147);function r(t,e,n){return(e=Object(i.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d={horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""};e.a=function(t){var e,n=t.aria,i=void 0===n?{}:n,o=t.border,u=void 0!==o&&o,p=t.className,h=t.customIcon,f=t.data,m=void 0===f?{}:f,g=t.fixedWidth,_=void 0===g||g,v=t.flip,b=void 0===v?"none":v,y=t.icon,x=t.id,w=t.inverse,O=void 0!==w&&w,k=t.listItem,C=void 0!==k&&k,E=t.pull,S=t.pulse,j=void 0!==S&&S,$=t.rotation,A=t.size,M=t.fontStyle,P=void 0===M?"far":M,T=t.spin,D=(c(e={"fa-border":u,"fa-fw":_,"fa-inverse":O,"fa-li":C,"fa-pulse":j,"fa-spin":void 0!==T&&T},"fa-".concat(A),A),c(e,"fa-pull-".concat(E),E),c(e,"fa-rotate-".concat($),$),e);h||(D["fa-".concat(y)]=y);var L=a()(d[b],"pb_icon_kit",h?"":P,D,Object(l.c)(t),p),N=a()("pb_icon_kit_emoji",Object(l.c)(t),p);!i.label&&(i.label="".concat(y," icon"));var I=Object(s.a)(i),R=Object(s.c)(m);return r.a.createElement(r.a.Fragment,null,function(t){return t?r.a.createElement(r.a.Fragment,null,r.a.cloneElement(t,Object.assign(Object.assign({},R),{className:L,id:x}))):/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F)+$/.test(y)?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",Object.assign({},R,{className:N,id:x}),y)):r.a.createElement(r.a.Fragment,null,r.a.createElement("i",Object.assign({},R,{className:L,id:x})),r.a.createElement("span",Object.assign({},I,{hidden:!0})))}(h))}},function(t,e,n){t.exports={windows:"#003DB2",siding:"#6000AC",doors:"#B85C00",solar:"#007E8F",roofing:"#760B24",gutters:"#008540",insulation:"#96006C",product_1_background:"#003DB2",product_1_highlight:"#0057FF",product_2_background:"#6000AC",product_2_highlight:"#8200E9",product_3_background:"#B85C00",product_3_highlight:"#CE7500",product_4_background:"#007E8F",product_4_highlight:"#00B9D2",product_5_background:"#760B24",product_5_highlight:"#B8032E",product_6_background:"#008540",product_6_highlight:"#00A851",product_7_background:"#96006C",product_7_highlight:"#CD0094",product_8_background:"#144075",product_8_highlight:"#1A569E",product_9_background:"#fcc419",product_9_highlight:"#ffd43b",product_10_background:"#20c997",product_10_highlight:"#38d9a9",success:"#1CA05C",success_secondary:"#24cb75",success_sm:"#157F48",success_subtle:"rgba(28,160,92,0.1)",warning:"#F9BB00",warning_secondary:"#ffcb2d",warning_subtle:"rgba(249,187,0,0.1)",error:"#DA0014",error_secondary:"#ff0e24",error_subtle:"rgba(218,0,20,0.1)",info:"#00C4D7",info_secondary:"#0be9ff",info_subtle:"rgba(0,196,215,0.1)",neutral:"#C1CDD6",neutral_secondary:"#e0e6ea",neutral_subtle:"rgba(193,205,214,0.1)",primary:"#0056CF",primary_secondary:"#036cff",data_1:"#0056CF",data_2:"#F9BB00",data_3:"#9E64E9",data_4:"#1CA05C",data_5:"#FD804C",data_6:"#144075",data_7:"#00C4D7",data_8:"#DA0014",shadow:"rgba(60,106,172,0.2)",shadow_dark:"#0a0527",royal:"#0056CF",purple:"#9E64E9",teal:"#00C4D7",red:"#DA0014","#ff0":"#F9BB00",green:"#1CA05C",orange:"#FD804C",default:"#93a8b8","#fff":"#fff",silver:"#F3F7FB",slate:"#C1CDD6",charcoal:"#242B42","#000":"#000",secondary:"#F9BB00",tertiary:"#9E64E9",bg_light:"#F3F7FB",bg_dark:"#0a0527",bg_dark_card:"#231E3D",card_light:"#fff",card_dark:"#231e3d",active_light:"#f7fbff",active_dark:"#0082ff",primary_action:"#0056CF",primary_action_dark:"#0082ff",hover_light:"#e0eaf5",hover_dark:"rgba(255,255,255,0.2)",border_light:"#E4E8F0",border_dark:"#3b3752",text_lt_default:"#242B42",text_lt_light:"#687887",text_lt_lighter:"#C1CDD6",text_dk_default:"#fff",text_dk_light:"rgba(255,255,255,0.6)",text_dk_lighter:"rgba(255,255,255,0.4)",category_1:"#0056CF",category_2:"#0CD2E5",category_3:"#F9BB00",category_4:"#14D595",category_5:"#A057FF",category_6:"#FF7034",category_7:"#97DA22",category_8:"#EA599F",category_9:"#0091FF",category_10:"#5027E4",category_11:"#DA0014",category_12:"#109922",category_13:"#058F9D",category_14:"#A33E6F",category_15:"#B2171C",category_16:"#0A5C49",category_17:"#325B91",category_18:"#BE4714",category_19:"navy",category_20:"#5C0E0A",category_21:"#040830",gradient_start:"#1C75F2",gradient_end:"#0056CF"}},function(t,e,n){t.exports={font_family_base:'"Proxima Nova","Helvetica Neue",Helvetica,Arial,sans_serif',text_jumbo:"36px",text_largest:"32px",text_larger:"28px",text_large:"20px",text_base:"16px",text_default:"16px",text_normal:"16px",text_medium:"16px",text_small:"14px",text_smaller:"12px",text_smallest:"11px",heading_1:"46px",heading_2:"34px",heading_3:"28px",heading_4:"16px",lighter:"100",light:"300",bold:"600",regular:"400"}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.align,n=void 0===e?"none":e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.inline,p=void 0!==u&&u,h=t.horizontal,f=void 0===h?"left":h,m=t.justify,g=void 0===m?"none":m,_=t.orientation,v=void 0===_?"row":_,b=t.spacing,y=void 0===b?"none":b,x=t.gap,w=void 0===x?"none":x,O=t.rowGap,k=void 0===O?"none":O,C=t.columnGap,E=void 0===C?"none":C,S=t.reverse,j=void 0!==S&&S,$=t.vertical,A=void 0===$?"top":$,M=t.wrap,P=void 0!==M&&M,T=t.alignSelf,D=void 0===T?"none":T,L=void 0!==v?"orientation_".concat(v):"",N="justify_content_".concat("none"!==g?g:f),I="align_items_".concat("none"!==n?n:A),R=!0===p?"inline":"",F=void 0!==y?"spacing_".concat(y):"",z="none"!==w?"gap_".concat(w):"",B="none"!==k?"rowGap_".concat(k):"",W="none"!==E?"columnGap_".concat(E):"",H=!0===P?"wrap":"",Y=!0===j?"reverse":"",U="none"!==D?"align_self_".concat(D):"",G=Object(s.c)(d);return r.a.createElement("div",Object.assign({className:a()(Object(s.b)("pb_flex_kit",L,N,I,R,Y,H,F,z,B,W,U),Object(l.c)(t),o)},G),i)}},function(t,e,n){"use strict";n.d(e,"m",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"l",(function(){return c})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return u})),n.d(e,"o",(function(){return p})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return f})),n.d(e,"n",(function(){return m})),n.d(e,"h",(function(){return g})),n.d(e,"g",(function(){return _}));var i="top",r="bottom",o="right",a="left",s="auto",l=[i,r,o,a],c="start",d="end",u="clippingParents",p="viewport",h="popper",f="reference",m=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+d])}),[]),g=[].concat(l,[s]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(125);e.a=function(t){t.variant&&Object(l.a)("Body",["status"]);var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,d=t.color,u=void 0===d?"":d,p=t.data,h=void 0===p?{}:p,f=t.highlightedText,m=void 0===f?[]:f,g=t.highlighting,_=void 0!==g&&g,v=t.id,b=void 0===v?"":v,y=t.status,x=void 0===y?null:y,w=t.tag,O=void 0===w?"div":w,k=t.text,C=void 0===k?"":k,E=t.variant,S=void 0===E?null:E,j=Object(s.a)(n),$=Object(s.c)(h),A=a()(Object(s.b)("pb_body_kit",u,S,x),Object(l.c)(t),o),M="".concat(O);return r.a.createElement(M,Object.assign({},j,$,{className:A,id:b}),_&&r.a.createElement(c.a,{highlightedText:m,text:C},i),!_&&(C||i))}},function(t,e,n){t.exports=n(221)()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){t.variant&&Object(l.a)("Title",["variant"]);var e,n=t.aria,i=void 0===n?{}:n,o=t.children,c=t.className,d=t.color,u=t.data,p=void 0===u?{}:u,h=t.id,f=t.size,m=void 0===f?3:f,g=t.bold,_=void 0===g||g,v=t.tag,b=void 0===v?"h3":v,y=t.text,x=t.variant,w=void 0===x?null:x,O=Object(s.a)(i),k=Object(s.c)(p),C=_?"":"thin",E="number"==typeof m||"string"==typeof m,S=a()(Object(s.b)("pb_title_kit",E?"size_".concat(m):"",w,d,C),Object(l.c)(t),(e="",E||Object.entries(m).forEach((function(t){e+="pb_title_kit_".concat(t[0],"_").concat(t[1]," ")})),e.trim()),c),j="".concat(b);return r.a.createElement(j,Object.assign({},O,k,{className:S,id:h}),y||o)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.children,n=t.className,i=t.fixedSize,o=t.grow,c=t.overflow,d=void 0===c?null:c,u=t.shrink,p=t.flex,h=void 0===p?"none":p,f=t.order,m=void 0===f?"none":f,g=t.alignSelf,_=t.displayFlex,v=!0===o?"grow":"",b=!0===_?"display_flex_".concat(_):"",y="none"!==h?"flex_".concat(h):"",x=d?"overflow_".concat(d):"",w=!0===u?"shrink":"",O=g?"align_self_".concat(g):"",k=void 0!==i?{flexBasis:"".concat(i)}:null,C="none"!==m?"order_".concat(m):null;return r.a.createElement("div",{className:a()(Object(s.b)("pb_flex_item_kit",v,w,y,b),x,C,O,Object(l.c)(t),n),style:k},e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){t.variant&&Object(l.a)("Title",["variant"]);var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.color,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.size,f=void 0===h?"md":h,m=t.tag,g=void 0===m?"div":m,_=t.text,v=t.variant,b=void 0===v?null:v,y=["h1","h2","h3","h4","h5","h6","p","span","div","caption"].includes(g)?g:"div",x=Object(s.a)(n),w=Object(s.c)(u),O=a()(Object(s.b)("pb_caption_kit",f,b,c),Object(l.c)(t),o);return r.a.createElement(y,Object.assign({},x,w,{className:O,id:p}),_||i)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(22),a=n(3),s=n.n(a),l=n(2),c=n(5);function d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=function(t){var e,n,i=t.aria,a=void 0===i?{}:i,u=t.background,p=void 0===u?"none":u,h=t.borderNone,f=void 0!==h&&h,m=t.borderRadius,g=void 0===m?"md":m,_=t.children,v=t.className,b=t.data,y=void 0===b?{}:b,x=t.highlight,w=void 0===x?{}:x,O=t.selected,k=void 0!==O&&O,C=t.tag,E=void 0===C?"div":C,S=1==f?"border_none":"",j=1==k?"selected":"deselected",$="none"==p?"":"background_".concat(p),A=Object(l.b)("pb_card_kit",j,S,"border_radius_".concat(g),$,(d(e={},"highlight_".concat(w.position),w.position),d(e,"highlight_".concat(w.color),w.color),e)),M=Object(l.a)(a),P=Object(l.c)(y),T=r.a.Children.toArray(_),D=T.filter((function(t){return"Header"!==Object(o.get)(t,"type.displayName")})),L=["div","section","footer","header","article","aside","main","nav"].includes(E)?E:"div";return r.a.createElement(L,Object.assign({},M,P,{className:s()(A,Object(c.c)(t),v)}),(n="Header",T.filter((function(t){return Object(o.get)(t,"type.displayName")===n})).map((function(t,e){if(r.a.isValidElement(t))return r.a.cloneElement(t,{key:"".concat(n.toLowerCase(),"-").concat(e)})}))),D)};u.Header=function(t){var e=t.children,n=t.className,i=t.headerColor,o=void 0===i?"category_1":i,a=t.headerColorStriped,d=void 0!==a&&a,u=Object(l.b)("pb_card_header_kit","".concat(o),d?"striped":""),p=Object(c.c)(t);return r.a.createElement("div",{className:s()(u,p,n)},e)},u.Body=function(t){var e=t.children,n=t.className,i=Object(l.b)("pb_card_body_kit"),o=Object(c.c)(t);return r.a.createElement("div",{className:s()(i,o,n)},e)},e.a=u},function(t,e,n){"use strict";var i=["SU","M","T","W","TH","F","S"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=function(t){return"string"!=typeof t||t.includes("T")?new Date(t):new Date(t.replace(/-/g,"/"))},s=function(t,e){return e?new Date(a(t).toLocaleString(void 0,{timeZone:e})).getDate():a(t).getDate()},l=function(t){return a(t).getUTCMonth()+1},c=function(t,e){var n=a(t);return e?n.toLocaleTimeString(void 0,{timeZone:e,timeStyle:"short"}).split(" ")[0]:n.toLocaleTimeString(void 0,{timeStyle:"short"}).split(" ")[0]},d=function(t,e){var n=a(t);return e?n.toLocaleString(void 0,{timeZone:e,hour12:!0}).slice(-2).charAt(0).toLocaleLowerCase():n.toLocaleString(void 0,{hour12:!0}).slice(-2).charAt(0).toLocaleLowerCase()},u=function(t){var e=a(t),n=e.getDay(),i=new Date(e.setHours(0,0,0)),r=0===n?6:n-1;return i.setDate(e.getDate()-r),i},p=function(t){var e=a(t),n=e.getDay(),i=new Date(e.setHours(23,59,59,0)),r=0===n?0:7-n;return i.setDate(e.getDate()+r),i},h=function(t){var e=a(t);return new Date(e.getFullYear(),e.getMonth(),1)},f=function(t){var e=a(t);return new Date(e.getFullYear(),e.getMonth()+1,0,23,59,59)},m=function(t){var e=a(t),n=Math.floor(e.getMonth()/3);return new Date(e.getFullYear(),3*n,1)},g=function(t){var e=a(t),n=Math.floor(e.getMonth()/3),i=new Date(e.getFullYear(),3*(n+1),1);return new Date(i.getTime()-1)},_=function(t){var e=a(t);return new Date(e.getFullYear(),0,1)},v=function(t){var e=a(t);return new Date(e.getFullYear(),11,31,23,59,59)};e.a={toMinute:function(t,e){var n=a(t);return e?n.toLocaleTimeString(void 0,{timeZone:e,hour:"2-digit",minute:"2-digit"}).slice(3,5):n.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"}).slice(3,5)},toHour:function(t,e){var n=a(t);return e?n.toLocaleTimeString(void 0,{timeZone:e,hour:"numeric"}).split(" ")[0]:n.toLocaleTimeString(void 0,{hour:"numeric"}).split(" ")[0]},toDay:s,toDayAbbr:function(t){var e=a(t);return i[e.getUTCDay()]},toWeekday:function(t){var e=a(t);return r[e.getUTCDay()]},toMonth:function(t,e){if(e){var n=new Date(a(t).toLocaleString(void 0,{timeZone:e}));return o[n.getUTCMonth()]}var i=a(t);return o[i.getUTCMonth()]},toMonthNum:l,toYear:function(t,e){return e?new Date(t.toLocaleString(void 0,{timeZone:e})).getUTCFullYear():new Date(t).getUTCFullYear()},toTime:c,toMeridiem:d,toTimeZone:function(t,e){var n=a(t);return e?n.toLocaleString(void 0,{timeZone:e,timeZoneName:"short"}).split(" ")[3]:n.toLocaleString(void 0,{timeZoneName:"short"}).split(" ")[3]},toTimeWithMeridiem:function(t,e){var n=a(t);return"".concat(c(n,e)).concat(d(n,e))},toIso:function(t){return a(t).toISOString()},fromNow:function(t){for(var e=a(t).getTime(),n=(new Date).getTime()-e,i="".concat(Math.round(n/315576e5)," years ago."),r=0,o=[{min:0,max:44999,value:"a few seconds ago"},{min:45e3,max:89999,value:"a minute ago"},{min:9e4,max:2649999,value:"".concat(Math.round(n/6e4)," minutes ago")},{min:265e4,max:7299999,value:"an hour ago"},{min:73e5,max:75699999,value:"".concat(Math.round(n/36e5)," hours ago")},{min:757e5,max:172899999,value:"a day ago"},{min:1729e5,max:2169999999,value:"".concat(Math.round(n/864e5)," days ago")},{min:217e7,max:5184999999,value:"a month ago"},{min:5185e6,max:27561699999,value:"".concat(Math.round(n/30.44*24*60*60*1e3)," months ago")},{min:275617e5,max:63072999999,value:"a year ago"}];r<o.length;r++){var s=o[r];if(n>=s.min&&n<=s.max){i=s.value;break}}return i},toCustomFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"month_day",n=a(t);return"month_day"==e?"".concat(l(n),"/").concat(s(n)):"".concat(n.toLocaleString(void 0,{month:"short"})," ").concat(s(n))},getYesterdayDate:function(t){var e=a(t),n=new Date;return n.setDate(e.getDate()-1),n},getFirstDayOfWeek:u,getLastDayOfWeek:p,getPreviousWeekStartDate:function(t){var e=u(t);return new Date(e.getFullYear(),e.getMonth(),e.getDate()-7)},getPreviousWeekEndDate:function(t){var e=p(t);return new Date(e.getFullYear(),e.getMonth(),e.getDate()-7,e.getHours(),e.getMinutes(),e.getSeconds())},getMonthStartDate:h,getMonthEndDate:f,getPreviousMonthStartDate:function(t){var e=h(t);return new Date(e.getFullYear(),e.getMonth()-1,e.getDate())},getPreviousMonthEndDate:function(t){var e=f(t);return new Date(e.getFullYear(),e.getMonth()-1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())},getQuarterStartDate:m,getQuarterEndDate:g,getPreviousQuarterStartDate:function(t){var e=m(t);return new Date(e.getFullYear(),e.getMonth()-3,e.getDate())},getPreviousQuarterEndDate:function(t){var e=g(t);return new Date(e.getFullYear(),e.getMonth()-3,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())},getYearStartDate:_,getYearEndDate:v,getPreviousYearStartDate:function(t){var e=_(t);return new Date(e.getFullYear()-1,e.getMonth(),e.getDate())},getPreviousYearEndDate:function(t){var e=v(t);return new Date(e.getFullYear()-1,e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())}}},function(t,e,n){"use strict";var i=["innerHTML","ownerDocument","style","attributes","nodeValue"],r=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],o=["bigint","boolean","null","number","string","symbol","undefined"];function a(t){var e=Object.prototype.toString.call(t).slice(8,-1);return/HTML\w+Element/.test(e)?"HTMLElement":function(t){return r.includes(t)}(e)?e:void 0}function s(t){return function(e){return a(e)===t}}function l(t){return function(e){return typeof e===t}}function c(t){if(null===t)return"null";switch(typeof t){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(c.array(t))return"Array";if(c.plainFunction(t))return"Function";var e=a(t);return e||"Object"}c.array=Array.isArray,c.arrayOf=function(t,e){return!(!c.array(t)&&!c.function(e))&&t.every((function(t){return e(t)}))},c.asyncGeneratorFunction=function(t){return"AsyncGeneratorFunction"===a(t)},c.asyncFunction=s("AsyncFunction"),c.bigint=l("bigint"),c.boolean=function(t){return!0===t||!1===t},c.date=s("Date"),c.defined=function(t){return!c.undefined(t)},c.domElement=function(t){return c.object(t)&&!c.plainObject(t)&&1===t.nodeType&&c.string(t.nodeName)&&i.every((function(e){return e in t}))},c.empty=function(t){return c.string(t)&&0===t.length||c.array(t)&&0===t.length||c.object(t)&&!c.map(t)&&!c.set(t)&&0===Object.keys(t).length||c.set(t)&&0===t.size||c.map(t)&&0===t.size},c.error=s("Error"),c.function=l("function"),c.generator=function(t){return c.iterable(t)&&c.function(t.next)&&c.function(t.throw)},c.generatorFunction=s("GeneratorFunction"),c.instanceOf=function(t,e){return!(!t||!e)&&Object.getPrototypeOf(t)===e.prototype},c.iterable=function(t){return!c.nullOrUndefined(t)&&c.function(t[Symbol.iterator])},c.map=s("Map"),c.nan=function(t){return Number.isNaN(t)},c.null=function(t){return null===t},c.nullOrUndefined=function(t){return c.null(t)||c.undefined(t)},c.number=function(t){return l("number")(t)&&!c.nan(t)},c.numericString=function(t){return c.string(t)&&t.length>0&&!Number.isNaN(Number(t))},c.object=function(t){return!c.nullOrUndefined(t)&&(c.function(t)||"object"==typeof t)},c.oneOf=function(t,e){return!!c.array(t)&&t.indexOf(e)>-1},c.plainFunction=s("Function"),c.plainObject=function(t){if("Object"!==a(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.getPrototypeOf({})},c.primitive=function(t){return c.null(t)||function(t){return o.includes(t)}(typeof t)},c.promise=s("Promise"),c.propertyOf=function(t,e,n){if(!c.object(t)||!e)return!1;var i=t[e];return c.function(n)?n(i):c.defined(i)},c.regexp=s("RegExp"),c.set=s("Set"),c.string=l("string"),c.symbol=l("symbol"),c.undefined=l("undefined"),c.weakMap=s("WeakMap"),c.weakSet=s("WeakSet"),e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return x})),n.d(e,"d",(function(){return w}));var i=n(145);var r=n(0),o=n(115);n(251);function a(t,e,n){var i="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]):i+=n+" "})),i}var s=function(t,e,n){var i=t.key+"-"+e.name;if(!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles),void 0===t.inserted[e.name]){var r=e;do{t.insert("."+i,r,t.sheet,!0);r=r.next}while(void 0!==r)}},l=n(85),c=Object.prototype.hasOwnProperty,d=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(o.a)():null),u=Object(r.createContext)({}),p=d.Provider,h=function(t){var e=function(e,n){return Object(r.createElement)(d.Consumer,null,(function(i){return t(e,i,n)}))};return Object(r.forwardRef)(e)},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(t,e){var n={};for(var i in e)c.call(e,i)&&(n[i]=e[i]);return n[f]=t,n},g=function(){return null},_=function(t,e,n,i){var o=null===n?e.css:e.css(n);"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var d=e[f],u=[o],p="";"string"==typeof e.className?p=a(t.registered,u,e.className):null!=e.className&&(p=e.className+" ");var h=Object(l.a)(u);s(t,h,"string"==typeof d);p+=t.key+"-"+h.name;var m={};for(var _ in e)c.call(e,_)&&"css"!==_&&_!==f&&(m[_]=e[_]);m.ref=i,m.className=p;var v=Object(r.createElement)(d,m),b=Object(r.createElement)(g,null);return Object(r.createElement)(r.Fragment,null,b,v)},v=h((function(t,e,n){return"function"==typeof t.css?Object(r.createElement)(u.Consumer,null,(function(i){return _(e,t,i,n)})):_(e,t,null,n)}));var b=n(146),y=n(60),x=function(t,e){var n=arguments;if(null==e||!c.call(e,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=v,o[1]=m(t,e);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)},w=(r.Component,function(){var t=y.a.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}),O=function t(e){for(var n=e.length,i=0,r="";i<n;i++){var o=e[i];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=t(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function k(t,e,n){var i=[],r=a(t,i,n);return i.length<2?n:r+e(i)}var C=function(){return null},E=h((function(t,e){return Object(r.createElement)(u.Consumer,null,(function(n){var i=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=Object(l.a)(n,e.registered);return s(e,r,!1),e.key+"-"+r.name},o={css:i,cx:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return k(e.registered,i,O(n))},theme:n},a=t.children(o);var c=Object(r.createElement)(C,null);return Object(r.createElement)(r.Fragment,null,c,a)}))}))},function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return i}))},function(t,e,n){(function(t,i){var r;
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var i=arguments[e];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&t.push(a)}}else if("object"===o){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){t.push(i.toString());continue}for(var s in i)n.call(i,s)&&i[s]&&t.push(s)}}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(i=function(){return r}.apply(e,[]))||(t.exports=i)}()},function(t,e,n){"use strict";function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return p}));var i=n(22),r=n(54),o=[0,1];function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l=function(t,e){return Object.keys(t).map((function(n){var i="string"==typeof t[n]?Object(r.a)(t[n]):t[n];return"".concat(e,"_").concat(n,"_").concat(i)})).join(" ")},c={hoverProps:function(t){var e=t.hover,n="";return e?(n+=e.shadow?"hover_shadow_".concat(e.shadow," "):"",n+=e.background?"hover_background_".concat(e.background," "):"",n+=e.scale?"hover_scale_".concat(e.scale," "):""):n},spacingProps:function(t){var e=t.marginRight,n=t.marginLeft,i=t.marginTop,r=t.marginBottom,o=t.marginX,s=t.marginY,l=t.margin,c=t.paddingRight,d=t.paddingLeft,u=t.paddingTop,p=t.paddingBottom,h=t.paddingX,f=t.paddingY,m=t.padding,g="",_={marginRight:e,marginLeft:n,marginTop:i,marginBottom:r,marginX:o,marginY:s,margin:l,paddingRight:c,paddingLeft:d,paddingTop:u,paddingBottom:p,paddingX:h,paddingY:f,padding:m};function v(t){return{marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"}[t]}return Object.entries(_).forEach((function(t){var e=a(t,2),n=e[0],i=e[1];if(i)if("object"==typeof i)g+=function(t,e){var n="";return Object.entries(t).forEach((function(t){var i=a(t,2),r=i[0],o=i[1];n+="".concat(e,"_").concat(r,"_").concat(o," ")})),n}(i,v(n));else{var r=v(n);g+="".concat(r,"_").concat(i," ")}})),g.trim()},borderRadiusProps:function(t){var e=t.borderRadius,n="";return n+=e?"border_radius_".concat(e," "):""},darkProps:function(t){return t.dark?"dark":""},numberSpacingProps:function(t){var e=t.numberSpacing,n="";return n+=e?"ns_".concat(e," "):""},maxWidthProps:function(t){var e=t.maxWidth,n="";return n+=e?"max_width_".concat(e," "):""},zIndexProps:function(t){var e="";return Object.entries(t).forEach((function(t){"zIndex"==t[0]&&("number"==typeof t[1]?e+="z_index_".concat(t[1]," "):"object"==typeof t[1]&&Object.entries(t[1]).forEach((function(t){e+="z_index_".concat(t[0],"_").concat(t[1]," ")})))})),e},shadowProps:function(t){var e=t.shadow,n="";return n+=e?"shadow_".concat(e," "):""},lineHeightProps:function(t){var e=t.lineHeight,n="";return n+=e?"line_height_".concat(e," "):""},displayProps:function(t){var e="";return Object.entries(t).forEach((function(t){"display"==t[0]&&("string"==typeof t[1]?e+="display_".concat(t[1]," "):"object"==typeof t[1]&&Object.entries(t[1]).forEach((function(t){e+="display_".concat(t[0],"_").concat(t[1]," ")})))})),e},cursorProps:function(t){var e=t.cursor,n="";return n+=e?"cursor_".concat(Object(r.a)(e)):""},alignContentProps:function(t){var e=t.alignContent;return"object"==typeof e?l(e,"align_content"):e?"align_content_".concat(Object(r.a)(e)):""},alignItemsProps:function(t){var e=t.alignItems;return"object"==typeof e?l(e,"align_items"):e?"align_items_".concat(Object(r.a)(e)):""},alignSelfProps:function(t){var e=t.alignSelf;return"object"==typeof e?l(e,"align_self"):e?"align_self_".concat(e):""},flexDirectionProps:function(t){var e=t.flexDirection;return"object"==typeof e?l(e,"flex_direction"):e?"flex_direction_".concat(Object(r.a)(e)):""},flexWrapProps:function(t){var e=t.flexWrap;return"object"==typeof e?l(e,"flex_wrap"):e?"flex_wrap_".concat(Object(r.a)(e)):""},flexProps:function(t){var e=t.flex;return"object"==typeof e?l(e,"flex"):e?"flex_".concat(e):""},flexGrowProps:function(t){var e=t.flexGrow;return"object"==typeof e?l(e,"flex_grow"):o.includes(e)?"flex_grow_".concat(e):""},flexShrinkProps:function(t){var e=t.flexShrink;return"object"==typeof e?l(e,"flex_shrink"):o.includes(e)?"flex_shrink_".concat(e):""},justifyContentProps:function(t){var e=t.justifyContent;return"object"==typeof e?l(e,"justify_content"):e?"justify_content_".concat(Object(r.a)(e)):""},justifySelfProps:function(t){var e=t.justifySelf;return"object"==typeof e?l(e,"justify_self"):e?"justify_self_".concat(e):""},orderProps:function(t){var e=t.order;return"object"==typeof e?l(e,"flex_order"):e?"flex_order_".concat(e):""},positionProps:function(t){var e=t.position,n="";return n+=e&&"static"!==e?"position_".concat(e):""}},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},t),e);return Object.keys(c).map((function(t){return c[t](n)})).filter((function(t){return(null==t?void 0:t.length)>0})).join(" ")},u=function(t){},p=function(t){return Object(i.omit)(t,["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark"])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(147);function r(t,e,n){return(e=Object(i.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d={horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""};e.a=function(t){var e,n=t.aria,i=void 0===n?{}:n,o=t.border,u=void 0!==o&&o,p=t.className,h=t.customIcon,f=t.data,m=void 0===f?{}:f,g=t.fixedWidth,_=void 0===g||g,v=t.flip,b=void 0===v?"none":v,y=t.icon,x=t.id,w=t.inverse,O=void 0!==w&&w,k=t.listItem,C=void 0!==k&&k,E=t.pull,S=t.pulse,j=void 0!==S&&S,$=t.rotation,A=t.size,M=t.fontStyle,P=void 0===M?"far":M,T=t.spin,D=(c(e={"fa-border":u,"fa-fw":_,"fa-inverse":O,"fa-li":C,"fa-pulse":j,"fa-spin":void 0!==T&&T},"fa-".concat(A),A),c(e,"fa-pull-".concat(E),E),c(e,"fa-rotate-".concat($),$),e);h||(D["fa-".concat(y)]=y);var L=a()(d[b],"pb_icon_kit",h?"":P,D,Object(l.c)(t),p),N=a()("pb_icon_kit_emoji",Object(l.c)(t),p);!i.label&&(i.label="".concat(y," icon"));var I=Object(s.a)(i),R=Object(s.c)(m);return r.a.createElement(r.a.Fragment,null,function(t){return t?r.a.createElement(r.a.Fragment,null,r.a.cloneElement(t,Object.assign(Object.assign({},R),{className:L,id:x}))):/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F)+$/.test(y)?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",Object.assign({},R,{className:N,id:x}),y)):r.a.createElement(r.a.Fragment,null,r.a.createElement("i",Object.assign({},R,{className:L,id:x})),r.a.createElement("span",Object.assign({},I,{hidden:!0})))}(h))}},function(t,e,n){t.exports={windows:"#003DB2",siding:"#6000AC",doors:"#B85C00",solar:"#007E8F",roofing:"#760B24",gutters:"#008540",insulation:"#96006C",product_1_background:"#003DB2",product_1_highlight:"#0057FF",product_2_background:"#6000AC",product_2_highlight:"#8200E9",product_3_background:"#B85C00",product_3_highlight:"#CE7500",product_4_background:"#007E8F",product_4_highlight:"#00B9D2",product_5_background:"#760B24",product_5_highlight:"#B8032E",product_6_background:"#008540",product_6_highlight:"#00A851",product_7_background:"#96006C",product_7_highlight:"#CD0094",product_8_background:"#144075",product_8_highlight:"#1A569E",product_9_background:"#fcc419",product_9_highlight:"#ffd43b",product_10_background:"#20c997",product_10_highlight:"#38d9a9",success:"#1CA05C",success_secondary:"#24cb75",success_sm:"#157F48",success_subtle:"rgba(28,160,92,0.1)",warning:"#F9BB00",warning_secondary:"#ffcb2d",warning_subtle:"rgba(249,187,0,0.1)",error:"#DA0014",error_secondary:"#ff0e24",error_subtle:"rgba(218,0,20,0.1)",info:"#00C4D7",info_secondary:"#0be9ff",info_subtle:"rgba(0,196,215,0.1)",neutral:"#C1CDD6",neutral_secondary:"#e0e6ea",neutral_subtle:"rgba(193,205,214,0.1)",primary:"#0056CF",primary_secondary:"#036cff",data_1:"#0056CF",data_2:"#F9BB00",data_3:"#9E64E9",data_4:"#1CA05C",data_5:"#FD804C",data_6:"#144075",data_7:"#00C4D7",data_8:"#DA0014",shadow:"rgba(60,106,172,0.2)",shadow_dark:"#0a0527",royal:"#0056CF",purple:"#9E64E9",teal:"#00C4D7",red:"#DA0014","#ff0":"#F9BB00",green:"#1CA05C",orange:"#FD804C",default:"#93a8b8","#fff":"#fff",silver:"#F3F7FB",slate:"#C1CDD6",charcoal:"#242B42","#000":"#000",secondary:"#F9BB00",tertiary:"#9E64E9",bg_light:"#F3F7FB",bg_dark:"#0a0527",bg_dark_card:"#231E3D",card_light:"#fff",card_dark:"#231e3d",active_light:"#f7fbff",active_dark:"#0082ff",primary_action:"#0056CF",primary_action_dark:"#0082ff",hover_light:"#e0eaf5",hover_dark:"rgba(255,255,255,0.2)",border_light:"#E4E8F0",border_dark:"#3b3752",text_lt_default:"#242B42",text_lt_light:"#687887",text_lt_lighter:"#C1CDD6",text_dk_default:"#fff",text_dk_light:"rgba(255,255,255,0.6)",text_dk_lighter:"rgba(255,255,255,0.4)",category_1:"#0056CF",category_2:"#0CD2E5",category_3:"#F9BB00",category_4:"#14D595",category_5:"#A057FF",category_6:"#FF7034",category_7:"#97DA22",category_8:"#EA599F",category_9:"#0091FF",category_10:"#5027E4",category_11:"#DA0014",category_12:"#109922",category_13:"#058F9D",category_14:"#A33E6F",category_15:"#B2171C",category_16:"#0A5C49",category_17:"#325B91",category_18:"#BE4714",category_19:"navy",category_20:"#5C0E0A",category_21:"#040830",gradient_start:"#1C75F2",gradient_end:"#0056CF"}},function(t,e,n){t.exports={font_family_base:'"Proxima Nova","Helvetica Neue",Helvetica,Arial,sans_serif',text_jumbo:"36px",text_largest:"32px",text_larger:"28px",text_large:"20px",text_base:"16px",text_default:"16px",text_normal:"16px",text_medium:"16px",text_small:"14px",text_smaller:"12px",text_smallest:"11px",heading_1:"46px",heading_2:"34px",heading_3:"28px",heading_4:"16px",lighter:"100",light:"300",bold:"600",regular:"400"}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.align,n=void 0===e?"none":e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.inline,p=void 0!==u&&u,h=t.horizontal,f=void 0===h?"left":h,m=t.justify,g=void 0===m?"none":m,_=t.orientation,v=void 0===_?"row":_,b=t.spacing,y=void 0===b?"none":b,x=t.gap,w=void 0===x?"none":x,O=t.rowGap,k=void 0===O?"none":O,C=t.columnGap,E=void 0===C?"none":C,S=t.reverse,j=void 0!==S&&S,$=t.vertical,A=void 0===$?"top":$,M=t.wrap,P=void 0!==M&&M,T=t.alignSelf,D=void 0===T?"none":T,L=void 0!==v?"orientation_".concat(v):"",N="justify_content_".concat("none"!==g?g:f),I="align_items_".concat("none"!==n?n:A),R=!0===p?"inline":"",F=void 0!==y?"spacing_".concat(y):"",z="none"!==w?"gap_".concat(w):"",B="none"!==k?"rowGap_".concat(k):"",W="none"!==E?"columnGap_".concat(E):"",H=!0===P?"wrap":"",Y=!0===j?"reverse":"",U="none"!==D?"align_self_".concat(D):"",G=Object(s.c)(d);return r.a.createElement("div",Object.assign({className:a()(Object(s.b)("pb_flex_kit",L,N,I,R,Y,H,F,z,B,W,U),Object(l.c)(t),o)},G),i)}},function(t,e,n){"use strict";n.d(e,"m",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"l",(function(){return c})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return u})),n.d(e,"o",(function(){return p})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return f})),n.d(e,"n",(function(){return m})),n.d(e,"h",(function(){return g})),n.d(e,"g",(function(){return _}));var i="top",r="bottom",o="right",a="left",s="auto",l=[i,r,o,a],c="start",d="end",u="clippingParents",p="viewport",h="popper",f="reference",m=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+d])}),[]),g=[].concat(l,[s]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(125);e.a=function(t){t.variant&&Object(l.a)("Body",["status"]);var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,d=t.color,u=void 0===d?"":d,p=t.data,h=void 0===p?{}:p,f=t.highlightedText,m=void 0===f?[]:f,g=t.highlighting,_=void 0!==g&&g,v=t.id,b=void 0===v?"":v,y=t.status,x=void 0===y?null:y,w=t.tag,O=void 0===w?"div":w,k=t.text,C=void 0===k?"":k,E=t.variant,S=void 0===E?null:E,j=Object(s.a)(n),$=Object(s.c)(h),A=a()(Object(s.b)("pb_body_kit",u,S,x),Object(l.c)(t),o),M="".concat(O);return r.a.createElement(M,Object.assign({},j,$,{className:A,id:b}),_&&r.a.createElement(c.a,{highlightedText:m,text:C},i),!_&&(C||i))}},function(t,e,n){t.exports=n(221)()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){t.variant&&Object(l.a)("Title",["variant"]);var e,n=t.aria,i=void 0===n?{}:n,o=t.children,c=t.className,d=t.color,u=t.data,p=void 0===u?{}:u,h=t.id,f=t.size,m=void 0===f?3:f,g=t.bold,_=void 0===g||g,v=t.tag,b=void 0===v?"h3":v,y=t.text,x=t.variant,w=void 0===x?null:x,O=Object(s.a)(i),k=Object(s.c)(p),C=_?"":"thin",E="number"==typeof m||"string"==typeof m,S=a()(Object(s.b)("pb_title_kit",E?"size_".concat(m):"",w,d,C),Object(l.c)(t),(e="",E||Object.entries(m).forEach((function(t){e+="pb_title_kit_".concat(t[0],"_").concat(t[1]," ")})),e.trim()),c),j="".concat(b);return r.a.createElement(j,Object.assign({},O,k,{className:S,id:h}),y||o)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.children,n=t.className,i=t.fixedSize,o=t.grow,c=t.overflow,d=void 0===c?null:c,u=t.shrink,p=t.flex,h=void 0===p?"none":p,f=t.order,m=void 0===f?"none":f,g=t.alignSelf,_=t.displayFlex,v=!0===o?"grow":"",b=!0===_?"display_flex_".concat(_):"",y="none"!==h?"flex_".concat(h):"",x=d?"overflow_".concat(d):"",w=!0===u?"shrink":"",O=g?"align_self_".concat(g):"",k=void 0!==i?{flexBasis:"".concat(i)}:null,C="none"!==m?"order_".concat(m):null;return r.a.createElement("div",{className:a()(Object(s.b)("pb_flex_item_kit",v,w,y,b),x,C,O,Object(l.c)(t),n),style:k},e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){t.variant&&Object(l.a)("Title",["variant"]);var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.color,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.size,f=void 0===h?"md":h,m=t.tag,g=void 0===m?"div":m,_=t.text,v=t.variant,b=void 0===v?null:v,y=["h1","h2","h3","h4","h5","h6","p","span","div","caption"].includes(g)?g:"div",x=Object(s.a)(n),w=Object(s.c)(u),O=a()(Object(s.b)("pb_caption_kit",f,b,c),Object(l.c)(t),o);return r.a.createElement(y,Object.assign({},x,w,{className:O,id:p}),_||i)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(22),a=n(3),s=n.n(a),l=n(2),c=n(5);function d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=function(t){var e,n,i=t.aria,a=void 0===i?{}:i,u=t.background,p=void 0===u?"none":u,h=t.borderNone,f=void 0!==h&&h,m=t.borderRadius,g=void 0===m?"md":m,_=t.children,v=t.className,b=t.data,y=void 0===b?{}:b,x=t.highlight,w=void 0===x?{}:x,O=t.selected,k=void 0!==O&&O,C=t.tag,E=void 0===C?"div":C,S=1==f?"border_none":"",j=1==k?"selected":"deselected",$="none"==p?"":"background_".concat(p),A=Object(l.b)("pb_card_kit",j,S,"border_radius_".concat(g),$,(d(e={},"highlight_".concat(w.position),w.position),d(e,"highlight_".concat(w.color),w.color),e)),M=Object(l.a)(a),P=Object(l.c)(y),T=r.a.Children.toArray(_),D=T.filter((function(t){return"Header"!==Object(o.get)(t,"type.displayName")})),L=["div","section","footer","header","article","aside","main","nav"].includes(E)?E:"div";return r.a.createElement(L,Object.assign({},M,P,{className:s()(A,Object(c.c)(t),v)}),(n="Header",T.filter((function(t){return Object(o.get)(t,"type.displayName")===n})).map((function(t,e){if(r.a.isValidElement(t))return r.a.cloneElement(t,{key:"".concat(n.toLowerCase(),"-").concat(e)})}))),D)};u.Header=function(t){var e=t.children,n=t.className,i=t.headerColor,o=void 0===i?"category_1":i,a=t.headerColorStriped,d=void 0!==a&&a,u=Object(l.b)("pb_card_header_kit","".concat(o),d?"striped":""),p=Object(c.c)(t);return r.a.createElement("div",{className:s()(u,p,n)},e)},u.Body=function(t){var e=t.children,n=t.className,i=Object(l.b)("pb_card_body_kit"),o=Object(c.c)(t);return r.a.createElement("div",{className:s()(i,o,n)},e)},e.a=u},function(t,e,n){"use strict";var i=["SU","M","T","W","TH","F","S"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=function(t){return"string"!=typeof t||t.includes("T")?new Date(t):new Date(t.replace(/-/g,"/"))},s=function(t,e){return e?new Date(a(t).toLocaleString("en-US",{timeZone:e})).getDate():a(t).getDate()},l=function(t){return a(t).getMonth()+1},c=function(t,e){var n=a(t);return e?n.toLocaleTimeString("en-US",{timeZone:e,timeStyle:"short"}).split(" ")[0]:n.toLocaleTimeString("en-US",{timeStyle:"short"}).split(" ")[0]},d=function(t,e){var n=a(t);return e?n.toLocaleString("en-US",{timeZone:e,hour12:!0}).slice(-2).charAt(0).toLocaleLowerCase():n.toLocaleString("en-US",{hour12:!0}).slice(-2).charAt(0).toLocaleLowerCase()},u=function(t){var e=a(t),n=e.getDay(),i=new Date(e.setHours(0,0,0)),r=0===n?6:n-1;return i.setDate(e.getDate()-r),i},p=function(t){var e=a(t),n=e.getDay(),i=new Date(e.setHours(23,59,59,0)),r=0===n?0:7-n;return i.setDate(e.getDate()+r),i},h=function(t){var e=a(t);return new Date(e.getFullYear(),e.getMonth(),1)},f=function(t){var e=a(t);return new Date(e.getFullYear(),e.getMonth()+1,0,23,59,59)},m=function(t){var e=a(t),n=Math.floor(e.getMonth()/3);return new Date(e.getFullYear(),3*n,1)},g=function(t){var e=a(t),n=Math.floor(e.getMonth()/3),i=new Date(e.getFullYear(),3*(n+1),1);return new Date(i.getTime()-1)},_=function(t){var e=a(t);return new Date(e.getFullYear(),0,1)},v=function(t){var e=a(t);return new Date(e.getFullYear(),11,31,23,59,59)};e.a={toMinute:function(t,e){var n=a(t);return e?n.toLocaleTimeString("en-US",{timeZone:e,hour:"2-digit",minute:"2-digit"}).slice(3,5):n.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}).slice(3,5)},toHour:function(t,e){var n=a(t);return e?n.toLocaleTimeString("en-US",{timeZone:e,hour:"numeric"}).split(" ")[0]:n.toLocaleTimeString("en-US",{hour:"numeric"}).split(" ")[0]},toDay:s,toDayAbbr:function(t){var e=a(t);return i[e.getDay()]},toWeekday:function(t){var e=a(t);return r[e.getDay()]},toMonth:function(t,e){if(e){var n=new Date(a(t).toLocaleString("en-US",{timeZone:e}));return o[n.getMonth()]}var i=a(t);return o[i.getMonth()]},toMonthNum:l,toYear:function(t,e){return e?new Date(a(t).toLocaleString("en-US",{timeZone:e})).getFullYear():a(t).getFullYear()},toTime:c,toMeridiem:d,toTimeZone:function(t,e){var n=a(t);return e?n.toLocaleString("en-US",{timeZone:e,timeZoneName:"short"}).split(" ")[3]:n.toLocaleString("en-US",{timeZoneName:"short"}).split(" ")[3]},toTimeWithMeridiem:function(t,e){var n=a(t);return"".concat(c(n,e)).concat(d(n,e))},toIso:function(t){return a(t).toISOString()},fromNow:function(t){for(var e=a(t).getTime(),n=(new Date).getTime()-e,i="".concat(Math.round(n/315576e5)," years ago"),r=0,o=[{min:0,max:44999,value:"a few seconds ago"},{min:45e3,max:89999,value:"a minute ago"},{min:9e4,max:2649999,value:"".concat(Math.round(n/6e4)," minutes ago")},{min:265e4,max:7299999,value:"an hour ago"},{min:73e5,max:75699999,value:"".concat(Math.round(n/36e5)," hours ago")},{min:757e5,max:172899999,value:"a day ago"},{min:1729e5,max:2169999999,value:"".concat(Math.round(n/864e5)," days ago")},{min:217e7,max:5184999999,value:"a month ago"},{min:5185e6,max:27561699999,value:"".concat(Math.round(n/2630016000.0000005)," months ago")},{min:275617e5,max:63072999999,value:"a year ago"}];r<o.length;r++){var s=o[r];if(n>=s.min&&n<=s.max){i=s.value;break}}return i},toCustomFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"month_day",n=a(t);return"month_day"==e?"".concat(l(n),"/").concat(s(n)):"".concat(n.toLocaleString("en-US",{month:"short"})," ").concat(s(n))},getYesterdayDate:function(t){var e=a(t),n=new Date;return n.setDate(e.getDate()-1),n},getFirstDayOfWeek:u,getLastDayOfWeek:p,getPreviousWeekStartDate:function(t){var e=u(t);return new Date(e.getFullYear(),e.getMonth(),e.getDate()-7)},getPreviousWeekEndDate:function(t){var e=p(t);return new Date(e.getFullYear(),e.getMonth(),e.getDate()-7,e.getHours(),e.getMinutes(),e.getSeconds())},getMonthStartDate:h,getMonthEndDate:f,getPreviousMonthStartDate:function(t){var e=h(t);return new Date(e.getFullYear(),e.getMonth()-1,e.getDate())},getPreviousMonthEndDate:function(t){var e=f(t);return new Date(e.getFullYear(),e.getMonth()-1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())},getQuarterStartDate:m,getQuarterEndDate:g,getPreviousQuarterStartDate:function(t){var e=m(t);return new Date(e.getFullYear(),e.getMonth()-3,e.getDate())},getPreviousQuarterEndDate:function(t){var e=g(t);return new Date(e.getFullYear(),e.getMonth()-3,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())},getYearStartDate:_,getYearEndDate:v,getPreviousYearStartDate:function(t){var e=_(t);return new Date(e.getFullYear()-1,e.getMonth(),e.getDate())},getPreviousYearEndDate:function(t){var e=v(t);return new Date(e.getFullYear()-1,e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())}}},function(t,e,n){"use strict";var i=["innerHTML","ownerDocument","style","attributes","nodeValue"],r=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],o=["bigint","boolean","null","number","string","symbol","undefined"];function a(t){var e=Object.prototype.toString.call(t).slice(8,-1);return/HTML\w+Element/.test(e)?"HTMLElement":function(t){return r.includes(t)}(e)?e:void 0}function s(t){return function(e){return a(e)===t}}function l(t){return function(e){return typeof e===t}}function c(t){if(null===t)return"null";switch(typeof t){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(c.array(t))return"Array";if(c.plainFunction(t))return"Function";var e=a(t);return e||"Object"}c.array=Array.isArray,c.arrayOf=function(t,e){return!(!c.array(t)&&!c.function(e))&&t.every((function(t){return e(t)}))},c.asyncGeneratorFunction=function(t){return"AsyncGeneratorFunction"===a(t)},c.asyncFunction=s("AsyncFunction"),c.bigint=l("bigint"),c.boolean=function(t){return!0===t||!1===t},c.date=s("Date"),c.defined=function(t){return!c.undefined(t)},c.domElement=function(t){return c.object(t)&&!c.plainObject(t)&&1===t.nodeType&&c.string(t.nodeName)&&i.every((function(e){return e in t}))},c.empty=function(t){return c.string(t)&&0===t.length||c.array(t)&&0===t.length||c.object(t)&&!c.map(t)&&!c.set(t)&&0===Object.keys(t).length||c.set(t)&&0===t.size||c.map(t)&&0===t.size},c.error=s("Error"),c.function=l("function"),c.generator=function(t){return c.iterable(t)&&c.function(t.next)&&c.function(t.throw)},c.generatorFunction=s("GeneratorFunction"),c.instanceOf=function(t,e){return!(!t||!e)&&Object.getPrototypeOf(t)===e.prototype},c.iterable=function(t){return!c.nullOrUndefined(t)&&c.function(t[Symbol.iterator])},c.map=s("Map"),c.nan=function(t){return Number.isNaN(t)},c.null=function(t){return null===t},c.nullOrUndefined=function(t){return c.null(t)||c.undefined(t)},c.number=function(t){return l("number")(t)&&!c.nan(t)},c.numericString=function(t){return c.string(t)&&t.length>0&&!Number.isNaN(Number(t))},c.object=function(t){return!c.nullOrUndefined(t)&&(c.function(t)||"object"==typeof t)},c.oneOf=function(t,e){return!!c.array(t)&&t.indexOf(e)>-1},c.plainFunction=s("Function"),c.plainObject=function(t){if("Object"!==a(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.getPrototypeOf({})},c.primitive=function(t){return c.null(t)||function(t){return o.includes(t)}(typeof t)},c.promise=s("Promise"),c.propertyOf=function(t,e,n){if(!c.object(t)||!e)return!1;var i=t[e];return c.function(n)?n(i):c.defined(i)},c.regexp=s("RegExp"),c.set=s("Set"),c.string=l("string"),c.symbol=l("symbol"),c.undefined=l("undefined"),c.weakMap=s("WeakMap"),c.weakSet=s("WeakSet"),e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return x})),n.d(e,"d",(function(){return w}));var i=n(145);var r=n(0),o=n(115);n(251);function a(t,e,n){var i="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]):i+=n+" "})),i}var s=function(t,e,n){var i=t.key+"-"+e.name;if(!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles),void 0===t.inserted[e.name]){var r=e;do{t.insert("."+i,r,t.sheet,!0);r=r.next}while(void 0!==r)}},l=n(85),c=Object.prototype.hasOwnProperty,d=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(o.a)():null),u=Object(r.createContext)({}),p=d.Provider,h=function(t){var e=function(e,n){return Object(r.createElement)(d.Consumer,null,(function(i){return t(e,i,n)}))};return Object(r.forwardRef)(e)},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(t,e){var n={};for(var i in e)c.call(e,i)&&(n[i]=e[i]);return n[f]=t,n},g=function(){return null},_=function(t,e,n,i){var o=null===n?e.css:e.css(n);"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var d=e[f],u=[o],p="";"string"==typeof e.className?p=a(t.registered,u,e.className):null!=e.className&&(p=e.className+" ");var h=Object(l.a)(u);s(t,h,"string"==typeof d);p+=t.key+"-"+h.name;var m={};for(var _ in e)c.call(e,_)&&"css"!==_&&_!==f&&(m[_]=e[_]);m.ref=i,m.className=p;var v=Object(r.createElement)(d,m),b=Object(r.createElement)(g,null);return Object(r.createElement)(r.Fragment,null,b,v)},v=h((function(t,e,n){return"function"==typeof t.css?Object(r.createElement)(u.Consumer,null,(function(i){return _(e,t,i,n)})):_(e,t,null,n)}));var b=n(146),y=n(60),x=function(t,e){var n=arguments;if(null==e||!c.call(e,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=v,o[1]=m(t,e);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)},w=(r.Component,function(){var t=y.a.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}),O=function t(e){for(var n=e.length,i=0,r="";i<n;i++){var o=e[i];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=t(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function k(t,e,n){var i=[],r=a(t,i,n);return i.length<2?n:r+e(i)}var C=function(){return null},E=h((function(t,e){return Object(r.createElement)(u.Consumer,null,(function(n){var i=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=Object(l.a)(n,e.registered);return s(e,r,!1),e.key+"-"+r.name},o={css:i,cx:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return k(e.registered,i,O(n))},theme:n},a=t.children(o);var c=Object(r.createElement)(C,null);return Object(r.createElement)(r.Fragment,null,c,a)}))}))},function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return i}))},function(t,e,n){(function(t,i){var r;
7
7
  /**
8
8
  * @license
9
9
  * Lodash <https://lodash.com/>
@@ -11,7 +11,7 @@
11
11
  * Released under MIT license <https://lodash.com/license>
12
12
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
13
13
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
14
- */(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",d="[object Boolean]",u="[object Date]",p="[object Error]",h="[object Function]",f="[object GeneratorFunction]",m="[object Map]",g="[object Number]",_="[object Object]",v="[object RegExp]",b="[object Set]",y="[object String]",x="[object Symbol]",w="[object WeakMap]",O="[object ArrayBuffer]",k="[object DataView]",C="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",j="[object Int16Array]",$="[object Int32Array]",A="[object Uint8Array]",M="[object Uint16Array]",P="[object Uint32Array]",T=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,N=/&(?:amp|lt|gt|quot|#39);/g,I=/[&<>"']/g,R=RegExp(N.source),F=RegExp(I.source),z=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,U=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,X=RegExp(G.source),V=/^\s+/,q=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dt=/($^)/,ut=/['\n\r\u2028\u2029\\]/g,pt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="[\\ud800-\\udfff]",mt="["+ht+"]",gt="["+pt+"]",_t="\\d+",vt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",yt="[^\\ud800-\\udfff"+ht+_t+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",xt="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",kt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+bt+"|"+yt+")",St="(?:"+Ct+"|"+yt+")",jt="(?:"+gt+"|"+xt+")"+"?",$t="[\\ufe0e\\ufe0f]?"+jt+("(?:\\u200d(?:"+[wt,Ot,kt].join("|")+")[\\ufe0e\\ufe0f]?"+jt+")*"),At="(?:"+[vt,Ot,kt].join("|")+")"+$t,Mt="(?:"+[wt+gt+"?",gt,Ot,kt,ft].join("|")+")",Pt=RegExp("['’]","g"),Tt=RegExp(gt,"g"),Dt=RegExp(xt+"(?="+xt+")|"+Mt+$t,"g"),Lt=RegExp([Ct+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,Ct,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,Ct+Et,"$"].join("|")+")",Ct+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_t,At].join("|"),"g"),Nt=RegExp("[\\u200d\\ud800-\\udfff"+pt+"\\ufe0e\\ufe0f]"),It=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ft=-1,zt={};zt[C]=zt[E]=zt[S]=zt[j]=zt[$]=zt[A]=zt["[object Uint8ClampedArray]"]=zt[M]=zt[P]=!0,zt[l]=zt[c]=zt[O]=zt[d]=zt[k]=zt[u]=zt[p]=zt[h]=zt[m]=zt[g]=zt[_]=zt[v]=zt[b]=zt[y]=zt[w]=!1;var Bt={};Bt[l]=Bt[c]=Bt[O]=Bt[k]=Bt[d]=Bt[u]=Bt[C]=Bt[E]=Bt[S]=Bt[j]=Bt[$]=Bt[m]=Bt[g]=Bt[_]=Bt[v]=Bt[b]=Bt[y]=Bt[x]=Bt[A]=Bt["[object Uint8ClampedArray]"]=Bt[M]=Bt[P]=!0,Bt[p]=Bt[h]=Bt[w]=!1;var Wt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ht=parseFloat,Yt=parseInt,Ut="object"==typeof t&&t&&t.Object===Object&&t,Gt="object"==typeof self&&self&&self.Object===Object&&self,Xt=Ut||Gt||Function("return this")(),Vt=e&&!e.nodeType&&e,qt=Vt&&"object"==typeof i&&i&&!i.nodeType&&i,Kt=qt&&qt.exports===Vt,Zt=Kt&&Ut.process,Jt=function(){try{var t=qt&&qt.require&&qt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Qt=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,ne=Jt&&Jt.isRegExp,ie=Jt&&Jt.isSet,re=Jt&&Jt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function se(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function de(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function ue(t,e){return!!(null==t?0:t.length)&&xe(t,e,0)>-1}function pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function he(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function fe(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function me(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function ge(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function _e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var ve=Ce("length");function be(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function ye(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function xe(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):ye(t,Oe,n)}function we(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function Oe(t){return t!=t}function ke(t,e){var n=null==t?0:t.length;return n?je(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function Ee(t){return function(e){return null==t?void 0:t[e]}}function Se(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function je(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function $e(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Ae(t){return t?t.slice(0,Ve(t)+1).replace(V,""):t}function Me(t){return function(e){return t(e)}}function Pe(t,e){return he(e,(function(e){return t[e]}))}function Te(t,e){return t.has(e)}function De(t,e){for(var n=-1,i=t.length;++n<i&&xe(e,t[n],0)>-1;);return n}function Le(t,e){for(var n=t.length;n--&&xe(e,t[n],0)>-1;);return n}function Ne(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Ie=Ee({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Re=Ee({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Fe(t){return"\\"+Wt[t]}function ze(t){return Nt.test(t)}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function We(t,e){return function(n){return t(e(n))}}function He(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return ze(t)?function(t){var e=Dt.lastIndex=0;for(;Dt.test(t);)++e;return e}(t):ve(t)}function Xe(t){return ze(t)?function(t){return t.match(Dt)||[]}(t):function(t){return t.split("")}(t)}function Ve(t){for(var e=t.length;e--&&q.test(t.charAt(e)););return e}var qe=Ee({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ke=function t(e){var n,i=(e=null==e?Xt:Ke.defaults(Xt.Object(),e,Ke.pick(Xt,Rt))).Array,r=e.Date,q=e.Error,pt=e.Function,ht=e.Math,ft=e.Object,mt=e.RegExp,gt=e.String,_t=e.TypeError,vt=i.prototype,bt=pt.prototype,yt=ft.prototype,xt=e["__core-js_shared__"],wt=bt.toString,Ot=yt.hasOwnProperty,kt=0,Ct=(n=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Et=yt.toString,St=wt.call(ft),jt=Xt._,$t=mt("^"+wt.call(Ot).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),At=Kt?e.Buffer:void 0,Mt=e.Symbol,Dt=e.Uint8Array,Nt=At?At.allocUnsafe:void 0,Wt=We(ft.getPrototypeOf,ft),Ut=ft.create,Gt=yt.propertyIsEnumerable,Vt=vt.splice,qt=Mt?Mt.isConcatSpreadable:void 0,Zt=Mt?Mt.iterator:void 0,Jt=Mt?Mt.toStringTag:void 0,ve=function(){try{var t=to(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ee=e.clearTimeout!==Xt.clearTimeout&&e.clearTimeout,Ze=r&&r.now!==Xt.Date.now&&r.now,Je=e.setTimeout!==Xt.setTimeout&&e.setTimeout,Qe=ht.ceil,tn=ht.floor,en=ft.getOwnPropertySymbols,nn=At?At.isBuffer:void 0,rn=e.isFinite,on=vt.join,an=We(ft.keys,ft),sn=ht.max,ln=ht.min,cn=r.now,dn=e.parseInt,un=ht.random,pn=vt.reverse,hn=to(e,"DataView"),fn=to(e,"Map"),mn=to(e,"Promise"),gn=to(e,"Set"),_n=to(e,"WeakMap"),vn=to(ft,"create"),bn=_n&&new _n,yn={},xn=jo(hn),wn=jo(fn),On=jo(mn),kn=jo(gn),Cn=jo(_n),En=Mt?Mt.prototype:void 0,Sn=En?En.valueOf:void 0,jn=En?En.toString:void 0;function $n(t){if(Ua(t)&&!Da(t)&&!(t instanceof Tn)){if(t instanceof Pn)return t;if(Ot.call(t,"__wrapped__"))return $o(t)}return new Pn(t)}var An=function(){function t(){}return function(e){if(!Ya(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Mn(){}function Pn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Tn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Dn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function In(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Nn;++e<n;)this.add(t[e])}function Rn(t){var e=this.__data__=new Ln(t);this.size=e.size}function Fn(t,e){var n=Da(t),i=!n&&Ta(t),r=!n&&!i&&Ra(t),o=!n&&!i&&!r&&Qa(t),a=n||i||r||o,s=a?$e(t.length,gt):[],l=s.length;for(var c in t)!e&&!Ot.call(t,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||so(c,l))||s.push(c);return s}function zn(t){var e=t.length;return e?t[Ii(0,e-1)]:void 0}function Bn(t,e){return Co(vr(t),Kn(e,0,t.length))}function Wn(t){return Co(vr(t))}function Hn(t,e,n){(void 0!==n&&!Aa(t[e],n)||void 0===n&&!(e in t))&&Vn(t,e,n)}function Yn(t,e,n){var i=t[e];Ot.call(t,e)&&Aa(i,n)&&(void 0!==n||e in t)||Vn(t,e,n)}function Un(t,e){for(var n=t.length;n--;)if(Aa(t[n][0],e))return n;return-1}function Gn(t,e,n,i){return ei(t,(function(t,r,o){e(i,t,n(t),o)})),i}function Xn(t,e){return t&&br(e,xs(e),t)}function Vn(t,e,n){"__proto__"==e&&ve?ve(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function qn(t,e){for(var n=-1,r=e.length,o=i(r),a=null==t;++n<r;)o[n]=a?void 0:gs(t,e[n]);return o}function Kn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Zn(t,e,n,i,r,o){var a,s=1&e,c=2&e,p=4&e;if(n&&(a=r?n(t,i,r,o):n(t)),void 0!==a)return a;if(!Ya(t))return t;var w=Da(t);if(w){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Ot.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return vr(t,a)}else{var T=io(t),D=T==h||T==f;if(Ra(t))return pr(t,s);if(T==_||T==l||D&&!r){if(a=c||D?{}:oo(t),!s)return c?function(t,e){return br(t,no(t),e)}(t,function(t,e){return t&&br(e,ws(e),t)}(a,t)):function(t,e){return br(t,eo(t),e)}(t,Xn(a,t))}else{if(!Bt[T])return r?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case O:return hr(t);case d:case u:return new i(+t);case k:return function(t,e){var n=e?hr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case C:case E:case S:case j:case $:case A:case"[object Uint8ClampedArray]":case M:case P:return fr(t,n);case m:return new i;case g:case y:return new i(t);case v:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new i;case x:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,T,s)}}o||(o=new Rn);var L=o.get(t);if(L)return L;o.set(t,a),Ka(t)?t.forEach((function(i){a.add(Zn(i,e,n,i,t,o))})):Ga(t)&&t.forEach((function(i,r){a.set(r,Zn(i,e,n,r,t,o))}));var N=w?void 0:(p?c?Xr:Gr:c?ws:xs)(t);return se(N||t,(function(i,r){N&&(i=t[r=i]),Yn(a,r,Zn(i,e,n,r,t,o))})),a}function Jn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],o=e[r],a=t[r];if(void 0===a&&!(r in t)||!o(a))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new _t(o);return xo((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,o=ue,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=he(e,Me(n))),i?(o=pe,a=!1):e.length>=200&&(o=Te,a=!1,e=new In(e));t:for(;++r<s;){var d=t[r],u=null==n?d:n(d);if(d=i||0!==d?d:0,a&&u==u){for(var p=c;p--;)if(e[p]===u)continue t;l.push(d)}else o(e,u,i)||l.push(d)}return l}$n.templateSettings={escape:z,evaluate:B,interpolate:W,variable:"",imports:{_:$n}},$n.prototype=Mn.prototype,$n.prototype.constructor=$n,Pn.prototype=An(Mn.prototype),Pn.prototype.constructor=Pn,Tn.prototype=An(Mn.prototype),Tn.prototype.constructor=Tn,Dn.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},Dn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Dn.prototype.get=function(t){var e=this.__data__;if(vn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ot.call(e,t)?e[t]:void 0},Dn.prototype.has=function(t){var e=this.__data__;return vn?void 0!==e[t]:Ot.call(e,t)},Dn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=vn&&void 0===e?"__lodash_hash_undefined__":e,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(t){var e=this.__data__,n=Un(e,t);return!(n<0)&&(n==e.length-1?e.pop():Vt.call(e,n,1),--this.size,!0)},Ln.prototype.get=function(t){var e=this.__data__,n=Un(e,t);return n<0?void 0:e[n][1]},Ln.prototype.has=function(t){return Un(this.__data__,t)>-1},Ln.prototype.set=function(t,e){var n=this.__data__,i=Un(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(fn||Ln),string:new Dn}},Nn.prototype.delete=function(t){var e=Jr(this,t).delete(t);return this.size-=e?1:0,e},Nn.prototype.get=function(t){return Jr(this,t).get(t)},Nn.prototype.has=function(t){return Jr(this,t).has(t)},Nn.prototype.set=function(t,e){var n=Jr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},In.prototype.add=In.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},In.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Rn.prototype.get=function(t){return this.__data__.get(t)},Rn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Nn(i)}return n.set(t,e),this.size=n.size,this};var ei=wr(ci),ni=wr(di,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,l=o}return l}function oi(t,e){var n=[];return ei(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function ai(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=ao),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ai(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=Or(),li=Or(!0);function ci(t,e){return t&&si(t,e,xs)}function di(t,e){return t&&li(t,e,xs)}function ui(t,e){return de(e,(function(e){return Ba(t[e])}))}function pi(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&n<i;)t=t[So(e[n++])];return n&&n==i?t:void 0}function hi(t,e,n){var i=e(t);return Da(t)?i:fe(i,n(t))}function fi(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Jt&&Jt in ft(t)?function(t){var e=Ot.call(t,Jt),n=t[Jt];try{t[Jt]=void 0;var i=!0}catch(t){}var r=Et.call(t);i&&(e?t[Jt]=n:delete t[Jt]);return r}(t):function(t){return Et.call(t)}(t)}function mi(t,e){return t>e}function gi(t,e){return null!=t&&Ot.call(t,e)}function _i(t,e){return null!=t&&e in ft(t)}function vi(t,e,n){for(var r=n?pe:ue,o=t[0].length,a=t.length,s=a,l=i(a),c=1/0,d=[];s--;){var u=t[s];s&&e&&(u=he(u,Me(e))),c=ln(u.length,c),l[s]=!n&&(e||o>=120&&u.length>=120)?new In(s&&u):void 0}u=t[0];var p=-1,h=l[0];t:for(;++p<o&&d.length<c;){var f=u[p],m=e?e(f):f;if(f=n||0!==f?f:0,!(h?Te(h,m):r(d,m,n))){for(s=a;--s;){var g=l[s];if(!(g?Te(g,m):r(t[s],m,n)))continue t}h&&h.push(m),d.push(f)}}return d}function bi(t,e,n){var i=null==(t=_o(t,e=lr(e,t)))?t:t[So(zo(e))];return null==i?void 0:oe(i,t,n)}function yi(t){return Ua(t)&&fi(t)==l}function xi(t,e,n,i,r){return t===e||(null==t||null==e||!Ua(t)&&!Ua(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=Da(t),s=Da(e),h=a?c:io(t),f=s?c:io(e),w=(h=h==l?_:h)==_,C=(f=f==l?_:f)==_,E=h==f;if(E&&Ra(t)){if(!Ra(e))return!1;a=!0,w=!1}if(E&&!w)return o||(o=new Rn),a||Qa(t)?Yr(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case O:return!(t.byteLength!=e.byteLength||!o(new Dt(t),new Dt(e)));case d:case u:case g:return Aa(+t,+e);case p:return t.name==e.name&&t.message==e.message;case v:case y:return t==e+"";case m:var s=Be;case b:var l=1&i;if(s||(s=Ye),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;i|=2,a.set(t,e);var h=Yr(s(t),s(e),i,r,o,a);return a.delete(t),h;case x:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,h,n,i,r,o);if(!(1&n)){var S=w&&Ot.call(t,"__wrapped__"),j=C&&Ot.call(e,"__wrapped__");if(S||j){var $=S?t.value():t,A=j?e.value():e;return o||(o=new Rn),r($,A,n,i,o)}}if(!E)return!1;return o||(o=new Rn),function(t,e,n,i,r,o){var a=1&n,s=Gr(t),l=s.length,c=Gr(e).length;if(l!=c&&!a)return!1;var d=l;for(;d--;){var u=s[d];if(!(a?u in e:Ot.call(e,u)))return!1}var p=o.get(t),h=o.get(e);if(p&&h)return p==e&&h==t;var f=!0;o.set(t,e),o.set(e,t);var m=a;for(;++d<l;){u=s[d];var g=t[u],_=e[u];if(i)var v=a?i(_,g,u,e,t,o):i(g,_,u,t,e,o);if(!(void 0===v?g===_||r(g,_,n,i,o):v)){f=!1;break}m||(m="constructor"==u)}if(f&&!m){var b=t.constructor,y=e.constructor;b==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(t),o.delete(e),f}(t,e,n,i,r,o)}(t,e,n,i,xi,r))}function wi(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=ft(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],c=t[l],d=s[1];if(a&&s[2]){if(void 0===c&&!(l in t))return!1}else{var u=new Rn;if(i)var p=i(c,d,l,t,e,u);if(!(void 0===p?xi(d,c,3,i,u):p))return!1}}return!0}function Oi(t){return!(!Ya(t)||(e=t,Ct&&Ct in e))&&(Ba(t)?$t:at).test(jo(t));var e}function ki(t){return"function"==typeof t?t:null==t?Xs:"object"==typeof t?Da(t)?Ai(t[0],t[1]):$i(t):nl(t)}function Ci(t){if(!ho(t))return an(t);var e=[];for(var n in ft(t))Ot.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ei(t){if(!Ya(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=ho(t),n=[];for(var i in t)("constructor"!=i||!e&&Ot.call(t,i))&&n.push(i);return n}function Si(t,e){return t<e}function ji(t,e){var n=-1,r=Na(t)?i(t.length):[];return ei(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function $i(t){var e=Qr(t);return 1==e.length&&e[0][2]?mo(e[0][0],e[0][1]):function(n){return n===t||wi(n,t,e)}}function Ai(t,e){return co(t)&&fo(e)?mo(So(t),e):function(n){var i=gs(n,t);return void 0===i&&i===e?_s(n,t):xi(e,i,3)}}function Mi(t,e,n,i,r){t!==e&&si(e,(function(o,a){if(r||(r=new Rn),Ya(o))!function(t,e,n,i,r,o,a){var s=bo(t,n),l=bo(e,n),c=a.get(l);if(c)return void Hn(t,n,c);var d=o?o(s,l,n+"",t,e,a):void 0,u=void 0===d;if(u){var p=Da(l),h=!p&&Ra(l),f=!p&&!h&&Qa(l);d=l,p||h||f?Da(s)?d=s:Ia(s)?d=vr(s):h?(u=!1,d=pr(l,!0)):f?(u=!1,d=fr(l,!0)):d=[]:Va(l)||Ta(l)?(d=s,Ta(s)?d=ss(s):Ya(s)&&!Ba(s)||(d=oo(l))):u=!1}u&&(a.set(l,d),r(d,l,i,o,a),a.delete(l));Hn(t,n,d)}(t,e,a,n,Mi,i,r);else{var s=i?i(bo(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),Hn(t,a,s)}}),ws)}function Pi(t,e){var n=t.length;if(n)return so(e+=e<0?n:0,n)?t[e]:void 0}function Ti(t,e,n){e=e.length?he(e,(function(t){return Da(t)?function(e){return pi(e,1===t.length?t[0]:t)}:t})):[Xs];var i=-1;return e=he(e,Me(Zr())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(ji(t,(function(t,n,r){return{criteria:he(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return function(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;for(;++i<a;){var l=mr(r[i],o[i]);if(l){if(i>=s)return l;var c=n[i];return l*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)}))}function Di(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=pi(t,a);n(s,a)&&Wi(o,lr(a,t),s)}return o}function Li(t,e,n,i){var r=i?we:xe,o=-1,a=e.length,s=t;for(t===e&&(e=vr(e)),n&&(s=he(t,Me(n)));++o<a;)for(var l=0,c=e[o],d=n?n(c):c;(l=r(s,d,l,i))>-1;)s!==t&&Vt.call(s,l,1),Vt.call(t,l,1);return t}function Ni(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;so(r)?Vt.call(t,r,1):tr(t,r)}}return t}function Ii(t,e){return t+tn(un()*(e-t+1))}function Ri(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wo(go(t,e,Xs),t+"")}function zi(t){return zn(As(t))}function Bi(t,e){var n=As(t);return Co(n,Kn(e,0,n.length))}function Wi(t,e,n,i){if(!Ya(t))return t;for(var r=-1,o=(e=lr(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=So(e[r]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var d=s[l];void 0===(c=i?i(d,l,s):void 0)&&(c=Ya(d)?d:so(e[r+1])?[]:{})}Yn(s,l,c),s=s[l]}return t}var Hi=bn?function(t,e){return bn.set(t,e),t}:Xs,Yi=ve?function(t,e){return ve(t,"toString",{configurable:!0,enumerable:!1,value:Ys(e),writable:!0})}:Xs;function Ui(t){return Co(As(t))}function Gi(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r<o;)a[r]=t[r+e];return a}function Xi(t,e){var n;return ei(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function Vi(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ja(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return qi(t,e,Xs,n)}function qi(t,e,n,i){var r=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!=e,s=null===e,l=Ja(e),c=void 0===e;r<o;){var d=tn((r+o)/2),u=n(t[d]),p=void 0!==u,h=null===u,f=u==u,m=Ja(u);if(a)var g=i||f;else g=c?f&&(i||p):s?f&&p&&(i||!h):l?f&&p&&!h&&(i||!m):!h&&!m&&(i?u<=e:u<e);g?r=d+1:o=d}return ln(o,4294967294)}function Ki(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Aa(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Zi(t){return"number"==typeof t?t:Ja(t)?NaN:+t}function Ji(t){if("string"==typeof t)return t;if(Da(t))return he(t,Ji)+"";if(Ja(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qi(t,e,n){var i=-1,r=ue,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=pe;else if(o>=200){var c=e?null:Rr(t);if(c)return Ye(c);a=!1,r=Te,l=new In}else l=e?[]:s;t:for(;++i<o;){var d=t[i],u=e?e(d):d;if(d=n||0!==d?d:0,a&&u==u){for(var p=l.length;p--;)if(l[p]===u)continue t;e&&l.push(u),s.push(d)}else r(l,u,n)||(l!==s&&l.push(u),s.push(d))}return s}function tr(t,e){return null==(t=_o(t,e=lr(e,t)))||delete t[So(zo(e))]}function er(t,e,n,i){return Wi(t,e,n(pi(t,e)),i)}function nr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Gi(t,i?0:o,i?o+1:r):Gi(t,i?o+1:0,i?r:o)}function ir(t,e){var n=t;return n instanceof Tn&&(n=n.value()),me(e,(function(t,e){return e.func.apply(e.thisArg,fe([t],e.args))}),n)}function rr(t,e,n){var r=t.length;if(r<2)return r?Qi(t[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=t[o],l=-1;++l<r;)l!=o&&(a[o]=ti(a[o]||s,t[l],e,n));return Qi(ai(a,1),e,n)}function or(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:void 0;n(a,t[i],s)}return a}function ar(t){return Ia(t)?t:[]}function sr(t){return"function"==typeof t?t:Xs}function lr(t,e){return Da(t)?t:co(t,e)?[t]:Eo(ls(t))}var cr=Fi;function dr(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:Gi(t,e,n)}var ur=Ee||function(t){return Xt.clearTimeout(t)};function pr(t,e){if(e)return t.slice();var n=t.length,i=Nt?Nt(n):new t.constructor(n);return t.copy(i),i}function hr(t){var e=new t.constructor(t.byteLength);return new Dt(e).set(new Dt(t)),e}function fr(t,e){var n=e?hr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function mr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,o=Ja(t),a=void 0!==e,s=null===e,l=e==e,c=Ja(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!c&&t<e||c&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function gr(t,e,n,r){for(var o=-1,a=t.length,s=n.length,l=-1,c=e.length,d=sn(a-s,0),u=i(c+d),p=!r;++l<c;)u[l]=e[l];for(;++o<s;)(p||o<a)&&(u[n[o]]=t[o]);for(;d--;)u[l++]=t[o++];return u}function _r(t,e,n,r){for(var o=-1,a=t.length,s=-1,l=n.length,c=-1,d=e.length,u=sn(a-l,0),p=i(u+d),h=!r;++o<u;)p[o]=t[o];for(var f=o;++c<d;)p[f+c]=e[c];for(;++s<l;)(h||o<a)&&(p[f+n[s]]=t[o++]);return p}function vr(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function br(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?Vn(n,s,l):Yn(n,s,l)}return n}function yr(t,e){return function(n,i){var r=Da(n)?ae:Gn,o=e?e():{};return r(n,t,Zr(i,2),o)}}function xr(t){return Fi((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&lo(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=ft(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))}function wr(t,e){return function(n,i){if(null==n)return n;if(!Na(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ft(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Or(t){return function(e,n,i){for(var r=-1,o=ft(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function kr(t){return function(e){var n=ze(e=ls(e))?Xe(e):void 0,i=n?n[0]:e.charAt(0),r=n?dr(n,1).join(""):e.slice(1);return i[t]()+r}}function Cr(t){return function(e){return me(Bs(Ts(e).replace(Pt,"")),t,"")}}function Er(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=An(t.prototype),i=t.apply(n,e);return Ya(i)?i:n}}function Sr(t){return function(e,n,i){var r=ft(e);if(!Na(e)){var o=Zr(n,3);e=xs(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:void 0}}function jr(t){return Ur((function(e){var n=e.length,i=n,r=Pn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new _t(o);if(r&&!s&&"wrapper"==qr(a))var s=new Pn([],!0)}for(i=s?i:n;++i<n;){var l=qr(a=e[i]),c="wrapper"==l?Vr(a):void 0;s=c&&uo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[qr(c[0])].apply(s,c[3]):1==a.length&&uo(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&Da(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function $r(t,e,n,r,o,a,s,l,c,d){var u=128&e,p=1&e,h=2&e,f=24&e,m=512&e,g=h?void 0:Er(t);return function _(){for(var v=arguments.length,b=i(v),y=v;y--;)b[y]=arguments[y];if(f)var x=Kr(_),w=Ne(b,x);if(r&&(b=gr(b,r,o,f)),a&&(b=_r(b,a,s,f)),v-=w,f&&v<d){var O=He(b,x);return Nr(t,e,$r,_.placeholder,n,b,O,l,c,d-v)}var k=p?n:this,C=h?k[t]:t;return v=b.length,l?b=vo(b,l):m&&v>1&&b.reverse(),u&&c<v&&(b.length=c),this&&this!==Xt&&this instanceof _&&(C=g||Er(C)),C.apply(k,b)}}function Ar(t,e){return function(n,i){return function(t,e,n,i){return ci(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Mr(t,e){return function(n,i){var r;if(void 0===n&&void 0===i)return e;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=Ji(n),i=Ji(i)):(n=Zi(n),i=Zi(i)),r=t(n,i)}return r}}function Pr(t){return Ur((function(e){return e=he(e,Me(Zr())),Fi((function(n){var i=this;return t(e,(function(t){return oe(t,i,n)}))}))}))}function Tr(t,e){var n=(e=void 0===e?" ":Ji(e)).length;if(n<2)return n?Ri(e,t):e;var i=Ri(e,Qe(t/Ge(e)));return ze(e)?dr(Xe(i),0,t).join(""):i.slice(0,t)}function Dr(t){return function(e,n,r){return r&&"number"!=typeof r&&lo(e,n,r)&&(n=r=void 0),e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n,r){for(var o=-1,a=sn(Qe((e-t)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=t,t+=n;return s}(e,n,r=void 0===r?e<n?1:-1:is(r),t)}}function Lr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=as(e),n=as(n)),t(e,n)}}function Nr(t,e,n,i,r,o,a,s,l,c){var d=8&e;e|=d?32:64,4&(e&=~(d?64:32))||(e&=-4);var u=[t,e,r,d?o:void 0,d?a:void 0,d?void 0:o,d?void 0:a,s,l,c],p=n.apply(void 0,u);return uo(t)&&yo(p,u),p.placeholder=i,Oo(p,t,e)}function Ir(t){var e=ht[t];return function(t,n){if(t=as(t),(n=null==n?0:ln(rs(n),292))&&rn(t)){var i=(ls(t)+"e").split("e");return+((i=(ls(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Rr=gn&&1/Ye(new gn([,-0]))[1]==1/0?function(t){return new gn(t)}:Js;function Fr(t){return function(e){var n=io(e);return n==m?Be(e):n==b?Ue(e):function(t,e){return he(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function zr(t,e,n,r,s,l,c,d){var u=2&e;if(!u&&"function"!=typeof t)throw new _t(o);var p=r?r.length:0;if(p||(e&=-97,r=s=void 0),c=void 0===c?c:sn(rs(c),0),d=void 0===d?d:rs(d),p-=s?s.length:0,64&e){var h=r,f=s;r=s=void 0}var m=u?void 0:Vr(t),g=[t,e,n,r,s,h,f,l,c,d];if(m&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=128==i&&8==n||128==i&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var c=t[3];t[3]=c?gr(c,l,e[4]):l,t[4]=c?He(t[3],a):e[4]}(l=e[5])&&(c=t[5],t[5]=c?_r(c,l,e[6]):l,t[6]=c?He(t[5],a):e[6]);(l=e[7])&&(t[7]=l);128&i&&(t[8]=null==t[8]?e[8]:ln(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=r}(g,m),t=g[0],e=g[1],n=g[2],r=g[3],s=g[4],!(d=g[9]=void 0===g[9]?u?0:t.length:sn(g[9]-p,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var r=Er(t);return function o(){for(var a=arguments.length,s=i(a),l=a,c=Kr(o);l--;)s[l]=arguments[l];var d=a<3&&s[0]!==c&&s[a-1]!==c?[]:He(s,c);if((a-=d.length)<n)return Nr(t,e,$r,o.placeholder,void 0,s,d,void 0,void 0,n-a);var u=this&&this!==Xt&&this instanceof o?r:t;return oe(u,this,s)}}(t,e,d):32!=e&&33!=e||s.length?$r.apply(void 0,g):function(t,e,n,r){var o=1&e,a=Er(t);return function e(){for(var s=-1,l=arguments.length,c=-1,d=r.length,u=i(d+l),p=this&&this!==Xt&&this instanceof e?a:t;++c<d;)u[c]=r[c];for(;l--;)u[c++]=arguments[++s];return oe(p,o?n:this,u)}}(t,e,n,r);else var _=function(t,e,n){var i=1&e,r=Er(t);return function e(){var o=this&&this!==Xt&&this instanceof e?r:t;return o.apply(i?n:this,arguments)}}(t,e,n);return Oo((m?Hi:yo)(_,g),t,e)}function Br(t,e,n,i){return void 0===t||Aa(t,yt[n])&&!Ot.call(i,n)?e:t}function Wr(t,e,n,i,r,o){return Ya(t)&&Ya(e)&&(o.set(e,t),Mi(t,e,void 0,Wr,o),o.delete(e)),t}function Hr(t){return Va(t)?void 0:t}function Yr(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),d=o.get(e);if(c&&d)return c==e&&d==t;var u=-1,p=!0,h=2&n?new In:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var f=t[u],m=e[u];if(i)var g=a?i(m,f,u,e,t,o):i(f,m,u,t,e,o);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!_e(e,(function(t,e){if(!Te(h,e)&&(f===t||r(f,t,n,i,o)))return h.push(e)}))){p=!1;break}}else if(f!==m&&!r(f,m,n,i,o)){p=!1;break}}return o.delete(t),o.delete(e),p}function Ur(t){return wo(go(t,void 0,Lo),t+"")}function Gr(t){return hi(t,xs,eo)}function Xr(t){return hi(t,ws,no)}var Vr=bn?function(t){return bn.get(t)}:Js;function qr(t){for(var e=t.name+"",n=yn[e],i=Ot.call(yn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Kr(t){return(Ot.call($n,"placeholder")?$n:t).placeholder}function Zr(){var t=$n.iteratee||Vs;return t=t===Vs?ki:t,arguments.length?t(arguments[0],arguments[1]):t}function Jr(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Qr(t){for(var e=xs(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,fo(r)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Oi(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=ft(t),de(en(t),(function(e){return Gt.call(t,e)})))}:ol,no=en?function(t){for(var e=[];t;)fe(e,eo(t)),t=Wt(t);return e}:ol,io=fi;function ro(t,e,n){for(var i=-1,r=(e=lr(e,t)).length,o=!1;++i<r;){var a=So(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Ha(r)&&so(a,r)&&(Da(t)||Ta(t))}function oo(t){return"function"!=typeof t.constructor||ho(t)?{}:An(Wt(t))}function ao(t){return Da(t)||Ta(t)||!!(qt&&t&&t[qt])}function so(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&lt.test(t))&&t>-1&&t%1==0&&t<e}function lo(t,e,n){if(!Ya(n))return!1;var i=typeof e;return!!("number"==i?Na(n)&&so(e,n.length):"string"==i&&e in n)&&Aa(n[e],t)}function co(t,e){if(Da(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ja(t))||(Y.test(t)||!H.test(t)||null!=e&&t in ft(e))}function uo(t){var e=qr(t),n=$n[e];if("function"!=typeof n||!(e in Tn.prototype))return!1;if(t===n)return!0;var i=Vr(n);return!!i&&t===i[0]}(hn&&io(new hn(new ArrayBuffer(1)))!=k||fn&&io(new fn)!=m||mn&&"[object Promise]"!=io(mn.resolve())||gn&&io(new gn)!=b||_n&&io(new _n)!=w)&&(io=function(t){var e=fi(t),n=e==_?t.constructor:void 0,i=n?jo(n):"";if(i)switch(i){case xn:return k;case wn:return m;case On:return"[object Promise]";case kn:return b;case Cn:return w}return e});var po=xt?Ba:al;function ho(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||yt)}function fo(t){return t==t&&!Ya(t)}function mo(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in ft(n)))}}function go(t,e,n){return e=sn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,a=sn(r.length-e,0),s=i(a);++o<a;)s[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(s),oe(t,this,l)}}function _o(t,e){return e.length<2?t:pi(t,Gi(e,0,-1))}function vo(t,e){for(var n=t.length,i=ln(e.length,n),r=vr(t);i--;){var o=e[i];t[i]=so(o,n)?r[o]:void 0}return t}function bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var yo=ko(Hi),xo=Je||function(t,e){return Xt.setTimeout(t,e)},wo=ko(Yi);function Oo(t,e,n){var i=e+"";return wo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(K,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!ue(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(i),n)))}function ko(t){var e=0,n=0;return function(){var i=cn(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Co(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n<e;){var o=Ii(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var Eo=function(t){var e=ka(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(U,(function(t,n,i,r){e.push(i?r.replace(et,"$1"):n||t)})),e}));function So(t){if("string"==typeof t||Ja(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function jo(t){if(null!=t){try{return wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $o(t){if(t instanceof Tn)return t.clone();var e=new Pn(t.__wrapped__,t.__chain__);return e.__actions__=vr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Ao=Fi((function(t,e){return Ia(t)?ti(t,ai(e,1,Ia,!0)):[]})),Mo=Fi((function(t,e){var n=zo(e);return Ia(n)&&(n=void 0),Ia(t)?ti(t,ai(e,1,Ia,!0),Zr(n,2)):[]})),Po=Fi((function(t,e){var n=zo(e);return Ia(n)&&(n=void 0),Ia(t)?ti(t,ai(e,1,Ia,!0),void 0,n):[]}));function To(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),ye(t,Zr(e,3),r)}function Do(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rs(n),r=n<0?sn(i+r,0):ln(r,i-1)),ye(t,Zr(e,3),r,!0)}function Lo(t){return(null==t?0:t.length)?ai(t,1):[]}function No(t){return t&&t.length?t[0]:void 0}var Io=Fi((function(t){var e=he(t,ar);return e.length&&e[0]===t[0]?vi(e):[]})),Ro=Fi((function(t){var e=zo(t),n=he(t,ar);return e===zo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?vi(n,Zr(e,2)):[]})),Fo=Fi((function(t){var e=zo(t),n=he(t,ar);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?vi(n,void 0,e):[]}));function zo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Bo=Fi(Wo);function Wo(t,e){return t&&t.length&&e&&e.length?Li(t,e):t}var Ho=Ur((function(t,e){var n=null==t?0:t.length,i=qn(t,e);return Ni(t,he(e,(function(t){return so(t,n)?+t:t})).sort(mr)),i}));function Yo(t){return null==t?t:pn.call(t)}var Uo=Fi((function(t){return Qi(ai(t,1,Ia,!0))})),Go=Fi((function(t){var e=zo(t);return Ia(e)&&(e=void 0),Qi(ai(t,1,Ia,!0),Zr(e,2))})),Xo=Fi((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,Qi(ai(t,1,Ia,!0),void 0,e)}));function Vo(t){if(!t||!t.length)return[];var e=0;return t=de(t,(function(t){if(Ia(t))return e=sn(t.length,e),!0})),$e(e,(function(e){return he(t,Ce(e))}))}function qo(t,e){if(!t||!t.length)return[];var n=Vo(t);return null==e?n:he(n,(function(t){return oe(e,void 0,t)}))}var Ko=Fi((function(t,e){return Ia(t)?ti(t,e):[]})),Zo=Fi((function(t){return rr(de(t,Ia))})),Jo=Fi((function(t){var e=zo(t);return Ia(e)&&(e=void 0),rr(de(t,Ia),Zr(e,2))})),Qo=Fi((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,rr(de(t,Ia),void 0,e)})),ta=Fi(Vo);var ea=Fi((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,qo(t,n)}));function na(t){var e=$n(t);return e.__chain__=!0,e}function ia(t,e){return e(t)}var ra=Ur((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return qn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Tn&&so(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ia,args:[r],thisArg:void 0}),new Pn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var oa=yr((function(t,e,n){Ot.call(t,n)?++t[n]:Vn(t,n,1)}));var aa=Sr(To),sa=Sr(Do);function la(t,e){return(Da(t)?se:ei)(t,Zr(e,3))}function ca(t,e){return(Da(t)?le:ni)(t,Zr(e,3))}var da=yr((function(t,e,n){Ot.call(t,n)?t[n].push(e):Vn(t,n,[e])}));var ua=Fi((function(t,e,n){var r=-1,o="function"==typeof e,a=Na(t)?i(t.length):[];return ei(t,(function(t){a[++r]=o?oe(e,t,n):bi(t,e,n)})),a})),pa=yr((function(t,e,n){Vn(t,n,e)}));function ha(t,e){return(Da(t)?he:ji)(t,Zr(e,3))}var fa=yr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ma=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&lo(t,e[0],e[1])?e=[]:n>2&&lo(e[0],e[1],e[2])&&(e=[e[0]]),Ti(t,ai(e,1),[])})),ga=Ze||function(){return Xt.Date.now()};function _a(t,e,n){return e=n?void 0:e,zr(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function va(t,e){var n;if("function"!=typeof e)throw new _t(o);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ba=Fi((function(t,e,n){var i=1;if(n.length){var r=He(n,Kr(ba));i|=32}return zr(t,i,e,n,r)})),ya=Fi((function(t,e,n){var i=3;if(n.length){var r=He(n,Kr(ya));i|=32}return zr(e,i,t,n,r)}));function xa(t,e,n){var i,r,a,s,l,c,d=0,u=!1,p=!1,h=!0;if("function"!=typeof t)throw new _t(o);function f(e){var n=i,o=r;return i=r=void 0,d=e,s=t.apply(o,n)}function m(t){return d=t,l=xo(_,e),u?f(t):s}function g(t){var n=t-c;return void 0===c||n>=e||n<0||p&&t-d>=a}function _(){var t=ga();if(g(t))return v(t);l=xo(_,function(t){var n=e-(t-c);return p?ln(n,a-(t-d)):n}(t))}function v(t){return l=void 0,h&&i?f(t):(i=r=void 0,s)}function b(){var t=ga(),n=g(t);if(i=arguments,r=this,c=t,n){if(void 0===l)return m(c);if(p)return ur(l),l=xo(_,e),f(c)}return void 0===l&&(l=xo(_,e)),s}return e=as(e)||0,Ya(n)&&(u=!!n.leading,a=(p="maxWait"in n)?sn(as(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){void 0!==l&&ur(l),d=0,i=c=r=l=void 0},b.flush=function(){return void 0===l?s:v(ga())},b}var wa=Fi((function(t,e){return Qn(t,1,e)})),Oa=Fi((function(t,e,n){return Qn(t,as(e)||0,n)}));function ka(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new _t(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(ka.Cache||Nn),n}function Ca(t){if("function"!=typeof t)throw new _t(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ka.Cache=Nn;var Ea=cr((function(t,e){var n=(e=1==e.length&&Da(e[0])?he(e[0],Me(Zr())):he(ai(e,1),Me(Zr()))).length;return Fi((function(i){for(var r=-1,o=ln(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return oe(t,this,i)}))})),Sa=Fi((function(t,e){return zr(t,32,void 0,e,He(e,Kr(Sa)))})),ja=Fi((function(t,e){return zr(t,64,void 0,e,He(e,Kr(ja)))})),$a=Ur((function(t,e){return zr(t,256,void 0,void 0,void 0,e)}));function Aa(t,e){return t===e||t!=t&&e!=e}var Ma=Lr(mi),Pa=Lr((function(t,e){return t>=e})),Ta=yi(function(){return arguments}())?yi:function(t){return Ua(t)&&Ot.call(t,"callee")&&!Gt.call(t,"callee")},Da=i.isArray,La=Qt?Me(Qt):function(t){return Ua(t)&&fi(t)==O};function Na(t){return null!=t&&Ha(t.length)&&!Ba(t)}function Ia(t){return Ua(t)&&Na(t)}var Ra=nn||al,Fa=te?Me(te):function(t){return Ua(t)&&fi(t)==u};function za(t){if(!Ua(t))return!1;var e=fi(t);return e==p||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Va(t)}function Ba(t){if(!Ya(t))return!1;var e=fi(t);return e==h||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Wa(t){return"number"==typeof t&&t==rs(t)}function Ha(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ya(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ua(t){return null!=t&&"object"==typeof t}var Ga=ee?Me(ee):function(t){return Ua(t)&&io(t)==m};function Xa(t){return"number"==typeof t||Ua(t)&&fi(t)==g}function Va(t){if(!Ua(t)||fi(t)!=_)return!1;var e=Wt(t);if(null===e)return!0;var n=Ot.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==St}var qa=ne?Me(ne):function(t){return Ua(t)&&fi(t)==v};var Ka=ie?Me(ie):function(t){return Ua(t)&&io(t)==b};function Za(t){return"string"==typeof t||!Da(t)&&Ua(t)&&fi(t)==y}function Ja(t){return"symbol"==typeof t||Ua(t)&&fi(t)==x}var Qa=re?Me(re):function(t){return Ua(t)&&Ha(t.length)&&!!zt[fi(t)]};var ts=Lr(Si),es=Lr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Na(t))return Za(t)?Xe(t):vr(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=io(t);return(e==m?Be:e==b?Ye:As)(t)}function is(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Kn(rs(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Ja(t))return NaN;if(Ya(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ya(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ae(t);var n=ot.test(t);return n||st.test(t)?Yt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return br(t,ws(t))}function ls(t){return null==t?"":Ji(t)}var cs=xr((function(t,e){if(ho(e)||Na(e))br(e,xs(e),t);else for(var n in e)Ot.call(e,n)&&Yn(t,n,e[n])})),ds=xr((function(t,e){br(e,ws(e),t)})),us=xr((function(t,e,n,i){br(e,ws(e),t,i)})),ps=xr((function(t,e,n,i){br(e,xs(e),t,i)})),hs=Ur(qn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&lo(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=ws(o),s=-1,l=a.length;++s<l;){var c=a[s],d=t[c];(void 0===d||Aa(d,yt[c])&&!Ot.call(t,c))&&(t[c]=o[c])}return t})),ms=Fi((function(t){return t.push(void 0,Wr),oe(ks,void 0,t)}));function gs(t,e,n){var i=null==t?void 0:pi(t,e);return void 0===i?n:i}function _s(t,e){return null!=t&&ro(t,e,_i)}var vs=Ar((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Et.call(e)),t[e]=n}),Ys(Xs)),bs=Ar((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Et.call(e)),Ot.call(t,e)?t[e].push(n):t[e]=[n]}),Zr),ys=Fi(bi);function xs(t){return Na(t)?Fn(t):Ci(t)}function ws(t){return Na(t)?Fn(t,!0):Ei(t)}var Os=xr((function(t,e,n){Mi(t,e,n)})),ks=xr((function(t,e,n,i){Mi(t,e,n,i)})),Cs=Ur((function(t,e){var n={};if(null==t)return n;var i=!1;e=he(e,(function(e){return e=lr(e,t),i||(i=e.length>1),e})),br(t,Xr(t),n),i&&(n=Zn(n,7,Hr));for(var r=e.length;r--;)tr(n,e[r]);return n}));var Es=Ur((function(t,e){return null==t?{}:function(t,e){return Di(t,e,(function(e,n){return _s(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=he(Xr(t),(function(t){return[t]}));return e=Zr(e),Di(t,n,(function(t,n){return e(t,n[0])}))}var js=Fr(xs),$s=Fr(ws);function As(t){return null==t?[]:Pe(t,xs(t))}var Ms=Cr((function(t,e,n){return e=e.toLowerCase(),t+(n?Ps(e):e)}));function Ps(t){return zs(ls(t).toLowerCase())}function Ts(t){return(t=ls(t))&&t.replace(ct,Ie).replace(Tt,"")}var Ds=Cr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=Cr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ns=kr("toLowerCase");var Is=Cr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Rs=Cr((function(t,e,n){return t+(n?" ":"")+zs(e)}));var Fs=Cr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),zs=kr("toUpperCase");function Bs(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return It.test(t)}(t)?function(t){return t.match(Lt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Ws=Fi((function(t,e){try{return oe(t,void 0,e)}catch(t){return za(t)?t:new q(t)}})),Hs=Ur((function(t,e){return se(e,(function(e){e=So(e),Vn(t,e,ba(t[e],t))})),t}));function Ys(t){return function(){return t}}var Us=jr(),Gs=jr(!0);function Xs(t){return t}function Vs(t){return ki("function"==typeof t?t:Zn(t,1))}var qs=Fi((function(t,e){return function(n){return bi(n,t,e)}})),Ks=Fi((function(t,e){return function(n){return bi(t,n,e)}}));function Zs(t,e,n){var i=xs(e),r=ui(e,i);null!=n||Ya(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=ui(e,xs(e)));var o=!(Ya(n)&&"chain"in n&&!n.chain),a=Ba(t);return se(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=vr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Js(){}var Qs=Pr(he),tl=Pr(ce),el=Pr(_e);function nl(t){return co(t)?Ce(So(t)):function(t){return function(e){return pi(e,t)}}(t)}var il=Dr(),rl=Dr(!0);function ol(){return[]}function al(){return!1}var sl=Mr((function(t,e){return t+e}),0),ll=Ir("ceil"),cl=Mr((function(t,e){return t/e}),1),dl=Ir("floor");var ul,pl=Mr((function(t,e){return t*e}),1),hl=Ir("round"),fl=Mr((function(t,e){return t-e}),0);return $n.after=function(t,e){if("function"!=typeof e)throw new _t(o);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},$n.ary=_a,$n.assign=cs,$n.assignIn=ds,$n.assignInWith=us,$n.assignWith=ps,$n.at=hs,$n.before=va,$n.bind=ba,$n.bindAll=Hs,$n.bindKey=ya,$n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Da(t)?t:[t]},$n.chain=na,$n.chunk=function(t,e,n){e=(n?lo(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,s=i(Qe(r/e));o<r;)s[a++]=Gi(t,o,o+=e);return s},$n.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},$n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return fe(Da(n)?vr(n):[n],ai(e,1))},$n.cond=function(t){var e=null==t?0:t.length,n=Zr();return t=e?he(t,(function(t){if("function"!=typeof t[1])throw new _t(o);return[n(t[0]),t[1]]})):[],Fi((function(n){for(var i=-1;++i<e;){var r=t[i];if(oe(r[0],this,n))return oe(r[1],this,n)}}))},$n.conforms=function(t){return function(t){var e=xs(t);return function(n){return Jn(n,t,e)}}(Zn(t,1))},$n.constant=Ys,$n.countBy=oa,$n.create=function(t,e){var n=An(t);return null==e?n:Xn(n,e)},$n.curry=function t(e,n,i){var r=zr(e,8,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},$n.curryRight=function t(e,n,i){var r=zr(e,16,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},$n.debounce=xa,$n.defaults=fs,$n.defaultsDeep=ms,$n.defer=wa,$n.delay=Oa,$n.difference=Ao,$n.differenceBy=Mo,$n.differenceWith=Po,$n.drop=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=n||void 0===e?1:rs(e))<0?0:e,i):[]},$n.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,0,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e):[]},$n.dropRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0,!0):[]},$n.dropWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0):[]},$n.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&lo(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:os(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},$n.filter=function(t,e){return(Da(t)?de:oi)(t,Zr(e,3))},$n.flatMap=function(t,e){return ai(ha(t,e),1)},$n.flatMapDeep=function(t,e){return ai(ha(t,e),1/0)},$n.flatMapDepth=function(t,e,n){return n=void 0===n?1:rs(n),ai(ha(t,e),n)},$n.flatten=Lo,$n.flattenDeep=function(t){return(null==t?0:t.length)?ai(t,1/0):[]},$n.flattenDepth=function(t,e){return(null==t?0:t.length)?ai(t,e=void 0===e?1:rs(e)):[]},$n.flip=function(t){return zr(t,512)},$n.flow=Us,$n.flowRight=Gs,$n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},$n.functions=function(t){return null==t?[]:ui(t,xs(t))},$n.functionsIn=function(t){return null==t?[]:ui(t,ws(t))},$n.groupBy=da,$n.initial=function(t){return(null==t?0:t.length)?Gi(t,0,-1):[]},$n.intersection=Io,$n.intersectionBy=Ro,$n.intersectionWith=Fo,$n.invert=vs,$n.invertBy=bs,$n.invokeMap=ua,$n.iteratee=Vs,$n.keyBy=pa,$n.keys=xs,$n.keysIn=ws,$n.map=ha,$n.mapKeys=function(t,e){var n={};return e=Zr(e,3),ci(t,(function(t,i,r){Vn(n,e(t,i,r),t)})),n},$n.mapValues=function(t,e){var n={};return e=Zr(e,3),ci(t,(function(t,i,r){Vn(n,i,e(t,i,r))})),n},$n.matches=function(t){return $i(Zn(t,1))},$n.matchesProperty=function(t,e){return Ai(t,Zn(e,1))},$n.memoize=ka,$n.merge=Os,$n.mergeWith=ks,$n.method=qs,$n.methodOf=Ks,$n.mixin=Zs,$n.negate=Ca,$n.nthArg=function(t){return t=rs(t),Fi((function(e){return Pi(e,t)}))},$n.omit=Cs,$n.omitBy=function(t,e){return Ss(t,Ca(Zr(e)))},$n.once=function(t){return va(2,t)},$n.orderBy=function(t,e,n,i){return null==t?[]:(Da(e)||(e=null==e?[]:[e]),Da(n=i?void 0:n)||(n=null==n?[]:[n]),Ti(t,e,n))},$n.over=Qs,$n.overArgs=Ea,$n.overEvery=tl,$n.overSome=el,$n.partial=Sa,$n.partialRight=ja,$n.partition=fa,$n.pick=Es,$n.pickBy=Ss,$n.property=nl,$n.propertyOf=function(t){return function(e){return null==t?void 0:pi(t,e)}},$n.pull=Bo,$n.pullAll=Wo,$n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Li(t,e,Zr(n,2)):t},$n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Li(t,e,void 0,n):t},$n.pullAt=Ho,$n.range=il,$n.rangeRight=rl,$n.rearg=$a,$n.reject=function(t,e){return(Da(t)?de:oi)(t,Ca(Zr(e,3)))},$n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=Zr(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Ni(t,r),n},$n.rest=function(t,e){if("function"!=typeof t)throw new _t(o);return Fi(t,e=void 0===e?e:rs(e))},$n.reverse=Yo,$n.sampleSize=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),(Da(t)?Bn:Bi)(t,e)},$n.set=function(t,e,n){return null==t?t:Wi(t,e,n)},$n.setWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:Wi(t,e,n,i)},$n.shuffle=function(t){return(Da(t)?Wn:Ui)(t)},$n.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&lo(t,e,n)?(e=0,n=i):(e=null==e?0:rs(e),n=void 0===n?i:rs(n)),Gi(t,e,n)):[]},$n.sortBy=ma,$n.sortedUniq=function(t){return t&&t.length?Ki(t):[]},$n.sortedUniqBy=function(t,e){return t&&t.length?Ki(t,Zr(e,2)):[]},$n.split=function(t,e,n){return n&&"number"!=typeof n&&lo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!qa(e))&&!(e=Ji(e))&&ze(t)?dr(Xe(t),0,n):t.split(e,n):[]},$n.spread=function(t,e){if("function"!=typeof t)throw new _t(o);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=dr(n,0,e);return i&&fe(r,i),oe(t,this,r)}))},$n.tail=function(t){var e=null==t?0:t.length;return e?Gi(t,1,e):[]},$n.take=function(t,e,n){return t&&t.length?Gi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},$n.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},$n.takeRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!1,!0):[]},$n.takeWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3)):[]},$n.tap=function(t,e){return e(t),t},$n.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new _t(o);return Ya(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),xa(t,e,{leading:i,maxWait:e,trailing:r})},$n.thru=ia,$n.toArray=ns,$n.toPairs=js,$n.toPairsIn=$s,$n.toPath=function(t){return Da(t)?he(t,So):Ja(t)?[t]:vr(Eo(ls(t)))},$n.toPlainObject=ss,$n.transform=function(t,e,n){var i=Da(t),r=i||Ra(t)||Qa(t);if(e=Zr(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Ya(t)&&Ba(o)?An(Wt(t)):{}}return(r?se:ci)(t,(function(t,i,r){return e(n,t,i,r)})),n},$n.unary=function(t){return _a(t,1)},$n.union=Uo,$n.unionBy=Go,$n.unionWith=Xo,$n.uniq=function(t){return t&&t.length?Qi(t):[]},$n.uniqBy=function(t,e){return t&&t.length?Qi(t,Zr(e,2)):[]},$n.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},$n.unset=function(t,e){return null==t||tr(t,e)},$n.unzip=Vo,$n.unzipWith=qo,$n.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},$n.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},$n.values=As,$n.valuesIn=function(t){return null==t?[]:Pe(t,ws(t))},$n.without=Ko,$n.words=Bs,$n.wrap=function(t,e){return Sa(sr(e),t)},$n.xor=Zo,$n.xorBy=Jo,$n.xorWith=Qo,$n.zip=ta,$n.zipObject=function(t,e){return or(t||[],e||[],Yn)},$n.zipObjectDeep=function(t,e){return or(t||[],e||[],Wi)},$n.zipWith=ea,$n.entries=js,$n.entriesIn=$s,$n.extend=ds,$n.extendWith=us,Zs($n,$n),$n.add=sl,$n.attempt=Ws,$n.camelCase=Ms,$n.capitalize=Ps,$n.ceil=ll,$n.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Kn(as(t),e,n)},$n.clone=function(t){return Zn(t,4)},$n.cloneDeep=function(t){return Zn(t,5)},$n.cloneDeepWith=function(t,e){return Zn(t,5,e="function"==typeof e?e:void 0)},$n.cloneWith=function(t,e){return Zn(t,4,e="function"==typeof e?e:void 0)},$n.conformsTo=function(t,e){return null==e||Jn(t,e,xs(e))},$n.deburr=Ts,$n.defaultTo=function(t,e){return null==t||t!=t?e:t},$n.divide=cl,$n.endsWith=function(t,e,n){t=ls(t),e=Ji(e);var i=t.length,r=n=void 0===n?i:Kn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},$n.eq=Aa,$n.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(I,Re):t},$n.escapeRegExp=function(t){return(t=ls(t))&&X.test(t)?t.replace(G,"\\$&"):t},$n.every=function(t,e,n){var i=Da(t)?ce:ii;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},$n.find=aa,$n.findIndex=To,$n.findKey=function(t,e){return be(t,Zr(e,3),ci)},$n.findLast=sa,$n.findLastIndex=Do,$n.findLastKey=function(t,e){return be(t,Zr(e,3),di)},$n.floor=dl,$n.forEach=la,$n.forEachRight=ca,$n.forIn=function(t,e){return null==t?t:si(t,Zr(e,3),ws)},$n.forInRight=function(t,e){return null==t?t:li(t,Zr(e,3),ws)},$n.forOwn=function(t,e){return t&&ci(t,Zr(e,3))},$n.forOwnRight=function(t,e){return t&&di(t,Zr(e,3))},$n.get=gs,$n.gt=Ma,$n.gte=Pa,$n.has=function(t,e){return null!=t&&ro(t,e,gi)},$n.hasIn=_s,$n.head=No,$n.identity=Xs,$n.includes=function(t,e,n,i){t=Na(t)?t:As(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Za(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&xe(t,e,n)>-1},$n.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),xe(t,e,r)},$n.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t<sn(e,n)}(t=as(t),e,n)},$n.invoke=ys,$n.isArguments=Ta,$n.isArray=Da,$n.isArrayBuffer=La,$n.isArrayLike=Na,$n.isArrayLikeObject=Ia,$n.isBoolean=function(t){return!0===t||!1===t||Ua(t)&&fi(t)==d},$n.isBuffer=Ra,$n.isDate=Fa,$n.isElement=function(t){return Ua(t)&&1===t.nodeType&&!Va(t)},$n.isEmpty=function(t){if(null==t)return!0;if(Na(t)&&(Da(t)||"string"==typeof t||"function"==typeof t.splice||Ra(t)||Qa(t)||Ta(t)))return!t.length;var e=io(t);if(e==m||e==b)return!t.size;if(ho(t))return!Ci(t).length;for(var n in t)if(Ot.call(t,n))return!1;return!0},$n.isEqual=function(t,e){return xi(t,e)},$n.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===i?xi(t,e,void 0,n):!!i},$n.isError=za,$n.isFinite=function(t){return"number"==typeof t&&rn(t)},$n.isFunction=Ba,$n.isInteger=Wa,$n.isLength=Ha,$n.isMap=Ga,$n.isMatch=function(t,e){return t===e||wi(t,e,Qr(e))},$n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,wi(t,e,Qr(e),n)},$n.isNaN=function(t){return Xa(t)&&t!=+t},$n.isNative=function(t){if(po(t))throw new q("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oi(t)},$n.isNil=function(t){return null==t},$n.isNull=function(t){return null===t},$n.isNumber=Xa,$n.isObject=Ya,$n.isObjectLike=Ua,$n.isPlainObject=Va,$n.isRegExp=qa,$n.isSafeInteger=function(t){return Wa(t)&&t>=-9007199254740991&&t<=9007199254740991},$n.isSet=Ka,$n.isString=Za,$n.isSymbol=Ja,$n.isTypedArray=Qa,$n.isUndefined=function(t){return void 0===t},$n.isWeakMap=function(t){return Ua(t)&&io(t)==w},$n.isWeakSet=function(t){return Ua(t)&&"[object WeakSet]"==fi(t)},$n.join=function(t,e){return null==t?"":on.call(t,e)},$n.kebabCase=Ds,$n.last=zo,$n.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):ye(t,Oe,r,!0)},$n.lowerCase=Ls,$n.lowerFirst=Ns,$n.lt=ts,$n.lte=es,$n.max=function(t){return t&&t.length?ri(t,Xs,mi):void 0},$n.maxBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),mi):void 0},$n.mean=function(t){return ke(t,Xs)},$n.meanBy=function(t,e){return ke(t,Zr(e,2))},$n.min=function(t){return t&&t.length?ri(t,Xs,Si):void 0},$n.minBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),Si):void 0},$n.stubArray=ol,$n.stubFalse=al,$n.stubObject=function(){return{}},$n.stubString=function(){return""},$n.stubTrue=function(){return!0},$n.multiply=pl,$n.nth=function(t,e){return t&&t.length?Pi(t,rs(e)):void 0},$n.noConflict=function(){return Xt._===this&&(Xt._=jt),this},$n.noop=Js,$n.now=ga,$n.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Tr(tn(r),n)+t+Tr(Qe(r),n)},$n.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?t+Tr(e-i,n):t},$n.padStart=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?Tr(e-i,n)+t:t},$n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),dn(ls(t).replace(V,""),e||0)},$n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&lo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=is(t),void 0===e?(e=t,t=0):e=is(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=un();return ln(t+r*(e-t+Ht("1e-"+((r+"").length-1))),e)}return Ii(t,e)},$n.reduce=function(t,e,n){var i=Da(t)?me:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ei)},$n.reduceRight=function(t,e,n){var i=Da(t)?ge:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ni)},$n.repeat=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),Ri(ls(t),e)},$n.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},$n.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i<r;){var o=null==t?void 0:t[So(e[i])];void 0===o&&(i=r,o=n),t=Ba(o)?o.call(t):o}return t},$n.round=hl,$n.runInContext=t,$n.sample=function(t){return(Da(t)?zn:zi)(t)},$n.size=function(t){if(null==t)return 0;if(Na(t))return Za(t)?Ge(t):t.length;var e=io(t);return e==m||e==b?t.size:Ci(t).length},$n.snakeCase=Is,$n.some=function(t,e,n){var i=Da(t)?_e:Xi;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},$n.sortedIndex=function(t,e){return Vi(t,e)},$n.sortedIndexBy=function(t,e,n){return qi(t,e,Zr(n,2))},$n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Vi(t,e);if(i<n&&Aa(t[i],e))return i}return-1},$n.sortedLastIndex=function(t,e){return Vi(t,e,!0)},$n.sortedLastIndexBy=function(t,e,n){return qi(t,e,Zr(n,2),!0)},$n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Vi(t,e,!0)-1;if(Aa(t[n],e))return n}return-1},$n.startCase=Rs,$n.startsWith=function(t,e,n){return t=ls(t),n=null==n?0:Kn(rs(n),0,t.length),e=Ji(e),t.slice(n,n+e.length)==e},$n.subtract=fl,$n.sum=function(t){return t&&t.length?je(t,Xs):0},$n.sumBy=function(t,e){return t&&t.length?je(t,Zr(e,2)):0},$n.template=function(t,e,n){var i=$n.templateSettings;n&&lo(t,e,n)&&(e=void 0),t=ls(t),e=us({},e,i,Br);var r,o,a=us({},e.imports,i.imports,Br),s=xs(a),l=Pe(a,s),c=0,d=e.interpolate||dt,u="__p += '",p=mt((e.escape||dt).source+"|"+d.source+"|"+(d===W?nt:dt).source+"|"+(e.evaluate||dt).source+"|$","g"),h="//# sourceURL="+(Ot.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ft+"]")+"\n";t.replace(p,(function(e,n,i,a,s,l){return i||(i=a),u+=t.slice(c,l).replace(ut,Fe),n&&(r=!0,u+="' +\n__e("+n+") +\n'"),s&&(o=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+e.length,e})),u+="';\n";var f=Ot.call(e,"variable")&&e.variable;if(f){if(tt.test(f))throw new q("Invalid `variable` option passed into `_.template`")}else u="with (obj) {\n"+u+"\n}\n";u=(o?u.replace(T,""):u).replace(D,"$1").replace(L,"$1;"),u="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var m=Ws((function(){return pt(s,h+"return "+u).apply(void 0,l)}));if(m.source=u,za(m))throw m;return m},$n.times=function(t,e){if((t=rs(t))<1||t>9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=$e(i,e=Zr(e));++n<t;)e(n);return r},$n.toFinite=is,$n.toInteger=rs,$n.toLength=os,$n.toLower=function(t){return ls(t).toLowerCase()},$n.toNumber=as,$n.toSafeInteger=function(t){return t?Kn(rs(t),-9007199254740991,9007199254740991):0===t?t:0},$n.toString=ls,$n.toUpper=function(t){return ls(t).toUpperCase()},$n.trim=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return Ae(t);if(!t||!(e=Ji(e)))return t;var i=Xe(t),r=Xe(e);return dr(i,De(i,r),Le(i,r)+1).join("")},$n.trimEnd=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.slice(0,Ve(t)+1);if(!t||!(e=Ji(e)))return t;var i=Xe(t);return dr(i,0,Le(i,Xe(e))+1).join("")},$n.trimStart=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.replace(V,"");if(!t||!(e=Ji(e)))return t;var i=Xe(t);return dr(i,De(i,Xe(e))).join("")},$n.truncate=function(t,e){var n=30,i="...";if(Ya(e)){var r="separator"in e?e.separator:r;n="length"in e?rs(e.length):n,i="omission"in e?Ji(e.omission):i}var o=(t=ls(t)).length;if(ze(t)){var a=Xe(t);o=a.length}if(n>=o)return t;var s=n-Ge(i);if(s<1)return i;var l=a?dr(a,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),qa(r)){if(t.slice(s).search(r)){var c,d=l;for(r.global||(r=mt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;c=r.exec(d);)var u=c.index;l=l.slice(0,void 0===u?s:u)}}else if(t.indexOf(Ji(r),s)!=s){var p=l.lastIndexOf(r);p>-1&&(l=l.slice(0,p))}return l+i},$n.unescape=function(t){return(t=ls(t))&&R.test(t)?t.replace(N,qe):t},$n.uniqueId=function(t){var e=++kt;return ls(t)+e},$n.upperCase=Fs,$n.upperFirst=zs,$n.each=la,$n.eachRight=ca,$n.first=No,Zs($n,(ul={},ci($n,(function(t,e){Ot.call($n.prototype,e)||(ul[e]=t)})),ul),{chain:!1}),$n.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){$n[t].placeholder=$n})),se(["drop","take"],(function(t,e){Tn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Tn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Tn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Tn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Tn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Tn.prototype[t]=function(){return this.__filtered__?new Tn(this):this[n](1)}})),Tn.prototype.compact=function(){return this.filter(Xs)},Tn.prototype.find=function(t){return this.filter(t).head()},Tn.prototype.findLast=function(t){return this.reverse().find(t)},Tn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Tn(this):this.map((function(n){return bi(n,t,e)}))})),Tn.prototype.reject=function(t){return this.filter(Ca(Zr(t)))},Tn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Tn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Tn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Tn.prototype.toArray=function(){return this.take(4294967295)},ci(Tn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=$n[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);r&&($n.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,s=e instanceof Tn,l=a[0],c=s||Da(e),d=function(t){var e=r.apply($n,fe([t],a));return i&&u?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var u=this.__chain__,p=!!this.__actions__.length,h=o&&!u,f=s&&!p;if(!o&&c){e=f?e:new Tn(this);var m=t.apply(e,a);return m.__actions__.push({func:ia,args:[d],thisArg:void 0}),new Pn(m,u)}return h&&f?t.apply(this,a):(m=this.thru(d),h?i?m.value()[0]:m.value():m)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=vt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);$n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Da(r)?r:[],t)}return this[n]((function(n){return e.apply(Da(n)?n:[],t)}))}})),ci(Tn.prototype,(function(t,e){var n=$n[e];if(n){var i=n.name+"";Ot.call(yn,i)||(yn[i]=[]),yn[i].push({name:e,func:n})}})),yn[$r(void 0,2).name]=[{name:"wrapper",func:void 0}],Tn.prototype.clone=function(){var t=new Tn(this.__wrapped__);return t.__actions__=vr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=vr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=vr(this.__views__),t},Tn.prototype.reverse=function(){if(this.__filtered__){var t=new Tn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Tn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Da(t),i=e<0,r=n?t.length:0,o=function(t,e,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ln(e,t+a);break;case"takeRight":t=sn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,c=i?s:a-1,d=this.__iteratees__,u=d.length,p=0,h=ln(l,this.__takeCount__);if(!n||!i&&r==l&&h==l)return ir(t,this.__actions__);var f=[];t:for(;l--&&p<h;){for(var m=-1,g=t[c+=e];++m<u;){var _=d[m],v=_.iteratee,b=_.type,y=v(g);if(2==b)g=y;else if(!y){if(1==b)continue t;break t}}f[p++]=g}return f},$n.prototype.at=ra,$n.prototype.chain=function(){return na(this)},$n.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},$n.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},$n.prototype.plant=function(t){for(var e,n=this;n instanceof Mn;){var i=$o(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},$n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Tn){var e=t;return this.__actions__.length&&(e=new Tn(this)),(e=e.reverse()).__actions__.push({func:ia,args:[Yo],thisArg:void 0}),new Pn(e,this.__chain__)}return this.thru(Yo)},$n.prototype.toJSON=$n.prototype.valueOf=$n.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},$n.prototype.first=$n.prototype.head,Zt&&($n.prototype[Zt]=function(){return this}),$n}();Xt._=Ke,void 0===(r=function(){return Ke}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n(149),n(218)(t))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7),d=n(16),u=n(10),p=function(t){return/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F)+$/.test(t)};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,h=t.count,f=t.data,m=void 0===f?{}:f,g=t.disabled,_=t.icon,v=void 0===_?null:_,b=t.iconRight,y=void 0!==b&&b,x=t.id,w=t.loading,O=void 0!==w&&w,k=t.onClick,C=t.tabIndex,E=t.link,S=void 0===E?null:E,j=t.newWindow,$=void 0!==j&&j,A=t.target,M=void 0===A?"":A,P=t.text,T=t.htmlType,D=void 0===T?"button":T,L=t.value,N=t.variant,I=t.form,R=void 0===I?null:I,F=Object(s.a)(n),z=Object(s.c)(m),B=a()(function(t){var e=t.disabled,n=void 0!==e&&e,i=t.fullWidth,r=void 0!==i&&i,o=t.highlight,a=t.icon,s=t.loading,l=void 0!==s&&s,c=t.type,d=void 0===c?"inline":c,u=t.variant,h=void 0===u?"primary":u,f=t.size,m=void 0===f?null:f,g="pb_button_kit";return g+="".concat(null!==h?"_".concat(h):""),g+="".concat(null!==d?"_".concat(d):""),g+="".concat(r?"_block":""),g+=n?"_disabled":"_enabled",g+=l?"_loading":"",g+="".concat(null!==m?" size_".concat(m):""),g+="".concat("reaction"!==h||p(a)?"":" reaction_default"),g+="".concat("reaction"===h&&o?" active":"")}(t),Object(l.c)(t),o),W=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),H=r.a.createElement("span",{className:"pb_button_content"},v&&!y&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(v," fa-fw button_with_icon")}),r.a.createElement("span",null,P||i),v&&y&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(v," fa-fw button_with_icon_right")})),Y=function(){return O?r.a.createElement(r.a.Fragment,null,W):H};return r.a.createElement(r.a.Fragment,null,S?r.a.createElement("a",Object.assign({},F,z,{className:B,href:S,id:x,rel:"child"!==M?"noreferrer":null,role:"link",tabIndex:C,target:M&&S?M:$?"_blank":null}),Y()):"reaction"===N?r.a.createElement("button",Object.assign({},F,z,{className:B,disabled:g,form:R,id:x,onClick:k,role:"button",tabIndex:C,type:D,value:L}),v&&p(v)&&r.a.createElement(u.a,{align:"center"},r.a.createElement(c.a,{icon:v}),h&&r.a.createElement(d.a,{paddingLeft:"xxs",size:"xs"},h)),!p(v)&&r.a.createElement(c.a,{icon:v||"face-smile-plus"})):r.a.createElement("button",Object.assign({},F,z,{className:B,disabled:g,form:R,id:x,onClick:k,role:"button",tabIndex:C,type:D,value:L}),Y()))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var i=n(40);function r(t){return t instanceof Object(i.a)(t).Element||t instanceof Element}function o(t){return t instanceof Object(i.a)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Object(i.a)(t).ShadowRoot||t instanceof ShadowRoot)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7),d=n(42),u=n(111);e.a=function(t){var e=t.active,n=void 0!==e&&e,i=t.aria,o=void 0===i?{}:i,p=t.fontWeight,h=void 0===p?"regular":p,f=t.children,m=t.className,g=t.collapsible,_=t.data,v=void 0===_?{}:_,b=t.dark,y=void 0!==b&&b,x=t.fontSize,w=void 0===x?"normal":x,O=t.iconLeft,k=t.iconRight,C=t.onIconRightClick,E=t.onIconLeftClick,S=t.id,j=t.imageUrl,$=t.link,A=t.onClick,M=void 0===A?function(){}:A,P=t.target,T=void 0===P?"_self":P,D=t.text,L=void 0===D?"":D,N=t.collapsibleTrail,I=t.collapsed,R=$?"a":"div",F=!0===n?"active":"",z=g&&N?"collapsible_trail":"",B="small"===w?"font_size_small":"font_size_normal",W="bold"===h?"font_bold":"bolder"===h?"font_bolder":"font_regular",H=Object(s.a)(o),Y=Object(s.c)(v),U=a()(Object(s.b)("pb_nav_list_kit_item",F),g?Object(s.b)("pb_collapsible_nav_item",F,z):"",B,W,Object(l.c)(t),m),G=function(t){E&&(t.stopPropagation(),E())};return r.a.createElement("li",Object.assign({},H,Y,{className:U,id:S}),g?r.a.createElement(u.a,{icon:k||["plus","minus"],iconSize:"xs",id:S,collapsed:I,onIconClick:C,onClick:M},r.a.createElement(u.a.Main,{dark:y},r.a.createElement(R,{className:"pb_nav_list_item_link_collapsible",href:$,target:T},j&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:j,onClick:function(t){return G(t)}},r.a.createElement(d.a,{className:"pb_nav_img_wrapper",url:j})),O&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:O,onClick:function(t){return G(t)}},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:!0,icon:O})),r.a.createElement("span",{className:"pb_nav_list_item_text_collapsible"},L))),r.a.createElement(u.a.Content,null,f)):r.a.createElement(R,{className:"pb_nav_list_item_link",href:$,onClick:M,target:T},j&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:j},r.a.createElement(d.a,{className:"pb_nav_img_wrapper",url:j})),O&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:O},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:O})),r.a.createElement("span",{className:"pb_nav_list_item_text"},L||f),k&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:k},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:k}))))}},function(t,e,n){"use strict";var i;!function(r,o){t.exports?(o.default=o,t.exports=r.document?o(r):o):void 0===(i=function(){return o(r)}.call(e,n,e,t))||(t.exports=i)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n))}var n={};return e(n,"Core/Globals.js",[],(function(){var e,n=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.3",t.win=n,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,n),t.win.removeEventListener("testPassive",t.noop,n))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,i,r,o){var a=i?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var d="";s&&(c+="?"),m(o,(function(t,e){d+="\n - "+e+": "+t,s&&(c+=encodeURI(e)+"="+encodeURI(t))})),c+=d}_(t,"displayError",{chart:r,code:n,message:c,params:o},(function(){if(i)throw Error(c);y.console&&-1===e.messages.indexOf(c)&&console.warn(c)})),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function i(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function c(t){return null!=t}function d(t,e,n){var r;return i(e)?c(n)?t.setAttribute(e,n):t&&t.getAttribute&&((r=t.getAttribute(e))||"class"!==e||(r=t.getAttribute(e+"Name"))):m(e,(function(e,n){c(e)?t.setAttribute(n,e):t.removeAttribute(n)})),r}function u(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function p(){for(var t=arguments,e=t.length,n=0;n<e;n++){var i=t[n];if(null!=i)return i}}function h(e,n){t.isMS&&!t.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),u(e.style,n)}function f(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,n){for(var i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function g(e,n,i){function r(n,i){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,n,i,!1)}function o(t){var i;if(e.nodeName){if(n){var o={};o[n]=!0}else o=t;m(o,(function(e,n){if(t[n])for(i=t[n].length;i--;)r(n,t[n][i].fn)}))}}var a="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],i?(s[n]=a.filter((function(t){return i!==t.fn})),r(n,i)):(o(s),s[n]=[])):(o(s),delete a.hcEvents)}}function _(e,n,i,r){if(i=i||{},b.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=b.createEvent("Events");o.initEvent(n,!0,!0),i=u(o,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||u(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,i)&&i.preventDefault()}))}r&&!i.defaultPrevented&&r.call(e,i)}var v=t.charts,b=t.doc,y=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,i){t[i]=function(t){var r;return e(32,!1,void 0,((r={})["Highcharts."+i]="use Array."+n,r)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var w,O=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(w?"":t)+e++}}();return y.jQuery&&(y.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[i(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):v[d(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,n,i,r){void 0===r&&(r={});var o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),o[n]||(o[n]=[]),o[n].push({fn:i,order:"number"==typeof r.order?r.order:1/0}),o[n].sort((function(t,e){return t.order-e.order})),function(){g(e,n,i)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:d,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var i={};return m(e,(function(r,a){o(e[a],!0)&&!e.nodeType&&n[a]?(r=t(e[a],n[a]),Object.keys(r).length&&(i[a]=r)):(o(e[a])||e[a]!==n[a])&&(i[a]=e[a])})),i},clearTimeout:function(t){c(t)&&clearTimeout(t)},correctFloat:f,createElement:function(t,e,n,i,r){return t=b.createElement(t),e&&u(t,e),r&&h(t,{padding:"0",border:"none",margin:"0"}),n&&h(t,n),i&&i.appendChild(t),t},css:h,defined:c,destroyObjectProperties:function(t,e){m(t,(function(n,i){n&&n!==e&&n.destroy&&n.destroy(),delete t[i]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:u,extendClass:function(t,e){var n=function(){};return u(n.prototype=new t,e),n},find:x,fireEvent:_,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&c(e);){var n=t.shift();if(void 0===n||"__proto__"===n)return;if(!c(e=e[n])||"function"==typeof e||"number"==typeof e.nodeType||e===y)return}return e},getStyle:function i(r,o,a){var s=t.getStyle||i;if("width"===o)return o=Math.min(r.offsetWidth,r.scrollWidth),(a=r.getBoundingClientRect&&r.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(y.getComputedStyle||e(27,!0),r=y.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);p(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},isArray:r,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:i,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!o(n,!0)||s(n)||a(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){var o=t,a=t/(n=p(n,1));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return 0==t%1})):.1>=n&&(e=[1/n]))),i=0;i<e.length&&(o=e[i],!(r&&o*n>=t||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return f(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=b.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(y.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(y.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:p,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:g,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(t){return w=p(t,w)},wrap:function(t,e,n){var i=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,r=this;return r.proceed=function(){i.apply(r,arguments.length?arguments:e)},t.unshift(i),t=n.apply(this,t),r.proceed=null,t}}}})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,i=e.merge,r=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var i=t.Color;return i&&i!==e?new i(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var i=t.length,r=parseInt(t.substr(1),16);7===i?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=e.parsers.length;r--&&!n;){var o=e.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=i(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})),o}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?""+r[3]:"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var i=0;3>i;i++)e[i]+=r(255*t),0>e[i]&&(e[i]=0),255<e[i]&&(e[i]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,r=t.rgba;return n(i[0])&&n(r[0])?((t=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(t?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],e.None=new e(""),e}()})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,i=e.defined,r=e.error,o=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,c=e.pad,d=e.pick,u=e.splat,p=e.timeUnits,h=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),i=n-this.getTimezoneOffset(e);return e.setTime(i),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var i=this.getTimezoneOffset(e);return i=e.getTime()-i,e.setTime(i),e["setUTC"+t](n),t=this.getTimezoneOffset(e),i=e.getTime()+t,e.setTime(i)}return this.useUTC||h&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=d(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,i,r,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||f||(a-=36e5)}else a=new this.Date(t,e,d(n,1),d(i,0),d(r,0),d(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.getTimezoneOffset,o=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&i?function(t){return 6e4*i(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=d(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),u=this.get("Hours",s),p=this.get("Day",s),h=this.get("Date",s),f=this.get("Month",s),m=this.get("FullYear",s),g=t.defaultOptions.lang,_=g&&g.weekdays,v=g&&g.shortWeekdays;return s=o({a:v?v[p]:_[p].substr(0,3),A:_[p],d:c(h),e:c(h,2," "),w:p,b:g.shortMonths[f],B:g.months[f],m:c(f+1),o:f+1,y:m.toString().substr(2,2),Y:m,H:c(u),k:u,I:c(u%12||12),l:u%12||12,M:c(this.get("Minutes",s)),p:12>u?"AM":"PM",P:12>u?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(a,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,r){var a,s=this,l=[],c={},u=new s.Date(e),h=t.unitRange,f=t.count||1;if(r=d(r,1),i(e)){if(s.set("Milliseconds",u,h>=p.second?0:f*Math.floor(s.get("Milliseconds",u)/f)),h>=p.second&&s.set("Seconds",u,h>=p.minute?0:f*Math.floor(s.get("Seconds",u)/f)),h>=p.minute&&s.set("Minutes",u,h>=p.hour?0:f*Math.floor(s.get("Minutes",u)/f)),h>=p.hour&&s.set("Hours",u,h>=p.day?0:f*Math.floor(s.get("Hours",u)/f)),h>=p.day&&s.set("Date",u,h>=p.month?1:Math.max(1,f*Math.floor(s.get("Date",u)/f))),h>=p.month){s.set("Month",u,h>=p.year?0:f*Math.floor(s.get("Month",u)/f));var m=s.get("FullYear",u)}h>=p.year&&s.set("FullYear",u,m-m%f),h===p.week&&(m=s.get("Day",u),s.set("Date",u,s.get("Date",u)-m+r+(m<r?-7:0))),m=s.get("FullYear",u),r=s.get("Month",u);var g=s.get("Date",u),_=s.get("Hours",u);for(e=u.getTime(),!s.variableTimezone&&s.useUTC||!i(n)||(a=n-e>4*p.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=u.getTime(),u=1;e<n;)l.push(e),e=h===p.year?s.makeTime(m+u*f,0):h===p.month?s.makeTime(m,r+u*f):!a||h!==p.day&&h!==p.week?a&&h===p.hour&&1<f?s.makeTime(m,r,g,_+u*f):e+h*f:s.makeTime(m,r,g+u*f*(h===p.day?1:7)),u++;l.push(e),h<=p.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return l.info=o(t,{higherRanks:c,totalRange:h*f}),l},e.prototype.getDateFormat=function(t,e,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(p[s]>t){s=a;break}if(o[s]&&r.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var l=this.resolveDTLFormat(i[s]).main;return l},e}()})),e(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){e=e.parse;var a=o.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.parse,r=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,i=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var r=0;r<t.length;r++){for(var a=e[r],s=t[r],l=[],c=0;c<s.length;c++){var d=a[c],u=s[c];o(d)&&o(u)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=d+n*(u-d):l[c]=u}i.push(l)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},t.prototype.run=function(e,n,i){var o=this,a=o.options,s=function(t){return!s.stopped&&o.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(c)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=i,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l(c)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,i=this.elem,r=n.complete,o=n.duration,s=n.curAnim;if(i.attr&&!i.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&r&&r.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function i(t,e){for(;t.length<p;){var n=t[0],i=e[p-t.length];i&&"M"===n[0]&&(t[0]="C"===i[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function r(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/c)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,c=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var d=t;break}if(a[0]===s[s.length-a.length+t]){d=t;var u=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){d=a.length-t;break}}void 0===d&&(e=[])}if(e.length&&o(d)){var p=n.length+d*c;u?(i(e,n),r(n,e)):(i(n,e),r(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function i(e,n){for(var i=t.timers.length;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}var r=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,c=e.merge,d=e.objectEach,u=e.pick;return{animate:function(e,n,r){var u,p,h,f="";if(!l(r)){var m=arguments;r={duration:m[2],easing:m[3],complete:m[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(n),d(n,(function(s,l){i(e,l),h=new t(e,r,l),p=void 0,"d"===l&&a(n.d)?(h.paths=h.initPath(e,e.pathArray,n.d),h.toD=n.d,u=0,p=1):e.attr?u=e.attr(l):(u=parseFloat(o(e,l))||0,"opacity"!==l&&(f="px")),p||(p=s),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),h.run(u,p,f)}))},animObject:n,getDeferredAnimation:function(t,e,i){var o=n(e),a=0,s=0;return(i?[i]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&r(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=u(t,e.options.chart.animation,!0)},stop:i}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,i=e.attr,r=e.createElement,o=e.error,a=e.isFunction,s=e.isString,l=e.objectEach,c=e.splat,d=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),u=d?d.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(u,"text/html")}catch(t){p=!1}return a=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,(function(n,i){var r=!0;-1===e.allowedAttributes.indexOf(i)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(r=s(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),r||(o("Highcharts warning: Invalid attribute '"+i+"' in config"),delete t[i])})),t},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(r){return function r(a,s){var d;return c(a).forEach((function(a){var c=a.tagName,u=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(c)if("#text"===c)var p=u;else if(-1!==e.allowedTags.indexOf(c)){c=t.doc.createElementNS("svg"===c?n:s.namespaceURI||n,c);var h=a.attributes||{};l(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(h[e]=t)})),i(c,e.filterUserAttributes(h)),u&&c.appendChild(u),r(a.children||[],c),p=c}else o("Highcharts warning: Invalid tagName "+c+" in config");p&&s.appendChild(p),d=p})),d}(this.nodes,r)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),p)t=(new DOMParser).parseFromString(d?d.createHTML(t):t,"text/html");else{var n=r("div");n.innerHTML=t,t={body:n}}var i=function(t,e){var n=t.nodeName.toLowerCase(),r={tagName:n};if("#text"===n&&(r.textContent=t.textContent||""),n=t.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),r.attributes=o}if(t.childNodes.length){var a=[];[].forEach.call(t.childNodes,(function(t){i(t,a)})),a.length&&(r.children=a)}e.push(r)};return[].forEach.call(t.body.childNodes,(function(t){return i(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=u,e}()})),e(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,r){t=+t||0,e=+e;var o=i.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),u=e;if(-1===e)e=Math.min(c,20);else if(a(e)){if(e&&d[1]&&0>d[1]){var p=e+ +d[1];0<=p?(d[0]=(+d[0]).toExponential(p).split("e")[0],e=p):(d[0]=d[0].split(".")[0]||0,t=20>e?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)}}else e=2;p=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var h=3<(c=String(l(p))).length?c.length%3:0;return n=s(n,o.decimalPoint),r=s(r,o.thousandsSep),t=(0>t?"-":"")+(h?c.substr(0,h)+r:""),t=0>+d[1]&&!u?"0":t+c.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=n+p.slice(-e)),d[1]&&0!=+t&&(t+="e"+d[1]),t}var i=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,d=/\.([0-9])/,u=i.lang,p=a&&a.time||r;a=a&&a.numberFormatter||n;for(var h=[];t;){var f=t.indexOf(s);if(-1===f)break;var m=t.slice(0,f);if(l){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"==typeof s)if(m=m.join(":"),c.test(m)){var g=parseInt((m.match(d)||["","-1"])[1],10);null!==s&&(s=a(s,g,u.decimalPoint,-1<m.indexOf(",")?u.thousandsSep:""))}else s=p.dateFormat(m,s);h.push(s)}else h.push(m);t=t.slice(f+1),s=(l=!l)?"}":"{"}return h.push(t),h.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,i=t.pick,r=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,l=e,c=l.reducedLen||o,d=function(t,e){return(e.rank||0)-(t.rank||0)},u=function(t,e){return t.target-e.target},p=!0,h=[],f=0;for(s=e.length;s--;)f+=e[s].size;if(f>c){for(r(e,d),f=s=0;f<=c;)f+=e[s].size,s++;h=e.splice(s-1,e.length)}for(r(e,u),e=e.map((function(t){return{size:t.size,targets:[t.target],align:i(t.align,.5)}}));p;){for(s=e.length;s--;)c=e[s],d=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(d-c.size*c.align,0,o-c.size);for(s=e.length,p=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),p=!0)}return l.push.apply(l,h),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)}))})),r(l,u),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=t.animate,a=t.animObject,s=t.stop,l=i.deg2rad,c=i.doc,d=i.noop,u=i.svg,p=i.SVG_NS,h=i.win,f=r.addEvent,m=r.attr,g=r.createElement,_=r.css,v=r.defined,b=r.erase,y=r.extend,x=r.fireEvent,w=r.isArray,O=r.isFunction,k=r.isNumber,C=r.isString,E=r.merge,S=r.objectEach,j=r.pick,$=r.pInt,A=r.syncTimeout,M=r.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=j(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var i,r,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||C(n))&&(this.alignTo=i=n||"renderer",b(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=j(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s),i=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===i?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(t.width||0))/r),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var i=this,r=a(j(e,this.renderer.globalAnimation,!0));return e=r.defer,j(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),A((function(){i.element&&o(i,t,r)}),e)):(this.attr(t,void 0,n),S(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&i.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var r=c.createElementNS(p,"tspan");m(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),r.appendChild(e)}));var o=c.createElementNS(p,"tspan");o.textContent="​",["x","y"].forEach((function(t){var n=e.getAttribute(t);n&&o.setAttribute(t,n)})),r.appendChild(o),e.insertBefore(r,e.firstChild)}},t.prototype.attr=function(t,e,n,i){var r,o,a,l=this.element,c=this.symbolCustomAttribs,d=this;if("string"==typeof t&&void 0!==e){var u=t;(t={})[u]=e}return"string"==typeof t?d=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(S(t,(function(e,n){o=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))}),this),this.afterSetters()),n&&n.call(this),d},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,i){var r,o,a,s,l,c,d,u,p,h,f,m=this.renderer,g=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=m.gradients,c=t.stops,p=i.radialReference,w(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&p&&!v(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(p,s),{gradientUnits:"userSpaceOnUse"})),S(a,(function(t,e){"id"!==e&&g.push(e,t)})),S(c,(function(t){g.push(t)})),g=g.join(","),l[g])h=l[g].attr("id");else{a.id=h=M();var _=l[g]=m.createElement(o).attr(a).add(m.defs);_.radAttr=s,_.stops=[],c.forEach((function(t){0===t[1].indexOf("rgba")?(r=n.parse(t[1]),d=r.get("rgb"),u=r.get("a")):(d=t[1],u=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":d,"stop-opacity":u}).add(_),_.stops.push(t)}))}f="url("+m.url+"#"+h+")",i.setAttribute(e,f),i.gradient=g,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,n={},i=this.element,r=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&S(t,(function(t,i){e&&e[i]!==t&&(n[i]=t,a=!0)})),a){if(e&&(t=y(e,n)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&t.width)var s=this.textWidth=$(t.width);if(this.styles=t,s&&!u&&this.renderer.forExport&&delete t.width,i.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};S(t,(function(t,e){-1===r.indexOf(e)&&(o+=e.replace(/([A-Z])/g,l)+":"+t+";")})),o&&m(i,"style",o)}else _(i,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+$(n[t])*j(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,i=e.ownerSVGElement,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&i){var o=t.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(i=0;i<t.stops.length;i++)t.stops[i].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&b(n.alignedObjects,t),S(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var n=t.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)n.appendChild(t[0]);n.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,n){w(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:j(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var i=this.renderer,r=this.element,o=this.styles,a=this.textStr,s=i.cache,c=i.cacheKeys,d=r.namespaceURI===this.SVG_NS;n=j(n,this.rotation,0);var u,p=i.styledMode?r&&t.prototype.getStyle.call(r,"font-size"):o&&o.fontSize;if(v(a)){var h=a.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",n,p,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(h&&!e&&(u=s[h]),!u){if(d||i.forExport){try{var f=this.fakeTS&&function(t){var e=r.querySelector(".highcharts-text-outline");e&&_(e,{display:t})};O(f)&&f("none"),u=r.getBBox?y({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},O(f)&&f("")}catch(t){}(!u||0>u.width)&&(u={width:0,height:0})}else u=this.htmlGetBBox();if(i.isSVG&&(e=u.width,i=u.height,d&&(u.height=i={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(i)]||i),n&&(d=n*l,u.width=Math.abs(i*Math.sin(d))+Math.abs(e*Math.cos(d)),u.height=Math.abs(i*Math.cos(d))+Math.abs(e*Math.sin(d)))),h&&(""===a||0<u.height)){for(;250<c.length;)delete s[c.shift()];s[h]||c.push(h),s[h]=u}}return u},t.prototype.getStyle=function(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(C(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,n){var i=this.element,r=this.text?this.text.element:i,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,l=!s;n=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=e.filterUserAttributes(n.attributes);if(t&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var u=s.element;if((n=t.element.getAttribute("id"))||t.element.setAttribute("id",n=M()),l)for(r.setAttribute("y",0),k(c.dx)&&r.setAttribute("x",-c.dx),t=[].slice.call(r.childNodes),l=0;l<t.length;l++){var p=t[l];p.nodeType!==h.Node.TEXT_NODE&&"tspan"!==p.nodeName||u.appendChild(p)}a&&s&&s.add({element:r}),u.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),v(c.dy)&&(u.parentNode.setAttribute("dy",c.dy),delete c.dy),v(c.dx)&&(u.parentNode.setAttribute("dx",c.dx),delete c.dx),S(c,(function(t,e){u.setAttribute(o[e]||e,t)})),i.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(i,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,n){var i,r=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?i=s:"object"==typeof t&&(i=y(s,t)),i&&(i&&a&&S(i,(function(t,e){t!==a[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=i),i){if(!this.shadows){var c=i.opacity/i.width,d=this.parentInverted?"translate("+i.offsetY+", "+i.offsetX+")":"translate("+i.offsetX+", "+i.offsetY+")";for(s=1;s<=i.width;s++){var u=o.cloneNode(!1),p=2*i.width+1-2*s;m(u,{stroke:t.color||"#000000","stroke-opacity":c*s,"stroke-width":p,transform:d,fill:"none"}),u.setAttribute("class",(u.getAttribute("class")||"")+" highcharts-shadow"),n&&(m(u,"height",Math.max(m(u,"height")-p,0)),u.cutHeight=p),e?e.element.appendChild(u):o.parentNode&&o.parentNode.insertBefore(u,o),r.push(u)}this.shadows=r}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,n,i){this[n]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===e&&this.hasStroke?(i.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=$(t);else if(""!==t){var n=c.createElementNS(p,"rect");m(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=j(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(j(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,i=this.rotation,r=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],v(r)&&a.push("matrix("+r.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):i&&a.push("rotate("+i+" "+j(this.rotationOriginX,o.getAttribute("x"),0)+" "+j(this.rotationOriginY,o.getAttribute("y")||0)+")"),(v(t)||v(e))&&a.push("scale("+j(t,1)+" "+j(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element;n=r===n.box;var a,s=!1,l=this.added;if(v(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):v(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!s;a--){l=(i=e[a]).getAttribute("data-z-index");var c=!v(l);i!==o&&(0>t&&c&&!n&&!a?(r.insertBefore(o,e[a]),s=!0):($(l)<=t||c&&(!v(t)||0<=t))&&(r.insertBefore(o,e[a+1]||null),s=!0))}s||(r.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(i,r,o){e.rendererTypes[i]=r,n&&!o||(n=i,t.Renderer=r)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,i,r,o,a,s,l,d,u){var p,h=e.call(this)||this;return h.paddingLeftSetter=h.paddingSetter,h.paddingRightSetter=h.paddingSetter,h.init(t,"g"),h.textStr=n,h.x=i,h.y=r,h.anchorX=a,h.anchorY=s,h.baseline=d,h.className=u,h.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&h.addClass("highcharts-"+u),h.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((p=/^url\((.*?)\)$/.test(o))||h.renderer.symbols[o])&&(h.symbolKey=o),h.bBox=c.emptyBBox,h.padding=3,h.baselineOffset=0,h.needsBox=t.styledMode||p,h.deferredAttr={},h.alignFactor=0,h}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var i="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():i&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:i(t)?t:"",x:this.x,y:this.y}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),e.x=n,e.y=(this.baseline?-this.baselineOffset:0)+n,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,i,o){var s=[];if(o){var l=o.start||0,c=a(o.r,n);n=a(o.r,i||n);var d=(o.end||0)-.001;i=o.innerR;var u=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),p=Math.cos(l),h=Math.sin(l),f=Math.cos(d),m=Math.sin(d);l=a(o.longArc,.001>d-l-Math.PI?0:1),s.push(["M",t+c*p,e+n*h],["A",c,n,0,l,a(o.clockwise,1),t+c*f,e+n*m]),r(i)&&s.push(u?["M",t+i*f,e+i*m]:["L",t+i*f,e+i*m],["A",i,i,0,l,r(o.clockwise)?1-o.clockwise:0,t+i*p,e+i*h]),u||s.push(["Z"])}return s}function n(t,e,n,r,o){return o&&o.r?i(t,e,n,r,o):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function i(t,e,n,i,r){return[["M",t+(r=r&&r.r||0),e],["L",t+n-r,e],["C",t+n,e,t+n,e,t+n,e+r],["L",t+n,e+i-r],["C",t+n,e+i,t+n,e+i,t+n-r,e+i],["L",t+r,e+i],["C",t,e+i,t,e+i,t,e+i-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,r,a){var s=Math.min(a&&a.r||0,n,r),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var d=i(t,e,n,r,{r:s});return o(c)?(t+c>=n?a>e+l&&a<e+r-l?d.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+r-s]):d.splice(3,1,["L",t+n,r/2],["L",c,a],["L",t+n,r/2],["L",t+n,e+r-s]):0>=t+c?a>e+l&&a<e+r-l?d.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):d.splice(7,1,["L",t,r/2],["L",c,a],["L",t,r/2],["L",t,e+s]):a&&a>r&&c>t+l&&c<t+n-l?d.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+s,e+r]):a&&0>a&&c>t+l&&c<t+n-l&&d.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",n-s,e]),d):d},circle:function(t,n,i,r){return e(t+i/2,n+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:n,roundedRect:i,square:n,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.doc,r=e.SVG_NS,o=e.win,a=n.attr,s=n.isString,l=n.objectEach,c=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,r=e.renderer,o=c(e.textStr,"").toString(),a=-1!==o.indexOf("<"),l=n.childNodes;r=this.width&&!e.added&&r.box;var d=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==e.textCache){for(e.textCache=d,delete e.actualWidth,d=l.length;d--;)n.removeChild(l[d]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(r&&r.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,i){t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(t,o){var c=t.textContent||"",d=c.replace(/([^\^])-/g,"$1- ").split(" "),u=!e.noWrap&&(1<d.length||1<n.element.childNodes.length),p=e.getLineHeight(o),h=0,f=n.actualWidth;if(e.ellipsis)c&&e.truncate(t,c,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(u){for(c=[],u=[];o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;d.length;)d.length&&!e.noWrap&&0<h&&(c.push(t.textContent||""),t.textContent=d.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,d,0===h&&f||0,l,(function(t,e){return d.slice(0,e).join(" ").replace(/- /g,"-")})),f=n.actualWidth,h++;u.forEach((function(e){o.insertBefore(e,t)})),c.forEach((function(e){o.insertBefore(i.createTextNode(e),t),(e=i.createElementNS(r,"tspan")).textContent="​",a(e,{dy:p,x:s}),o.insertBefore(e,t)}))}},d=function(t){[].slice.call(t.childNodes).forEach((function(e){e.nodeType===o.Node.TEXT_NODE?c(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),d(e))}))};d(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,n=function(i,r){var o=i.attributes;o=void 0===o?{}:o;var a=i.children,l=i.tagName,c=e.renderer.styledMode;"b"===l||"strong"===l?c?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==l&&"em"!==l||(c?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(o.class="highcharts-br",i.textContent="​",(r=t[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&a&&a.some((function(t){return"#text"===t.tagName}))&&(i.children=[{children:a,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(i.tagName="tspan"),i.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)};t.forEach(n)},e.prototype.truncate=function(t,e,n,i,r,o){var a,s=this.svgElement,l=s.renderer,c=s.rotation,d=[],u=n?1:0,p=(e||n||"").length,h=p,f=function(r,a){a=a||r;var c=t.parentNode;if(c&&void 0===d[a])if(c.getSubStringLength)try{d[a]=i+c.getSubStringLength(0,n?a+1:a)}catch(t){}else l.getSpanWidth&&(t.textContent=o(e||n,r),d[a]=i+l.getSpanWidth(s,t));return d[a]};s.rotation=0;var m=f(t.textContent.length);if(i+m>r){for(;u<=p;)h=Math.ceil((u+p)/2),n&&(a=o(n,h)),m=f(h,a&&a.length-1),u===p?u=p+1:m>r?p=h-1:u=h;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=a||o(e||n,h))}n&&n.splice(0,h),s.actualWidth=m,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return l(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))})),t},e}()})),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c,d=n.charts,u=n.deg2rad,p=n.doc,h=n.isFirefox,f=n.isMS,m=n.isWebKit,g=n.noop,_=n.SVG_NS,v=n.symbolSizes,b=n.win,y=l.addEvent,x=l.attr,w=l.createElement,O=l.css,k=l.defined,C=l.destroyObjectProperties,E=l.extend,S=l.isArray,j=l.isNumber,$=l.isObject,A=l.isString,M=l.merge,P=l.pick,T=l.pInt,D=l.uniqueKey;return n=function(){function n(t,e,n,i,r,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,i,r,o,a)}return n.prototype.init=function(t,e,n,i,r,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(i)),t.appendChild(c),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),h&&t.getBoundingClientRect&&((e=function(){O(t,{left:0,top:0}),s=t.getBoundingClientRect(),O(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=y(b,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((h||m)&&p.getElementsByTagName("base").length){if(!k(c)){var e=D();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),O(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=p.elementFromPoint(6,6);c="hitme"===(n&&n.id),p.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},n.prototype.button=function(e,n,i,r,o,a,s,l,c,d){var u=this.label(e,n,i,c,void 0,void 0,d,void 0,"button"),p=this.styledMode,h=0,m=o?M(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),u.attr(M({padding:8,r:2},m)),!p){var g=(m=M({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var _=(a=M(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var v=(s=M(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var b=(l=M(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||{}))).style;delete l.style}return y(u.element,f?"mouseover":"mouseenter",(function(){3!==h&&u.setState(1)})),y(u.element,f?"mouseout":"mouseleave",(function(){3!==h&&u.setState(h)})),u.setState=function(t){1!==t&&(u.state=h=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),p||u.attr([m,a,s,l][t||0]).css([g,_,v,b][t||0])},p||u.attr(m).css(E({cursor:"default"},g)),u.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==h&&r.call(u,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var i=t[0],r=t[1];return k(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-e%2/2),k(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return S(t)?e.d=t:$(t)&&E(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=$(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,i,r,o){return $(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},n.prototype.rect=function(t,e,n,i,r,o){r=$(t)?t.r:r;var a=this.createElement("rect");return t=$(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,n){a.r=t,x(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,i,r,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};j(e)&&(a.x=e),j(n)&&(a.y=n),j(i)&&(a.width=i),j(r)&&(a.height=r);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new b.Image,y(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,i,r,o){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),u=!c&&(this.symbols[t]?t:"circle"),h=u&&this.symbols[u];if(h){"number"==typeof e&&(a=h.call(this.symbols,Math.round(e||0),Math.round(n||0),i||0,r||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),E(f,{symbolName:u||void 0,x:e,y:n,width:i,height:r}),o&&E(f,o)}else if(c){var m=t.match(l)[1],g=f=this.image(m);g.imgwidth=P(v[m]&&v[m].width,o&&o.width),g.imgheight=P(v[m]&&v[m].height,o&&o.height);var _=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){var n=this["img"+e];this[e]=t,k(n)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,n),this.alignByTranslate||(t=((this[e]||0)-n)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),k(e)&&g.attr({x:e,y:n}),g.isImg=!0,k(g.imgwidth)&&k(g.imgheight)?_(g):(g.attr({width:0,height:0}),w("img",{onload:function(){var t=d[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),v[m]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&_(g),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,i){var r=D()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),n&&(r.y=Math.round(n)),k(t)&&(r.text=t),t=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a<r.length;a++)(i=r[a]).getAttribute(e)===o&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!b.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?T(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*u),4)),{x:-t/3*Math.sin(e*u),y:i}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)A(n[0])&&j(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,i,r,a,s,l,c){return new o(this,t,e,n,i,r,a,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),E(n.prototype,{Element:r,SVG_NS:_,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:g}),i.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,d=n.extend,u=n.pick,p=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,i=t.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=u(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var i=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=d(this.styles,t),l(this.element,t),i&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],d=this.styles;if(d=d&&d.whiteSpace,l(e,{marginLeft:n,marginTop:i}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:i+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var u=this.rotation,h=this.textWidth&&p(this.textWidth),f=[u,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,h!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:d||"nowrap"}),g=e.offsetWidth;(h>this.oldTextWidth||g>h)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>h||u?h+"px":"auto",display:"block",whiteSpace:d||"normal"}),this.oldTextWidth=h,m=!0)}this.hasBoxWidthChanged=m,f!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!c(u)||u===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(u,s,m),this.getSpanCorrection(!c(u)&&this.textPxLength||e.offsetWidth,m,s,u,a)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=u,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var i={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;c&&(i[c]=i.transform="rotate("+t+"deg)",i[c+(r?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",l(this.element,i))},e.composedClasses=[],e}(e)})),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.attr,a=i.createElement,s=i.extend,l=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.compose=function(t){return-1===i.composedClasses.indexOf(t)&&(i.composedClasses.push(t),t.prototype.html=i.prototype.html),t},i.prototype.html=function(n,i,r){var c=this.createElement("span"),d=c.element,u=c.renderer,p=u.isSVG,h=function(t,n){["opacity","visibility"].forEach((function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}})),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},p&&h(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),u.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),d.style.whiteSpace="nowrap",c.css=c.htmlCss,p&&(c.add=function(t){var e=u.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function r(e,n){t[n]=e,"translateX"===n?u.left=e+"px":u.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),d=t.styles||{},u=(i=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:d.cursor,pointerEvents:d.pointerEvents,visibility:t.visibility},i||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||h(t)}))}}else i=e;return i.appendChild(d),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},i.composedClasses=[],i}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.isFunction,r=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.deg2rad,r=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,d=n.isNumber,u=n.merge,p=n.objectEach,h=n.pick;return e=function(){function e(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,i=n.options,r=n.chart,s=n.categories,u=n.logarithmic,p=n.names,f=e.pos,m=h(e.options&&e.options.labels,i.labels),g=n.tickPositions,_=f===g[0],v=f===g[g.length-1],b=(!m.step||1===m.step)&&1===n.tickInterval;g=g.info;var y,x=e.label;if(s=this.parameters.category||(s?h(s[f],p[f],f):f),u&&d(s)&&(s=o(u.lin2log(s))),n.dateTime)if(g)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&g.higherRanks[f]||g.unitName]),O=w.main;else d(s)&&(O=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));e.isFirst=_,e.isLast=v;var k={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:_,isLast:v,pos:f,tick:e,tickPositionInfo:g,value:s};c(this,"labelFormat",k);var C=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=n.defaultLabelFormatter.call(e),t.format(m.format,e,r)):n.defaultLabelFormatter.call(e,e)};i=C.call(k,k);var E=w&&w.list;e.shortenLabel=E?function(){for(y=0;y<E.length;y++)if(l(k,{dateTimeLabelFormat:E[y]}),x.attr({text:C.call(k,k)}),x.getBBox().width<n.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,b&&n._addedPlotLB&&e.moveLabel(i,m),a(x)||e.movedLabel?x&&x.textStr!==i&&!b&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:i}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},i,m),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var i=this.axis,r=i.chart;return(t=a(e)&&n.enabled?r.renderer.text(e,t.x,t.y,n.useHTML).add(i.labelGroup):null)&&(r.styledMode||t.css(u(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,i){var a=this.axis,s=a.chart,l=i&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+n,null,null,i)+a.transB):a.left+a.offset+(a.opposite?(i&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):o(l-a.translate(e+n,null,null,i)-a.transB)}).y=r(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,r,o,s,l,d){var u=this.axis,p=u.transA,h=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,f=u.staggerLines,m=u.tickRotCorr||{x:0,y:0},g=r||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),_={},v=o.y;return a(v)||(v=0===u.side?n.rotation?-8:-n.getBBox().height:2===u.side?m.y+8:Math.cos(n.rotation*i)*(m.y-n.getBBox(!1,0).height/2)),t=t+o.x+g+m.x-(s&&r?s*p*(h?-1:1):0),e=e+v-(s&&!r?s*p*(h?1:-1):0),f&&(n=l/(d||1)%f,u.opposite&&(n=f-n-1),e+=u.labelOffset/f*n),_.x=t,_.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:_,tickmarkOffset:s,index:l}),_},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,i,r,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,r=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=h(e.labelLeft,Math.min(e.pos,a[3]));a=h(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var l,c=this.label,d=this.rotation,u={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],p=c.getBBox().width,f=e.getSlotWidth(this),m={},g=f,_=1;d||"justify"!==n.overflow?0>d&&r-u*p<s?l=Math.round(r/Math.cos(d*i)-s):0<d&&r+u*p>a&&(l=Math.round((o-r)/Math.cos(d*i))):(o=r+(1-u)*p,r-u*p<s?g=t.x+g*(1-u)-s:o>a&&(g=a-t.x+g*u,_=-1),(g=Math.min(f,g))<f&&"center"===e.labelAlign&&(t.x+=_*(f-g-u*(f-Math.min(p,g)))),(p>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},e.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=n.axis,o=r.reversed,a=!1;if(i&&i.textStr===t?(n.movedLabel=i,a=!0,delete n.label):p(r.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,n.movedLabel=n.createLabel({x:i,y:r},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=h(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var s=o.y;i=r&&a===i.pos+i.len||!r&&s===i.pos?-1:1,r=h(n,this.label&&this.label.newOpacity,1),n=h(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,r,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o={},a=this.pos,s=this.type,l=h(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,d=this.gridLine,u=r.gridLineWidth,p=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,p=r.minorGridLineColor,f=r.minorGridLineDashStyle),d||(i.chart.styledMode||(o.stroke=p,o["stroke-width"]=u||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=d=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),d&&(n=i.getPlotLinePath({value:a+l,lineWidth:d.strokeWidth()*n,force:"pass",old:t}))&&d[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=i.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=h(r["minor"!==a?"tickWidth":"minorTickWidth"],!a&&i.isXAxis?1:0);r=r["minor"!==a?"tickColor":"minorTickColor"];var d=this.mark,u=!d;s&&(i.opposite&&(s[0]=-s[0]),d||(this.mark=d=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||d.attr({stroke:r,"stroke-width":c})),d[u?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],d.strokeWidth()*n,i.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,c=l.step;r=h(this.tickmarkOffset,r.tickmarkOffset);var u=t.x;t=t.y;var p=!0;s&&d(u)&&(s.xy=t=this.getLabelPosition(u,t,s,o,l,r,i,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?p=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(p=!1),p&&d(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=t.animObject,c=i.defaultOptions,d=r.registerEventOptions,u=o.deg2rad,p=s.arrayMax,h=s.arrayMin,f=s.clamp,m=s.correctFloat,g=s.defined,_=s.destroyObjectProperties,v=s.erase,b=s.error,y=s.extend,x=s.fireEvent,w=s.getMagnitude,O=s.isArray,k=s.isNumber,C=s.isString,E=s.merge,S=s.normalizeTickInterval,j=s.objectEach,$=s.pick,A=s.relativeLength,M=s.removeEvent,P=s.splat,T=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=$(e.opposite,this.opposite),this.side=$(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var i=this.options,r=i.labels,o=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=$(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===o||!0===i.categories,this.categories=i.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=$(i.crosshair,P(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(r.rotation)?r.rotation:void 0,d(this,i),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(c[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=k(this.value)?this.value:NaN,i=e.chart.time,r=this.dateTimeLabelFormat,o=c.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var d=""+this.value;else if(r)d=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===d;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(d=t(n/e,-1)+a[l]);return void 0===d&&(d=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),d},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;k(a)||a instanceof Date||(r=r.filter(k),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min($(e.dataMin,a),a),e.dataMax=Math.max($(e.dataMax,s),s))}}else i=i.applyExtremes(),k(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min($(e.dataMin,a),a)),k(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max($(e.dataMax,s),s)),g(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=i&&a.old?a.old.min:a.min,l=a.minPixelPadding;r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val;var c=1,d=0;return(i=i&&a.old?a.old.transA:a.transA)||(i=a.transA),n&&(c*=-1,d=a.len),a.reversed&&(d-=(c*=-1)*(a.sector||a.len)),e?(t=(t*c+d-l)/i+s,r&&(t=a.lin2val(t))):(r&&(t=a.val2lin(t)),t=k(s)?c*(t-s)*i+d+c*l+(k(o)?i*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==b&&t<e||t>n)&&(b?t=f(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,c=s.left,d=s.top,u=t.old,p=t.value,h=t.lineWidth,m=u&&l.oldChartHeight||l.chartHeight,g=u&&l.oldChartWidth||l.chartWidth,_=s.transB,v=t.translatedValue,b=t.force;return t={value:p,lineWidth:h,old:u,force:b,acrossPanes:t.acrossPanes,translatedValue:v},x(this,"getPlotLinePath",t,(function(t){v=$(v,s.translate(p,null,null,u)),v=f(v,-1e5,1e5),n=r=Math.round(v+_),i=o=Math.round(m-v-_),k(v)?s.horiz?(i=d,o=m-s.bottom,n=r=e(n,c,c+s.width)):(n=c,r=g-s.right,i=o=e(i,d,d+s.height)):(a=!0,b=!1),t.path=a&&!b?null:l.renderer.crispLine([["M",n,i],["L",r,o]],h||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=m(Math.floor(e/t)*t);n=m(Math.ceil(n/t)*t);var r,o=[];if(m(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=m(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?$(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r,a=[];if(o&&o/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,i){e&&a.push.apply(a,s.getLogTickPositions(n,i[e-1],i[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,i,t.startOfWeek));else for(t=r+(e[0]-r)%n;t<=i&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,i,r=this.options,o=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!o&&(g(r.min)||g(r.max)||g(r.floor)||g(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,i=r.xIncrement?1:n.length-1,1<n.length)for(t=i;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,u=(d-s+a)/2;u=[a-u,$(r.min,a-u)],c&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=p(u))+d,$(r.max,a+d)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=h(s))-a<d&&(u[0]=s-d,u[1]=$(r.min,s-d),a=p(u))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,i=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(n)&&i&&(t=g(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=O(this.categories),n=e?this.categories:this.names,i=t.options.x;if(t.series.requireSorting=!1,g(i)||(i=this.options.uniqueNames?e?n.indexOf(t.name):$(n.keys[t.name],-1):t.series.autoIncrement()),-1===i){if(!e)var r=n.length}else r=i;return void 0!==r&&(this.names[r]=t.name,this.names.keys[t.name]=r),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){if(n&&n.options&&void 0!==n.name){var r=t.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,e.xData[i]=r)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,i=!!t.categories,r=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,l=t.transA;if(r||i||o){var c=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=i?1:r?$(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;o=Math.max(o,n),t.single&&!i||(e=e.is("xrange")?!r:r,a=Math.max(a,e&&C(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(o,t.single&&i?1:e),r&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,i=this.options,r=this.isXAxis,o=this.isLinked,a=i.tickPixelInterval,s=this.categories,l=this.softThreshold,c=i.maxPadding,d=i.minPadding,u=k(i.tickInterval)&&0<=i.tickInterval?i.tickInterval:void 0,p=k(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var h=$(this.userMin,i.min),f=$(this.userMax,i.max);if(o){this.linkedParent=e[this.coll][i.linkedTo];var _=this.linkedParent.getExtremes();this.min=$(_.min,_.dataMin),this.max=$(_.max,_.dataMax),i.type!==this.linkedParent.options.type&&b(11,1,e)}else{if(l&&g(p))if(this.dataMin>=p)_=p,d=0;else if(this.dataMax<=p){var v=p;c=0}this.min=$(h,_,this.dataMin),this.max=$(f,v,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,$(this.dataMin,this.min))&&b(10,1,e),this.min=m(n.log2lin(this.min),16),this.max=m(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=h=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(h)&&d&&(this.min-=e*d),!g(f)&&c&&(this.max+=e*c)),k(this.userMin)||(k(i.softMin)&&i.softMin<this.min&&(this.min=h=i.softMin),k(i.floor)&&(this.min=Math.max(this.min,i.floor))),k(this.userMax)||(k(i.softMax)&&i.softMax>this.max&&(this.max=f=i.softMax),k(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&g(this.dataMin)&&(p=p||0,!g(h)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!g(f)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),k(this.min)&&k(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!u&&a===this.linkedParent.options.tickPixelInterval?u=this.linkedParent.tickInterval:$(u,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),r&&!t){var y=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(y)})),x(this,"postProcessData",{hasExtemesChanged:y})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!u&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=$(i.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!u&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||u||(this.tickInterval=S(this.tickInterval,void 0,w(this.tickInterval),$(i.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),i=this.hasVerticalPanning(),r="colorAxis"===this.coll,o=(r||!i)&&t.startOnTick;i=(r||!i)&&t.endOnTick,r=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(n=[this.min,this.max],b(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,o,i),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&g(i)&&!this.options.tickPositions&&t.push((r+i)/2)}},t.prototype.alignToOthers=function(){var t,e={},n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(n){var i=n.options;i=[n.horiz?i.left:i.top,i.width,i.height,i.pane].join(),n.series.length&&(e[i]?t=!0:e[i]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!g(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,n=this.tickPositions,i=this.tickAmount,r=this.finalTickAmt,o=n&&n.length,a=$(this.threshold,this.softThreshold?0:null);if(this.hasData()&&k(this.min)&&k(this.max)){if(o<i){for(;n.length<i;)n.length%2||this.min===a?n.push(m(n[n.length-1]+e)):n.unshift(m(n[0]-e));this.transA*=(o-1)/(i-1),this.min=t.startOnTick?n[0]:Math.min(this.min,n[0]),this.max=t.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else o>i&&(this.tickInterval*=2,this.setTickPositions());if(g(r)){for(e=t=n.length;e--;)(3===r&&1==e%2||2>=r&&0<e&&e<t-1)&&n.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,i,r){var o=this,a=o.chart;n=$(n,!0),o.series.forEach((function(t){delete t.kdTree})),r=y(r,{min:t,max:e}),x(o,"setExtremes",r,(function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)}))},t.prototype.zoom=function(t,e){var n=this,i=this.dataMin,r=this.dataMax,o=this.options,a=Math.min(i,$(o.min,i)),s=Math.max(r,$(o.max,r));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===n.min&&o===n.max||(n.allowZoomOutside||(g(i)&&(e<a&&(e=a),e>s&&(e=s)),g(r)&&(o<a&&(o=a),o>s&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(A($(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(A($(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(A($(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A($(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=($(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=$(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=e["tick"===t?"tickLength":"minorTickLength"];if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return x(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n=this.options.labels,i=this.horiz,r=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/r),a=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*r>l&&1/0!==t&&1/0!==o&&l&&(e=Math.ceil(l/r)),m(e*r)},d=r,p=Number.MAX_VALUE;if(i){if(!n.staggerLines&&!n.step)if(k(a))var h=[a];else o<n.autoRotationLimit&&(h=n.autoRotation);h&&h.forEach((function(n){if(n===a||n&&-90<=n&&90>=n){var i=(e=c(Math.abs(s.h/Math.sin(u*n))))+Math.abs(n/360);i<p&&(p=i,t=n,d=e)}}))}else n.step||(d=c(s.h));return this.autoRotation=h,this.labelRotation=$(t,k(a)?a:0),d},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&k(t.slotWidth))return t.slotWidth;if(n&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(t=i.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},d=this.labelMetrics(),u=o.textOverflow,p=0;if(C(r.rotation)||(c.rotation=r.rotation||0),n.forEach((function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>d.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var h=l;if(!u){var f="clip";for(l=n.length;!a&&l--;){var m=n[l];(m=i[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/n.length-(d.h-d.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(h=p>.5*t.chartHeight?.33*t.chartHeight:p,u||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():h&&!n&&"nowrap"!==o.whiteSpace&&(h<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=h+"px",u||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)}),this),this.tickRotCorr=e.rotCorr(d.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,i=e.horiz,r=e.options,o=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,c=e.axisParent,d=n.renderer,u=n.inverted&&!e.isZAxis?[1,0,3,2][o]:o,p=e.hasData(),h=r.title,f=r.labels,m=n.axisOffset;n=n.clipOffset;var _,v=[-1,1,1,-1][o],b=r.className,y=0,w=0,O=0;if(e.showAxis=_=p||r.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var k=function(e,n,i){return d.g(e).attr({zIndex:i}).addClass("highcharts-"+l.toLowerCase()+n+" "+(t.isRadial?"highcharts-radial-axis"+n+" ":"")+(b||"")).add(c)};e.gridGroup=k("grid","-grid",r.gridZIndex),e.axisGroup=k("axis","",r.zIndex),e.labelGroup=k("axis-labels","-labels",f.zIndex)}if(p||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,$(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){O=Math.max(a[t].getLabelSize(),O)})),e.staggerLines&&(O*=e.staggerLines),e.labelOffset=O*(e.opposite?-1:1)):j(a,(function(t,e){t.destroy(),delete a[e]})),h&&h.text&&!1!==h.enabled&&(e.addTitle(_),_&&!1!==h.reserveSpace)){e.titleOffset=y=e.axisTitle.getBBox()[i?"height":"width"];var C=h.offset;w=g(C)?0:$(h.margin,i?5:10)}e.renderLine(),e.offset=v*$(r.offset,m[o]?m[o]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},h=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,p=Math.abs(O)+w,O&&(p=p-h+v*(i?$(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=$(C,p),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(i=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+y+v*e.offset,p,s&&s.length&&i?i[0]+v*e.offset:0),r=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],r)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i;return i=e.chartHeight-this.bottom-(n?this.height:0)+i,n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?i:this.top],["L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x,c=r.y,d=this.axisTitle,u=this.chart.renderer.fontMetrics(r.style.fontSize,d);return d=Math.max(d.getBBox(null,0).height-u.h-1,0),i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-d,d,u.f,-d][this.side],t={x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+c-(a?this.height:0)+s:i+c},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var i=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new a(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,i=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,d=n.tickPositions,u=n.axisTitle,p=n.ticks,h=n.minorTicks,f=n.alternateBands,m=s.stackLabels,g=s.alternateGridColor,_=n.tickmarkOffset,v=n.axisLine,b=n.showAxis,y=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,h,f].forEach((function(t){j(t,(function(t){t.isActive=!1}))})),n.hasData()||c){var w=n.chart.hasRendered&&n.old&&k(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,w)})),d.length&&(d.forEach((function(t,e){n.renderTick(t,e,w)})),_&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new a(n,-1,null,!0)),p[-1].render(-1))),g&&d.forEach((function(a,s){e=void 0!==d[s+1]?d[s+1]+_:n.max-_,0==s%2&&a<n.max&&e<=n.max+(i.polar?-_:_)&&(f[a]||(f[a]=new o.PlotLineOrBand(n)),t=a+_,f[a].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},f[a].render(),f[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[p,h,f].forEach((function(t){var e=[],n=y.duration;j(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),T((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==f&&i.hasRendered&&n?n:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[b?"show":"hide"](b)),u&&b&&(s=n.getTitlePosition(),k(s.y)?(u[u.isNew?"attr":"animate"](s),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0)),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){_(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();j(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i},t.prototype.drawCrosshair=function(t,e){var i,r=this.crosshair,o=$(r&&r.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),r&&!1!==(g(e)||!o)){if(o?g(e)&&(i=$("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(i)){var l={value:e&&(this.isXAxis?e.x:$(e.stackY,e.y)),translatedValue:i};a.polar&&y(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(r.className||"")).attr({zIndex:$(r.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:r.color||(o?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":$(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),o&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return k(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,$(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);v(e.axes,this),v(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,$(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=o[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=o[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+o[n[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=r(t/s,l,"year"===e[0]?Math.max(i(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis;return n.closestPointRange?n.chart.time.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new l(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,a){var s=this.axis,l=s.len,c=s.options,d=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),d=s.getLinearTickPositions(t,e,n);else if(.08<=t){var u,p=Math.floor(e),h=c=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<n+1&&!h;p++){var f=l.length;for(u=0;u<f&&!h;u++){var m=this.log2lin(this.lin2log(p)*l[u]);m>e&&(!a||c<=n)&&void 0!==c&&d.push(c),c>n&&(h=!0),c=m}}}else e=this.lin2log(e),n=this.lin2log(n),t=a?s.getMinorTickInterval():c.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,c.tickPixelInterval/(a?5:1)*(n-e)/((a?l/s.tickPositions.length:l)||1)),t=r(t,void 0,i(t)),d=s.getLinearTickPositions(t,e,n).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),d},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,i=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),i(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&i){if(e){var s=t.toString()===i.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],d=i[e],u=i[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==u[0]&&"L"!==u[0]||(a&&d[1]===l[1]?(d[1]+=n,u[1]+=n):a||d[2]!==l[2]||(d[2]+=n,u[2]+=n),o.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",u[1],u[2]],["L",d[1],d[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var i=this,r=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),n){var a=r[n]||[];a.push(t),r[n]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,i=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,c=e.objectEach,d=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,i=e.logarithmic,o=t.options,a=o.color,u=d(o.zIndex,0),p=o.events,h={},f=e.chart.renderer,m=o.label,g=t.label,_=o.to,v=o.from,b=o.value,y=t.svgElem,x=[],w=r(v)&&r(_);x=r(b);var O=!y,k={class:"highcharts-plot-"+(w?"band ":"line ")+(o.className||"")},C=w?"bands":"lines";if(i&&(v=i.log2lin(v),_=i.log2lin(_),b=i.log2lin(b)),e.chart.styledMode||(x?(k.stroke=a||"#999999",k["stroke-width"]=d(o.width,1),o.dashStyle&&(k.dashstyle=o.dashStyle)):w&&(k.fill=a||"#e6ebf5",o.borderWidth&&(k.stroke=o.borderColor,k["stroke-width"]=o.borderWidth))),h.zIndex=u,C+="-"+u,(i=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=i=f.g("plot-"+C).attr(h).add()),O&&(t.svgElem=y=f.path().attr(k).add(i)),x)x=e.getPlotLinePath({value:b,lineWidth:y.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!w)return;x=e.getPlotBandPath(v,_,o)}return!t.eventsAdded&&p&&(c(p,(function(e,n){y.on(n,(function(e){p[n].apply(t,[e])}))})),t.eventsAdded=!0),(O||!y.d)&&x&&x.length?y.attr({d:x}):y&&(x?(y.show(!0),y.animate({d:x})):y.d&&(y.hide(),g&&(t.label=g=g.destroy()))),m&&(r(m.text)||r(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=l({align:n&&w&&"center",x:n?!w&&4:10,verticalAlign:!n&&w&&"middle",y:n?w?16:10:w?6:-4,rotation:n&&!w&&90},m),this.renderLabel(m,x,w,u)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,r,o){var a=this.axis,s=a.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],r=i(o),s=i(e),c.align(t,!1,{x:r,y:s,width:n(o)-r,height:n(e)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?a.height-(c.alignAttr.y-a.top):a.width-(c.alignAttr.x-a.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=t.format,a=e.doc,s=n.distribute,l=r.addEvent,c=r.clamp,d=r.css,u=r.defined,p=r.discardElement,h=r.extend,f=r.fireEvent,m=r.isArray,g=r.isNumber,_=r.isString,v=r.merge,b=r.pick,y=r.splat,x=r.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||y(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n,i,r=this.chart,o=r.pointer,a=r.inverted,s=r.plotTop,l=r.plotLeft,c=0,d=0;return t=y(t),this.followPointer&&e?(void 0===e.chartX&&(e=o.normalize(e)),o=[e.chartX-l,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){n=t.series.yAxis,i=t.series.xAxis,c+=t.plotX||0,d+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,i&&n&&(a?(c+=s+r.plotHeight-i.len-i.pos,d+=l+r.plotWidth-n.len-n.pos):(c+=i.pos-l,d+=n.pos-s))})),c/=t.length,d/=t.length,o=[a?r.plotWidth-d:c,a?r.plotHeight-c:d],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-l:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,n=this,r=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(u(o.className)?" "+o.className:""),c=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),p=function(){n.inContact=!0},h=function(t){var e=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!n.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(n.label){var m=!n.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&n.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var g=i.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",d(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),l(t,"mouseenter",p),l(t,"mouseleave",h),e.doc.body.appendChild(t),this.renderer=f=new g(t,0,0,m,void 0,void 0,f.styledMode)}if(a?this.label=f.g(s):(this.label=f.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:c}).shadow(o.shadow)),r&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var _=this.label,v=_.xSetter,b=_.ySetter;_.xSetter=function(e){v.call(_,n.distance),t.style.left=e+"px"},_.ySetter=function(e){b.call(_,n.distance),t.style.top=e+"px"}}this.label.on("mouseenter",p).on("mouseleave",h).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var i,r=this.chart,o=this.distance,s={},l=r.inverted&&n.h||0,c=this.outside,d=c?a.documentElement.clientWidth-2*o:r.chartWidth,u=c?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):r.chartHeight,p=r.pointer.getChartPosition(),h=function(i){var a="x"===i;return[i,a?d:u,a?t:e].concat(c?[a?t*p.scaleX:e*p.scaleY,a?p.left-o+(n.plotX+r.plotLeft)*p.scaleX:p.top-o+(n.plotY+r.plotTop)*p.scaleY,0,a?d:u]:[a?t:e,a?n.plotX+r.plotLeft:n.plotY+r.plotTop,a?r.plotLeft:r.plotTop,a?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=h("y"),m=h("x");h=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(h=!h);var g=!this.followPointer&&b(n.ttBelow,!r.inverted===h),_=function(t,e,n,i,r,a,d){var u=c?"y"===t?o*p.scaleY:o*p.scaleX:o,h=(n-i)/2,f=i<r-o,m=r+o+i<e,_=r-u-n+h;if(r=r+u-h,g&&m)s[t]=r;else if(!g&&f)s[t]=_;else if(f)s[t]=Math.min(d-i,0>_-l?_:_-l);else{if(!m)return!1;s[t]=Math.max(a,r+l+n>e?r:r+l)}},v=function(t,e,n,i,r){var a;return r<o||r>e-o?a=!1:s[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2,a},y=function(t){var e=f;f=m,m=e,i=t},x=function(){!1!==_.apply(0,f)?!1!==v.apply(0,m)||i||(y(!0),x()):i?s.x=s.y=0:(y(!0),x())};return(r.inverted||1<this.len)&&y(),x(),s},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=b(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=b(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,n,i){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=o.followPointer||1<o.len;h(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+i)/2:i}),o.getLabel().attr(a),o.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,n,i)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,i=this.options,o=y(t),a=o[0],s=[],l=i.formatter||this.defaultFormatter,c=this.shared,d=n.styledMode,u={};if(i.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var p=(t=this.getAnchor(t,e))[0],h=t[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(u={x:a.category,y:a.y}).points=s):u=a.getLabelConfig(),this.len=s.length,l=l.call(u,this),c=a.series,this.distance=b(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,o);else{var g=p,_=h;if(e&&n.pointer.isDirectTouch&&(g=e.chartX-n.plotLeft,_=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(g,_)})))return void this.hide();e=this.getLabel(),i.style.width&&!d||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+b(a.colorIndex,c.colorIndex)),d||e.attr({stroke:i.borderColor||a.color||c.color||"#666666"}),this.updatePosition({plotX:p,plotY:h,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,r,o){return void 0===o&&(o=!0),n?(e=$?0:T,t=c(t-r/2,E.left,E.right-r-(i.outside?A:0))):(e-=M,t=c(t=o?t-r-O:t+O,o?t:E.left,E.right)),{x:t,y:e}}var i=this,r=i.chart,o=i.chart,l=o.chartWidth,d=o.chartHeight,u=o.plotHeight,p=o.plotLeft,f=o.plotTop,m=o.pointer,g=o.scrollablePixelsY;g=void 0===g?0:g;var v=o.scrollablePixelsX,y=o.scrollingContainer,x=(y=void 0===y?{scrollLeft:0,scrollTop:0}:y).scrollLeft;y=y.scrollTop;var w=o.styledMode,O=i.distance,k=i.options,C=i.options.positioner,E=i.outside&&"number"!=typeof v?a.documentElement.getBoundingClientRect():{left:x,right:x+l,top:y,bottom:y+d},S=i.getLabel(),j=this.renderer||r.renderer,$=!(!r.xAxis[0]||!r.xAxis[0].opposite),A=(r=m.getChartPosition()).left;r=r.top;var M=f+y,P=0,T=u-g;_(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,r,o){if(!1!==r&&""!==r){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:u,series:{}}).isHeader,s=a?i:o.series;r=r.toString();var l=s.tt,d=o.isHeader,h=o.series,m="highcharts-color-"+b(o.colorIndex,h.colorIndex,"none");if(l||(l={padding:k.padding,r:k.borderRadius},w||(l.fill=k.backgroundColor,l["stroke-width"]=k.borderWidth),l=j.label("",0,0,k[d?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(l).add(S)),l.isActive=!0,l.attr({text:r}),w||l.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||o.color||h.color||"#333333"}),r=(d=(s=s.tt=l).getBBox()).width+s.strokeWidth(),a&&(P=d.height,T+=P,$&&(M-=P)),h=void 0===(h=o.plotX)?0:h,m=void 0===(m=o.plotY)?0:m,l=o.series,o.isHeader){h=p+h;var g=f+u/2}else{var _=l.xAxis,v=l.yAxis;h=_.pos+c(h,-O,_.len+O),l.shouldShowTooltip(0,v.pos-f+m,{ignoreX:!0})&&(g=v.pos+m)}h=c(h,E.left-O,E.right+O),"number"==typeof g?(d=d.height+1,m=C?C.call(i,r,d,o):n(h,g,a,r),t.push({align:C?0:void 0,anchorX:h,anchorY:g,boxWidth:r,point:o,rank:b(m.rank,a?1:0),size:d,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(i.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return h(t,{target:e.y,x:e.x})}))),i.cleanSplit(),s(t,T);var D=A,L=A;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(i.outside&&A+e<D&&(D=A+e),!t&&i.outside&&D+n>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:r+M,anchorX:n,anchorY:t.anchorY},i.outside&&e<n){var a=A-D;0<a&&(o||(r.x=e+a,r.anchorX=n+a),o&&(r.x=(L-D)/2,r.anchorX=n+a))}t.tt.attr(r)})),t=i.container,g=i.renderer,i.outside&&t&&g&&(o=S.getBBox(),g.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=D+"px",t.style.top=r+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var i={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,i.x=Math.min(0,n[0]),i.y=Math.min(0,n[1]),i.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,i=n.tooltipOptions,r=n.xAxis,a=r&&r.dateTime;r={isFooter:e,labelConfig:t};var s=i.xDateFormat,l=i[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",r,(function(e){a&&!s&&g(t.key)&&(s=a.getXDateFormat(t.key,i.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)})),r.text},t.prototype.update=function(t){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,v(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,i=e.pointer,r=this.getLabel();i=i.getChartPosition();var o=(n.positioner||this.getPosition).call(this,r.width,r.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(r.width+n,r.height+n,!1),1===i.scaleX&&1===i.scaleY||(d(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),a*=i.scaleX,t*=i.scaleY),a+=i.left-o.x,t+=i.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=e.animObject,a=n.defaultOptions,s=i.format,l=r.addEvent,c=r.defined,d=r.erase,u=r.extend,p=r.fireEvent,h=r.getNestedProperty,f=r.isArray,m=r.isFunction,g=r.isNumber,_=r.isObject,v=r.merge,b=r.objectEach,y=r.pick,x=r.syncTimeout,w=r.removeEvent,O=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(u({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return t=e.prototype.optionsToObject.call(this,t),u(this,t),this.options=this.options?u(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=y(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:g(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[r]=null}var e=this,n=e.series,i=n.chart;n=n.options.dataSorting;var r,a=i.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),a&&(e.setState(),d(a,e),a.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),i.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&i.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(i,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,i=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelUpper","connector"),e=i.length;e--;){var o=i[e];n[o]&&r.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var i=e+"s";t[e]&&n[i]&&r.plural.push(i)})),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?h(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,i=0;for(n=e[i];this[t]>=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:O(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a={},s=0,l=0;if(g(t)||null===t)a[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<o;)i&&void 0===t[s]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],r[l]):a[r[l]]=t[s]),s++,l++;else"object"==typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var i=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(i=t.color),e=t.colorIndex;this.colorIndex=y(this.options.colorIndex,e),this.color=y(this.options.color,i)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,i,r){return t[n]=r.length-1===i?e:_(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,i=y(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,i){function r(){a.applyOptions(t);var i=l&&a.hasDummyGraphic;i=null===a.y?!i:i,l&&i&&(a.graphic=l.destroy(),delete a.hasDummyGraphic),_(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),d.data[o]=_(d.data[o],!0)||_(t,!0)?a.options:y(t,d.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===d.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(n)}var o,a=this,s=a.series,l=a.graphic,c=s.chart,d=s.options;e=y(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,i=n.series,r=i.chart;this.selectedStaging=t=y(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=v(t.series.options.point,t.options).events;t.events=e,b(e,(function(e,n){m(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var i,r=this.series,o=this.state,s=r.options.states[e||"normal"]||{},l=a.plotOptions[r.type].marker&&r.options.marker,c=l&&!1===l.enabled,d=l&&l.states&&l.states[e||"normal"]||{},h=!1===d.enabled,f=this.marker||{},m=r.chart,_=l&&r.markerAttribs,v=r.halo,b=r.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(h||c&&!1===d.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,_&&(i=r.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=r.pointAttribs(this,e),w=y(m.options.chart.animation,s.animation);r.options.inactiveOtherPoints&&g(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},w)})),this.connector&&this.connector.animate({opacity:x.opacity},w)),this.graphic.animate(x,w)}i&&this.graphic.animate(i,y(m.options.chart.animation,d.animation,l.animation)),b&&b.hide()}else e&&d&&(o=f.symbol||r.symbol,b&&b.currentSymbol!==o&&(b=b.destroy()),i&&(b?b[n?"animate":"attr"]({x:i.x,y:i.y}):o&&(r.stateMarkerGraphic=b=m.renderer.symbol(o,i.x,i.y,i.width,i.height).add(r.markerGroup),b.currentSymbol=o)),!m.styledMode&&b&&"inactive"!==this.state&&b.attr(r.pointAttribs(this,e))),b&&(b[e&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));s=s.halo,i=(b=this.graphic||b)&&b.visibility||"inherit",s&&s.size&&b&&"hidden"!==i&&!this.isCluster?(v||(r.halo=v=m.renderer.path().add(b.parentGroup)),v.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),v.attr({class:"highcharts-halo highcharts-color-"+y(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),v.point=this,m.styledMode||v.attr(u({fill:this.color||r.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),p(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=e.charts,a=e.noop,s=i.addEvent,l=i.attr,c=i.css,d=i.defined,u=i.extend,p=i.find,h=i.fireEvent,f=i.isNumber,m=i.isObject,g=i.objectEach,_=i.offset,v=i.pick,b=i.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),g(n,(function(t,e){n[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,i=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,l=e.plotWidth,c=e.plotHeight,d=this.mouseDownX||0,u=this.mouseDownY||0,p=m(n.panning)?n.panning&&n.panning.enabled:n.panning,h=n.panKey&&t[n.panKey+"Key"],f=t.chartX,g=t.chartY,_=this.selectionMarker;if((!_||!_.touch)&&(f<a?f=a:f>a+l&&(f=a+l),g<s?g=s:g>s+c&&(g=s+c),this.hasDragged=Math.sqrt(Math.pow(d-f,2)+Math.pow(u-g,2)),10<this.hasDragged)){var v=e.isInsidePlot(d-a,u-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!v||h||_||(this.selectionMarker=_=e.renderer.rect(a,s,i?1:l,o?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||_.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),_&&i&&(i=f-d,_.attr({width:Math.abs(i),x:(0<i?0:i)+d})),_&&o&&(i=g-u,_.attr({height:Math.abs(i),y:(0<i?0:i)+u})),v&&!_&&p&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,o=r.attr?r.attr("x"):r.x,a=r.attr?r.attr("y"):r.y,s=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,p={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:l},m=!!n.mapView;(this.hasDragged||i)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&d(n.min)&&(i||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&f(o)&&f(a)){var r=n.horiz,c="touchend"===t.type?n.minPixelPadding:0,u=n.toValue((r?o:a)+c);r=n.toValue((r?o+s:a+l)-c),p[n.coll].push({axis:n,min:Math.min(u,r),max:Math.max(u,r)}),m=!0}})),m&&h(n,"selection",p,(function(t){n.zoom(u(t,i?{animation:!1}:null))}))),f(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),i&&this.scaleGroups()}n&&f(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var i,r=this.chart,o=r.hoverPoint;return r=r.tooltip,o&&r&&r.isStickyOnContact()?o:(t.forEach((function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=m(t,!0)&&t.series)&&!(r=!m(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)})),i)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=t.shapeArgs;if(i&&n){var o=v(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,a=r.y),e?{chartX:n.len+n.pos-a,chartY:i.len+i.pos-o}:{chartX:o+i.pos,chartY:a+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=_(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,i,r,o){var a=[];i=!(!i||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};h(this,"beforeGetHoverData",s);var l=e&&!e.stickyTracking?[e]:n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking})),c=i||!o?t:this.findNearestKDPoint(l,r,o);return e=c&&c.series,c&&(r&&!e.noSharedTooltip?(l=n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=p(t.points,(function(t){return t.x===c.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(c)),h(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,i=n?n.length?n.item(0):v(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=i.pageX-e.left,i=i.pageY-e.top,n/=e.scaleX,i/=e.scaleY,u(t,{chartX:Math.round(n),chartY:Math.round(i)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var i=e.plotLeft,r=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(h(n.series,"click",u(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(u(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r,{visiblePlotOnly:!0})&&h(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=o[v(t.hoverChartIndex,-1)],i=this.chart.tooltip;i&&i.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=o[v(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var i=e.tooltip;!n||i&&i.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=o[v(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,i=e.pinchDown,r=t.touches||[],o=r.length,s=e.lastValidTouch,l=e.hasZoom,c={},d=1===o&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),p={},f=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!d&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(r,(function(t,e){i[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],i=t.minPixelPadding,r=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),a=Math.max(r,o);e.min=Math.min(t.pos,Math.min(r,o)-i),e.max=Math.max(t.pos+t.len,a+i)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):i.length&&(h(n,"touchpan",{originalEvent:t},(function(){f||(e.selectionMarker=f=u({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(i,r,c,f,p,s),e.hasPinched=l,e.scaleGroups(c,p)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},t.prototype.pinchTranslateDirection=function(t,e,n,i,r,o,a,s){var l=this.chart,c=t?"x":"y",d=t?"X":"Y",u="chart"+d,p=t?"width":"height",h=l["plot"+(t?"Left":"Top")],f=l.inverted,m=l.bounds[t?"h":"v"],g=1===e.length,_=e[0][u],v=!g&&e[1][u];e=function(){"number"==typeof O&&20<Math.abs(_-v)&&(x=s||Math.abs(w-O)/Math.abs(_-v)),y=(h-w)/x+_,b=l["plot"+(t?"Width":"Height")]/x};var b,y,x=s||1,w=n[0][u],O=!g&&n[1][u];if(e(),(n=y)<m.min){n=m.min;var k=!0}else n+b>m.max&&(n=m.max-b,k=!0);k?(w-=.8*(w-a[c][0]),"number"==typeof O&&(O-=.8*(O-a[c][1])),e()):a[c]=[w,O],f||(o[c]=y-h,o[p]=b),o=f?1/x:x,r[p]=b,r[c]=n,i[f?t?"scaleY":"scaleX":"scale"+d]=x,i["translate"+d]=o*h+(w-o*_)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&b(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&b(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var i=this.chart,r=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!r&&r.shared,l=n||i.hoverPoint,c=l&&l.series||i.hoverSeries;l=(n=this.getHoverData(l,c,i.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e)).hoverPoint,c=n.hoverSeries;var d=n.hoverPoints;if(n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,a=a&&c&&!c.noSharedTooltip,l&&(l!==i.hoverPoint||r&&r.isHidden)){if((i.hoverPoints||[]).forEach((function(t){-1===d.indexOf(t)&&t.setState()})),i.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach((function(t){t.setState("hover")})),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=d,i.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(a?d:l,e)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],e),i.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(i.container.ownerDocument,"mousemove",(function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach((function(t){var n,r=v((t.crosshair||{}).snap,!0);r&&((n=i.hoverPoint)&&n.series[t.coll]===t||(n=p(d,(function(e){return e.series[t.coll]===t})))),n||!r?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(i){var r=t||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(e?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,i=e.charts[v(t.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var i=n.zoomType||"";/touch/.test(t.type)&&(i=v(n.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}()})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function i(){var t=[];return t.item=function(t){return this[t]},p(f,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(t,n,r,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:r,target:t.currentTarget,preventDefault:l,touches:i()}))}var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,d=n.addEvent,u=n.css,p=n.objectEach,h=n.removeEvent,f={},m=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(h),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&u(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete f[t.pointerId]}))},n.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(d)},n}(e)})),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){var a=t.animObject,s=t.setAnimation,l=e.format;t=n.isFirefox;var c=n.marginNames;n=n.win;var d=r.distribute,u=o.addEvent,p=o.createElement,h=o.css,f=o.defined,m=o.discardElement,g=o.find,_=o.fireEvent,v=o.isNumber,b=o.merge,y=o.pick,x=o.relativeLength,w=o.stableSort,O=o.syncTimeout;return r=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),u(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=u(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=y(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=y(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,y(e,!0)&&n.redraw(),_(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),o.attr(c))}_(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,i=n.symbolPadding,r=!n.rtl,o=t._legendItemPos;n=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(i={translateX:r?n:this.legendWidth-n-2*i-4,translateY:o},r=function(){_(e,"afterPositionItem",{item:t})},f(s.translateY)?s.animate(i,void 0,r):(s.attr(i),r())),a&&(a.x=n,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach((function(r){var o=r.checkbox;if(o){var a=i+n+o.y+(this.scrollOffset||0)+3;h(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>i-6&&a<i+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,n=e.renderer,i=this.options,r=this.symbolWidth,o=i.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===i.layout?y(i.itemDistance,20):0,c=!i.rtl,d=!t.series,u=!d&&t.series.drawLegendSymbol?t.series:t,p=u.options,h=this.createCheckboxForItem&&p&&p.showCheckbox,f=i.useHTML,m=t.options.className,g=t.legendItem;p=r+o+l+(h?20:0),g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+u.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",c?r+o:-o,this.baseline||0,f),e.styledMode||g.css(b(t.visible?a:s)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(e.styledMode?12:a.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,i.squareSymbol&&(this.symbolWidth=y(i.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+o+l+(h?20:0),c&&g.attr("x",this.symbolWidth+o))),u.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,f)),h&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||g.css({width:(i.itemWidth||this.widthOption||e.spacingBox.width)-p+"px"}),this.setText(t),e=g.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=i.itemWidth||t.legendItemWidth||e.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*n?e.height:n))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=i?y(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&y(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))})),_(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(r)&&!f(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+y(i.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=g(o?i.points:i.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),o=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var a=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=a-.3*o):r=a+i.yAxis.height,e.push({target:r,size:o,item:i})}}),this),d(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,i=this.padding,r=this.getAllItems(),o=this.group,a=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(n.width,t.spacingBox.width-i);var s=t.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(r,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:r,height:l},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),_(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(i-=e.titleOffset[2]),i!==t.y&&(t=b(t,{y:i})),this.group.align(b(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,i=this,r=this.chart,o=r.renderer,a=this.options,s=a.y,l="top"===a.verticalAlign,c=this.padding,d=a.maxHeight,u=a.navigation,p=y(u.animation,!0),h=u.arrowSize||12,f=this.pages,m=this.allItems,g=function(t){"number"==typeof t?b.attr({height:t}):b&&(i.clipRect=b.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},_=function(t){return i[t]=o.circle(0,0,1.3*h).translate(h/2,h/2).add(v),r.styledMode||i[t].attr("fill","rgba(0,0,0,0.0001)"),i[t]};s=r.spacingBox.height+(l?-s:s)-c;var v=this.nav,b=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),d&&(s=Math.min(s,d)),f.length=0,t&&0<s&&t>s&&!1!==u.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-c,0),this.currentPage=y(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,i){var r=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=f.length;(!a||r-f[a-1]>e&&(n||r)!==f[a-1])&&(f.push(n||r),a++),t.pageIx=a-1,n&&(m[i-1].pageIx=a-1),i===m.length-1&&r+o-f[a-1]>e&&o<=e&&(f.push(r),t.pageIx=a),r!==n&&(n=r)})),b||(b=i.clipRect=o.clipRect(0,c,9999,0),i.contentGroup.clip(b)),g(e),v||(this.nav=v=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,h,h).add(v),_("upTracker").on("click",(function(){i.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(u.style),this.pager.add(v),this.down=o.symbol("triangle-down",0,0,h,h).add(v),_("downTracker").on("click",(function(){i.scroll(1,p)}))),i.scroll(0),t=s):v&&(g(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,i=this.chart,r=this.pages,o=r.length,l=this.clipHeight,c=this.options.navigation,d=this.pager,u=this.padding,p=this.currentPage+t;p>o&&(p=o),0<p&&(void 0!==e&&s(e,i),this.nav.attr({translateX:u,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),d.attr({text:p+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:p===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===p?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===o?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:p===o?"default":"pointer"})),this.scrollOffset=-r[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),t=a(y(e,i.renderer.globalAnimation,!0)),O((function(){_(n,"afterScroll",{currentPage:p})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var r=this,o=r.chart.renderer.boxWrapper,a=t instanceof i,s="highcharts-legend-"+(a?"point":"series")+"-active",l=r.chart.styledMode,c=function(e){r.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(n?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&o.addClass(s),l||e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||e.css(b(t.visible?r.itemStyle:r.itemHiddenStyle)),c(""),o.removeClass(s),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):_(t,"legendItemClick",e,n)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),u(t.checkbox,"click",(function(e){_(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||t)&&r(o.prototype,"positionItem",(function(t,e){var n=this,i=function(){e._legendItemPos&&t.call(n,e)};i(),n.bubbleLegend||setTimeout(i)})),o})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=i.error,s=i.extendClass,l=i.merge;return function(e){function i(t,i){var r=o.plotOptions||{},a=i.defaultOptions;i.prototype.pointClass||(i.prototype.pointClass=n),i.prototype.type=t,a&&(r[t]=a),e.seriesTypes[t]=i}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,n){void 0===n&&(n={});var i=t.options.chart;i=n.type||i.type||i.defaultSeriesType||"";var r=e.seriesTypes[i];return e||a(17,!0,t,{missingModuleFor:i}),"function"==typeof(i=new r).init&&i.init(t,n),i},e.registerSeriesType=i,e.seriesType=function(t,r,a,c,d){var u=o.plotOptions||{};return r=r||"",u[t]=l(u[r],a),i(t,s(e.seriesTypes[r]||function(){},c)),e.seriesTypes[t].prototype.type=t,d&&(e.seriesTypes[t].prototype.pointClass=s(n,d)),e.seriesTypes[t]}}(r||(r={})),r})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(t,e,n,i,r,o,a,s,l,c,d,u,p,h,f){var m=t.animate,g=t.animObject,_=t.setAnimation,v=n.numberFormat,b=i.registerEventOptions,y=r.charts,x=r.doc,w=r.marginNames,O=r.svg,k=r.win,C=s.defaultOptions,E=s.defaultTime,S=d.seriesTypes,j=h.addEvent,$=h.attr,A=h.cleanRecursively,M=h.createElement,P=h.css,T=h.defined,D=h.discardElement,L=h.erase,N=h.error,I=h.extend,R=h.find,F=h.fireEvent,z=h.getStyle,B=h.isArray,W=h.isNumber,H=h.isObject,Y=h.isString,U=h.merge,G=h.objectEach,X=h.pick,V=h.pInt,q=h.relativeLength,K=h.removeEvent,Z=h.splat,J=h.syncTimeout,Q=h.uniqueKey;return t=function(){function t(t,e,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,n)}return t.chart=function(e,n,i){return new t(e,n,i)},t.prototype.getArgs=function(t,e,n){Y(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};F(this,"init",{args:arguments},(function(){var i=U(C,t),o=i.chart;G(i.plotOptions,(function(t,e){H(t)&&(t.tooltip=n[e]&&U(n[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):r.time,this.numberFormatter=o.numberFormatter||v,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=y.length,y.push(this),r.chartCount++,b(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=S[e];return n||N(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var i=this.inverted,r=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var d=n.series;if(r=n.visiblePlotOnly&&s||r,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0},!n.ignoreX){var u=d&&(i?d.yAxis:d.xAxis)||{pos:o,len:1/0};(s=n.paneCoordinates?u.pos+s:o+s)>=Math.max(l+o,u.pos)&&s<=Math.min(l+o+r.width,u.pos+u.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(i=d&&(i?d.xAxis:d.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?i.pos+e:a+e)>=Math.max(c+a,i.pos)&&n<=Math.min(c+a+r.height,i.pos+i.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,d=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),_(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var u=n[t];if(u.options.stacking||u.options.centerInCategory){var p=!0;if(u.isDirty){var h=!0;break}}}if(h)for(t=n.length;t--;)(u=n[t]).options.stacking&&(u.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),d=!0):o&&(o.labelFormatter||o.labelFormat)&&(d=!0)),t.isDirtyData&&F(t,"updatedData")})),d&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(c=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",I(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||p)&&t.redraw()})),c&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),i&&i.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,i=R(this.axes,e)||R(this.series,e),r=0;!i&&r<n.length;r++)i=R(n[r].points||[],e);return i},t.prototype.getAxes=function(){var t=this,n=this.options,i=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),F(this,"getAxes"),i.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),i.concat(n).forEach((function(n){new e(t,n)})),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){X(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,i="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};i=this.options[t]=U(!this.styledMode&&{style:i},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(i.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(r=a.style&&a.style.fontSize),r=n.fontMetrics(r,o).b,o.css({width:(a.width||i.width+(a.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(a.useHTML).height);o.align(I({y:"bottom"===s?r:t+r,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&X(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;T(e)||(this.containerWidth=z(n,"width")),T(t)||(this.containerHeight=z(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,i=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),Y(r)&&(this.renderTo=r=x.getElementById(r)),r||N(13,!0,this);var o=V($(r,"data-highcharts-chart"));W(o)&&y[o]&&y[o].hasRendered&&y[o].destroy(),$(r,"data-highcharts-chart",this.index),r.innerHTML=f.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(r,{overflow:"hidden"}),this.styledMode||(t=I({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=i=M("div",{id:i},t,r),this._cursor=i.style.cursor,this.renderer=new(n.renderer||!O?c.getRendererType(n.renderer):u)(i,o,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),_(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i[0]&&!T(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!T(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),w.forEach((function(n,r){T(i[r])||(t[n]+=e[r])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,i=e.renderTo,r=T(n.width)&&T(n.height),o=n.width||z(i,"width");n=n.height||z(i,"height"),i=t?t.target:k,delete e.pointer.chartPosition,r||e.isPrinting||!o||!n||i!==k&&i!==x||(o===e.containerWidth&&n===e.containerHeight||(h.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=j(k,"resize",(function(t){e.options&&e.reflow(t)})),j(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,_(n,i),n=r.globalAnimation,i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),i.styledMode||(n?m:P)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},n),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,F(i,"resize"),J((function(){i&&F(i,"endResize",null,(function(){--i.isResizing}))}),g(n).duration)},t.prototype.setChartSize=function(t){var e,n,i,r,o=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,d=this.spacing,u=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=o?r:i,this.plotSizeY=o?i:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:d[3],y:d[0],width:s-d[3]-d[1],height:l-d[0]-d[2]},this.plotBox=a.plotBox={x:e,y:n,width:i,height:r},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,u[3])/2),l=Math.ceil(Math.max(o,u[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(o,u[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,u[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var i=e[n],r=H(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=X(e[n+i],r[o])}))})),w.forEach((function(e,n){t[e]=X(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,i=this.chartWidth,r=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,d=this.plotLeft,u=this.plotTop,p=this.plotWidth,h=this.plotHeight,f=this.plotBox,m=this.clipRect,g=this.clipBox,_=this.chartBackground,v=this.plotBackground,b=this.plotBorder,y="animate";if(_||(this.chartBackground=_=n.rect().addClass("highcharts-background").add(),y="attr"),o)var x=t=_.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||_["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),_.attr(s).shadow(e.shadow);_[y]({x:t/2,y:t/2,width:i-t-x%2,height:r-t-x%2,r:e.borderRadius}),y="animate",v||(y="attr",this.plotBackground=v=n.rect().addClass("highcharts-plot-background").add()),v[y](f),o||(v.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(a?(c!==a.attr("href")&&a.attr("href",c),a.animate(f)):this.plotBGImage=n.image(c,d,u,p,h).add())),m?m.animate({width:g.width,height:g.height}):this.clipRect=n.clipRect(g),y="animate",b||(y="attr",this.plotBorder=b=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[y](b.crisp({x:d,y:u,width:p,height:h},-b.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(a){for(e=S[r.type||r.defaultSeriesType],n=r[a]||e&&e.prototype[a],t=o&&o.length;!n&&t--;)(e=S[o[t].type])&&e.prototype[a]&&(n=!0);i[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;Y(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=X(e.options.visible,n.options.visible,e.visible))})),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var i=I(e.style,n.style),r=V(i.left)+t.plotLeft,o=V(i.top)+t.plotTop+12;delete i.left,delete i.top,t.renderer.text(n.html,r,o).attr({zIndex:2}).css(i).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,i=this.options,r=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,i.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),i=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<i/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,n=U(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(k.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,i=e.series,o=e.container,a=o&&o.parentNode;for(F(e,"destroy"),e.renderer.forExport?L(y,e):y[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),o&&(o.innerHTML=f.emptyHTML,K(o),a&&D(o)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(B(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),l&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),F(this,"load"),F(this,"render"),T(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,n){var i,r=this;return t&&(e=X(e,!0),F(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),F(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i},t.prototype.addAxis=function(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,U(n.axis,{index:this[t].length,isX:"xAxis"===t})),X(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=M("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=M("span",{className:"highcharts-loading-inner"},null,o),j(e,"redraw",r)),o.className="highcharts-loading",f.setElementHTML(a,X(t,n.lang.loading,"")),e.styledMode||(P(o,I(i.style,{zIndex:10})),P(a,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,i){var r,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];F(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=U(a.userOptions,t);var d=t.chart;if(d){if(U(!0,a.options.chart,d),"className"in d&&a.setClassName(d.className),"reflow"in d&&a.setReflow(d.reflow),"inverted"in d||"polar"in d||"type"in d){a.propFromSeries();var u=!0}"alignTicks"in d&&(u=!0),"events"in d&&b(this,d),G(d,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new p(t.time)),U(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&U(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var i=[];a[e].forEach((function(t,e){t.options.isInternal||i.push(X(t.options.index,e))})),Z(t[e]).forEach((function(t,r){var o,s=T(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][i?i[r]:r])&&s&&T(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),n&&(o.touched=!0)),!o&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)}))}})),c.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),u&&a.axes.forEach((function(t){t.update({},!1)})),r&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),u=d&&d.width,d=d&&(Y(d.height)?q(d.height,u||a.chartWidth):d.height),o||W(u)&&u!==a.chartWidth||W(d)&&d!==a.chartHeight?a.setSize(u,d,i):X(e,!0)&&a.redraw(i),F(a,"afterUpdate",{options:t,redraw:e,animation:i})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=C.lang,i=e.options.chart.resetZoomButton,r=i.theme,o=r.states,a="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,r,o&&o.hover).attr({align:i.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,a)})),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,i=n.pointer,r=n.inverted?i.mouseDownX:i.mouseDownY,o=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),i.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=n.inverted?a.left:a.top,l=n.inverted?s+a.width:s+a.height,c=a.isXAxis,d=!1;(!c&&r>=s&&r<=l||c||!T(r))&&(d=!0),i[c?"zoomX":"zoomY"]&&d&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=n.resetZoomButton;o&&!a?n.showResetZoom():!o&&H(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(X(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,i=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=n.options.chart,o=n.options.mapNavigation&&n.options.mapNavigation.enabled;r&&r.panning&&(r.panning=e);var a,s=e.type;F(this,"pan",{originalEvent:t},(function(){i&&i.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===s?e=e.concat(n.yAxis):"y"===s&&(e=n.yAxis);var r={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var i=e.horiz,l=t[i?"chartX":"chartY"],c=n[i=i?"mouseDownX":"mouseDownY"],d=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,p=e.getExtremes(),h=e.toValue(c-l,!0)+d*u,f=e.toValue(c+e.len-l,!0)-(d*u||e.isXAxis&&e.pointRangePadding||0),m=f<h;u=e.hasVerticalPanning(),c=m?f:h,h=m?h:f;var g=e.panningState;!u||e.isXAxis||g&&!g.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),W(e.dataMin)&&W(e.dataMax)&&(g.startMin=Math.min(X(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(X(t.options.threshold,-1/0),e.dataMax,g.startMax))})),u=Math.min(X(g&&g.startMin,p.dataMin),d?p.min:e.toValue(e.toPixels(p.min)-e.minPixelPadding)),f=Math.max(X(g&&g.startMax,p.dataMax),d?p.max:e.toValue(e.toPixels(p.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(d=u-c)&&(h+=d,c=u),0<(d=h-f)&&(h=f,c-=d),e.series.length&&c!==p.min&&h!==p.max&&c>=u&&h<=f&&(e.setExtremes(c,h,!1,!1,{trigger:"pan"}),n.resetZoomButton||o||c===u||h===f||!s.match("y")||(n.showResetZoom(),e.displayBtn=!1),a=!0),r[i]=l)}})),G(r,(function(t,e){n[e]=t})),a&&n.redraw(!1),P(n.container,{cursor:"move"})}))},t}(),I(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.merge,i=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,r=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},d=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(l),d&&!1!==d.enabled&&r&&(e=Math.min(i(d.radius,a),a),0===this.symbol.indexOf("url")&&(d=n(d,{width:o,height:o}),e=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-e,t-e,2*e,2*e,d).addClass("highcharts-point").add(l),r.isMarker=!0)},t.drawRectangle=function(t,e){var n=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-n)/2:0,t.baseline-n+1,r?n:t.symbolWidth,n,i(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l,c){var d=t.animObject,u=t.setAnimation,p=e.defaultOptions,h=n.registerEventOptions,f=i.hasTouch,m=i.svg,g=i.win,_=s.seriesTypes,v=c.addEvent,b=c.arrayMax,y=c.arrayMin,x=c.clamp,w=c.cleanRecursively,O=c.correctFloat,k=c.defined,C=c.erase,E=c.error,S=c.extend,j=c.find,$=c.fireEvent,A=c.getNestedProperty,M=c.isArray,P=c.isNumber,T=c.isString,D=c.merge,L=c.objectEach,N=c.pick,I=c.removeEvent,R=c.splat,F=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){$(this,"init",{options:e});var n=this,i=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),S(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),h(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=N(r&&r._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(i)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),$(this,"afterInit")},t.prototype.is=function(t){return _[t]&&this instanceof _[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(P(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,i=e.chart;$(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){var o=0;i[r].forEach((function(i){t=i.options,(n[r]===o&&!t.isInternal||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0),t.isInternal||o++})),e[r]||e.optionalAxis===r||E(18,!0,i)}))})),$(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,i=arguments,r=P(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,i=n.pointIntervalUnit,r=n.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=N(a,n.pointStart,0),this.pointInterval=e=N(this.pointInterval,n.pointInterval,1),r&&P(t)&&(e*=t),i&&(n=new o.Date(a),"day"===i?o.set("Date",n,o.get("Date",n)+e):"month"===i?o.set("Month",n,o.get("Month",n)+e):"year"===i&&o.set("FullYear",n,o.get("FullYear",n)+e),e=n.getTime()-a),r&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;S(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=e.userOptions||{};t=D(t),e=e.styledMode;var o={plotOptions:i,userOptions:t};$(this,"setOptions",o);var a=o.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=o.userOptions,r=D(a,i.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=D(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=N(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===a.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),i.push(n)),i.length&&k(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),$(this,"afterSetOptions",{options:r}),r},t.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var i=this.chart,r=this.userOptions,o=t+"Index",a=t+"Counter",s=n?n.length:N(i.options.chart[t+"Count"],i[t+"Count"]);if(!e){var l=N(r[o],r["_"+o]);k(l)||(i.series.length||(i[a]=0),r["_"+o]=l=i[a]%s,i[a]+=1),n&&(e=n[l])}void 0!==l&&(this[o]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,i,r=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof o&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=j(s,n))))return;if(n){var c=n&&n.index;void 0!==c&&(i=!0)}return void 0===c&&P(a)&&(c=this.xData.indexOf(a,e)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!i&&P(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,d=t.length===s.length,u=!0;if(this.xIncrement=null,t.forEach((function(t,e){var i=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=i.x;i.id||P(u)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):s[i]&&t!==o.data[i]?(s[i].update(t,!1,null,!1),s[i].touched=!0,c&&(r=i+1)):s[i]&&(s[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?u=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!u&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,i){var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,c=s.dataSorting,d=r.xAxis,u=s.turboThreshold,p=this.xData,h=this.yData,f=r.pointArrayMap;f=f&&f.length;var m,g=s.keys,_=0,v=1,b=null,y=(t=t||[]).length;if(e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==i&&y&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(m=this.updateData(t,n)),!m){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),u&&y>u)if(b=r.getFirstValidPoint(t),P(b))for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n];else if(M(b))if(f)if(b.length===f)for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n];else for(n=0;n<y;n++)i=t[n],p[n]=i[0],h[n]=i.slice(1,f+1);else if(g&&(_=0<=(_=g.indexOf("x"))?_:0,v=0<=(v=g.indexOf("y"))?v:1),1===b.length&&(v=0),_===v)for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n][v];else for(n=0;n<y;n++)i=t[n],p[n]=i[_],h[n]=i[v];else E(12,!1,l);else for(n=0;n<y;n++)void 0!==t[n]&&(i={series:r},r.pointClass.prototype.applyOptions.apply(i,[t[n]]),r.updateParallelArrays(i,n));for(h&&T(h[0])&&E(14,!0,l),r.data=[],r.options.data=r.userOptions.data=t,n=a;n--;)o[n]&&o[n].destroy&&o[n].destroy();d&&(d.minRange=d.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort((function(t,e){return t=A(n,t),(e=A(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,i=n.cropThreshold,r=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,d=!1,u=s.length;if(e){var p=(d=e.getExtremes()).min,h=d.max;d=e.categories&&!e.names.length}if(o&&this.sorted&&!r&&(!i||u>i||this.forceCrop))if(s[u-1]<p||s[0]>h)s=[],l=[];else if(this.yData&&(s[0]<p||s[u-1]>h)){var f=this.cropData(this.xData,this.yData,p,h);s=f.xData,l=f.yData,a=f.start,f=!0}for(i=s.length||1;--i;)if(0<(e=n?t(s[i])-t(s[i-1]):s[i]-s[i-1])&&(void 0===m||e<m))var m=e;else 0>e&&c&&!d&&(E(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,$(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=N(r,this.cropShoulder),o=0;o<a;o++)if(t[o]>=n){s=Math.max(0,o-r);break}for(n=o;n<a;n++)if(t[n]>i){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var d,u,p=this.data;if(!p&&!s){var h=[];h.length=e.length,p=this.data=h}for(l&&s&&(this.options.keys=!1),u=0;u<o;u++){if(h=a+u,s){var f=(new r).init(this,[n[u]].concat(R(i[u])));f.dataGroup=this.groupMap[t+u],f.dataGroup.options&&(f.options=f.dataGroup.options,S(f,f.dataGroup.options),delete f.dataLabels)}else(f=p[h])||void 0===e[h]||(p[h]=f=(new r).init(this,e[h],n[u]));f&&(f.index=s?t+u:h,c[u]=f)}if(this.options.keys=l,p&&(o!==(d=p.length)||s))for(u=0;u<d;u++)u!==a||s||(u+=o),p[u]&&(p[u].destroyElements(),p[u].plotX=void 0);this.data=p,this.points=c,$(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:y(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;i=!!i&&i.positiveValuesOnly;var s,l=0,c=0,d=0,u=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var p=n.getExtremes();l=p.min,c=p.max}for(s=0;s<u;s++){var h=r[s];p=t[s];var f=(P(p)||M(p))&&(p.length||0<p||!i);if(h=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+a]||h)>=l&&(r[s-a]||h)<=c,f&&h)if(f=p.length)for(;f--;)P(p[f])&&(o[d++]=p[f]);else o[d++]=p}return t={activeYData:o,dataMin:y(o),dataMax:b(o)},$(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,i=null;null===i&&n<e;)i=t[n],n++;return i},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,i=n.stacking,r=this.xAxis,o=r.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,d=this.pointPlacementToXValue(),u=!!d,p=n.threshold,h=n.startFromThreshold?p:0,f=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<c;t++){var g=l[t],_=g.x,v=void 0,b=void 0,y=g.y,w=g.low,C=i&&s.stacking&&s.stacking.stacks[(this.negStacks&&y<(h?0:p)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(y)||r.positiveValuesOnly&&!r.validatePositiveValue(_))&&(g.isNull=!0),g.plotX=e=O(x(r.translate(_,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),i&&this.visible&&C&&C[_]){var E=this.getStackIndicator(E,_,this.index);g.isNull||(b=(v=C[_]).points[E.key])}if(M(b)&&(w=b[0],y=b[1],w===h&&E.key===C[_].base&&(w=N(P(p)&&p,s.min)),s.positiveValuesOnly&&0>=w&&(w=null),g.total=g.stackTotal=v.total,g.percentage=v.total&&g.y/v.total*100,g.stackY=y,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=k(w)?x(s.translate(w,0,1,0,1),-1e5,1e5):null,this.dataModify&&(y=this.dataModify.modifyValue(y,t)),g.plotY=void 0,P(y)&&(void 0!==(v=s.translate(y,!1,!0,!1,!0))&&(g.plotY=x(v,-1e5,1e5))),g.isInside=this.isPointInside(g),g.clientX=u?O(r.translate(_,0,0,0,1,d)):e,g.negative=g[f]<(n[f+"Threshold"]||p||0),g.category=o&&void 0!==o[g.x]?o[g.x]:g.x,!g.isNull&&!1!==g.visible){void 0!==S&&(m=Math.min(m,Math.abs(e-S)));var S=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&a&&(g.isNew=!0)}this.closestPointRangePx=m,$(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var i=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,{inverted:i.inverted}))&&(!1!==t.visible&&(n||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,i=D(t.clipBox);return e&&e.len!==t.plotSizeX&&(i.width=e.len),n&&n.len!==t.plotSizeY&&(i.height=n.len),i},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,i=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),a=i[o];a?a.animate(r):i[o]=a=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,i=this.markerGroup,r=e.inverted,o=d(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:r?(e.plotSizeX||0)+99:-99,y:r?-e.plotLeft:-e.plotTop,width:99,height:r?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=o.step;i&&i.element.childNodes.length&&(o.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,n,i){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete i[n])})),this.finishedAnimating=!0,$(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,n=this.points,i=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(r.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;t<n.length;t++){var l=n[t],c=(e=l.graphic)?"animate":"attr",d=l.marker||{},u=!!l.marker;if((s&&void 0===d.enabled||d.enabled)&&!l.isNull&&!1!==l.visible){var p=N(d.symbol,this.symbol,"rect"),h=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=a.reversed?-(h.width||0):a.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(h):f&&(0<(h.width||0)||l.hasImage)&&(l.graphic=e=i.renderer.symbol(p,h.x,h.y,h.width,h.height,u?d:r).add(o),this.enabledDataSorting&&i.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[f?"show":"hide"](f).animate(h),e&&!i.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,i=n.marker,r=t.marker||{},o=r.symbol||i.symbol,a=N(r.radius,i.radius);return e&&(i=i.states[e],e=r.states&&r.states[e],a=N(e&&e.radius,i&&i.radius,a+(i&&i.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:n.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,i=t&&t.options,r=i&&i.marker||{},o=i&&i.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=N(r.lineWidth,n.lineWidth),i=1,l=o||s||a||l,o=r.fillColor||n.fillColor||l,a=r.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=r.states&&r.states[e]||{},t=N(e.lineWidth,n.lineWidth,t+N(e.lineWidthPlus,n.lineWidthPlus,0)),o=e.fillColor||n.fillColor||o,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:o,opacity:i=N(e.opacity,n.opacity,i)}},t.prototype.destroy=function(t){var e,n,i,r=this,o=r.chart,a=/AppleWebKit\/533/.test(g.navigator.userAgent),s=r.data||[];for($(r,"destroy"),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(t){return t.destroy()})),c.clearTimeout(r.animationTimeout),L(r,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderSeries(),L(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))},t.prototype.applyZones=function(){var t,e,n,i,r,o,a,s,l=this,c=this.chart,d=c.renderer,u=this.zones,p=this.clips||[],h=this.graph,f=this.area,m=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],_=c.inverted,v=!1;if(u.length&&(h||f)&&g&&void 0!==g.min){var b=g.reversed,y=g.horiz;h&&!this.showLine&&h.hide(),f&&f.hide();var w=g.getExtremes();u.forEach((function(u,O){t=b?y?c.plotWidth:0:y?0:g.toPixels(w.min)||0,t=x(N(e,t),0,m),e=x(Math.round(g.toPixels(N(u.value,w.max),!0)||0),0,m),v&&(t=e=g.toPixels(w.max)),i=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),g.isXAxis?(n={x:_?o:r,y:0,width:i,height:m},y||(n.x=c.plotHeight-n.x)):(n={x:0,y:_?o:r,width:m,height:i},y&&(n.y=c.plotWidth-n.y)),_&&d.isVML&&(n=g.isXAxis?{x:0,y:b?r:o,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),p[O]?p[O].animate(n):p[O]=d.clipRect(n),a=l["zone-area-"+O],s=l["zone-graph-"+O],h&&s&&s.clip(p[O]),f&&a&&a.clip(p[O]),v=u.value>w.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=p}else l.visible&&(h&&h.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(i.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,i=n.chart;n.xAxis&&(n.eventsToUnbind.push(v(i,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,i=d(n.animation),r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?i.duration:0,$(this,"render");var c=t.plotGroup("group","series",r,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&i.defer&&(e+=i.defer),t.animationTimeout=F((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,$(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(i&&i.left,t.plotLeft),translateY:N(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,F((function(){e.kdTree=function t(n,i,r){var o=n&&n.length;if(o){var a=e.kdAxisArray[i%r];return n.sort((function(t,e){return t[a]-e[a]})),{point:n[o=Math.floor(o/2)],left:t(n.slice(0,o),i+1,r),right:t(n.slice(o+1),i+1,r)}}}(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var i=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var c=n.point,d=i.kdAxisArray[s%l],u=c,p=k(e[r])&&k(c[r])?Math.pow(e[r]-c[r],2):null,h=k(e[o])&&k(c[o])?Math.pow(e[o]-c[o],2):null;return h=(p||0)+(h||0),c.dist=k(h)?Math.sqrt(h):Number.MAX_VALUE,c.distX=k(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(d=e[d]-c[d])?"right":"left",n[h=0>d?"left":"right"]&&(u=(h=t(e,n[h],s+1,l))[a]<u[a]?h:c),n[p]&&Math.sqrt(d*d)<u[a]&&(u=(e=t(e,n[p],s+1,l))[a]<u[a]?e:u),u}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),P(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(i?i.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,i=[].concat(n?t.areaPath:t.graphPath),r=t.chart,o=r.pointer,a=r.renderer,s=r.options.tooltip.snap,l=t.tracker,c=function(e){r.hoverSeries!==t&&t.onMouseOver()},d="rgba(192,192,192,"+(m?1e-4:.002)+")";l?l.attr({d:i}):t.graph&&(t.tracker=a.path(i).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:n?d:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",c)}))),$(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,i,r){var o=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,d=o.data,u=this.xData;e=N(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var h=p.x,f=u.length;if(this.requireSorting&&h<u[f-1])for(c=!0;f&&u[f-1]>h;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[h]=p.name),d.splice(f,0,t),c&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),d.shift())),!1!==r&&$(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},t.prototype.removePoint=function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};u(n,s),e=N(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,i){function r(){o.destroy(i),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?$(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=w(t,this.userOptions),$(this,"update",{options:t});var n,i=this,r=i.chart,o=i.userOptions,a=i.initialType||i.type,s=r.options.plotOptions,l=_[a].prototype,c=i.finishedAnimating&&{animation:!1},d={},u=["eventOptions","navigatorSeries","baseSeries"],p=t.type||o.type||r.options.chart.type,h=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys"));if(p=p||a,h&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),i.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&S(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=D(o,c,{index:void 0===o.index?i.index:o.index,pointStart:N(s&&s.series&&s.series.pointStart,o.pointStart,i.xData[0])},!h&&{data:i.options.data},t),h&&t.data&&(t.data=i.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach((function(t){u[t]=i[t],delete i[t]})),s=!1,_[p]){if(s=p!==i.type,i.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(i,_[p].prototype);else{for(n in c=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents,l)i[n]=void 0;S(i,_[p].prototype),c?i.hcEvents=c:delete i.hcEvents}}else E(17,!0,r,{missingModuleFor:p});if(u.forEach((function(t){i[t]=u[t]})),i.init(r,t),h&&this.points){var f=i.options;!1===f.visible?(d.graphic=1,d.dataLabel=1):i._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===f.showInLegend&&t.legendItem&&r.legend.destroyItem(t))}),this)}i.initialType=a,r.linkSeries(),s&&i.linkedSeries.length&&(i.isDirtyData=!0),$(this,"afterUpdate"),N(e,!0)&&r.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==N(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&$(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&$(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=N(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=0,d=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),d=N(a[t].opacity,d)),r&&!r.dashstyle)for(i={"stroke-width":l},r.animate(i,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(i,s),c+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:d},s)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,i=n.chart,r=n.legendItem,o=i.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][s]()})),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(i.isDirtyBox=!0),$(n,s),!1!==e&&i.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),$(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t}(),S(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){var a=t.stop,s=o.addEvent,l=o.createElement,c=o.merge,d=o.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}});r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var n=r[t.side].name,i=this[n];this[n]=i-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&i.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,i=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:e,height:i,viewBox:[0,0,e,i].join(" ")}),this.chartBackground.attr({width:e,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),i=this.axisOffset,t=this.plotTop-i[0]-1,n=this.plotLeft-i[3]-1,e=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(i,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=n.addEvent,a=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,(function(t,n){a(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new d(this))}var i=[];t.compose=function(t){return-1===i.indexOf(t)&&(i.push(t),o(t,"init",n),o(t,"destroy",e)),t};var d=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,i=e.options.reversedStacks,r=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var o=n[i?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<r;t++)n[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,(function(t){c(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,(function(e){c(e,(function(n,i){l(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[i]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,i=this.stacks;t=r(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),c(i,(function(t){c(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=d}(i||(i={})),i})),e(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=n.format,l=a.correctFloat,c=a.defined,d=a.destroyObjectProperties,u=a.isArray,p=a.isNumber,h=a.objectEach,f=a.pick,m=function(){function t(t,e,n,i,r){var o=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e=e||{},this.x=i,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":n?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?n?"right":"left":"center")}return t.prototype.destroy=function(){d(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,i=n.format;i=i?s(i,this,e):n.formatter.call(this),this.label?this.label.attr({text:i,visibility:"hidden"}):(this.label=e.renderer.label(i,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),i={r:n.borderRadius||0,text:i,rotation:n.rotation,padding:f(n.padding,5),visibility:"hidden"},e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(i),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,i,o){var a=this.axis,s=a.chart;i=a.translate(a.stacking.usePercentage?100:i||this.total,0,0,0,1),n=a.translate(n||0),n=c(i)&&Math.abs(i-n),t=f(o,s.xAxis[0].translate(this.x))+t,a=c(i)&&this.getStackBox(s,this,t,i,e,n,a),e=this.label,n=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&a&&(o=e.getBBox(),i=e.padding,l="left"===l?s.inverted?-i:i:"right"===l?o.width:s.inverted&&"center"===l?o.width/2:s.inverted?n?o.width+i:-i:o.width/2,n=s.inverted?o.height/2:n?-i:o.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),a.x-=l,a.y-=n,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+n-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&r.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((s=p(e.x)&&p(e.y)&&s.isInsidePlot(e.x-i+e.width,e.y)&&s.isInsidePlot(e.x+i,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,n,i,r,o,a){var s=e.axis.reversed,l=t.inverted,c=a.height+a.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:l?e?i-a.right:i-o+a.pos-t.plotLeft:n+t.xAxis[0].transB-t.plotLeft,y:l?a.height-n-r:e?c-i-o:c-i,width:l?o:r,height:l?r:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var i=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,f(n.options.stack,""),e?i.top:i.left,e?i.height:i.width].join())}))},o.compose(t),r.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):t&&h(t.stacks,(function(e,n){"group"===n.slice(-5)&&(h(e,(function(t){return t.destroy()})),delete t.stacks[n])}))},r.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,i=this.processedYData,r=[],o=i.length,a=this.options,s=a.threshold,d=f(a.startFromThreshold&&s,0);a=a.stack;var p,h,g="-"+(t=t?this.type+","+e:this.stackKey),_=this.negStacks,v=this.yAxis,b=v.stacking.stacks,y=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,h=0;h<o;h++){var x=n[h],w=i[h],O=this.getStackIndicator(O,x,this.index),k=O.key,C=(p=_&&w<(d?0:s))?g:t;b[C]||(b[C]={}),b[C][x]||(y[C]&&y[C][x]?(b[C][x]=y[C][x],b[C][x].total=null):b[C][x]=new m(v,v.options.stackLabels,p,x,a)),C=b[C][x],null!==w?(C.points[k]=C.points[this.index]=[f(C.cumulative,d)],c(C.cumulative)||(C.base=k),C.touched=v.stacking.stacksTouched,0<O.index&&!1===this.singleStacks&&(C.points[k][0]=C.points[this.index+","+x+",0"][0])):C.points[k]=C.points[this.index]=null,"percent"===e?(p=p?t:g,_&&b[p]&&b[p][x]?(p=b[p][x],C.total=p.total=Math.max(p.total,C.total)+Math.abs(w)||0):C.total=l(C.total+(Math.abs(w)||0))):"group"===e?(u(w)&&(w=w[0]),null!==w&&(C.total=(C.total||0)+1)):C.total=l(C.total+(w||0)),C.cumulative="group"===e?(C.total||1)-1:f(C.cumulative,d)+(w||0),null!==w&&(C.points[k].push(C.cumulative),r[h]=C.cumulative,C.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=r),v.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var t,e=this,n=e.stackKey,i=e.yAxis.stacking.stacks,r=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var a,s,l=r.length;l--;)a=r[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=i[n]&&i[n][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,l)}))},r.prototype.percentStacker=function(t,e,n){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[n]=t[1]},r.prototype.getStackIndicator=function(t,e,n,i){return!c(t)||t.x!==e||i&&t.key!==i?t={x:e,index:0,key:i}:t.index++,t.key=[n,e,t.index].join(),t},i.StackItem=m,i.StackItem})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.defined,o=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode,r=[["graph","highcharts-graph"]];i||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(r=t.getZonesGraphs(r)).forEach((function(r,o){var a=r[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(t.group)),s&&!i&&(a={stroke:r[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},r[3]?a.dashstyle=r[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>o&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var i,o=this,a=o.options,s=[],l=[],c=a.step,d=(t=t||o.points).reversed;return d&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&d&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(d,u){var p=d.plotX,h=d.plotY,f=t[u-1];(d.leftCliff||f&&f.rightCliff)&&!n&&(i=!0),d.isNull&&!r(e)&&0<u?i=!a.connectNulls:d.isNull&&!e?i=!0:(0===u||i?u=[["M",d.plotX,d.plotY]]:o.getPointSpline?u=[o.getPointSpline(t,d,u)]:c?(u=1===c?[["L",f.plotX,h]]:2===c?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,h]]:[["L",p,f.plotY]]).push(["L",p,h]):u=[["L",p,h]],l.push(d.x),c&&(l.push(d.x),2===c&&l.push(d.x)),s.push.apply(s,u),i=!1)})),s.xMap=l,o.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=o(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=t.parse,a=n.seriesTypes.line;t=i.extend;var s=i.merge,l=i.objectEach,c=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(t,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||i.fillColor])})),r.forEach((function(t){var r=t[0],a=e[r],s=a?"animate":"attr",l={};a?(a.endX=e.preventGraphAnimation?null:n.xMap,a.animate({d:n})):(l.zIndex=0,(a=e[r]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=c(t[3],o(t[2]).setOpacity(c(i.fillOpacity,.75)).get())),a[s](l),a.startX=n.xMap,a.shiftUnit=i.step?2:1}))},e.prototype.getGraphPath=function(t){var e,n=a.prototype.getGraphPath,i=this.options,r=i.stacking,o=this.yAxis,s=[],l=[],d=this.index,u=o.stacking.stacks[this.stackKey],p=i.threshold,h=Math.round(o.getThreshold(i.threshold));i=c(i.connectNulls,"percent"===r);var f=function(e,n,i){var a=t[e];e=r&&u[a.x].points[d];var c=a[i+"Null"]||0;if(i=a[i+"Cliff"]||0,a=!0,i||c){var f=(c?e[0]:e[1])+i,m=e[0]+i;a=!!c}else!r&&t[n]&&t[n].isNull&&(f=m=p);void 0!==f&&(l.push({plotX:g,plotY:null===f?h:o.getThreshold(f),isNull:a,isCliff:!0}),s.push({plotX:g,plotY:null===m?h:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,r&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){r||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,g=c(t[e].rectPlotX,t[e].plotX),_=r?c(t[e].yBottom,h):h;m&&!i||(i||f(e,e-1,"left"),m&&!r&&i||(l.push(t[e]),s.push({x:e,plotX:g,plotY:_})),i||f(e,e+1,"right"))}return e=n.call(this,l,!0,!0),s.reversed=!0,(_=(m=n.call(this,s,!0,!0))[0])&&"M"===_[0]&&(m[0]=["L",_[1],_[2]]),(m=e.concat(m)).length&&m.push(["Z"]),n=n.call(this,l,!1,i),m.xMap=e.xMap,this.areaPath=m,n},e.prototype.getStackPoints=function(t){var e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},d=o.series,u=d.length,p=o.options.reversedStacks?1:-1,h=d.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,s[t[f].x]=t[f];l(a,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));var m=d.map((function(t){return t.visible}));i.forEach((function(t,l){var f,g,_=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",o=0,c=a[i[l+n]];if(c)for(var _=h;0<=_&&_<u;){var v=d[_].index;(f=c.points[v])||(v===e.index?s[t][r]=!0:m[_]&&(g=a[t].points[v])&&(o-=g[1]-g[0])),_+=p}s[t][1===n?"rightCliff":"leftCliff"]=o}));else{for(var v=h;0<=v&&v<u;){if(f=a[t].points[d[v].index]){_=f[1];break}v+=p}_=c(_,0),_=o.translate(_,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:_,yBottom:_})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(i.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",i),i})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes.line,r=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var i=e.plotX||0,r=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*i+(a.plotX||0))/2.5,d=(1.5*r+t)/2.5,u=(1.5*r+n)/2.5;(s=(1.5*i+s)/2.5)!==c&&(l=(u-d)*(s-i)/(s-c)+r-u),u+=l,(d+=l)>t&&d>r?u=2*r-(d=Math.max(t,r)):d<t&&d<r&&(u=2*r-(d=Math.min(t,r))),u>n&&u>r?d=2*r-(u=Math.max(n,r)):u<n&&u<r&&(d=2*r-(u=Math.min(n,r))),e.rightContX=s,e.rightContY=u}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(c,i,0),o(d,r,0),i,r],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=r(i.defaultOptions),e}(i),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Area/AreaSeries.js"],n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.prototype,s=r.extend,l=r.merge;return s((r=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(i,n),i.defaultOptions=l(e.defaultOptions,t.defaultOptions),i}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:n.drawRectangle}),i.registerSeriesType("areaspline",r),r})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=t.animObject,c=e.parse,d=n.hasTouch;t=n.noop;var u=a.clamp,p=a.css,h=a.defined,f=a.extend,m=a.fireEvent,g=a.isArray,_=a.isNumber,v=a.merge,b=a.pick,y=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,i=e.options,r=this.chart.inverted,o={},a=r?"translateX":"translateY";if(t)o.scaleY=.001,t=u(n.toPixels(i.threshold),n.pos,n.pos+n.len),r?o.translateX=t-n.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,i){e.group&&(o[a]=s+i.pos*(n.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var i=this;(e=i.chart).hasRendered&&e.series.forEach((function(t){t.type===i.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,i=t.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&i.len===n.len&&i.pos===n.pos){if(r.stacking&&"group"!==r.stacking){o=e.stackKey,void 0===a[o]&&(a[o]=s++);var l=a[o]}else!1!==r.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*e.groupPadding,d=(l-2*c)/(s||1);return e=Math.min(e.maxPointWidth||n.len,b(e.pointWidth,d*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(d-e)/2+(c+((t.columnIndex||0)+(r?1:0))*d-l/2)*(r?-1:1),paddedWidth:d,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,i){var r=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),i=Math.round(e+i)+o,a=.5>=Math.abs(e)&&.5<i,i-=e=Math.round(e)+o,a&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},e.prototype.adjustForMissingColumns=function(t,e,n,i){var r=this,o=this.options.stacking;if(!n.isNull&&1<i.columnCount){var a=0,s=0;y(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof n.x&&(t=t[n.x.toString()])){var e=t.points[r.index],i=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):g(e)&&(a=e[1],s=i||0)}})),t=(n.plotX||0)+((s-1)*i.paddedWidth+e)/2-e-a*i.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=b(n.borderWidth,i?0:1);var o=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=b(n.minPointLength,5),d=t.getColumnMetrics(),p=d.width,f=t.pointXOffset=d.offset,m=t.dataMin,g=t.dataMax,v=t.barW=Math.max(p,1+2*i);e.inverted&&(l-=.5),n.pointPadding&&(v=Math.ceil(v)),r.prototype.translate.apply(t),t.points.forEach((function(i){var r=b(i.yBottom,l),y=999+Math.abs(r),x=i.plotX||0;y=u(i.plotY,-y,a.len+y);var w=Math.min(y,r),O=Math.max(y,r)-w,k=p,C=x+f,E=v;c&&Math.abs(O)<c&&(O=c,x=!a.reversed&&!i.negative||a.reversed&&i.negative,_(s)&&_(g)&&i.y===s&&g<=s&&(a.min||0)<s&&(m!==g||(a.max||0)<=s)&&(x=!x),w=Math.abs(w-l)>c?r-c:l-(x?c:0)),h(i.options.pointWidth)&&(k=E=Math.ceil(i.options.pointWidth),C-=Math.round((k-p)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,k,i,d)),i.barX=C,i.pointWidth=k,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-y,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-C-E/2,O]:[o.left-e.plotLeft+C+E/2,u(y+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[C,l,E,0]:[C,w,E,O])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||a;i=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,d=b(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var u=t.getZone();a=t.options.color||u&&(u.color||t.nonZonedColor)||this.color,u&&(s=u.borderColor||s,i=u.dashStyle||i,l=u.borderWidth||l)}return e&&t&&(e=(t=v(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&c(a).brighten(t.brightness).get()||a,s=t[r]||s,l=t[o]||l,i=t.dashStyle||i,d=b(t.opacity,d)),r={fill:a,stroke:s,"stroke-width":l,opacity:d},i&&(r.dashstyle=i),r},e.prototype.drawPoints=function(){var t,e=this,n=this.chart,i=e.options,r=n.renderer,o=i.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount<o?"animate":"attr";_(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=r[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&n.hasRendered&&n.pointCount<o&&(s.attr({x:a.startXPos}),l=!0,c="animate"),s&&l&&s[c](v(t)),i.borderRadius&&s[c]({r:i.borderRadius}),n.styledMode||s[c](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&i.shadow,null,i.stacking&&!i.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,n=e.chart,i=n.pointer,r=function(t){var e=i.getPointFromEvent(t);void 0!==e&&(i.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){i.onTrackerMouseOut(t)})),d&&e[t].on("touchstart",r),!n.styledMode&&e.options.cursor&&e[t].css(p).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)},e.defaultOptions=v(r.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(r),f(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:i.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=e.format,a=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,d=n.merge,u=n.objectEach,p=n.pick,h=n.splat;return function(t){function e(t,e,n,i,r){var o=this,a=this.chart,l=this.isCartesian&&a.inverted,c=this.enabledDataSorting,d=p(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),u=p(t.plotY,-9999),h=e.getBBox(),f=n.rotation,m=n.align,g=a.isInsidePlot(d,Math.round(u),{inverted:l,paneCoordinates:!0,series:o}),_=function(n){c&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,g,n)},v="justify"===p(n.overflow,c?"none":"justify"),b=this.visible&&!1!==t.visible&&(t.series.forceDL||c&&!v||g||p(n.inside,!!this.options.stacking)&&i&&a.isInsidePlot(d,l?i.x+1:i.y+i.height-1,{inverted:l,paneCoordinates:!0,series:o}));if(b){var y=a.renderer.fontMetrics(a.styledMode?void 0:n.style.fontSize,e).b;i=s({x:l?this.yAxis.len-u:d,y:Math.round(l?this.xAxis.len-d:u),width:0,height:0},i),s(n,{width:h.width,height:h.height}),f?(v=!1,d=a.renderer.rotCorr(y,f),_(d={x:i.x+(n.x||0)+i.width/2+d.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height}),e[r?"attr":"animate"](d).attr({align:m}),_=180<(_=(f+720)%360)&&360>_,"left"===m?d.y-=_?h.height:0:"center"===m?(d.x-=h.width/2,d.y-=h.height/2):"right"===m&&(d.x-=h.width,d.y-=_?0:h.height),e.placed=!0,e.alignAttr=d):(_(i),e.align(n,void 0,i),d=e.alignAttr),v&&0<=i.height?this.justifyDataLabel(e,n,d,h,i,r):p(n.crop,!0)&&(b=a.isInsidePlot(d.x,d.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(d.x+h.width,d.y+h.height,{paneCoordinates:!0,series:o})),n.shape&&!f&&e[r?"attr":"animate"]({anchorX:l?a.plotWidth-t.plotY:t.plotX,anchorY:l?a.plotHeight-t.plotX:t.plotY})}r&&c&&(e.placed=!1),b||c&&!v||(e.hide(!0),e.placed=!1)}function n(){var t=this,e=t.chart,n=t.options,i=t.points,s=t.hasRendered||0,d=e.renderer,m=n.dataLabels,g=m.animation;if(g=m.defer?r(e,g,t):{defer:0,duration:0},m=f(f(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),l(this,"drawDataLabels"),c(m)||m.enabled||t._hasPointLabels){var _=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);_.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&_.show(!0),s[n.animation?"animate":"attr"]({opacity:1},g)),i.forEach((function(i){h(f(m,i.dlOptions||i.options&&i.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!i.isNull||i.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(i,r),c=i.connectors?i.connectors[s]:i.connector,h=i.dataLabels?i.dataLabels[s]:i.dataLabel,f=p(r.distance,i.labelDistance),m=!h;if(l){var g=i.getLabelConfig(),v=p(r[i.formatPrefix+"Format"],r.format);g=a(v)?o(v,g,e):(r[i.formatPrefix+"Formatter"]||r.formatter).call(g,r),v=r.style;var b=r.rotation;e.styledMode||(v.color=p(r.color,v.color,t.color,"#000000"),"contrast"===v.color?(i.contrastColor=d.getContrast(i.color||t.color),v.color=!a(f)&&r.inside||0>f||n.stacking?i.contrastColor:"#000000"):delete i.contrastColor,n.cursor&&(v.cursor=n.cursor));var y={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};e.styledMode||(y.fill=r.backgroundColor,y.stroke=r.borderColor,y["stroke-width"]=r.borderWidth),u(y,(function(t,e){void 0===t&&delete y[e]}))}!h||l&&a(g)&&!!h.div==!!r.useHTML||(i.dataLabel=h=i.dataLabel&&i.dataLabel.destroy(),i.dataLabels&&(1===i.dataLabels.length?delete i.dataLabels:delete i.dataLabels[s]),s||delete i.dataLabel,c&&(i.connector=i.connector.destroy(),i.connectors&&(1===i.connectors.length?delete i.connectors:delete i.connectors[s]))),l&&a(g)&&(h?y.text=g:(i.dataLabels=i.dataLabels||[],h=i.dataLabels[s]=b?d.text(g,0,-9999,r.useHTML).addClass("highcharts-data-label"):d.label(g,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),s||(i.dataLabel=h),h.addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),h.options=r,h.attr(y),e.styledMode||h.css(v).shadow(r.shadow),h.added||h.add(_),r.textPath&&!r.useHTML&&(h.setTextPath(i.getDataLabelPath&&i.getDataLabelPath(h)||i.graphic,r.textPath),i.dataLabelPath&&!r.textPath.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy())),t.alignDataLabel(i,h,r,null,m))}))}))}l(this,"afterDrawDataLabels")}function i(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,d=e.x;d=void 0===d?0:d;var u=e.y;u=void 0===u?0:u;var p=(n.x||0)+c;if(0>p){"right"===s&&0<=d?(e.align="left",e.inside=!0):d-=p;var h=!0}return(p=(n.x||0)+i.width-c)>a.plotWidth&&("left"===s&&0>=d?(e.align="right",e.inside=!0):d+=a.plotWidth-p,h=!0),0>(p=n.y+c)&&("bottom"===l&&0<=u?(e.verticalAlign="top",e.inside=!0):u-=p,h=!0),(p=(n.y||0)+i.height-c)>a.plotHeight&&("top"===l&&0>=u?(e.verticalAlign="bottom",e.inside=!0):u+=a.plotHeight-p,h=!0),h&&(e.x=d,e.y=u,t.placed=!o,t.align(e,void 0,r)),h}function f(t,e){var n,i=[];if(c(t)&&!c(e))i=t.map((function(t){return d(t,e)}));else if(c(e)&&!c(t))i=e.map((function(e){return d(t,e)}));else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=d(t[n],e[n]);else i=d(t,e);return i}function m(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?r.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var g=[];t.compose=function(t){if(-1===g.indexOf(t)){var r=t.prototype;g.push(t),r.alignDataLabel=e,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=m}}}(i||(i={})),i})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,i,s){var l=this.chart.inverted,c=t.series,d=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var u=t.dlBox||t.shapeArgs,p=a(t.below,t.plotY>a(this.translatedThreshold,c)),h=a(n.inside,!!this.options.stacking);u&&(0>(i=o(u)).y&&(i.height+=i.y,i.y=0),0<(u=i.y+i.height-c)&&u<i.height&&(i.height-=u),l&&(i={x:c-i.y-i.height,y:d-i.x-i.width,width:i.height,height:i.width}),h||(l?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))),n.align=a(n.align,!l||h?"center":p?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||h?"middle":p?"top":"bottom"),r.prototype.alignDataLabel.call(this,t,e,n,i,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var i=[];e.compose=function(e){t.compose(r),-1===i.indexOf(e)&&(i.push(e),e.prototype.alignDataLabel=n)}}(i||(i={})),i})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.extend,o=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions,{}),n}(t),r(n.prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeries.js",[n["Series/Column/ColumnSeries.js"],n["Series/Line/LineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.addEvent,a=i.extend,s=i.merge;return a((i=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!i.isNull){var l=t[o+"Axis"],c=e[o]*l.transA;if(l&&!l.isLog){var d=Math.max(0,i[s]-c);l=Math.min(l.len,i[s]+c),a=1e4*Math.sin(r+a*n),i[s]=d+(l-d)*(a-Math.floor(a)),"x"===o&&(i.clientX=i.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),n}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(i,"afterTranslate",(function(){this.applyJitter()})),n.registerSeriesType("scatter",i),i})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.deg2rad,o=n.isNumber,a=n.pick,s=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,i=2*(t.slicedOffset||0),r=n.plotWidth-2*i,o=n.plotHeight-2*i,l=t.center,c=Math.min(r,o),d=t.size,u=t.innerSize||0;for("string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u)),t=[a(l[0],"50%"),a(l[1],"50%"),a(d&&0>d?void 0:t.size,"100%"),a(u&&0>u?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)d=t[l],n=2>l||2===l&&/%$/.test(d),t[l]=s(d,[r,o,c,t[2]][l])+(n?i:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(i||(i={})),i})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,i=e.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,i=this.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,n){var i=this.series;r(n,i.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||o<e.x:o<t.x||o>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=t.getStartAndEndRadians;n=n.noop;var u=l.clamp,p=l.extend,h=l.fireEvent,f=l.merge,m=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(i,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return t=Math.asin(u((t-i[1])/(r+n.labelDistance),-1,1)),i[0]+(e?-1:1)*Math.cos(t)*(r+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||o.styledMode||(r.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var c={};if(e=l.graphic,!l.isNull&&e){var d=void 0;i=l.shapeArgs,t=l.getTranslate(),o.styledMode||(d=l.shadowGroup,s&&!d&&(d=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),d&&d.attr(t),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,d),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,c,n),f(!0,c,i,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,n=e.slicedOffset,i=n+(e.borderWidth||0),r=d(e.startAngle,e.endAngle),o=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=a.length,u=0;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var p=a[l],f=o+u*r;!p.isValid()||e&&!p.visible||(u+=p.percentage/100);var _=o+u*r,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*_)/1e3};p.shapeType="arc",p.shapeArgs=v,p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,s),p.labelDistance=g(p.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(_=(_+f)/2)>1.5*Math.PI?_-=2*Math.PI:_<-Math.PI/2&&(_+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(_)*n),translateY:Math.round(Math.sin(_)*n)},v=Math.cos(_)*t[2]/2;var b=Math.sin(_)*t[2]/2;p.tooltipPos=[t[0]+.7*v,t[1]+.7*b],p.half=_<-Math.PI/2||_>Math.PI/2?1:0,p.angle=_,f=Math.min(i,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+v+Math.cos(_)*p.labelDistance,y:t[1]+b+Math.sin(_)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(_)*f,y:t[1]+b+Math.sin(_)*f},touchingSliceAt:{x:t[0]+v,y:t[1]+b}}}}h(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint,r=0;for(t=0;t<n;t++){var o=e[t];!o.isValid()||i&&!o.visible||(r+=o.y)}for(this.total=r,t=0;t<n;t++)(o=e[t]).percentage=0<r&&(o.visible||!i)?o.y/r*100:0,o.total=r},e.defaultOptions=f(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:i.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",l),l})),e(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o,a=e.noop,s=n.distribute,l=i.series,c=r.arrayMax,d=r.clamp,u=r.defined,p=r.merge,h=r.pick,f=r.relativeLength;return function(e){function n(){var t,e,n,i,r,o,a,d,f,m,g,_,v=this,b=v.data,y=v.chart,x=v.options.dataLabels||{},w=x.connectorPadding,O=y.plotWidth,k=y.plotHeight,C=y.plotLeft,E=Math.round(y.chartWidth/3),S=v.center,j=S[2]/2,$=S[1],A=[[],[]],M=[0,0,0,0],P=v.dataLabelPositioners;v.visible&&(x.enabled||v._hasPointLabels)&&(b.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(v),b.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!u(x.style.width)&&!u(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,n){var l,c=e.length,p=[];if(c){if(v.sortByAngle(e,n-.5),0<v.maxLabelDistance){var b=Math.max(0,$-j-v.maxLabelDistance),E=Math.min($+j+v.maxLabelDistance,y.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,$-j-t.labelDistance),t.bottom=Math.min($+j+t.labelDistance,y.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},p.push(t.distributeBox))})),s(p,b=E+l-b,b/5)}for(g=0;g<c;g++){if(t=e[g],o=t.labelPosition,i=t.dataLabel,m=!1===t.visible?"hidden":"inherit",f=b=o.natural.y,p&&u(t.distributeBox)&&(void 0===t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,f=P.radialDistributionY(t))),delete t.positionIndex,x.justify)d=P.justify(t,j,S);else switch(x.alignTo){case"connectors":d=P.alignToConnectors(e,n,O,C);break;case"plotEdges":d=P.alignToPlotEdges(i,n,O,C);break;default:d=P.radialDistributionX(v,t,f,b)}i._attr={visibility:m,align:o.alignment},_=t.options.dataLabels||{},i._pos={x:d+h(_.x,x.x)+({left:w,right:-w}[o.alignment]||0),y:f+h(_.y,x.y)-10},o.final.x=d,o.final.y=f,h(x.crop,!0)&&(r=i.getBBox().width,b=null,d-r<w&&1===n?(b=Math.round(r-d+w),M[3]=Math.max(b,M[3])):d+r>O-w&&0===n&&(b=Math.round(d+r-O+w),M[1]=Math.max(b,M[1])),0>f-a/2?M[0]=Math.max(Math.round(a/2-f),M[0]):f+a/2>k&&(M[2]=Math.max(Math.round(f+a/2-k),M[2])),i.sideOverflow=b)}}})),0===c(M)||this.verifyDataLabelOverflow(M))&&(this.placeDataLabels(),this.points.forEach((function(t){var r;(_=p(x,t.options.dataLabels),e=h(_.connectorWidth,1))&&(n=t.connector,(i=t.dataLabel)&&i._pos&&t.visible&&0<t.labelDistance?(m=i._attr.visibility,(r=!n)&&(t.connector=n=y.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),y.styledMode||n.attr({"stroke-width":e,stroke:_.connectorColor||t.color||"#666666"})),n[r?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",m)):n&&(t.connector=n.destroy()))})))}function i(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function r(t){var e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=null!==n.size;if(!o){if(null!==i[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),r);else a=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==i[1]?a=d(a,r,e[2]-Math.max(t[0],t[2])):(a=d(a,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(f(n.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,i){return t.getX(n<e.top+2||n>e.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=i,e.verifyDataLabelOverflow=r)}}(o||(o={})),o})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var i=t.newOpacity;t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0}return n}var i=e.addEvent,r=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;i(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(i){var r=i.options.dataLabels;i.visible&&(!1!==r.enabled||i._hasPointLabels)&&((r=function(i){return i.forEach((function(i){i.visible&&(o(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach((function(r){var o=r.options;r.labelrank=l(o.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,t)):e.push(r)}))}))})(i.nodes||[]),r(i.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,i,o,s=this,l=t.length,c=s.renderer,d=!1,u=function(t){var e,n,i=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*i;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-e,width:t.width-2*i,height:t.height-2*i}}};for(i=0;i<l;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=u(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<l;i++){var p=(u=t[i])&&u.absoluteBox;for(e=i+1;e<l;++e){var h=(o=t[e])&&o.absoluteBox;!p||!h||u===o||0===u.newOpacity||0===o.newOpacity||h.x>=p.x+p.width||h.x+h.width<=p.x||h.y>=p.y+p.height||h.y+h.height<=p.y||((u.labelrank<o.labelrank?u:o).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(d=!0)})),d&&r(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.find,r=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,c=t.splat,d=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,u.prototype)),t};var u=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,i,a,l){var d;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&i[s])for(n=c(n),a[s]=[],d=0;d<Math.max(n.length,i[s].length);d++)i[s][d]&&(void 0===n[d]?a[s][d]=i[s][d]:(a[s][d]={},t(n[d],i[s][d],a[s][d],l+1)));else o(n)?(a[s]=r(n)?[]:{},t(n,i[s]||{},a[s],l+1)):a[s]=void 0===i[s]?null:i[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,r=this.options.responsive,o=this.currentResponsive,s=[];!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=d()),n.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return i((r||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(t,e,n,i,r,o,a,s,l,c,d,u,p,h,f,m,g,_,v,b,y,x,w,O,k,C,E,S,j,$,A,M,P){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=i.timers,t.AST=o,t.Axis=p,t.Chart=w,t.chart=w.chart,t.Fx=i,t.Legend=x,t.PlotLineOrBand=m,t.Point=v,t.Pointer=y.isRequired()?y:b,t.Series=O,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=P,t.Tooltip=_,t.Color=M,t.color=M.parse,u.compose(c),d.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=k.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(C),$.compose(O),h.compose(p),f.compose(p),j.compose(S),m.compose(p),A.compose(w),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"b",(function(){return z})),n.d(e,"c",(function(){return it})),n.d(e,"d",(function(){return Z})),n.d(e,"e",(function(){return K})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return J})),n.d(e,"h",(function(){return rt})),n.d(e,"i",(function(){return at})),n.d(e,"j",(function(){return H})),n.d(e,"k",(function(){return M})),n.d(e,"l",(function(){return j})),n.d(e,"m",(function(){return tt})),n.d(e,"n",(function(){return E})),n.d(e,"o",(function(){return D})),n.d(e,"p",(function(){return lt})),n.d(e,"q",(function(){return ct})),n.d(e,"r",(function(){return dt})),n.d(e,"s",(function(){return A})),n.d(e,"t",(function(){return gt})),n.d(e,"u",(function(){return _t})),n.d(e,"v",(function(){return vt})),n.d(e,"w",(function(){return B})),n.d(e,"x",(function(){return yt})),n.d(e,"y",(function(){return F})),n.d(e,"z",(function(){return bt}));var i=n(56),r=n(21),o=n(44),a=n(35),s=n(36),l=n(37),c=n(38),d=n(39),u=n(4),p=n(6),h=n(0),f=n(20),m=n(28),g=n(13),_=n.n(g),v=n(49),b=n(29),y=n(60),x=n(99),w=n(100),O=n.n(w);function k(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,o=t.shouldScroll,a=t.isFixedPosition,s=t.theme.spacing,l=Object(b.a)(n),c={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect().height,u=n.getBoundingClientRect(),p=u.bottom,h=u.height,f=u.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,_=Object(b.b)(l),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),x=m-y,w=g-f,O=x+_,k=d-_-f,C=p-g+_+v,E=_+f-y;switch(r){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:e};if(k>=h&&!a)return o&&Object(b.c)(l,C,160),{placement:"bottom",maxHeight:e};if(!a&&k>=i||a&&w>=i)return o&&Object(b.c)(l,C,160),{placement:"bottom",maxHeight:a?w-v:k-v};if("auto"===r||a){var S=e,j=a?x:O;return j>=i&&(S=Math.min(j-v-s.controlHeight,e)),{placement:"top",maxHeight:S}}if("bottom"===r)return Object(b.m)(l,C),{placement:"bottom",maxHeight:e};break;case"top":if(x>=h)return{placement:"top",maxHeight:e};if(O>=h&&!a)return o&&Object(b.c)(l,E,160),{placement:"top",maxHeight:e};if(!a&&O>=i||a&&x>=i){var $=e;return(!a&&O>=i||a&&x>=i)&&($=a?x-y:O-y),o&&Object(b.c)(l,E,160),{placement:"top",maxHeight:$}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var C=function(t){return"auto"===t?"bottom":t},E=function(t){var e,n=t.placement,i=t.theme,r=i.borderRadius,o=i.spacing,a=i.colors;return e={label:"menu"},Object(p.a)(e,function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),Object(p.a)(e,"backgroundColor",a.neutral0),Object(p.a)(e,"borderRadius",r),Object(p.a)(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(p.a)(e,"marginBottom",o.menuGutter),Object(p.a)(e,"marginTop",o.menuGutter),Object(p.a)(e,"position","absolute"),Object(p.a)(e,"width","100%"),Object(p.a)(e,"zIndex",1),e},S=function(t){function e(){var t,n;Object(a.a)(this,e);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return n=Object(l.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(r))),Object(p.a)(Object(u.a)(Object(u.a)(n)),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getPlacement",(function(t){var e=n.props,i=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=n.context.getPortalPlacement;if(t){var d="fixed"===a,u=k({maxHeight:r,menuEl:t,minHeight:i,placement:o,shouldScroll:s&&!d,isFixedPosition:d,theme:l});c&&c(u),n.setState(u)}})),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getUpdatedProps",(function(){var t=n.props.menuPlacement,e=n.state.placement||C(t);return Object(o.a)({},n.props,{placement:e,maxHeight:n.state.maxHeight})})),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),e}(h.Component);Object(p.a)(S,"contextTypes",{getPortalPlacement:_.a.func});var j=function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},$=function(t){var e=t.theme,n=e.spacing.baseUnit;return{color:e.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},A=$,M=$,P=function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("noOptionsMessage",t),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),e)};P.defaultProps={children:"No options"};var T=function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("loadingMessage",t),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},a),e)};T.defaultProps={children:"Loading..."};var D=function(t){var e=t.rect,n=t.offset,i=t.position;return{left:e.left,position:i,top:n,width:e.width,zIndex:1}},L=function(t){function e(){var t,n;Object(a.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(l.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(r))),Object(p.a)(Object(u.a)(Object(u.a)(n)),"state",{placement:null}),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getPortalPlacement",(function(t){var e=t.placement;e!==C(n.props.menuPlacement)&&n.setState({placement:e})})),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var t=this.props,e=t.appendTo,n=t.children,i=t.controlElement,r=t.menuPlacement,o=t.menuPosition,a=t.getStyles,s="fixed"===o;if(!e&&!s||!i)return null;var l=this.state.placement||C(r),c=Object(b.g)(i),d=s?0:window.pageYOffset,u={offset:c[l]+d,position:o,rect:c},p=Object(f.c)("div",{css:a("menuPortal",u)},n);return e?Object(m.createPortal)(p,e):p}}]),e}(h.Component);Object(p.a)(L,"childContextTypes",{getPortalPlacement:_.a.func});var N=Array.isArray,I=Object.keys,R=Object.prototype.hasOwnProperty;function F(t,e){try{return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==Object(v.a)(e)&&"object"==Object(v.a)(n)){var i,r,o,a=N(e),s=N(n);if(a&&s){if((r=e.length)!=n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(a!=s)return!1;var l=e instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return e.getTime()==n.getTime();var d=e instanceof RegExp,u=n instanceof RegExp;if(d!=u)return!1;if(d&&u)return e.toString()==n.toString();var p=I(e);if((r=p.length)!==I(n).length)return!1;for(i=r;0!=i--;)if(!R.call(n,p[i]))return!1;for(i=r;0!=i--;)if(!("_owner"===(o=p[i])&&e.$$typeof||t(e[o],n[o])))return!1;return!0}return e!=e&&n!=n}(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}var z=function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}},B=function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},W=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,i=t.cx,r=t.isMulti,o=t.getStyles,a=t.hasValue;return Object(f.c)("div",{css:o("valueContainer",this.props),className:i({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a},n)},e)}}]),e}(h.Component),H=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};function Y(){var t=Object(x.a)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return Y=function(){return t},t}var U={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},G=function(t){var e=t.size,n=Object(i.a)(t,["size"]);return Object(f.c)("svg",Object(r.a)({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:U},n))},X=function(t){return Object(f.c)(G,Object(r.a)({size:20},t),Object(f.c)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},V=function(t){return Object(f.c)(G,Object(r.a)({size:20},t),Object(f.c)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},q=function(t){var e=t.isFocused,n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:e?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",":hover":{color:e?r.neutral80:r.neutral40}}},K=q,Z=q,J=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:e?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i,width:1}},Q=Object(f.d)(Y()),tt=function(t){var e=t.isFocused,n=t.size,i=t.theme,r=i.colors,o=i.spacing.baseUnit;return{label:"loadingIndicator",color:e?r.neutral60:r.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},et=function(t){var e=t.delay,n=t.offset;return Object(f.c)("span",{css:Object(y.a)({animation:"".concat(Q," 1s ease-in-out ").concat(e,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},nt=function(t){var e=t.className,n=t.cx,i=t.getStyles,o=t.innerProps,a=t.isRtl;return Object(f.c)("div",Object(r.a)({},o,{css:i("loadingIndicator",t),className:n({indicator:!0,"loading-indicator":!0},e)}),Object(f.c)(et,{delay:0,offset:a}),Object(f.c)(et,{delay:160,offset:!0}),Object(f.c)(et,{delay:320,offset:!a}))};nt.defaultProps={size:4};var it=function(t){var e=t.isDisabled,n=t.isFocused,i=t.theme,r=i.colors,o=i.borderRadius,a=i.spacing;return{label:"control",alignItems:"center",backgroundColor:e?r.neutral5:r.neutral0,borderColor:e?r.neutral10:n?r.primary:r.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(r.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},rt=function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}},ot=function(t){var e=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}},at=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing,r=n.colors;return{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:e?"hidden":"visible",color:r.neutral80}},st=function(t){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:t?0:1,outline:0,padding:0,color:"inherit"}},lt=function(t){var e=t.theme,n=e.spacing,i=e.borderRadius;return{label:"multiValue",backgroundColor:e.colors.neutral10,borderRadius:i/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ct=function(t){var e=t.theme,n=e.borderRadius,i=e.colors,r=t.cropWithEllipsis;return{borderRadius:n/2,color:i.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},dt=function(t){var e=t.theme,n=e.spacing,i=e.borderRadius,r=e.colors;return{alignItems:"center",borderRadius:i/2,backgroundColor:t.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},ut=function(t){var e=t.children,n=t.innerProps;return Object(f.c)("div",n,e)},pt=ut,ht=ut,ft=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.innerProps;return Object(f.c)("div",n,e||Object(f.c)(X,{size:14}))}}]),e}(h.Component),mt=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.children,i=e.className,r=e.components,a=e.cx,s=e.data,l=e.getStyles,c=e.innerProps,d=e.isDisabled,u=e.removeProps,p=e.selectProps,h=r.Container,m=r.Label,g=r.Remove;return Object(f.c)(f.b,null,(function(e){var r=e.css,_=e.cx;return Object(f.c)(h,{data:s,innerProps:Object(o.a)({},c,{className:_(r(l("multiValue",t.props)),a({"multi-value":!0,"multi-value--is-disabled":d},i))}),selectProps:p},Object(f.c)(m,{data:s,innerProps:{className:_(r(l("multiValueLabel",t.props)),a({"multi-value__label":!0},i))},selectProps:p},n),Object(f.c)(g,{data:s,innerProps:Object(o.a)({className:_(r(l("multiValueRemove",t.props)),a({"multi-value__remove":!0},i))},u),selectProps:p}))}))}}]),e}(h.Component);Object(p.a)(mt,"defaultProps",{cropWithEllipsis:!0});var gt=function(t){var e=t.isDisabled,n=t.isFocused,i=t.isSelected,r=t.theme,o=r.spacing,a=r.colors;return{label:"option",backgroundColor:i?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:i?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!e&&(i?a.primary:a.primary50)}}},_t=function(t){var e=t.theme,n=e.spacing;return{label:"placeholder",color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},vt=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing,r=n.colors;return{label:"singleValue",color:e?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2,maxWidth:"calc(100% - ".concat(2*i.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},bt={ClearIndicator:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({},a,{css:o("clearIndicator",t),className:i({indicator:!0,"clear-indicator":!0},n)}),e||Object(f.c)(X,null))},Control:function(t){var e=t.children,n=t.cx,i=t.getStyles,o=t.className,a=t.isDisabled,s=t.isFocused,l=t.innerRef,c=t.innerProps,d=t.menuIsOpen;return Object(f.c)("div",Object(r.a)({ref:l,css:i("control",t),className:n({control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":d},o)},c),e)},DropdownIndicator:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({},a,{css:o("dropdownIndicator",t),className:i({indicator:!0,"dropdown-indicator":!0},n)}),e||Object(f.c)(V,null))},DownChevron:V,CrossIcon:X,Group:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.Heading,s=t.headingProps,l=t.label,c=t.theme,d=t.selectProps;return Object(f.c)("div",{css:o("group",t),className:i({group:!0},n)},Object(f.c)(a,Object(r.a)({},s,{selectProps:d,theme:c,getStyles:o,cx:i}),l),Object(f.c)("div",null,e))},GroupHeading:function(t){var e=t.className,n=t.cx,a=t.getStyles,s=t.theme,l=(t.selectProps,Object(i.a)(t,["className","cx","getStyles","theme","selectProps"]));return Object(f.c)("div",Object(r.a)({css:a("groupHeading",Object(o.a)({theme:s},l)),className:n({"group-heading":!0},e)},l))},IndicatorsContainer:function(t){var e=t.children,n=t.className,i=t.cx,r=t.getStyles;return Object(f.c)("div",{css:r("indicatorsContainer",t),className:i({indicators:!0},n)},e)},IndicatorSeparator:function(t){var e=t.className,n=t.cx,i=t.getStyles,o=t.innerProps;return Object(f.c)("span",Object(r.a)({},o,{css:i("indicatorSeparator",t),className:n({"indicator-separator":!0},e)}))},Input:function(t){var e=t.className,n=t.cx,a=t.getStyles,s=t.innerRef,l=t.isHidden,c=t.isDisabled,d=t.theme,u=(t.selectProps,Object(i.a)(t,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Object(f.c)("div",{css:a("input",Object(o.a)({theme:d},u))},Object(f.c)(O.a,Object(r.a)({className:n({input:!0},e),inputRef:s,inputStyle:st(l),disabled:c},u)))},LoadingIndicator:nt,Menu:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerRef,s=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("menu",t),className:i({menu:!0},n)},s,{ref:a}),e)},MenuList:function(t){var e=t.children,n=t.className,i=t.cx,r=t.getStyles,o=t.isMulti,a=t.innerRef;return Object(f.c)("div",{css:r("menuList",t),className:i({"menu-list":!0,"menu-list--is-multi":o},n),ref:a},e)},MenuPortal:L,LoadingMessage:T,NoOptionsMessage:P,MultiValue:mt,MultiValueContainer:pt,MultiValueLabel:ht,MultiValueRemove:ft,Option:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,s=t.isFocused,l=t.isSelected,c=t.innerRef,d=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("option",t),className:i({option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":l},n),ref:c},d),e)},Placeholder:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("placeholder",t),className:i({placeholder:!0},n)},a),e)},SelectContainer:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps,s=t.isDisabled,l=t.isRtl;return Object(f.c)("div",Object(r.a)({css:o("container",t),className:i({"--is-disabled":s,"--is-rtl":l},n)},a),e)},SingleValue:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,s=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("singleValue",t),className:i({"single-value":!0,"single-value--is-disabled":a},n)},s),e)},ValueContainer:W},yt=function(t){return Object(o.a)({},bt,t.components)}},function(t,n){t.exports=e},function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return g})),n.d(e,"h",(function(){return m})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return a})),n.d(e,"k",(function(){return l})),n.d(e,"l",(function(){return r})),n.d(e,"m",(function(){return u}));var i=n(49),r=function(){};function o(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}function a(t,e,n){var i=[n];if(e&&t)for(var r in e)e.hasOwnProperty(r)&&e[r]&&i.push("".concat(o(t,r)));return i.filter((function(t){return t})).map((function(t){return String(t).trim()})).join(" ")}var s=function(t){return Array.isArray(t)?t.filter(Boolean):"object"===Object(i.a)(t)&&null!==t?[t]:[]};function l(t,e,n){if(n){var i=n(t,e);if("string"==typeof i)return i}return t}function c(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function d(t){return c(t)?window.pageYOffset:t.scrollTop}function u(t,e){c(t)?window.scrollTo(0,e):t.scrollTop=e}function p(t){var e=getComputedStyle(t),n="absolute"===e.position,i=/(auto|scroll)/,r=document.documentElement;if("fixed"===e.position)return r;for(var o=t;o=o.parentElement;)if(e=getComputedStyle(o),(!n||"static"!==e.position)&&i.test(e.overflow+e.overflowY+e.overflowX))return o;return r}function h(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,o=d(t),a=e-o,s=10,l=0;function c(){var e=h(l+=s,o,a,n);u(t,e),l<n?window.requestAnimationFrame(c):i(t)}c()}function m(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?u(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&u(t,Math.max(e.offsetTop-r,0))}function g(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function _(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}}function v(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(16);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.text,_=t.timezone,v=t.timestamp,b=t.showDate,y=void 0===b||b,x=t.showUser,w=void 0!==x&&x,O=t.hideUpdated,k=void 0!==O&&O,C=t.showTimezone,E=void 0!==C&&C,S=t.variant,j=void 0===S?"default":S,$=Object(s.a)(o),A=Object(s.c)(m),M=a()(Object(s.b)("pb_timestamp_kit",n,{dark:h,variant:j}),Object(l.c)(t),u),P=(new Date).getFullYear().toString(),T="".concat(c.a.toMonth(v,_)," ").concat(c.a.toDay(v,_)),D=1==w&&g.length>0,L=1==E&&_.length>0,N=k?"":"Last updated",I=D?" by ".concat(g):"",R="".concat(c.a.toHour(v,_),":").concat(c.a.toMinute(v,_)).concat(c.a.toMeridiem(v,_)),F=function(){return L&&(R="".concat(R," ").concat(c.a.toTimeZone(v,_))),R};return r.a.createElement("div",Object.assign({},$,A,{className:M}),r.a.createElement("div",{className:"pb_timestamp_kit"},r.a.createElement(d.a,{dark:h,size:"xs",text:function(){switch(j){case"updated":return"Last updated ".concat(I," on ").concat(T," at ").concat(R);case"elapsed":return"".concat(N," ").concat(I," ").concat(c.a.fromNow(v));default:return y?v?(t="".concat(c.a.toMonth(v,_)," ").concat(c.a.toDay(v,_)),c.a.toYear(v,_).toString()!==P&&(t="".concat(t,", ").concat(c.a.toYear(v,_))),"".concat(t," "," · "," ").concat(F())):g:F()}var t}()})))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=function(t){var e,n=t.aria,i=void 0===n?{}:n,o=t.children,c=t.className,d=t.collapse,u=void 0===d?"md":d,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.full,_=void 0!==g&&g,v=t.position,b=void 0===v?"left":v,y=t.responsive,x=void 0!==y&&y,w=t.size,O=void 0===w?"md":w,k=t.layout,C=void 0===k?"sidebar":k,E=t.variant,S=void 0===E?"light":E,j=t.transparent,$=void 0!==j&&j,A=x?"_responsive":"",M=Object(s.a)(i),P=Object(s.c)(m),T="collection"==C?"pb_layout_kit_".concat(C):"kanban"==C?"pb_layout_kit_".concat(C).concat(A):Object(s.b)("pb_layout_kit_".concat(C),"size_".concat(O),b,S,{dark:h,transparent:$,full:_}),D="collection"==C||"kanban"==C?"":Object(s.b)("layout",b,"collapse",u),L=r.a.Children.toArray(o),N=L.filter((function(t){var e;return"Side"!==(null===(e=t.type)||void 0===e?void 0:e.displayName)})),I=Object.assign({},t);return null==I||delete I.position,r.a.createElement("div",Object.assign({},M,P,{className:a()(T,D,c,Object(l.c)(I))}),(e="Side",L.filter((function(t){var n;return(null===(n=t.type)||void 0===n?void 0:n.displayName)===e})).map((function(t,n){return r.a.cloneElement(t,{key:"".concat(e.toLowerCase(),"-").concat(n)})}))),N)};c.Side=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_sidebar",Object(l.c)(t),n)},e)},c.Body=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_body",Object(l.c)(t),n)},e)},c.Item=function(t){var e=t.children,n=t.className,i=t.size,o="size_".concat(void 0===i?"sm":i);return r.a.createElement("div",{className:a()("layout_item",o,Object(l.c)(t),n)},e)},c.Header=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_header",Object(l.c)(t),n)},e)},c.Footer=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_footer",Object(l.c)(t),n)},e)},e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var i=Math.max,r=Math.min,o=Math.round},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(160),d=n(7),u=n(16),p=n(12);e.a=function(t){t.plugins&&Object(l.a)("Date Picker",["plugins"]);var e=t.allowInput,n=void 0!==e&&e,o=t.aria,h=void 0===o?{}:o,f=t.className,m=t.dark,g=void 0!==m&&m,_=t.data,v=void 0===_?{}:_,b=t.defaultDate,y=void 0===b?"":b,x=t.disableDate,w=void 0===x?null:x,O=t.disableInput,k=t.disableRange,C=void 0===k?null:k,E=t.disableWeekdays,S=void 0===E?null:E,j=t.enableTime,$=void 0!==j&&j,A=t.error,M=t.format,P=void 0===M?"m/d/Y":M,T=t.hideIcon,D=void 0!==T&&T,L=t.hideLabel,N=void 0!==L&&L,I=t.id,R=t.inLine,F=void 0!==R&&R,z=t.inputAria,B=void 0===z?{}:z,W=t.inputData,H=void 0===W?{}:W,Y=t.inputOnChange,U=t.inputValue,G=t.label,X=void 0===G?"Date Picker":G,V=t.maxDate,q=t.minDate,K=t.mode,Z=void 0===K?"single":K,J=t.name,Q=t.onChange,tt=void 0===Q?function(){}:Q,et=t.onClose,nt=t.pickerId,it=t.placeholder,rt=void 0===it?"Select Date":it,ot=t.plugins,at=void 0!==ot&&ot,st=t.position,lt=t.positionElement,ct=t.scrollContainer,dt=t.selectionType,ut=void 0===dt?"":dt,pt=t.showTimezone,ht=void 0!==pt&&pt,ft=t.staticPosition,mt=void 0===ft||ft,gt=t.thisRangesEndToday,_t=void 0!==gt&&gt,vt=t.yearRange,bt=void 0===vt?[1900,2100]:vt,yt=Object(s.a)(h),xt=Object(s.c)(v),wt=Object(s.a)(B),Ot=Object(s.c)(H);Object(i.useEffect)((function(){Object(c.a)({allowInput:n,defaultDate:y,disableDate:w,disableRange:C,disableWeekdays:S,enableTime:$,format:P,hideIcon:D,inLine:F,maxDate:V,minDate:q,mode:Z,onChange:tt,onClose:et,pickerId:nt,plugins:at,position:st,positionElement:lt,selectionType:ut,showTimezone:ht,staticPosition:mt,thisRangesEndToday:_t,yearRange:bt,required:!1},ct)}));var kt=Object.assign({},t);null==kt||delete kt.position;var Ct=a()(Object(s.b)("pb_date_picker_kit"),Object(l.c)(kt),A?"error":null,f),Et=function(){var t="cal_icon_wrapper";return g&&(t+=" dark"),N&&(t+=" no_label_shift"),A&&(t+=" error"),t};return r.a.createElement("div",Object.assign({},yt,xt,{className:Ct,id:I}),r.a.createElement("div",Object.assign({},wt,Ot,{className:"input_wrapper"}),r.a.createElement(u.a,{className:"pb_date_picker_kit_label",text:N?null:X}),r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"date_picker_input_wrapper"},r.a.createElement("input",{autoComplete:"off",className:"date_picker_input",disabled:O,id:nt,name:J,onChange:Y,placeholder:rt,value:U}),A&&r.a.createElement(p.a,{status:"negative",text:A,variant:null})),!D&&r.a.createElement("div",{className:Et(),id:"cal-icon-".concat(nt)},r.a.createElement(d.a,{className:"cal_icon",icon:"calendar-alt"})),D&&F?r.a.createElement("div",null,r.a.createElement("div",{className:Et(),id:"".concat(nt,"-icon-plus")},r.a.createElement(d.a,{className:"date-picker-plus-icon",icon:"plus"})),r.a.createElement("div",{className:Et(),id:"".concat(nt,"-angle-down")},r.a.createElement(d.a,{className:"angle_down_icon",icon:"angle-down"}))):null)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(42),d=n(123);function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,p=t.data,h=void 0===p?{}:p,f=t.name,m=void 0===f?null:f,g=t.id,_=void 0===g?"":g,v=t.imageAlt,b=void 0===v?"":v,y=t.imageUrl,x=t.size,w=void 0===x?"md":x,O=t.status,k=void 0===O?null:O,C=t.dark,E=void 0!==C&&C,S=Object(s.c)(h),j=Object(s.a)(n),$=a()(Object(s.b)("pb_avatar_kit","size_".concat(w)),Object(l.c)(t),o),A=m&&function(t){return t.split(/\s/).map((function(t){return t[0]})).join("").substring(0,2)}(m);S["data-initials"]=A;var M=u(Object(i.useState)(!1),2),P=M[0],T=M[1],D=y&&!P;return r.a.createElement("div",Object.assign({},j,S,{className:$,id:_}),r.a.createElement("div",{className:"avatar_wrapper","data-initials":A},D&&r.a.createElement(c.a,{alt:b||m,onError:function(){return T(!0)},url:y})),k&&r.a.createElement(d.a,{className:"size_".concat(w),dark:E,status:k}))}},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(147);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Object(i.a)(r.key),r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(49),r=n(4);function o(t,e){if(e&&("object"===Object(i.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(t)}},function(t,e,n){"use strict";function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(145);function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Object(i.a)(t,e)}},function(t,e,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(10),d=n(17),u=n(16),p=n(12),h=n(7),f=function(t,e){var n=t.addOn,i=void 0===n?{icon:null,alignment:"right",border:!0}:n,o=t.aria,f=void 0===o?{}:o,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=t.error,w=t.id,O=t.inline,k=void 0!==O&&O,C=t.name,E=t.label,S=t.onChange,j=void 0===S?function(){}:S,$=t.placeholder,A=t.required,M=t.type,P=void 0===M?"text":M,T=t.value,D=void 0===T?"":T,L=t.children,N=void 0===L?null:L,I=Object(l.a)(f),R=Object(l.c)(b),F=i.alignment,z=i.border,B=i.icon,W="left"===F?"left":"right",H=!1===z?"off":"on",Y="border_".concat("left"===W?"right":"left","_").concat(H),U=null!==B,G=U?"text_input_wrapper_add_on":"",X=U&&_?"add-on-card-dark":"",V=a()(["pb_text_input_kit",k?"inline":"",x?"error":"",Object(s.c)(t),m]),q=r.a.createElement(h.a,{className:"add-on-icon",dark:_,fixedWidth:!1,icon:B}),K=r.a.createElement("input",Object.assign({},Object(s.b)(t),{className:"text_input",disabled:y,id:w,key:w,name:C,onChange:j,placeholder:$,ref:e,required:A,type:P,value:D})),Z=r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"add-on-".concat(W," ").concat(Y),vertical:"center"},"left"==W&&r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"".concat(X," add-on-card card-left-aligned"),dark:_},q),K),"left"!=W&&r.a.createElement(r.a.Fragment,null,K,r.a.createElement(d.a,{className:"".concat(X," add-on-card card-right-aligned"),dark:_},q)))),J=N||(U?Z:K);return r.a.createElement("div",Object.assign({},I,R,{className:V}),E&&r.a.createElement(u.a,{className:"pb_text_input_kit_label",text:E}),r.a.createElement("div",{className:"".concat(G," text_input_wrapper")},J,x&&r.a.createElement(p.a,{status:"negative",text:x,variant:null})))};e.a=Object(i.forwardRef)(f)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,c=t.className,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.onError,f=void 0===h?null:h,m=t.rounded,g=void 0!==m&&m,_=t.size,v=void 0===_?"":_,b=t.transition,y=void 0===b?"fade":b,x=t.url,w=void 0===x?"":x,O=Object(l.a)(o),k=a()(Object(l.b)("pb_image_kit",v?"size_".concat(v):null),"lazyload",y,{rounded:g},Object(s.c)(t),c),C=Object(l.c)(u);return r.a.createElement("img",Object.assign({},O,C,{alt:n,className:k,"data-src":w,id:p,onError:f,src:w}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[0]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(6);function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?Object(arguments[e]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach((function(e){Object(i.a)(t,e,n[e])}))}return t}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(157);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.children,d=t.className,u=t.collapse,p=void 0===u?"sm":u,h=t.container,f=void 0===h||h,m=t.dark,g=t.data,_=void 0===g?{}:g,v=t.dataTable,b=void 0!==v&&v,y=t.disableHover,x=void 0!==y&&y,w=t.id,O=t.responsive,k=void 0===O?"collapse":O,C=t.singleLine,E=void 0!==C&&C,S=t.size,j=void 0===S?"sm":S,$=t.sticky,A=void 0!==$&&$,M=t.verticalBorder,P=void 0!==M&&M,T=Object(s.a)(n),D=Object(s.c)(_),L="none"!==k?"table-collapse-".concat(p):"",N=P?"vertical-border":"";return Object(i.useEffect)((function(){(new c.a).connect()}),[]),r.a.createElement("table",Object.assign({},T,D,{className:a()("pb_table","table-".concat(j),"table-responsive-".concat(k),{"table-card":f,"table-dark":m,data_table:b,"single-line":E,"no-hover":x,"sticky-header":A},Object(l.c)(t),L,N,d),id:w}),o)}},function(t,e,n){"use strict";function i(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.tabIndex,h=Object(s.a)(n),f=Object(s.c)(d),m=a()(Object(s.b)("pb_item_kit"),Object(l.c)(t),o);return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",Object.assign({},h,f,{className:m,id:u,tabIndex:p}),i))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(23),d=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,u=t.data,p=void 0===u?{}:u,h=t.disabled,f=t.icon,m=t.id,g=t.onClick,_=void 0===g?s.d:g,v=t.type,b=t.link,y=t.newWindow,x=t.variant,w=Object(s.a)(n),O=Object(s.c)(p),k=a()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:m}),r.a.createElement(c.a,{dark:o,disabled:h,htmlType:v,link:b,newWindow:y,onClick:_,text:null,variant:x},r.a.createElement(d.a,{fixedWidth:!0,icon:f})))}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,d=t.children,u=t.className,p=t.data,h=void 0===p?{}:p,f=t.dark,m=void 0!==f&&f,g=t.highlight,_=void 0===g||g,v=t.id,b=t.link,y=void 0===b?"#":b,x=t.onClick,w=void 0===x?function(){}:x,O=t.orientation,k=void 0===O?"vertical":O,C=t.title,E=void 0===C?"":C,S=t.variant,j=void 0===S?"normal":S,$=Object(s.a)(n),A=Object(s.c)(h),M=a()(Object(s.b)("pb_nav_list",j,k,{highlight:_,borderless:o}),Object(l.c)(t),u);return r.a.createElement("nav",Object.assign({},$,A,{className:M,id:v}),E&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:y,onClick:w},r.a.createElement(c.a,{dark:m,size:"md",text:"".concat(E)}))),r.a.createElement("ul",null,d))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(24);function r(t){return((Object(i.a)(t)?t.ownerDocument:t.document)||window.document).documentElement}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.closeProps,d=void 0===o?{}:o,u=t.data,p=void 0===u?{}:u,h=t.id,f=t.removeIcon,m=void 0!==f&&f,g=t.removeOnClick,_=t.rounded,v=void 0!==_&&_,b=t.text,y=t.variant,x=void 0===y?"neutral":y,w=Object(l.a)(n),O=Object(l.c)(p),k=a()(Object(l.b)("pb_badge_kit","success"===x?"success_sm":x,v?"rounded":null),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:h}),r.a.createElement("span",null,b,m&&r.a.createElement("span",Object.assign({onClick:g,style:{cursor:"pointer"}},d),r.a.createElement(c.a,{fixedWidth:!0,icon:"times"}))))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(8),r=n.n(i),o=n(9),a=n.n(o),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.bg_dark],[1,r.a.bg_dark]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{type:"area",nullColor:r.a.text_lt_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_lt_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(a.a.text_small),fontWeight:a.a.bold,fontFamily:"".concat(a.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var i=n(22),r=function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},o=function(t){return Object(i.isEmpty)(t)?t:t.split(" ").map(r).join(" ")},a=function(t){return!Object(i.isEmpty)(t)},s=function(t,e){return Object(i.filter)(t,a).join(e)},l=function(t){return t.split(/([A-Z])/g).map((function(t,e){var n=e>0?"_":"";return t===t.toLowerCase()?t:n+t.toLowerCase()})).join("")}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.lineStyle,f=void 0===h?"solid":h,m=t.orientation,g=void 0===m?"horizontal":m,_=t.text,v=t.dark,b=void 0!==v&&v,y=t.variant,x=void 0===y?"card":y,w=Object(s.a)(n),O=Object(s.c)(u),k=a()(Object(s.b)("pb_section_separator_kit",x,g,"dashed"===f?f:""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:p}),i&&i||_&&r.a.createElement("span",null,r.a.createElement(c.a,{text:_,dark:b})))}},function(t,e,n){"use strict";function i(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(40);function r(t){return Object(i.a)(t).getComputedStyle(t)}},function(t,e,n){"use strict";function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(r=i.key,o=void 0,"symbol"==typeof(o=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"))?o:String(o)),i)}var r,o}n.d(e,"a",(function(){return u}));var s=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;o(this,t),this.matchDelegate=e,this.target=n}var e,n,r;return e=t,(n=[{key:"mutationObserver",get:function(){var t=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(e){return t.processMutationList(e)}))}},{key:"start",value:function(){this.mutationObserver.observe(this.target,{attributes:!0,childList:!0,subtree:!0}),this.catchup()}},{key:"stop",value:function(){this.mutationObserverdisconnect()}},{key:"catchup",value:function(){this.handleAdditions(this.matchDelegate.matches(this.target))}},{key:"processMutationList",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAttributeChange",value:function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=this.matchDelegate.matches(t);if(0===e.length)return this.matchDelegate.removeMatch(t);this.handleAdditions(e)}}},{key:"processRemovedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAddedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleRemovals",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.removeMatch(r)}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleAdditions",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.addMatch(r)}}catch(t){n.e(t)}finally{n.f()}}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(r=i.key,o=void 0,"symbol"==typeof(o=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"))?o:String(o)),i)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e}var e,n,i;return e=t,i=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new s(this)}},{key:"selector",get:function(){return console.warn("Define a static property for selector or redefine the matches function in a subclass.",this),null}},{key:"matches",value:function(t){if(!this.selector)return[];var e=[];return t.nodeType===Node.ELEMENT_NODE&&t.matches(this.selector)&&e.push(t),e.push.apply(e,l(t.querySelectorAll(this.selector))),e}},{key:"addMatch",value:function(t){if(!t._pbEnhanced&&!this.elements.has(t)){var e=new this(t);e.connect(),this.elements.set(t,e),t._pbEnhanced=e}}},{key:"removeMatch",value:function(t){this.elements.has(t)&&(this.elements.get(t).disconnect(),this.elements.delete(t))}},{key:"start",value:function(){this.observer.start()}},{key:"stop",value:function(){this.mutationObserver.stop()}}],(n=[{key:"connect",value:function(){console.warn("Redefine the connect function in a subclass.",this)}},{key:"disconnect",value:function(){}}])&&d(e.prototype,n),i&&d(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(16),u=n(14);function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var f={lg:1,md:3,sm:4};e.a=function(t){var e,n=t.abbreviate,i=void 0!==n&&n,o=t.align,h=void 0===o?"left":o,m=t.aria,g=void 0===m?{}:m,_=t.amount,v=t.data,b=void 0===v?{}:v,y=t.decimals,x=void 0===y?"default":y,w=t.emphasized,O=void 0===w||w,k=t.id,C=t.unit,E=t.className,S=t.label,j=void 0===S?"":S,$=t.size,A=void 0===$?"sm":$,M=t.symbol,P=void 0===M?"$":M,T=t.variant,D=void 0===T?"default":T,L=t.dark,N=void 0!==L&&L,I=O?"":"_deemphasized";"sm"===A&&("light"===D?e="_light":"bold"===D&&(e="_bold"));var R=p(_.split("."),2),F=R[0],z=R[1],B=void 0===z?"00":z,W=Object(l.a)(g),H=Object(l.c)(b),Y=a()(Object(l.b)("pb_currency_kit",h,A),Object(s.c)(t),E),U=function(t){var e,n="".concat((e=F.split(",").join(""),new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(e))),i="unit"===t;return"amount"===t?n.slice(0,-1):i?n.slice(-1):""},G="matching"===x?_:F,X="matching"===x?"":".".concat(B),V=i?U("amount"):G,q=i?U("unit"):null,K=i?"":X;return r.a.createElement("div",Object.assign({},W,H,{className:Y,id:k}),r.a.createElement(d.a,null,j),r.a.createElement("div",{className:"pb_currency_wrapper".concat(e||I)},r.a.createElement(c.a,{className:"dollar_sign",color:"light",dark:N},P),r.a.createElement(u.a,{className:"pb_currency_value",dark:N,size:f[A]},V),r.a.createElement(c.a,{className:"unit",color:"light",dark:N},q,C?r.a.createElement(r.a.Fragment,null,C):r.a.createElement(r.a.Fragment,null,K))))}},function(t,e,n){"use strict";var i=n(85);e.a=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Object(i.a)(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return Z}));var i=n(56),r=n(21),o=n(79),a=n(44),s=n(35),l=n(36),c=n(37),d=n(38),u=n(39),p=n(4),h=n(6),f=n(0),m=n.n(f),g=n(88),_=n(20),v=n(28),b=n(29),y=n(27),x=n(60),w=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],O=function(t){for(var e=0;e<w.length;e++)t=t.replace(w[e].letters,w[e].base);return t},k=function(t){return t.replace(/^\s+|\s+$/g,"")},C=function(t){return"".concat(t.label," ").concat(t.value)},E={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},S=function(t){return Object(_.c)("span",Object(r.a)({css:E},t))},j=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=(t.in,t.out,t.onExited,t.appear,t.enter,t.exit,t.innerRef),n=(t.emotion,Object(i.a)(t,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Object(_.c)("input",Object(r.a)({ref:e},n,{css:Object(x.a)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}}]),e}(f.Component),$=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(v.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),e}(f.Component),A=["boxSizing","height","overflow","paddingRight","position"],M={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function P(t){t.preventDefault()}function T(t){t.stopPropagation()}function D(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function L(){return"ontouchstart"in window||navigator.maxTouchPoints}var N=!(!window.document||!window.document.createElement),I=0,R=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"originalStyles",{}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"listenerOptions",{capture:!1,passive:!1}),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){var t=this;if(N){var e=this.props,n=e.accountForScrollbars,i=e.touchScrollTarget,r=document.body,o=r&&r.style;if(n&&A.forEach((function(e){var n=o&&o[e];t.originalStyles[e]=n})),n&&I<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+a||0;Object.keys(M).forEach((function(t){var e=M[t];o&&(o[t]=e)})),o&&(o.paddingRight="".concat(l,"px"))}r&&L()&&(r.addEventListener("touchmove",P,this.listenerOptions),i&&(i.addEventListener("touchstart",D,this.listenerOptions),i.addEventListener("touchmove",T,this.listenerOptions))),I+=1}}},{key:"componentWillUnmount",value:function(){var t=this;if(N){var e=this.props,n=e.accountForScrollbars,i=e.touchScrollTarget,r=document.body,o=r&&r.style;I=Math.max(I-1,0),n&&I<1&&A.forEach((function(e){var n=t.originalStyles[e];o&&(o[e]=n)})),r&&L()&&(r.removeEventListener("touchmove",P,this.listenerOptions),i&&(i.removeEventListener("touchstart",D,this.listenerOptions),i.removeEventListener("touchmove",T,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),e}(f.Component);Object(h.a)(R,"defaultProps",{accountForScrollbars:!0});var F={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},z=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"state",{touchScrollTarget:null}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(t){t!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.isEnabled,i=this.state.touchScrollTarget;return n?Object(_.c)("div",null,Object(_.c)("div",{onClick:this.blurSelectInput,css:F}),Object(_.c)($,{innerRef:this.getScrollTarget},e),i?Object(_.c)(R,{touchScrollTarget:i}):null):e}}]),e}(f.PureComponent),B=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isBottom",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isTop",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"scrollTarget",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"touchStart",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"cancelScroll",(function(t){t.preventDefault(),t.stopPropagation()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"handleEventDelta",(function(t,e){var i=n.props,r=i.onBottomArrive,o=i.onBottomLeave,a=i.onTopArrive,s=i.onTopLeave,l=n.scrollTarget,c=l.scrollTop,d=l.scrollHeight,u=l.clientHeight,p=n.scrollTarget,h=e>0,f=d-u-c,m=!1;f>e&&n.isBottom&&(o&&o(t),n.isBottom=!1),h&&n.isTop&&(s&&s(t),n.isTop=!1),h&&e>f?(r&&!n.isBottom&&r(t),p.scrollTop=d,m=!0,n.isBottom=!0):!h&&-e>c&&(a&&!n.isTop&&a(t),p.scrollTop=0,m=!0,n.isTop=!0),m&&n.cancelScroll(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onWheel",(function(t){n.handleEventDelta(t,t.deltaY)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(t){n.touchStart=t.changedTouches[0].clientY})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(t){var e=n.touchStart-t.changedTouches[0].clientY;n.handleEventDelta(t,e)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(t){n.scrollTarget=t})),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(t){t&&("function"==typeof t.addEventListener&&t.addEventListener("wheel",this.onWheel,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(t){"function"==typeof t.removeEventListener&&t.removeEventListener("wheel",this.onWheel,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return m.a.createElement($,{innerRef:this.getScrollTarget},this.props.children)}}]),e}(f.Component),W=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=t.isEnabled,n=Object(i.a)(t,["isEnabled"]);return e?m.a.createElement(B,n):this.props.children}}]),e}(f.Component);Object(h.a)(W,"defaultProps",{isEnabled:!0});var H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isSearchable,i=e.isMulti,r=e.label,o=e.isDisabled;switch(t){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(r||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Y=function(t,e){var n=e.value,i=e.isDisabled;if(n)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,i?" is disabled. Select another option.":", selected.")}},U=function(t){return!!t.isDisabled},G={clearIndicator:y.d,container:y.b,control:y.c,dropdownIndicator:y.e,group:y.h,groupHeading:y.f,indicatorsContainer:y.j,indicatorSeparator:y.g,input:y.i,loadingIndicator:y.m,loadingMessage:y.k,menu:y.n,menuList:y.l,menuPortal:y.o,multiValue:y.p,multiValueLabel:y.q,multiValueRemove:y.r,noOptionsMessage:y.s,option:y.t,placeholder:y.u,singleValue:y.v,valueContainer:y.w};var X,V={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},q={backspaceRemovesValue:!0,blurInputOnSelect:Object(b.i)(),captureMenuScroll:!Object(b.i)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){var n=Object(a.a)({ignoreCase:!0,ignoreAccents:!0,stringify:C,trim:!0,matchFrom:"any"},X),i=n.ignoreCase,r=n.ignoreAccents,o=n.stringify,s=n.trim,l=n.matchFrom,c=s?k(e):e,d=s?k(o(t)):o(t);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),r&&(c=O(c),d=O(d)),"start"===l?d.substr(0,c.length)===c:d.indexOf(c)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:U,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(b.d)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},K=1,Z=function(t){function e(t){var n;Object(s.a)(this,e),n=Object(c.a)(this,Object(d.a)(e).call(this,t)),Object(h.a)(Object(p.a)(Object(p.a)(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blockOptionHover",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isComposing",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"clearFocusValueOnUpdate",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"commonProps",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"components",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"hasGroups",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"initialTouchX",0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"initialTouchY",0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"inputIsHiddenAfterUpdate",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"instancePrefix",""),Object(h.a)(Object(p.a)(Object(p.a)(n)),"openAfterFocus",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"scrollToFocusedOptionOnUpdate",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"userIsDragging",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"controlRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getControlRef",(function(t){n.controlRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"focusedOptionRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getFocusedOptionRef",(function(t){n.focusedOptionRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"menuListRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getMenuListRef",(function(t){n.menuListRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"inputRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getInputRef",(function(t){n.inputRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"cacheComponents",(function(t){n.components=Object(y.x)({components:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"focus",n.focusInput),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blur",n.blurInput),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onChange",(function(t,e){var i=n.props,r=i.onChange,o=i.name;r(t,Object(a.a)({},e,{name:o}))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"setValue",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",i=arguments.length>2?arguments[2]:void 0,r=n.props,o=r.closeMenuOnSelect,a=r.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(t,{action:e,option:i})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"selectOption",(function(t){var e=n.props,i=e.blurInputOnSelect,r=e.isMulti,a=n.state.selectValue;if(r)if(n.isOptionSelected(t,a)){var s=n.getOptionValue(t);n.setValue(a.filter((function(t){return n.getOptionValue(t)!==s})),"deselect-option",t),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(t)}})}else n.isOptionDisabled(t,a)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t),isDisabled:!0}}):(n.setValue([].concat(Object(o.a)(a),[t]),"select-option",t),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}}));else n.isOptionDisabled(t,a)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t),isDisabled:!0}}):(n.setValue(t,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}}));i&&n.blurInput()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"removeValue",(function(t){var e=n.state.selectValue,i=n.getOptionValue(t),r=e.filter((function(t){return n.getOptionValue(t)!==i}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:t}),n.announceAriaLiveSelection({event:"remove-value",context:{value:t?n.getOptionLabel(t):""}}),n.focusInput()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"clearValue",(function(){var t=n.props.isMulti;n.onChange(t?[]:null,{action:"clear"})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"popValue",(function(){var t=n.state.selectValue,e=t[t.length-1],i=t.slice(0,t.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:e?n.getOptionLabel(e):""}}),n.onChange(i.length?i:null,{action:"pop-value",removedValue:e})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getOptionLabel",(function(t){return n.props.getOptionLabel(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getOptionValue",(function(t){return n.props.getOptionValue(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getStyles",(function(t,e){var i=G[t](e);i.boxSizing="border-box";var r=n.props.styles[t];return r?r(i,e):i})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getElementId",(function(t){return"".concat(n.instancePrefix,"-").concat(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getActiveDescendentId",(function(){var t=n.props.menuIsOpen,e=n.state,i=e.menuOptions,r=e.focusedOption;if(r&&t){var o=i.focusable.indexOf(r),a=i.render[o];return a&&a.key}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveSelection",(function(t){var e=t.event,i=t.context;n.setState({ariaLiveSelection:Y(e,i)})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveContext",(function(t){var e=t.event,i=t.context;n.setState({ariaLiveContext:H(e,Object(a.a)({},i,{label:n.props["aria-label"]}))})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseDown",(function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),n.focusInput())})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseMove",(function(t){n.blockOptionHover=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onControlMouseDown",(function(t){var e=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==t.target.tagName&&n.onMenuClose():e&&n.openMenu("first"):(e&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==t.target.tagName&&t.preventDefault()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorMouseDown",(function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||n.props.isDisabled)){var e=n.props,i=e.isMulti,r=e.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!i,n.onMenuClose()):n.openMenu("first"),t.preventDefault(),t.stopPropagation()}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorMouseDown",(function(t){t&&"mousedown"===t.type&&0!==t.button||(n.clearValue(),t.stopPropagation(),n.openAfterFocus=!1,"touchend"===t.type?n.focusInput():setTimeout((function(){return n.focusInput()})))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onScroll",(function(t){"boolean"==typeof n.props.closeMenuOnScroll?t.target instanceof HTMLElement&&Object(b.e)(t.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(t)&&n.props.onMenuClose()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onCompositionStart",(function(){n.isComposing=!0})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onCompositionEnd",(function(){n.isComposing=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(t){var e=t.touches.item(0);e&&(n.initialTouchX=e.clientX,n.initialTouchY=e.clientY,n.userIsDragging=!1)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(t){var e=t.touches.item(0);if(e){var i=Math.abs(e.clientX-n.initialTouchX),r=Math.abs(e.clientY-n.initialTouchY);n.userIsDragging=i>5||r>5}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchEnd",(function(t){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(t.target)&&n.menuListRef&&!n.menuListRef.contains(t.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onControlTouchEnd",(function(t){n.userIsDragging||n.onControlMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorTouchEnd",(function(t){n.userIsDragging||n.onClearIndicatorMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorTouchEnd",(function(t){n.userIsDragging||n.onDropdownIndicatorMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"handleInputChange",(function(t){var e=t.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(e,{action:"input-change"}),n.onMenuOpen()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onInputFocus",(function(t){var e=n.props,i=e.isSearchable,r=e.isMulti;n.props.onFocus&&n.props.onFocus(t),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:i,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onInputBlur",(function(t){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(t),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onOptionHover",(function(t){n.blockOptionHover||n.state.focusedOption===t||n.setState({focusedOption:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"shouldHideSelectedOptions",(function(){var t=n.props,e=t.hideSelectedOptions,i=t.isMulti;return void 0===e?i:e})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onKeyDown",(function(t){var e=n.props,i=e.isMulti,r=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,l=e.isDisabled,c=e.menuIsOpen,d=e.onKeyDown,u=e.tabSelectsValue,p=e.openMenuOnFocus,h=n.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof d&&(d(t),t.defaultPrevented))){switch(n.blockOptionHover=!0,t.key){case"ArrowLeft":if(!i||a)return;n.focusValue("previous");break;case"ArrowRight":if(!i||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)n.removeValue(m);else{if(!r)return;i?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(t.shiftKey||!c||!u||!f||p&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===t.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&o&&n.clearValue();break;case" ":if(a)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}t.preventDefault()}}));var i=t.value;n.cacheComponents=Object(g.a)(n.cacheComponents,y.y).bind(Object(p.a)(Object(p.a)(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++K);var r=Object(b.f)(i),l=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=l,n.state.selectValue=r,n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=this.props,n=e.options,i=e.value,r=e.menuIsOpen,o=e.inputValue;if(this.cacheComponents(t.components),t.value!==i||t.options!==n||t.menuIsOpen!==r||t.inputValue!==o){var a=Object(b.f)(t.value),s=t.menuIsOpen?this.buildMenuOptions(t,a):{render:[],focusable:[]},l=this.getNextFocusedValue(a),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:a,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,i=e.menuIsOpen,r=this.state.isFocused;(r&&!n&&t.isDisabled||r&&i&&!t.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&Object(b.h)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var t=this.props,e=t.isSearchable,n=t.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:e,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this.state,n=e.menuOptions,i=e.selectValue,r=e.isFocused,o=this.props.isMulti,a="first"===t?0:n.focusable.length-1;if(!o){var s=n.focusable.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(t){var e=this.props,n=e.isMulti,i=e.isSearchable,r=this.state,o=r.selectValue,a=r.focusedValue;if(n){this.setState({focusedOption:null});var s=o.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=o.length-1,c=-1;if(o.length){switch(t){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:i,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state,i=n.focusedOption,r=n.menuOptions,o=r.focusable;if(o.length){var a=0,s=o.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===t?a=s>0?s-1:o.length-1:"down"===t?a=(s+1)%o.length:"pageup"===t?(a=s-e)<0&&(a=0):"pagedown"===t?(a=s+e)>o.length-1&&(a=o.length-1):"last"===t&&(a=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:U(o[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(V):Object(a.a)({},V,this.props.theme):V}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.getStyles,n=this.setValue,i=this.selectOption,r=this.props,o=r.classNamePrefix,a=r.isMulti,s=r.isRtl,l=r.options,c=this.state.selectValue,d=this.hasValue();return{cx:b.j.bind(null,o),clearValue:t,getStyles:e,getValue:function(){return c},hasValue:d,isMulti:a,isRtl:s,options:l,selectOption:i,setValue:n,selectProps:r,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(t){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var e=this.state,n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}},{key:"getNextFocusedOption",value:function(t){var e=this.state.focusedOption;return e&&t.indexOf(e)>-1?e:t[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(t,e)}},{key:"isOptionSelected",value:function(t,e){var n=this;if(e.indexOf(t)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(t,e);var i=this.getOptionValue(t);return e.some((function(t){return n.getOptionValue(t)===i}))}},{key:"filterOption",value:function(t,e){return!this.props.filterOption||this.props.filterOption(t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:i})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(t,e){var n=this,i=t.inputValue,r=void 0===i?"":i,o=t.options,a=function(t,i){var o=n.isOptionDisabled(t,e),a=n.isOptionSelected(t,e),s=n.getOptionLabel(t),l=n.getOptionValue(t);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:s,value:l,data:t},r))){var c=o?void 0:function(){return n.onOptionHover(t)},d=o?void 0:function(){return n.selectOption(t)},u="".concat(n.getElementId("option"),"-").concat(i);return{innerProps:{id:u,onClick:d,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:t,isDisabled:o,isSelected:a,key:u,label:s,type:"option",value:l}}};return o.reduce((function(t,e,i){if(e.options){n.hasGroups||(n.hasGroups=!0);var r=e.options.map((function(e,n){var r=a(e,"".concat(i,"-").concat(n));return r&&t.focusable.push(e),r})).filter(Boolean);if(r.length){var o="".concat(n.getElementId("group"),"-").concat(i);t.render.push({type:"group",key:o,data:e,options:r})}}else{var s=a(e,"".concat(i));s&&(t.render.push(s),t.focusable.push(e))}return t}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var t=this.state,e=t.ariaLiveContext,n=t.selectValue,i=t.focusedValue,r=t.focusedOption,o=this.props,a=o.options,s=o.menuIsOpen,l=o.inputValue,c=o.screenReaderStatus,d=i?function(t){var e=t.focusedValue,n=t.getOptionLabel,i=t.selectValue;return"value ".concat(n(e)," focused, ").concat(i.indexOf(e)+1," of ").concat(i.length,".")}({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:n}):"",u=r&&s?function(t){var e=t.focusedOption,n=t.getOptionLabel,i=t.options;return"option ".concat(n(e)," focused").concat(e.isDisabled?" disabled":"",", ").concat(i.indexOf(e)+1," of ").concat(i.length,".")}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:a}):"",p=function(t){var e=t.inputValue,n=t.screenReaderMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(d," ").concat(u," ").concat(p," ").concat(e)}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,i=t.inputId,o=t.inputValue,a=t.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,c=i||this.getElementId("input");if(!n)return m.a.createElement(j,{id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:b.l,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:a,value:""});var d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},u=this.commonProps,p=u.cx,h=u.theme,f=u.selectProps;return m.a.createElement(s,Object(r.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:e,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:f,spellCheck:"false",tabIndex:a,theme:h,type:"text",value:o},d))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.components,n=e.MultiValue,i=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,c=this.commonProps,d=this.props,u=d.controlShouldRenderValue,p=d.isDisabled,h=d.isMulti,f=d.inputValue,g=d.placeholder,_=this.state,v=_.selectValue,b=_.focusedValue,y=_.isFocused;if(!this.hasValue()||!u)return f?null:m.a.createElement(l,Object(r.a)({},c,{key:"placeholder",isDisabled:p,isFocused:y}),g);if(h)return v.map((function(e,s){var l=e===b;return m.a.createElement(n,Object(r.a)({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:t.getOptionValue(e),index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))}));if(f)return null;var x=v[0];return m.a.createElement(s,Object(r.a)({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.components.ClearIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return m.a.createElement(t,Object(r.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.components.LoadingIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!t||!o)return null;return m.a.createElement(t,Object(r.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.components,e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return m.a.createElement(n,Object(r.a)({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.components.DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return m.a.createElement(t,Object(r.a)({},e,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var t=this,e=this.components,n=e.Group,o=e.GroupHeading,a=e.Menu,s=e.MenuList,l=e.MenuPortal,c=e.LoadingMessage,d=e.NoOptionsMessage,u=e.Option,p=this.commonProps,h=this.state,f=h.focusedOption,g=h.menuOptions,_=this.props,v=_.captureMenuScroll,b=_.inputValue,x=_.isLoading,w=_.loadingMessage,O=_.minMenuHeight,k=_.maxMenuHeight,C=_.menuIsOpen,E=_.menuPlacement,S=_.menuPosition,j=_.menuPortalTarget,$=_.menuShouldBlockScroll,A=_.menuShouldScrollIntoView,M=_.noOptionsMessage,P=_.onMenuScrollToTop,T=_.onMenuScrollToBottom;if(!C)return null;var D,L=function(e){var n=f===e.data;return e.innerRef=n?t.getFocusedOptionRef:void 0,m.a.createElement(u,Object(r.a)({},p,e,{isFocused:n}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())D=g.render.map((function(e){if("group"===e.type){e.type;var a=Object(i.a)(e,["type"]),s="".concat(e.key,"-heading");return m.a.createElement(n,Object(r.a)({},p,a,{Heading:o,headingProps:{id:s},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return L(t)})))}if("option"===e.type)return L(e)}));else if(x){var N=w({inputValue:b});if(null===N)return null;D=m.a.createElement(c,p,N)}else{var I=M({inputValue:b});if(null===I)return null;D=m.a.createElement(d,p,I)}var R={minMenuHeight:O,maxMenuHeight:k,menuPlacement:E,menuPosition:S,menuShouldScrollIntoView:A},F=m.a.createElement(y.a,Object(r.a)({},p,R),(function(e){var n=e.ref,i=e.placerProps,o=i.placement,l=i.maxHeight;return m.a.createElement(a,Object(r.a)({},p,R,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:x,placement:o}),m.a.createElement(W,{isEnabled:v,onTopArrive:P,onBottomArrive:T},m.a.createElement(z,{isEnabled:$},m.a.createElement(s,Object(r.a)({},p,{innerRef:t.getMenuListRef,isLoading:x,maxHeight:l}),D))))}));return j||"fixed"===S?m.a.createElement(l,Object(r.a)({},p,{appendTo:j,controlElement:this.controlRef,menuPlacement:E,menuPosition:S}),F):F}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,i=e.isDisabled,r=e.isMulti,o=e.name,a=this.state.selectValue;if(o&&!i){if(r){if(n){var s=a.map((function(e){return t.getOptionValue(e)})).join(n);return m.a.createElement("input",{name:o,type:"hidden",value:s})}var l=a.length>0?a.map((function(e,n){return m.a.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})})):m.a.createElement("input",{name:o,type:"hidden"});return m.a.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return m.a.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?m.a.createElement(S,{"aria-live":"polite"},m.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),m.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var t=this.components,e=t.Control,n=t.IndicatorsContainer,i=t.SelectContainer,o=t.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,d=a.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return m.a.createElement(i,Object(r.a)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:u}),this.renderLiveRegion(),m.a.createElement(e,Object(r.a)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:u,menuIsOpen:d}),m.a.createElement(o,Object(r.a)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),m.a.createElement(n,Object(r.a)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),e}(f.Component);Object(h.a)(Z,"defaultProps",q)},function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));var i=n(11),r=n(40),o=n(51),a=n(103),s=n(143);var l=n(57),c=n(104),d=n(32);var u=n(108),p=n(78),h=n(24),f=n(73),m=n(83),g=n(144),_=n(46);function v(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function b(t,e,n){return e===i.o?v(function(t,e){var n=Object(r.a)(t),i=Object(o.a)(t),l=n.visualViewport,c=i.clientWidth,d=i.clientHeight,u=0,p=0;if(l){c=l.width,d=l.height;var h=Object(s.a)();(h||!h&&"fixed"===e)&&(u=l.offsetLeft,p=l.offsetTop)}return{width:c,height:d,x:u+Object(a.a)(t),y:p}}(t,n)):Object(h.a)(e)?function(t,e){var n=Object(f.a)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):v(function(t){var e,n=Object(o.a)(t),i=Object(c.a)(t),r=null==(e=t.ownerDocument)?void 0:e.body,s=Object(d.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Object(d.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),p=-i.scrollLeft+Object(a.a)(t),h=-i.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(p+=Object(d.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:u,x:p,y:h}}(Object(o.a)(t)))}function y(t,e,n,i){var r="clippingParents"===e?function(t){var e=Object(u.a)(Object(m.a)(t)),n=["absolute","fixed"].indexOf(Object(l.a)(t).position)>=0&&Object(h.b)(t)?Object(p.a)(t):t;return Object(h.a)(n)?e.filter((function(t){return Object(h.a)(t)&&Object(g.a)(t,n)&&"body"!==Object(_.a)(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(e,n){var r=b(t,n,i);return e.top=Object(d.a)(r.top,e.top),e.right=Object(d.b)(r.right,e.right),e.bottom=Object(d.b)(r.bottom,e.bottom),e.left=Object(d.a)(r.left,e.left),e}),b(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var x=n(137),w=n(140),O=n(142);function k(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=void 0===r?t.placement:r,s=n.strategy,l=void 0===s?t.strategy:s,c=n.boundary,d=void 0===c?i.d:c,u=n.rootBoundary,p=void 0===u?i.o:u,m=n.elementContext,g=void 0===m?i.i:m,_=n.altBoundary,b=void 0!==_&&_,k=n.padding,C=void 0===k?0:k,E=Object(w.a)("number"!=typeof C?C:Object(O.a)(C,i.b)),S=g===i.i?i.j:i.i,j=t.rects.popper,$=t.elements[b?S:g],A=y(Object(h.a)($)?$:$.contextElement||Object(o.a)(t.elements.popper),d,p,l),M=Object(f.a)(t.elements.reference),P=Object(x.a)({reference:M,element:j,strategy:"absolute",placement:a}),T=v(Object.assign({},j,P)),D=g===i.i?T:M,L={top:A.top-D.top+E.top,bottom:D.bottom-A.bottom+E.bottom,left:A.left-D.left+E.left,right:D.right-A.right+E.right},N=t.modifiersData.offset;if(g===i.i&&N){var I=N[a];Object.keys(L).forEach((function(t){var e=[i.k,i.c].indexOf(t)>=0?1:-1,n=[i.m,i.c].indexOf(t)>=0?"y":"x";L[t]+=I[n]*e}))}return L}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,d=void 0!==o&&o,u=t.data,p=void 0===u?{}:u,h=t.icon,f=t.id,m=t.size,g=void 0===m?"md":m,_=t.variant,v=void 0===_?"default":_,b=Object(s.a)(n),y=Object(s.c)(p),x=a()(Object(s.b)("pb_icon_circle_kit",g,v),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},b,y,{className:x,id:f}),r.a.createElement(c.a,{dark:d,icon:h}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(12),u=n(16),p=n(7);e.a=function(t){var e=t.align,n=t.className,i=t.date,o=t.showIcon,h=t.size,f=t.timeZone,m=t.unstyled,g=void 0!==m&&m,_=t.showTimezone,v=void 0===_||_,b=a()(Object(s.b)("pb_time_kit",e,h),Object(l.c)(t),n);return r.a.createElement("div",{className:b},o&&(g?r.a.createElement("span",null,r.a.createElement(p.a,{fixedWidth:!0,icon:"clock"})," "):r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{color:"light",tag:"span"},r.a.createElement(p.a,{fixedWidth:!0,icon:"clock",size:"md"===h?"":"sm"})," "))),r.a.createElement("time",{dateTime:i.toString()},r.a.createElement("span",null,g?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",null,c.a.toTimeWithMeridiem(i,f))," ",v&&r.a.createElement("span",null,c.a.toTimeZone(i,f))):"md"===h?r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"pb_time",tag:"span",text:c.a.toTimeWithMeridiem(i,f)})," ",v&&r.a.createElement(d.a,{color:"light",tag:"span",text:c.a.toTimeZone(i,f)})):r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{color:"light",tag:"span",text:c.a.toTimeWithMeridiem(i,f)})," ",v&&r.a.createElement(u.a,{color:"light",tag:"span",text:c.a.toTimeZone(i,f)})))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7),d=n(82),u=n(10),p=n(96),h=n(17);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.checked,f=void 0!==o&&o,m=t.className,g=t.customIcon,_=t.dark,v=void 0!==_&&_,b=t.data,y=void 0===b?{}:b,x=t.disabled,w=void 0!==x&&x,O=t.error,k=void 0!==O&&O,C=t.icon,E=void 0!==C&&C,S=t.inputId,j=void 0===S?null:S,$=t.multi,A=void 0===$||$,M=t.name,P=t.onChange,T=void 0===P?l.d:P,D=t.text,L=t.value,N=t.variant,I=void 0===N?"default":N,R=Object(l.a)(n),F=Object(l.c)(y),z=a()(Object(l.b)("pb_selectable_card_kit",{checked:f,disabled:w,enabled:!w}),{error:k},v?"dark":"",m),B=Object(i.useRef)(null),W=A?"checkbox":"radio",H=null!==j?j:M,Y=A?d.a:p.a,U=Object.assign({},t);null==U||delete U.inputId,null==U||delete U.children,null==U||delete U.icon,null==U||delete U.error,null==U||delete U.dark,null==U||delete U.multi,null==U||delete U.customIcon;var G="displayInput"===I?Object.assign(Object.assign({},U),{padding:"none"}):Object.assign({},U);return r.a.createElement("div",Object.assign({},R,F,{className:z}),r.a.createElement("input",Object.assign({checked:f,disabled:w,id:H,name:M,onChange:T,ref:B,type:W,value:L},U)),r.a.createElement("label",{className:Object(s.c)(G),htmlFor:H},r.a.createElement("div",{className:"buffer"},"displayInput"===I?r.a.createElement(u.a,{vertical:"center"},r.a.createElement(u.a,{orientation:"column",padding:"sm",paddingRight:"xs",vertical:"center"},r.a.createElement(Y,{dark:v},r.a.createElement("input",{checked:f,disabled:w,onClick:function(){B.current.click()},readOnly:!0,type:W}))),r.a.createElement("div",{className:"separator"}),r.a.createElement("div",{className:"psuedo_separator"}),r.a.createElement(h.a,{borderNone:!0,dark:v,padding:"sm",status:k?"negative":null},D||t.children)):D||t.children,function(){if(!0===E)return r.a.createElement("div",{className:"pb_selectable_card_circle"},r.a.createElement(c.a,{customIcon:g,fixedWidth:!0,icon:"check"}))}())))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(16),u=n(14),p={sm:4,md:3};e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.bold,o=void 0!==i&&i,h=t.reverse,f=void 0!==h&&h,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.date,b=t.data,y=void 0===b?{}:b,x=t.size,w=void 0===x?"sm":x,O=a()(Object(s.b)("pb_date_stacked_kit",n,w,{dark:_,reverse:f}),Object(l.c)(t),m),k=(new Date).getFullYear(),C=c.a.toYear(v),E=Object(s.c)(y);return r.a.createElement(r.a.Fragment,null,0==o?r.a.createElement("div",Object.assign({},E,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(d.a,{text:c.a.toMonth(v).toUpperCase()}),r.a.createElement(u.a,{dark:_,size:p[w],text:c.a.toDay(v).toString()})),k!=C&&r.a.createElement(d.a,{size:"xs"},C)):r.a.createElement("div",Object.assign({},E,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(u.a,{bold:!0,dark:_,size:"4",text:c.a.toMonth(v)}),r.a.createElement(u.a,{bold:!0,dark:_,size:"4",text:c.a.toDay(v).toString()}),k!=C&&r.a.createElement(u.a,{size:"4"},C))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(7);e.a=function(t){var e=t.className,n=t.data,i=void 0===n?{}:n,o=t.status,c=void 0===o?"inactive":o,d=t.children,u=t.icon,p=void 0===u?"check":u,h=Object(s.b)("pb_progress_step_item",c),f=Object(s.c)(i);return r.a.createElement("li",Object.assign({},f,{className:a()(h,e)}),r.a.createElement("div",{className:"box"},r.a.createElement("div",{className:"circle"},r.a.createElement(l.a,{icon:p})),r.a.createElement("div",{className:"content"},d)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(66),c=n(63),d=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,l=t.data,c=void 0===l?{}:l,d=t.id,u=t.orientation,p=void 0===u?"horizontal":u,h=t.showDate,f=void 0!==h&&h,m=Object(s.a)(n),g=Object(s.c)(c),_=!0===f?"_with_date":"",v=Object(s.b)("pb_timeline_kit","_".concat(p),_);return r.a.createElement("div",Object.assign({},m,g,{className:a()(v,i),id:d}),o)};d.Item=function(t){var e=t.className,n=t.children,i=t.date,o=t.icon,d=void 0===o?"user":o,u=t.iconColor,p=void 0===u?"default":u,h=t.lineStyle,f=void 0===h?"solid":h,m=Object(s.b)("pb_timeline_item_kit",f);return r.a.createElement("div",{className:a()(m,e)},r.a.createElement("div",{className:"pb_timeline_item_left_block"},i&&r.a.createElement(l.a,{align:"center",date:i,size:"sm"})),r.a.createElement("div",{className:"pb_timeline_item_step"},r.a.createElement(c.a,{icon:d,size:"xs",variant:p}),r.a.createElement("div",{className:"pb_timeline_item_connector"})),r.a.createElement("div",{className:"pb_timeline_item_right_block"},n))};e.a=d},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(70),l=n.n(s),c=n(114),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71),g=n(5),_=n(2);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},x=function(t){var e=document.querySelector("#wrapper-circle-chart-".concat(t.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(t.target.renderTo.id));null!==e&&(e.style.height="".concat(t.target.chartHeight,"px"),e.style.width="".concat(t.target.chartWidth,"px"),n.firstChild.before(e))};e.a=function(t){var e=t.align,n=void 0===e?"center":e,o=t.aria,s=void 0===o?{}:o,c=t.rounded,u=void 0!==c&&c,b=t.borderColor,w=void 0===b?u?null:"":b,O=t.borderWidth,k=void 0===O?u?20:null:O,C=t.chartData,E=t.children,S=(t.className,t.colors),j=void 0===S?[]:S,$=t.dark,A=void 0!==$&&$,M=t.data,P=void 0===M?{}:M,T=t.dataLabelHtml,D=void 0===T?"<div>{point.name}</div>":T,L=t.dataLabels,N=void 0!==L&&L,I=t.height,R=t.id,F=t.innerSize,z=void 0===F?"md":F,B=t.legend,W=void 0!==B&&B,H=t.maxPointSize,Y=void 0===H?null:H,U=t.minPointSize,G=void 0===U?null:U,X=t.startAngle,V=void 0===X?null:X,q=t.style,K=void 0===q?"pie":q,Z=t.title,J=t.tooltipHtml,Q=t.useHtml,tt=void 0!==Q&&Q,et=t.zMin,nt=void 0===et?null:et,it=t.layout,rt=void 0===it?"horizontal":it,ot=t.verticalAlign,at=void 0===ot?"bottom":ot,st=t.x,lt=void 0===st?0:st,ct=t.y,dt=void 0===ct?0:ct,ut=y(t,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","dark","data","dataLabelHtml","dataLabels","height","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),pt=Object(_.a)(s),ht=Object(_.c)(P);d()(p.a);A?p.a.setOptions(f.a):p.a.setOptions(h.a),p.a.setOptions({tooltip:{headerFormat:null,pointFormat:J||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:tt}});var ft={sm:"35%",md:"50%",lg:"85%",none:"0%"},mt=v(Object(i.useState)({}),2),gt=mt[0],_t=mt[1];return Object(i.useEffect)((function(){var t,e=C.map((function(t){return t.y=t.value,delete t.value,t})),i={title:{text:Z},chart:{height:I,type:K,events:{render:function(t){return x(t)},redraw:function(t){return x(t)}}},legend:{align:n,verticalAlign:at,layout:rt,x:lt,y:dt},plotOptions:{pie:{colors:j.length>0?Object(m.a)(j):h.a.colors,dataLabels:{enabled:N,connectorShape:"straight",connectorWidth:3,format:D},showInLegend:W}},series:[{minPointSize:G,maxPointSize:Y,innerSize:20==k?"100%":(t=z,ft[t]),data:e,zMin:nt,startAngle:V,borderWidth:k,borderColor:w}],credits:!1};_t(Object.assign({},i))}),[C]),r.a.createElement(r.a.Fragment,null,E?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(R)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:a()("pb_circle_chart",Object(g.c)(ut)),id:R},pt),ht),highcharts:p.a,options:gt}),r.a.createElement("div",{className:"pb-circle-chart-block"},E)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:a()("pb_circle_chart",Object(g.c)(ut)),id:R},pt),ht),highcharts:p.a,options:gt}))}},function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n(0),function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"HighchartsReact",(function(){return d}));var s=n(1),l=n.n(s),c="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,d=Object(s.memo)(Object(s.forwardRef)((function(t,e){var n=Object(s.useRef)(),o=Object(s.useRef)(),d=Object(s.useRef)(t.constructorType),u=Object(s.useRef)(t.highcharts);return c((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,i=t.constructorType||"chart";e?e[i]?t.options?o.current=e[i](n.current,t.options,t.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(o.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==d.current||t.highcharts!==u.current)d.current=t.constructorType,u.current=t.highcharts,e();else if(!t.immutable&&o.current){var i;(i=o.current).update.apply(i,[t.options].concat(r(t.updateArgs||[!0,!0])))}else e()}else e()}),[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),c((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:n}}),[]),l.a.createElement("div",i({},t.containerProps,{ref:n}))})));e.default=d},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";var i=n(8),r=n.n(i);e.a=function(t){var e=/(data)\-[1-8]/;return t.map((function(t){return e.test(t)?"".concat(r.a["data_".concat(t[t.length-1])]):t}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[1]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(24),r=n(32),o=n(40),a=n(143);function s(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,c=1;e&&Object(i.b)(t)&&(l=t.offsetWidth>0&&Object(r.c)(s.width)/t.offsetWidth||1,c=t.offsetHeight>0&&Object(r.c)(s.height)/t.offsetHeight||1);var d=(Object(i.a)(t)?Object(o.a)(t):window).visualViewport,u=!Object(a.a)()&&n,p=(s.left+(u&&d?d.offsetLeft:0))/l,h=(s.top+(u&&d?d.offsetTop:0))/c,f=s.width/l,m=s.height/c;return{width:f,height:m,top:h,right:p+f,bottom:h+m,left:p,x:p,y:h}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(14),l=n(7),c=n(34),d=n(5);e.a=function(t){var e=t.className,n=t.id,i=t.text,o=t.name,u=t.onClick,p=void 0===u?function(){}:u,h=t.avatarUrl,f=t.closeProps,m=void 0===f?{}:f,g=t.size,_=void 0===g?"":g,v=t.textTransform,b=void 0===v?"none":v,y=a()("pb_form_pill_kit_".concat("primary"),Object(d.c)(t),e,"small"===_?"small":null,b);return r.a.createElement("div",{className:y,id:n},o&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{imageUrl:h,name:o,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:o})),i&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:i}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:p},m),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(t,e,n){"use strict";n(56),n(21),n(79),n(44);var i=n(35),r=n(36),o=n(37),a=n(38),s=n(39),l=n(4),c=n(6),d=n(0),u=n.n(d),p=n(88),h=n(20),f=(n(28),n(49),n(61)),m=(n(60),n(99),n(100),n(84)),g=n(115),_=(d.Component,Object(m.a)(f.a));e.a=_},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(28),a=n.n(o),s=i.createContext(),l=i.createContext();function c(t){var e=t.children,n=i.useState(null),r=n[0],o=n[1],a=i.useRef(!1);i.useEffect((function(){return function(){a.current=!0}}),[]);var c=i.useCallback((function(t){a.current||o(t)}),[]);return i.createElement(s.Provider,{value:r},i.createElement(l.Provider,{value:c},e))}var d=function(t){return Array.isArray(t)?t[0]:t},u=function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},p=function(t,e){if("function"==typeof t)return u(t,e);null!=t&&(t.current=e)},h=function(t){return t.reduce((function(t,e){var n=e[0],i=e[1];return t[n]=i,t}),{})},f="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,m=n(256),g=n(205),_=n.n(g),v=[],b=function(){},y=function(){return Promise.resolve(null)},x=[];function w(t){var e=t.placement,n=void 0===e?"bottom":e,r=t.strategy,a=void 0===r?"absolute":r,l=t.modifiers,c=void 0===l?x:l,u=t.referenceElement,g=t.onFirstUpdate,w=t.innerRef,O=t.children,k=i.useContext(s),C=i.useState(null),E=C[0],S=C[1],j=i.useState(null),$=j[0],A=j[1];i.useEffect((function(){p(w,E)}),[w,E]);var M=i.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:g,modifiers:[].concat(c,[{name:"arrow",enabled:null!=$,options:{element:$}}])}}),[n,a,g,c,$]),P=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||v},s=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],c=s[1],d=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);o.flushSync((function(){c({styles:h(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:h(n.map((function(t){return[t,e.attributes[t]]})))})}))},requires:["computeStyles"]}}),[]),u=i.useMemo((function(){var t={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[d,{name:"applyStyles",enabled:!1}])};return _()(r.current,t)?r.current||t:(r.current=t,t)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,d]),p=i.useRef();return f((function(){p.current&&p.current.setOptions(u)}),[u]),f((function(){if(null!=t&&null!=e){var i=(n.createPopper||m.a)(t,e,u);return p.current=i,function(){i.destroy(),p.current=null}}}),[t,e,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(u||k,E,M),T=P.state,D=P.styles,L=P.forceUpdate,N=P.update,I=i.useMemo((function(){return{ref:S,style:D.popper,placement:T?T.placement:n,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:D.arrow,ref:A},forceUpdate:L||b,update:N||y}}),[S,A,n,T,D,N,L]);return d(O)(I)}var O=n(166),k=n.n(O);function C(t){var e=t.children,n=t.innerRef,r=i.useContext(l),o=i.useCallback((function(t){p(n,t),u(r,t)}),[n,r]);return i.useEffect((function(){return function(){return p(n,null)}}),[]),i.useEffect((function(){k()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),d(e)({ref:o})}var E=n(2),S=n(3),j=n.n(S),$=n(5),A=n(204),M=n.n(A);function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var D={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},L=function(t){var e=t.modifiers;return t.offset?e.concat([D.offset]):e},N=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,a=t.data,s=void 0===a?{}:a,l=t.id,c=t.modifiers,d=t.offset,u=t.placement,p=t.referenceElement,h=t.zIndex,f=t.maxHeight,m=t.maxWidth,g=t.minHeight,_=t.minWidth,v=t.targetId,b=Object($.c)(t).includes("dark")||!Object($.c)(t)?"p_sm":Object($.c)(t),y=f||m?"overflow_handling":"",x=h?{zIndex:h}:{},O=Object(E.a)(n),k=Object(E.c)(s),C=j()(Object(E.b)("pb_popover_kit"),Object($.c)(t),i);return r.a.createElement(w,{modifiers:L({modifiers:c,offset:d}),placement:u,referenceElement:p},(function(t){var e=t.placement,n=t.ref,i=t.style;return r.a.createElement("div",Object.assign({},O,k,{className:C,"data-placement":e,id:l,ref:n,style:Object.assign({},i,x)}),r.a.createElement("div",{className:j()("".concat(Object(E.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:j()("pb_popover_body",b,y),id:v,style:Object.assign({},f?{maxHeight:f}:{},m?{maxWidth:m}:{},g?{minHeight:g}:{},_?{minWidth:_}:{})},o)))}))};e.a=function(t){var e=P(Object(i.useState)(M()("id-")),1)[0],n=t.className,o=t.children,s=t.modifiers,l=void 0===s?[]:s,d=t.offset,u=void 0!==d&&d,p=t.placement,h=void 0===p?"left":p,f=t.portal,m=void 0===f?"body":f,g=t.reference,_=t.referenceElement,v=t.show,b=void 0!==v&&v,y=t.usePortal,x=void 0===y||y,w=t.zIndex,O=t.maxHeight,k=t.maxWidth,S=t.minHeight,j=t.minWidth;Object(i.useEffect)((function(){var n=t.closeOnClick,i=t.shouldClosePopover,r=void 0===i?E.d:i;n&&document.body.addEventListener("click",(function(t){var i=t.target,o=null!==i.closest("#"+e),a=null!==i.closest("#reference-"+e);switch(n){case"outside":o||a||r(!0);break;case"inside":o&&r(!0);break;case"any":(o||!o&&!a)&&r(!0)}}),{capture:!0})}),[]);var $=r.a.createElement(N,Object.assign({className:n,maxHeight:O,maxWidth:k,minHeight:S,minWidth:j,modifiers:l,offset:u,placement:h,referenceElement:_,targetId:e,zIndex:w},t),o);return r.a.createElement(c,null,r.a.createElement(r.a.Fragment,null,g&&!_&&r.a.createElement(C,null,(function(t){var n=t.ref;return r.a.createElement("span",{id:"reference-"+e,className:"pb_popover_reference_wrapper",ref:n},r.a.createElement(g.type,Object.assign({},g.props)))})),b&&(x?r.a.createElement(r.a.Fragment,null,a.a.createPortal($,document.querySelector(m))):{popoverComponent:$})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(8),r=n.n(i),o=n(9),a=n.n(o),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.card_light],[1,r.a.card_light]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,type:"area",nullColor:r.a.text_dk_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_dk_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(a.a.text_small),fontWeight:a.a.bold,fontFamily:"".concat(a.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(40),r=n(46),o=n(57),a=n(24);function s(t){return["table","td","th"].indexOf(Object(r.a)(t))>=0}var l=n(83),c=n(121);function d(t){return Object(a.b)(t)&&"fixed"!==Object(o.a)(t).position?t.offsetParent:null}function u(t){for(var e=Object(i.a)(t),n=d(t);n&&s(n)&&"static"===Object(o.a)(n).position;)n=d(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(o.a)(n).position)?e:n||function(t){var e=/firefox/i.test(Object(c.a)());if(/Trident/i.test(Object(c.a)())&&Object(a.b)(t)&&"fixed"===Object(o.a)(t).position)return null;var n=Object(l.a)(t);for(Object(a.c)(n)&&(n=n.host);Object(a.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var i=Object(o.a)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}},function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,c=t.children,d=t.className,u=t.dark,p=void 0!==u&&u,h=t.data,f=void 0===h?{}:h,m=t.id,g=t.layout,_=void 0===g?"":g,v=t.ordered,b=void 0!==v&&v,y=t.role,x=t.size,w=void 0===x?"":x,O=t.tabIndex,k=t.xpadding,C=void 0!==k&&k,E=t.variant,S=t.text,j=r.a.Children.map(c,(function(t){return r.a.cloneElement(t,{text:S,variant:E})})),$=Object(s.a)(n),A=Object(s.c)(f),M=a()(Object(s.b)("pb_list_kit",{left:"layout_left",right:"layout_right",default:""}[_],w,{dark:p,borderless:o,ordered:b,xpadding:C}),Object(l.c)(t),d);return r.a.createElement("div",{className:M},b?r.a.createElement("ol",Object.assign({},$,A,{className:d,id:m,role:y,tabIndex:O}),j):r.a.createElement("ul",Object.assign({},$,A,{className:d,id:m,role:y,tabIndex:O}),j))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(16),u=n(7),p=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},h=function(t,e){var n=t.aria,i=void 0===n?{}:n,o=t.blankSelection,h=t.children,f=t.className,m=t.compact,g=void 0!==m&&m,_=t.data,v=void 0===_?{}:_,b=t.disabled,y=void 0!==b&&b,x=t.error,w=t.label,O=t.inline,k=void 0!==O&&O,C=t.multiple,E=void 0!==C&&C,S=t.name,j=t.onChange,$=void 0===j?function(){}:j,A=t.options,M=void 0===A?[]:A,P=t.required,T=void 0!==P&&P,D=t.value,L=p(t,["aria","blankSelection","children","className","compact","data","disabled","error","label","inline","multiple","name","onChange","options","required","value"]),N=Object(s.a)(i),I=Object(s.c)(v),R=function(t){return t.map((function(t,e){return r.a.createElement("option",{disabled:t.disabled,key:e,value:t.value},t.text||t.value)}))}(M),F=k?"inline":null,z=g?"compact":null,B=a()(Object(s.b)("pb_select"),Object(l.c)(Object.assign(Object.assign({},L),{marginBottom:L.marginBottom||L.margin||"sm"})),f,F,z),W=a()(Object(s.b)("pb_select_kit_wrapper"),{error:x},f),H=h||r.a.createElement("select",Object.assign({},Object(l.b)(L),{disabled:y,id:S,multiple:E,name:S,onChange:$,ref:e,required:T,value:D}),o&&r.a.createElement("option",{value:""},o),R);return r.a.createElement("div",Object.assign({},N,I,{className:B}),w&&r.a.createElement("label",{className:"pb_select_kit_label",htmlFor:S},r.a.createElement(d.a,{text:w})),r.a.createElement("label",{className:W,htmlFor:S},H,!0!==E?r.a.createElement(u.a,{className:"pb_select_kit_caret",fixedWidth:!0,icon:"angle-down"}):null,x&&r.a.createElement(c.a,{status:"negative",text:x})))};e.a=Object(i.forwardRef)(h)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(12),a=n(7),s=n(2),l=n(3),c=n.n(l),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,l=t.checked,u=void 0!==l&&l,p=t.children,h=t.className,f=t.dark,m=void 0!==f&&f,g=t.data,_=void 0===g?{}:g,v=t.error,b=void 0!==v&&v,y=t.id,x=t.indeterminate,w=void 0!==x&&x,O=t.name,k=void 0===O?"":O,C=t.onChange,E=void 0===C?function(){}:C,S=t.tabIndex,j=t.text,$=void 0===j?"":j,A=t.value,M=void 0===A?"":A,P=Object(i.useRef)(null),T=Object(s.c)(_),D=Object(s.a)(n),L=c()(Object(s.b)("pb_checkbox_kit",u?"checked":null,b?"error":null,w?"indeterminate":null),Object(d.c)(t),h);Object(i.useEffect)((function(){P.current&&(P.current.checked=u,P.current.indeterminate=w)}),[w,u]);return r.a.createElement("label",Object.assign({},D,T,{className:L,id:y}),r.a.createElement(r.a.Fragment,null,p||r.a.createElement("input",{defaultChecked:u,name:k,onChange:E,ref:P,tabIndex:S,type:"checkbox",value:M})),!w&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(a.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),w&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(a.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(o.a,{className:"pb_checkbox_label",dark:m,status:b?"negative":null,variant:null},$))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(46),r=n(51),o=n(24);function a(t){return"html"===Object(i.a)(t)?t:t.assignedSlot||t.parentNode||(Object(o.c)(t)?t.host:null)||Object(r.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var i=n(56),r=n(21),o=n(35),a=n(36),s=n(37),l=n(38),c=n(39),d=n(4),u=n(6),p=n(0),h=n.n(p),f={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},m=function(t){var e,n;return n=e=function(e){function n(){var t,e;Object(o.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return e=Object(s.a)(this,(t=Object(l.a)(n)).call.apply(t,[this].concat(r))),Object(u.a)(Object(d.a)(Object(d.a)(e)),"select",void 0),Object(u.a)(Object(d.a)(Object(d.a)(e)),"state",{inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue}),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onChange",(function(t,n){e.callProp("onChange",t,n),e.setState({value:t})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onInputChange",(function(t,n){var i=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==i?i:t})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onMenuOpen",(function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onMenuClose",(function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})})),e}return Object(c.a)(n,e),Object(a.a)(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(t){return void 0!==this.props[t]?this.props[t]:this.state[t]}},{key:"callProp",value:function(t){if("function"==typeof this.props[t]){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(e=this.props)[t].apply(e,i)}}},{key:"render",value:function(){var e=this,n=this.props,o=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Object(i.a)(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return h.a.createElement(t,Object(r.a)({},o,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(p.Component),Object(u.a)(e,"defaultProps",f),n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=function(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!=typeof t},c=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),d=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(a,(function(t,e,n){return p={name:e,styles:n,next:p},e}))}return 1===r[t]||s(t)||"number"!=typeof e||0===e?e:e+"px"};function u(t,e,n,i){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=u(t,e,n[r],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?i+=o+"{"+e[a]+"}":l(a)&&(i+=c(o)+":"+d(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=u(t,e,a,!1);switch(o){case"animation":case"animationName":i+=c(o)+":"+s+";";break;default:i+=o+"{"+s+"}"}}else for(var p=0;p<a.length;p++)l(a[p])&&(i+=c(o)+":"+d(o,a[p])+";")}return i}(t,e,n);case"function":if(void 0!==t){var o=p,a=n(t);return p=o,u(t,e,a,i)}break;case"string":}if(null==e)return n;var s=e[n];return void 0===s||i?n:s}var p,h=/label:\s*([^\s;\n{]+)\s*;/g;var f=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,o="";p=void 0;var a=t[0];null==a||void 0===a.raw?(r=!1,o+=u(n,e,a,!1)):o+=a[0];for(var s=1;s<t.length;s++)o+=u(n,e,t[s],46===o.charCodeAt(o.length-1)),r&&(o+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(o));)c+="-"+l[1];return{name:i(o)+c,styles:o,next:p}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.data,h=void 0===p?{}:p,f=t.detail,m=t.id,g=t.title,_=Object(l.a)(o),v=Object(l.c)(h),b=Object(l.b)("pb_title_detail_kit",n);return r.a.createElement("div",Object.assign({},_,v,{className:a()(b,Object(s.c)(t),u),id:m}),r.a.createElement(d.a,{size:4,text:g}),r.a.createElement(c.a,{color:"light",text:f}))}},function(t,e,n){"use strict";var i=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(t,e){return!1!==e.clone&&e.isMergeableObject(t)?d((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function a(t,e,n){return t.concat(e).map((function(t){return o(t,n)}))}function s(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function l(t,e){try{return e in t}catch(t){return!1}}function c(t,e,n){var i={};return n.isMergeableObject(t)&&s(t).forEach((function(e){i[e]=o(t[e],n)})),s(e).forEach((function(r){(function(t,e){return l(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(l(t,r)&&n.isMergeableObject(e[r])?i[r]=function(t,e){if(!e.customMerge)return d;var n=e.customMerge(t);return"function"==typeof n?n:d}(r,n)(t[r],e[r],n):i[r]=o(e[r],n))})),i}function d(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=o;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):c(t,e,n):o(e,n)}d.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return d(t,n,e)}),{})};var u=d;t.exports=u},function(t,e,n){"use strict";var i=function(t,e){return t===e};e.a=function(t,e){var n;void 0===e&&(e=i);var r,o=[],a=!1,s=function(t,n){return e(t,o[n],n)};return function(){for(var e=arguments.length,i=new Array(e),l=0;l<e;l++)i[l]=arguments[l];return a&&n===this&&i.length===o.length&&i.every(s)||(r=t.apply(this,i),a=!0,n=this,o=i),r}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(158),l=n(2),c=n(5),d=n(12),u=n(16),p=n(10),h=n(15),f=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},m=function(t,e){var n=t.aria,o=void 0===n?{}:n,m=t.characterCount,g=t.className,_=t.children,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=t.inline,w=void 0!==x&&x,O=t.resize,k=void 0===O?"none":O,C=t.error,E=t.label,S=t.maxCharacters,j=t.name,$=t.onChange,A=void 0===$?function(){}:$,M=t.placeholder,P=t.required,T=t.rows,D=void 0===T?4:T,L=t.value,N=f(t,["aria","characterCount","className","children","data","disabled","inline","resize","error","label","maxCharacters","name","onChange","placeholder","required","rows","value"]);e=Object(i.useRef)(null),Object(i.useEffect)((function(){e.current&&"auto"===k&&s.a.addMatch(e.current)}));var I=C?"error":null,R=w?"inline":"",F="resize_".concat(k),z=a()("pb_textarea_kit",I,R,F,Object(c.c)(N),g),B=void 0!==m,W=Object(l.a)(o),H=Object(l.c)(b),Y=function(){return S&&m?"".concat(U(m)," / ").concat(S):"".concat(U(m))},U=function(t){return 0==t?t.toString():t};return r.a.createElement("div",Object.assign({},W,H,{className:z}),r.a.createElement(u.a,{text:E}),_||r.a.createElement("textarea",Object.assign({className:"pb_textarea_kit",disabled:y,name:j,onChange:A,placeholder:M,ref:e,required:P,rows:D,value:L},N)),C?r.a.createElement(r.a.Fragment,null,m?r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(h.a,null,r.a.createElement(d.a,{margin:"none",status:"negative",text:C})),r.a.createElement(h.a,null,r.a.createElement(u.a,{margin:"none",size:"xs",text:Y()}))):r.a.createElement(d.a,{status:"negative",text:C})):B&&r.a.createElement(u.a,{margin:"none",size:"xs",text:Y()}))};e.a=Object(i.forwardRef)(m)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(10),d=n(64),u=n(181);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.className,h=t.data,f=void 0===h?{}:h,m=t.showDayOfWeek,g=void 0!==m&&m,_=t.datetime,v=t.id,b=t.showIcon,y=void 0!==b&&b,x=t.size,w=void 0===x?"md":x,O=t.timeZone,k=void 0===O?"America/New_York":O,C=Object(s.a)(o),E=Object(s.c)(f),S=a()(Object(s.b)("pb_date_time",w),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},C,E,{className:S,id:v}),r.a.createElement(c.a,{horizontal:n,vertical:"baseline"},r.a.createElement(u.a,{showDayOfWeek:g,size:w,value:_}),r.a.createElement(d.a,{date:_,marginLeft:"sm",showIcon:y,size:w,timeZone:k})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=n(32);function r(t,e,n){return Object(i.a)(t,Object(i.b)(e,n))}function o(t,e,n){var i=r(t,e,n);return i>n?n:i}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(7),c=n(14);function d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var h={success:"check",error:"exclamation-triangle",neutral:"info-circle",tip:"info-circle"};e.a=function(t){var e=u(Object(i.useState)(!0),2),n=e[0],o=e[1],p=t.autoClose,f=void 0===p?0:p,m=t.children,g=t.className,_=t.closeable,v=void 0!==_&&_,b=t.horizontal,y=t.multiLine,x=void 0!==y&&y,w=t.onClose,O=void 0===w?function(){}:w,k=t.open,C=void 0===k||k,E=t.status,S=void 0===E?"neutral":E,j=t.text,$=t.vertical,A=a()("pb_fixed_confirmation_toast_kit_".concat(S),{_multi_line:x},d({},"positioned_toast ".concat($," ").concat(b),$&&b),Object(s.c)(t),g),M=h[S];Object(i.useEffect)((function(){o(C),f&&C&&setTimeout((function(){o(!1),O()}),f)}),[C]);return r.a.createElement(r.a.Fragment,null,n&&r.a.createElement("div",{className:A,onClick:function(){o(!v),O()}},M&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!0,icon:M}),m&&m||j&&r.a.createElement(c.a,{className:"pb_fixed_confirmation_toast_text",size:4,text:j}),v&&r.a.createElement(l.a,{className:"pb_icon",cursor:"pointer",fixedWidth:!1,icon:"times"})))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(65),u=n(120);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.checkmark,o=void 0!==i&&i,p=t.checked,h=void 0!==p&&p,f=t.className,m=t.customIcon,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=void 0!==y&&y,w=t.icon,O=t.inputId,k=t.multi,C=void 0===k||k,E=t.name,S=t.titleText,j=t.bodyText,$=t.value,A=t.onChange,M=Object(l.a)(n),P=Object(l.c)(b),T=a()(Object(l.b)("pb_selectable_card_icon_kit",{checked:h,disabled:x,enabled:!x}),Object(s.c)(t),f);return r.a.createElement("div",Object.assign({},M,P,{className:T}),r.a.createElement(d.a,{checked:h,customIcon:m,dark:_,disabled:x,icon:o,inputId:O,multi:C,name:E,onChange:A,value:$},r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{customIcon:m,icon:w,inputId:"",inputs:"disabled",name:"",text:S}),r.a.createElement(c.a,{color:"light",dark:_,text:j}))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(54),c=n(34),d=n(12),u=n(16),p=n(63),h=n(14);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,f=void 0===o?{}:o,m=t.hideIcon,g=void 0!==m&&m,_=t.id,v=t.source,b=t.type,y=void 0===b?"inbound":b,x=t.user,w=void 0===x?{}:x,O=Object(s.c)(f),k=Object(s.a)(n),C=a()(["pb_source_kit",i]),E=function(){if(("user"===y||"referral"===y)&&void 0!==w.name){var t=Object.assign({},w);return t.size="sm",delete t.userId,t}},S=function(){return"user"!==y&&void 0===E()};return r.a.createElement("div",Object.assign({},k,O,{className:C,id:_}),r.a.createElement("div",{className:"pb__source_layout"},!1===g&&r.a.createElement(r.a.Fragment,null,S()&&r.a.createElement(p.a,{icon:{events:"calendar-alt",outbound:"sign-out",prospecting:"binoculars",referral:"handshake",retail:"shopping-bag",inbound:"sign-in"}[y],size:"sm"}),!S()&&r.a.createElement(c.a,Object.assign({},E()))),r.a.createElement("div",{className:"pb__source_content"},r.a.createElement(h.a,{size:4,tag:"h4",text:v}),r.a.createElement("div",{className:"pb__source_value"},r.a.createElement(d.a,{color:"light",text:"user"===y||"referral"===y&&void 0!==w.name?w.name:Object(l.c)(y)}),w.userId&&r.a.createElement(u.a,{text:w.userId})))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,c=void 0===o?{}:o,d=t.fullWidth,u=void 0!==d&&d,p=t.id,h=t.children,f=Object(s.a)(n),m=Object(s.c)(c),g=a()(Object(s.b)("pb_form_group_kit",{full:u}),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},f,m,{className:g,id:p}),h)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(12),a=n(3),s=n.n(a),l=n(2),c=n(5),d=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},u=function(t,e){var n=t.aria,i=void 0===n?{}:n,a=t.alignment,u=t.children,p=t.className,h=t.dark,f=void 0!==h&&h,m=t.data,g=void 0===m?{}:m,_=t.error,v=void 0!==_&&_,b=t.id,y=t.label,x=t.name,w=void 0===x?"radio_name":x,O=t.text,k=void 0===O?"Radio Text":O,C=t.value,E=void 0===C?"radio_text":C,S=t.onChange,j=void 0===S?function(){}:S,$=d(t,["aria","alignment","children","className","dark","data","error","id","label","name","text","value","onChange"]),A=Object(l.a)(i),M=Object(l.c)(g),P=s()(Object(l.b)("pb_radio_kit",a),f?"dark":null,v?"error":null,Object(c.c)($),p);return r.a.createElement("label",Object.assign({},A,M,{className:P,htmlFor:b}),r.a.createElement(r.a.Fragment,null,function(t){return u||r.a.createElement("input",Object.assign({id:b,name:w,onChange:j,ref:e,text:k,type:"radio",value:E},t))}($)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(o.a,{dark:f,status:v?"negative":null,text:y,variant:null}))};e.a=Object(i.forwardRef)(u)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(16),u=n(48),p=n(10),h=n(7),f=n(76),m=n(41);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,_=t.confirmation,v=void 0!==_&&_,b=t.data,y=void 0===b?{}:b,x=t.dark,w=void 0!==x&&x,O=t.id,k=t.inputProps,C=void 0===k?{}:k,E=t.label,S=void 0===E?v?"Confirm Passphrase":"Passphrase":E,j=t.onChange,$=void 0===j?function(){}:j,A=t.showTipsBelow,M=void 0===A?"always":A,P=t.tips,T=void 0===P?[]:P,D=t.uncontrolled,L=void 0!==D&&D,N=t.value,I=void 0===N?"":N,R=g(Object(i.useState)(""),2),F=R[0],z=R[1],B=g(Object(i.useState)(!1),2),W=B[0],H=B[1],Y=g(Object(i.useState)(!1),2),U=Y[0],G=Y[1],X=Object(i.useCallback)((function(t){return L?z(t.target.value):$(t)}),[L,$]),V=Object(i.useMemo)((function(){return L?F:I}),[I,F,L]),q=a()("passphrase-popover","always"===M?null:"show-below-".concat(M)),K=Object(s.a)(n),Z=a()(Object(s.b)("pb_passphrase"),Object(l.c)(t),o),J=Object(s.c)(y),Q=r.a.createElement(u.a,{className:q,dark:w,icon:"info-circle",onClick:function(){return H(!W)},variant:"link"});return r.a.createElement("div",Object.assign({},K,J,{className:Z,id:O}),r.a.createElement("label",null,r.a.createElement(p.a,{align:"baseline"},r.a.createElement(d.a,{className:"passphrase-label",text:S}),T.length>0&&!v&&r.a.createElement(f.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:Q,shouldClosePopover:function(t){H(!t)},show:W},r.a.createElement(p.a,{align:"center",orientation:"column"},r.a.createElement(d.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,T.map((function(t,e){return r.a.createElement(d.a,{key:e,marginBottom:"xs",size:"xs"},r.a.createElement(h.a,{icon:"shield-check",marginRight:"xs"}),t)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(m.a,Object.assign({className:"passphrase-text-input",dark:w,marginBottom:"xs",onChange:X,placeholder:"Enter a passphrase...",type:U?"text":"password",value:V},C)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(t){t.preventDefault(),G(!U)}},r.a.createElement(c.a,{className:U?"hide-icon":"",color:"light",dark:w},r.a.createElement(h.a,{icon:"eye-slash"})),r.a.createElement(c.a,{className:U?"":"hide-icon",color:"light",dark:w},r.a.createElement(h.a,{icon:"eye"}))))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(12),u=n(10),p=n(30),h=n(14),f=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.avatarName,o=t.avatarStatus,f=void 0===o?null:o,m=t.avatarUrl,g=t.children,_=t.className,v=t.data,b=void 0===v?{}:v,y=t.id,x=t.label,w=t.message,O=t.timestamp,k=t.timestampObject,C=t.timezone,E=t.alignTimestamp,S=void 0===E?"right":E,j=Object(s.a)(n),$=Object(s.c)(b),A=m||i,M=A?"pb_message_kit_avatar":"pb_message_kit",P=a()(Object(s.b)(M),Object(l.c)(t),_);return r.a.createElement("div",Object.assign({},j,$,{className:P,id:y}),A&&r.a.createElement(c.a,{imageUrl:m,name:i,size:"xs",status:f}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{justify:"left"===S?"none":"between",orientation:"row"},x&&r.a.createElement(h.a,{className:"message_title",size:4,text:x}),r.a.createElement(p.a,{className:"pull-".concat(S," ").concat(k?"message_humanized_time":null),text:O,timestamp:"",timezone:C}),k&&r.a.createElement(p.a,{className:"pull-".concat(S," message_timestamp"),text:"",timestamp:k,timezone:C})),w&&r.a.createElement(d.a,{className:"pb_message_body",text:w}),g))};f.Mention=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.variant,h=void 0===p?"user":p,f=Object(s.a)(n),m=Object(s.c)(d),g=a()(Object(s.b)("pb_message_mention",h),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},f,m,{className:g,id:u}),i)};e.a=f},function(t,e,n){"use strict";function i(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=l(o),s=l(n(13));function l(t){return t&&t.__esModule?t:{default:t}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},d=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],u=function(t,e){e.style.fontSize=t.fontSize,e.style.fontFamily=t.fontFamily,e.style.fontWeight=t.fontWeight,e.style.fontStyle=t.fontStyle,e.style.letterSpacing=t.letterSpacing,e.style.textTransform=t.textTransform},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),h=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},f=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.inputRef=function(t){n.input=t,"function"==typeof n.props.inputRef&&n.props.inputRef(t)},n.placeHolderSizerRef=function(t){n.placeHolderSizer=t},n.sizerRef=function(t){n.sizer=t},n.state={inputWidth:t.minWidth,inputId:t.id||h()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.id;e!==this.props.id&&this.setState({inputId:e||h()})}},{key:"componentDidUpdate",value:function(t,e){e.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var t=this.input&&window.getComputedStyle(this.input);t&&(u(t,this.sizer),this.placeHolderSizer&&u(t,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var t=void 0;t=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(t+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(t=this.props.minWidth),t!==this.state.inputWidth&&this.setState({inputWidth:t})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var t=this.props.injectStyles;return p&&t?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var t=[this.props.defaultValue,this.props.value,""].reduce((function(t,e){return null!=t?t:e})),e=i({},this.props.style);e.display||(e.display="inline-block");var n=i({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(this.props,[]);return function(t){d.forEach((function(e){return delete t[e]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",i({},r,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}(o.Component);f.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},f.defaultProps={minWidth:1,injectStyles:!0},e.default=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var i=n(73),r=n(104),o=n(40),a=n(24);var s=n(46),l=n(103),c=n(51),d=n(105),u=n(32);function p(t,e,n){void 0===n&&(n=!1);var p,h,f=Object(a.b)(e),m=Object(a.b)(e)&&function(t){var e=t.getBoundingClientRect(),n=Object(u.c)(e.width)/t.offsetWidth||1,i=Object(u.c)(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),g=Object(c.a)(e),_=Object(i.a)(t,m,n),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!n)&&(("body"!==Object(s.a)(e)||Object(d.a)(g))&&(v=(p=e)!==Object(o.a)(p)&&Object(a.b)(p)?{scrollLeft:(h=p).scrollLeft,scrollTop:h.scrollTop}:Object(r.a)(p)),Object(a.b)(e)?((b=Object(i.a)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):g&&(b.x=Object(l.a)(g))),{x:_.left+v.scrollLeft-b.x,y:_.top+v.scrollTop-b.y,width:_.width,height:_.height}}var h=n(106),f=n(108),m=n(78),g=n(11);function _(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var v={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function y(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?v:r;return function(t,e,n){void 0===n&&(n=o);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},v,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;y(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:Object(a.a)(t)?Object(f.a)(t):t.contextElement?Object(f.a)(t.contextElement):[],popper:Object(f.a)(e)};var s=function(t){var e=_(t);return g.g.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=s.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:l,name:e,instance:u,options:i});c.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!d){var t=l.elements,e=t.reference,n=t.popper;if(b(e,n)){l.rects={reference:p(e,Object(m.a)(n),"fixed"===l.options.strategy),popper:Object(h.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],o=r.fn,a=r.options,s=void 0===a?{}:a,c=r.name;"function"==typeof o&&(l=o({state:l,options:s,name:c,instance:u})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(l)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){y(),d=!0}};if(!b(t,e))return u;function y(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(n).then((function(t){!d&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}},function(t,e,n){"use strict";function i(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(73),r=n(51),o=n(104);function a(t){return Object(i.a)(Object(r.a)(t)).left+Object(o.a)(t).scrollLeft}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(40);function r(t){var e=Object(i.a)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(57);function r(t){var e=Object(i.a)(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(73);function r(t){var e=Object(i.a)(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(14),l=n(2),c=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,d=void 0===o?{}:o,u=t.id,p=t.text,h=t.variant,f=void 0===h?"neutral":h,m=t.textTransform,g=void 0===m?"lowercase":m,_=Object(l.a)(n),v=Object(l.c)(d),b=a()(Object(l.b)("pb_pill_kit",f,g),Object(c.c)(t),i);return r.a.createElement("div",Object.assign({},_,v,{className:b,id:u}),r.a.createElement(s.a,{className:"pb_pill_text",size:4,tag:"div",text:p}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(83),r=n(105),o=n(46),a=n(24);var s=n(40);function l(t,e){var n;void 0===e&&(e=[]);var c=function t(e){return["html","body","#document"].indexOf(Object(o.a)(e))>=0?e.ownerDocument.body:Object(a.b)(e)&&Object(r.a)(e)?e:t(Object(i.a)(e))}(t),d=c===(null==(n=t.ownerDocument)?void 0:n.body),u=Object(s.a)(c),p=d?[u].concat(u.visualViewport||[],Object(r.a)(c)?c:[]):c,h=e.concat(p);return d?h:h.concat(l(Object(i.a)(p)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(70),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71),g=n(209),_=n.n(g);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,c=void 0===o?{}:o,u=t.chartData,g=t.colors,b=t.dark,x=void 0!==b&&b,w=t.drillable,O=void 0!==w&&w,k=t.grouped,C=void 0!==k&&k,E=t.height,S=t.id,j=t.title,$=void 0===j?"":j,A=t.tooltipHtml,M=void 0===A?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':A,P=t.type,T=void 0===P?"treemap":P,D=y(t,["aria","data","chartData","colors","dark","drillable","grouped","height","id","title","tooltipHtml","type"]),L=Object(l.a)(n),N=Object(l.c)(c);_()(p.a),x?p.a.setOptions(f.a):p.a.setOptions(h.a);var I={title:{text:$},chart:{height:E,type:T},credits:!1,series:[{data:u}],plotOptions:{treemap:{tooltip:{pointFormat:M},allowTraversingTree:O,colorByPoint:!C,colors:void 0!==g&&g.length>0?Object(m.a)(g):h.a.colors}}},R=v(Object(i.useState)({}),2),F=R[0],z=R[1];return Object(i.useEffect)((function(){z(Object.assign({},I))}),[u]),r.a.createElement(d.a,{containerProps:Object.assign(Object.assign({className:a()(Object(s.c)(D),"pb_treemap_chart"),id:S},L),N),highcharts:p.a,options:F})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(75),a=n(56),s=n(21),l=n(79),c=n(44),d=n(35),u=n(36),p=n(37),h=n(38),f=n(39),m=n(4),g=n(6),_=(n(20),n(28),n(49),n(29)),v=n(61),b=(n(60),n(99),n(100),n(84)),y={cacheOptions:!1,defaultOptions:!1,filterOption:null},x=function(t){var e,n;return n=e=function(e){function n(t){var e;return Object(d.a)(this,n),e=Object(p.a)(this,Object(h.a)(n).call(this)),Object(g.a)(Object(m.a)(Object(m.a)(e)),"select",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"lastRequest",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"mounted",!1),Object(g.a)(Object(m.a)(Object(m.a)(e)),"optionsCache",{}),Object(g.a)(Object(m.a)(Object(m.a)(e)),"handleInputChange",(function(t,n){var i=e.props,r=i.cacheOptions,o=i.onInputChange,a=Object(_.k)(t,n,o);if(!a)return delete e.lastRequest,void e.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(r&&e.optionsCache[a])e.setState({inputValue:a,loadedInputValue:a,loadedOptions:e.optionsCache[a],isLoading:!1,passEmptyOptions:!1});else{var s=e.lastRequest={};e.setState({inputValue:a,isLoading:!0,passEmptyOptions:!e.state.loadedInputValue},(function(){e.loadOptions(a,(function(t){e.mounted&&(t&&(e.optionsCache[a]=t),s===e.lastRequest&&(delete e.lastRequest,e.setState({isLoading:!1,loadedInputValue:a,loadedOptions:t||[],passEmptyOptions:!1})))}))}))}return a})),e.state={defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0,inputValue:void 0!==t.inputValue?t.inputValue:"",isLoading:!0===t.defaultOptions,loadedOptions:[],passEmptyOptions:!1},e}return Object(f.a)(n,e),Object(u.a)(n,[{key:"componentDidMount",value:function(){var t=this;this.mounted=!0;var e=this.props.defaultOptions,n=this.state.inputValue;!0===e&&this.loadOptions(n,(function(e){if(t.mounted){var n=!!t.lastRequest;t.setState({defaultOptions:e||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),t.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(t,e){var n=this.props.loadOptions;if(!n)return e();var i=n(t,e);i&&"function"==typeof i.then&&i.then(e,(function(){return e()}))}},{key:"render",value:function(){var e=this,n=this.props,i=(n.loadOptions,Object(a.a)(n,["loadOptions"])),o=this.state,l=o.defaultOptions,c=o.inputValue,d=o.isLoading,u=o.loadedInputValue,p=o.loadedOptions,h=o.passEmptyOptions?[]:c&&u?p:l||[];return r.a.createElement(t,Object(s.a)({},i,{ref:function(t){e.select=t},options:h,isLoading:d,onInputChange:this.handleInputChange}))}}]),n}(i.Component),Object(g.a)(e,"defaultProps",y),n},w=x(Object(b.a)(v.a)),O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=String(t).toLowerCase(),i=String(e.value).toLowerCase(),r=String(e.label).toLowerCase();return i===n||r===n},k={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n){return!(!t||e.some((function(e){return O(t,e)}))||n.some((function(e){return O(t,e)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}},C=Object(c.a)({allowCreateWhileLoading:!1,createOptionPosition:"last"},k),E=function(t){var e,n;return n=e=function(e){function n(t){var e;Object(d.a)(this,n),e=Object(p.a)(this,Object(h.a)(n).call(this,t)),Object(g.a)(Object(m.a)(Object(m.a)(e)),"select",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"onChange",(function(t,n){var i=e.props,r=i.getNewOptionData,o=i.inputValue,a=i.isMulti,s=i.onChange,c=i.onCreateOption,d=i.value,u=i.name;if("select-option"!==n.action)return s(t,n);var p=e.state.newOption,h=Array.isArray(t)?t:[t];if(h[h.length-1]!==p)s(t,n);else if(c)c(o);else{var f=r(o,o),m={action:"create-option",name:u};s(a?[].concat(Object(l.a)(Object(_.f)(d)),[f]):f,m)}}));var i=t.options||[];return e.state={newOption:void 0,options:i},e}return Object(f.a)(n,e),Object(u.a)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.allowCreateWhileLoading,n=t.createOptionPosition,i=t.formatCreateLabel,r=t.getNewOptionData,o=t.inputValue,a=t.isLoading,s=t.isValidNewOption,c=t.value,d=t.options||[],u=this.state.newOption;u=s(o,Object(_.f)(c),d)?r(o,i(o)):void 0,this.setState({newOption:u,options:!e&&a||!u?d:"first"===n?[u].concat(Object(l.a)(d)):[].concat(Object(l.a)(d),[u])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,n=this.state.options;return r.a.createElement(t,Object(s.a)({},this.props,{ref:function(t){e.select=t},options:n,onChange:this.onChange}))}}]),n}(i.Component),Object(g.a)(e,"defaultProps",C),n},S=E(v.a),j=Object(b.a)(S),$=E(v.a),A=x(Object(b.a)($)),M=n(22),P=n(5),T=n(3),D=n.n(T),L=n(27),N=n(10),I=n(41),R=function(t){return r.a.createElement("div",{className:"pb_typeahead_wrapper"},r.a.createElement(I.a,{dark:t.selectProps.dark,error:t.selectProps.error,label:t.selectProps.label},r.a.createElement(N.a,null,r.a.createElement(L.z.Control,Object.assign({className:"text_input"},t)))))},F=function(t){var e=t.selectProps,n=t.clearValue;return Object(i.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(e.id,":clear"),n)}),[!0]),r.a.createElement(L.z.ClearIndicator,Object.assign({className:"clear_indicator"},t))},z=function(t){return r.a.createElement(L.z.IndicatorsContainer,Object.assign({className:"text_input_indicators"},t))},B=function(t){return r.a.createElement(L.z.MenuList,Object.assign({},t),t.children)},W=n(52),H=n(74),Y=function(t){var e=t.removeProps,n=t.data,i=n.imageUrl,o=n.label,a=t.selectProps.multiKit;return"string"==typeof i&&({marginRight:"xs",name:o,avatarUrl:""}.avatarUrl=i),r.a.createElement(L.z.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},t),"badge"===a&&r.a.createElement(W.a,{closeProps:e,removeIcon:!0,text:o,variant:"primary"}),"badge"!==a&&i&&r.a.createElement(H.a,{avatarUrl:i,closeProps:e,marginRight:"xs",name:o,size:"smallPill"===a?"small":"",text:""}),"badge"!==a&&!i&&r.a.createElement(H.a,{closeProps:e,marginRight:"xs",name:"",size:"smallPill"===a?"small":"",text:o}))},U=n(116),G=function(t){var e=t.data.imageUrl,n=t.selectProps.valueComponent;return r.a.createElement(L.z.Option,Object.assign({},t),r.a.createElement(r.a.Fragment,null,!n&&e&&r.a.createElement(U.a,{align:"left",avatarUrl:e,dark:t.selectProps.dark,name:t.label,orientation:"horizontal"}),n&&n(t.data),!n&&!e&&t.label))},X=n(7),V=function(t){return r.a.createElement(r.a.Fragment,null,r.a.createElement(N.a,{align:"center",className:"placeholder"},r.a.createElement(L.z.IndicatorsContainer,Object.assign({},t)),t.selectProps.plusIcon&&r.a.createElement(X.a,{className:"typeahead-plus-icon",icon:"plus"})))},q=function(t){return r.a.createElement(L.z.ValueContainer,Object.assign({className:"text_input_value_container"},t))},K=n(2),Z=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.async,n=t.className,i=t.components,a=void 0===i?{}:i,s=t.createable,l=t.error,c=void 0===l?"":l,d=t.data,u=void 0===d?{}:d,p=t.getOptionLabel,h=t.getOptionValue,f=t.id,m=t.loadOptions,g=void 0===m?K.d:m,_=Z(t,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","id","loadOptions"]),v=Object.assign({cacheOptions:!0,components:Object.assign({Control:R,ClearIndicator:F,IndicatorsContainer:z,IndicatorSeparator:null,MenuList:B,MultiValue:Y,Option:G,Placeholder:V,ValueContainer:q},a),loadOptions:Object(M.isString)(g)?Object(M.get)(window,g):g,getOptionLabel:Object(M.isString)(p)?Object(M.get)(window,p):p,getOptionValue:Object(M.isString)(h)?Object(M.get)(window,h):h,defaultOptions:!0,id:f||Object(M.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(t){}},_),b=s?e?A:j:e?w:o.a,y=Object(K.c)(u),x=D()("pb_typeahead_kit react-select",Object(P.c)(_),n),O=v.inline?"inline":null;return r.a.createElement("div",Object.assign({},y,{className:D()(x,O)}),r.a.createElement(b,Object.assign({classNamePrefix:"typeahead-kit-select",error:c,onChange:function(t,e){var n=e.action,i=e.option,r=e.removedValue;if("select-option"===n){v.onMultiValueClick&&v.onMultiValueClick(i);var o=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-option-select"),{detail:i||t});document.dispatchEvent(o)}if("remove-value"===n||"pop-value"===n){var a=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-option-remove"),{detail:r});document.dispatchEvent(a)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-clear"));document.dispatchEvent(s)}}},v)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(156),l=n(5),c=n(2),d=Object(i.createContext)({}),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},p=function(t){var e=t.children,n=t.className,o=u(t,["children","className"]),s=Object(i.useContext)(d),p=Object(c.b)("pb_collapsible_content_kit"),h=Object(l.c)(o),f=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t;f.current&&(s.collapsed?((t=f.current).style.height=t.scrollHeight+"px",window.setTimeout((function(){t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0"}),1),window.setTimeout((function(){t.classList.remove("is-visible")}),300)):function(t){t.style.display="block";var e=t.scrollHeight+"px";t.style.height=e,t.classList.add("is-visible"),window.setTimeout((function(){t.style.height=""}),300)}(f.current))}),[s.collapsed]),r.a.createElement("div",{ref:f,"data-collapsible-content":"true",className:a()(p,h,"toggle-content",n)},e)},h=n(10),f=n(15),m=n(7),g=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},_={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"},v=function(t){var e=t.collapsed,n=t.icon,i=t.iconSize,o=t.iconColor,a=t.onIconClick,s=_[o],l=function(t){return"string"==typeof t?[t,t]:t},c=function(t){a&&(t.stopPropagation(),a())};return r.a.createElement(r.a.Fragment,null,e?r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[0]:"chevron-down",style:{verticalAlign:"middle",color:s},onClick:function(t){return c(t)}},r.a.createElement(m.a,{icon:n?l(n)[0]:"chevron-down",size:i})):r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[1]:"chevron-up",style:{verticalAlign:"middle",color:s},onClick:function(t){return c(t)}},r.a.createElement(m.a,{icon:n?l(n)[1]:"chevron-up",size:i})))},b=function(t){var e=t.children,n=t.className,o=t.cursor,s=void 0===o?"pointer":o,u=g(t,["children","className","cursor"]),p=Object(i.useContext)(d),m=p.collapsed,_=p.toggle,b=p.icon,y=p.iconSize,x=p.iconColor,w=p.onIconClick,O=p.onClick,k=Object(c.b)("pb_collapsible_main_kit"),C=Object(l.c)(u,{cursor:s});return r.a.createElement("div",{className:a()(k,n,C)},r.a.createElement("div",{onClick:function(){_(),O&&O()}},r.a.createElement(h.a,{spacing:"between",vertical:"center"},r.a.createElement(f.a,null,e),r.a.createElement(f.a,null,r.a.createElement(v,{collapsed:m,iconColor:x,iconSize:y,icon:b,onIconClick:w})))))};function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},O=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,u=t.children,h=void 0===u?[]:u,f=t.collapsed,m=void 0===f||f,g=t.data,_=void 0===g?{}:g,v=t.icon,x=t.iconColor,O=void 0===x?"default":x,k=t.iconSize,C=t.onIconClick,E=t.onClick,S=t.id,j=w(t,["aria","className","children","collapsed","data","icon","iconColor","iconSize","onIconClick","onClick","id"]),$=y(Object(s.a)(m),3),A=$[0],M=$[1],P=$[2];Object(i.useEffect)((function(){P(m)}),[m]);var T=r.a.Children.toArray(h);if(2!==T.length)throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.");var D=T[0],L=T[1],N=D.props,I=N.children,R=w(N,["children"]),F=L.props,z=F.children,B=w(F,["children"]),W=Object(c.a)(n),H=Object(c.c)(_),Y=a()(Object(c.b)("pb_collapsible_kit"),Object(l.c)(j),o);return r.a.createElement(d.Provider,{value:{collapsed:A,toggle:M,icon:v,iconSize:k,iconColor:O,onIconClick:C,onClick:E}},r.a.createElement("div",Object.assign({},W,H,{className:Y,id:S}),r.a.createElement(b,Object.assign({},R),I),r.a.createElement(p,Object.assign({},B),z)))};O.Main=b,O.Content=p;e.a=O},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.sideHighlightColor,h=void 0===p?"windows":p,f=Object(s.a)(n),m=Object(s.c)(d),g=""!=h?"side_highlight_".concat(h):null,_=a()(Object(s.b)("pb_table_row_kit",g),Object(l.c)(t),o);return r.a.createElement("tr",Object.assign({},f,m,{className:_,id:u}),i)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(5),a=n(2),s=n(70),l=n.n(s),c=n(26),d=n.n(c),u=n(53),p=n(77),h=n(71),f=n(3),m=n.n(f);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,s=t.data,c=void 0===s?{}:s,f=t.align,_=void 0===f?"center":f,b=t.axisTitle,y=t.dark,x=void 0!==y&&y,w=t.chartData,O=t.className,k=void 0===O?"pb_bar_graph":O,C=t.colors,E=t.id,S=t.pointStart,j=t.subTitle,$=t.type,A=void 0===$?"column":$,M=t.title,P=void 0===M?"Title":M,T=t.xAxisCategories,D=t.yAxisMin,L=t.yAxisMax,N=t.legend,I=void 0!==N&&N,R=t.toggleLegendClick,F=void 0===R||R,z=t.height,B=t.layout,W=void 0===B?"horizontal":B,H=t.verticalAlign,Y=void 0===H?"bottom":H,U=t.x,G=void 0===U?0:U,X=t.y,V=void 0===X?0:X,q=v(t,["aria","data","align","axisTitle","dark","chartData","className","colors","id","pointStart","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),K=Object(a.a)(n),Z=Object(a.c)(c);x?d.a.setOptions(p.a):d.a.setOptions(u.a);var J={title:{text:P},chart:{height:z,type:A},subtitle:{text:j},yAxis:{min:D,max:L,title:{text:b}},xAxis:{categories:T},legend:{enabled:I,align:_,verticalAlign:Y,layout:W,x:G,y:V},colors:void 0!==C&&C.length>0?Object(h.a)(C):u.a.colors,plotOptions:{series:{pointStart:S,events:{},dataLabels:{enabled:!1}}},series:w,credits:!1};F||(J.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=g(Object(i.useState)({}),2),tt=Q[0],et=Q[1];return Object(i.useEffect)((function(){et(Object.assign({},J))}),[w]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:m()(Object(o.c)(q),k),id:E},K),Z),highcharts:d.a,options:tt})}},function(t,e,n){"use strict";var i,r;!function(o){t.exports?(o.default=o,t.exports=o):(i=[n(26)],void 0===(r=function(t){return o(t),o.Highcharts=t,o}.apply(e,i))||(t.exports=r))}((function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(t,e,n){return Math.sqrt(Math.pow(t-n[0],2)+Math.pow(e-n[1],2))<=n[2]/2}var a=r.addEvent,s=r.extend,l=r.merge,c=r.pick,d=r.splat;return t.prototype.collectionsWithUpdate.push("pane"),r=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=d(e),t=Math.max(e.length,this.background.length||0),n=0;n<t;n++)e[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,e[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},t.prototype.renderBackground=function(t,e){var n="animate",i={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||s(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),n="attr"),this.background[e][n]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){l(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,n=this;return t&&n.pane.forEach((function(i){var r=t.chartX-n.plotLeft,a=t.chartY-n.plotTop;o(n.inverted?a:r,n.inverted?r:a,i.center)&&(e=i)})),e},a(t,"afterIsInsidePlot",(function(t){this.polar&&(t.isInsidePlot=this.pane.some((function(e){return o(t.x,t.y,e.center)})))})),a(i,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(n){return n.visible&&!(!t.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!e.hoverPane||n.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(i,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!o(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),n.Pane=r,n.Pane})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=n.noop,s=i.addEvent,l=i.correctFloat,c=i.defined,d=i.extend,u=i.fireEvent,p=i.merge,h=i.pick,f=i.relativeLength,m=i.wrap;return function(e){function n(){this.autoConnect=this.isCircular&&void 0===h(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function i(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function r(){return a}function g(t,e,n){var i=this.pane.center,r=t.value;if(this.isCircular){if(c(r))t.point&&((o=t.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x));else{var o=t.chartX||0,a=t.chartY||0;r=this.translate(Math.atan2(a-n,o-e)-this.startAngleRad,!0)}o=(t=this.getPosition(r)).x,a=t.y}else c(r)||(o=t.chartX,a=t.chartY),c(o)&&c(a)&&(n=i[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(o-e,2)+Math.pow(a-n,2)),i[2]/2)-i[3]/2,!0));return[r,o||0,a||0]}function _(t,e,n){t=this.pane.center;var i=this.chart,r=this.left||0,o=this.top||0,a=h(e,t[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(a+=n),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(r+t[0],o+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+t[0]],e.yBounds=[o+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+i.plotLeft,this.center[1]+i.plotTop],["L",e.x,e.y]]),e}function v(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function b(t,e,n){var i=this.chart,r=function(t){if("string"==typeof t){var e=parseInt(t,10);return u.test(t)&&(e=e*s/100),e}return t},o=this.center,a=this.startAngleRad,s=o[2]/2,l=Math.min(this.offset,0),c=this.left||0,d=this.top||0,u=/%$/,p=this.isCircular,f=h(r(n.outerRadius),s),m=r(n.innerRadius);if(r=h(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),p||(f=t||0,m=e||0),"circle"!==n.shape&&p)n=a+(t||0),a+=e||0;else{n=-Math.PI/2,a=1.5*Math.PI;var g=!0}f-=l,l=i.renderer.symbols.arc(c+o[0],d+o[1],f,f,{start:Math.min(n,a),end:Math.max(n,a),innerR:h(m,f-(r-l)),open:g}),p&&(p=(a+n)/2,c=c+o[0]+o[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[c,i.plotWidth]:[0,c],l.yBounds=[d+o[1]+o[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function y(t){var e=this,n=this.pane.center,i=this.chart,r=i.inverted,o=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=a.innerRadius||"0%",l=a.outerRadius||"100%",c=n[0]+i.plotLeft,d=n[1]+i.plotTop,u=this.height,p=t.isCrosshair;a=n[3]/2;var h,m=t.value,g=this.getPosition(m),_=g.x;if(g=g.y,p&&(m=(g=this.getCrosshairPosition(t,c,d))[0],_=g[1],g=g[2]),this.isCircular)m=Math.sqrt(Math.pow(_-c,2)+Math.pow(g-d,2)),o="string"==typeof s?f(s,1):s/m,i="string"==typeof l?f(l,1):l/m,n&&a&&(o<(a/=m)&&(o=a),i<a&&(i=a)),n=[["M",c+o*(_-c),d-o*(d-g)],["L",_-(1-i)*(_-c),g+(1-i)*(d-g)]];else if((m=this.translate(m))&&(0>m||m>u)&&(m=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,m,a);else if(n=[],i[r?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(h=t)})),h)for(c=h.tickPositions,h.autoConnect&&(c=c.concat([c[0]])),o&&(c=c.slice().reverse()),m&&(m+=a),d=0;d<c.length;d++)a=h.getPosition(c[d],m),n.push(d?["L",a.x,a.y]:["M",a.x,a.y]);return n}function x(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,h(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function w(){var t=this.center,e=this.chart,n=this.options.title;return{x:e.plotLeft+t[0]+(n.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[n.align]*t[2]+(n.y||0)}}function O(t){t.beforeSetTickPositions=n,t.createLabelCollector=i,t.getCrosshairPosition=g,t.getLinePath=_,t.getOffset=v,t.getPlotBandPath=b,t.getPlotLinePath=y,t.getPosition=x,t.getTitlePosition=w,t.postTranslate=M,t.setAxisSize=T,t.setAxisTranslation=D,t.setOptions=L}function k(){var t=this.chart,e=this.options,n=this.pane,i=n&&n.options;t.angular&&this.isXAxis||!n||!t.angular&&!t.polar||(this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=(i.startAngle-90)*Math.PI/180,this.endAngleRad=(h(i.endAngle,i.startAngle+360)-90)*Math.PI/180,this.offset=e.offset||0)}function C(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function E(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function S(e){var n,i=this.chart,o=i.inverted,s=i.angular,l=i.polar,c=this.isXAxis,d=this.coll,u=s&&c,h=i.options;e=e.userOptions.pane||0,e=this.pane=i.pane&&i.pane[e],"colorAxis"===d?this.isRadial=!1:(s?(u?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=a,this.render=this.redraw=P,this.setTitle=this.setCategories=this.setScale=a):O(this),(n=!c)&&(this.defaultPolarOptions=F)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?R:p("xAxis"===d?t.defaultXAxisOptions:t.defaultYAxisOptions,z),o&&"yAxis"===d&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,h.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&n&&(e.axis=this),this.isCircular=n)}function j(){this.isRadial&&this.beforeSetTickPositions()}function $(t){var e=this.label;if(e){var n=this.axis,i=e.getBBox(),r=n.options.labels,o=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(o),s=c(r.y)?0:.3*-i.height,l=r.y,d=20,u=r.align,p="end",m=0>a?a+360:a,g=m,_=0,v=0;if(n.isRadial){var b=n.getPosition(this.pos,n.center[2]/2+f(h(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?e.attr({rotation:o}):c(l)||(l=n.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-i.height/2),c(u)||(n.isCircular?(i.width>n.len*n.tickInterval/(n.max-n.min)&&(d=0),u=o>d&&o<180-d?"left":o>180+d&&o<360-d?"right":"center"):u="center",e.attr({align:u})),"auto"===u&&2===n.tickPositions.length&&n.isCircular&&(90<m&&180>m?m=180-m:270<m&&360>=m&&(m=540-m),180<g&&360>=g&&(g=360-g),n.pane.options.startAngle!==a&&n.pane.options.startAngle!==a+360&&n.pane.options.startAngle!==a-360||(p="start"),u=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===p?"right":"left":"start"===p?"left":"right",70<g&&110>g&&(u="center"),15>m||180<=m&&195>m?_=.3*i.height:15<=m&&35>=m?_="start"===p?0:.75*i.height:195<=m&&215>=m?_="start"===p?.75*i.height:0:35<m&&90>=m?_="start"===p?.25*-i.height:i.height:215<m&&270>=m&&(_="start"===p?i.height:.25*-i.height),15>g?v="start"===p?.15*-i.height:.15*i.height:165<g&&180>=g&&(v="start"===p?.15*i.height:.15*-i.height),e.attr({align:u}),e.translate(v,_+s)),t.pos.x=b.x+(r.x||0),t.pos.y=b.y+(l||0)}}}function A(t){this.axis.getPosition&&d(t.pos,this.axis.getPosition(this.pos))}function M(t,e){var n=this.chart,i=this.center;return t=this.startAngleRad+t,{x:n.plotLeft+i[0]+Math.cos(t)*e,y:n.plotTop+i[1]+Math.sin(t)*e}}function P(){this.isDirty=!1}function T(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*h(this.sector,1)/2}}function D(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function L(t){(t=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,o[this.coll],t)).plotBands||(t.plotBands=[]),u(this,"afterSetOptions")}function N(t,e,n,i,r,o,a){var s=this.axis;return s.isRadial?e=["M",e,n,"L",(t=s.getPosition(this.pos,s.center[2]/2+i)).x,t.y]:e=t.call(this,e,n,i,r,o,a),e}var I=[],R={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},F={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};e.compose=function(t,e){return-1===I.indexOf(t)&&(I.push(t),s(t,"afterInit",k),s(t,"autoLabelAlign",C),s(t,"destroy",E),s(t,"init",S),s(t,"initialAxisTranslation",j)),-1===I.indexOf(e)&&(I.push(e),s(e,"afterGetLabelPosition",$),s(e,"afterGetPosition",A),m(e.prototype,"getMarkPath",N)),t}}(r||(r={})),r})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Series/Area/AreaSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.prototype,o=n.defined,a=n.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.high=void 0,e.low=void 0,e.options=void 0,e.plotHigh=void 0,e.plotLow=void 0,e.plotHighX=void 0,e.plotLowX=void 0,e.plotX=void 0,e.series=void 0,e}return i(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,n=e.chart.polar;o(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),o(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),r.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),r.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(e=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(r.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return a(this.low)&&a(this.high)},e}(t.prototype.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Series/Area/AreaSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=e.prototype,c=n.prototype;n=i.noop;var d=r.prototype,u=a.defined,p=a.extend,h=a.isArray,f=a.pick,m=a.merge;return r=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return s(n,t),n.prototype.toYData=function(t){return[t.low,t.high]},n.prototype.highToXY=function(t){var e=this.chart,n=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-t.plotHigh);t.plotHighX=n.x-e.plotLeft,t.plotHigh=n.y-e.plotTop,t.plotLowX=t.plotX},n.prototype.translate=function(){var t=this,e=t.yAxis;l.translate.apply(t),t.points.forEach((function(n){var i=n.high,r=n.plotY;n.isNull?n.plotY=null:(n.plotLow=r,n.plotHigh=e.translate(t.dataModify?t.dataModify.modifyValue(i):i,0,1,0,1),t.dataModify&&(n.yBottom=n.plotHigh))})),this.chart.polar&&this.points.forEach((function(e){t.highToXY(e),e.tooltipPos=[(e.plotHighX+e.plotLowX)/2,(e.plotHigh+e.plotLow)/2]}))},n.prototype.getGraphPath=function(t){var e,n=[],i=[],r=l.getGraphPath,o=this.options,a=this.chart.polar,s=a&&!1!==o.connectEnds,c=o.connectNulls,d=o.step;for(e=(t=t||this.points).length;e--;){var u=t[e],p=a?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||s||c||t[e+1]&&!t[e+1].isNull||i.push(p);var h={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:f(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull};i.push(h),n.push(h),u.isNull||s||c||t[e-1]&&!t[e-1].isNull||i.push(p)}return t=r.call(this,t),d&&(!0===d&&(d="left"),o.step={left:"right",center:"center",right:"left"}[d]),n=r.call(this,n),i=r.call(this,i),o.step=d,o=[].concat(t,n),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=o,this.areaPath=t.concat(i),o.isArea=!0,o.xMap=t.xMap,this.areaPath.xMap=t.xMap,o},n.prototype.drawDataLabels=function(){var t,e,n=this.points,i=n.length,r=[],o=this.options.dataLabels,a=this.chart.inverted;if(o){if(h(o))var s=o[0]||{enabled:!1},l=o[1]||{enabled:!1};else(s=p({},o)).x=o.xHigh,s.y=o.yHigh,(l=p({},o)).x=o.xLow,l.y=o.yLow;if(s.enabled||this._hasPointLabels){for(t=i;t--;)if(e=n[t]){var c=s.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow;e.y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,r[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=c,a?s.align||(s.align=c?"right":"left"):s.verticalAlign||(s.verticalAlign=c?"top":"bottom")}for(this.options.dataLabels=s,d.drawDataLabels&&d.drawDataLabels.apply(this,arguments),t=i;t--;)(e=n[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=r[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(l.enabled||this._hasPointLabels){for(t=i;t--;)(e=n[t])&&(c=l.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow,e.below=!c,a?l.align||(l.align=c?"left":"right"):l.verticalAlign||(l.verticalAlign=c?"bottom":"top"));this.options.dataLabels=l,d.drawDataLabels&&d.drawDataLabels.apply(this,arguments)}if(s.enabled)for(t=i;t--;)(e=n[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=o}},n.prototype.alignDataLabel=function(){c.alignDataLabel.apply(this,arguments)},n.prototype.drawPoints=function(){var t,e=this.points.length;for(d.drawPoints.apply(this,arguments),t=0;t<e;){var n=this.points[t];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,u(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=f(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),t++}for(d.drawPoints.apply(this,arguments),t=0;t<e;)(n=this.points[t]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(p(n,n.origProps),delete n.origProps),t++},n.defaultOptions=m(e.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),n}(e),p(r.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:t,setStackedPoints:n}),o.registerSeriesType("arearange",r),r})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes.spline,o=n.merge;n=n.extend;var a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions),n}(t);return n(a.prototype,{getPointSpline:r.prototype.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=i.extend,a=i.merge,s=i.pick;return o((i=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var t=this.yAxis,n=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){n.forEach((function(n){null!==e[n]&&(e[n+"Plot"]=t.translate(e[n],0,1,0,1))})),e.plotHigh=e.highPlot}))},n.prototype.drawPoints=function(){var t,e,n,i,r,o,a,l,c,d,u,p=this,h=p.options,f=p.chart,m=f.renderer,g=0,_=!1!==p.doQuartiles,v=p.options.whiskerLength;p.points.forEach((function(b){var y=b.graphic,x=y?"animate":"attr",w=b.shapeArgs,O={},k={},C={},E={},S=b.color||p.color;void 0!==b.plotY&&(a=Math.round(w.width),l=Math.floor(w.x),c=l+a,d=Math.round(a/2),t=Math.floor(_?b.q1Plot:b.lowPlot),e=Math.floor(_?b.q3Plot:b.lowPlot),n=Math.floor(b.highPlot),i=Math.floor(b.lowPlot),y||(b.graphic=y=m.g("point").add(p.group),b.stem=m.path().addClass("highcharts-boxplot-stem").add(y),v&&(b.whiskers=m.path().addClass("highcharts-boxplot-whisker").add(y)),_&&(b.box=m.path(void 0).addClass("highcharts-boxplot-box").add(y)),b.medianShape=m.path(void 0).addClass("highcharts-boxplot-median").add(y)),f.styledMode||(k.stroke=b.stemColor||h.stemColor||S,k["stroke-width"]=s(b.stemWidth,h.stemWidth,h.lineWidth),k.dashstyle=b.stemDashStyle||h.stemDashStyle||h.dashStyle,b.stem.attr(k),v&&(C.stroke=b.whiskerColor||h.whiskerColor||S,C["stroke-width"]=s(b.whiskerWidth,h.whiskerWidth,h.lineWidth),C.dashstyle=b.whiskerDashStyle||h.whiskerDashStyle||h.dashStyle,b.whiskers.attr(C)),_&&(O.fill=b.fillColor||h.fillColor||S,O.stroke=h.lineColor||S,O["stroke-width"]=h.lineWidth||0,O.dashstyle=b.boxDashStyle||h.boxDashStyle||h.dashStyle,b.box.attr(O)),E.stroke=b.medianColor||h.medianColor||S,E["stroke-width"]=s(b.medianWidth,h.medianWidth,h.lineWidth),E.dashstyle=b.medianDashStyle||h.medianDashStyle||h.dashStyle,b.medianShape.attr(E)),o=b.stem.strokeWidth()%2/2,y=[["M",g=l+d+o,e],["L",g,n],["M",g,t],["L",g,i]],b.stem[x]({d:y}),_&&(o=b.box.strokeWidth()%2/2,t=Math.floor(t)+o,e=Math.floor(e)+o,y=[["M",l+=o,e],["L",l,t],["L",c+=o,t],["L",c,e],["L",l,e],["Z"]],b.box[x]({d:y})),v&&(o=b.whiskers.strokeWidth()%2/2,n+=o,i+=o,u=/%$/.test(v)?d*parseFloat(v)/100:v/2,y=[["M",g-u,n],["L",g+u,n],["M",g-u,i],["L",g+u,i]],b.whiskers[x]({d:y})),r=Math.round(b.medianPlot),o=b.medianShape.strokeWidth()%2/2,y=[["M",l,r+=o],["L",c,r]],b.medianShape[x]({d:y}))}))},n.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},n.defaultOptions=a(t.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(t)).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),n.registerSeriesType("boxplot",i),i})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=n.noop,a=i.arrayMax,s=i.arrayMin,l=i.isNumber,c=i.merge,d=i.pick,u=i.stableSort;return function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=this.options,i=d(t.options.itemDistance,20),r=n.ranges,o=n.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(n.labels.style.fontSize),r&&r.length&&l(r[0].value)?(u(r,(function(t,e){return e.value-t.value})),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),o=0<(o=o-r+t.width)?o:0,this.maxLabel=t,this.movementX="left"===n.labels.align?o:0,this.legendItemWidth=e+o+i,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],i=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,u=this.chart.styledMode;t.forEach((function(p,h){u||(o.stroke=d(p.borderColor,e.borderColor,n.color),o.fill=d(p.color,e.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=d(p.connectorColor,e.connectorColor,n.color)),t[h].radius=this.getRangeRadius(p.value),t[h]=c(t[h],{center:t[0].radius-t[h].radius+i}),u||c(!0,t[h],{bubbleAttribs:c(o),connectorAttribs:c(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach((function(t){t.value>=e&&this.renderRange(t)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,i=this.chart,r=i.series[e.seriesIndex],o=i.renderer,a=this.symbols;i=a.labels;var s=t.center,l=Math.abs(t.radius),c=e.connectorDistance||0,d=n.align,u=e.connectorWidth,p=this.ranges[0].radius||0,h=s-l-e.borderWidth/2+u/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var m=o.styledMode;c=this.legend.options.rtl||"left"===d?-c:c,"center"===d&&(c=0,e.connectorDistance=0,t.labelAttribs.align="center"),d=h+e.labels.y;var g=p+c+e.labels.x;a.bubbleItems.push(o.circle(p,s+((h%1?1:.5)-(u%2?0:.5)),l).attr(m?{}:t.bubbleAttribs).addClass((m?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),a.connectors.push(o.path(o.crispLine([["M",p,h],["L",p+c,h]],e.connectorWidth)).attr(m?{}:t.connectorAttribs).addClass((m?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=o.text(this.formatLabel(t),g,d+f).attr(m?{}:t.labelAttribs).css(m?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),i.push(t),t.placed=!0,t.alignAttr={x:g,y:d+f}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,i=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?e.format(n,t):i?i.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&((t=e.zData.filter(l)).length&&(i=d(e.options.zMin,Math.min(i,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),r=d(e.options.zMax,Math.max(r,a(t)))))}));var o=i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&o.reverse(),o.forEach((function(t,e){n&&n[e]&&(o[e]=c(n[e],t))})),o},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,i=n.floating,r=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,o=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(a,o);return s=s.options.maxSize,i||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(c+r-e.h/2)*s/100/(s/100+1),(n&&a-e>=o||!n&&o-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}()})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=n.setOptions,a=i.addEvent,s=i.objectEach,l=i.wrap;return function(n){function i(t,e,n){var i=this.legend,o=0<=r(this);if(i&&i.options.enabled&&i.bubbleLegend&&i.options.bubbleLegend.autoRanges&&o){var a=i.bubbleLegend.options;o=i.bubbleLegend.predictBubbleSizes(),i.bubbleLegend.updateRanges(o[0],o[1]),a.placed||(i.group.placed=!1,i.allItems.forEach((function(t){t.legendGroup.translateY=null}))),i.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),a.placed||(t.setScale(),t.updateNames(),s(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),a.placed=!0,this.getMargins(),t.call(this,e,n),i.bubbleLegend.correctSizes(),p(i,c(i))}else t.call(this,e,n),i&&i.options.enabled&&i.bubbleLegend&&(i.render(),p(i,c(i)))}function r(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function c(t){var e,n=[],i=(t=t.allItems).length,r=0;for(e=0;e<i;e++)if(t[e].legendItemHeight&&(t[e].itemHeight=t[e].legendItemHeight),t[e]===t[i-1]||t[e+1]&&t[e]._legendItemPos[1]!==t[e+1]._legendItemPos[1]){n.push({height:0});for(var o=n[n.length-1];r<=e;r++)t[r].itemHeight>o.height&&(o.height=t[r].itemHeight);o.step=e}return n}function d(t){var n=this.bubbleLegend,i=this.options,o=i.bubbleLegend,a=r(this.chart);n&&n.ranges&&n.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&i.enabled&&o.enabled&&(o.seriesIndex=a,this.bubbleLegend=new e(o,this),this.bubbleLegend.addToLegend(t.allItems))}function u(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=r(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function p(t,e){var n,i,r,o=t.options.rtl,a=0;t.allItems.forEach((function(t,s){n=t.legendGroup.translateX,i=t._legendItemPos[1],((r=t.movementX)||o&&t.ranges)&&(r=o?n-t.options.maxSize/2:n+r,t.legendGroup.attr({translateX:r})),s>e[a].step&&a++,t.legendGroup.attr({translateY:Math.round(i+e[a].height/2)}),t._legendItemPos[1]=i+e[a].height/2}))}var h=[];n.compose=function(e,n,r){-1===h.indexOf(e)&&(h.push(e),o({legend:{bubbleLegend:t}}),l(e.prototype,"drawChartBox",i)),-1===h.indexOf(n)&&(h.push(n),a(n,"afterGetAllItems",d)),-1===h.indexOf(r)&&(h.push(r),a(r,"legendItemClick",u))}}(r||(r={})),r})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return(n=n.extend)((e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Core/Axis/Axis.js"],t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=i.parse;i=r.noop;var d=a.seriesTypes;r=d.column;var u=d.scatter;d=s.addEvent;var p=s.arrayMax,h=s.arrayMin,f=s.clamp,m=s.extend,g=s.isNumber,_=s.merge,v=s.pick;return s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.maxPxSize=void 0,e.minPxSize=void 0,e.options=void 0,e.points=void 0,e.radii=void 0,e.yData=void 0,e.zData=void 0,e}return l(n,t),n.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},n.prototype.getRadii=function(){var t=this,e=this.zData,n=this.yData,i=[],r=this.chart.bubbleZExtremes,o=this.getPxExtremes(),a=o.minPxSize,s=o.maxPxSize;if(!r){var l,c=Number.MAX_VALUE,d=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=e.getZExtremes())&&(c=Math.min(c||e.zMin,e.zMin),d=Math.max(d||e.zMax,e.zMax),l=!0)})),l?(r={zMin:c,zMax:d},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var u=0;for(o=e.length;u<o;u++){var p=e[u];i.push(this.getRadius(r.zMin,r.zMax,a,s,p,n[u]))}this.radii=i},n.prototype.getRadius=function(t,e,n,i,r,o){var a=this.options,s="width"!==a.sizeBy,l=a.zThreshold,c=e-t,d=.5;if(null===o||null===r)return null;if(g(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-l),c=Math.max(e-l,Math.abs(t-l)),t=0),r<t)return n/2-1;0<c&&(d=(r-t)/c)}return s&&0<=d&&(d=Math.sqrt(d)),Math.ceil(n+d*(i-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(t,e){var n=this.options.marker.fillOpacity;return t=o.prototype.pointAttribs.call(this,t,e),1!==n&&(t.fill=c(t.fill).setOpacity(n).get("rgba")),t},n.prototype.translate=function(){t.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,n=this.getPxExtremes().minPxSize,i=t.length;i--;){var r=t[i],o=e?e[i]:0;g(o)&&o>=n/2?(r.marker=m(r.marker,{radius:o,width:2*o,height:2*o}),r.dlBox={x:r.plotX-o,y:r.plotY-o,width:2*o,height:2*o}):r.shapeArgs=r.plotY=r.dlBox=void 0}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(v(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(v(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(g);if(e.length){var n=v(t.zMin,f(h(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=v(t.zMax,p(e)),g(n)&&g(t))return{zMin:n,zMax:t}}},n.compose=e.compose,n.defaultOptions=_(u.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return g(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(u),m(s.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),d(s,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),t.prototype.beforePadding=function(){var t,e=this,n=this.len,i=this.chart,r=0,o=n,a=this.isXAxis,s=a?"xData":"yData",l=this.min,c=this.max-l,d=n/c;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!i.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var u=n[s];if(a&&n.getRadii(0,0,n),0<c)for(var p=u.length;p--;)if(g(u[p])&&e.dataMin<=u[p]&&u[p]<=e.max){var h=n.radii&&n.radii[p]||0;r=Math.min((u[p]-l)*d-h,r),o=Math.max((u[p]-l)*d+h,o)}}})),t&&0<c&&!this.logarithmic&&(o-=n,d*=(n+Math.max(0,r)-Math.min(o,n))/n,[["min","userMin",r],["max","userMax",o]].forEach((function(t){void 0===v(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/d)})))},a.registerSeriesType("bubble",s),s})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes;t=i.column.prototype.pointClass;var r=e.extend,o=e.isNumber;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.series=void 0,e.options=void 0,e.barX=void 0,e.pointWidth=void 0,e.shapeType=void 0,e}return n(e,t),e.prototype.isValid=function(){return o(this.low)},e}(i.arearange.prototype.pointClass),r(e.prototype,{setState:t.prototype.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.arearange,s=o.column,l=s.prototype,c=a.prototype,d=i.clamp,u=i.merge,p=i.pick;i=i.extend;var h={pointRange:null,marker:null,states:{hover:{halo:!1}}};return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return r(e,t),e.prototype.setOptions=function(){return u(!0,arguments[0],{stacking:void 0}),c.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,n=this,i=n.yAxis,r=n.xAxis,o=r.startAngleRad,a=n.chart,s=n.xAxis.isRadial,c=Math.max(a.chartWidth,a.chartHeight)+999;l.translate.apply(n),n.points.forEach((function(l){var u=l.shapeArgs||{},h=n.options.minPointLength;l.plotHigh=e=d(i.translate(l.high,0,1,0,1),-c,c),l.plotLow=d(l.plotY,-c,c);var f=e,m=p(l.rectPlotY,l.plotY)-e;Math.abs(m)<h?(m+=h-=m,f-=h/2):0>m&&(f-=m*=-1),s?(t=l.barX+o,l.shapeType="arc",l.shapeArgs=n.polarArc(f+m,f,t,t+l.pointWidth)):(u.height=m,u.y=f,h=void 0===(h=u.x)?0:h,u=void 0===(u=u.width)?0:u,l.tooltipPos=a.inverted?[i.len+i.pos-a.plotLeft-f-m/2,r.len+r.pos-a.plotTop-h-u/2,m]:[r.left-a.plotLeft+h+u/2,i.pos-a.plotTop+f+m/2,m])}))},e.prototype.crispCol=function(){return l.crispCol.apply(this,arguments)},e.prototype.drawPoints=function(){return l.drawPoints.apply(this,arguments)},e.prototype.drawTracker=function(){return l.drawTracker.apply(this,arguments)},e.prototype.getColumnMetrics=function(){return l.getColumnMetrics.apply(this,arguments)},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.adjustForMissingColumns=function(){return l.adjustForMissingColumns.apply(this,arguments)},e.prototype.animate=function(){return l.animate.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=u(s.defaultOptions,a.defaultOptions,h),e}(a),i(o.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:e,getSymbol:e,polarArc:function(){return l.polarArc.apply(this,arguments)},pointClass:t}),n.registerSeriesType("columnrange",o),o})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.prototype,o=n.clamp,a=n.merge,s=n.pick;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=s(n.borderWidth,i?0:1);var a=t.yAxis,l=n.threshold,c=t.translatedThreshold=a.getThreshold(l),d=s(n.minPointLength,5),u=t.getColumnMetrics(),p=u.width,h=t.barW=Math.max(p,1+2*i),f=t.pointXOffset=u.offset;e.inverted&&(c-=.5),n.pointPadding&&(h=Math.ceil(h)),r.translate.apply(t),t.points.forEach((function(i){var r=s(i.yBottom,c),u=999+Math.abs(r),m=o(i.plotY,-u,a.len+u);u=i.plotX+f;var g,_=h/2,v=Math.min(m,r);r=Math.max(m,r)-v,i.barX=u,i.pointWidth=p,i.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-m,t.xAxis.len-u-_,r]:[u+_,m+a.pos-e.plotTop,r],m=l+(i.total||i.y),"percent"===n.stacking&&(m=l+(0>i.y)?-100:100),m=a.toPixels(m,!0);var b=(g=e.plotHeight-m-(e.plotHeight-c))?_*(v-m)/g:0,y=g?_*(v+r-m)/g:0;g=u-b+_,b=u+b+_;var x=u+y+_;y=u-y+_;var w=v-d,O=v+r;0>i.y&&(w=v,O=v+r+d),e.inverted&&(y=_*(m-((x=a.width-v)-r))/(g=m-(a.width-c)),b=(g=u+_+(b=_*(m-x)/g))-2*b,x=u-y+_,y=u+y+_,w=v,O=v+r-d,0>i.y&&(O=v+r+d)),i.shapeType="path",i.shapeArgs={x:g,y:w,width:b-g,height:r,d:[["M",g,w],["L",b,w],["L",x,O],["L",y,O],["Z"]]}}))},n.defaultOptions=a(t.defaultOptions,{}),n}(t),e.registerSeriesType("columnpyramid",n),n})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=n.seriesTypes.arearange,a=i.merge;i=i.extend;var s=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(i,n),i.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},i.prototype.drawDataLabels=function(){var t=this.pointValKey;o&&(o.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},i.prototype.toYData=function(t){return[t.low,t.high]},i.defaultOptions=a(t.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),i}(t);return i(s.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",s),s})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(n,t),n.prototype.setState=function(t){this.state=t},n}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.series,a=n.seriesTypes.column,s=i.clamp,l=i.isNumber,c=i.extend,d=i.merge,u=i.pick,p=i.pInt;return c((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return r(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,n=t.center;this.generatePoints(),this.points.forEach((function(i){var r=d(e.dial,i.dial),o=p(u(r.radius,"80%"))*n[2]/200,a=p(u(r.baseLength,"70%"))*o/100,c=p(u(r.rearLength,"10%"))*o/100,h=r.baseWidth||3,f=r.topWidth||1,m=e.overshoot,g=t.startAngleRad+t.translate(i.y,null,null,null,!0);(l(m)||!1===e.wrap)&&(m=l(m)?m/180*Math.PI:0,g=s(g,t.startAngleRad-m,t.endAngleRad+m)),g=180*g/Math.PI,i.shapeType="path",i.shapeArgs={d:r.path||[["M",-c,-h/2],["L",a,-h/2],["L",o,-f/2],["L",o,f/2],["L",a,h/2],["L",-c,h/2],["Z"]],translateX:n[0],translateY:n[1],rotation:g},i.plotX=n[0],i.plotY=n[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.center,i=t.pivot,r=t.options,o=r.pivot,a=e.renderer;t.points.forEach((function(n){var i=n.graphic,o=n.shapeArgs,s=o.d,l=d(r.dial,n.dial);i?(i.animate(o),o.d=s):n.graphic=a[n.shapeType](o).attr({rotation:o.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||n.graphic[i?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})})),i?i.animate({translateX:n[0],translateY:n[1]}):(t.pivot=a.circle(0,0,u(o.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(t.group),e.styledMode||t.pivot.attr({"stroke-width":o.borderWidth||0,stroke:o.borderColor||"#cccccc",fill:o.backgroundColor||"#000000"}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var n=t.graphic;n&&(n.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),n.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),o.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){o.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),u(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=d(o.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),e}(o)).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",i),i})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return i(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var n=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=n}else e.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,e.prototype.select.apply(this,arguments),n.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/Networkgraph/DraggableNodes.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=n.addEvent;e.dragNodesMixin={onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var n=this.chart,i=n.pointer.normalize(e);e=t.fixedPosition.chartX-i.chartX,i=t.fixedPosition.chartY-i.chartY;var r=void 0,o=void 0,a=n.graphLayoutsLookup;(5<Math.abs(e)||5<Math.abs(i))&&(r=t.fixedPosition.plotX-e,o=t.fixedPosition.plotY-i,n.isInsidePlot(r,o)&&(t.plotX=r,t.plotY=o,t.hasDragged=!0,this.redrawHalo(t),a.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},i(t,"load",(function(){var t,e,n,r=this;r.container&&(t=i(r.container,"mousedown",(function(t){var o=r.hoverPoint;o&&o.series&&o.series.hasDraggableNodes&&o.series.options.draggable&&(o.series.onMouseDown(o,t),e=i(r.container,"mousemove",(function(t){return o&&o.series&&o.series.onMouseMove(o,t)})),n=i(r.container.ownerDocument,"mouseup",(function(t){return e(),n(),o&&o.series&&o.series.onMouseUp(o,t)})))}))),i(r,"destroy",(function(){t()}))}))})),e(t,"Series/Networkgraph/Integrations.js",[t["Core/Globals.js"]],(function(t){t.networkgraphIntegrations={verlet:{attractiveForceFunction:function(t,e){return(e-t)/t},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,n=(n-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=n/t.mass/t.degree)}))},repulsive:function(t,e,n){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=n.x*e,t.plotY+=n.y*e)},attractive:function(t,e,n){var i=t.getMass(),r=-n.x*e*this.diffTemperature;e=-n.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=r*i.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*i.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*i.toNode/t.toNode.degree,t.toNode.plotY+=e*i.toNode/t.toNode.degree)},integrate:function(t,e){var n=-t.options.friction,i=t.options.maxSpeed,r=(e.plotX+e.dispX-e.prevX)*n;n*=e.plotY+e.dispY-e.prevY;var o=Math.abs,a=o(r)/(r||1);o=o(n)/(n||1),r=a*Math.min(i,Math.abs(r)),n=o*Math.min(i,Math.abs(n)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=r,e.plotY+=n,e.temperature=t.vectorLength({x:r,y:n})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)}},euler:{attractiveForceFunction:function(t,e){return t*t/e},repulsiveForceFunction:function(t,e){return e*e/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(i){if(!i.fixedPosition){var r=i.getDegree();r*=1+r/2,i.dispX+=(e-i.plotX)*t*r/i.degree,i.dispY+=(n-i.plotY)*t*r/i.degree}}))},repulsive:function(t,e,n,i){t.dispX+=n.x/i*e/t.degree,t.dispY+=n.y/i*e/t.degree},attractive:function(t,e,n,i){var r=t.getMass(),o=n.x/i*e;e*=n.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=o*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*r.toNode/t.toNode.degree,t.toNode.dispY+=e*r.toNode/t.toNode.degree)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var n=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==n&&(e.plotX+=e.dispX/n*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/n*Math.min(Math.abs(e.dispY),t.temperature))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)}}}})),e(t,"Series/Networkgraph/QuadTree.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){e=e.extend;var n=t.QuadTreeNode=function(t){this.box=t,this.boxSize=Math.min(t.width,t.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};e(n.prototype,{insert:function(t,e){this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((e=new n({top:t.plotX,left:t.plotY,width:.1,height:.1})).body=t,e.isInternal=!1,this.nodes.push(e)):(this.isInternal=!1,this.body=t))},updateMassAndCenter:function(){var t=0,e=0,n=0;this.isInternal?(this.nodes.forEach((function(i){i.isEmpty||(t+=i.mass,e+=i.plotX*i.mass,n+=i.plotY*i.mass)})),e/=t,n/=t):this.body&&(t=this.body.mass,e=this.body.plotX,n=this.body.plotY),this.mass=t,this.plotX=e,this.plotY=n},divideBox:function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new n({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new n({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+e,width:t,height:e})},getBoxPosition:function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2}}),e((t=t.QuadTree=function(t,e,i,r){this.box={left:t,top:e,width:i,height:r},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(t){t.forEach((function(t){this.root.insert(t,this.maxDepth)}),this)},visitNodeRecursive:function(t,e,n){var i;t||(t=this.root),t===this.root&&e&&(i=e(t)),!1!==i&&(t.nodes.forEach((function(t){if(t.isInternal){if(e&&(i=e(t)),!1===i)return;this.visitNodeRecursive(t,e,n)}else t.body&&e&&e(t.body);n&&n(t)}),this),t===this.root&&n&&n(t))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))}})})),e(t,"Series/Networkgraph/Layouts.js",[t["Core/Chart/Chart.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=e.setAnimation;e=i.addEvent;var o=i.clamp,a=i.defined,s=i.extend,l=i.isFunction,c=i.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},updateSimulation:function(t){this.enableSimulation=c(t,this.options.enableSimulation)},start:function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},step:function(){var t=this,e=this.series;t.currentStep++,"barnes-hut"===t.approximation&&(t.createQuadTree(),t.quadTree.calculateMassAndCenter()),t.forces.forEach((function(e){t[e+"Forces"](t.temperature)})),t.applyLimits(t.temperature),t.temperature=t.coolDown(t.startTemperature,t.diffTemperature,t.currentStep),t.prevSystemTemperature=t.systemTemperature,t.systemTemperature=t.getSystemTemperature(),t.enableSimulation&&(e.forEach((function(t){t.chart&&t.render()})),t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()?(t.simulation&&n.win.cancelAnimationFrame(t.simulation),t.simulation=n.win.requestAnimationFrame((function(){t.step()}))):t.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(t,e,n,i){this.box={left:t,top:e,width:n,height:i}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(t,e){t.forEach((function(t){-1===e.indexOf(t)&&e.push(t)}))},removeElementFromCollection:function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(t){this.maxIterations=c(t,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(t){this.initialRendering=t},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var t=this.options.initialPositions;l(t)?(t.call(this),this.nodes.forEach((function(t){a(t.prevX)||(t.prevX=t.plotX),a(t.prevY)||(t.prevY=t.plotY),t.dispX=0,t.dispY=0}))):"circle"===t?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var t=this.box,e=this.nodes,n=2*Math.PI/(e.length+1),i=e.filter((function(t){return 0===t.linksTo.length})),r=[],o={},a=this.options.initialPositionRadius;i.forEach((function(t){r.push(t),function t(e){e.linksFrom.forEach((function(e){o[e.toNode.id]||(o[e.toNode.id]=!0,r.push(e.toNode),t(e.toNode))}))}(t)})),r.length?e.forEach((function(t){-1===r.indexOf(t)&&r.push(t)})):r=e,r.forEach((function(e,i){e.plotX=e.prevX=c(e.plotX,t.width/2+a*Math.cos(i*n)),e.plotY=e.prevY=c(e.plotY,t.height/2+a*Math.sin(i*n)),e.dispX=0,e.dispY=0}))},setRandomPositions:function(){function t(t){return(t=t*t/Math.PI)-Math.floor(t)}var e=this.box,n=this.nodes,i=n.length+1;n.forEach((function(n,r){n.plotX=n.prevX=c(n.plotX,e.width*t(r)),n.plotY=n.prevY=c(n.plotY,e.height*t(i+r)),n.dispX=0,n.dispY=0}))},force:function(t){this.integration[t].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var t=0,e=0,n=0;return this.nodes.forEach((function(i){e+=i.plotX*i.mass,n+=i.plotY*i.mass,t+=i.mass})),this.barycenter={x:e,y:n,xFactor:e/t,yFactor:n/t}},barnesHutApproximation:function(t,e){var n=this.getDistXY(t,e),i=this.vectorLength(n);if(t!==e&&0!==i)if(e.isInternal)if(e.boxSize/i<this.options.theta&&0!==i){var r=this.repulsiveForce(i,this.k);this.force("repulsive",t,r*e.mass,n,i);var o=!1}else o=!0;else r=this.repulsiveForce(i,this.k),this.force("repulsive",t,r*e.mass,n,i);return o},repulsiveForces:function(){var t=this;"barnes-hut"===t.approximation?t.nodes.forEach((function(e){t.quadTree.visitNodeRecursive(null,(function(n){return t.barnesHutApproximation(e,n)}))})):t.nodes.forEach((function(e){t.nodes.forEach((function(n){if(e!==n&&!e.fixedPosition){var i=t.getDistXY(e,n),r=t.vectorLength(i);if(0!==r){var o=t.repulsiveForce(r,t.k);t.force("repulsive",e,o*n.mass,i,r)}}}))}))},attractiveForces:function(){var t,e,n,i=this;i.links.forEach((function(r){r.fromNode&&r.toNode&&(t=i.getDistXY(r.fromNode,r.toNode),0!==(e=i.vectorLength(t))&&(n=i.attractiveForce(e,i.k),i.force("attractive",r,n,t,e)))}))},applyLimits:function(){var t=this;t.nodes.forEach((function(e){e.fixedPosition||(t.integration.integrate(t,e),t.applyLimitBox(e,t.box),e.dispX=0,e.dispY=0)}))},applyLimitBox:function(t,e){var n=t.radius;t.plotX=o(t.plotX,e.left+n,e.width-n),t.plotY=o(t.plotY,e.top+n,e.height-n)},coolDown:function(t,e,n){return t-e*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(t,e){return t+e.temperature}),0)},vectorLength:function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},getDistR:function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},getDistXY:function(t,e){var n=t.plotX-e.plotX;return{x:n,y:t=t.plotY-e.plotY,absX:Math.abs(n),absY:Math.abs(t)}}}),e(t,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))})),e(t,"render",(function(){function t(t){t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()&&!t.enableSimulation&&(t.beforeStep&&t.beforeStep(),t.step(),n=!1,e=!0)}var e=!1;if(this.graphLayoutsLookup){for(r(!1,this),this.graphLayoutsLookup.forEach((function(t){t.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(t)}e&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}})),e(t,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())})),e(t,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw()}))})),e(t,"Series/PackedBubble/PackedBubbleComposition.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=e.layouts["reingold-fruchterman"],r=n.addEvent,o=n.extendClass,a=n.pick;t.prototype.getSelectedParentNodes=function(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t},e.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(t,e,n,i){return Math.min(t,(n.marker.radius+i.marker.radius)/2)},barycenter:function(){var t,e,n=this,i=n.options.gravitationalConstant,r=n.box,o=n.nodes;o.forEach((function(a){n.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=r.width/2,e=r.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*i/(a.mass*Math.sqrt(o.length)),a.plotY-=(a.plotY-e)*i/(a.mass*Math.sqrt(o.length)))}))},repulsive:function(t,e,n,i){var r=e*this.diffTemperature/t.mass/t.degree;e=n.x*r,n=n.y*r,t.fixedPosition||(t.plotX+=e,t.plotY+=n),i.fixedPosition||(i.plotX-=e,i.plotY-=n)},integrate:e.networkgraphIntegrations.verlet.integrate,getK:e.noop},e.layouts.packedbubble=o(i,{beforeStep:function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},isStable:function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},setCircularPositions:function(){var t,e,n=this,i=n.box,r=n.nodes,o=2*Math.PI/(r.length+1),s=n.options.initialPositionRadius;r.forEach((function(r,l){n.options.splitSeries&&!r.isParentNode?(t=r.series.parentNode.plotX,e=r.series.parentNode.plotY):(t=i.width/2,e=i.height/2),r.plotX=r.prevX=a(r.plotX,t+s*Math.cos(r.index||l*o)),r.plotY=r.prevY=a(r.plotY,e+s*Math.sin(r.index||l*o)),r.dispX=0,r.dispY=0}))},repulsiveForces:function(){var t,e,n,i=this,r=i.options.bubblePadding;i.nodes.forEach((function(o){o.degree=o.mass,o.neighbours=0,i.nodes.forEach((function(a){t=0,o===a||o.fixedPosition||!i.options.seriesInteraction&&o.series!==a.series||(n=i.getDistXY(o,a),0>(e=i.vectorLength(n)-(o.marker.radius+a.marker.radius+r))&&(o.degree+=.01,o.neighbours++,t=i.repulsiveForce(-e/Math.sqrt(o.neighbours),i.k,o,a)),i.force("repulsive",o,t*a.mass,n,a,e))}))}))},applyLimitBox:function(t){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var e=this.getDistXY(t,t.series.parentNode),n=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(e);0>n&&n>-2*t.marker.radius&&(t.plotX-=.01*e.x,t.plotY-=.01*e.y)}i.prototype.applyLimitBox.apply(this,arguments)}}),r(t,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.parse,s=i.series,l=i.seriesTypes.bubble,c=r.addEvent,d=r.clamp,u=r.defined,p=r.extend,h=r.fireEvent,f=r.isArray,m=r.isNumber,g=r.merge,_=r.pick,v=e.dragNodesMixin;return t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.points=void 0,e.xData=void 0,e}return o(n,t),n.prototype.accumulateAllPoints=function(t){var e,n,i=t.chart,r=[];for(e=0;e<i.series.length;e++)if((t=i.series[e]).is("packedbubble")&&t.visible||!i.options.chart.ignoreHiddenSeries)for(n=0;n<t.yData.length;n++)r.push([null,null,t.yData[n],t.index,n,{id:n,marker:{radius:0}}]);return r},n.prototype.addLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=i=[]);var o=n[t.type];o||(t.enableSimulation=u(r.forExport)?!r.forExport:t.enableSimulation,n[t.type]=o=new e.layouts[t.type],o.init(t),i.splice(o.index,0,o)),this.layout=o,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),o.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),o.addElementsToCollection([this],o.series),o.addElementsToCollection(this.points,o.nodes)},n.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=g(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),o=n[t.type+"-series"];o||(n[t.type+"-series"]=o=new e.layouts[t.type],o.init(r),i.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=d(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,n=1/0,i=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){u(t)&&(t>i&&(i=t),t<n&&(n=t))}))})),[t=_(t,n),e=_(e,i)])},n.prototype.checkOverlap=function(t,e){var n=t[0]-e[0],i=t[1]-e[1];return-.001>Math.sqrt(n*n+i*i)-Math.abs(t[2]+e[2])},n.prototype.createParentNodes=function(){var t,e=this,n=e.chart,i=e.parentNodeLayout,r=e.parentNode,o=e.pointClass,s=e.layout.options,l={radius:e.parentNodeRadius,lineColor:e.color,fillColor:a(e.color).brighten(.4).get()};s.parentNodeOptions&&(l=g(s.parentNodeOptions.marker||{},l)),e.parentNodeMass=0,e.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),e.calculateParentRadius(),i.nodes.forEach((function(n){n.seriesIndex===e.index&&(t=!0)})),i.setArea(0,0,n.plotWidth,n.plotHeight),t||(r||(r=(new o).init(this,{mass:e.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:e.parentNodeRadius,isParentNode:!0,seriesIndex:e.index})),e.parentNode&&(r.plotX=e.parentNode.plotX,r.plotY=e.parentNode.plotY),e.parentNode=r,i.addElementsToCollection([e],i.series),i.addElementsToCollection([r],i.nodes))},n.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(t){t.removeElementFromCollection(this,t.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),s.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var t=this.options.dataLabels.textPath,e=this.points;s.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,s.prototype.drawDataLabels.apply(this,arguments),this.points=e,this.options.dataLabels.textPath=t)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker,n={fill:e.fillColor||a(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":_(e.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),e=g({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(e)}},n.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var n=f(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),n.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},n.prototype.getPointRadius=function(){var t,e,n,i,r=this,o=r.chart,a=r.options,s=a.useSimulation,l=Math.min(o.plotWidth,o.plotHeight),c={},u=[],p=o.allDataPoints;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),n=/%$/.test(a[t]);c[t]=n?l*e/100:e*Math.sqrt(p.length)})),o.minRadius=t=c.minSize/Math.sqrt(p.length),o.maxRadius=e=c.maxSize/Math.sqrt(p.length);var h=s?r.calculateZExtremes():[t,e];(p||[]).forEach((function(o,a){n=s?d(o[2],h[0],h[1]):o[2],0===(i=r.getRadius(h[0],h[1],t,e,n))&&(i=null),p[a][2]=i,u.push(i)})),r.radii=u},n.prototype.init=function(){return s.prototype.init.apply(this,arguments),this.eventsToUnbind.push(c(this,"updatedData",(function(){this.chart.series.forEach((function(t){t.type===this.type&&(t.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(t){if(t.fixedPosition&&!t.removed){var e,n=this.layout,i=this.parentNodeLayout;i&&n.options.dragBetweenSeries&&i.nodes.forEach((function(i){t&&t.marker&&i!==t.series.parentNode&&(e=n.getDistXY(t,i),0>n.vectorLength(e)-i.marker.radius-t.marker.radius&&(i.series.addPoint(g(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),n.removeElementFromCollection(t,n.nodes),t.remove()))})),v.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(t){var e,n=this.checkOverlap,i=this.positionBubble,r=[],o=1,a=0,s=0,l=[];if((t=t.sort((function(t,e){return e[2]-t[2]}))).length){if(r.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(r.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,n(l=i(r[o][a],r[o-1][s],t[e]),r[o][0])?(r.push([]),s=0,r[o+1].push(i(r[o][a],r[o][0],t[e])),o++,a=0):1<o&&r[o-1][s+1]&&n(l,r[o-1][s+1])?(s++,r[o].push(i(r[o][a],r[o-1][s],t[e])),a++):(a++,r[o].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(t,e){var n=this.options,i=n.marker;return t&&t.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(i=n.layoutAlgorithm.parentNodeOptions.marker),n=i.fillOpacity,t=s.prototype.pointAttribs.call(this,t,e),1!==n&&(t["fill-opacity"]=n),t},n.prototype.positionBubble=function(t,e,n){var i=Math.sqrt,r=Math.asin,o=Math.acos,a=Math.pow,s=Math.abs;return i=i(a(t[0]-e[0],2)+a(t[1]-e[1],2)),o=o((a(i,2)+a(n[2]+e[2],2)-a(n[2]+t[2],2))/(2*(n[2]+e[2])*i)),r=r(s(t[0]-e[0])/i),t=(0>t[1]-e[1]?0:Math.PI)+o+r*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+n[2])*Math.sin(t),e[1]-(e[2]+n[2])*Math.cos(t),n[2],n[3],n[4]]},n.prototype.render=function(){var t=[];s.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){f(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},n.prototype.resizeRadius=function(){var t,e,n,i=this.chart,r=i.rawPositions,o=Math.min,a=Math.max,s=i.plotLeft,l=i.plotTop,c=i.plotHeight,d=i.plotWidth,u=t=Number.POSITIVE_INFINITY,p=e=Number.NEGATIVE_INFINITY;for(n=0;n<r.length;n++){var h=r[n][2];u=o(u,r[n][0]-h),p=a(p,r[n][0]+h),t=o(t,r[n][1]-h),e=a(e,r[n][1]+h)}if(n=[p-u,e-t],o=o.apply([],[(d-s)/n[0],(c-l)/n[1]]),1e-10<Math.abs(o-1)){for(n=0;n<r.length;n++)r[n][2]*=o;this.placeBubbles(r)}else i.diffY=c/2+l-t-(e-t)/2,i.diffX=d/2+s-u-(p-u)/2},n.prototype.seriesBox=function(){var t,e=this.chart,n=Math.max,i=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){u(e.plotX)&&u(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=i(r[0],e.plotX-t),r[1]=n(r[1],e.plotX+t),r[2]=i(r[2],e.plotY-t),r[3]=n(r[3],e.plotY+t))})),m(r.width/r.height)?r:null},n.prototype.setVisible=function(){var t=this;s.prototype.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},n.prototype.translate=function(){var t,e=this.chart,n=this.data,i=this.index,r=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),u(e.allDataPoints)||(e.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),r)var o=e.allDataPoints;else o=this.placeBubbles(e.allDataPoints),this.options.draggable=!1;for(t=0;t<o.length;t++)if(o[t][3]===i){var a=n[o[t][4]],s=_(o[t][2],void 0);r||(a.plotX=o[t][0]-e.plotLeft+e.diffX,a.plotY=o[t][1]-e.plotTop+e.diffY),m(s)&&(a.marker=p(a.marker,{radius:s,width:2*s,height:2*s}),a.radius=s)}r&&this.deferLayout(),h(this,"afterTranslate")},n.defaultOptions=g(l.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.value;return m(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(l),p(t.prototype,{alignDataLabel:s.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:v.onMouseDown,onMouseMove:v.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:v.redrawHalo,requireSorting:!1,searchPoint:e.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),i.registerSeriesType("packedbubble",t),t})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();t=t.noop;var o=n.series,a=n.seriesTypes,s=a.area,l=a.line,c=a.scatter;a=i.extend;var d=i.merge;return a((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},e.defaultOptions=d(c.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(c)).prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:o.prototype.drawTracker,setStackedPoints:t}),n.registerSeriesType("polygon",i),i})),e(t,"Core/Axis/WaterfallAxis.js",[t["Extensions/Stacking.js"],t["Core/Utilities.js"]],(function(t,e){var n,i=e.addEvent,r=e.objectEach;return function(e){function n(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function o(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,n=e.length;n--;)e[n].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,n=e.waterfall.stacks,i=e.stacking&&e.stacking.stackTotalGroup,o=new t(e,e.options.stackLabels,!1,0,void 0);this.dummyStackItem=o,r(n,(function(e){r(e,(function(e){o.total=e.stackTotal,e.label&&(o.label=e.label),t.prototype.render.call(o,i),e.label=o.label,delete o.label}))})),o.total=null},e}();e.Composition=l,e.compose=function(t,e){i(t,"init",s),i(t,"afterBuildStacks",n),i(t,"afterRender",o),i(e,"beforeRedraw",a)}}(n||(n={})),n})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.isNumber;return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(n,t),n.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,n,i,r,o){var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=n.seriesTypes,l=s.column,c=s.line,d=i.arrayMax,u=i.arrayMin,p=i.correctFloat;s=i.extend;var h=i.isNumber,f=i.merge,m=i.objectEach,g=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){var t;l.prototype.generatePoints.apply(this);var e=0;for(t=this.points.length;e<t;e++){var n=this.points[e],i=this.processedYData[e];(n.isIntermediateSum||n.isSum)&&(n.y=p(i))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,n=g(t.minPointLength,5),i=n/2,r=t.threshold||0,o=r,a=r;t=t.stacking;var s=e.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var c=this.points,d=0;d<c.length;d++){var u=c[d],p=this.processedYData[d],f=u.shapeArgs;if(f&&h(p)){var m=[0,p],_=u.y;if(t){if(s){if(m=s[d],"overlap"===t){var v=m.stackState[m.stateIndex--];v=0<=_?v:v-_,Object.hasOwnProperty.call(m,"absolutePos")&&delete m.absolutePos,Object.hasOwnProperty.call(m,"absoluteNeg")&&delete m.absoluteNeg}else 0<=_?(v=m.threshold+m.posTotal,m.posTotal-=_):(v=m.threshold+m.negTotal,m.negTotal-=_,v-=_),!m.posTotal&&Object.hasOwnProperty.call(m,"absolutePos")&&(m.posTotal=m.absolutePos,delete m.absolutePos),!m.negTotal&&Object.hasOwnProperty.call(m,"absoluteNeg")&&(m.negTotal=m.absoluteNeg,delete m.absoluteNeg);u.isSum||(m.connectorThreshold=m.threshold+m.stackTotal),e.reversed?(p=0<=_?v-_:v+_,_=v):(p=v,_=v-_),u.below=p<=r,f.y=e.translate(p,!1,!0,!1,!0)||0,f.height=Math.abs(f.y-(e.translate(_,!1,!0,!1,!0)||0)),(_=e.waterfall.dummyStackItem)&&(_.x=d,_.label=s[d].label,_.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[d],this.stackedYPos[d]))}}else v=Math.max(o,o+_)+m[0],f.y=e.translate(v,!1,!0,!1,!0)||0,u.isSum?(f.y=e.translate(m[1],!1,!0,!1,!0)||0,f.height=Math.min(e.translate(m[0],!1,!0,!1,!0)||0,e.len)-f.y,u.below=m[1]<=r):u.isIntermediateSum?(0<=_?(p=m[1]+a,_=a):(p=a,_=m[1]+a),e.reversed&&(p^=_,p^=_^=p),f.y=e.translate(p,!1,!0,!1,!0)||0,f.height=Math.abs(f.y-Math.min(e.translate(_,!1,!0,!1,!0)||0,e.len)),a+=m[1],u.below=p<=r):(f.height=0<p?(e.translate(o,!1,!0,!1,!0)||0)-f.y:(e.translate(o,!1,!0,!1,!0)||0)-(e.translate(o-p,!1,!0,!1,!0)||0),o+=p,u.below=o<r),0>f.height&&(f.y+=f.height,f.height*=-1);u.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),u.yBottom=f.y+f.height,f.height<=n&&!u.isNull?(f.height=n,f.y-=i,u.plotY=f.y,u.minPointLengthOffset=0>u.y?-i:i):(u.isNull&&(f.width=0),u.minPointLengthOffset=0),_=u.plotY+(u.negative?f.height:0),u.below&&(u.plotY+=f.height),u.tooltipPos&&(this.chart.inverted?u.tooltipPos[0]=e.len-_:u.tooltipPos[1]=_)}}},e.prototype.processData=function(e){var n,i,r,o,a,s=this.options,l=this.yData,c=s.data,d=l.length,u=s.threshold||0;for(a=i=n=r=o=0;a<d;a++){var h=l[a],f=c&&c[a]?c[a]:{};"sum"===h||f.isSum?l[a]=p(i):"intermediateSum"===h||f.isIntermediateSum?(l[a]=p(n),n=0):(i+=h,n+=h),r=Math.min(i,r),o=Math.max(i,o)}t.prototype.processData.call(this,e),s.stacking||(this.dataMin=r+u,this.dataMax=o)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,n){t.prototype.updateParallelArrays.call(this,e,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var n=this.options.upColor;return n&&!t.options.color&&(t.color=0<t.y?n:null),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,n=this.yAxis,i=e.length,r=Math.round(this.graph.strokeWidth())%2/2,o=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(t=1;t<i;t++){var d=e[t].shapeArgs,u=e[t-1],p=e[t-1].shapeArgs,h=n.waterfall.stacks[this.stackKey],f=0<u.y?-p.height:0;h&&p&&d&&(h=h[t-1],l?(h=h.connectorThreshold,f=Math.round(n.translate(h,0,1,0,1)+(s?f:0))-r):f=p.y+u.minPointLengthOffset+o-r,c.push(["M",(p.x||0)+(a?0:p.width||0),f],["L",(d.x||0)+(a&&d.width||0),f])),p&&c.length&&(!l&&0>u.y&&!s||0<u.y&&s)&&((u=c[c.length-2])&&"number"==typeof u[2]&&(u[2]+=p.height||0),(u=c[c.length-1])&&"number"==typeof u[2]&&(u[2]+=p.height||0))}return c},e.prototype.drawGraph=function(){c.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,n,i){if(y)for(;n<y;n++)g.stackState[n]+=i;else g.stackState[0]=t,y=g.stackState.length;g.stackState.push(g.stackState[y-1]+e)}var e,n,i,r=this.options,o=this.yAxis.waterfall.stacks,a=r.threshold,s=a||0,l=s,c=this.stackKey,d=this.xData,u=d.length;this.yAxis.stacking.usePercentage=!1;var p=n=i=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var h=o.changed;(e=o.alreadyChanged)&&0>e.indexOf(c)&&(h=!0),o[c]||(o[c]={}),e=o[c];for(var f=0;f<u;f++){var m=d[f];e[m]&&!h||(e[m]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:h&&e[m]?e[m].label:void 0});var g=e[m],_=this.yData[f];0<=_?g.posTotal+=_:g.negTotal+=_;var v=r.data[f];m=g.absolutePos=g.posTotal;var b=g.absoluteNeg=g.negTotal;g.stackTotal=m+b;var y=g.stackState.length;v&&v.isIntermediateSum?(t(i,n,0,i),i=n,n=a,s^=l,s^=l^=s):v&&v.isSum?(t(a,p,y),s=a):(t(s,_,0,p),v&&(p+=_,n+=_)),g.stateIndex++,g.threshold=s,s+=g.stackTotal}o.changed=!1,o.alreadyChanged||(o.alreadyChanged=[]),o.alreadyChanged.push(c)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var n=this.stackedYNeg=[],i=this.stackedYPos=[];return m(e[this.stackKey],"overlap"===t?function(t){n.push(u(t.stackState)),i.push(d(t.stackState))}:function(t){n.push(t.negTotal+t.threshold),i.push(t.posTotal+t.threshold)}),{dataMin:u(n),dataMax:d(i)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),s(i.prototype,{getZonesGraphs:c.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:o}),n.registerSeriesType("waterfall",i),r.compose(t,e),i})),e(t,"Extensions/Polar.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Pointer.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c=t.animObject;a=a.seriesTypes;var d=l.addEvent,u=l.defined,p=l.find,h=l.isNumber,f=l.pick,m=l.splat,g=l.uniqueKey;t=l.wrap;var _=o.prototype;r=r.prototype,_.searchPointByAngle=function(t){var e=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-n[0]-e.plotLeft,t.chartY-n[1]-e.plotTop)})},_.getConnectors=function(t,e,n,i){var r=i?1:0,o=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0;e=0>o-1?t.length-(1+r):o-1,r=o+1>t.length-1?r:o+1;var a=t[e];r=t[r];var s=a.plotX;a=a.plotY;var l=r.plotX,c=r.plotY;s=(1.5*(r=t[o].plotX)+s)/2.5,a=(1.5*(o=t[o].plotY)+a)/2.5,l=(1.5*r+l)/2.5;var d=(1.5*o+c)/2.5;c=Math.sqrt(Math.pow(s-r,2)+Math.pow(a-o,2));var u=Math.sqrt(Math.pow(l-r,2)+Math.pow(d-o,2));return s=Math.atan2(a-o,s-r),d=Math.PI/2+(s+Math.atan2(d-o,l-r))/2,Math.abs(s-d)>Math.PI/2&&(d-=Math.PI),s=r+Math.cos(d)*c,a=o+Math.sin(d)*c,r={rightContX:l=r+Math.cos(Math.PI+d)*u,rightContY:d=o+Math.sin(Math.PI+d)*u,leftContX:s,leftContY:a,plotX:r,plotY:o},n&&(r.prevPointCont=this.getConnectors(t,e,!1,i)),r},_.toXY=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis,r=t.plotX,o=t.plotY,a=t.series,s=e.inverted,l=t.y,c=s?r:i.len-o;s&&a&&!a.isRadialBar&&(t.plotY=o="number"==typeof l&&i.translate(l)||0),t.rectPlotX=r,t.rectPlotY=o,i.center&&(c+=i.center[3]/2),h(o)&&(i=s?i.postTranslate(o,c):n.postTranslate(r,c),t.plotX=t.polarPlotX=i.x-e.plotLeft,t.plotY=t.polarPlotY=i.y-e.plotTop),this.kdByAngle?(0>(e=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},a.spline&&(t(a.spline.prototype,"getPointSpline",(function(t,e,n,i){return this.chart.polar?i?(e=(t=this.getConnectors(e,i,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,n=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",h(e)?e:t.plotX,h(n)?n:t.plotY,h(t.leftContX)?t.leftContX:t.plotX,h(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",n.plotX,n.plotY]:t=t.call(this,e,n,i),t})),a.areasplinerange&&(a.areasplinerange.prototype.getPointSpline=a.spline.prototype.getPointSpline)),d(o,"afterTranslate",(function(){var t=this.chart;if(t.polar&&this.xAxis){if((this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var e=this.points,i=e.length;i--;)this.toXY(e[i]),!t.hasParallelCoordinates&&!this.yAxis.reversed&&e[i].y<this.yAxis.min&&(e[i].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(d(this,"afterRender",(function(){if(t.polar){var e=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2}):this.clipCircle=t.renderer.clipCircle(e[0],e[1],e[2]/2,e[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop}}))))}}),{order:2}),t(a.line.prototype,"getGraphPath",(function(t,e){var n,i=this;if(this.chart.polar){for(e=e||this.points,n=0;n<e.length;n++)if(!e[n].isNull){var r=n;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,e.splice(e.length,0,e[r]);var o=!0}e.forEach((function(t){void 0===t.polarPlotY&&i.toXY(t)}))}return n=t.apply(this,[].slice.call(arguments,1)),o&&e.pop(),n}));var v=function(t,e){var i,r,o,a,s=this,l=this.chart,d=this.options.animation,u=this.group,p=this.markerGroup,h=this.xAxis&&this.xAxis.center,m=l.plotLeft,g=l.plotTop;if(l.polar){if(s.isRadialBar)e||(s.startAngleRad=f(s.translatedThreshold,s.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(s,e));else if(l.renderer.isSVG)if(d=c(d),s.is("column")){if(!e){var _=h[3]/2;s.points.forEach((function(t){i=t.graphic,o=(r=t.shapeArgs)&&r.r,a=r&&r.innerR,i&&r&&(i.attr({r:_,innerR:_}),i.animate({r:o,innerR:a},s.options.animation))}))}}else e?(t={translateX:h[0]+m,translateY:h[1]+g,scaleX:.001,scaleY:.001},u.attr(t),p&&p.attr(t)):(t={translateX:m,translateY:g,scaleX:1,scaleY:1},u.animate(t,d),p&&p.animate(t,d))}else t.call(this,e)};if(t(_,"animate",v),a.column){var b=a.arearange.prototype;(a=a.column.prototype).polarArc=function(t,e,n,i){var r=this.xAxis.center,o=this.yAxis.len,a=r[3]/2;return e=o-e+a,t=o-f(t,o)+a,this.yAxis.reversed&&(0>e&&(e=a),0>t&&(t=a)),{x:r[0],y:r[1],r:e,innerR:t,start:n,end:i}},t(a,"animate",v),t(a,"translate",(function(t){var e=this.options,n=e.stacking,i=this.chart,r=this.xAxis,o=this.yAxis,a=o.reversed,s=o.center,c=r.startAngleRad,d=r.endAngleRad-c;if(this.preventPostTranslate=!0,t.call(this),r.isRadial){r=(t=this.points).length;var p=o.translate(o.min),f=o.translate(o.max);if(e=e.threshold||0,i.inverted&&h(e)){var m=o.translate(e);u(m)&&(0>m?m=0:m>d&&(m=d),this.translatedThreshold=m+c)}for(;r--;){var g=(e=t[r]).barX,_=e.x,v=e.y;if(e.shapeType="arc",i.inverted){if(e.plotY=o.translate(v),n&&o.stacking){if(v=o.stacking.stacks[(0>v?"-":"")+this.stackKey],this.visible&&v&&v[_]&&!e.isNull){var b=v[_].points[this.getStackIndicator(void 0,_,this.index).key],y=o.translate(b[0]);b=o.translate(b[1]),u(y)&&(y=l.clamp(y,0,d))}}else y=m,b=e.plotY;y>b&&(b=[y,y=b][0]),a?b>p?b=p:y<f?y=f:(y>p||b<f)&&(y=b=d):y<p?y=p:b>f?b=f:(b<p||y>f)&&(y=b=0),o.min>o.max&&(y=b=a?d:0),y+=c,b+=c,s&&(e.barX=g+=s[3]/2),_=Math.max(g,0),v=Math.max(g+e.pointWidth,0),e.shapeArgs={x:s&&s[0],y:s&&s[1],r:v,innerR:_,start:y,end:b},e.opacity=y===b?0:void 0,e.plotY=(u(this.translatedThreshold)&&(y<this.translatedThreshold?y:b))-c}else y=g+c,e.shapeArgs=this.polarArc(e.yBottom,e.plotY,y,y+e.pointWidth);this.toXY(e),i.inverted?(g=o.postTranslate(e.rectPlotY,g+e.pointWidth/2),e.tooltipPos=[g.x-i.plotLeft,g.y-i.plotTop]):e.tooltipPos=[e.plotX,e.plotY],s&&(e.ttBelow=e.plotY>s[1])}}})),a.findAlignments=function(t,e){return null===e.align&&(e.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===e.verticalAlign&&(e.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle"),e},b&&(b.findAlignments=a.findAlignments),t(a,"alignDataLabel",(function(t,e,n,i,r,o){var a=this.chart,s=f(i.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,Math.round(e.plotY)),s&&e.shapeArgs?(r=e.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:r.y-a.plotTop}):e.tooltipPos&&(r={x:e.tooltipPos[0],y:e.tooltipPos[1]}),i.align=f(i.align,"center"),i.verticalAlign=f(i.verticalAlign,"middle")):this.findAlignments&&(i=this.findAlignments(t,i)),_.alignDataLabel.call(this,e,n,i,r,o),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end&&n.hide(!0)):t.call(this,e,n,i,r,o)}))}t(r,"getCoordinates",(function(t,e){var n=this.chart,i={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(t){var r=t.isXAxis,o=t.center;if("colorAxis"!==t.coll){var a=e.chartX-o[0]-n.plotLeft;o=e.chartY-o[1]-n.plotTop,i[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,o):Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),!0)})}})):i=t.call(this,e),i})),s.prototype.clipCircle=function(t,e,n,i){var r=g(),o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=i?this.arc(t,e,n,i,0,2*Math.PI).add(o):this.circle(t,e,n).add(o)).id=r,t.clipPath=o,t},d(e,"getAxes",(function(){this.pane||(this.pane=[]),this.options.pane=m(this.options.pane),this.options.pane.forEach((function(t){new i(t,this)}),this)})),d(e,"afterDrawChartBox",(function(){this.pane.forEach((function(t){t.render()}))})),d(o,"afterInit",(function(){var t=this.chart;t.inverted&&t.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))})),t(e.prototype,"get",(function(t,e){return p(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}))})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Axis/RadialAxis.js"],t["Series/Bubble/BubbleSeries.js"]],(function(t,e,n){e.compose(t.Axis,t.Tick),n.compose(t.Chart,t.Legend,t.Series)}))}))},function(t,e,n){"use strict";var i=n(146);var r=function(t){function e(t,e,i){var r=e.trim().split(f);e=r;var o=r.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<o;++s)e[s]=n(t,e[s],i).trim();break;default:var l=s=0;for(e=[];s<o;++s)for(var c=0;c<a;++c)e[l++]=n(t[c]+" ",r[s],i).trim()}return e}function n(t,e,n){var i=e.charCodeAt(0);switch(33>i&&(i=(e=e.trim()).charCodeAt(0)),i){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function i(t,e,n,o){var a=t+";",s=2*e+3*n+4*o;if(944===s){t=a.indexOf(":",9)+1;var l=a.substring(t,a.length-1).trim();return l=a.substring(0,t).trim()+l+";",1===$||2===$&&r(l,1)?"-webkit-"+l+l:l}if(0===$||2===$&&!r(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(u,":-webkit-")+a.replace(u,":-moz-")+a:a;case 1e3:switch(e=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(l=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(w,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(w,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(t))return 115===(l=t.substring(t.indexOf(":")+1)).charCodeAt(0)?i(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function r(t,e){var n=t.indexOf(1===e?":":"{"),i=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),T(2!==e?i:i.replace(O,"$1"),n,e)}function o(t,e){var n=i(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(x," or ($1)").substring(4):"("+e+")"}function a(t,e,n,i,r,o,a,s,c,d){for(var u,p=0,h=e;p<P;++p)switch(u=M[p].call(l,t,h,n,i,r,o,a,s,c,d)){case void 0:case!1:case!0:case null:break;default:h=u}if(h!==e)return h}function s(t){return void 0!==(t=t.prefix)&&(T=null,t?"function"!=typeof t?$=1:($=2,T=t):$=0),s}function l(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<P){var l=a(-1,n,s,s,S,E,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var u=function t(n,s,l,u,p){for(var h,f,m,b,x,w=0,O=0,k=0,C=0,M=0,T=0,L=m=h=0,N=0,I=0,R=0,F=0,z=l.length,B=z-1,W="",H="",Y="",U="";N<z;){if(f=l.charCodeAt(N),N===B&&0!==O+C+k+w&&(0!==O&&(f=47===O?10:47),C=k=w=0,z++,B++),0===O+C+k+w){if(N===B&&(0<I&&(W=W.replace(d,"")),0<W.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:W+=l.charAt(N)}f=59}switch(f){case 123:for(h=(W=W.trim()).charCodeAt(0),m=1,F=++N;N<z;){switch(f=l.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(N+1)){case 42:case 47:t:{for(L=N+1;L<B;++L)switch(l.charCodeAt(L)){case 47:if(42===f&&42===l.charCodeAt(L-1)&&N+2!==L){N=L+1;break t}break;case 10:if(47===f){N=L+1;break t}}N=L}}break;case 91:f++;case 40:f++;case 34:case 39:for(;N++<B&&l.charCodeAt(N)!==f;);}if(0===m)break;N++}switch(m=l.substring(F,N),0===h&&(h=(W=W.replace(c,"").trim()).charCodeAt(0)),h){case 64:switch(0<I&&(W=W.replace(d,"")),f=W.charCodeAt(1)){case 100:case 109:case 115:case 45:I=s;break;default:I=A}if(F=(m=t(s,I,m,f,p+1)).length,0<P&&(x=a(3,m,I=e(A,W,R),s,S,E,F,f,p,u),W=I.join(""),void 0!==x&&0===(F=(m=x.trim()).length)&&(f=0,m="")),0<F)switch(f){case 115:W=W.replace(y,o);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(g,"$1 $2"))+"{"+m+"}",m=1===$||2===$&&r("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===u&&(H+=m,m="")}else m="";break;default:m=t(s,e(s,W,R),m,u,p+1)}Y+=m,m=R=I=L=h=0,W="",f=l.charCodeAt(++N);break;case 125:case 59:if(1<(F=(W=(0<I?W.replace(d,""):W).trim()).length))switch(0===L&&(h=W.charCodeAt(0),45===h||96<h&&123>h)&&(F=(W=W.replace(" ",":")).length),0<P&&void 0!==(x=a(1,W,s,n,S,E,H.length,u,p,u))&&0===(F=(W=x.trim()).length)&&(W="\0\0"),h=W.charCodeAt(0),f=W.charCodeAt(1),h){case 0:break;case 64:if(105===f||99===f){U+=W+l.charAt(N);break}default:58!==W.charCodeAt(F-1)&&(H+=i(W,h,f,W.charCodeAt(2)))}R=I=L=h=0,W="",f=l.charCodeAt(++N)}}switch(f){case 13:case 10:47===O?O=0:0===1+h&&107!==u&&0<W.length&&(I=1,W+="\0"),0<P*D&&a(0,W,s,n,S,E,H.length,u,p,u),E=1,S++;break;case 59:case 125:if(0===O+C+k+w){E++;break}default:switch(E++,b=l.charAt(N),f){case 9:case 32:if(0===C+w+O)switch(M){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===C+O+w&&(I=R=1,b="\f"+b);break;case 108:if(0===C+O+w+j&&0<L)switch(N-L){case 2:112===M&&58===l.charCodeAt(N-3)&&(j=M);case 8:111===T&&(j=T)}break;case 58:0===C+O+w&&(L=N);break;case 44:0===O+k+C+w&&(I=1,b+="\r");break;case 34:case 39:0===O&&(C=C===f?0:0===C?f:C);break;case 91:0===C+O+k&&w++;break;case 93:0===C+O+k&&w--;break;case 41:0===C+O+w&&k--;break;case 40:if(0===C+O+w){if(0===h)switch(2*M+3*T){case 533:break;default:h=1}k++}break;case 64:0===O+k+C+w+L+m&&(m=1);break;case 42:case 47:if(!(0<C+w+k))switch(O){case 0:switch(2*f+3*l.charCodeAt(N+1)){case 235:O=47;break;case 220:F=N,O=42}break;case 42:47===f&&42===M&&F+2!==N&&(33===l.charCodeAt(F+2)&&(H+=l.substring(F,N+1)),b="",O=0)}}0===O&&(W+=b)}T=M,M=f,N++}if(0<(F=H.length)){if(I=s,0<P&&(void 0!==(x=a(2,H,I,n,S,E,F,u,p,u))&&0===(H=x).length))return U+H+Y;if(H=I.join(",")+"{"+H+"}",0!=$*j){switch(2!==$||r(H,2)||(j=0),j){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(_,"::-webkit-input-$1")+H.replace(_,"::-moz-$1")+H.replace(_,":-ms-input-$1")+H}j=0}}return U+H+Y}(A,s,n,0,0);return 0<P&&(void 0!==(l=a(-2,u,s,s,S,E,u.length,0,0,0))&&(u=l)),"",j=0,E=S=1,u}var c=/^\0+/g,d=/[\0\r\f]/g,u=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,f=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,_=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,w=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,E=1,S=1,j=0,$=1,A=[],M=[],P=0,T=null,D=0;return l.use=function t(e){switch(e){case void 0:case null:P=M.length=0;break;default:if("function"==typeof e)M[P++]=e;else if("object"==typeof e)for(var n=0,i=e.length;n<i;++n)t(e[n]);else D=0|!!e}return t},l.set=s,void 0!==t&&s(t),l};function o(t){t&&a.current.insert(t+"}")}var a={current:null},s=function(t,e,n,i,r,s,l,c,d,u){switch(t){case 1:switch(e.charCodeAt(0)){case 64:return a.current.insert(e+";"),"";case 108:if(98===e.charCodeAt(2))return""}break;case 2:if(0===c)return e+"/*|*/";break;case 3:switch(c){case 102:case 112:return a.current.insert(n[0]+e),"";default:return e+(0===u?"/*|*/":"")}case-2:e.split("/*|*/}").forEach(o)}};e.a=function(t){void 0===t&&(t={});var e,n=t.key||"css";void 0!==t.prefix&&(e={prefix:t.prefix});var o=new r(e);var l,c={};l=t.container||document.head;var d,u=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(u,(function(t){t.getAttribute("data-emotion-"+n).split(" ").forEach((function(t){c[t]=!0})),t.parentNode!==l&&l.appendChild(t)})),o.use(t.stylisPlugins)(s),d=function(t,e,n,i){var r=e.name;a.current=n,o(t,e.styles),i&&(p.inserted[r]=!0)};var p={key:n,sheet:new i.a({key:n,container:l,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:c,registered:{},insert:d};return p}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(12),u=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.avatar,h=void 0!==p&&p,f=t.avatarUrl,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.id,x=t.name,w=t.orientation,O=void 0===w?"horizontal":w,k=t.size,C=void 0===k?"sm":k,E=t.subtitle,S=t.territory,j=void 0===S?"":S,$=t.title,A=void 0===$?"":$,M=Object(s.c)(b),P=Object(s.a)(o),T=a()(Object(s.b)("pb_user_kit",n,O,C),Object(l.c)(t),m),D=h||f;return r.a.createElement("div",Object.assign({},P,M,{className:T,id:y}),D&&r.a.createElement(c.a,{imageUrl:f,name:x,size:C,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{dark:_,size:"lg"==C?3:4,text:x}),r.a.createElement(d.a,{color:"light",dark:_,variant:null},""===j?A:"".concat(j," • ").concat(A)),"string"==typeof E&&r.a.createElement(d.a,{color:"light",dark:_,text:E,variant:null}),"string"!=typeof E&&r.a.createElement(r.a.Fragment,null,E)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(7);e.a=function(t){var e=t.action,n=void 0===e?"add":e,i=t.aria,o=void 0===i?{}:i,u=t.linkAriaLabel,p=t.className,h=t.dark,f=void 0!==h&&h,m=t.data,g=void 0===m?{}:m,_=t.id,v=t.imageAlt,b=void 0===v?"":v,y=t.imageUrl,x=t.linkUrl,w=t.name,O=t.onClick,k=t.placement,C=void 0===k?"bottom left":k,E=t.size,S=void 0===E?"md":E,j=Object(s.a)(o),$=Object(s.c)(g),A=a()(Object(s.b)("pb_avatar_action_button_kit",n,C,S),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},j,$,{className:A,id:_}),r.a.createElement("a",{"aria-label":u,href:x,onClick:O},r.a.createElement(c.a,{imageAlt:b,imageUrl:y,name:w,size:S}),r.a.createElement("div",{className:"icon ".concat(f?"dark":"")},r.a.createElement(d.a,{dark:f,icon:{add:"plus-circle",remove:"times-circle"}[n]}))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.count,_=t.id,v=t.title,b=t.size,y=void 0===b?"sm":b,x=Object(s.a)(o),w=Object(s.c)(m),O=a()(Object(s.b)("pb_title_count_kit",n,y),Object(l.c)(t),u),k=g.toLocaleString();return r.a.createElement("div",Object.assign({},x,w,{className:O,id:_}),r.a.createElement(d.a,{className:void 0!==v?"pb_title_count_text":"",dark:h,size:"lg"===y?3:4,text:v}),r.a.createElement(c.a,{color:"light",dark:h},g&&k))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,c=t.color,d=t.data,u=void 0===d?{}:d,p=t.orientation,h=void 0===p?"horizontal":p,f=t.icon,m=void 0!==f&&f,g=t.showIcon,_=void 0!==g&&g,v=t.variant,b=Object(s.a)(n),y=Object(s.c)(u),x=!0===m||!0===_?"icon":"",w=Object(s.b)("pb_progress_step_kit",h,x,v,c);return r.a.createElement("ul",Object.assign({},b,y,{className:a()(w,Object(l.c)(t),i)}),o)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7),d=n(14),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.checked,p=void 0!==o&&o,h=t.customIcon,f=t.data,m=void 0===f?{}:f,g=t.disabled,_=void 0!==g&&g,v=t.icon,b=t.inputId,y=t.inputs,x=void 0===y?"enabled":y,w=t.multi,O=void 0===w||w,k=t.name,C=t.text,E=t.value,S=u(t,["aria","className","checked","customIcon","data","disabled","icon","inputId","inputs","multi","name","text","value"]),j=Object(l.a)(n),$=Object(l.c)(m),A=a()(Object(l.b)("pb_selectable_icon_kit",{checked:p,disabled:_,enabled:!_}),Object(s.c)(S),i),M=!1===O?"radio":"checkbox",P=null!==b?b:k;return r.a.createElement("div",Object.assign({},j,$,{className:A}),"disabled"===x&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{customIcon:h,icon:v,size:"2x"}),r.a.createElement(d.a,{size:4,tag:"h4",text:C})),"enabled"===x&&r.a.createElement(r.a.Fragment,null,r.a.createElement("input",Object.assign({},S,{checked:p,disabled:_,id:P,name:k,type:M,value:E})),r.a.createElement("label",{htmlFor:P},r.a.createElement(c.a,{customIcon:h,icon:v,size:"2x"}),r.a.createElement(d.a,{size:4,tag:"h4",text:C}))))}},function(t,e,n){"use strict";function i(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(16),d=n(14),u=n(18),p=function(t,e){if("day_only"===e)return u.a.toDay(t).toString();var n="expanded"===e?"expanded":"month_day";return u.a.toCustomFormat(t,n)};e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,h=t.className,f=t.dark,m=void 0!==f&&f,g=t.data,_=void 0===g?{}:g,v=t.date,b=void 0===v?new Date:v,y=t.id,x=t.variant,w=void 0===x?"month_day":x,O=t.compact,k=void 0!==O&&O,C=Object(l.a)(o),E=Object(l.c)(_),S=a()(Object(l.b)("pb_weekday_stacked_kit",n),Object(s.c)(t),h);return r.a.createElement("div",Object.assign({},C,E,{className:S,id:y}),r.a.createElement(c.a,{dark:m},function(t,e){return e?u.a.toDayAbbr(t):u.a.toWeekday(t)}(b,k)),r.a.createElement(d.a,{dark:m,size:4,tag:"span",text:p(b,w)}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,c=void 0===o?{}:o,d=t.id,u=t.status,p=void 0===u?"offline":u;n.label=p;var h=Object(l.a)(n),f=Object(l.c)(c),m=a()(Object(l.b)("pb_online_status_kit",p),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},h,f,{className:m,id:d}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,c=t.backgroundColor,d=void 0===c?"light":c,u=t.backgroundPosition,p=void 0===u?"":u,h=t.backgroundRepeat,f=void 0===h?"initial":h,m=t.backgroundSize,g=void 0===m?"cover":m,_=t.children,v=t.className,b=t.customColor,y=t.data,x=void 0===y?{}:y,w=t.id,O=t.imageUrl,k=void 0===O?"":O,C=t.tag,E=void 0===C?"div":C,S=t.transition,j=void 0===S?"":S,$=Object(s.a)(o),A=Object(s.c)(x),M={backgroundImage:"url(".concat(k,")"),backgroundRepeat:"".concat(f),backgroundSize:"".concat(g),backgroundPosition:p},P={backgroundColor:b||null,backgroundPosition:"".concat(p)},T=b?"pb_background_custom_color":"pb_background_color_".concat(d),D=a()(Object(s.b)("pb_background_kit"),"lazyload",M,j,Object(l.c)(t),T,v),L="".concat(E);return r.a.createElement(r.a.Fragment,null,k?r.a.createElement(L,Object.assign({alt:n,style:M},$,A,{className:D,id:w}),_):r.a.createElement(L,Object.assign({},$,A,{className:D,id:w,style:P}),_))}},function(t,e,n){"use strict";var i=n(200),r=n.n(i),o=n(0),a=n.n(o),s=n(3),l=n.n(s),c=n(5);e.a=function(t){var e=t.children,n=t.className,i=void 0===n?"pb_highlight_kit":n,o=t.data,s=void 0===o?{}:o,d=t.highlightedText,u=void 0===d?["highlight"]:d,p=t.id,h=void 0===p?"":p,f=t.text,m=(void 0===f?"":f)||e;return a.a.createElement(r.a,{autoEscape:!0,data:s,highlightClassName:l()(Object(c.c)(t),i),highlightTag:"mark",id:h,searchWords:u,textToHighlight:m})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(70),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,c=void 0===o?{}:o,u=t.align,_=void 0===u?"center":u,b=t.className,y=void 0===b?"pb_bar_graph":b,x=t.dark,w=void 0!==x&&x,O=(t.gradient,t.type),k=void 0===O?"line":O,C=t.id,E=t.legend,S=void 0!==E&&E,j=t.toggleLegendClick,$=void 0===j||j,A=t.layout,M=void 0===A?"horizontal":A,P=t.verticalAlign,T=void 0===P?"bottom":P,D=t.x,L=void 0===D?0:D,N=t.y,I=void 0===N?0:N,R=t.axisTitle,F=t.xAxisCategories,z=t.yAxisMin,B=t.yAxisMax,W=t.chartData,H=t.pointStart,Y=t.subTitle,U=t.title,G=t.height,X=t.colors,V=void 0===X?[]:X,q=v(t,["aria","data","align","className","dark","gradient","type","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),K=Object(l.a)(n),Z=Object(l.c)(c);w?p.a.setOptions(f.a):p.a.setOptions(h.a);var J={title:{text:U},chart:{height:G,type:k},subtitle:{text:Y},yAxis:{min:z,max:B,title:{text:R}},xAxis:{categories:F},legend:{enabled:S,align:_,verticalAlign:T,layout:M,x:L,y:I},colors:void 0!==V&&V.length>0?Object(m.a)(V):h.a.colors,plotOptions:{series:{pointStart:H,events:{},dataLabels:{enabled:!1}}},series:W,credits:!1};$||(J.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=g(Object(i.useState)({}),2),tt=Q[0],et=Q[1];return Object(i.useEffect)((function(){et(Object.assign({},J))}),[W]),r.a.createElement(d.a,{containerProps:Object.assign(Object.assign({className:a()(Object(s.c)(q),y),id:C},K),Z),highcharts:p.a,options:tt})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var s=n(3),l=n.n(s),c=n(2),d=n(5),u=r.a.createContext({}),p=n(48),h=n(16),f=n(10),m=n(15),g=n(14),_=n(23),v=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.children,a=t.className,s=t.data,v=void 0===s?{}:s,b=t.onClickRight,y=t.spacing,x=void 0===y?"between":y,w=t.text,O=t.navRight,k=t.title,C=t.closeable,E=void 0===C||C,S=t.icon,j=void 0===S?"times":S,$=Object(c.a)(n),A=Object(c.c)(v),M=Object(i.useContext)(u),P=Object(c.b)("lightbox_header"),T=Object(d.c)(t,{paddingY:"sm"}),D=function(){return M.onClose()},L=function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{flex:"1",marginLeft:"sm"},r.a.createElement(p.a,{onClick:D,dark:!0,variant:"link",icon:j})),k&&w&&r.a.createElement(m.a,{flex:"5"},r.a.createElement(f.a,{justify:"center"},r.a.createElement(f.a,{align:"center",orientation:"column"},"string"==typeof k?r.a.createElement(g.a,{dark:!0,paddingBottom:"xxs",size:4,text:k}):r.a.createElement(f.a,{justify:"center",className:"custom-header"},k),"string"==typeof w?r.a.createElement(h.a,{dark:!0},w):r.a.createElement(f.a,{justify:"center",className:"custom-header"},w)))),r.a.createElement(m.a,{flex:"1"},r.a.createElement(f.a,{justify:"end"},r.a.createElement(_.a,{className:"nav-right-btn",htmlType:"button",onClick:b,dark:!0,variant:"link",text:O}))))};return r.a.createElement("div",{className:"carousel-header"},r.a.createElement(f.a,Object.assign({},$,A,{className:l()(P,T,a),spacing:x}),E&&r.a.createElement(L,null),o))},b=n(22),y=function(t,e){return Number(t.toFixed(e))},x=function(t,e,n){n&&"function"==typeof n&&n(t,e)},w={easeOut:function(t){return-Math.cos(t*Math.PI)/2+.5},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},O=function(t){"number"==typeof t&&cancelAnimationFrame(t)},k=function(t){t.mounted&&(O(t.animation),t.animate=!1,t.animation=null,t.velocity=null)};function C(t,e,n,i){if(t.mounted){var r=(new Date).getTime();k(t),t.animation=function(){if(!t.mounted)return O(t.animation);var o=(new Date).getTime()-r,a=(0,w[e])(o/n);o>=n?(i(1),t.animation=null):t.animation&&(i(a),requestAnimationFrame(t.animation))},requestAnimationFrame(t.animation)}}function E(t,e,n,i){var r=function(t){var e=t.scale,n=t.positionX,i=t.positionY;return!(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(i))}(e);if(t.mounted&&r){var o=t.setTransformState,a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY,d=e.scale-s,u=e.positionX-l,p=e.positionY-c;0===n?o(e.scale,e.positionX,e.positionY):C(t,i,n,(function(t){o(s+d*t,l+u*t,c+p*t)}))}}var S=function(t,e){var n=t.wrapperComponent,i=t.contentComponent,r=t.setup.centerZoomedOut;if(!n||!i)throw new Error("Components are not mounted");var o=function(t,e,n){var i=t.offsetWidth,r=t.offsetHeight,o=e.offsetWidth*n,a=e.offsetHeight*n;return{wrapperWidth:i,wrapperHeight:r,newContentWidth:o,newDiffWidth:i-o,newContentHeight:a,newDiffHeight:r-a}}(n,i,e),a=o.wrapperWidth,s=o.wrapperHeight;return function(t,e,n,i,r,o,a){var s=t>e?n*(a?1:.5):0,l=i>r?o*(a?1:.5):0;return{minPositionX:t-e-s,maxPositionX:s,minPositionY:i-r-l,maxPositionY:l}}(a,o.newContentWidth,o.newDiffWidth,s,o.newContentHeight,o.newDiffHeight,Boolean(r))},j=function(t,e,n,i){return y(i?t<e?e:t>n?n:t:t,2)},$=function(t,e){var n=S(t,e);return t.bounds=n,n};function A(t,e,n,i,r,o,a){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,d=n.maxPositionY,u=0,p=0;return a&&(u=r,p=o),{x:j(t,s-u,c+u,i),y:j(e,l-p,d+p,i)}}function M(t,e,n,i,r,o){var a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY,d=i-s;return"number"!=typeof e||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):A(l-e*d,c-n*d,r,o,0,0,null)}function P(t,e,n,i,r){var o=e-(r?i:0);return!Number.isNaN(n)&&t>=n?n:!Number.isNaN(e)&&t<=o?o:t}var T=function(t,e){var n=t.setup.panning.excluded,i=t.isInitialized,r=t.wrapperComponent,o=e.target,a=null==r?void 0:r.contains(o);return!!(i&&o&&a)&&!ct(o,n)},D=function(t){var e=t.isInitialized,n=t.isPanning,i=t.setup.panning.disabled;return!(!e||!n||i)};var L=function(t,e){var n=t.setup,i=t.transformState.scale,r=n.minScale,o=n.disablePadding;return e>0&&i>=r&&!o?e:0};function N(t,e,n,i,r,o,a,s,l,c){if(r){var d;if(e>a&&n>a)return(d=a+(t-a)*c)>l?l:d<a?a:d;if(e<o&&n<o)return(d=o+(t-o)*c)<s?s:d>o?o:d}return i?e:j(t,o,a,r)}function I(t,e){if(function(t){var e=t.mounted,n=t.setup,i=n.disabled,r=n.velocityAnimation,o=t.transformState.scale;return!(r.disabled&&!(o>1)&&i&&!e)}(t)){var n=t.lastMousePosition,i=t.velocityTime,r=t.setup,o=t.wrapperComponent,a=r.velocityAnimation.equalToMove,s=Date.now();if(n&&i&&o){var l=function(t,e){return e?Math.min(1,t.offsetWidth/window.innerWidth):1}(o,a),c=e.x-n.x,d=e.y-n.y,u=c/l,p=d/l,h=s-i,f=c*c+d*d,m=Math.sqrt(f)/h;t.velocity={velocityX:u,velocityY:p,total:m}}t.lastMousePosition=e,t.velocityTime=s}}function R(t,e){var n=t.transformState.scale;k(t),$(t,n),void 0!==window.TouchEvent&&e instanceof TouchEvent?function(t,e){var n=e.touches,i=t.transformState,r=i.positionX,o=i.positionY;if(t.isPanning=!0,1===n.length){var a=n[0].clientX,s=n[0].clientY;t.startCoords={x:a-r,y:s-o}}}(t,e):function(t,e){var n=t.transformState,i=n.positionX,r=n.positionY;t.isPanning=!0;var o=e.clientX,a=e.clientY;t.startCoords={x:o-i,y:a-r}}(t,e)}function F(t){var e=t.transformState.scale,n=t.setup,i=n.minScale,r=n.alignmentAnimation,o=r.disabled,a=r.sizeX,s=r.sizeY,l=r.animationTime,c=r.animationType;if(!(o||e<i||!a&&!s)){var d=function(t){var e=t.transformState,n=e.positionX,i=e.positionY,r=e.scale,o=t.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,c=t.wrapperComponent;if(!a&&c&&t.bounds){var d=t.bounds,u=d.maxPositionX,p=d.minPositionX,h=d.maxPositionY,f=d.minPositionY,m=n>u||n<p,g=i>h||i<f,_=M(t,n>u?c.offsetWidth:t.setup.minPositionX||0,i>h?c.offsetHeight:t.setup.minPositionY||0,r,t.bounds,s||l),v=_.x,b=_.y;return{scale:r,positionX:m?v:n,positionY:g?b:i}}}(t);d&&E(t,d,l,c)}}function z(t,e,n){var i=t.startCoords,r=t.setup.alignmentAnimation,o=r.sizeX,a=r.sizeY;if(i){var s=function(t,e,n){var i=t.startCoords,r=t.transformState,o=t.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=r.positionX,c=r.positionY;if(!i)return{x:l,y:c};var d=e-i.x,u=n-i.y;return{x:a?l:d,y:s?c:u}}(t,e,n),l=s.x,c=s.y,d=L(t,o),u=L(t,a);I(t,{x:l,y:c}),function(t,e,n,i,r){var o=t.setup.limitToBounds,a=t.wrapperComponent,s=t.bounds,l=t.transformState,c=l.scale,d=l.positionX,u=l.positionY;if(null!==a&&null!==s&&(e!==d||n!==u)){var p=A(e,n,s,o,i,r,a),h=p.x,f=p.y;t.setTransformState(c,h,f)}}(t,l,c,d,u)}}function B(t){if(t.isPanning){var e=t.setup.panning.velocityDisabled,n=t.velocity,i=t.wrapperComponent,r=t.contentComponent;t.isPanning=!1,t.animate=!1,t.animation=null;var o=null==i?void 0:i.getBoundingClientRect(),a=null==r?void 0:r.getBoundingClientRect(),s=(null==o?void 0:o.width)||0,l=(null==o?void 0:o.height)||0,c=(null==a?void 0:a.width)||0,d=(null==a?void 0:a.height)||0,u=s<c||l<d;!e&&n&&(null==n?void 0:n.total)>.1&&u?function(t){var e=t.velocity,n=t.bounds,i=t.setup,r=t.wrapperComponent;if(function(t){var e=t.mounted,n=t.velocity,i=t.bounds,r=t.setup,o=r.disabled,a=r.velocityAnimation,s=t.transformState.scale;return!(a.disabled&&!(s>1)&&o&&!e)&&!(!n||!i)}(t)&&e&&n&&r){var o=e.velocityX,a=e.velocityY,s=e.total,l=n.maxPositionX,c=n.minPositionX,d=n.maxPositionY,u=n.minPositionY,p=i.limitToBounds,h=i.alignmentAnimation,f=i.zoomAnimation,m=i.panning,g=m.lockAxisY,_=m.lockAxisX,v=f.animationType,b=h.sizeX,y=h.sizeY,x=h.velocityAlignmentTime,O=function(t,e){var n=t.setup.velocityAnimation,i=n.equalToMove,r=n.animationTime,o=n.sensitivity;return i?r*e*o:r}(t,s),k=Math.max(O,x),E=L(t,b),S=L(t,y),j=E*r.offsetWidth/100,$=S*r.offsetHeight/100,A=l+j,M=c-j,P=d+$,T=u-$,D=t.transformState,I=(new Date).getTime();C(t,v,k,(function(e){var n=t.transformState,i=n.scale,r=n.positionX,s=n.positionY,f=((new Date).getTime()-I)/x,m=1-(0,w[h.animationType])(Math.min(1,f)),v=1-e,b=r+o*v,y=s+a*v,O=N(b,D.positionX,r,_,p,c,l,M,A,m),k=N(y,D.positionY,s,g,p,u,d,T,P,m);r===b&&s===y||t.setTransformState(i,O,k)}))}}(t):F(t)}}function W(t,e,n,i){var r=t.setup,o=r.minScale,a=r.maxScale,s=r.limitToBounds,l=P(y(e,2),o,a,0,!1),c=M(t,n,i,l,$(t,l),s);return{scale:l,positionX:c.x,positionY:c.y}}function H(t,e,n){var i=t.transformState.scale,r=t.wrapperComponent,o=t.setup,a=o.minScale,s=o.limitToBounds,l=o.zoomAnimation,c=l.disabled,d=l.animationTime,u=l.animationType,p=c||i>=a;if((i>=1||s)&&F(t),!p&&r&&t.mounted){var h=W(t,a,e||r.offsetWidth/2,n||r.offsetHeight/2);h&&E(t,h,d,u)}}var Y=function(){return(Y=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function U(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var G=1,X=0,V=0,q={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},K=function(t){var e,n,i,r;return{previousScale:null!==(e=t.initialScale)&&void 0!==e?e:G,scale:null!==(n=t.initialScale)&&void 0!==n?n:G,positionX:null!==(i=t.initialPositionX)&&void 0!==i?i:X,positionY:null!==(r=t.initialPositionY)&&void 0!==r?r:V}},Z=function(t){var e=Y({},q);return Object.keys(t).forEach((function(n){var i=void 0!==t[n];if(void 0!==q[n]&&i){var r=Object.prototype.toString.call(q[n]),o="[object Object]"===r,a="[object Array]"===r;e[n]=o?Y(Y({},q[n]),t[n]):a?U(U([],q[n],!0),t[n],!0):t[n]}})),e},J=function(t,e,n){var i=t.transformState.scale,r=t.wrapperComponent,o=t.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation.size;if(!r)throw new Error("Wrapper is not mounted");var c=i*Math.exp(e*n);return P(y(c,3),s,a,l,!1)};function Q(t,e,n,i,r){var o=t.wrapperComponent,a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=(o.offsetWidth/2-l)/s,u=(o.offsetHeight/2-c)/s,p=W(t,J(t,e,n),d,u);if(!p)return console.error("Error during zoom event. New transformation state was not calculated.");E(t,p,i,r)}function tt(t,e,n,i){var r=t.setup,o=t.wrapperComponent,a=r.limitToBounds,s=K(t.props),l=t.transformState,c=l.scale,d=l.positionX,u=l.positionY;if(o){var p=S(t,s.scale),h=A(s.positionX,s.positionY,p,a,0,0,o),f={scale:s.scale,positionX:h.x,positionY:h.y};c===s.scale&&d===s.positionX&&u===s.positionY||(null==i||i(),E(t,f,e,n))}}var et=function(t){return function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),Q(t,1,e,n,i)}},nt=function(t){return function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),Q(t,-1,e,n,i)}},it=function(t){return function(e,n,i,r,o){void 0===r&&(r=300),void 0===o&&(o="easeOut");var a=t.transformState,s=a.positionX,l=a.positionY,c=a.scale,d=t.wrapperComponent,u=t.contentComponent;if(!t.setup.disabled&&d&&u){var p={positionX:Number.isNaN(e)?s:e,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(i)?c:i};E(t,p,r,o)}}},rt=function(t){return function(e,n){void 0===e&&(e=200),void 0===n&&(n="easeOut"),tt(t,e,n)}},ot=function(t){return function(e,n,i){void 0===n&&(n=200),void 0===i&&(i="easeOut");var r=t.transformState,o=t.wrapperComponent,a=t.contentComponent;if(o&&a){var s=ut(e||r.scale,o,a);E(t,s,n,i)}}},at=function(t){return function(e,n,i,r){void 0===i&&(i=600),void 0===r&&(r="easeOut"),k(t);var o=t.wrapperComponent,a="string"==typeof e?document.getElementById(e):e;if(o&&a&&o.contains(a)){var s=function(t,e,n){var i=t.wrapperComponent,r=t.contentComponent,o=t.transformState,a=t.setup,s=a.limitToBounds,l=a.minScale,c=a.maxScale;if(!i||!r)return o;var d,u,p,h,f,m,g,_,v=i.getBoundingClientRect(),b=e.getBoundingClientRect(),y=(d=i,u=r,p=o,h=e.getBoundingClientRect(),f=d.getBoundingClientRect(),m=u.getBoundingClientRect(),g=f.x*p.scale,_=f.y*p.scale,{x:(h.x-m.x+g)/p.scale,y:(h.y-m.y+_)/p.scale}),x=y.x,w=y.y,O=b.width/o.scale,k=b.height/o.scale,C=i.offsetWidth/O,E=i.offsetHeight/k,j=P(n||Math.min(C,E),l,c,0,!1),$=(v.width-O*j)/2,M=(v.height-k*j)/2,T=A((v.left-x)*j+$,(v.top-w)*j+M,S(t,j),s,0,0,i);return{positionX:T.x,positionY:T.y,scale:j}}(t,a,n);E(t,s,i,r)}}},st=function(t){return{instance:t,state:t.transformState,zoomIn:et(t),zoomOut:nt(t),setTransform:it(t),resetTransform:rt(t),centerView:ot(t),zoomToElement:at(t)}};function lt(){try{return{get passive(){return!0,!1}}}catch(t){return!1}}var ct=function(t,e){var n=t.tagName.toUpperCase();return!!e.find((function(t){return t.toUpperCase()===n}))||!!e.find((function(e){return t.classList.contains(e)}))},dt=function(t){t&&clearTimeout(t)},ut=function(t,e,n){var i=n.offsetWidth*t,r=n.offsetHeight*t;return{scale:t,positionX:(e.offsetWidth-i)/2,positionY:(e.offsetHeight-r)/2}};function pt(t,e,n){var i=e.getBoundingClientRect(),r=0,o=0;if("clientX"in t)r=(t.clientX-i.left)/n,o=(t.clientY-i.top)/n;else{var a=t.touches[0];r=(a.clientX-i.left)/n,o=(a.clientY-i.top)/n}return(Number.isNaN(r)||Number.isNaN(o))&&console.error("No mouse or touch offset found"),{x:r,y:o}}var ht=function(t){return Math.sqrt(Math.pow(t.touches[0].pageX-t.touches[1].pageX,2)+Math.pow(t.touches[0].pageY-t.touches[1].pageY,2))},ft=function(t,e){var n=t.props,i=n.onWheel,r=n.onZoom,o=t.contentComponent,a=t.setup,s=t.transformState.scale,l=a.limitToBounds,c=a.centerZoomedOut,d=a.zoomAnimation,u=a.wheel,p=a.disablePadding,h=d.size,f=d.disabled,m=u.step;if(!o)throw new Error("Component not mounted");e.preventDefault(),e.stopPropagation();var g=function(t,e,n,i,r){var o=t.transformState.scale,a=t.wrapperComponent,s=t.setup,l=s.maxScale,c=s.minScale,d=s.zoomAnimation,u=s.disablePadding,p=d.size,h=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var f=o+e*(o-o*n)*n;if(r)return f;var m=!i&&!h;return P(y(f,3),c,l,p,m&&!u)}(t,function(t,e){var n,i,r=function(t){return t?t.deltaY<0?1:-1:0}(t);return i=r,"number"==typeof(n=e)?n:i}(e,null),m,!e.ctrlKey);if(s!==g){var _=$(t,g),v=pt(e,o,s),b=l&&(f||0===h||c||p),w=M(t,v.x,v.y,g,_,b),O=w.x,k=w.y;t.previousWheelEvent=e,t.setTransformState(g,O,k),x(st(t),e,i),x(st(t),e,r)}},mt=function(t,e){var n=t.props,i=n.onWheelStop,r=n.onZoomStop;dt(t.wheelAnimationTimer),t.wheelAnimationTimer=setTimeout((function(){t.mounted&&(H(t,e.x,e.y),t.wheelAnimationTimer=null)}),100),function(t,e){var n=t.previousWheelEvent,i=t.transformState.scale,r=t.setup,o=r.maxScale,a=r.minScale;return!!n&&(i<o||i>a||(Math.sign(n.deltaY)!==Math.sign(e.deltaY)||(n.deltaY>0&&n.deltaY<e.deltaY||(n.deltaY<0&&n.deltaY>e.deltaY||Math.sign(n.deltaY)!==Math.sign(e.deltaY)))))}(t,e)&&(dt(t.wheelStopEventTimer),t.wheelStopEventTimer=setTimeout((function(){t.mounted&&(t.wheelStopEventTimer=null,x(st(t),e,i),x(st(t),e,r))}),160))},gt=function(t,e){var n=t.contentComponent,i=t.pinchStartDistance,r=t.transformState.scale,o=t.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,c=l.disabled,d=l.size;if(null!==i&&n){var u=function(t,e,n){var i=n.getBoundingClientRect(),r=t.touches,o=y(r[0].clientX-i.left,5),a=y(r[0].clientY-i.top,5);return{x:(o+y(r[1].clientX-i.left,5))/2/e,y:(a+y(r[1].clientY-i.top,5))/2/e}}(e,r,n);if(Number.isFinite(u.x)&&Number.isFinite(u.y)){var p=ht(e),h=function(t,e){var n=t.pinchStartScale,i=t.pinchStartDistance,r=t.setup,o=r.maxScale,a=r.minScale,s=r.zoomAnimation,l=r.disablePadding,c=s.size,d=s.disabled;if(!n||null===i||!e)throw new Error("Pinch touches distance was not provided");return e<0?t.transformState.scale:P(y(e/i*n,2),a,o,c,!d&&!l)}(t,p);if(h!==r){var f=$(t,h),m=a&&(c||0===d||s),g=M(t,u.x,u.y,h,f,m),_=g.x,v=g.y;t.pinchMidpoint=u,t.lastDistance=p,t.setTransformState(h,_,v)}}}},_t=function(t,e){var n=t.props.onZoomStop,i=t.setup.doubleClick.animationTime;dt(t.doubleClickStopEventTimer),t.doubleClickStopEventTimer=setTimeout((function(){t.doubleClickStopEventTimer=null,x(st(t),e,n)}),i)};function vt(t,e){var n=t.setup,i=t.doubleClickStopEventTimer,r=t.transformState,o=t.contentComponent,a=r.scale,s=t.props,l=s.onZoomStart,c=s.onZoom,d=n.doubleClick,u=d.disabled,p=d.mode,h=d.step,f=d.animationTime,m=d.animationType;if(!u&&!i){if("reset"===p)return function(t,e){var n=t.props,i=n.onZoomStart,r=n.onZoom,o=t.setup.doubleClick,a=o.animationTime,s=o.animationType;x(st(t),e,i),tt(t,a,s,(function(){return x(st(t),e,r)})),_t(t,e)}(t,e);if(!o)return console.error("No ContentComponent found");var g=J(t,"zoomOut"===p?-1:1,h);if(a!==g){x(st(t),e,l);var _=pt(e,o,a),v=W(t,g,_.x,_.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");x(st(t),e,c),E(t,v,f,m),_t(t,e)}}}var bt=function(t){var e=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){e.initializeWindowEvents()},this.unmount=function(){e.cleanupWindowEvents()},this.update=function(t){$(e,e.transformState.scale),e.setup=Z(t)},this.initializeWindowEvents=function(){var t,n=lt(),i=null===(t=e.wrapperComponent)||void 0===t?void 0:t.ownerDocument,r=null==i?void 0:i.defaultView;null==r||r.addEventListener("mousedown",e.onPanningStart,n),null==r||r.addEventListener("mousemove",e.onPanning,n),null==r||r.addEventListener("mouseup",e.onPanningStop,n),null==i||i.addEventListener("mouseleave",e.clearPanning,n),null==r||r.addEventListener("keyup",e.setKeyUnPressed,n),null==r||r.addEventListener("keydown",e.setKeyPressed,n)},this.cleanupWindowEvents=function(){var t,n,i=lt(),r=null===(t=e.wrapperComponent)||void 0===t?void 0:t.ownerDocument,o=null==r?void 0:r.defaultView;null==o||o.removeEventListener("mousedown",e.onPanningStart,i),null==o||o.removeEventListener("mousemove",e.onPanning,i),null==o||o.removeEventListener("mouseup",e.onPanningStop,i),null==r||r.removeEventListener("mouseleave",e.clearPanning,i),null==o||o.removeEventListener("keyup",e.setKeyUnPressed,i),null==o||o.removeEventListener("keydown",e.setKeyPressed,i),document.removeEventListener("mouseleave",e.clearPanning,i),k(e),null===(n=e.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(t){var n=lt();t.addEventListener("wheel",e.onWheelZoom,n),t.addEventListener("dblclick",e.onDoubleClick,n),t.addEventListener("touchstart",e.onTouchPanningStart,n),t.addEventListener("touchmove",e.onTouchPanning,n),t.addEventListener("touchend",e.onTouchPanningStop,n)},this.handleInitialize=function(t){var n=e.setup.centerOnInit;e.applyTransformation(),n&&(e.setCenter(),e.observer=new ResizeObserver((function(){var t;e.setCenter(),null===(t=e.observer)||void 0===t||t.disconnect()})),e.observer.observe(t))},this.onWheelZoom=function(t){e.setup.disabled||function(t,e){var n=t.setup.wheel,i=n.disabled,r=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=t.isInitialized,l=t.isPanning,c=e.target;return!(!s||l||i||!c||r&&!e.ctrlKey||o&&e.ctrlKey||ct(c,a))}(e,t)&&e.isPressingKeys(e.setup.wheel.activationKeys)&&(function(t,e){var n=t.props,i=n.onWheelStart,r=n.onZoomStart;t.wheelStopEventTimer||(k(t),x(st(t),e,i),x(st(t),e,r))}(e,t),ft(e,t),mt(e,t))},this.onPanningStart=function(t){var n=e.setup.disabled,i=e.props.onPanningStart;n||T(e,t)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(t.preventDefault(),t.stopPropagation(),k(e),R(e,t),x(st(e),t,i))},this.onPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;n||D(e)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(t.preventDefault(),t.stopPropagation(),z(e,t.clientX,t.clientY),x(st(e),t,i))},this.onPanningStop=function(t){var n=e.props.onPanningStop;e.isPanning&&(B(e),x(st(e),t,n))},this.onPinchStart=function(t){var n=e.setup.disabled,i=e.props,r=i.onPinchingStart,o=i.onZoomStart;n||function(t,e){var n=t.setup.pinch,i=n.disabled,r=n.excluded,o=t.isInitialized,a=e.target;return!(!o||i||!a||ct(a,r))}(e,t)&&(function(t,e){var n=ht(e);t.pinchStartDistance=n,t.lastDistance=n,t.pinchStartScale=t.transformState.scale,t.isPanning=!1,k(t)}(e,t),k(e),x(st(e),t,r),x(st(e),t,o))},this.onPinch=function(t){var n=e.setup.disabled,i=e.props,r=i.onPinching,o=i.onZoom;n||function(t){var e=t.setup.pinch.disabled,n=t.isInitialized,i=t.pinchStartDistance;return!(!n||e||!i)}(e)&&(t.preventDefault(),t.stopPropagation(),gt(e,t),x(st(e),t,r),x(st(e),t,o))},this.onPinchStop=function(t){var n,i,r=e.props,o=r.onPinchingStop,a=r.onZoomStop;e.pinchStartScale&&(i=(n=e).pinchMidpoint,n.velocity=null,n.lastDistance=null,n.pinchMidpoint=null,n.pinchStartScale=null,n.pinchStartDistance=null,H(n,null==i?void 0:i.x,null==i?void 0:i.y),x(st(e),t,o),x(st(e),t,a))},this.onTouchPanningStart=function(t){var n=e.setup.disabled,i=e.props.onPanningStart;if(!n&&T(e,t))if(e.lastTouch&&+new Date-e.lastTouch<200&&1===t.touches.length)e.onDoubleClick(t);else{e.lastTouch=+new Date,k(e);var r=t.touches,o=1===r.length,a=2===r.length;o&&(k(e),R(e,t),x(st(e),t,i)),a&&e.onPinchStart(t)}},this.onTouchPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;if(e.isPanning&&1===t.touches.length){if(n)return;if(!D(e))return;t.preventDefault(),t.stopPropagation();var r=t.touches[0];z(e,r.clientX,r.clientY),x(st(e),t,i)}else t.touches.length>1&&e.onPinch(t)},this.onTouchPanningStop=function(t){e.onPanningStop(t),e.onPinchStop(t)},this.onDoubleClick=function(t){e.setup.disabled||function(t,e){var n=t.isInitialized,i=t.setup,r=t.wrapperComponent,o=i.doubleClick,a=o.disabled,s=o.excluded,l=e.target,c=null==r?void 0:r.contains(l);return!(!(n&&l&&c)||a||ct(l,s))}(e,t)&&vt(e,t)},this.clearPanning=function(t){e.isPanning&&e.onPanningStop(t)},this.setKeyPressed=function(t){e.pressedKeys[t.key]=!0},this.setKeyUnPressed=function(t){e.pressedKeys[t.key]=!1},this.isPressingKeys=function(t){return!t.length||Boolean(t.find((function(t){return e.pressedKeys[t]})))},this.setTransformState=function(t,n,i){var r=e.props.onTransformed;if(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(i))console.error("Detected NaN set state values");else{t!==e.transformState.scale&&(e.transformState.previousScale=e.transformState.scale,e.transformState.scale=t),e.transformState.positionX=n,e.transformState.positionY=i;var o=st(e);e.onChangeCallbacks.forEach((function(t){return t(o)})),x(o,{scale:t,positionX:n,positionY:i},r),e.applyTransformation()}},this.setCenter=function(){if(e.wrapperComponent&&e.contentComponent){var t=ut(e.transformState.scale,e.wrapperComponent,e.contentComponent);e.setTransformState(t.scale,t.positionX,t.positionY)}},this.handleTransformStyles=function(t,n,i){return e.props.customTransform?e.props.customTransform(t,n,i):function(t,e,n){return"translate(".concat(t,"px, ").concat(e,"px) scale(").concat(n,")")}(t,n,i)},this.applyTransformation=function(){if(e.mounted&&e.contentComponent){var t=e.transformState,n=t.scale,i=t.positionX,r=t.positionY,o=e.handleTransformStyles(i,r,n);e.contentComponent.style.transform=o}},this.getContext=function(){return st(e)},this.onChange=function(t){return e.onChangeCallbacks.has(t)||e.onChangeCallbacks.add(t),function(){e.onChangeCallbacks.delete(t)}},this.init=function(t,n){e.cleanupWindowEvents(),e.wrapperComponent=t,e.contentComponent=n,$(e,e.transformState.scale),e.handleInitializeWrapperEvents(t),e.handleInitialize(n),e.initializeWindowEvents(),e.isInitialized=!0,x(st(e),void 0,e.props.onInit)},this.props=t,this.setup=Z(this.props),this.transformState=K(this.props)},yt=r.a.createContext(null),xt=r.a.forwardRef((function(t,e){var n=Object(i.useState)(0)[1],o=t.children,a=Object(i.useRef)(new bt(t)).current,s=function(t,e){return"function"==typeof t?t(e):t}(t.children,st(a)),l=Object(i.useCallback)((function(){"function"==typeof o&&n((function(t){return t+1}))}),[o]);return Object(i.useImperativeHandle)(e,(function(){return st(a)}),[a]),Object(i.useEffect)((function(){a.update(t)}),[a,t]),Object(i.useEffect)((function(){return a.onChange(l)}),[a,t,l]),r.a.createElement(yt.Provider,{value:a},s)}));var wt="transform-component-module_wrapper__7HFJe",Ot="transform-component-module_content__uCDPE";!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}(".transform-component-module_wrapper__7HFJe {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: hidden;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n margin: 0;\n padding: 0;\n}\n.transform-component-module_content__uCDPE {\n display: flex;\n flex-wrap: wrap;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n margin: 0;\n padding: 0;\n transform-origin: 0% 0%;\n}\n.transform-component-module_content__uCDPE img {\n pointer-events: none;\n}\n");var kt=function(t){var e=t.children,n=t.wrapperClass,o=void 0===n?"":n,a=t.contentClass,s=void 0===a?"":a,l=t.wrapperStyle,c=t.contentStyle,d=t.wrapperProps,u=void 0===d?{}:d,p=t.contentProps,h=void 0===p?{}:p,f=Object(i.useContext)(yt).init,m=Object(i.useRef)(null),g=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t=m.current,e=g.current;null!==t&&null!==e&&f&&f(t,e)}),[]),r.a.createElement("div",Y({},u,{ref:m,className:"react-transform-wrapper ".concat(wt," ").concat(o),style:l}),r.a.createElement("div",Y({},h,{ref:g,className:"react-transform-component ".concat(Ot," ").concat(s),style:c}),e))},Ct=(r.a.forwardRef((function(t,e){var n,o=Object(i.useRef)(null),a=Object(i.useContext)(yt);return Object(i.useEffect)((function(){return a.onChange((function(t){if(o.current){o.current.style.transform=a.handleTransformStyles(0,0,1/t.state.scale)}}))}),[a]),r.a.createElement("div",Y({},t,{ref:(n=[o,e],function(t){n.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))})}))})),n(42));function Et(t){var e=t.alt,n=t.onClick,i=void 0===n?b.noop:n,o=t.onZoom,a=void 0===o?b.noop:o,s=t.url,l=t.zooming,c=void 0!==l&&l;return r.a.createElement(xt,{doubleClick:{mode:"reset"},initialScale:1,onPinchingStop:function(t){var e=t.state.scale>1;a(e)},panning:{disabled:!c}},r.a.createElement("button",{className:"Slide",onClick:i,onDoubleClick:function(){return a(!1)},tabIndex:-1},r.a.createElement(kt,{wrapperClass:"TransformComponent"},r.a.createElement(Ct.a,{alt:e,url:s,zIndex:3}))))}function St(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $t(t){var e=t.urls,n=void 0===e?[]:e,o=t.current,a=void 0===o?0:o,s=t.onChange,l=void 0===s?b.noop:s,c=t.setIndex,d=St(Object(i.useState)(!1),2),u=d[0],h=d[1],f=St(Object(i.useState)(null),2),m=f[0],g=f[1],_=St(Object(i.useState)(null),2),v=_[0],y=_[1];return r.a.createElement("div",{className:"Slides",onTouchStart:function(t){y(null),g(t.targetTouches[0].clientX)},onTouchMove:function(t){return y(t.targetTouches[0].clientX)},onTouchEnd:function(){if(m&&v){var t=m-v,e=t<-40;t>40?c(a<n.length-1?a+1:n.length-1):e&&c(a>0?a-1:0)}}},n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-left",dark:!0,icon:"chevron-left",onClick:function(){return c(a>0?a-1:0)},variant:"link"}),r.a.createElement(Et,{onClick:function(){return l(a)},onZoom:function(t){return h(t)},url:n[a],zooming:u}),n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-right",dark:!0,icon:"chevron-right",onClick:function(){return c(a<n.length-1?a+1:n.length-1)},variant:"link"}))}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Mt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Pt(t){var e=t.active,n=void 0!==e&&e,i=t.alt,o=t.width,a=t.url,s=t.onClick,c=void 0===s?function(){}:s,d=t.buttonRef,u=l()("Thumbnail",{active:n});return r.a.createElement("button",{className:l()(u),onClick:c,ref:d,style:{width:o},type:"button"},r.a.createElement(Ct.a,{alt:i,size:"sm",url:a}))}function Tt(t){var e,n,o,a=t.current,s=void 0===a?0:a,c=t.onChange,d=void 0===c?b.noop:c,u=t.urls,p=void 0===u?[]:u,h=(e=At(Object(i.useState)({width:window.innerWidth,height:window.innerHeight}),2),n=e[0],o=e[1],Object(i.useEffect)((function(){var t=function(){o({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",t),t(),function(){return window.removeEventListener("resize",t)}}),[]),n),f=h.width/8*p.length<.9*h.width,m=l()("Thumbnails",{centered:f}),g={},_=r.a.createRef();return Object(i.useLayoutEffect)((function(){var t,e,n;if(!f){var i=g.buttonRef.current.clientWidth,r=i*s,o=_.current.querySelector(".Thumbnail:first-child"),a=_.current.querySelector(".Thumbnail:last-child");o.style.marginLeft="".concat((null===(t=_.current)||void 0===t?void 0:t.clientWidth)/2-i/2,"px"),a.style.marginRight="".concat((null===(e=_.current)||void 0===e?void 0:e.clientWidth)/2-i/2,"px"),null===(n=_.current)||void 0===n||n.scrollTo(r,0)}})),r.a.createElement("div",{className:m,ref:_},p.map((function(t,e){var n=e===s;return n&&(g.buttonRef=r.a.createRef()),r.a.createElement(Pt,Object.assign({active:n,alt:e.toString(),key:e,onClick:function(){return d(e)},url:t},g))})))}function Dt(t){var e=t.currentIndex,n=t.photos,o=t.onClick,a=void 0===o?function(){}:o,s=t.onChange,l=void 0===s?function(){}:s,c=t.setIndex;Object(i.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}}),[]);var d=function(t){l(t)};return r.a.createElement("div",{className:"Lightbox"},r.a.createElement($t,{setIndex:c,current:e,onChange:d,onClick:a,urls:n.map((function(t){return t.url}))}),n.length>1?r.a.createElement(Tt,{current:e,onChange:d,urls:n.map((function(t){return t.thumbnail}))}):null)}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Nt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var It=function t(e){var n=e.aria,a=void 0===n?{}:n,s=e.children,p=e.className,h=e.currentPhotoIndex,f=e.data,m=void 0===f?{}:f,g=e.description,_=e.id,v=void 0===_?"":_,b=e.initialPhoto,y=void 0===b?0:b,x=e.photos,w=e.onChange,O=void 0===w?function(){}:w,k=e.onClose,C=e.onClickRight,E=e.icon,S=void 0===E?"times":E,j=e.navRight,$=e.title,A=Lt(Object(i.useState)(y),2),M=A[0],P=A[1];Object(i.useEffect)((function(){O(M)}),[M]),Object(i.useEffect)((function(){null!=h&&P(h)}),[h]);var T=Object(c.a)(a),D=Object(c.c)(m),L=l()(Object(c.b)("pb_lightbox_kit"),Object(d.c)(e),p),N=Object(i.useMemo)((function(){return x.map((function(t){return{url:t,thumbnail:t}}))}),[x]),I={onClose:k,onArrowLeft:function(){P(M>0?M-1:0)},onArrowRight:function(){var t=M<x.length-1?M+1:x.length-1;P(t)}};!function(t){var e=o(Object(i.useState)(""),2),n=e[0],r=e[1];Object(i.useEffect)((function(){var e=function(e){var n=e.key.toLowerCase();switch(r(n),n){case"escape":t.onClose();break;case"arrowleft":t.onArrowLeft();break;case"arrowright":t.onArrowRight()}};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t])}(I);var R=Object(i.useRef)();return r.a.createElement(i.Fragment,null,r.a.createElement(u.Provider,{value:I},r.a.createElement("div",Object.assign({},T,D,{className:L,id:v,ref:R}),r.a.createElement("div",{className:"carousel"},r.a.createElement(t.Header,{icon:S,onClose:k,onClickRight:C,text:g,navRight:j,title:$}),s,r.a.createElement(Dt,{setIndex:P,currentIndex:M,onChange:function(t){P(t)},photos:N})))))};It.Header=v;e.a=It},function(t,e,n){"use strict";function i(t){return function(e){return typeof e===t}}n.d(e,"a",(function(){return y}));var r=i("function"),o=function(t){return"RegExp"===Object.prototype.toString.call(t).slice(8,-1)},a=function(t){return!s(t)&&!function(t){return null===t}(t)&&(r(t)||"object"==typeof t)},s=i("undefined"),l=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(t,e){if(t===e)return!0;if(t&&a(t)&&e&&a(e)){if(t.constructor!==e.constructor)return!1;if(Array.isArray(t)&&Array.isArray(e))return function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=n;0!=i--;)if(!c(t[i],e[i]))return!1;return!0}(t,e);if(t instanceof Map&&e instanceof Map)return function(t,e){var n,i,r,o;if(t.size!==e.size)return!1;try{for(var a=l(t.entries()),s=a.next();!s.done;s=a.next()){var d=s.value;if(!e.has(d[0]))return!1}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}try{for(var u=l(t.entries()),p=u.next();!p.done;p=u.next()){if(!c((d=p.value)[1],e.get(d[0])))return!1}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return!0}(t,e);if(t instanceof Set&&e instanceof Set)return function(t,e){var n,i;if(t.size!==e.size)return!1;try{for(var r=l(t.entries()),o=r.next();!o.done;o=r.next()){var a=o.value;if(!e.has(a[0]))return!1}}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return!0}(t,e);if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e))return function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var n=new DataView(t.buffer),i=new DataView(e.buffer),r=t.byteLength;r--;)if(n.getUint8(r)!==i.getUint8(r))return!1;return!0}(t,e);if(o(t)&&o(e))return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var r=n.length;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;for(r=n.length;0!=r--;){var s=n[r];if(("_owner"!==s||!t.$$typeof)&&!c(t[s],e[s]))return!1}return!0}return!(!Number.isNaN(t)||!Number.isNaN(e))||t===e}var d=n(19);function u(t,e,n){var i=n.actual,r=n.key,o=n.previous,a=n.type,s=b(t,r),l=b(e,r),c=[s,l].every(d.a.number)&&("increased"===a?s<l:s>l);return d.a.undefined(i)||(c=c&&l===i),d.a.undefined(o)||(c=c&&s===o),c}function p(t,e,n){var i=n.key,r=n.type,o=n.value,a=b(t,i),s=b(e,i),l="added"===r?a:s,u="added"===r?s:a;return d.a.nullOrUndefined(o)?[a,s].every(d.a.array)?!u.every(_(l)):[a,s].every(d.a.plainObject)?function(t,e){return e.some((function(e){return!t.includes(e)}))}(Object.keys(l),Object.keys(u)):![a,s].every((function(t){return d.a.primitive(t)&&d.a.defined(t)}))&&("added"===r?!d.a.defined(a)&&d.a.defined(s):d.a.defined(a)&&!d.a.defined(s)):d.a.defined(l)?!(!d.a.array(l)&&!d.a.plainObject(l))&&function(t,e,n){return!!v(t,e)&&([t,e].every(d.a.array)?!t.some(m(n))&&e.some(m(n)):[t,e].every(d.a.plainObject)?!Object.entries(t).some(f(n))&&Object.entries(e).some(f(n)):e===n)}(l,u,o):c(u,o)}function h(t,e,n){var i=(void 0===n?{}:n).key,r=b(t,i),o=b(e,i);if(!v(r,o))throw new TypeError("Inputs have different types");if(!function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.every((function(t){return d.a.string(t)||d.a.array(t)||d.a.plainObject(t)}))}(r,o))throw new TypeError("Inputs don't have length");return[r,o].every(d.a.plainObject)&&(r=Object.keys(r),o=Object.keys(o)),[r,o]}function f(t){return function(e){var n=e[0],i=e[1];return d.a.array(t)?c(t,i)||t.some((function(t){return c(t,i)||d.a.array(i)&&_(i)(t)})):d.a.plainObject(t)&&t[n]?!!t[n]&&c(t[n],i):c(t,i)}}function m(t){return function(e){return d.a.array(t)?t.some((function(t){return c(t,e)||d.a.array(e)&&_(e)(t)})):c(t,e)}}function g(t,e){return d.a.array(t)?t.some((function(t){return c(t,e)})):c(t,e)}function _(t){return function(e){return t.some((function(t){return c(t,e)}))}}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.every(d.a.array)||t.every(d.a.number)||t.every(d.a.plainObject)||t.every(d.a.string)}function b(t,e){return d.a.plainObject(t)||d.a.array(t)?d.a.string(e)?e.split(".").reduce((function(t,e){return t&&t[e]}),t):d.a.number(e)?t[e]:t:t}function y(t,e){if([t,e].some(d.a.nullOrUndefined))throw new Error("Missing required parameters");if(![t,e].every((function(t){return d.a.plainObject(t)||d.a.array(t)})))throw new Error("Expected plain objects or array");var n=function(n,i,r){try{var o=b(t,n),a=b(e,n),s=d.a.defined(i),l=d.a.defined(r);if(s||l){var u=l?g(r,o):!g(i,o),p=g(i,a);return u&&p}return[o,a].every(d.a.array)||[o,a].every(d.a.plainObject)?!c(o,a):o!==a}catch(t){return!1}};return{added:function(n,i){try{return p(t,e,{key:n,type:"added",value:i})}catch(t){return!1}},changed:n,changedFrom:function(n,i,r){if(!d.a.defined(n))return!1;try{var o=b(t,n),a=b(e,n),s=d.a.defined(r);return g(i,o)&&(s?g(r,a):!s)}catch(t){return!1}},changedTo:function(t,e){return!!d.a.defined(t)&&n(t,e)},decreased:function(n,i,r){if(!d.a.defined(n))return!1;try{return u(t,e,{key:n,actual:i,previous:r,type:"decreased"})}catch(t){return!1}},emptied:function(n){try{var i=h(t,e,{key:n}),r=i[0],o=i[1];return!!r.length&&!o.length}catch(t){return!1}},filled:function(n){try{var i=h(t,e,{key:n}),r=i[0],o=i[1];return!r.length&&!!o.length}catch(t){return!1}},increased:function(n,i,r){if(!d.a.defined(n))return!1;try{return u(t,e,{key:n,actual:i,previous:r,type:"increased"})}catch(t){return!1}},removed:function(n,i){try{return p(t,e,{key:n,type:"removed",value:i})}catch(t){return!1}}}}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(82),d=n(7),u=n(74),p=n(48),h=n(22);function f(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=g(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function g(t,e){if(t){if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,e):void 0}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n=[];return function t(e,i){var r,o=m(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.id.toLowerCase()===i.toLowerCase())return void n.push(a);a.children&&a.children.length>0&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n},b=function t(e){var n=[];if(Array.isArray(e))return e.forEach((function(e){if(e.checked&&n.push(e),e.children&&e.children.length>0){var i=t(e.children);n.push.apply(n,f(i))}})),n},y=function(t){var e=[];return function t(n){Array.isArray(n)&&n.forEach((function(i){if(i.checked)if(i.children&&i.children.length>0){if(0===i.children.filter((function(t){return!t.checked})).length)return void e.push(i)}else{var r=n.find((function(t){return t.id===i.parentId}));r&&r.checked||e.push(i)}i.children&&i.children.length>0&&t(i.children)}))}(t),e};function x(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||O(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,g=t.data,_=void 0===g?{}:g,O=t.id,k=t.inputDisplay,C=void 0===k?"pills":k,E=t.name,S=t.returnAllSelected,j=void 0!==S&&S,$=t.treeData,A=t.onSelect,M=void 0===A?function(){}:A,P=t.selectedIds,T=Object(l.a)(n),D=Object(l.c)(_),L=a()(Object(l.b)("pb_multi_level_select"),Object(s.c)(t),o),N=Object(i.useRef)(null),I=w(Object(i.useState)(!0),2),R=I[0],F=I[1],z=w(Object(i.useState)(""),2),B=z[0],W=z[1],H=w(Object(i.useState)([]),2),Y=H[0],U=H[1],G=w(Object(i.useState)([]),2),X=G[0],V=G[1],q=w(Object(i.useState)([]),2),K=q[0],Z=q[1],J=function(t,e){var n=[];return function t(i){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=0;o<i.length;o++){var a=i[o],s=[].concat(f(r),[a]);if(a.expanded&&n.push(a.id),e&&e.length&&e.includes(a.id)&&n.push.apply(n,f(s.map((function(t){return t.id})))),Array.isArray(a.children)){var l=a.children.some((function(t){return t.checked}));l&&n.push.apply(n,f(s.map((function(t){return t.id})))),t(a.children,s)}}}(t),n}($,P),Q=w(Object(i.useState)(J),2),tt=Q[0],et=Q[1];Object(i.useEffect)((function(){V(st($,P))}),[$,P]),Object(i.useEffect)((function(){j?U(b(X)):Z(y(X))}),[X]),Object(i.useEffect)((function(){var t=function(t){N.current&&!N.current.contains(t.target)&&F(!0)};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[]);var nt=function t(e,n){if(Array.isArray(e))return e.map((function(e){return e.checked=n,e.children=t(e.children,n),e}))},it=function t(e,n,i){if(Array.isArray(n))return n.map((function(n){return n.id!=e?n.children=t(e,n.children,i):(n.checked=i,n.children=nt(n.children,i)),n}))},rt=function(t){var e=Object(h.cloneDeep)(X);return j?it(t.id,e,!0):function t(e,n){if(null!==e.parent_id){var i=v(n,e.parent_id);if(i[0].children.every((function(t){return t.checked})))i[0].checked=!0,null!==i[0].parent_id&&t(i[0],n)}return n}(t,it(t.id,e,!0))},ot=function(t){var e=Object(h.cloneDeep)(X);return j?it(t.id,e,!1):function t(e,n){if(n.parent_id){var i=v(e,n.parent_id);i[0].checked=!1,i[0].parent_id&&t(e,i[0])}return e}(it(t.id,e,!1),t)},at=function(t,e){var n=e?rt(t):ot(t);return V(n),n},st=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(Array.isArray(e))return e.map((function(e){var o=Object.assign(Object.assign({},e),{checked:n&&n.length&&n.includes(e.id),parent_id:i,depth:r});if(o.children&&o.children.length>0){var a=e.checked&&!j?nt(e.children,!0):e.children;o.children=t(a,n,o.id,r+1)}return o}))},lt=function(t,e){t.stopPropagation();var n=at(e,!1);M(j?b(n):y(n))},ct=function(t){return tt.indexOf(t.id)>-1},dt=function(){var t;return j&&Y&&Y.length?t=Y.length:!j&&K&&K.length&&(t=K.length),t};return r.a.createElement("div",Object.assign({},T,D,{className:L,id:O}),r.a.createElement("div",{ref:N,className:"wrapper"},r.a.createElement("div",{className:"input_wrapper",onClick:function(t){t.stopPropagation(),"multiselect_input"===t.target.id||t.target.classList.contains("pb_form_pill_tag")||F(!R)}},r.a.createElement("div",{className:"input_inner_container"},0!==Y.length&&j?Y.map((function(t){return r.a.createElement("input",{type:"hidden",name:"".concat(E,"[]"),value:t.id})})):null,0!==Y.length&&"pills"===C&&j?Y.map((function(t,e){return r.a.createElement(u.a,{key:e,text:t.label,size:"small",onClick:function(e){return lt(e,t)}})})):null,j||0===K.length||"pills"!==C?null:K.map((function(t,e){return r.a.createElement(u.a,{key:e,text:t.label,size:"small",onClick:function(e){return lt(e,t)}})})),0!==Y.length&&j&&"pills"===C&&r.a.createElement("br",null),0!==K.length&&!j&&"pills"===C&&r.a.createElement("br",null),r.a.createElement("input",{id:"multiselect_input",onChange:function(t){W(t.target.value)},placeholder:"none"===C&&dt()?"".concat(dt()," ").concat(1===dt()?"item":"items"," selected"):"Start typing...",value:B,onClick:function(){return F(!1)}})),R?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(d.a,{icon:"chevron-down",size:"xs"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(d.a,{icon:"chevron-up",size:"xs"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(R?"close":"open")},function t(e){return r.a.createElement("ul",null,Array.isArray(e)&&e.map((function(e){return r.a.createElement("div",{key:e.id},r.a.createElement("li",{className:"dropdown_item","data-name":e.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},r.a.createElement("div",{key:ct(e)?"chevron-down":"chevron-right"},r.a.createElement(p.a,{icon:ct(e)?"chevron-down":"chevron-right",className:e.children&&e.children.length>0?"":"toggle_icon",onClick:function(t){return function(t,e){e.stopPropagation();var n=v(X,t);if(n){var i=x(tt);ct(n[0])?i=i.filter((function(t){return t!=n[0].id})):i.push(n[0].id),et(i)}}(e.id,t)},variant:"link"})),r.a.createElement(c.a,{text:e.label,id:e.id},r.a.createElement("input",{checked:e.checked,type:"checkbox",name:e.label,value:e.label,onChange:function(t){!function(t,e){var n=t.target.parentNode.id;W("");var i=v(X,n),r=at(i[0],e);M(j?b(r):y(r))}(t,!e.checked)}}))),ct(e)&&e.children&&e.children.length>0&&!B&&r.a.createElement("div",null,t(e.children))))})))}(B?function(t,e){var n=[];return function t(e,i){var r,o=m(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.label.toLowerCase().includes(i.toLowerCase())&&n.push(a),a.children&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n}(X,B):X))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(14);e.a=function(t){var e=t.className,n=t.id,i=t.unit,o=t.value,c=void 0===o?0:o;return r.a.createElement("div",{className:a()("pb_stat_value_kit",Object(s.c)(t),e),id:n},r.a.createElement("div",{className:"pb_stat_value_wrapper"},function(t){if(t||0===t)return r.a.createElement(l.a,{size:1,tag:"span",text:"".concat(t)})}(c)," ",function(t){if(t)return r.a.createElement(l.a,{size:3,tag:"span",text:t})}(i)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(54),l=n(5),c=n(12),d=n(182),u=n(14),p=n(2);e.a=function(t){var e=t.address,n=t.addressCont,i=t.aria,o=void 0===i?{}:i,h=t.city,f=t.className,m=t.data,g=void 0===m?{}:m,_=t.dark,v=void 0!==_&&_,b=t.emphasis,y=void 0===b?"street":b,x=t.homeId,w=t.homeUrl,O=t.newWindow,k=t.houseStyle,C=t.state,E=t.zipcode,S=t.territory,j=Object(p.c)(g),$=Object(p.a)(o);return r.a.createElement("div",Object.assign({className:function(e,n){return a()({pb_home_address_street:!n,pb_home_address_street_dark:n},Object(l.c)(t),e)}(f,v)},$,j),"street"==y&&r.a.createElement("div",null,r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4},Object(s.b)([Object(s.c)(e),k]," · ")),r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4},Object(s.c)(n)),r.a.createElement(c.a,{color:"light"},"".concat(Object(s.c)(h),", ").concat(C," ").concat(E))),"city"==y&&r.a.createElement("div",null,r.a.createElement(c.a,{color:"light"},Object(s.b)([Object(s.c)(e),k]," · ")),r.a.createElement(c.a,{color:"light"},Object(s.c)(n)),r.a.createElement("div",null,r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4,tag:"span"},"".concat(Object(s.c)(h),", ").concat(C)),r.a.createElement(c.a,{color:"light",tag:"span"}," ".concat(E)))),x&&r.a.createElement(d.a,{classname:"home-hashtag",dark:v,marginRight:"xxs",newWindow:O,text:x,type:"home",url:w||"#"}),r.a.createElement(c.a,{color:"light",tag:"span"},r.a.createElement("small",null,S)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16),d=n(169),u=n(167);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.contacts,p=void 0===o?[]:o,h=t.data,f=void 0===h?{}:h,m=t.firstName,g=t.id,_=t.lastName,v=Object(s.a)(n),b=Object(s.c)(f),y=a()(Object(s.b)("pb_person_contact_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},v,b,{className:y,id:g}),r.a.createElement(u.a,{firstName:m,lastName:_}),p.filter((function(t){return"wrong-phone"!==t.contactType})).map((function(t,e){return r.a.createElement(d.a,{contactDetail:t.contactDetail,contactType:t.contactType,contactValue:t.contactValue,key:"valid-contact-".concat(e)})})),p.filter((function(t){return"wrong-phone"===t.contactType})).map((function(t,e){return r.a.createElement("div",{key:"wrong-contact-caption-wrapper-".concat(e)},r.a.createElement(c.a,{className:"wrong_numbers",key:"wrong-contact-caption-".concat(e),text:"wrong number"}),r.a.createElement(d.a,{contactType:t.contactType,contactValue:t.contactValue,key:"wrong-contact-".concat(e)}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(0),r=n.n(i).a.createContext(null)},function(t,e,n){"use strict";var i=n(40),r={passive:!0};e.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,a=o.scroll,s=void 0===a||a,l=o.resize,c=void 0===l||l,d=Object(i.a)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",n.update,r)})),c&&d.addEventListener("resize",n.update,r),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",n.update,r)})),c&&d.removeEventListener("resize",n.update,r)}},data:{}}},function(t,e,n){"use strict";var i=n(137);e.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Object(i.a)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(43),r=n(72),o=n(102),a=n(11);function s(t){var e,n=t.reference,s=t.element,l=t.placement,c=l?Object(i.a)(l):null,d=l?Object(r.a)(l):null,u=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case a.m:e={x:u,y:n.y-s.height};break;case a.c:e={x:u,y:n.y+n.height};break;case a.k:e={x:n.x+n.width,y:p};break;case a.f:e={x:n.x-s.width,y:p};break;default:e={x:n.x,y:n.y}}var h=c?Object(o.a)(c):null;if(null!=h){var f="y"===h?"height":"width";switch(d){case a.l:e[h]=e[h]-(n[f]/2-s[f]/2);break;case a.e:e[h]=e[h]+(n[f]/2-s[f]/2)}}return e}},function(t,e,n){"use strict";var i=n(11),r=n(78),o=n(40),a=n(51),s=n(57),l=n(43),c=n(72),d=n(32),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(t){var e,n=t.popper,l=t.popperRect,c=t.placement,p=t.variation,h=t.offsets,f=t.position,m=t.gpuAcceleration,g=t.adaptive,_=t.roundOffsets,v=t.isFixed,b=h.x,y=void 0===b?0:b,x=h.y,w=void 0===x?0:x,O="function"==typeof _?_({x:y,y:w}):{x:y,y:w};y=O.x,w=O.y;var k=h.hasOwnProperty("x"),C=h.hasOwnProperty("y"),E=i.f,S=i.m,j=window;if(g){var $=Object(r.a)(n),A="clientHeight",M="clientWidth";if($===Object(o.a)(n)&&($=Object(a.a)(n),"static"!==Object(s.a)($).position&&"absolute"===f&&(A="scrollHeight",M="scrollWidth")),$=$,c===i.m||(c===i.f||c===i.k)&&p===i.e)S=i.c,w-=(v&&$===j&&j.visualViewport?j.visualViewport.height:$[A])-l.height,w*=m?1:-1;if(c===i.f||(c===i.m||c===i.c)&&p===i.e)E=i.k,y-=(v&&$===j&&j.visualViewport?j.visualViewport.width:$[M])-l.width,y*=m?1:-1}var P,T=Object.assign({position:f},g&&u),D=!0===_?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Object(d.c)(e*i)/i||0,y:Object(d.c)(n*i)/i||0}}({x:y,y:w}):{x:y,y:w};return y=D.x,w=D.y,m?Object.assign({},T,((P={})[S]=C?"0":"",P[E]=k?"0":"",P.transform=(j.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",P)):Object.assign({},T,((e={})[S]=C?w+"px":"",e[E]=k?y+"px":"",e.transform="",e))}e.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,d=void 0===s||s,u={placement:Object(l.a)(e.placement),variation:Object(c.a)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,p(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,p(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},function(t,e,n){"use strict";var i=n(46),r=n(24);e.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},a=e.elements[t];Object(r.b)(a)&&Object(i.a)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Object(r.b)(o)&&Object(i.a)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(141);function r(t){return Object.assign({},Object(i.a)(),t)}},function(t,e,n){"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(121);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(i.a)())}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(24);function r(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Object(i.c)(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(t,e,n){"use strict";function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(t){this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.before=null}var e=t.prototype;return e.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var e,n=function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e}(this);e=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,e),this.tags.push(n)}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(i);try{var o=105===t.charCodeAt(1)&&64===t.charCodeAt(0);r.insertRule(t,o?0:r.cssRules.length)}catch(t){0}}else i.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(49);function r(t){var e=function(t,e){if("object"!==Object(i.a)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Object(i.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(i.a)(e)?e:String(e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(180),u=n(131);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.className,h=t.data,f=void 0===h?{}:h,m=t.id,g=t.statChange,_=void 0===g?{}:g,v=t.statLabel,b=t.statValue,y=void 0===b?{}:b,x=Object(s.a)(o),w=Object(s.c)(f),O=a()(Object(s.b)("pb_dashboard_value_kit",n),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},x,w,{className:O,id:m}),v&&r.a.createElement(c.a,{color:"light"},v),y&&r.a.createElement(u.a,{unit:y.unit,value:y.value}),_&&r.a.createElement(d.a,{change:_.change,value:_.value}))}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i;
14
+ */(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",d="[object Boolean]",u="[object Date]",p="[object Error]",h="[object Function]",f="[object GeneratorFunction]",m="[object Map]",g="[object Number]",_="[object Object]",v="[object RegExp]",b="[object Set]",y="[object String]",x="[object Symbol]",w="[object WeakMap]",O="[object ArrayBuffer]",k="[object DataView]",C="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",j="[object Int16Array]",$="[object Int32Array]",A="[object Uint8Array]",M="[object Uint16Array]",P="[object Uint32Array]",T=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,N=/&(?:amp|lt|gt|quot|#39);/g,I=/[&<>"']/g,R=RegExp(N.source),F=RegExp(I.source),z=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,U=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,X=RegExp(G.source),V=/^\s+/,q=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dt=/($^)/,ut=/['\n\r\u2028\u2029\\]/g,pt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="[\\ud800-\\udfff]",mt="["+ht+"]",gt="["+pt+"]",_t="\\d+",vt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",yt="[^\\ud800-\\udfff"+ht+_t+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",xt="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",kt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+bt+"|"+yt+")",St="(?:"+Ct+"|"+yt+")",jt="(?:"+gt+"|"+xt+")"+"?",$t="[\\ufe0e\\ufe0f]?"+jt+("(?:\\u200d(?:"+[wt,Ot,kt].join("|")+")[\\ufe0e\\ufe0f]?"+jt+")*"),At="(?:"+[vt,Ot,kt].join("|")+")"+$t,Mt="(?:"+[wt+gt+"?",gt,Ot,kt,ft].join("|")+")",Pt=RegExp("['’]","g"),Tt=RegExp(gt,"g"),Dt=RegExp(xt+"(?="+xt+")|"+Mt+$t,"g"),Lt=RegExp([Ct+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,Ct,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,Ct+Et,"$"].join("|")+")",Ct+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_t,At].join("|"),"g"),Nt=RegExp("[\\u200d\\ud800-\\udfff"+pt+"\\ufe0e\\ufe0f]"),It=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ft=-1,zt={};zt[C]=zt[E]=zt[S]=zt[j]=zt[$]=zt[A]=zt["[object Uint8ClampedArray]"]=zt[M]=zt[P]=!0,zt[l]=zt[c]=zt[O]=zt[d]=zt[k]=zt[u]=zt[p]=zt[h]=zt[m]=zt[g]=zt[_]=zt[v]=zt[b]=zt[y]=zt[w]=!1;var Bt={};Bt[l]=Bt[c]=Bt[O]=Bt[k]=Bt[d]=Bt[u]=Bt[C]=Bt[E]=Bt[S]=Bt[j]=Bt[$]=Bt[m]=Bt[g]=Bt[_]=Bt[v]=Bt[b]=Bt[y]=Bt[x]=Bt[A]=Bt["[object Uint8ClampedArray]"]=Bt[M]=Bt[P]=!0,Bt[p]=Bt[h]=Bt[w]=!1;var Wt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ht=parseFloat,Yt=parseInt,Ut="object"==typeof t&&t&&t.Object===Object&&t,Gt="object"==typeof self&&self&&self.Object===Object&&self,Xt=Ut||Gt||Function("return this")(),Vt=e&&!e.nodeType&&e,qt=Vt&&"object"==typeof i&&i&&!i.nodeType&&i,Kt=qt&&qt.exports===Vt,Zt=Kt&&Ut.process,Jt=function(){try{var t=qt&&qt.require&&qt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Qt=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,ne=Jt&&Jt.isRegExp,ie=Jt&&Jt.isSet,re=Jt&&Jt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function se(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function de(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function ue(t,e){return!!(null==t?0:t.length)&&xe(t,e,0)>-1}function pe(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function he(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function fe(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function me(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function ge(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function _e(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var ve=Ce("length");function be(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function ye(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function xe(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):ye(t,Oe,n)}function we(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function Oe(t){return t!=t}function ke(t,e){var n=null==t?0:t.length;return n?je(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function Ee(t){return function(e){return null==t?void 0:t[e]}}function Se(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function je(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function $e(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Ae(t){return t?t.slice(0,Ve(t)+1).replace(V,""):t}function Me(t){return function(e){return t(e)}}function Pe(t,e){return he(e,(function(e){return t[e]}))}function Te(t,e){return t.has(e)}function De(t,e){for(var n=-1,i=t.length;++n<i&&xe(e,t[n],0)>-1;);return n}function Le(t,e){for(var n=t.length;n--&&xe(e,t[n],0)>-1;);return n}function Ne(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Ie=Ee({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Re=Ee({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Fe(t){return"\\"+Wt[t]}function ze(t){return Nt.test(t)}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function We(t,e){return function(n){return t(e(n))}}function He(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return ze(t)?function(t){var e=Dt.lastIndex=0;for(;Dt.test(t);)++e;return e}(t):ve(t)}function Xe(t){return ze(t)?function(t){return t.match(Dt)||[]}(t):function(t){return t.split("")}(t)}function Ve(t){for(var e=t.length;e--&&q.test(t.charAt(e)););return e}var qe=Ee({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ke=function t(e){var n,i=(e=null==e?Xt:Ke.defaults(Xt.Object(),e,Ke.pick(Xt,Rt))).Array,r=e.Date,q=e.Error,pt=e.Function,ht=e.Math,ft=e.Object,mt=e.RegExp,gt=e.String,_t=e.TypeError,vt=i.prototype,bt=pt.prototype,yt=ft.prototype,xt=e["__core-js_shared__"],wt=bt.toString,Ot=yt.hasOwnProperty,kt=0,Ct=(n=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Et=yt.toString,St=wt.call(ft),jt=Xt._,$t=mt("^"+wt.call(Ot).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),At=Kt?e.Buffer:void 0,Mt=e.Symbol,Dt=e.Uint8Array,Nt=At?At.allocUnsafe:void 0,Wt=We(ft.getPrototypeOf,ft),Ut=ft.create,Gt=yt.propertyIsEnumerable,Vt=vt.splice,qt=Mt?Mt.isConcatSpreadable:void 0,Zt=Mt?Mt.iterator:void 0,Jt=Mt?Mt.toStringTag:void 0,ve=function(){try{var t=to(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ee=e.clearTimeout!==Xt.clearTimeout&&e.clearTimeout,Ze=r&&r.now!==Xt.Date.now&&r.now,Je=e.setTimeout!==Xt.setTimeout&&e.setTimeout,Qe=ht.ceil,tn=ht.floor,en=ft.getOwnPropertySymbols,nn=At?At.isBuffer:void 0,rn=e.isFinite,on=vt.join,an=We(ft.keys,ft),sn=ht.max,ln=ht.min,cn=r.now,dn=e.parseInt,un=ht.random,pn=vt.reverse,hn=to(e,"DataView"),fn=to(e,"Map"),mn=to(e,"Promise"),gn=to(e,"Set"),_n=to(e,"WeakMap"),vn=to(ft,"create"),bn=_n&&new _n,yn={},xn=jo(hn),wn=jo(fn),On=jo(mn),kn=jo(gn),Cn=jo(_n),En=Mt?Mt.prototype:void 0,Sn=En?En.valueOf:void 0,jn=En?En.toString:void 0;function $n(t){if(Ua(t)&&!Da(t)&&!(t instanceof Tn)){if(t instanceof Pn)return t;if(Ot.call(t,"__wrapped__"))return $o(t)}return new Pn(t)}var An=function(){function t(){}return function(e){if(!Ya(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Mn(){}function Pn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Tn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Dn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function In(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Nn;++e<n;)this.add(t[e])}function Rn(t){var e=this.__data__=new Ln(t);this.size=e.size}function Fn(t,e){var n=Da(t),i=!n&&Ta(t),r=!n&&!i&&Ra(t),o=!n&&!i&&!r&&Qa(t),a=n||i||r||o,s=a?$e(t.length,gt):[],l=s.length;for(var c in t)!e&&!Ot.call(t,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||so(c,l))||s.push(c);return s}function zn(t){var e=t.length;return e?t[Ii(0,e-1)]:void 0}function Bn(t,e){return Co(vr(t),Kn(e,0,t.length))}function Wn(t){return Co(vr(t))}function Hn(t,e,n){(void 0!==n&&!Aa(t[e],n)||void 0===n&&!(e in t))&&Vn(t,e,n)}function Yn(t,e,n){var i=t[e];Ot.call(t,e)&&Aa(i,n)&&(void 0!==n||e in t)||Vn(t,e,n)}function Un(t,e){for(var n=t.length;n--;)if(Aa(t[n][0],e))return n;return-1}function Gn(t,e,n,i){return ei(t,(function(t,r,o){e(i,t,n(t),o)})),i}function Xn(t,e){return t&&br(e,xs(e),t)}function Vn(t,e,n){"__proto__"==e&&ve?ve(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function qn(t,e){for(var n=-1,r=e.length,o=i(r),a=null==t;++n<r;)o[n]=a?void 0:gs(t,e[n]);return o}function Kn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Zn(t,e,n,i,r,o){var a,s=1&e,c=2&e,p=4&e;if(n&&(a=r?n(t,i,r,o):n(t)),void 0!==a)return a;if(!Ya(t))return t;var w=Da(t);if(w){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Ot.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return vr(t,a)}else{var T=io(t),D=T==h||T==f;if(Ra(t))return pr(t,s);if(T==_||T==l||D&&!r){if(a=c||D?{}:oo(t),!s)return c?function(t,e){return br(t,no(t),e)}(t,function(t,e){return t&&br(e,ws(e),t)}(a,t)):function(t,e){return br(t,eo(t),e)}(t,Xn(a,t))}else{if(!Bt[T])return r?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case O:return hr(t);case d:case u:return new i(+t);case k:return function(t,e){var n=e?hr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case C:case E:case S:case j:case $:case A:case"[object Uint8ClampedArray]":case M:case P:return fr(t,n);case m:return new i;case g:case y:return new i(t);case v:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new i;case x:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,T,s)}}o||(o=new Rn);var L=o.get(t);if(L)return L;o.set(t,a),Ka(t)?t.forEach((function(i){a.add(Zn(i,e,n,i,t,o))})):Ga(t)&&t.forEach((function(i,r){a.set(r,Zn(i,e,n,r,t,o))}));var N=w?void 0:(p?c?Xr:Gr:c?ws:xs)(t);return se(N||t,(function(i,r){N&&(i=t[r=i]),Yn(a,r,Zn(i,e,n,r,t,o))})),a}function Jn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],o=e[r],a=t[r];if(void 0===a&&!(r in t)||!o(a))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new _t(o);return xo((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,o=ue,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=he(e,Me(n))),i?(o=pe,a=!1):e.length>=200&&(o=Te,a=!1,e=new In(e));t:for(;++r<s;){var d=t[r],u=null==n?d:n(d);if(d=i||0!==d?d:0,a&&u==u){for(var p=c;p--;)if(e[p]===u)continue t;l.push(d)}else o(e,u,i)||l.push(d)}return l}$n.templateSettings={escape:z,evaluate:B,interpolate:W,variable:"",imports:{_:$n}},$n.prototype=Mn.prototype,$n.prototype.constructor=$n,Pn.prototype=An(Mn.prototype),Pn.prototype.constructor=Pn,Tn.prototype=An(Mn.prototype),Tn.prototype.constructor=Tn,Dn.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},Dn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Dn.prototype.get=function(t){var e=this.__data__;if(vn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ot.call(e,t)?e[t]:void 0},Dn.prototype.has=function(t){var e=this.__data__;return vn?void 0!==e[t]:Ot.call(e,t)},Dn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=vn&&void 0===e?"__lodash_hash_undefined__":e,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(t){var e=this.__data__,n=Un(e,t);return!(n<0)&&(n==e.length-1?e.pop():Vt.call(e,n,1),--this.size,!0)},Ln.prototype.get=function(t){var e=this.__data__,n=Un(e,t);return n<0?void 0:e[n][1]},Ln.prototype.has=function(t){return Un(this.__data__,t)>-1},Ln.prototype.set=function(t,e){var n=this.__data__,i=Un(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(fn||Ln),string:new Dn}},Nn.prototype.delete=function(t){var e=Jr(this,t).delete(t);return this.size-=e?1:0,e},Nn.prototype.get=function(t){return Jr(this,t).get(t)},Nn.prototype.has=function(t){return Jr(this,t).has(t)},Nn.prototype.set=function(t,e){var n=Jr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},In.prototype.add=In.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},In.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Rn.prototype.get=function(t){return this.__data__.get(t)},Rn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Nn(i)}return n.set(t,e),this.size=n.size,this};var ei=wr(ci),ni=wr(di,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,l=o}return l}function oi(t,e){var n=[];return ei(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function ai(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=ao),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ai(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=Or(),li=Or(!0);function ci(t,e){return t&&si(t,e,xs)}function di(t,e){return t&&li(t,e,xs)}function ui(t,e){return de(e,(function(e){return Ba(t[e])}))}function pi(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&n<i;)t=t[So(e[n++])];return n&&n==i?t:void 0}function hi(t,e,n){var i=e(t);return Da(t)?i:fe(i,n(t))}function fi(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Jt&&Jt in ft(t)?function(t){var e=Ot.call(t,Jt),n=t[Jt];try{t[Jt]=void 0;var i=!0}catch(t){}var r=Et.call(t);i&&(e?t[Jt]=n:delete t[Jt]);return r}(t):function(t){return Et.call(t)}(t)}function mi(t,e){return t>e}function gi(t,e){return null!=t&&Ot.call(t,e)}function _i(t,e){return null!=t&&e in ft(t)}function vi(t,e,n){for(var r=n?pe:ue,o=t[0].length,a=t.length,s=a,l=i(a),c=1/0,d=[];s--;){var u=t[s];s&&e&&(u=he(u,Me(e))),c=ln(u.length,c),l[s]=!n&&(e||o>=120&&u.length>=120)?new In(s&&u):void 0}u=t[0];var p=-1,h=l[0];t:for(;++p<o&&d.length<c;){var f=u[p],m=e?e(f):f;if(f=n||0!==f?f:0,!(h?Te(h,m):r(d,m,n))){for(s=a;--s;){var g=l[s];if(!(g?Te(g,m):r(t[s],m,n)))continue t}h&&h.push(m),d.push(f)}}return d}function bi(t,e,n){var i=null==(t=_o(t,e=lr(e,t)))?t:t[So(zo(e))];return null==i?void 0:oe(i,t,n)}function yi(t){return Ua(t)&&fi(t)==l}function xi(t,e,n,i,r){return t===e||(null==t||null==e||!Ua(t)&&!Ua(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=Da(t),s=Da(e),h=a?c:io(t),f=s?c:io(e),w=(h=h==l?_:h)==_,C=(f=f==l?_:f)==_,E=h==f;if(E&&Ra(t)){if(!Ra(e))return!1;a=!0,w=!1}if(E&&!w)return o||(o=new Rn),a||Qa(t)?Yr(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case k:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case O:return!(t.byteLength!=e.byteLength||!o(new Dt(t),new Dt(e)));case d:case u:case g:return Aa(+t,+e);case p:return t.name==e.name&&t.message==e.message;case v:case y:return t==e+"";case m:var s=Be;case b:var l=1&i;if(s||(s=Ye),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;i|=2,a.set(t,e);var h=Yr(s(t),s(e),i,r,o,a);return a.delete(t),h;case x:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,h,n,i,r,o);if(!(1&n)){var S=w&&Ot.call(t,"__wrapped__"),j=C&&Ot.call(e,"__wrapped__");if(S||j){var $=S?t.value():t,A=j?e.value():e;return o||(o=new Rn),r($,A,n,i,o)}}if(!E)return!1;return o||(o=new Rn),function(t,e,n,i,r,o){var a=1&n,s=Gr(t),l=s.length,c=Gr(e).length;if(l!=c&&!a)return!1;var d=l;for(;d--;){var u=s[d];if(!(a?u in e:Ot.call(e,u)))return!1}var p=o.get(t),h=o.get(e);if(p&&h)return p==e&&h==t;var f=!0;o.set(t,e),o.set(e,t);var m=a;for(;++d<l;){u=s[d];var g=t[u],_=e[u];if(i)var v=a?i(_,g,u,e,t,o):i(g,_,u,t,e,o);if(!(void 0===v?g===_||r(g,_,n,i,o):v)){f=!1;break}m||(m="constructor"==u)}if(f&&!m){var b=t.constructor,y=e.constructor;b==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(t),o.delete(e),f}(t,e,n,i,r,o)}(t,e,n,i,xi,r))}function wi(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=ft(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],c=t[l],d=s[1];if(a&&s[2]){if(void 0===c&&!(l in t))return!1}else{var u=new Rn;if(i)var p=i(c,d,l,t,e,u);if(!(void 0===p?xi(d,c,3,i,u):p))return!1}}return!0}function Oi(t){return!(!Ya(t)||(e=t,Ct&&Ct in e))&&(Ba(t)?$t:at).test(jo(t));var e}function ki(t){return"function"==typeof t?t:null==t?Xs:"object"==typeof t?Da(t)?Ai(t[0],t[1]):$i(t):nl(t)}function Ci(t){if(!ho(t))return an(t);var e=[];for(var n in ft(t))Ot.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ei(t){if(!Ya(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=ho(t),n=[];for(var i in t)("constructor"!=i||!e&&Ot.call(t,i))&&n.push(i);return n}function Si(t,e){return t<e}function ji(t,e){var n=-1,r=Na(t)?i(t.length):[];return ei(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function $i(t){var e=Qr(t);return 1==e.length&&e[0][2]?mo(e[0][0],e[0][1]):function(n){return n===t||wi(n,t,e)}}function Ai(t,e){return co(t)&&fo(e)?mo(So(t),e):function(n){var i=gs(n,t);return void 0===i&&i===e?_s(n,t):xi(e,i,3)}}function Mi(t,e,n,i,r){t!==e&&si(e,(function(o,a){if(r||(r=new Rn),Ya(o))!function(t,e,n,i,r,o,a){var s=bo(t,n),l=bo(e,n),c=a.get(l);if(c)return void Hn(t,n,c);var d=o?o(s,l,n+"",t,e,a):void 0,u=void 0===d;if(u){var p=Da(l),h=!p&&Ra(l),f=!p&&!h&&Qa(l);d=l,p||h||f?Da(s)?d=s:Ia(s)?d=vr(s):h?(u=!1,d=pr(l,!0)):f?(u=!1,d=fr(l,!0)):d=[]:Va(l)||Ta(l)?(d=s,Ta(s)?d=ss(s):Ya(s)&&!Ba(s)||(d=oo(l))):u=!1}u&&(a.set(l,d),r(d,l,i,o,a),a.delete(l));Hn(t,n,d)}(t,e,a,n,Mi,i,r);else{var s=i?i(bo(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),Hn(t,a,s)}}),ws)}function Pi(t,e){var n=t.length;if(n)return so(e+=e<0?n:0,n)?t[e]:void 0}function Ti(t,e,n){e=e.length?he(e,(function(t){return Da(t)?function(e){return pi(e,1===t.length?t[0]:t)}:t})):[Xs];var i=-1;return e=he(e,Me(Zr())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(ji(t,(function(t,n,r){return{criteria:he(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return function(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;for(;++i<a;){var l=mr(r[i],o[i]);if(l){if(i>=s)return l;var c=n[i];return l*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)}))}function Di(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=pi(t,a);n(s,a)&&Wi(o,lr(a,t),s)}return o}function Li(t,e,n,i){var r=i?we:xe,o=-1,a=e.length,s=t;for(t===e&&(e=vr(e)),n&&(s=he(t,Me(n)));++o<a;)for(var l=0,c=e[o],d=n?n(c):c;(l=r(s,d,l,i))>-1;)s!==t&&Vt.call(s,l,1),Vt.call(t,l,1);return t}function Ni(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;so(r)?Vt.call(t,r,1):tr(t,r)}}return t}function Ii(t,e){return t+tn(un()*(e-t+1))}function Ri(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wo(go(t,e,Xs),t+"")}function zi(t){return zn(As(t))}function Bi(t,e){var n=As(t);return Co(n,Kn(e,0,n.length))}function Wi(t,e,n,i){if(!Ya(t))return t;for(var r=-1,o=(e=lr(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=So(e[r]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var d=s[l];void 0===(c=i?i(d,l,s):void 0)&&(c=Ya(d)?d:so(e[r+1])?[]:{})}Yn(s,l,c),s=s[l]}return t}var Hi=bn?function(t,e){return bn.set(t,e),t}:Xs,Yi=ve?function(t,e){return ve(t,"toString",{configurable:!0,enumerable:!1,value:Ys(e),writable:!0})}:Xs;function Ui(t){return Co(As(t))}function Gi(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r<o;)a[r]=t[r+e];return a}function Xi(t,e){var n;return ei(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function Vi(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ja(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return qi(t,e,Xs,n)}function qi(t,e,n,i){var r=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!=e,s=null===e,l=Ja(e),c=void 0===e;r<o;){var d=tn((r+o)/2),u=n(t[d]),p=void 0!==u,h=null===u,f=u==u,m=Ja(u);if(a)var g=i||f;else g=c?f&&(i||p):s?f&&p&&(i||!h):l?f&&p&&!h&&(i||!m):!h&&!m&&(i?u<=e:u<e);g?r=d+1:o=d}return ln(o,4294967294)}function Ki(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Aa(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Zi(t){return"number"==typeof t?t:Ja(t)?NaN:+t}function Ji(t){if("string"==typeof t)return t;if(Da(t))return he(t,Ji)+"";if(Ja(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qi(t,e,n){var i=-1,r=ue,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=pe;else if(o>=200){var c=e?null:Rr(t);if(c)return Ye(c);a=!1,r=Te,l=new In}else l=e?[]:s;t:for(;++i<o;){var d=t[i],u=e?e(d):d;if(d=n||0!==d?d:0,a&&u==u){for(var p=l.length;p--;)if(l[p]===u)continue t;e&&l.push(u),s.push(d)}else r(l,u,n)||(l!==s&&l.push(u),s.push(d))}return s}function tr(t,e){return null==(t=_o(t,e=lr(e,t)))||delete t[So(zo(e))]}function er(t,e,n,i){return Wi(t,e,n(pi(t,e)),i)}function nr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Gi(t,i?0:o,i?o+1:r):Gi(t,i?o+1:0,i?r:o)}function ir(t,e){var n=t;return n instanceof Tn&&(n=n.value()),me(e,(function(t,e){return e.func.apply(e.thisArg,fe([t],e.args))}),n)}function rr(t,e,n){var r=t.length;if(r<2)return r?Qi(t[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=t[o],l=-1;++l<r;)l!=o&&(a[o]=ti(a[o]||s,t[l],e,n));return Qi(ai(a,1),e,n)}function or(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:void 0;n(a,t[i],s)}return a}function ar(t){return Ia(t)?t:[]}function sr(t){return"function"==typeof t?t:Xs}function lr(t,e){return Da(t)?t:co(t,e)?[t]:Eo(ls(t))}var cr=Fi;function dr(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:Gi(t,e,n)}var ur=Ee||function(t){return Xt.clearTimeout(t)};function pr(t,e){if(e)return t.slice();var n=t.length,i=Nt?Nt(n):new t.constructor(n);return t.copy(i),i}function hr(t){var e=new t.constructor(t.byteLength);return new Dt(e).set(new Dt(t)),e}function fr(t,e){var n=e?hr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function mr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,o=Ja(t),a=void 0!==e,s=null===e,l=e==e,c=Ja(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!c&&t<e||c&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function gr(t,e,n,r){for(var o=-1,a=t.length,s=n.length,l=-1,c=e.length,d=sn(a-s,0),u=i(c+d),p=!r;++l<c;)u[l]=e[l];for(;++o<s;)(p||o<a)&&(u[n[o]]=t[o]);for(;d--;)u[l++]=t[o++];return u}function _r(t,e,n,r){for(var o=-1,a=t.length,s=-1,l=n.length,c=-1,d=e.length,u=sn(a-l,0),p=i(u+d),h=!r;++o<u;)p[o]=t[o];for(var f=o;++c<d;)p[f+c]=e[c];for(;++s<l;)(h||o<a)&&(p[f+n[s]]=t[o++]);return p}function vr(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function br(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?Vn(n,s,l):Yn(n,s,l)}return n}function yr(t,e){return function(n,i){var r=Da(n)?ae:Gn,o=e?e():{};return r(n,t,Zr(i,2),o)}}function xr(t){return Fi((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&lo(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=ft(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))}function wr(t,e){return function(n,i){if(null==n)return n;if(!Na(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ft(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Or(t){return function(e,n,i){for(var r=-1,o=ft(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function kr(t){return function(e){var n=ze(e=ls(e))?Xe(e):void 0,i=n?n[0]:e.charAt(0),r=n?dr(n,1).join(""):e.slice(1);return i[t]()+r}}function Cr(t){return function(e){return me(Bs(Ts(e).replace(Pt,"")),t,"")}}function Er(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=An(t.prototype),i=t.apply(n,e);return Ya(i)?i:n}}function Sr(t){return function(e,n,i){var r=ft(e);if(!Na(e)){var o=Zr(n,3);e=xs(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:void 0}}function jr(t){return Ur((function(e){var n=e.length,i=n,r=Pn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new _t(o);if(r&&!s&&"wrapper"==qr(a))var s=new Pn([],!0)}for(i=s?i:n;++i<n;){var l=qr(a=e[i]),c="wrapper"==l?Vr(a):void 0;s=c&&uo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[qr(c[0])].apply(s,c[3]):1==a.length&&uo(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&Da(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function $r(t,e,n,r,o,a,s,l,c,d){var u=128&e,p=1&e,h=2&e,f=24&e,m=512&e,g=h?void 0:Er(t);return function _(){for(var v=arguments.length,b=i(v),y=v;y--;)b[y]=arguments[y];if(f)var x=Kr(_),w=Ne(b,x);if(r&&(b=gr(b,r,o,f)),a&&(b=_r(b,a,s,f)),v-=w,f&&v<d){var O=He(b,x);return Nr(t,e,$r,_.placeholder,n,b,O,l,c,d-v)}var k=p?n:this,C=h?k[t]:t;return v=b.length,l?b=vo(b,l):m&&v>1&&b.reverse(),u&&c<v&&(b.length=c),this&&this!==Xt&&this instanceof _&&(C=g||Er(C)),C.apply(k,b)}}function Ar(t,e){return function(n,i){return function(t,e,n,i){return ci(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Mr(t,e){return function(n,i){var r;if(void 0===n&&void 0===i)return e;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=Ji(n),i=Ji(i)):(n=Zi(n),i=Zi(i)),r=t(n,i)}return r}}function Pr(t){return Ur((function(e){return e=he(e,Me(Zr())),Fi((function(n){var i=this;return t(e,(function(t){return oe(t,i,n)}))}))}))}function Tr(t,e){var n=(e=void 0===e?" ":Ji(e)).length;if(n<2)return n?Ri(e,t):e;var i=Ri(e,Qe(t/Ge(e)));return ze(e)?dr(Xe(i),0,t).join(""):i.slice(0,t)}function Dr(t){return function(e,n,r){return r&&"number"!=typeof r&&lo(e,n,r)&&(n=r=void 0),e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n,r){for(var o=-1,a=sn(Qe((e-t)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=t,t+=n;return s}(e,n,r=void 0===r?e<n?1:-1:is(r),t)}}function Lr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=as(e),n=as(n)),t(e,n)}}function Nr(t,e,n,i,r,o,a,s,l,c){var d=8&e;e|=d?32:64,4&(e&=~(d?64:32))||(e&=-4);var u=[t,e,r,d?o:void 0,d?a:void 0,d?void 0:o,d?void 0:a,s,l,c],p=n.apply(void 0,u);return uo(t)&&yo(p,u),p.placeholder=i,Oo(p,t,e)}function Ir(t){var e=ht[t];return function(t,n){if(t=as(t),(n=null==n?0:ln(rs(n),292))&&rn(t)){var i=(ls(t)+"e").split("e");return+((i=(ls(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Rr=gn&&1/Ye(new gn([,-0]))[1]==1/0?function(t){return new gn(t)}:Js;function Fr(t){return function(e){var n=io(e);return n==m?Be(e):n==b?Ue(e):function(t,e){return he(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function zr(t,e,n,r,s,l,c,d){var u=2&e;if(!u&&"function"!=typeof t)throw new _t(o);var p=r?r.length:0;if(p||(e&=-97,r=s=void 0),c=void 0===c?c:sn(rs(c),0),d=void 0===d?d:rs(d),p-=s?s.length:0,64&e){var h=r,f=s;r=s=void 0}var m=u?void 0:Vr(t),g=[t,e,n,r,s,h,f,l,c,d];if(m&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=128==i&&8==n||128==i&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var c=t[3];t[3]=c?gr(c,l,e[4]):l,t[4]=c?He(t[3],a):e[4]}(l=e[5])&&(c=t[5],t[5]=c?_r(c,l,e[6]):l,t[6]=c?He(t[5],a):e[6]);(l=e[7])&&(t[7]=l);128&i&&(t[8]=null==t[8]?e[8]:ln(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=r}(g,m),t=g[0],e=g[1],n=g[2],r=g[3],s=g[4],!(d=g[9]=void 0===g[9]?u?0:t.length:sn(g[9]-p,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var r=Er(t);return function o(){for(var a=arguments.length,s=i(a),l=a,c=Kr(o);l--;)s[l]=arguments[l];var d=a<3&&s[0]!==c&&s[a-1]!==c?[]:He(s,c);if((a-=d.length)<n)return Nr(t,e,$r,o.placeholder,void 0,s,d,void 0,void 0,n-a);var u=this&&this!==Xt&&this instanceof o?r:t;return oe(u,this,s)}}(t,e,d):32!=e&&33!=e||s.length?$r.apply(void 0,g):function(t,e,n,r){var o=1&e,a=Er(t);return function e(){for(var s=-1,l=arguments.length,c=-1,d=r.length,u=i(d+l),p=this&&this!==Xt&&this instanceof e?a:t;++c<d;)u[c]=r[c];for(;l--;)u[c++]=arguments[++s];return oe(p,o?n:this,u)}}(t,e,n,r);else var _=function(t,e,n){var i=1&e,r=Er(t);return function e(){var o=this&&this!==Xt&&this instanceof e?r:t;return o.apply(i?n:this,arguments)}}(t,e,n);return Oo((m?Hi:yo)(_,g),t,e)}function Br(t,e,n,i){return void 0===t||Aa(t,yt[n])&&!Ot.call(i,n)?e:t}function Wr(t,e,n,i,r,o){return Ya(t)&&Ya(e)&&(o.set(e,t),Mi(t,e,void 0,Wr,o),o.delete(e)),t}function Hr(t){return Va(t)?void 0:t}function Yr(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),d=o.get(e);if(c&&d)return c==e&&d==t;var u=-1,p=!0,h=2&n?new In:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var f=t[u],m=e[u];if(i)var g=a?i(m,f,u,e,t,o):i(f,m,u,t,e,o);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!_e(e,(function(t,e){if(!Te(h,e)&&(f===t||r(f,t,n,i,o)))return h.push(e)}))){p=!1;break}}else if(f!==m&&!r(f,m,n,i,o)){p=!1;break}}return o.delete(t),o.delete(e),p}function Ur(t){return wo(go(t,void 0,Lo),t+"")}function Gr(t){return hi(t,xs,eo)}function Xr(t){return hi(t,ws,no)}var Vr=bn?function(t){return bn.get(t)}:Js;function qr(t){for(var e=t.name+"",n=yn[e],i=Ot.call(yn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Kr(t){return(Ot.call($n,"placeholder")?$n:t).placeholder}function Zr(){var t=$n.iteratee||Vs;return t=t===Vs?ki:t,arguments.length?t(arguments[0],arguments[1]):t}function Jr(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Qr(t){for(var e=xs(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,fo(r)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Oi(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=ft(t),de(en(t),(function(e){return Gt.call(t,e)})))}:ol,no=en?function(t){for(var e=[];t;)fe(e,eo(t)),t=Wt(t);return e}:ol,io=fi;function ro(t,e,n){for(var i=-1,r=(e=lr(e,t)).length,o=!1;++i<r;){var a=So(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Ha(r)&&so(a,r)&&(Da(t)||Ta(t))}function oo(t){return"function"!=typeof t.constructor||ho(t)?{}:An(Wt(t))}function ao(t){return Da(t)||Ta(t)||!!(qt&&t&&t[qt])}function so(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&lt.test(t))&&t>-1&&t%1==0&&t<e}function lo(t,e,n){if(!Ya(n))return!1;var i=typeof e;return!!("number"==i?Na(n)&&so(e,n.length):"string"==i&&e in n)&&Aa(n[e],t)}function co(t,e){if(Da(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ja(t))||(Y.test(t)||!H.test(t)||null!=e&&t in ft(e))}function uo(t){var e=qr(t),n=$n[e];if("function"!=typeof n||!(e in Tn.prototype))return!1;if(t===n)return!0;var i=Vr(n);return!!i&&t===i[0]}(hn&&io(new hn(new ArrayBuffer(1)))!=k||fn&&io(new fn)!=m||mn&&"[object Promise]"!=io(mn.resolve())||gn&&io(new gn)!=b||_n&&io(new _n)!=w)&&(io=function(t){var e=fi(t),n=e==_?t.constructor:void 0,i=n?jo(n):"";if(i)switch(i){case xn:return k;case wn:return m;case On:return"[object Promise]";case kn:return b;case Cn:return w}return e});var po=xt?Ba:al;function ho(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||yt)}function fo(t){return t==t&&!Ya(t)}function mo(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in ft(n)))}}function go(t,e,n){return e=sn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,a=sn(r.length-e,0),s=i(a);++o<a;)s[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(s),oe(t,this,l)}}function _o(t,e){return e.length<2?t:pi(t,Gi(e,0,-1))}function vo(t,e){for(var n=t.length,i=ln(e.length,n),r=vr(t);i--;){var o=e[i];t[i]=so(o,n)?r[o]:void 0}return t}function bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var yo=ko(Hi),xo=Je||function(t,e){return Xt.setTimeout(t,e)},wo=ko(Yi);function Oo(t,e,n){var i=e+"";return wo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(K,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!ue(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(i),n)))}function ko(t){var e=0,n=0;return function(){var i=cn(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Co(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n<e;){var o=Ii(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var Eo=function(t){var e=ka(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(U,(function(t,n,i,r){e.push(i?r.replace(et,"$1"):n||t)})),e}));function So(t){if("string"==typeof t||Ja(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function jo(t){if(null!=t){try{return wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $o(t){if(t instanceof Tn)return t.clone();var e=new Pn(t.__wrapped__,t.__chain__);return e.__actions__=vr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Ao=Fi((function(t,e){return Ia(t)?ti(t,ai(e,1,Ia,!0)):[]})),Mo=Fi((function(t,e){var n=zo(e);return Ia(n)&&(n=void 0),Ia(t)?ti(t,ai(e,1,Ia,!0),Zr(n,2)):[]})),Po=Fi((function(t,e){var n=zo(e);return Ia(n)&&(n=void 0),Ia(t)?ti(t,ai(e,1,Ia,!0),void 0,n):[]}));function To(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),ye(t,Zr(e,3),r)}function Do(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rs(n),r=n<0?sn(i+r,0):ln(r,i-1)),ye(t,Zr(e,3),r,!0)}function Lo(t){return(null==t?0:t.length)?ai(t,1):[]}function No(t){return t&&t.length?t[0]:void 0}var Io=Fi((function(t){var e=he(t,ar);return e.length&&e[0]===t[0]?vi(e):[]})),Ro=Fi((function(t){var e=zo(t),n=he(t,ar);return e===zo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?vi(n,Zr(e,2)):[]})),Fo=Fi((function(t){var e=zo(t),n=he(t,ar);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?vi(n,void 0,e):[]}));function zo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Bo=Fi(Wo);function Wo(t,e){return t&&t.length&&e&&e.length?Li(t,e):t}var Ho=Ur((function(t,e){var n=null==t?0:t.length,i=qn(t,e);return Ni(t,he(e,(function(t){return so(t,n)?+t:t})).sort(mr)),i}));function Yo(t){return null==t?t:pn.call(t)}var Uo=Fi((function(t){return Qi(ai(t,1,Ia,!0))})),Go=Fi((function(t){var e=zo(t);return Ia(e)&&(e=void 0),Qi(ai(t,1,Ia,!0),Zr(e,2))})),Xo=Fi((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,Qi(ai(t,1,Ia,!0),void 0,e)}));function Vo(t){if(!t||!t.length)return[];var e=0;return t=de(t,(function(t){if(Ia(t))return e=sn(t.length,e),!0})),$e(e,(function(e){return he(t,Ce(e))}))}function qo(t,e){if(!t||!t.length)return[];var n=Vo(t);return null==e?n:he(n,(function(t){return oe(e,void 0,t)}))}var Ko=Fi((function(t,e){return Ia(t)?ti(t,e):[]})),Zo=Fi((function(t){return rr(de(t,Ia))})),Jo=Fi((function(t){var e=zo(t);return Ia(e)&&(e=void 0),rr(de(t,Ia),Zr(e,2))})),Qo=Fi((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,rr(de(t,Ia),void 0,e)})),ta=Fi(Vo);var ea=Fi((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,qo(t,n)}));function na(t){var e=$n(t);return e.__chain__=!0,e}function ia(t,e){return e(t)}var ra=Ur((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return qn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Tn&&so(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ia,args:[r],thisArg:void 0}),new Pn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var oa=yr((function(t,e,n){Ot.call(t,n)?++t[n]:Vn(t,n,1)}));var aa=Sr(To),sa=Sr(Do);function la(t,e){return(Da(t)?se:ei)(t,Zr(e,3))}function ca(t,e){return(Da(t)?le:ni)(t,Zr(e,3))}var da=yr((function(t,e,n){Ot.call(t,n)?t[n].push(e):Vn(t,n,[e])}));var ua=Fi((function(t,e,n){var r=-1,o="function"==typeof e,a=Na(t)?i(t.length):[];return ei(t,(function(t){a[++r]=o?oe(e,t,n):bi(t,e,n)})),a})),pa=yr((function(t,e,n){Vn(t,n,e)}));function ha(t,e){return(Da(t)?he:ji)(t,Zr(e,3))}var fa=yr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ma=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&lo(t,e[0],e[1])?e=[]:n>2&&lo(e[0],e[1],e[2])&&(e=[e[0]]),Ti(t,ai(e,1),[])})),ga=Ze||function(){return Xt.Date.now()};function _a(t,e,n){return e=n?void 0:e,zr(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function va(t,e){var n;if("function"!=typeof e)throw new _t(o);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ba=Fi((function(t,e,n){var i=1;if(n.length){var r=He(n,Kr(ba));i|=32}return zr(t,i,e,n,r)})),ya=Fi((function(t,e,n){var i=3;if(n.length){var r=He(n,Kr(ya));i|=32}return zr(e,i,t,n,r)}));function xa(t,e,n){var i,r,a,s,l,c,d=0,u=!1,p=!1,h=!0;if("function"!=typeof t)throw new _t(o);function f(e){var n=i,o=r;return i=r=void 0,d=e,s=t.apply(o,n)}function m(t){return d=t,l=xo(_,e),u?f(t):s}function g(t){var n=t-c;return void 0===c||n>=e||n<0||p&&t-d>=a}function _(){var t=ga();if(g(t))return v(t);l=xo(_,function(t){var n=e-(t-c);return p?ln(n,a-(t-d)):n}(t))}function v(t){return l=void 0,h&&i?f(t):(i=r=void 0,s)}function b(){var t=ga(),n=g(t);if(i=arguments,r=this,c=t,n){if(void 0===l)return m(c);if(p)return ur(l),l=xo(_,e),f(c)}return void 0===l&&(l=xo(_,e)),s}return e=as(e)||0,Ya(n)&&(u=!!n.leading,a=(p="maxWait"in n)?sn(as(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){void 0!==l&&ur(l),d=0,i=c=r=l=void 0},b.flush=function(){return void 0===l?s:v(ga())},b}var wa=Fi((function(t,e){return Qn(t,1,e)})),Oa=Fi((function(t,e,n){return Qn(t,as(e)||0,n)}));function ka(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new _t(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(ka.Cache||Nn),n}function Ca(t){if("function"!=typeof t)throw new _t(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ka.Cache=Nn;var Ea=cr((function(t,e){var n=(e=1==e.length&&Da(e[0])?he(e[0],Me(Zr())):he(ai(e,1),Me(Zr()))).length;return Fi((function(i){for(var r=-1,o=ln(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return oe(t,this,i)}))})),Sa=Fi((function(t,e){return zr(t,32,void 0,e,He(e,Kr(Sa)))})),ja=Fi((function(t,e){return zr(t,64,void 0,e,He(e,Kr(ja)))})),$a=Ur((function(t,e){return zr(t,256,void 0,void 0,void 0,e)}));function Aa(t,e){return t===e||t!=t&&e!=e}var Ma=Lr(mi),Pa=Lr((function(t,e){return t>=e})),Ta=yi(function(){return arguments}())?yi:function(t){return Ua(t)&&Ot.call(t,"callee")&&!Gt.call(t,"callee")},Da=i.isArray,La=Qt?Me(Qt):function(t){return Ua(t)&&fi(t)==O};function Na(t){return null!=t&&Ha(t.length)&&!Ba(t)}function Ia(t){return Ua(t)&&Na(t)}var Ra=nn||al,Fa=te?Me(te):function(t){return Ua(t)&&fi(t)==u};function za(t){if(!Ua(t))return!1;var e=fi(t);return e==p||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Va(t)}function Ba(t){if(!Ya(t))return!1;var e=fi(t);return e==h||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Wa(t){return"number"==typeof t&&t==rs(t)}function Ha(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ya(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ua(t){return null!=t&&"object"==typeof t}var Ga=ee?Me(ee):function(t){return Ua(t)&&io(t)==m};function Xa(t){return"number"==typeof t||Ua(t)&&fi(t)==g}function Va(t){if(!Ua(t)||fi(t)!=_)return!1;var e=Wt(t);if(null===e)return!0;var n=Ot.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==St}var qa=ne?Me(ne):function(t){return Ua(t)&&fi(t)==v};var Ka=ie?Me(ie):function(t){return Ua(t)&&io(t)==b};function Za(t){return"string"==typeof t||!Da(t)&&Ua(t)&&fi(t)==y}function Ja(t){return"symbol"==typeof t||Ua(t)&&fi(t)==x}var Qa=re?Me(re):function(t){return Ua(t)&&Ha(t.length)&&!!zt[fi(t)]};var ts=Lr(Si),es=Lr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Na(t))return Za(t)?Xe(t):vr(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=io(t);return(e==m?Be:e==b?Ye:As)(t)}function is(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Kn(rs(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Ja(t))return NaN;if(Ya(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ya(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ae(t);var n=ot.test(t);return n||st.test(t)?Yt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return br(t,ws(t))}function ls(t){return null==t?"":Ji(t)}var cs=xr((function(t,e){if(ho(e)||Na(e))br(e,xs(e),t);else for(var n in e)Ot.call(e,n)&&Yn(t,n,e[n])})),ds=xr((function(t,e){br(e,ws(e),t)})),us=xr((function(t,e,n,i){br(e,ws(e),t,i)})),ps=xr((function(t,e,n,i){br(e,xs(e),t,i)})),hs=Ur(qn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&lo(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=ws(o),s=-1,l=a.length;++s<l;){var c=a[s],d=t[c];(void 0===d||Aa(d,yt[c])&&!Ot.call(t,c))&&(t[c]=o[c])}return t})),ms=Fi((function(t){return t.push(void 0,Wr),oe(ks,void 0,t)}));function gs(t,e,n){var i=null==t?void 0:pi(t,e);return void 0===i?n:i}function _s(t,e){return null!=t&&ro(t,e,_i)}var vs=Ar((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Et.call(e)),t[e]=n}),Ys(Xs)),bs=Ar((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Et.call(e)),Ot.call(t,e)?t[e].push(n):t[e]=[n]}),Zr),ys=Fi(bi);function xs(t){return Na(t)?Fn(t):Ci(t)}function ws(t){return Na(t)?Fn(t,!0):Ei(t)}var Os=xr((function(t,e,n){Mi(t,e,n)})),ks=xr((function(t,e,n,i){Mi(t,e,n,i)})),Cs=Ur((function(t,e){var n={};if(null==t)return n;var i=!1;e=he(e,(function(e){return e=lr(e,t),i||(i=e.length>1),e})),br(t,Xr(t),n),i&&(n=Zn(n,7,Hr));for(var r=e.length;r--;)tr(n,e[r]);return n}));var Es=Ur((function(t,e){return null==t?{}:function(t,e){return Di(t,e,(function(e,n){return _s(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=he(Xr(t),(function(t){return[t]}));return e=Zr(e),Di(t,n,(function(t,n){return e(t,n[0])}))}var js=Fr(xs),$s=Fr(ws);function As(t){return null==t?[]:Pe(t,xs(t))}var Ms=Cr((function(t,e,n){return e=e.toLowerCase(),t+(n?Ps(e):e)}));function Ps(t){return zs(ls(t).toLowerCase())}function Ts(t){return(t=ls(t))&&t.replace(ct,Ie).replace(Tt,"")}var Ds=Cr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=Cr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ns=kr("toLowerCase");var Is=Cr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Rs=Cr((function(t,e,n){return t+(n?" ":"")+zs(e)}));var Fs=Cr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),zs=kr("toUpperCase");function Bs(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return It.test(t)}(t)?function(t){return t.match(Lt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Ws=Fi((function(t,e){try{return oe(t,void 0,e)}catch(t){return za(t)?t:new q(t)}})),Hs=Ur((function(t,e){return se(e,(function(e){e=So(e),Vn(t,e,ba(t[e],t))})),t}));function Ys(t){return function(){return t}}var Us=jr(),Gs=jr(!0);function Xs(t){return t}function Vs(t){return ki("function"==typeof t?t:Zn(t,1))}var qs=Fi((function(t,e){return function(n){return bi(n,t,e)}})),Ks=Fi((function(t,e){return function(n){return bi(t,n,e)}}));function Zs(t,e,n){var i=xs(e),r=ui(e,i);null!=n||Ya(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=ui(e,xs(e)));var o=!(Ya(n)&&"chain"in n&&!n.chain),a=Ba(t);return se(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=vr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Js(){}var Qs=Pr(he),tl=Pr(ce),el=Pr(_e);function nl(t){return co(t)?Ce(So(t)):function(t){return function(e){return pi(e,t)}}(t)}var il=Dr(),rl=Dr(!0);function ol(){return[]}function al(){return!1}var sl=Mr((function(t,e){return t+e}),0),ll=Ir("ceil"),cl=Mr((function(t,e){return t/e}),1),dl=Ir("floor");var ul,pl=Mr((function(t,e){return t*e}),1),hl=Ir("round"),fl=Mr((function(t,e){return t-e}),0);return $n.after=function(t,e){if("function"!=typeof e)throw new _t(o);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},$n.ary=_a,$n.assign=cs,$n.assignIn=ds,$n.assignInWith=us,$n.assignWith=ps,$n.at=hs,$n.before=va,$n.bind=ba,$n.bindAll=Hs,$n.bindKey=ya,$n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Da(t)?t:[t]},$n.chain=na,$n.chunk=function(t,e,n){e=(n?lo(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,s=i(Qe(r/e));o<r;)s[a++]=Gi(t,o,o+=e);return s},$n.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},$n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return fe(Da(n)?vr(n):[n],ai(e,1))},$n.cond=function(t){var e=null==t?0:t.length,n=Zr();return t=e?he(t,(function(t){if("function"!=typeof t[1])throw new _t(o);return[n(t[0]),t[1]]})):[],Fi((function(n){for(var i=-1;++i<e;){var r=t[i];if(oe(r[0],this,n))return oe(r[1],this,n)}}))},$n.conforms=function(t){return function(t){var e=xs(t);return function(n){return Jn(n,t,e)}}(Zn(t,1))},$n.constant=Ys,$n.countBy=oa,$n.create=function(t,e){var n=An(t);return null==e?n:Xn(n,e)},$n.curry=function t(e,n,i){var r=zr(e,8,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},$n.curryRight=function t(e,n,i){var r=zr(e,16,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},$n.debounce=xa,$n.defaults=fs,$n.defaultsDeep=ms,$n.defer=wa,$n.delay=Oa,$n.difference=Ao,$n.differenceBy=Mo,$n.differenceWith=Po,$n.drop=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=n||void 0===e?1:rs(e))<0?0:e,i):[]},$n.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,0,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e):[]},$n.dropRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0,!0):[]},$n.dropWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0):[]},$n.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&lo(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:os(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},$n.filter=function(t,e){return(Da(t)?de:oi)(t,Zr(e,3))},$n.flatMap=function(t,e){return ai(ha(t,e),1)},$n.flatMapDeep=function(t,e){return ai(ha(t,e),1/0)},$n.flatMapDepth=function(t,e,n){return n=void 0===n?1:rs(n),ai(ha(t,e),n)},$n.flatten=Lo,$n.flattenDeep=function(t){return(null==t?0:t.length)?ai(t,1/0):[]},$n.flattenDepth=function(t,e){return(null==t?0:t.length)?ai(t,e=void 0===e?1:rs(e)):[]},$n.flip=function(t){return zr(t,512)},$n.flow=Us,$n.flowRight=Gs,$n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},$n.functions=function(t){return null==t?[]:ui(t,xs(t))},$n.functionsIn=function(t){return null==t?[]:ui(t,ws(t))},$n.groupBy=da,$n.initial=function(t){return(null==t?0:t.length)?Gi(t,0,-1):[]},$n.intersection=Io,$n.intersectionBy=Ro,$n.intersectionWith=Fo,$n.invert=vs,$n.invertBy=bs,$n.invokeMap=ua,$n.iteratee=Vs,$n.keyBy=pa,$n.keys=xs,$n.keysIn=ws,$n.map=ha,$n.mapKeys=function(t,e){var n={};return e=Zr(e,3),ci(t,(function(t,i,r){Vn(n,e(t,i,r),t)})),n},$n.mapValues=function(t,e){var n={};return e=Zr(e,3),ci(t,(function(t,i,r){Vn(n,i,e(t,i,r))})),n},$n.matches=function(t){return $i(Zn(t,1))},$n.matchesProperty=function(t,e){return Ai(t,Zn(e,1))},$n.memoize=ka,$n.merge=Os,$n.mergeWith=ks,$n.method=qs,$n.methodOf=Ks,$n.mixin=Zs,$n.negate=Ca,$n.nthArg=function(t){return t=rs(t),Fi((function(e){return Pi(e,t)}))},$n.omit=Cs,$n.omitBy=function(t,e){return Ss(t,Ca(Zr(e)))},$n.once=function(t){return va(2,t)},$n.orderBy=function(t,e,n,i){return null==t?[]:(Da(e)||(e=null==e?[]:[e]),Da(n=i?void 0:n)||(n=null==n?[]:[n]),Ti(t,e,n))},$n.over=Qs,$n.overArgs=Ea,$n.overEvery=tl,$n.overSome=el,$n.partial=Sa,$n.partialRight=ja,$n.partition=fa,$n.pick=Es,$n.pickBy=Ss,$n.property=nl,$n.propertyOf=function(t){return function(e){return null==t?void 0:pi(t,e)}},$n.pull=Bo,$n.pullAll=Wo,$n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Li(t,e,Zr(n,2)):t},$n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Li(t,e,void 0,n):t},$n.pullAt=Ho,$n.range=il,$n.rangeRight=rl,$n.rearg=$a,$n.reject=function(t,e){return(Da(t)?de:oi)(t,Ca(Zr(e,3)))},$n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=Zr(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Ni(t,r),n},$n.rest=function(t,e){if("function"!=typeof t)throw new _t(o);return Fi(t,e=void 0===e?e:rs(e))},$n.reverse=Yo,$n.sampleSize=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),(Da(t)?Bn:Bi)(t,e)},$n.set=function(t,e,n){return null==t?t:Wi(t,e,n)},$n.setWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:Wi(t,e,n,i)},$n.shuffle=function(t){return(Da(t)?Wn:Ui)(t)},$n.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&lo(t,e,n)?(e=0,n=i):(e=null==e?0:rs(e),n=void 0===n?i:rs(n)),Gi(t,e,n)):[]},$n.sortBy=ma,$n.sortedUniq=function(t){return t&&t.length?Ki(t):[]},$n.sortedUniqBy=function(t,e){return t&&t.length?Ki(t,Zr(e,2)):[]},$n.split=function(t,e,n){return n&&"number"!=typeof n&&lo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!qa(e))&&!(e=Ji(e))&&ze(t)?dr(Xe(t),0,n):t.split(e,n):[]},$n.spread=function(t,e){if("function"!=typeof t)throw new _t(o);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=dr(n,0,e);return i&&fe(r,i),oe(t,this,r)}))},$n.tail=function(t){var e=null==t?0:t.length;return e?Gi(t,1,e):[]},$n.take=function(t,e,n){return t&&t.length?Gi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},$n.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},$n.takeRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!1,!0):[]},$n.takeWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3)):[]},$n.tap=function(t,e){return e(t),t},$n.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new _t(o);return Ya(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),xa(t,e,{leading:i,maxWait:e,trailing:r})},$n.thru=ia,$n.toArray=ns,$n.toPairs=js,$n.toPairsIn=$s,$n.toPath=function(t){return Da(t)?he(t,So):Ja(t)?[t]:vr(Eo(ls(t)))},$n.toPlainObject=ss,$n.transform=function(t,e,n){var i=Da(t),r=i||Ra(t)||Qa(t);if(e=Zr(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Ya(t)&&Ba(o)?An(Wt(t)):{}}return(r?se:ci)(t,(function(t,i,r){return e(n,t,i,r)})),n},$n.unary=function(t){return _a(t,1)},$n.union=Uo,$n.unionBy=Go,$n.unionWith=Xo,$n.uniq=function(t){return t&&t.length?Qi(t):[]},$n.uniqBy=function(t,e){return t&&t.length?Qi(t,Zr(e,2)):[]},$n.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},$n.unset=function(t,e){return null==t||tr(t,e)},$n.unzip=Vo,$n.unzipWith=qo,$n.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},$n.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},$n.values=As,$n.valuesIn=function(t){return null==t?[]:Pe(t,ws(t))},$n.without=Ko,$n.words=Bs,$n.wrap=function(t,e){return Sa(sr(e),t)},$n.xor=Zo,$n.xorBy=Jo,$n.xorWith=Qo,$n.zip=ta,$n.zipObject=function(t,e){return or(t||[],e||[],Yn)},$n.zipObjectDeep=function(t,e){return or(t||[],e||[],Wi)},$n.zipWith=ea,$n.entries=js,$n.entriesIn=$s,$n.extend=ds,$n.extendWith=us,Zs($n,$n),$n.add=sl,$n.attempt=Ws,$n.camelCase=Ms,$n.capitalize=Ps,$n.ceil=ll,$n.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Kn(as(t),e,n)},$n.clone=function(t){return Zn(t,4)},$n.cloneDeep=function(t){return Zn(t,5)},$n.cloneDeepWith=function(t,e){return Zn(t,5,e="function"==typeof e?e:void 0)},$n.cloneWith=function(t,e){return Zn(t,4,e="function"==typeof e?e:void 0)},$n.conformsTo=function(t,e){return null==e||Jn(t,e,xs(e))},$n.deburr=Ts,$n.defaultTo=function(t,e){return null==t||t!=t?e:t},$n.divide=cl,$n.endsWith=function(t,e,n){t=ls(t),e=Ji(e);var i=t.length,r=n=void 0===n?i:Kn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},$n.eq=Aa,$n.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(I,Re):t},$n.escapeRegExp=function(t){return(t=ls(t))&&X.test(t)?t.replace(G,"\\$&"):t},$n.every=function(t,e,n){var i=Da(t)?ce:ii;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},$n.find=aa,$n.findIndex=To,$n.findKey=function(t,e){return be(t,Zr(e,3),ci)},$n.findLast=sa,$n.findLastIndex=Do,$n.findLastKey=function(t,e){return be(t,Zr(e,3),di)},$n.floor=dl,$n.forEach=la,$n.forEachRight=ca,$n.forIn=function(t,e){return null==t?t:si(t,Zr(e,3),ws)},$n.forInRight=function(t,e){return null==t?t:li(t,Zr(e,3),ws)},$n.forOwn=function(t,e){return t&&ci(t,Zr(e,3))},$n.forOwnRight=function(t,e){return t&&di(t,Zr(e,3))},$n.get=gs,$n.gt=Ma,$n.gte=Pa,$n.has=function(t,e){return null!=t&&ro(t,e,gi)},$n.hasIn=_s,$n.head=No,$n.identity=Xs,$n.includes=function(t,e,n,i){t=Na(t)?t:As(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Za(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&xe(t,e,n)>-1},$n.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),xe(t,e,r)},$n.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t<sn(e,n)}(t=as(t),e,n)},$n.invoke=ys,$n.isArguments=Ta,$n.isArray=Da,$n.isArrayBuffer=La,$n.isArrayLike=Na,$n.isArrayLikeObject=Ia,$n.isBoolean=function(t){return!0===t||!1===t||Ua(t)&&fi(t)==d},$n.isBuffer=Ra,$n.isDate=Fa,$n.isElement=function(t){return Ua(t)&&1===t.nodeType&&!Va(t)},$n.isEmpty=function(t){if(null==t)return!0;if(Na(t)&&(Da(t)||"string"==typeof t||"function"==typeof t.splice||Ra(t)||Qa(t)||Ta(t)))return!t.length;var e=io(t);if(e==m||e==b)return!t.size;if(ho(t))return!Ci(t).length;for(var n in t)if(Ot.call(t,n))return!1;return!0},$n.isEqual=function(t,e){return xi(t,e)},$n.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===i?xi(t,e,void 0,n):!!i},$n.isError=za,$n.isFinite=function(t){return"number"==typeof t&&rn(t)},$n.isFunction=Ba,$n.isInteger=Wa,$n.isLength=Ha,$n.isMap=Ga,$n.isMatch=function(t,e){return t===e||wi(t,e,Qr(e))},$n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,wi(t,e,Qr(e),n)},$n.isNaN=function(t){return Xa(t)&&t!=+t},$n.isNative=function(t){if(po(t))throw new q("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oi(t)},$n.isNil=function(t){return null==t},$n.isNull=function(t){return null===t},$n.isNumber=Xa,$n.isObject=Ya,$n.isObjectLike=Ua,$n.isPlainObject=Va,$n.isRegExp=qa,$n.isSafeInteger=function(t){return Wa(t)&&t>=-9007199254740991&&t<=9007199254740991},$n.isSet=Ka,$n.isString=Za,$n.isSymbol=Ja,$n.isTypedArray=Qa,$n.isUndefined=function(t){return void 0===t},$n.isWeakMap=function(t){return Ua(t)&&io(t)==w},$n.isWeakSet=function(t){return Ua(t)&&"[object WeakSet]"==fi(t)},$n.join=function(t,e){return null==t?"":on.call(t,e)},$n.kebabCase=Ds,$n.last=zo,$n.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):ye(t,Oe,r,!0)},$n.lowerCase=Ls,$n.lowerFirst=Ns,$n.lt=ts,$n.lte=es,$n.max=function(t){return t&&t.length?ri(t,Xs,mi):void 0},$n.maxBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),mi):void 0},$n.mean=function(t){return ke(t,Xs)},$n.meanBy=function(t,e){return ke(t,Zr(e,2))},$n.min=function(t){return t&&t.length?ri(t,Xs,Si):void 0},$n.minBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),Si):void 0},$n.stubArray=ol,$n.stubFalse=al,$n.stubObject=function(){return{}},$n.stubString=function(){return""},$n.stubTrue=function(){return!0},$n.multiply=pl,$n.nth=function(t,e){return t&&t.length?Pi(t,rs(e)):void 0},$n.noConflict=function(){return Xt._===this&&(Xt._=jt),this},$n.noop=Js,$n.now=ga,$n.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Tr(tn(r),n)+t+Tr(Qe(r),n)},$n.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?t+Tr(e-i,n):t},$n.padStart=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?Tr(e-i,n)+t:t},$n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),dn(ls(t).replace(V,""),e||0)},$n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&lo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=is(t),void 0===e?(e=t,t=0):e=is(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=un();return ln(t+r*(e-t+Ht("1e-"+((r+"").length-1))),e)}return Ii(t,e)},$n.reduce=function(t,e,n){var i=Da(t)?me:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ei)},$n.reduceRight=function(t,e,n){var i=Da(t)?ge:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ni)},$n.repeat=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),Ri(ls(t),e)},$n.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},$n.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i<r;){var o=null==t?void 0:t[So(e[i])];void 0===o&&(i=r,o=n),t=Ba(o)?o.call(t):o}return t},$n.round=hl,$n.runInContext=t,$n.sample=function(t){return(Da(t)?zn:zi)(t)},$n.size=function(t){if(null==t)return 0;if(Na(t))return Za(t)?Ge(t):t.length;var e=io(t);return e==m||e==b?t.size:Ci(t).length},$n.snakeCase=Is,$n.some=function(t,e,n){var i=Da(t)?_e:Xi;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},$n.sortedIndex=function(t,e){return Vi(t,e)},$n.sortedIndexBy=function(t,e,n){return qi(t,e,Zr(n,2))},$n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Vi(t,e);if(i<n&&Aa(t[i],e))return i}return-1},$n.sortedLastIndex=function(t,e){return Vi(t,e,!0)},$n.sortedLastIndexBy=function(t,e,n){return qi(t,e,Zr(n,2),!0)},$n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Vi(t,e,!0)-1;if(Aa(t[n],e))return n}return-1},$n.startCase=Rs,$n.startsWith=function(t,e,n){return t=ls(t),n=null==n?0:Kn(rs(n),0,t.length),e=Ji(e),t.slice(n,n+e.length)==e},$n.subtract=fl,$n.sum=function(t){return t&&t.length?je(t,Xs):0},$n.sumBy=function(t,e){return t&&t.length?je(t,Zr(e,2)):0},$n.template=function(t,e,n){var i=$n.templateSettings;n&&lo(t,e,n)&&(e=void 0),t=ls(t),e=us({},e,i,Br);var r,o,a=us({},e.imports,i.imports,Br),s=xs(a),l=Pe(a,s),c=0,d=e.interpolate||dt,u="__p += '",p=mt((e.escape||dt).source+"|"+d.source+"|"+(d===W?nt:dt).source+"|"+(e.evaluate||dt).source+"|$","g"),h="//# sourceURL="+(Ot.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ft+"]")+"\n";t.replace(p,(function(e,n,i,a,s,l){return i||(i=a),u+=t.slice(c,l).replace(ut,Fe),n&&(r=!0,u+="' +\n__e("+n+") +\n'"),s&&(o=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+e.length,e})),u+="';\n";var f=Ot.call(e,"variable")&&e.variable;if(f){if(tt.test(f))throw new q("Invalid `variable` option passed into `_.template`")}else u="with (obj) {\n"+u+"\n}\n";u=(o?u.replace(T,""):u).replace(D,"$1").replace(L,"$1;"),u="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var m=Ws((function(){return pt(s,h+"return "+u).apply(void 0,l)}));if(m.source=u,za(m))throw m;return m},$n.times=function(t,e){if((t=rs(t))<1||t>9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=$e(i,e=Zr(e));++n<t;)e(n);return r},$n.toFinite=is,$n.toInteger=rs,$n.toLength=os,$n.toLower=function(t){return ls(t).toLowerCase()},$n.toNumber=as,$n.toSafeInteger=function(t){return t?Kn(rs(t),-9007199254740991,9007199254740991):0===t?t:0},$n.toString=ls,$n.toUpper=function(t){return ls(t).toUpperCase()},$n.trim=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return Ae(t);if(!t||!(e=Ji(e)))return t;var i=Xe(t),r=Xe(e);return dr(i,De(i,r),Le(i,r)+1).join("")},$n.trimEnd=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.slice(0,Ve(t)+1);if(!t||!(e=Ji(e)))return t;var i=Xe(t);return dr(i,0,Le(i,Xe(e))+1).join("")},$n.trimStart=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.replace(V,"");if(!t||!(e=Ji(e)))return t;var i=Xe(t);return dr(i,De(i,Xe(e))).join("")},$n.truncate=function(t,e){var n=30,i="...";if(Ya(e)){var r="separator"in e?e.separator:r;n="length"in e?rs(e.length):n,i="omission"in e?Ji(e.omission):i}var o=(t=ls(t)).length;if(ze(t)){var a=Xe(t);o=a.length}if(n>=o)return t;var s=n-Ge(i);if(s<1)return i;var l=a?dr(a,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),qa(r)){if(t.slice(s).search(r)){var c,d=l;for(r.global||(r=mt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;c=r.exec(d);)var u=c.index;l=l.slice(0,void 0===u?s:u)}}else if(t.indexOf(Ji(r),s)!=s){var p=l.lastIndexOf(r);p>-1&&(l=l.slice(0,p))}return l+i},$n.unescape=function(t){return(t=ls(t))&&R.test(t)?t.replace(N,qe):t},$n.uniqueId=function(t){var e=++kt;return ls(t)+e},$n.upperCase=Fs,$n.upperFirst=zs,$n.each=la,$n.eachRight=ca,$n.first=No,Zs($n,(ul={},ci($n,(function(t,e){Ot.call($n.prototype,e)||(ul[e]=t)})),ul),{chain:!1}),$n.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){$n[t].placeholder=$n})),se(["drop","take"],(function(t,e){Tn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Tn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Tn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Tn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Tn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Tn.prototype[t]=function(){return this.__filtered__?new Tn(this):this[n](1)}})),Tn.prototype.compact=function(){return this.filter(Xs)},Tn.prototype.find=function(t){return this.filter(t).head()},Tn.prototype.findLast=function(t){return this.reverse().find(t)},Tn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Tn(this):this.map((function(n){return bi(n,t,e)}))})),Tn.prototype.reject=function(t){return this.filter(Ca(Zr(t)))},Tn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Tn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Tn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Tn.prototype.toArray=function(){return this.take(4294967295)},ci(Tn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=$n[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);r&&($n.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,s=e instanceof Tn,l=a[0],c=s||Da(e),d=function(t){var e=r.apply($n,fe([t],a));return i&&u?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var u=this.__chain__,p=!!this.__actions__.length,h=o&&!u,f=s&&!p;if(!o&&c){e=f?e:new Tn(this);var m=t.apply(e,a);return m.__actions__.push({func:ia,args:[d],thisArg:void 0}),new Pn(m,u)}return h&&f?t.apply(this,a):(m=this.thru(d),h?i?m.value()[0]:m.value():m)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=vt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);$n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Da(r)?r:[],t)}return this[n]((function(n){return e.apply(Da(n)?n:[],t)}))}})),ci(Tn.prototype,(function(t,e){var n=$n[e];if(n){var i=n.name+"";Ot.call(yn,i)||(yn[i]=[]),yn[i].push({name:e,func:n})}})),yn[$r(void 0,2).name]=[{name:"wrapper",func:void 0}],Tn.prototype.clone=function(){var t=new Tn(this.__wrapped__);return t.__actions__=vr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=vr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=vr(this.__views__),t},Tn.prototype.reverse=function(){if(this.__filtered__){var t=new Tn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Tn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Da(t),i=e<0,r=n?t.length:0,o=function(t,e,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ln(e,t+a);break;case"takeRight":t=sn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,c=i?s:a-1,d=this.__iteratees__,u=d.length,p=0,h=ln(l,this.__takeCount__);if(!n||!i&&r==l&&h==l)return ir(t,this.__actions__);var f=[];t:for(;l--&&p<h;){for(var m=-1,g=t[c+=e];++m<u;){var _=d[m],v=_.iteratee,b=_.type,y=v(g);if(2==b)g=y;else if(!y){if(1==b)continue t;break t}}f[p++]=g}return f},$n.prototype.at=ra,$n.prototype.chain=function(){return na(this)},$n.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},$n.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},$n.prototype.plant=function(t){for(var e,n=this;n instanceof Mn;){var i=$o(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},$n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Tn){var e=t;return this.__actions__.length&&(e=new Tn(this)),(e=e.reverse()).__actions__.push({func:ia,args:[Yo],thisArg:void 0}),new Pn(e,this.__chain__)}return this.thru(Yo)},$n.prototype.toJSON=$n.prototype.valueOf=$n.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},$n.prototype.first=$n.prototype.head,Zt&&($n.prototype[Zt]=function(){return this}),$n}();Xt._=Ke,void 0===(r=function(){return Ke}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n(149),n(218)(t))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7),d=n(16),u=n(10),p=function(t){return/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F)+$/.test(t)};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,h=t.count,f=t.data,m=void 0===f?{}:f,g=t.disabled,_=t.icon,v=void 0===_?null:_,b=t.iconRight,y=void 0!==b&&b,x=t.id,w=t.loading,O=void 0!==w&&w,k=t.onClick,C=t.tabIndex,E=t.link,S=void 0===E?null:E,j=t.newWindow,$=void 0!==j&&j,A=t.target,M=void 0===A?"":A,P=t.text,T=t.htmlType,D=void 0===T?"button":T,L=t.value,N=t.variant,I=t.form,R=void 0===I?null:I,F=Object(s.a)(n),z=Object(s.c)(m),B=a()(function(t){var e=t.disabled,n=void 0!==e&&e,i=t.fullWidth,r=void 0!==i&&i,o=t.highlight,a=t.icon,s=t.loading,l=void 0!==s&&s,c=t.type,d=void 0===c?"inline":c,u=t.variant,h=void 0===u?"primary":u,f=t.size,m=void 0===f?null:f,g="pb_button_kit";return g+="".concat(null!==h?"_".concat(h):""),g+="".concat(null!==d?"_".concat(d):""),g+="".concat(r?"_block":""),g+=n?"_disabled":"_enabled",g+=l?"_loading":"",g+="".concat(null!==m?" size_".concat(m):""),g+="".concat("reaction"!==h||p(a)?"":" reaction_default"),g+="".concat("reaction"===h&&o?" active":"")}(t),Object(l.c)(t),o),W=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),H=r.a.createElement("span",{className:"pb_button_content"},v&&!y&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(v," fa-fw button_with_icon")}),r.a.createElement("span",null,P||i),v&&y&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(v," fa-fw button_with_icon_right")})),Y=function(){return O?r.a.createElement(r.a.Fragment,null,W):H};return r.a.createElement(r.a.Fragment,null,S?r.a.createElement("a",Object.assign({},F,z,{className:B,href:S,id:x,rel:"child"!==M?"noreferrer":null,role:"link",tabIndex:C,target:M&&S?M:$?"_blank":null}),Y()):"reaction"===N?r.a.createElement("button",Object.assign({},F,z,{className:B,disabled:g,form:R,id:x,onClick:k,role:"button",tabIndex:C,type:D,value:L}),v&&p(v)&&r.a.createElement(u.a,{align:"center"},r.a.createElement(c.a,{icon:v}),h&&r.a.createElement(d.a,{paddingLeft:"xxs",size:"xs"},h)),!p(v)&&r.a.createElement(c.a,{icon:v||"face-smile-plus"})):r.a.createElement("button",Object.assign({},F,z,{className:B,disabled:g,form:R,id:x,onClick:k,role:"button",tabIndex:C,type:D,value:L}),Y()))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var i=n(40);function r(t){return t instanceof Object(i.a)(t).Element||t instanceof Element}function o(t){return t instanceof Object(i.a)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Object(i.a)(t).ShadowRoot||t instanceof ShadowRoot)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7),d=n(42),u=n(111);e.a=function(t){var e=t.active,n=void 0!==e&&e,i=t.aria,o=void 0===i?{}:i,p=t.fontWeight,h=void 0===p?"regular":p,f=t.children,m=t.className,g=t.collapsible,_=t.data,v=void 0===_?{}:_,b=t.dark,y=void 0!==b&&b,x=t.fontSize,w=void 0===x?"normal":x,O=t.iconLeft,k=t.iconRight,C=t.onIconRightClick,E=t.onIconLeftClick,S=t.id,j=t.imageUrl,$=t.link,A=t.onClick,M=void 0===A?function(){}:A,P=t.target,T=void 0===P?"_self":P,D=t.text,L=void 0===D?"":D,N=t.collapsibleTrail,I=t.collapsed,R=$?"a":"div",F=!0===n?"active":"",z=g&&N?"collapsible_trail":"",B="small"===w?"font_size_small":"font_size_normal",W="bold"===h?"font_bold":"bolder"===h?"font_bolder":"font_regular",H=Object(s.a)(o),Y=Object(s.c)(v),U=a()(Object(s.b)("pb_nav_list_kit_item",F),g?Object(s.b)("pb_collapsible_nav_item",F,z):"",B,W,Object(l.c)(t),m),G=function(t){E&&(t.stopPropagation(),E())};return r.a.createElement("li",Object.assign({},H,Y,{className:U,id:S}),g?r.a.createElement(u.a,{icon:k||["plus","minus"],iconSize:"xs",id:S,collapsed:I,onIconClick:C,onClick:M},r.a.createElement(u.a.Main,{dark:y},r.a.createElement(R,{className:"pb_nav_list_item_link_collapsible",href:$,target:T},j&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:j,onClick:function(t){return G(t)}},r.a.createElement(d.a,{className:"pb_nav_img_wrapper",url:j})),O&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:O,onClick:function(t){return G(t)}},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:!0,icon:O})),r.a.createElement("span",{className:"pb_nav_list_item_text_collapsible"},L))),r.a.createElement(u.a.Content,null,f)):r.a.createElement(R,{className:"pb_nav_list_item_link",href:$,onClick:M,target:T},j&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:j},r.a.createElement(d.a,{className:"pb_nav_img_wrapper",url:j})),O&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:O},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:O})),r.a.createElement("span",{className:"pb_nav_list_item_text"},L||f),k&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:k},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:k}))))}},function(t,e,n){"use strict";var i;!function(r,o){t.exports?(o.default=o,t.exports=r.document?o(r):o):void 0===(i=function(){return o(r)}.call(e,n,e,t))||(t.exports=i)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n))}var n={};return e(n,"Core/Globals.js",[],(function(){var e,n=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.3",t.win=n,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,n),t.win.removeEventListener("testPassive",t.noop,n))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,i,r,o){var a=i?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var d="";s&&(c+="?"),m(o,(function(t,e){d+="\n - "+e+": "+t,s&&(c+=encodeURI(e)+"="+encodeURI(t))})),c+=d}_(t,"displayError",{chart:r,code:n,message:c,params:o},(function(){if(i)throw Error(c);y.console&&-1===e.messages.indexOf(c)&&console.warn(c)})),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function i(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function c(t){return null!=t}function d(t,e,n){var r;return i(e)?c(n)?t.setAttribute(e,n):t&&t.getAttribute&&((r=t.getAttribute(e))||"class"!==e||(r=t.getAttribute(e+"Name"))):m(e,(function(e,n){c(e)?t.setAttribute(n,e):t.removeAttribute(n)})),r}function u(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function p(){for(var t=arguments,e=t.length,n=0;n<e;n++){var i=t[n];if(null!=i)return i}}function h(e,n){t.isMS&&!t.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),u(e.style,n)}function f(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,n){for(var i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function g(e,n,i){function r(n,i){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,n,i,!1)}function o(t){var i;if(e.nodeName){if(n){var o={};o[n]=!0}else o=t;m(o,(function(e,n){if(t[n])for(i=t[n].length;i--;)r(n,t[n][i].fn)}))}}var a="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],i?(s[n]=a.filter((function(t){return i!==t.fn})),r(n,i)):(o(s),s[n]=[])):(o(s),delete a.hcEvents)}}function _(e,n,i,r){if(i=i||{},b.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=b.createEvent("Events");o.initEvent(n,!0,!0),i=u(o,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||u(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,i)&&i.preventDefault()}))}r&&!i.defaultPrevented&&r.call(e,i)}var v=t.charts,b=t.doc,y=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,i){t[i]=function(t){var r;return e(32,!1,void 0,((r={})["Highcharts."+i]="use Array."+n,r)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var w,O=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(w?"":t)+e++}}();return y.jQuery&&(y.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[i(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):v[d(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,n,i,r){void 0===r&&(r={});var o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),o[n]||(o[n]=[]),o[n].push({fn:i,order:"number"==typeof r.order?r.order:1/0}),o[n].sort((function(t,e){return t.order-e.order})),function(){g(e,n,i)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:d,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var i={};return m(e,(function(r,a){o(e[a],!0)&&!e.nodeType&&n[a]?(r=t(e[a],n[a]),Object.keys(r).length&&(i[a]=r)):(o(e[a])||e[a]!==n[a])&&(i[a]=e[a])})),i},clearTimeout:function(t){c(t)&&clearTimeout(t)},correctFloat:f,createElement:function(t,e,n,i,r){return t=b.createElement(t),e&&u(t,e),r&&h(t,{padding:"0",border:"none",margin:"0"}),n&&h(t,n),i&&i.appendChild(t),t},css:h,defined:c,destroyObjectProperties:function(t,e){m(t,(function(n,i){n&&n!==e&&n.destroy&&n.destroy(),delete t[i]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:u,extendClass:function(t,e){var n=function(){};return u(n.prototype=new t,e),n},find:x,fireEvent:_,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&c(e);){var n=t.shift();if(void 0===n||"__proto__"===n)return;if(!c(e=e[n])||"function"==typeof e||"number"==typeof e.nodeType||e===y)return}return e},getStyle:function i(r,o,a){var s=t.getStyle||i;if("width"===o)return o=Math.min(r.offsetWidth,r.scrollWidth),(a=r.getBoundingClientRect&&r.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(y.getComputedStyle||e(27,!0),r=y.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);p(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},isArray:r,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:i,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!o(n,!0)||s(n)||a(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){var o=t,a=t/(n=p(n,1));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return 0==t%1})):.1>=n&&(e=[1/n]))),i=0;i<e.length&&(o=e[i],!(r&&o*n>=t||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return f(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=b.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(y.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(y.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:p,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:g,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(t){return w=p(t,w)},wrap:function(t,e,n){var i=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,r=this;return r.proceed=function(){i.apply(r,arguments.length?arguments:e)},t.unshift(i),t=n.apply(this,t),r.proceed=null,t}}}})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,i=e.merge,r=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var i=t.Color;return i&&i!==e?new i(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var i=t.length,r=parseInt(t.substr(1),16);7===i?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=e.parsers.length;r--&&!n;){var o=e.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=i(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})),o}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?""+r[3]:"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var i=0;3>i;i++)e[i]+=r(255*t),0>e[i]&&(e[i]=0),255<e[i]&&(e[i]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,r=t.rgba;return n(i[0])&&n(r[0])?((t=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(t?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],e.None=new e(""),e}()})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,i=e.defined,r=e.error,o=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,c=e.pad,d=e.pick,u=e.splat,p=e.timeUnits,h=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),i=n-this.getTimezoneOffset(e);return e.setTime(i),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var i=this.getTimezoneOffset(e);return i=e.getTime()-i,e.setTime(i),e["setUTC"+t](n),t=this.getTimezoneOffset(e),i=e.getTime()+t,e.setTime(i)}return this.useUTC||h&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=d(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,i,r,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||f||(a-=36e5)}else a=new this.Date(t,e,d(n,1),d(i,0),d(r,0),d(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.getTimezoneOffset,o=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&i?function(t){return 6e4*i(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=d(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),u=this.get("Hours",s),p=this.get("Day",s),h=this.get("Date",s),f=this.get("Month",s),m=this.get("FullYear",s),g=t.defaultOptions.lang,_=g&&g.weekdays,v=g&&g.shortWeekdays;return s=o({a:v?v[p]:_[p].substr(0,3),A:_[p],d:c(h),e:c(h,2," "),w:p,b:g.shortMonths[f],B:g.months[f],m:c(f+1),o:f+1,y:m.toString().substr(2,2),Y:m,H:c(u),k:u,I:c(u%12||12),l:u%12||12,M:c(this.get("Minutes",s)),p:12>u?"AM":"PM",P:12>u?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(a,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,r){var a,s=this,l=[],c={},u=new s.Date(e),h=t.unitRange,f=t.count||1;if(r=d(r,1),i(e)){if(s.set("Milliseconds",u,h>=p.second?0:f*Math.floor(s.get("Milliseconds",u)/f)),h>=p.second&&s.set("Seconds",u,h>=p.minute?0:f*Math.floor(s.get("Seconds",u)/f)),h>=p.minute&&s.set("Minutes",u,h>=p.hour?0:f*Math.floor(s.get("Minutes",u)/f)),h>=p.hour&&s.set("Hours",u,h>=p.day?0:f*Math.floor(s.get("Hours",u)/f)),h>=p.day&&s.set("Date",u,h>=p.month?1:Math.max(1,f*Math.floor(s.get("Date",u)/f))),h>=p.month){s.set("Month",u,h>=p.year?0:f*Math.floor(s.get("Month",u)/f));var m=s.get("FullYear",u)}h>=p.year&&s.set("FullYear",u,m-m%f),h===p.week&&(m=s.get("Day",u),s.set("Date",u,s.get("Date",u)-m+r+(m<r?-7:0))),m=s.get("FullYear",u),r=s.get("Month",u);var g=s.get("Date",u),_=s.get("Hours",u);for(e=u.getTime(),!s.variableTimezone&&s.useUTC||!i(n)||(a=n-e>4*p.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=u.getTime(),u=1;e<n;)l.push(e),e=h===p.year?s.makeTime(m+u*f,0):h===p.month?s.makeTime(m,r+u*f):!a||h!==p.day&&h!==p.week?a&&h===p.hour&&1<f?s.makeTime(m,r,g,_+u*f):e+h*f:s.makeTime(m,r,g+u*f*(h===p.day?1:7)),u++;l.push(e),h<=p.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return l.info=o(t,{higherRanks:c,totalRange:h*f}),l},e.prototype.getDateFormat=function(t,e,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(p[s]>t){s=a;break}if(o[s]&&r.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var l=this.resolveDTLFormat(i[s]).main;return l},e}()})),e(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){e=e.parse;var a=o.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.parse,r=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,i=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var r=0;r<t.length;r++){for(var a=e[r],s=t[r],l=[],c=0;c<s.length;c++){var d=a[c],u=s[c];o(d)&&o(u)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=d+n*(u-d):l[c]=u}i.push(l)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},t.prototype.run=function(e,n,i){var o=this,a=o.options,s=function(t){return!s.stopped&&o.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(c)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=i,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l(c)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,i=this.elem,r=n.complete,o=n.duration,s=n.curAnim;if(i.attr&&!i.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&r&&r.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function i(t,e){for(;t.length<p;){var n=t[0],i=e[p-t.length];i&&"M"===n[0]&&(t[0]="C"===i[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function r(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/c)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,c=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var d=t;break}if(a[0]===s[s.length-a.length+t]){d=t;var u=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){d=a.length-t;break}}void 0===d&&(e=[])}if(e.length&&o(d)){var p=n.length+d*c;u?(i(e,n),r(n,e)):(i(n,e),r(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function i(e,n){for(var i=t.timers.length;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}var r=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,c=e.merge,d=e.objectEach,u=e.pick;return{animate:function(e,n,r){var u,p,h,f="";if(!l(r)){var m=arguments;r={duration:m[2],easing:m[3],complete:m[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(n),d(n,(function(s,l){i(e,l),h=new t(e,r,l),p=void 0,"d"===l&&a(n.d)?(h.paths=h.initPath(e,e.pathArray,n.d),h.toD=n.d,u=0,p=1):e.attr?u=e.attr(l):(u=parseFloat(o(e,l))||0,"opacity"!==l&&(f="px")),p||(p=s),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),h.run(u,p,f)}))},animObject:n,getDeferredAnimation:function(t,e,i){var o=n(e),a=0,s=0;return(i?[i]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&r(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=u(t,e.options.chart.animation,!0)},stop:i}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,i=e.attr,r=e.createElement,o=e.error,a=e.isFunction,s=e.isString,l=e.objectEach,c=e.splat,d=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),u=d?d.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(u,"text/html")}catch(t){p=!1}return a=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,(function(n,i){var r=!0;-1===e.allowedAttributes.indexOf(i)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(r=s(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),r||(o("Highcharts warning: Invalid attribute '"+i+"' in config"),delete t[i])})),t},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(r){return function r(a,s){var d;return c(a).forEach((function(a){var c=a.tagName,u=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(c)if("#text"===c)var p=u;else if(-1!==e.allowedTags.indexOf(c)){c=t.doc.createElementNS("svg"===c?n:s.namespaceURI||n,c);var h=a.attributes||{};l(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(h[e]=t)})),i(c,e.filterUserAttributes(h)),u&&c.appendChild(u),r(a.children||[],c),p=c}else o("Highcharts warning: Invalid tagName "+c+" in config");p&&s.appendChild(p),d=p})),d}(this.nodes,r)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),p)t=(new DOMParser).parseFromString(d?d.createHTML(t):t,"text/html");else{var n=r("div");n.innerHTML=t,t={body:n}}var i=function(t,e){var n=t.nodeName.toLowerCase(),r={tagName:n};if("#text"===n&&(r.textContent=t.textContent||""),n=t.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),r.attributes=o}if(t.childNodes.length){var a=[];[].forEach.call(t.childNodes,(function(t){i(t,a)})),a.length&&(r.children=a)}e.push(r)};return[].forEach.call(t.body.childNodes,(function(t){return i(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=u,e}()})),e(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,r){t=+t||0,e=+e;var o=i.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),u=e;if(-1===e)e=Math.min(c,20);else if(a(e)){if(e&&d[1]&&0>d[1]){var p=e+ +d[1];0<=p?(d[0]=(+d[0]).toExponential(p).split("e")[0],e=p):(d[0]=d[0].split(".")[0]||0,t=20>e?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)}}else e=2;p=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var h=3<(c=String(l(p))).length?c.length%3:0;return n=s(n,o.decimalPoint),r=s(r,o.thousandsSep),t=(0>t?"-":"")+(h?c.substr(0,h)+r:""),t=0>+d[1]&&!u?"0":t+c.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=n+p.slice(-e)),d[1]&&0!=+t&&(t+="e"+d[1]),t}var i=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,d=/\.([0-9])/,u=i.lang,p=a&&a.time||r;a=a&&a.numberFormatter||n;for(var h=[];t;){var f=t.indexOf(s);if(-1===f)break;var m=t.slice(0,f);if(l){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"==typeof s)if(m=m.join(":"),c.test(m)){var g=parseInt((m.match(d)||["","-1"])[1],10);null!==s&&(s=a(s,g,u.decimalPoint,-1<m.indexOf(",")?u.thousandsSep:""))}else s=p.dateFormat(m,s);h.push(s)}else h.push(m);t=t.slice(f+1),s=(l=!l)?"}":"{"}return h.push(t),h.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,i=t.pick,r=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,l=e,c=l.reducedLen||o,d=function(t,e){return(e.rank||0)-(t.rank||0)},u=function(t,e){return t.target-e.target},p=!0,h=[],f=0;for(s=e.length;s--;)f+=e[s].size;if(f>c){for(r(e,d),f=s=0;f<=c;)f+=e[s].size,s++;h=e.splice(s-1,e.length)}for(r(e,u),e=e.map((function(t){return{size:t.size,targets:[t.target],align:i(t.align,.5)}}));p;){for(s=e.length;s--;)c=e[s],d=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(d-c.size*c.align,0,o-c.size);for(s=e.length,p=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),p=!0)}return l.push.apply(l,h),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)}))})),r(l,u),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=t.animate,a=t.animObject,s=t.stop,l=i.deg2rad,c=i.doc,d=i.noop,u=i.svg,p=i.SVG_NS,h=i.win,f=r.addEvent,m=r.attr,g=r.createElement,_=r.css,v=r.defined,b=r.erase,y=r.extend,x=r.fireEvent,w=r.isArray,O=r.isFunction,k=r.isNumber,C=r.isString,E=r.merge,S=r.objectEach,j=r.pick,$=r.pInt,A=r.syncTimeout,M=r.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=j(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var i,r,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||C(n))&&(this.alignTo=i=n||"renderer",b(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=j(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s),i=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===i?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(t.width||0))/r),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var i=this,r=a(j(e,this.renderer.globalAnimation,!0));return e=r.defer,j(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),A((function(){i.element&&o(i,t,r)}),e)):(this.attr(t,void 0,n),S(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&i.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var r=c.createElementNS(p,"tspan");m(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),r.appendChild(e)}));var o=c.createElementNS(p,"tspan");o.textContent="​",["x","y"].forEach((function(t){var n=e.getAttribute(t);n&&o.setAttribute(t,n)})),r.appendChild(o),e.insertBefore(r,e.firstChild)}},t.prototype.attr=function(t,e,n,i){var r,o,a,l=this.element,c=this.symbolCustomAttribs,d=this;if("string"==typeof t&&void 0!==e){var u=t;(t={})[u]=e}return"string"==typeof t?d=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(S(t,(function(e,n){o=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))}),this),this.afterSetters()),n&&n.call(this),d},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,i){var r,o,a,s,l,c,d,u,p,h,f,m=this.renderer,g=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=m.gradients,c=t.stops,p=i.radialReference,w(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&p&&!v(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(p,s),{gradientUnits:"userSpaceOnUse"})),S(a,(function(t,e){"id"!==e&&g.push(e,t)})),S(c,(function(t){g.push(t)})),g=g.join(","),l[g])h=l[g].attr("id");else{a.id=h=M();var _=l[g]=m.createElement(o).attr(a).add(m.defs);_.radAttr=s,_.stops=[],c.forEach((function(t){0===t[1].indexOf("rgba")?(r=n.parse(t[1]),d=r.get("rgb"),u=r.get("a")):(d=t[1],u=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":d,"stop-opacity":u}).add(_),_.stops.push(t)}))}f="url("+m.url+"#"+h+")",i.setAttribute(e,f),i.gradient=g,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,n={},i=this.element,r=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&S(t,(function(t,i){e&&e[i]!==t&&(n[i]=t,a=!0)})),a){if(e&&(t=y(e,n)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&t.width)var s=this.textWidth=$(t.width);if(this.styles=t,s&&!u&&this.renderer.forExport&&delete t.width,i.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};S(t,(function(t,e){-1===r.indexOf(e)&&(o+=e.replace(/([A-Z])/g,l)+":"+t+";")})),o&&m(i,"style",o)}else _(i,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+$(n[t])*j(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,i=e.ownerSVGElement,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&i){var o=t.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(i=0;i<t.stops.length;i++)t.stops[i].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&b(n.alignedObjects,t),S(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var n=t.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)n.appendChild(t[0]);n.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,n){w(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:j(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var i=this.renderer,r=this.element,o=this.styles,a=this.textStr,s=i.cache,c=i.cacheKeys,d=r.namespaceURI===this.SVG_NS;n=j(n,this.rotation,0);var u,p=i.styledMode?r&&t.prototype.getStyle.call(r,"font-size"):o&&o.fontSize;if(v(a)){var h=a.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",n,p,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(h&&!e&&(u=s[h]),!u){if(d||i.forExport){try{var f=this.fakeTS&&function(t){var e=r.querySelector(".highcharts-text-outline");e&&_(e,{display:t})};O(f)&&f("none"),u=r.getBBox?y({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},O(f)&&f("")}catch(t){}(!u||0>u.width)&&(u={width:0,height:0})}else u=this.htmlGetBBox();if(i.isSVG&&(e=u.width,i=u.height,d&&(u.height=i={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(i)]||i),n&&(d=n*l,u.width=Math.abs(i*Math.sin(d))+Math.abs(e*Math.cos(d)),u.height=Math.abs(i*Math.cos(d))+Math.abs(e*Math.sin(d)))),h&&(""===a||0<u.height)){for(;250<c.length;)delete s[c.shift()];s[h]||c.push(h),s[h]=u}}return u},t.prototype.getStyle=function(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(C(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,n){var i=this.element,r=this.text?this.text.element:i,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,l=!s;n=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=e.filterUserAttributes(n.attributes);if(t&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var u=s.element;if((n=t.element.getAttribute("id"))||t.element.setAttribute("id",n=M()),l)for(r.setAttribute("y",0),k(c.dx)&&r.setAttribute("x",-c.dx),t=[].slice.call(r.childNodes),l=0;l<t.length;l++){var p=t[l];p.nodeType!==h.Node.TEXT_NODE&&"tspan"!==p.nodeName||u.appendChild(p)}a&&s&&s.add({element:r}),u.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),v(c.dy)&&(u.parentNode.setAttribute("dy",c.dy),delete c.dy),v(c.dx)&&(u.parentNode.setAttribute("dx",c.dx),delete c.dx),S(c,(function(t,e){u.setAttribute(o[e]||e,t)})),i.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(i,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,n){var i,r=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?i=s:"object"==typeof t&&(i=y(s,t)),i&&(i&&a&&S(i,(function(t,e){t!==a[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=i),i){if(!this.shadows){var c=i.opacity/i.width,d=this.parentInverted?"translate("+i.offsetY+", "+i.offsetX+")":"translate("+i.offsetX+", "+i.offsetY+")";for(s=1;s<=i.width;s++){var u=o.cloneNode(!1),p=2*i.width+1-2*s;m(u,{stroke:t.color||"#000000","stroke-opacity":c*s,"stroke-width":p,transform:d,fill:"none"}),u.setAttribute("class",(u.getAttribute("class")||"")+" highcharts-shadow"),n&&(m(u,"height",Math.max(m(u,"height")-p,0)),u.cutHeight=p),e?e.element.appendChild(u):o.parentNode&&o.parentNode.insertBefore(u,o),r.push(u)}this.shadows=r}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,n,i){this[n]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===e&&this.hasStroke?(i.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=$(t);else if(""!==t){var n=c.createElementNS(p,"rect");m(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=j(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(j(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,i=this.rotation,r=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],v(r)&&a.push("matrix("+r.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):i&&a.push("rotate("+i+" "+j(this.rotationOriginX,o.getAttribute("x"),0)+" "+j(this.rotationOriginY,o.getAttribute("y")||0)+")"),(v(t)||v(e))&&a.push("scale("+j(t,1)+" "+j(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element;n=r===n.box;var a,s=!1,l=this.added;if(v(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):v(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!s;a--){l=(i=e[a]).getAttribute("data-z-index");var c=!v(l);i!==o&&(0>t&&c&&!n&&!a?(r.insertBefore(o,e[a]),s=!0):($(l)<=t||c&&(!v(t)||0<=t))&&(r.insertBefore(o,e[a+1]||null),s=!0))}s||(r.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(i,r,o){e.rendererTypes[i]=r,n&&!o||(n=i,t.Renderer=r)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,i,r,o,a,s,l,d,u){var p,h=e.call(this)||this;return h.paddingLeftSetter=h.paddingSetter,h.paddingRightSetter=h.paddingSetter,h.init(t,"g"),h.textStr=n,h.x=i,h.y=r,h.anchorX=a,h.anchorY=s,h.baseline=d,h.className=u,h.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&h.addClass("highcharts-"+u),h.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((p=/^url\((.*?)\)$/.test(o))||h.renderer.symbols[o])&&(h.symbolKey=o),h.bBox=c.emptyBBox,h.padding=3,h.baselineOffset=0,h.needsBox=t.styledMode||p,h.deferredAttr={},h.alignFactor=0,h}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var i="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():i&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:i(t)?t:"",x:this.x,y:this.y}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),e.x=n,e.y=(this.baseline?-this.baselineOffset:0)+n,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,i,o){var s=[];if(o){var l=o.start||0,c=a(o.r,n);n=a(o.r,i||n);var d=(o.end||0)-.001;i=o.innerR;var u=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),p=Math.cos(l),h=Math.sin(l),f=Math.cos(d),m=Math.sin(d);l=a(o.longArc,.001>d-l-Math.PI?0:1),s.push(["M",t+c*p,e+n*h],["A",c,n,0,l,a(o.clockwise,1),t+c*f,e+n*m]),r(i)&&s.push(u?["M",t+i*f,e+i*m]:["L",t+i*f,e+i*m],["A",i,i,0,l,r(o.clockwise)?1-o.clockwise:0,t+i*p,e+i*h]),u||s.push(["Z"])}return s}function n(t,e,n,r,o){return o&&o.r?i(t,e,n,r,o):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function i(t,e,n,i,r){return[["M",t+(r=r&&r.r||0),e],["L",t+n-r,e],["C",t+n,e,t+n,e,t+n,e+r],["L",t+n,e+i-r],["C",t+n,e+i,t+n,e+i,t+n-r,e+i],["L",t+r,e+i],["C",t,e+i,t,e+i,t,e+i-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,r,a){var s=Math.min(a&&a.r||0,n,r),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var d=i(t,e,n,r,{r:s});return o(c)?(t+c>=n?a>e+l&&a<e+r-l?d.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+r-s]):d.splice(3,1,["L",t+n,r/2],["L",c,a],["L",t+n,r/2],["L",t+n,e+r-s]):0>=t+c?a>e+l&&a<e+r-l?d.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):d.splice(7,1,["L",t,r/2],["L",c,a],["L",t,r/2],["L",t,e+s]):a&&a>r&&c>t+l&&c<t+n-l?d.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+s,e+r]):a&&0>a&&c>t+l&&c<t+n-l&&d.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",n-s,e]),d):d},circle:function(t,n,i,r){return e(t+i/2,n+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:n,roundedRect:i,square:n,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.doc,r=e.SVG_NS,o=e.win,a=n.attr,s=n.isString,l=n.objectEach,c=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,r=e.renderer,o=c(e.textStr,"").toString(),a=-1!==o.indexOf("<"),l=n.childNodes;r=this.width&&!e.added&&r.box;var d=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==e.textCache){for(e.textCache=d,delete e.actualWidth,d=l.length;d--;)n.removeChild(l[d]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(r&&r.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,i){t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(t,o){var c=t.textContent||"",d=c.replace(/([^\^])-/g,"$1- ").split(" "),u=!e.noWrap&&(1<d.length||1<n.element.childNodes.length),p=e.getLineHeight(o),h=0,f=n.actualWidth;if(e.ellipsis)c&&e.truncate(t,c,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(u){for(c=[],u=[];o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;d.length;)d.length&&!e.noWrap&&0<h&&(c.push(t.textContent||""),t.textContent=d.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,d,0===h&&f||0,l,(function(t,e){return d.slice(0,e).join(" ").replace(/- /g,"-")})),f=n.actualWidth,h++;u.forEach((function(e){o.insertBefore(e,t)})),c.forEach((function(e){o.insertBefore(i.createTextNode(e),t),(e=i.createElementNS(r,"tspan")).textContent="​",a(e,{dy:p,x:s}),o.insertBefore(e,t)}))}},d=function(t){[].slice.call(t.childNodes).forEach((function(e){e.nodeType===o.Node.TEXT_NODE?c(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),d(e))}))};d(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,n=function(i,r){var o=i.attributes;o=void 0===o?{}:o;var a=i.children,l=i.tagName,c=e.renderer.styledMode;"b"===l||"strong"===l?c?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==l&&"em"!==l||(c?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(o.class="highcharts-br",i.textContent="​",(r=t[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&a&&a.some((function(t){return"#text"===t.tagName}))&&(i.children=[{children:a,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(i.tagName="tspan"),i.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)};t.forEach(n)},e.prototype.truncate=function(t,e,n,i,r,o){var a,s=this.svgElement,l=s.renderer,c=s.rotation,d=[],u=n?1:0,p=(e||n||"").length,h=p,f=function(r,a){a=a||r;var c=t.parentNode;if(c&&void 0===d[a])if(c.getSubStringLength)try{d[a]=i+c.getSubStringLength(0,n?a+1:a)}catch(t){}else l.getSpanWidth&&(t.textContent=o(e||n,r),d[a]=i+l.getSpanWidth(s,t));return d[a]};s.rotation=0;var m=f(t.textContent.length);if(i+m>r){for(;u<=p;)h=Math.ceil((u+p)/2),n&&(a=o(n,h)),m=f(h,a&&a.length-1),u===p?u=p+1:m>r?p=h-1:u=h;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=a||o(e||n,h))}n&&n.splice(0,h),s.actualWidth=m,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return l(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))})),t},e}()})),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c,d=n.charts,u=n.deg2rad,p=n.doc,h=n.isFirefox,f=n.isMS,m=n.isWebKit,g=n.noop,_=n.SVG_NS,v=n.symbolSizes,b=n.win,y=l.addEvent,x=l.attr,w=l.createElement,O=l.css,k=l.defined,C=l.destroyObjectProperties,E=l.extend,S=l.isArray,j=l.isNumber,$=l.isObject,A=l.isString,M=l.merge,P=l.pick,T=l.pInt,D=l.uniqueKey;return n=function(){function n(t,e,n,i,r,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,i,r,o,a)}return n.prototype.init=function(t,e,n,i,r,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(i)),t.appendChild(c),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),h&&t.getBoundingClientRect&&((e=function(){O(t,{left:0,top:0}),s=t.getBoundingClientRect(),O(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=y(b,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((h||m)&&p.getElementsByTagName("base").length){if(!k(c)){var e=D();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),O(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=p.elementFromPoint(6,6);c="hitme"===(n&&n.id),p.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},n.prototype.button=function(e,n,i,r,o,a,s,l,c,d){var u=this.label(e,n,i,c,void 0,void 0,d,void 0,"button"),p=this.styledMode,h=0,m=o?M(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),u.attr(M({padding:8,r:2},m)),!p){var g=(m=M({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var _=(a=M(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var v=(s=M(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var b=(l=M(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||{}))).style;delete l.style}return y(u.element,f?"mouseover":"mouseenter",(function(){3!==h&&u.setState(1)})),y(u.element,f?"mouseout":"mouseleave",(function(){3!==h&&u.setState(h)})),u.setState=function(t){1!==t&&(u.state=h=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),p||u.attr([m,a,s,l][t||0]).css([g,_,v,b][t||0])},p||u.attr(m).css(E({cursor:"default"},g)),u.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==h&&r.call(u,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var i=t[0],r=t[1];return k(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-e%2/2),k(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return S(t)?e.d=t:$(t)&&E(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=$(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,i,r,o){return $(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},n.prototype.rect=function(t,e,n,i,r,o){r=$(t)?t.r:r;var a=this.createElement("rect");return t=$(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,n){a.r=t,x(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,i,r,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};j(e)&&(a.x=e),j(n)&&(a.y=n),j(i)&&(a.width=i),j(r)&&(a.height=r);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new b.Image,y(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,i,r,o){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),u=!c&&(this.symbols[t]?t:"circle"),h=u&&this.symbols[u];if(h){"number"==typeof e&&(a=h.call(this.symbols,Math.round(e||0),Math.round(n||0),i||0,r||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),E(f,{symbolName:u||void 0,x:e,y:n,width:i,height:r}),o&&E(f,o)}else if(c){var m=t.match(l)[1],g=f=this.image(m);g.imgwidth=P(v[m]&&v[m].width,o&&o.width),g.imgheight=P(v[m]&&v[m].height,o&&o.height);var _=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){var n=this["img"+e];this[e]=t,k(n)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,n),this.alignByTranslate||(t=((this[e]||0)-n)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),k(e)&&g.attr({x:e,y:n}),g.isImg=!0,k(g.imgwidth)&&k(g.imgheight)?_(g):(g.attr({width:0,height:0}),w("img",{onload:function(){var t=d[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),v[m]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&_(g),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,i){var r=D()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),n&&(r.y=Math.round(n)),k(t)&&(r.text=t),t=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a<r.length;a++)(i=r[a]).getAttribute(e)===o&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!b.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?T(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*u),4)),{x:-t/3*Math.sin(e*u),y:i}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)A(n[0])&&j(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,i,r,a,s,l,c){return new o(this,t,e,n,i,r,a,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),E(n.prototype,{Element:r,SVG_NS:_,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:g}),i.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,d=n.extend,u=n.pick,p=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,i=t.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=u(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var i=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=d(this.styles,t),l(this.element,t),i&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],d=this.styles;if(d=d&&d.whiteSpace,l(e,{marginLeft:n,marginTop:i}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:i+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var u=this.rotation,h=this.textWidth&&p(this.textWidth),f=[u,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,h!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:d||"nowrap"}),g=e.offsetWidth;(h>this.oldTextWidth||g>h)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>h||u?h+"px":"auto",display:"block",whiteSpace:d||"normal"}),this.oldTextWidth=h,m=!0)}this.hasBoxWidthChanged=m,f!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!c(u)||u===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(u,s,m),this.getSpanCorrection(!c(u)&&this.textPxLength||e.offsetWidth,m,s,u,a)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=u,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var i={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;c&&(i[c]=i.transform="rotate("+t+"deg)",i[c+(r?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",l(this.element,i))},e.composedClasses=[],e}(e)})),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.attr,a=i.createElement,s=i.extend,l=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.compose=function(t){return-1===i.composedClasses.indexOf(t)&&(i.composedClasses.push(t),t.prototype.html=i.prototype.html),t},i.prototype.html=function(n,i,r){var c=this.createElement("span"),d=c.element,u=c.renderer,p=u.isSVG,h=function(t,n){["opacity","visibility"].forEach((function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}})),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},p&&h(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),u.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),d.style.whiteSpace="nowrap",c.css=c.htmlCss,p&&(c.add=function(t){var e=u.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function r(e,n){t[n]=e,"translateX"===n?u.left=e+"px":u.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),d=t.styles||{},u=(i=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:d.cursor,pointerEvents:d.pointerEvents,visibility:t.visibility},i||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||h(t)}))}}else i=e;return i.appendChild(d),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},i.composedClasses=[],i}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.isFunction,r=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.deg2rad,r=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,d=n.isNumber,u=n.merge,p=n.objectEach,h=n.pick;return e=function(){function e(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,i=n.options,r=n.chart,s=n.categories,u=n.logarithmic,p=n.names,f=e.pos,m=h(e.options&&e.options.labels,i.labels),g=n.tickPositions,_=f===g[0],v=f===g[g.length-1],b=(!m.step||1===m.step)&&1===n.tickInterval;g=g.info;var y,x=e.label;if(s=this.parameters.category||(s?h(s[f],p[f],f):f),u&&d(s)&&(s=o(u.lin2log(s))),n.dateTime)if(g)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&g.higherRanks[f]||g.unitName]),O=w.main;else d(s)&&(O=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));e.isFirst=_,e.isLast=v;var k={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:_,isLast:v,pos:f,tick:e,tickPositionInfo:g,value:s};c(this,"labelFormat",k);var C=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=n.defaultLabelFormatter.call(e),t.format(m.format,e,r)):n.defaultLabelFormatter.call(e,e)};i=C.call(k,k);var E=w&&w.list;e.shortenLabel=E?function(){for(y=0;y<E.length;y++)if(l(k,{dateTimeLabelFormat:E[y]}),x.attr({text:C.call(k,k)}),x.getBBox().width<n.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,b&&n._addedPlotLB&&e.moveLabel(i,m),a(x)||e.movedLabel?x&&x.textStr!==i&&!b&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:i}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},i,m),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var i=this.axis,r=i.chart;return(t=a(e)&&n.enabled?r.renderer.text(e,t.x,t.y,n.useHTML).add(i.labelGroup):null)&&(r.styledMode||t.css(u(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,i){var a=this.axis,s=a.chart,l=i&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+n,null,null,i)+a.transB):a.left+a.offset+(a.opposite?(i&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):o(l-a.translate(e+n,null,null,i)-a.transB)}).y=r(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,r,o,s,l,d){var u=this.axis,p=u.transA,h=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,f=u.staggerLines,m=u.tickRotCorr||{x:0,y:0},g=r||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),_={},v=o.y;return a(v)||(v=0===u.side?n.rotation?-8:-n.getBBox().height:2===u.side?m.y+8:Math.cos(n.rotation*i)*(m.y-n.getBBox(!1,0).height/2)),t=t+o.x+g+m.x-(s&&r?s*p*(h?-1:1):0),e=e+v-(s&&!r?s*p*(h?1:-1):0),f&&(n=l/(d||1)%f,u.opposite&&(n=f-n-1),e+=u.labelOffset/f*n),_.x=t,_.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:_,tickmarkOffset:s,index:l}),_},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,i,r,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,r=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=h(e.labelLeft,Math.min(e.pos,a[3]));a=h(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var l,c=this.label,d=this.rotation,u={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],p=c.getBBox().width,f=e.getSlotWidth(this),m={},g=f,_=1;d||"justify"!==n.overflow?0>d&&r-u*p<s?l=Math.round(r/Math.cos(d*i)-s):0<d&&r+u*p>a&&(l=Math.round((o-r)/Math.cos(d*i))):(o=r+(1-u)*p,r-u*p<s?g=t.x+g*(1-u)-s:o>a&&(g=a-t.x+g*u,_=-1),(g=Math.min(f,g))<f&&"center"===e.labelAlign&&(t.x+=_*(f-g-u*(f-Math.min(p,g)))),(p>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},e.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=n.axis,o=r.reversed,a=!1;if(i&&i.textStr===t?(n.movedLabel=i,a=!0,delete n.label):p(r.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,n.movedLabel=n.createLabel({x:i,y:r},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=h(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var s=o.y;i=r&&a===i.pos+i.len||!r&&s===i.pos?-1:1,r=h(n,this.label&&this.label.newOpacity,1),n=h(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,r,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o={},a=this.pos,s=this.type,l=h(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,d=this.gridLine,u=r.gridLineWidth,p=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,p=r.minorGridLineColor,f=r.minorGridLineDashStyle),d||(i.chart.styledMode||(o.stroke=p,o["stroke-width"]=u||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=d=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),d&&(n=i.getPlotLinePath({value:a+l,lineWidth:d.strokeWidth()*n,force:"pass",old:t}))&&d[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=i.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=h(r["minor"!==a?"tickWidth":"minorTickWidth"],!a&&i.isXAxis?1:0);r=r["minor"!==a?"tickColor":"minorTickColor"];var d=this.mark,u=!d;s&&(i.opposite&&(s[0]=-s[0]),d||(this.mark=d=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||d.attr({stroke:r,"stroke-width":c})),d[u?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],d.strokeWidth()*n,i.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,c=l.step;r=h(this.tickmarkOffset,r.tickmarkOffset);var u=t.x;t=t.y;var p=!0;s&&d(u)&&(s.xy=t=this.getLabelPosition(u,t,s,o,l,r,i,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?p=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(p=!1),p&&d(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=t.animObject,c=i.defaultOptions,d=r.registerEventOptions,u=o.deg2rad,p=s.arrayMax,h=s.arrayMin,f=s.clamp,m=s.correctFloat,g=s.defined,_=s.destroyObjectProperties,v=s.erase,b=s.error,y=s.extend,x=s.fireEvent,w=s.getMagnitude,O=s.isArray,k=s.isNumber,C=s.isString,E=s.merge,S=s.normalizeTickInterval,j=s.objectEach,$=s.pick,A=s.relativeLength,M=s.removeEvent,P=s.splat,T=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=$(e.opposite,this.opposite),this.side=$(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var i=this.options,r=i.labels,o=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=$(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===o||!0===i.categories,this.categories=i.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=$(i.crosshair,P(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(r.rotation)?r.rotation:void 0,d(this,i),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(c[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=k(this.value)?this.value:NaN,i=e.chart.time,r=this.dateTimeLabelFormat,o=c.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var d=""+this.value;else if(r)d=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===d;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(d=t(n/e,-1)+a[l]);return void 0===d&&(d=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),d},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;k(a)||a instanceof Date||(r=r.filter(k),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min($(e.dataMin,a),a),e.dataMax=Math.max($(e.dataMax,s),s))}}else i=i.applyExtremes(),k(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min($(e.dataMin,a),a)),k(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max($(e.dataMax,s),s)),g(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=i&&a.old?a.old.min:a.min,l=a.minPixelPadding;r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val;var c=1,d=0;return(i=i&&a.old?a.old.transA:a.transA)||(i=a.transA),n&&(c*=-1,d=a.len),a.reversed&&(d-=(c*=-1)*(a.sector||a.len)),e?(t=(t*c+d-l)/i+s,r&&(t=a.lin2val(t))):(r&&(t=a.val2lin(t)),t=k(s)?c*(t-s)*i+d+c*l+(k(o)?i*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==b&&t<e||t>n)&&(b?t=f(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,c=s.left,d=s.top,u=t.old,p=t.value,h=t.lineWidth,m=u&&l.oldChartHeight||l.chartHeight,g=u&&l.oldChartWidth||l.chartWidth,_=s.transB,v=t.translatedValue,b=t.force;return t={value:p,lineWidth:h,old:u,force:b,acrossPanes:t.acrossPanes,translatedValue:v},x(this,"getPlotLinePath",t,(function(t){v=$(v,s.translate(p,null,null,u)),v=f(v,-1e5,1e5),n=r=Math.round(v+_),i=o=Math.round(m-v-_),k(v)?s.horiz?(i=d,o=m-s.bottom,n=r=e(n,c,c+s.width)):(n=c,r=g-s.right,i=o=e(i,d,d+s.height)):(a=!0,b=!1),t.path=a&&!b?null:l.renderer.crispLine([["M",n,i],["L",r,o]],h||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=m(Math.floor(e/t)*t);n=m(Math.ceil(n/t)*t);var r,o=[];if(m(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=m(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?$(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r,a=[];if(o&&o/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,i){e&&a.push.apply(a,s.getLogTickPositions(n,i[e-1],i[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,i,t.startOfWeek));else for(t=r+(e[0]-r)%n;t<=i&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,i,r=this.options,o=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!o&&(g(r.min)||g(r.max)||g(r.floor)||g(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,i=r.xIncrement?1:n.length-1,1<n.length)for(t=i;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,u=(d-s+a)/2;u=[a-u,$(r.min,a-u)],c&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=p(u))+d,$(r.max,a+d)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=h(s))-a<d&&(u[0]=s-d,u[1]=$(r.min,s-d),a=p(u))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,i=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(n)&&i&&(t=g(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=O(this.categories),n=e?this.categories:this.names,i=t.options.x;if(t.series.requireSorting=!1,g(i)||(i=this.options.uniqueNames?e?n.indexOf(t.name):$(n.keys[t.name],-1):t.series.autoIncrement()),-1===i){if(!e)var r=n.length}else r=i;return void 0!==r&&(this.names[r]=t.name,this.names.keys[t.name]=r),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){if(n&&n.options&&void 0!==n.name){var r=t.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,e.xData[i]=r)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,i=!!t.categories,r=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,l=t.transA;if(r||i||o){var c=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=i?1:r?$(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;o=Math.max(o,n),t.single&&!i||(e=e.is("xrange")?!r:r,a=Math.max(a,e&&C(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(o,t.single&&i?1:e),r&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,i=this.options,r=this.isXAxis,o=this.isLinked,a=i.tickPixelInterval,s=this.categories,l=this.softThreshold,c=i.maxPadding,d=i.minPadding,u=k(i.tickInterval)&&0<=i.tickInterval?i.tickInterval:void 0,p=k(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var h=$(this.userMin,i.min),f=$(this.userMax,i.max);if(o){this.linkedParent=e[this.coll][i.linkedTo];var _=this.linkedParent.getExtremes();this.min=$(_.min,_.dataMin),this.max=$(_.max,_.dataMax),i.type!==this.linkedParent.options.type&&b(11,1,e)}else{if(l&&g(p))if(this.dataMin>=p)_=p,d=0;else if(this.dataMax<=p){var v=p;c=0}this.min=$(h,_,this.dataMin),this.max=$(f,v,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,$(this.dataMin,this.min))&&b(10,1,e),this.min=m(n.log2lin(this.min),16),this.max=m(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=h=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(h)&&d&&(this.min-=e*d),!g(f)&&c&&(this.max+=e*c)),k(this.userMin)||(k(i.softMin)&&i.softMin<this.min&&(this.min=h=i.softMin),k(i.floor)&&(this.min=Math.max(this.min,i.floor))),k(this.userMax)||(k(i.softMax)&&i.softMax>this.max&&(this.max=f=i.softMax),k(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&g(this.dataMin)&&(p=p||0,!g(h)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!g(f)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),k(this.min)&&k(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!u&&a===this.linkedParent.options.tickPixelInterval?u=this.linkedParent.tickInterval:$(u,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),r&&!t){var y=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(y)})),x(this,"postProcessData",{hasExtemesChanged:y})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!u&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=$(i.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!u&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||u||(this.tickInterval=S(this.tickInterval,void 0,w(this.tickInterval),$(i.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),i=this.hasVerticalPanning(),r="colorAxis"===this.coll,o=(r||!i)&&t.startOnTick;i=(r||!i)&&t.endOnTick,r=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(n=[this.min,this.max],b(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,o,i),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&g(i)&&!this.options.tickPositions&&t.push((r+i)/2)}},t.prototype.alignToOthers=function(){var t,e={},n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(n){var i=n.options;i=[n.horiz?i.left:i.top,i.width,i.height,i.pane].join(),n.series.length&&(e[i]?t=!0:e[i]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!g(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,n=this.tickPositions,i=this.tickAmount,r=this.finalTickAmt,o=n&&n.length,a=$(this.threshold,this.softThreshold?0:null);if(this.hasData()&&k(this.min)&&k(this.max)){if(o<i){for(;n.length<i;)n.length%2||this.min===a?n.push(m(n[n.length-1]+e)):n.unshift(m(n[0]-e));this.transA*=(o-1)/(i-1),this.min=t.startOnTick?n[0]:Math.min(this.min,n[0]),this.max=t.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else o>i&&(this.tickInterval*=2,this.setTickPositions());if(g(r)){for(e=t=n.length;e--;)(3===r&&1==e%2||2>=r&&0<e&&e<t-1)&&n.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,i,r){var o=this,a=o.chart;n=$(n,!0),o.series.forEach((function(t){delete t.kdTree})),r=y(r,{min:t,max:e}),x(o,"setExtremes",r,(function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)}))},t.prototype.zoom=function(t,e){var n=this,i=this.dataMin,r=this.dataMax,o=this.options,a=Math.min(i,$(o.min,i)),s=Math.max(r,$(o.max,r));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===n.min&&o===n.max||(n.allowZoomOutside||(g(i)&&(e<a&&(e=a),e>s&&(e=s)),g(r)&&(o<a&&(o=a),o>s&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(A($(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(A($(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(A($(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A($(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=($(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=$(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=e["tick"===t?"tickLength":"minorTickLength"];if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return x(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n=this.options.labels,i=this.horiz,r=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/r),a=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*r>l&&1/0!==t&&1/0!==o&&l&&(e=Math.ceil(l/r)),m(e*r)},d=r,p=Number.MAX_VALUE;if(i){if(!n.staggerLines&&!n.step)if(k(a))var h=[a];else o<n.autoRotationLimit&&(h=n.autoRotation);h&&h.forEach((function(n){if(n===a||n&&-90<=n&&90>=n){var i=(e=c(Math.abs(s.h/Math.sin(u*n))))+Math.abs(n/360);i<p&&(p=i,t=n,d=e)}}))}else n.step||(d=c(s.h));return this.autoRotation=h,this.labelRotation=$(t,k(a)?a:0),d},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&k(t.slotWidth))return t.slotWidth;if(n&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(t=i.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},d=this.labelMetrics(),u=o.textOverflow,p=0;if(C(r.rotation)||(c.rotation=r.rotation||0),n.forEach((function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>d.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var h=l;if(!u){var f="clip";for(l=n.length;!a&&l--;){var m=n[l];(m=i[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/n.length-(d.h-d.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(h=p>.5*t.chartHeight?.33*t.chartHeight:p,u||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():h&&!n&&"nowrap"!==o.whiteSpace&&(h<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=h+"px",u||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)}),this),this.tickRotCorr=e.rotCorr(d.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,i=e.horiz,r=e.options,o=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,c=e.axisParent,d=n.renderer,u=n.inverted&&!e.isZAxis?[1,0,3,2][o]:o,p=e.hasData(),h=r.title,f=r.labels,m=n.axisOffset;n=n.clipOffset;var _,v=[-1,1,1,-1][o],b=r.className,y=0,w=0,O=0;if(e.showAxis=_=p||r.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var k=function(e,n,i){return d.g(e).attr({zIndex:i}).addClass("highcharts-"+l.toLowerCase()+n+" "+(t.isRadial?"highcharts-radial-axis"+n+" ":"")+(b||"")).add(c)};e.gridGroup=k("grid","-grid",r.gridZIndex),e.axisGroup=k("axis","",r.zIndex),e.labelGroup=k("axis-labels","-labels",f.zIndex)}if(p||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,$(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){O=Math.max(a[t].getLabelSize(),O)})),e.staggerLines&&(O*=e.staggerLines),e.labelOffset=O*(e.opposite?-1:1)):j(a,(function(t,e){t.destroy(),delete a[e]})),h&&h.text&&!1!==h.enabled&&(e.addTitle(_),_&&!1!==h.reserveSpace)){e.titleOffset=y=e.axisTitle.getBBox()[i?"height":"width"];var C=h.offset;w=g(C)?0:$(h.margin,i?5:10)}e.renderLine(),e.offset=v*$(r.offset,m[o]?m[o]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},h=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,p=Math.abs(O)+w,O&&(p=p-h+v*(i?$(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=$(C,p),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(i=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+y+v*e.offset,p,s&&s.length&&i?i[0]+v*e.offset:0),r=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],r)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i;return i=e.chartHeight-this.bottom-(n?this.height:0)+i,n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?i:this.top],["L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x,c=r.y,d=this.axisTitle,u=this.chart.renderer.fontMetrics(r.style.fontSize,d);return d=Math.max(d.getBBox(null,0).height-u.h-1,0),i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-d,d,u.f,-d][this.side],t={x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+c-(a?this.height:0)+s:i+c},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var i=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new a(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,i=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,d=n.tickPositions,u=n.axisTitle,p=n.ticks,h=n.minorTicks,f=n.alternateBands,m=s.stackLabels,g=s.alternateGridColor,_=n.tickmarkOffset,v=n.axisLine,b=n.showAxis,y=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,h,f].forEach((function(t){j(t,(function(t){t.isActive=!1}))})),n.hasData()||c){var w=n.chart.hasRendered&&n.old&&k(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,w)})),d.length&&(d.forEach((function(t,e){n.renderTick(t,e,w)})),_&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new a(n,-1,null,!0)),p[-1].render(-1))),g&&d.forEach((function(a,s){e=void 0!==d[s+1]?d[s+1]+_:n.max-_,0==s%2&&a<n.max&&e<=n.max+(i.polar?-_:_)&&(f[a]||(f[a]=new o.PlotLineOrBand(n)),t=a+_,f[a].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},f[a].render(),f[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[p,h,f].forEach((function(t){var e=[],n=y.duration;j(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),T((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==f&&i.hasRendered&&n?n:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[b?"show":"hide"](b)),u&&b&&(s=n.getTitlePosition(),k(s.y)?(u[u.isNew?"attr":"animate"](s),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0)),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){_(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();j(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i},t.prototype.drawCrosshair=function(t,e){var i,r=this.crosshair,o=$(r&&r.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),r&&!1!==(g(e)||!o)){if(o?g(e)&&(i=$("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(i)){var l={value:e&&(this.isXAxis?e.x:$(e.stackY,e.y)),translatedValue:i};a.polar&&y(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(r.className||"")).attr({zIndex:$(r.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:r.color||(o?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":$(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),o&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return k(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,$(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);v(e.axes,this),v(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,$(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=o[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=o[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+o[n[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=r(t/s,l,"year"===e[0]?Math.max(i(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis;return n.closestPointRange?n.chart.time.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new l(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,a){var s=this.axis,l=s.len,c=s.options,d=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),d=s.getLinearTickPositions(t,e,n);else if(.08<=t){var u,p=Math.floor(e),h=c=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<n+1&&!h;p++){var f=l.length;for(u=0;u<f&&!h;u++){var m=this.log2lin(this.lin2log(p)*l[u]);m>e&&(!a||c<=n)&&void 0!==c&&d.push(c),c>n&&(h=!0),c=m}}}else e=this.lin2log(e),n=this.lin2log(n),t=a?s.getMinorTickInterval():c.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,c.tickPixelInterval/(a?5:1)*(n-e)/((a?l/s.tickPositions.length:l)||1)),t=r(t,void 0,i(t)),d=s.getLinearTickPositions(t,e,n).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),d},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,i=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),i(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&i){if(e){var s=t.toString()===i.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],d=i[e],u=i[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==u[0]&&"L"!==u[0]||(a&&d[1]===l[1]?(d[1]+=n,u[1]+=n):a||d[2]!==l[2]||(d[2]+=n,u[2]+=n),o.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",u[1],u[2]],["L",d[1],d[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var i=this,r=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),n){var a=r[n]||[];a.push(t),r[n]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,i=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,c=e.objectEach,d=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,i=e.logarithmic,o=t.options,a=o.color,u=d(o.zIndex,0),p=o.events,h={},f=e.chart.renderer,m=o.label,g=t.label,_=o.to,v=o.from,b=o.value,y=t.svgElem,x=[],w=r(v)&&r(_);x=r(b);var O=!y,k={class:"highcharts-plot-"+(w?"band ":"line ")+(o.className||"")},C=w?"bands":"lines";if(i&&(v=i.log2lin(v),_=i.log2lin(_),b=i.log2lin(b)),e.chart.styledMode||(x?(k.stroke=a||"#999999",k["stroke-width"]=d(o.width,1),o.dashStyle&&(k.dashstyle=o.dashStyle)):w&&(k.fill=a||"#e6ebf5",o.borderWidth&&(k.stroke=o.borderColor,k["stroke-width"]=o.borderWidth))),h.zIndex=u,C+="-"+u,(i=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=i=f.g("plot-"+C).attr(h).add()),O&&(t.svgElem=y=f.path().attr(k).add(i)),x)x=e.getPlotLinePath({value:b,lineWidth:y.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!w)return;x=e.getPlotBandPath(v,_,o)}return!t.eventsAdded&&p&&(c(p,(function(e,n){y.on(n,(function(e){p[n].apply(t,[e])}))})),t.eventsAdded=!0),(O||!y.d)&&x&&x.length?y.attr({d:x}):y&&(x?(y.show(!0),y.animate({d:x})):y.d&&(y.hide(),g&&(t.label=g=g.destroy()))),m&&(r(m.text)||r(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=l({align:n&&w&&"center",x:n?!w&&4:10,verticalAlign:!n&&w&&"middle",y:n?w?16:10:w?6:-4,rotation:n&&!w&&90},m),this.renderLabel(m,x,w,u)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,r,o){var a=this.axis,s=a.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],r=i(o),s=i(e),c.align(t,!1,{x:r,y:s,width:n(o)-r,height:n(e)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?a.height-(c.alignAttr.y-a.top):a.width-(c.alignAttr.x-a.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=t.format,a=e.doc,s=n.distribute,l=r.addEvent,c=r.clamp,d=r.css,u=r.defined,p=r.discardElement,h=r.extend,f=r.fireEvent,m=r.isArray,g=r.isNumber,_=r.isString,v=r.merge,b=r.pick,y=r.splat,x=r.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||y(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n,i,r=this.chart,o=r.pointer,a=r.inverted,s=r.plotTop,l=r.plotLeft,c=0,d=0;return t=y(t),this.followPointer&&e?(void 0===e.chartX&&(e=o.normalize(e)),o=[e.chartX-l,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){n=t.series.yAxis,i=t.series.xAxis,c+=t.plotX||0,d+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,i&&n&&(a?(c+=s+r.plotHeight-i.len-i.pos,d+=l+r.plotWidth-n.len-n.pos):(c+=i.pos-l,d+=n.pos-s))})),c/=t.length,d/=t.length,o=[a?r.plotWidth-d:c,a?r.plotHeight-c:d],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-l:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,n=this,r=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(u(o.className)?" "+o.className:""),c=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),p=function(){n.inContact=!0},h=function(t){var e=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!n.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(n.label){var m=!n.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&n.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var g=i.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",d(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),l(t,"mouseenter",p),l(t,"mouseleave",h),e.doc.body.appendChild(t),this.renderer=f=new g(t,0,0,m,void 0,void 0,f.styledMode)}if(a?this.label=f.g(s):(this.label=f.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:c}).shadow(o.shadow)),r&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var _=this.label,v=_.xSetter,b=_.ySetter;_.xSetter=function(e){v.call(_,n.distance),t.style.left=e+"px"},_.ySetter=function(e){b.call(_,n.distance),t.style.top=e+"px"}}this.label.on("mouseenter",p).on("mouseleave",h).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var i,r=this.chart,o=this.distance,s={},l=r.inverted&&n.h||0,c=this.outside,d=c?a.documentElement.clientWidth-2*o:r.chartWidth,u=c?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):r.chartHeight,p=r.pointer.getChartPosition(),h=function(i){var a="x"===i;return[i,a?d:u,a?t:e].concat(c?[a?t*p.scaleX:e*p.scaleY,a?p.left-o+(n.plotX+r.plotLeft)*p.scaleX:p.top-o+(n.plotY+r.plotTop)*p.scaleY,0,a?d:u]:[a?t:e,a?n.plotX+r.plotLeft:n.plotY+r.plotTop,a?r.plotLeft:r.plotTop,a?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=h("y"),m=h("x");h=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(h=!h);var g=!this.followPointer&&b(n.ttBelow,!r.inverted===h),_=function(t,e,n,i,r,a,d){var u=c?"y"===t?o*p.scaleY:o*p.scaleX:o,h=(n-i)/2,f=i<r-o,m=r+o+i<e,_=r-u-n+h;if(r=r+u-h,g&&m)s[t]=r;else if(!g&&f)s[t]=_;else if(f)s[t]=Math.min(d-i,0>_-l?_:_-l);else{if(!m)return!1;s[t]=Math.max(a,r+l+n>e?r:r+l)}},v=function(t,e,n,i,r){var a;return r<o||r>e-o?a=!1:s[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2,a},y=function(t){var e=f;f=m,m=e,i=t},x=function(){!1!==_.apply(0,f)?!1!==v.apply(0,m)||i||(y(!0),x()):i?s.x=s.y=0:(y(!0),x())};return(r.inverted||1<this.len)&&y(),x(),s},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=b(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=b(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,n,i){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=o.followPointer||1<o.len;h(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+i)/2:i}),o.getLabel().attr(a),o.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,n,i)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,i=this.options,o=y(t),a=o[0],s=[],l=i.formatter||this.defaultFormatter,c=this.shared,d=n.styledMode,u={};if(i.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var p=(t=this.getAnchor(t,e))[0],h=t[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(u={x:a.category,y:a.y}).points=s):u=a.getLabelConfig(),this.len=s.length,l=l.call(u,this),c=a.series,this.distance=b(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,o);else{var g=p,_=h;if(e&&n.pointer.isDirectTouch&&(g=e.chartX-n.plotLeft,_=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(g,_)})))return void this.hide();e=this.getLabel(),i.style.width&&!d||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+b(a.colorIndex,c.colorIndex)),d||e.attr({stroke:i.borderColor||a.color||c.color||"#666666"}),this.updatePosition({plotX:p,plotY:h,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,r,o){return void 0===o&&(o=!0),n?(e=$?0:T,t=c(t-r/2,E.left,E.right-r-(i.outside?A:0))):(e-=M,t=c(t=o?t-r-O:t+O,o?t:E.left,E.right)),{x:t,y:e}}var i=this,r=i.chart,o=i.chart,l=o.chartWidth,d=o.chartHeight,u=o.plotHeight,p=o.plotLeft,f=o.plotTop,m=o.pointer,g=o.scrollablePixelsY;g=void 0===g?0:g;var v=o.scrollablePixelsX,y=o.scrollingContainer,x=(y=void 0===y?{scrollLeft:0,scrollTop:0}:y).scrollLeft;y=y.scrollTop;var w=o.styledMode,O=i.distance,k=i.options,C=i.options.positioner,E=i.outside&&"number"!=typeof v?a.documentElement.getBoundingClientRect():{left:x,right:x+l,top:y,bottom:y+d},S=i.getLabel(),j=this.renderer||r.renderer,$=!(!r.xAxis[0]||!r.xAxis[0].opposite),A=(r=m.getChartPosition()).left;r=r.top;var M=f+y,P=0,T=u-g;_(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,r,o){if(!1!==r&&""!==r){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:u,series:{}}).isHeader,s=a?i:o.series;r=r.toString();var l=s.tt,d=o.isHeader,h=o.series,m="highcharts-color-"+b(o.colorIndex,h.colorIndex,"none");if(l||(l={padding:k.padding,r:k.borderRadius},w||(l.fill=k.backgroundColor,l["stroke-width"]=k.borderWidth),l=j.label("",0,0,k[d?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(l).add(S)),l.isActive=!0,l.attr({text:r}),w||l.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||o.color||h.color||"#333333"}),r=(d=(s=s.tt=l).getBBox()).width+s.strokeWidth(),a&&(P=d.height,T+=P,$&&(M-=P)),h=void 0===(h=o.plotX)?0:h,m=void 0===(m=o.plotY)?0:m,l=o.series,o.isHeader){h=p+h;var g=f+u/2}else{var _=l.xAxis,v=l.yAxis;h=_.pos+c(h,-O,_.len+O),l.shouldShowTooltip(0,v.pos-f+m,{ignoreX:!0})&&(g=v.pos+m)}h=c(h,E.left-O,E.right+O),"number"==typeof g?(d=d.height+1,m=C?C.call(i,r,d,o):n(h,g,a,r),t.push({align:C?0:void 0,anchorX:h,anchorY:g,boxWidth:r,point:o,rank:b(m.rank,a?1:0),size:d,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(i.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return h(t,{target:e.y,x:e.x})}))),i.cleanSplit(),s(t,T);var D=A,L=A;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(i.outside&&A+e<D&&(D=A+e),!t&&i.outside&&D+n>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:r+M,anchorX:n,anchorY:t.anchorY},i.outside&&e<n){var a=A-D;0<a&&(o||(r.x=e+a,r.anchorX=n+a),o&&(r.x=(L-D)/2,r.anchorX=n+a))}t.tt.attr(r)})),t=i.container,g=i.renderer,i.outside&&t&&g&&(o=S.getBBox(),g.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=D+"px",t.style.top=r+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var i={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,i.x=Math.min(0,n[0]),i.y=Math.min(0,n[1]),i.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,i=n.tooltipOptions,r=n.xAxis,a=r&&r.dateTime;r={isFooter:e,labelConfig:t};var s=i.xDateFormat,l=i[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",r,(function(e){a&&!s&&g(t.key)&&(s=a.getXDateFormat(t.key,i.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)})),r.text},t.prototype.update=function(t){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,v(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,i=e.pointer,r=this.getLabel();i=i.getChartPosition();var o=(n.positioner||this.getPosition).call(this,r.width,r.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(r.width+n,r.height+n,!1),1===i.scaleX&&1===i.scaleY||(d(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),a*=i.scaleX,t*=i.scaleY),a+=i.left-o.x,t+=i.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=e.animObject,a=n.defaultOptions,s=i.format,l=r.addEvent,c=r.defined,d=r.erase,u=r.extend,p=r.fireEvent,h=r.getNestedProperty,f=r.isArray,m=r.isFunction,g=r.isNumber,_=r.isObject,v=r.merge,b=r.objectEach,y=r.pick,x=r.syncTimeout,w=r.removeEvent,O=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(u({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return t=e.prototype.optionsToObject.call(this,t),u(this,t),this.options=this.options?u(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=y(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:g(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[r]=null}var e=this,n=e.series,i=n.chart;n=n.options.dataSorting;var r,a=i.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),a&&(e.setState(),d(a,e),a.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),i.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&i.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(i,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,i=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelUpper","connector"),e=i.length;e--;){var o=i[e];n[o]&&r.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var i=e+"s";t[e]&&n[i]&&r.plural.push(i)})),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?h(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,i=0;for(n=e[i];this[t]>=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:O(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a={},s=0,l=0;if(g(t)||null===t)a[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<o;)i&&void 0===t[s]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],r[l]):a[r[l]]=t[s]),s++,l++;else"object"==typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var i=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(i=t.color),e=t.colorIndex;this.colorIndex=y(this.options.colorIndex,e),this.color=y(this.options.color,i)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,i,r){return t[n]=r.length-1===i?e:_(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,i=y(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,i){function r(){a.applyOptions(t);var i=l&&a.hasDummyGraphic;i=null===a.y?!i:i,l&&i&&(a.graphic=l.destroy(),delete a.hasDummyGraphic),_(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),d.data[o]=_(d.data[o],!0)||_(t,!0)?a.options:y(t,d.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===d.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(n)}var o,a=this,s=a.series,l=a.graphic,c=s.chart,d=s.options;e=y(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,i=n.series,r=i.chart;this.selectedStaging=t=y(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=v(t.series.options.point,t.options).events;t.events=e,b(e,(function(e,n){m(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var i,r=this.series,o=this.state,s=r.options.states[e||"normal"]||{},l=a.plotOptions[r.type].marker&&r.options.marker,c=l&&!1===l.enabled,d=l&&l.states&&l.states[e||"normal"]||{},h=!1===d.enabled,f=this.marker||{},m=r.chart,_=l&&r.markerAttribs,v=r.halo,b=r.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(h||c&&!1===d.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,_&&(i=r.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=r.pointAttribs(this,e),w=y(m.options.chart.animation,s.animation);r.options.inactiveOtherPoints&&g(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},w)})),this.connector&&this.connector.animate({opacity:x.opacity},w)),this.graphic.animate(x,w)}i&&this.graphic.animate(i,y(m.options.chart.animation,d.animation,l.animation)),b&&b.hide()}else e&&d&&(o=f.symbol||r.symbol,b&&b.currentSymbol!==o&&(b=b.destroy()),i&&(b?b[n?"animate":"attr"]({x:i.x,y:i.y}):o&&(r.stateMarkerGraphic=b=m.renderer.symbol(o,i.x,i.y,i.width,i.height).add(r.markerGroup),b.currentSymbol=o)),!m.styledMode&&b&&"inactive"!==this.state&&b.attr(r.pointAttribs(this,e))),b&&(b[e&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));s=s.halo,i=(b=this.graphic||b)&&b.visibility||"inherit",s&&s.size&&b&&"hidden"!==i&&!this.isCluster?(v||(r.halo=v=m.renderer.path().add(b.parentGroup)),v.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),v.attr({class:"highcharts-halo highcharts-color-"+y(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),v.point=this,m.styledMode||v.attr(u({fill:this.color||r.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),p(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=e.charts,a=e.noop,s=i.addEvent,l=i.attr,c=i.css,d=i.defined,u=i.extend,p=i.find,h=i.fireEvent,f=i.isNumber,m=i.isObject,g=i.objectEach,_=i.offset,v=i.pick,b=i.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),g(n,(function(t,e){n[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,i=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,l=e.plotWidth,c=e.plotHeight,d=this.mouseDownX||0,u=this.mouseDownY||0,p=m(n.panning)?n.panning&&n.panning.enabled:n.panning,h=n.panKey&&t[n.panKey+"Key"],f=t.chartX,g=t.chartY,_=this.selectionMarker;if((!_||!_.touch)&&(f<a?f=a:f>a+l&&(f=a+l),g<s?g=s:g>s+c&&(g=s+c),this.hasDragged=Math.sqrt(Math.pow(d-f,2)+Math.pow(u-g,2)),10<this.hasDragged)){var v=e.isInsidePlot(d-a,u-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!v||h||_||(this.selectionMarker=_=e.renderer.rect(a,s,i?1:l,o?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||_.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),_&&i&&(i=f-d,_.attr({width:Math.abs(i),x:(0<i?0:i)+d})),_&&o&&(i=g-u,_.attr({height:Math.abs(i),y:(0<i?0:i)+u})),v&&!_&&p&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,o=r.attr?r.attr("x"):r.x,a=r.attr?r.attr("y"):r.y,s=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,p={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:l},m=!!n.mapView;(this.hasDragged||i)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&d(n.min)&&(i||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&f(o)&&f(a)){var r=n.horiz,c="touchend"===t.type?n.minPixelPadding:0,u=n.toValue((r?o:a)+c);r=n.toValue((r?o+s:a+l)-c),p[n.coll].push({axis:n,min:Math.min(u,r),max:Math.max(u,r)}),m=!0}})),m&&h(n,"selection",p,(function(t){n.zoom(u(t,i?{animation:!1}:null))}))),f(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),i&&this.scaleGroups()}n&&f(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var i,r=this.chart,o=r.hoverPoint;return r=r.tooltip,o&&r&&r.isStickyOnContact()?o:(t.forEach((function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=m(t,!0)&&t.series)&&!(r=!m(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)})),i)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=t.shapeArgs;if(i&&n){var o=v(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,a=r.y),e?{chartX:n.len+n.pos-a,chartY:i.len+i.pos-o}:{chartX:o+i.pos,chartY:a+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=_(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,i,r,o){var a=[];i=!(!i||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};h(this,"beforeGetHoverData",s);var l=e&&!e.stickyTracking?[e]:n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking})),c=i||!o?t:this.findNearestKDPoint(l,r,o);return e=c&&c.series,c&&(r&&!e.noSharedTooltip?(l=n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=p(t.points,(function(t){return t.x===c.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(c)),h(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,i=n?n.length?n.item(0):v(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=i.pageX-e.left,i=i.pageY-e.top,n/=e.scaleX,i/=e.scaleY,u(t,{chartX:Math.round(n),chartY:Math.round(i)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var i=e.plotLeft,r=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(h(n.series,"click",u(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(u(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r,{visiblePlotOnly:!0})&&h(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=o[v(t.hoverChartIndex,-1)],i=this.chart.tooltip;i&&i.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=o[v(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var i=e.tooltip;!n||i&&i.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=o[v(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,i=e.pinchDown,r=t.touches||[],o=r.length,s=e.lastValidTouch,l=e.hasZoom,c={},d=1===o&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),p={},f=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!d&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(r,(function(t,e){i[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],i=t.minPixelPadding,r=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),a=Math.max(r,o);e.min=Math.min(t.pos,Math.min(r,o)-i),e.max=Math.max(t.pos+t.len,a+i)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):i.length&&(h(n,"touchpan",{originalEvent:t},(function(){f||(e.selectionMarker=f=u({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(i,r,c,f,p,s),e.hasPinched=l,e.scaleGroups(c,p)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},t.prototype.pinchTranslateDirection=function(t,e,n,i,r,o,a,s){var l=this.chart,c=t?"x":"y",d=t?"X":"Y",u="chart"+d,p=t?"width":"height",h=l["plot"+(t?"Left":"Top")],f=l.inverted,m=l.bounds[t?"h":"v"],g=1===e.length,_=e[0][u],v=!g&&e[1][u];e=function(){"number"==typeof O&&20<Math.abs(_-v)&&(x=s||Math.abs(w-O)/Math.abs(_-v)),y=(h-w)/x+_,b=l["plot"+(t?"Width":"Height")]/x};var b,y,x=s||1,w=n[0][u],O=!g&&n[1][u];if(e(),(n=y)<m.min){n=m.min;var k=!0}else n+b>m.max&&(n=m.max-b,k=!0);k?(w-=.8*(w-a[c][0]),"number"==typeof O&&(O-=.8*(O-a[c][1])),e()):a[c]=[w,O],f||(o[c]=y-h,o[p]=b),o=f?1/x:x,r[p]=b,r[c]=n,i[f?t?"scaleY":"scaleX":"scale"+d]=x,i["translate"+d]=o*h+(w-o*_)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&b(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&b(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var i=this.chart,r=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!r&&r.shared,l=n||i.hoverPoint,c=l&&l.series||i.hoverSeries;l=(n=this.getHoverData(l,c,i.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e)).hoverPoint,c=n.hoverSeries;var d=n.hoverPoints;if(n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,a=a&&c&&!c.noSharedTooltip,l&&(l!==i.hoverPoint||r&&r.isHidden)){if((i.hoverPoints||[]).forEach((function(t){-1===d.indexOf(t)&&t.setState()})),i.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach((function(t){t.setState("hover")})),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=d,i.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(a?d:l,e)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],e),i.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(i.container.ownerDocument,"mousemove",(function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach((function(t){var n,r=v((t.crosshair||{}).snap,!0);r&&((n=i.hoverPoint)&&n.series[t.coll]===t||(n=p(d,(function(e){return e.series[t.coll]===t})))),n||!r?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(i){var r=t||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(e?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,i=e.charts[v(t.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var i=n.zoomType||"";/touch/.test(t.type)&&(i=v(n.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}()})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function i(){var t=[];return t.item=function(t){return this[t]},p(f,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(t,n,r,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:r,target:t.currentTarget,preventDefault:l,touches:i()}))}var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,d=n.addEvent,u=n.css,p=n.objectEach,h=n.removeEvent,f={},m=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(h),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&u(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete f[t.pointerId]}))},n.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(d)},n}(e)})),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){var a=t.animObject,s=t.setAnimation,l=e.format;t=n.isFirefox;var c=n.marginNames;n=n.win;var d=r.distribute,u=o.addEvent,p=o.createElement,h=o.css,f=o.defined,m=o.discardElement,g=o.find,_=o.fireEvent,v=o.isNumber,b=o.merge,y=o.pick,x=o.relativeLength,w=o.stableSort,O=o.syncTimeout;return r=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),u(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=u(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=y(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=y(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,y(e,!0)&&n.redraw(),_(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),o.attr(c))}_(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,i=n.symbolPadding,r=!n.rtl,o=t._legendItemPos;n=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(i={translateX:r?n:this.legendWidth-n-2*i-4,translateY:o},r=function(){_(e,"afterPositionItem",{item:t})},f(s.translateY)?s.animate(i,void 0,r):(s.attr(i),r())),a&&(a.x=n,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach((function(r){var o=r.checkbox;if(o){var a=i+n+o.y+(this.scrollOffset||0)+3;h(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>i-6&&a<i+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,n=e.renderer,i=this.options,r=this.symbolWidth,o=i.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===i.layout?y(i.itemDistance,20):0,c=!i.rtl,d=!t.series,u=!d&&t.series.drawLegendSymbol?t.series:t,p=u.options,h=this.createCheckboxForItem&&p&&p.showCheckbox,f=i.useHTML,m=t.options.className,g=t.legendItem;p=r+o+l+(h?20:0),g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+u.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",c?r+o:-o,this.baseline||0,f),e.styledMode||g.css(b(t.visible?a:s)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(e.styledMode?12:a.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,i.squareSymbol&&(this.symbolWidth=y(i.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+o+l+(h?20:0),c&&g.attr("x",this.symbolWidth+o))),u.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,f)),h&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||g.css({width:(i.itemWidth||this.widthOption||e.spacingBox.width)-p+"px"}),this.setText(t),e=g.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=i.itemWidth||t.legendItemWidth||e.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*n?e.height:n))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=i?y(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&y(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))})),_(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(r)&&!f(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+y(i.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=g(o?i.points:i.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),o=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var a=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=a-.3*o):r=a+i.yAxis.height,e.push({target:r,size:o,item:i})}}),this),d(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,i=this.padding,r=this.getAllItems(),o=this.group,a=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(n.width,t.spacingBox.width-i);var s=t.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(r,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:r,height:l},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),_(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(i-=e.titleOffset[2]),i!==t.y&&(t=b(t,{y:i})),this.group.align(b(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,i=this,r=this.chart,o=r.renderer,a=this.options,s=a.y,l="top"===a.verticalAlign,c=this.padding,d=a.maxHeight,u=a.navigation,p=y(u.animation,!0),h=u.arrowSize||12,f=this.pages,m=this.allItems,g=function(t){"number"==typeof t?b.attr({height:t}):b&&(i.clipRect=b.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},_=function(t){return i[t]=o.circle(0,0,1.3*h).translate(h/2,h/2).add(v),r.styledMode||i[t].attr("fill","rgba(0,0,0,0.0001)"),i[t]};s=r.spacingBox.height+(l?-s:s)-c;var v=this.nav,b=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),d&&(s=Math.min(s,d)),f.length=0,t&&0<s&&t>s&&!1!==u.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-c,0),this.currentPage=y(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,i){var r=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=f.length;(!a||r-f[a-1]>e&&(n||r)!==f[a-1])&&(f.push(n||r),a++),t.pageIx=a-1,n&&(m[i-1].pageIx=a-1),i===m.length-1&&r+o-f[a-1]>e&&o<=e&&(f.push(r),t.pageIx=a),r!==n&&(n=r)})),b||(b=i.clipRect=o.clipRect(0,c,9999,0),i.contentGroup.clip(b)),g(e),v||(this.nav=v=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,h,h).add(v),_("upTracker").on("click",(function(){i.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(u.style),this.pager.add(v),this.down=o.symbol("triangle-down",0,0,h,h).add(v),_("downTracker").on("click",(function(){i.scroll(1,p)}))),i.scroll(0),t=s):v&&(g(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,i=this.chart,r=this.pages,o=r.length,l=this.clipHeight,c=this.options.navigation,d=this.pager,u=this.padding,p=this.currentPage+t;p>o&&(p=o),0<p&&(void 0!==e&&s(e,i),this.nav.attr({translateX:u,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),d.attr({text:p+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:p===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===p?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===o?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:p===o?"default":"pointer"})),this.scrollOffset=-r[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),t=a(y(e,i.renderer.globalAnimation,!0)),O((function(){_(n,"afterScroll",{currentPage:p})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var r=this,o=r.chart.renderer.boxWrapper,a=t instanceof i,s="highcharts-legend-"+(a?"point":"series")+"-active",l=r.chart.styledMode,c=function(e){r.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(n?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&o.addClass(s),l||e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||e.css(b(t.visible?r.itemStyle:r.itemHiddenStyle)),c(""),o.removeClass(s),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):_(t,"legendItemClick",e,n)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),u(t.checkbox,"click",(function(e){_(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||t)&&r(o.prototype,"positionItem",(function(t,e){var n=this,i=function(){e._legendItemPos&&t.call(n,e)};i(),n.bubbleLegend||setTimeout(i)})),o})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=i.error,s=i.extendClass,l=i.merge;return function(e){function i(t,i){var r=o.plotOptions||{},a=i.defaultOptions;i.prototype.pointClass||(i.prototype.pointClass=n),i.prototype.type=t,a&&(r[t]=a),e.seriesTypes[t]=i}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,n){void 0===n&&(n={});var i=t.options.chart;i=n.type||i.type||i.defaultSeriesType||"";var r=e.seriesTypes[i];return e||a(17,!0,t,{missingModuleFor:i}),"function"==typeof(i=new r).init&&i.init(t,n),i},e.registerSeriesType=i,e.seriesType=function(t,r,a,c,d){var u=o.plotOptions||{};return r=r||"",u[t]=l(u[r],a),i(t,s(e.seriesTypes[r]||function(){},c)),e.seriesTypes[t].prototype.type=t,d&&(e.seriesTypes[t].prototype.pointClass=s(n,d)),e.seriesTypes[t]}}(r||(r={})),r})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(t,e,n,i,r,o,a,s,l,c,d,u,p,h,f){var m=t.animate,g=t.animObject,_=t.setAnimation,v=n.numberFormat,b=i.registerEventOptions,y=r.charts,x=r.doc,w=r.marginNames,O=r.svg,k=r.win,C=s.defaultOptions,E=s.defaultTime,S=d.seriesTypes,j=h.addEvent,$=h.attr,A=h.cleanRecursively,M=h.createElement,P=h.css,T=h.defined,D=h.discardElement,L=h.erase,N=h.error,I=h.extend,R=h.find,F=h.fireEvent,z=h.getStyle,B=h.isArray,W=h.isNumber,H=h.isObject,Y=h.isString,U=h.merge,G=h.objectEach,X=h.pick,V=h.pInt,q=h.relativeLength,K=h.removeEvent,Z=h.splat,J=h.syncTimeout,Q=h.uniqueKey;return t=function(){function t(t,e,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,n)}return t.chart=function(e,n,i){return new t(e,n,i)},t.prototype.getArgs=function(t,e,n){Y(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};F(this,"init",{args:arguments},(function(){var i=U(C,t),o=i.chart;G(i.plotOptions,(function(t,e){H(t)&&(t.tooltip=n[e]&&U(n[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):r.time,this.numberFormatter=o.numberFormatter||v,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=y.length,y.push(this),r.chartCount++,b(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=S[e];return n||N(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var i=this.inverted,r=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var d=n.series;if(r=n.visiblePlotOnly&&s||r,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0},!n.ignoreX){var u=d&&(i?d.yAxis:d.xAxis)||{pos:o,len:1/0};(s=n.paneCoordinates?u.pos+s:o+s)>=Math.max(l+o,u.pos)&&s<=Math.min(l+o+r.width,u.pos+u.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(i=d&&(i?d.xAxis:d.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?i.pos+e:a+e)>=Math.max(c+a,i.pos)&&n<=Math.min(c+a+r.height,i.pos+i.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,d=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),_(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var u=n[t];if(u.options.stacking||u.options.centerInCategory){var p=!0;if(u.isDirty){var h=!0;break}}}if(h)for(t=n.length;t--;)(u=n[t]).options.stacking&&(u.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),d=!0):o&&(o.labelFormatter||o.labelFormat)&&(d=!0)),t.isDirtyData&&F(t,"updatedData")})),d&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(c=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",I(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||p)&&t.redraw()})),c&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),i&&i.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,i=R(this.axes,e)||R(this.series,e),r=0;!i&&r<n.length;r++)i=R(n[r].points||[],e);return i},t.prototype.getAxes=function(){var t=this,n=this.options,i=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),F(this,"getAxes"),i.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),i.concat(n).forEach((function(n){new e(t,n)})),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){X(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,i="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};i=this.options[t]=U(!this.styledMode&&{style:i},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(i.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(r=a.style&&a.style.fontSize),r=n.fontMetrics(r,o).b,o.css({width:(a.width||i.width+(a.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(a.useHTML).height);o.align(I({y:"bottom"===s?r:t+r,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&X(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;T(e)||(this.containerWidth=z(n,"width")),T(t)||(this.containerHeight=z(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,i=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),Y(r)&&(this.renderTo=r=x.getElementById(r)),r||N(13,!0,this);var o=V($(r,"data-highcharts-chart"));W(o)&&y[o]&&y[o].hasRendered&&y[o].destroy(),$(r,"data-highcharts-chart",this.index),r.innerHTML=f.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(r,{overflow:"hidden"}),this.styledMode||(t=I({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=i=M("div",{id:i},t,r),this._cursor=i.style.cursor,this.renderer=new(n.renderer||!O?c.getRendererType(n.renderer):u)(i,o,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),_(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i[0]&&!T(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!T(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),w.forEach((function(n,r){T(i[r])||(t[n]+=e[r])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,i=e.renderTo,r=T(n.width)&&T(n.height),o=n.width||z(i,"width");n=n.height||z(i,"height"),i=t?t.target:k,delete e.pointer.chartPosition,r||e.isPrinting||!o||!n||i!==k&&i!==x||(o===e.containerWidth&&n===e.containerHeight||(h.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=j(k,"resize",(function(t){e.options&&e.reflow(t)})),j(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,_(n,i),n=r.globalAnimation,i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),i.styledMode||(n?m:P)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},n),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,F(i,"resize"),J((function(){i&&F(i,"endResize",null,(function(){--i.isResizing}))}),g(n).duration)},t.prototype.setChartSize=function(t){var e,n,i,r,o=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,d=this.spacing,u=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=o?r:i,this.plotSizeY=o?i:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:d[3],y:d[0],width:s-d[3]-d[1],height:l-d[0]-d[2]},this.plotBox=a.plotBox={x:e,y:n,width:i,height:r},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,u[3])/2),l=Math.ceil(Math.max(o,u[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(o,u[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,u[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var i=e[n],r=H(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=X(e[n+i],r[o])}))})),w.forEach((function(e,n){t[e]=X(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,i=this.chartWidth,r=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,d=this.plotLeft,u=this.plotTop,p=this.plotWidth,h=this.plotHeight,f=this.plotBox,m=this.clipRect,g=this.clipBox,_=this.chartBackground,v=this.plotBackground,b=this.plotBorder,y="animate";if(_||(this.chartBackground=_=n.rect().addClass("highcharts-background").add(),y="attr"),o)var x=t=_.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||_["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),_.attr(s).shadow(e.shadow);_[y]({x:t/2,y:t/2,width:i-t-x%2,height:r-t-x%2,r:e.borderRadius}),y="animate",v||(y="attr",this.plotBackground=v=n.rect().addClass("highcharts-plot-background").add()),v[y](f),o||(v.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(a?(c!==a.attr("href")&&a.attr("href",c),a.animate(f)):this.plotBGImage=n.image(c,d,u,p,h).add())),m?m.animate({width:g.width,height:g.height}):this.clipRect=n.clipRect(g),y="animate",b||(y="attr",this.plotBorder=b=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[y](b.crisp({x:d,y:u,width:p,height:h},-b.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(a){for(e=S[r.type||r.defaultSeriesType],n=r[a]||e&&e.prototype[a],t=o&&o.length;!n&&t--;)(e=S[o[t].type])&&e.prototype[a]&&(n=!0);i[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;Y(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=X(e.options.visible,n.options.visible,e.visible))})),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var i=I(e.style,n.style),r=V(i.left)+t.plotLeft,o=V(i.top)+t.plotTop+12;delete i.left,delete i.top,t.renderer.text(n.html,r,o).attr({zIndex:2}).css(i).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,i=this.options,r=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,i.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),i=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<i/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,n=U(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(k.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,i=e.series,o=e.container,a=o&&o.parentNode;for(F(e,"destroy"),e.renderer.forExport?L(y,e):y[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),o&&(o.innerHTML=f.emptyHTML,K(o),a&&D(o)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(B(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),l&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),F(this,"load"),F(this,"render"),T(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,n){var i,r=this;return t&&(e=X(e,!0),F(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),F(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i},t.prototype.addAxis=function(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,U(n.axis,{index:this[t].length,isX:"xAxis"===t})),X(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=M("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=M("span",{className:"highcharts-loading-inner"},null,o),j(e,"redraw",r)),o.className="highcharts-loading",f.setElementHTML(a,X(t,n.lang.loading,"")),e.styledMode||(P(o,I(i.style,{zIndex:10})),P(a,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,i){var r,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];F(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=U(a.userOptions,t);var d=t.chart;if(d){if(U(!0,a.options.chart,d),"className"in d&&a.setClassName(d.className),"reflow"in d&&a.setReflow(d.reflow),"inverted"in d||"polar"in d||"type"in d){a.propFromSeries();var u=!0}"alignTicks"in d&&(u=!0),"events"in d&&b(this,d),G(d,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new p(t.time)),U(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&U(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var i=[];a[e].forEach((function(t,e){t.options.isInternal||i.push(X(t.options.index,e))})),Z(t[e]).forEach((function(t,r){var o,s=T(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][i?i[r]:r])&&s&&T(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),n&&(o.touched=!0)),!o&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)}))}})),c.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),u&&a.axes.forEach((function(t){t.update({},!1)})),r&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),u=d&&d.width,d=d&&(Y(d.height)?q(d.height,u||a.chartWidth):d.height),o||W(u)&&u!==a.chartWidth||W(d)&&d!==a.chartHeight?a.setSize(u,d,i):X(e,!0)&&a.redraw(i),F(a,"afterUpdate",{options:t,redraw:e,animation:i})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=C.lang,i=e.options.chart.resetZoomButton,r=i.theme,o=r.states,a="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,r,o&&o.hover).attr({align:i.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,a)})),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,i=n.pointer,r=n.inverted?i.mouseDownX:i.mouseDownY,o=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),i.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=n.inverted?a.left:a.top,l=n.inverted?s+a.width:s+a.height,c=a.isXAxis,d=!1;(!c&&r>=s&&r<=l||c||!T(r))&&(d=!0),i[c?"zoomX":"zoomY"]&&d&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=n.resetZoomButton;o&&!a?n.showResetZoom():!o&&H(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(X(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,i=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=n.options.chart,o=n.options.mapNavigation&&n.options.mapNavigation.enabled;r&&r.panning&&(r.panning=e);var a,s=e.type;F(this,"pan",{originalEvent:t},(function(){i&&i.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===s?e=e.concat(n.yAxis):"y"===s&&(e=n.yAxis);var r={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var i=e.horiz,l=t[i?"chartX":"chartY"],c=n[i=i?"mouseDownX":"mouseDownY"],d=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,p=e.getExtremes(),h=e.toValue(c-l,!0)+d*u,f=e.toValue(c+e.len-l,!0)-(d*u||e.isXAxis&&e.pointRangePadding||0),m=f<h;u=e.hasVerticalPanning(),c=m?f:h,h=m?h:f;var g=e.panningState;!u||e.isXAxis||g&&!g.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),W(e.dataMin)&&W(e.dataMax)&&(g.startMin=Math.min(X(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(X(t.options.threshold,-1/0),e.dataMax,g.startMax))})),u=Math.min(X(g&&g.startMin,p.dataMin),d?p.min:e.toValue(e.toPixels(p.min)-e.minPixelPadding)),f=Math.max(X(g&&g.startMax,p.dataMax),d?p.max:e.toValue(e.toPixels(p.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(d=u-c)&&(h+=d,c=u),0<(d=h-f)&&(h=f,c-=d),e.series.length&&c!==p.min&&h!==p.max&&c>=u&&h<=f&&(e.setExtremes(c,h,!1,!1,{trigger:"pan"}),n.resetZoomButton||o||c===u||h===f||!s.match("y")||(n.showResetZoom(),e.displayBtn=!1),a=!0),r[i]=l)}})),G(r,(function(t,e){n[e]=t})),a&&n.redraw(!1),P(n.container,{cursor:"move"})}))},t}(),I(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.merge,i=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,r=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},d=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(l),d&&!1!==d.enabled&&r&&(e=Math.min(i(d.radius,a),a),0===this.symbol.indexOf("url")&&(d=n(d,{width:o,height:o}),e=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-e,t-e,2*e,2*e,d).addClass("highcharts-point").add(l),r.isMarker=!0)},t.drawRectangle=function(t,e){var n=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-n)/2:0,t.baseline-n+1,r?n:t.symbolWidth,n,i(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l,c){var d=t.animObject,u=t.setAnimation,p=e.defaultOptions,h=n.registerEventOptions,f=i.hasTouch,m=i.svg,g=i.win,_=s.seriesTypes,v=c.addEvent,b=c.arrayMax,y=c.arrayMin,x=c.clamp,w=c.cleanRecursively,O=c.correctFloat,k=c.defined,C=c.erase,E=c.error,S=c.extend,j=c.find,$=c.fireEvent,A=c.getNestedProperty,M=c.isArray,P=c.isNumber,T=c.isString,D=c.merge,L=c.objectEach,N=c.pick,I=c.removeEvent,R=c.splat,F=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){$(this,"init",{options:e});var n=this,i=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),S(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),h(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=N(r&&r._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(i)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),$(this,"afterInit")},t.prototype.is=function(t){return _[t]&&this instanceof _[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(P(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,i=e.chart;$(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){var o=0;i[r].forEach((function(i){t=i.options,(n[r]===o&&!t.isInternal||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0),t.isInternal||o++})),e[r]||e.optionalAxis===r||E(18,!0,i)}))})),$(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,i=arguments,r=P(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,i=n.pointIntervalUnit,r=n.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=N(a,n.pointStart,0),this.pointInterval=e=N(this.pointInterval,n.pointInterval,1),r&&P(t)&&(e*=t),i&&(n=new o.Date(a),"day"===i?o.set("Date",n,o.get("Date",n)+e):"month"===i?o.set("Month",n,o.get("Month",n)+e):"year"===i&&o.set("FullYear",n,o.get("FullYear",n)+e),e=n.getTime()-a),r&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;S(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=e.userOptions||{};t=D(t),e=e.styledMode;var o={plotOptions:i,userOptions:t};$(this,"setOptions",o);var a=o.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=o.userOptions,r=D(a,i.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=D(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=N(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===a.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),i.push(n)),i.length&&k(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),$(this,"afterSetOptions",{options:r}),r},t.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var i=this.chart,r=this.userOptions,o=t+"Index",a=t+"Counter",s=n?n.length:N(i.options.chart[t+"Count"],i[t+"Count"]);if(!e){var l=N(r[o],r["_"+o]);k(l)||(i.series.length||(i[a]=0),r["_"+o]=l=i[a]%s,i[a]+=1),n&&(e=n[l])}void 0!==l&&(this[o]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,i,r=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof o&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=j(s,n))))return;if(n){var c=n&&n.index;void 0!==c&&(i=!0)}return void 0===c&&P(a)&&(c=this.xData.indexOf(a,e)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!i&&P(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,d=t.length===s.length,u=!0;if(this.xIncrement=null,t.forEach((function(t,e){var i=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=i.x;i.id||P(u)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):s[i]&&t!==o.data[i]?(s[i].update(t,!1,null,!1),s[i].touched=!0,c&&(r=i+1)):s[i]&&(s[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?u=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!u&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,i){var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,c=s.dataSorting,d=r.xAxis,u=s.turboThreshold,p=this.xData,h=this.yData,f=r.pointArrayMap;f=f&&f.length;var m,g=s.keys,_=0,v=1,b=null,y=(t=t||[]).length;if(e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==i&&y&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(m=this.updateData(t,n)),!m){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),u&&y>u)if(b=r.getFirstValidPoint(t),P(b))for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n];else if(M(b))if(f)if(b.length===f)for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n];else for(n=0;n<y;n++)i=t[n],p[n]=i[0],h[n]=i.slice(1,f+1);else if(g&&(_=0<=(_=g.indexOf("x"))?_:0,v=0<=(v=g.indexOf("y"))?v:1),1===b.length&&(v=0),_===v)for(n=0;n<y;n++)p[n]=this.autoIncrement(),h[n]=t[n][v];else for(n=0;n<y;n++)i=t[n],p[n]=i[_],h[n]=i[v];else E(12,!1,l);else for(n=0;n<y;n++)void 0!==t[n]&&(i={series:r},r.pointClass.prototype.applyOptions.apply(i,[t[n]]),r.updateParallelArrays(i,n));for(h&&T(h[0])&&E(14,!0,l),r.data=[],r.options.data=r.userOptions.data=t,n=a;n--;)o[n]&&o[n].destroy&&o[n].destroy();d&&(d.minRange=d.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort((function(t,e){return t=A(n,t),(e=A(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,i=n.cropThreshold,r=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,d=!1,u=s.length;if(e){var p=(d=e.getExtremes()).min,h=d.max;d=e.categories&&!e.names.length}if(o&&this.sorted&&!r&&(!i||u>i||this.forceCrop))if(s[u-1]<p||s[0]>h)s=[],l=[];else if(this.yData&&(s[0]<p||s[u-1]>h)){var f=this.cropData(this.xData,this.yData,p,h);s=f.xData,l=f.yData,a=f.start,f=!0}for(i=s.length||1;--i;)if(0<(e=n?t(s[i])-t(s[i-1]):s[i]-s[i-1])&&(void 0===m||e<m))var m=e;else 0>e&&c&&!d&&(E(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,$(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=N(r,this.cropShoulder),o=0;o<a;o++)if(t[o]>=n){s=Math.max(0,o-r);break}for(n=o;n<a;n++)if(t[n]>i){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var d,u,p=this.data;if(!p&&!s){var h=[];h.length=e.length,p=this.data=h}for(l&&s&&(this.options.keys=!1),u=0;u<o;u++){if(h=a+u,s){var f=(new r).init(this,[n[u]].concat(R(i[u])));f.dataGroup=this.groupMap[t+u],f.dataGroup.options&&(f.options=f.dataGroup.options,S(f,f.dataGroup.options),delete f.dataLabels)}else(f=p[h])||void 0===e[h]||(p[h]=f=(new r).init(this,e[h],n[u]));f&&(f.index=s?t+u:h,c[u]=f)}if(this.options.keys=l,p&&(o!==(d=p.length)||s))for(u=0;u<d;u++)u!==a||s||(u+=o),p[u]&&(p[u].destroyElements(),p[u].plotX=void 0);this.data=p,this.points=c,$(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:y(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;i=!!i&&i.positiveValuesOnly;var s,l=0,c=0,d=0,u=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var p=n.getExtremes();l=p.min,c=p.max}for(s=0;s<u;s++){var h=r[s];p=t[s];var f=(P(p)||M(p))&&(p.length||0<p||!i);if(h=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+a]||h)>=l&&(r[s-a]||h)<=c,f&&h)if(f=p.length)for(;f--;)P(p[f])&&(o[d++]=p[f]);else o[d++]=p}return t={activeYData:o,dataMin:y(o),dataMax:b(o)},$(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,i=null;null===i&&n<e;)i=t[n],n++;return i},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,i=n.stacking,r=this.xAxis,o=r.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,d=this.pointPlacementToXValue(),u=!!d,p=n.threshold,h=n.startFromThreshold?p:0,f=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<c;t++){var g=l[t],_=g.x,v=void 0,b=void 0,y=g.y,w=g.low,C=i&&s.stacking&&s.stacking.stacks[(this.negStacks&&y<(h?0:p)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(y)||r.positiveValuesOnly&&!r.validatePositiveValue(_))&&(g.isNull=!0),g.plotX=e=O(x(r.translate(_,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),i&&this.visible&&C&&C[_]){var E=this.getStackIndicator(E,_,this.index);g.isNull||(b=(v=C[_]).points[E.key])}if(M(b)&&(w=b[0],y=b[1],w===h&&E.key===C[_].base&&(w=N(P(p)&&p,s.min)),s.positiveValuesOnly&&0>=w&&(w=null),g.total=g.stackTotal=v.total,g.percentage=v.total&&g.y/v.total*100,g.stackY=y,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=k(w)?x(s.translate(w,0,1,0,1),-1e5,1e5):null,this.dataModify&&(y=this.dataModify.modifyValue(y,t)),g.plotY=void 0,P(y)&&(void 0!==(v=s.translate(y,!1,!0,!1,!0))&&(g.plotY=x(v,-1e5,1e5))),g.isInside=this.isPointInside(g),g.clientX=u?O(r.translate(_,0,0,0,1,d)):e,g.negative=g[f]<(n[f+"Threshold"]||p||0),g.category=o&&void 0!==o[g.x]?o[g.x]:g.x,!g.isNull&&!1!==g.visible){void 0!==S&&(m=Math.min(m,Math.abs(e-S)));var S=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&a&&(g.isNew=!0)}this.closestPointRangePx=m,$(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var i=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,{inverted:i.inverted}))&&(!1!==t.visible&&(n||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,i=D(t.clipBox);return e&&e.len!==t.plotSizeX&&(i.width=e.len),n&&n.len!==t.plotSizeY&&(i.height=n.len),i},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,i=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),a=i[o];a?a.animate(r):i[o]=a=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,i=this.markerGroup,r=e.inverted,o=d(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:r?(e.plotSizeX||0)+99:-99,y:r?-e.plotLeft:-e.plotTop,width:99,height:r?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=o.step;i&&i.element.childNodes.length&&(o.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,n,i){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete i[n])})),this.finishedAnimating=!0,$(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,n=this.points,i=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(r.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;t<n.length;t++){var l=n[t],c=(e=l.graphic)?"animate":"attr",d=l.marker||{},u=!!l.marker;if((s&&void 0===d.enabled||d.enabled)&&!l.isNull&&!1!==l.visible){var p=N(d.symbol,this.symbol,"rect"),h=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=a.reversed?-(h.width||0):a.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(h):f&&(0<(h.width||0)||l.hasImage)&&(l.graphic=e=i.renderer.symbol(p,h.x,h.y,h.width,h.height,u?d:r).add(o),this.enabledDataSorting&&i.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[f?"show":"hide"](f).animate(h),e&&!i.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,i=n.marker,r=t.marker||{},o=r.symbol||i.symbol,a=N(r.radius,i.radius);return e&&(i=i.states[e],e=r.states&&r.states[e],a=N(e&&e.radius,i&&i.radius,a+(i&&i.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:n.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,i=t&&t.options,r=i&&i.marker||{},o=i&&i.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=N(r.lineWidth,n.lineWidth),i=1,l=o||s||a||l,o=r.fillColor||n.fillColor||l,a=r.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=r.states&&r.states[e]||{},t=N(e.lineWidth,n.lineWidth,t+N(e.lineWidthPlus,n.lineWidthPlus,0)),o=e.fillColor||n.fillColor||o,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:o,opacity:i=N(e.opacity,n.opacity,i)}},t.prototype.destroy=function(t){var e,n,i,r=this,o=r.chart,a=/AppleWebKit\/533/.test(g.navigator.userAgent),s=r.data||[];for($(r,"destroy"),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(t){return t.destroy()})),c.clearTimeout(r.animationTimeout),L(r,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderSeries(),L(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))},t.prototype.applyZones=function(){var t,e,n,i,r,o,a,s,l=this,c=this.chart,d=c.renderer,u=this.zones,p=this.clips||[],h=this.graph,f=this.area,m=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],_=c.inverted,v=!1;if(u.length&&(h||f)&&g&&void 0!==g.min){var b=g.reversed,y=g.horiz;h&&!this.showLine&&h.hide(),f&&f.hide();var w=g.getExtremes();u.forEach((function(u,O){t=b?y?c.plotWidth:0:y?0:g.toPixels(w.min)||0,t=x(N(e,t),0,m),e=x(Math.round(g.toPixels(N(u.value,w.max),!0)||0),0,m),v&&(t=e=g.toPixels(w.max)),i=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),g.isXAxis?(n={x:_?o:r,y:0,width:i,height:m},y||(n.x=c.plotHeight-n.x)):(n={x:0,y:_?o:r,width:m,height:i},y&&(n.y=c.plotWidth-n.y)),_&&d.isVML&&(n=g.isXAxis?{x:0,y:b?r:o,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),p[O]?p[O].animate(n):p[O]=d.clipRect(n),a=l["zone-area-"+O],s=l["zone-graph-"+O],h&&s&&s.clip(p[O]),f&&a&&a.clip(p[O]),v=u.value>w.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=p}else l.visible&&(h&&h.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(i.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,i=n.chart;n.xAxis&&(n.eventsToUnbind.push(v(i,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,i=d(n.animation),r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?i.duration:0,$(this,"render");var c=t.plotGroup("group","series",r,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&i.defer&&(e+=i.defer),t.animationTimeout=F((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,$(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(i&&i.left,t.plotLeft),translateY:N(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,F((function(){e.kdTree=function t(n,i,r){var o=n&&n.length;if(o){var a=e.kdAxisArray[i%r];return n.sort((function(t,e){return t[a]-e[a]})),{point:n[o=Math.floor(o/2)],left:t(n.slice(0,o),i+1,r),right:t(n.slice(o+1),i+1,r)}}}(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var i=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var c=n.point,d=i.kdAxisArray[s%l],u=c,p=k(e[r])&&k(c[r])?Math.pow(e[r]-c[r],2):null,h=k(e[o])&&k(c[o])?Math.pow(e[o]-c[o],2):null;return h=(p||0)+(h||0),c.dist=k(h)?Math.sqrt(h):Number.MAX_VALUE,c.distX=k(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(d=e[d]-c[d])?"right":"left",n[h=0>d?"left":"right"]&&(u=(h=t(e,n[h],s+1,l))[a]<u[a]?h:c),n[p]&&Math.sqrt(d*d)<u[a]&&(u=(e=t(e,n[p],s+1,l))[a]<u[a]?e:u),u}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),P(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(i?i.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,i=[].concat(n?t.areaPath:t.graphPath),r=t.chart,o=r.pointer,a=r.renderer,s=r.options.tooltip.snap,l=t.tracker,c=function(e){r.hoverSeries!==t&&t.onMouseOver()},d="rgba(192,192,192,"+(m?1e-4:.002)+")";l?l.attr({d:i}):t.graph&&(t.tracker=a.path(i).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:n?d:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",c)}))),$(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,i,r){var o=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,d=o.data,u=this.xData;e=N(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var h=p.x,f=u.length;if(this.requireSorting&&h<u[f-1])for(c=!0;f&&u[f-1]>h;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[h]=p.name),d.splice(f,0,t),c&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),d.shift())),!1!==r&&$(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},t.prototype.removePoint=function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};u(n,s),e=N(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,i){function r(){o.destroy(i),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?$(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=w(t,this.userOptions),$(this,"update",{options:t});var n,i=this,r=i.chart,o=i.userOptions,a=i.initialType||i.type,s=r.options.plotOptions,l=_[a].prototype,c=i.finishedAnimating&&{animation:!1},d={},u=["eventOptions","navigatorSeries","baseSeries"],p=t.type||o.type||r.options.chart.type,h=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys"));if(p=p||a,h&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),i.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&S(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=D(o,c,{index:void 0===o.index?i.index:o.index,pointStart:N(s&&s.series&&s.series.pointStart,o.pointStart,i.xData[0])},!h&&{data:i.options.data},t),h&&t.data&&(t.data=i.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach((function(t){u[t]=i[t],delete i[t]})),s=!1,_[p]){if(s=p!==i.type,i.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(i,_[p].prototype);else{for(n in c=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents,l)i[n]=void 0;S(i,_[p].prototype),c?i.hcEvents=c:delete i.hcEvents}}else E(17,!0,r,{missingModuleFor:p});if(u.forEach((function(t){i[t]=u[t]})),i.init(r,t),h&&this.points){var f=i.options;!1===f.visible?(d.graphic=1,d.dataLabel=1):i._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===f.showInLegend&&t.legendItem&&r.legend.destroyItem(t))}),this)}i.initialType=a,r.linkSeries(),s&&i.linkedSeries.length&&(i.isDirtyData=!0),$(this,"afterUpdate"),N(e,!0)&&r.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==N(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&$(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&$(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=N(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=0,d=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),d=N(a[t].opacity,d)),r&&!r.dashstyle)for(i={"stroke-width":l},r.animate(i,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(i,s),c+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:d},s)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,i=n.chart,r=n.legendItem,o=i.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][s]()})),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(i.isDirtyBox=!0),$(n,s),!1!==e&&i.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),$(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t}(),S(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o){var a=t.stop,s=o.addEvent,l=o.createElement,c=o.merge,d=o.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}});r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var n=r[t.side].name,i=this[n];this[n]=i-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&i.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,i=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:e,height:i,viewBox:[0,0,e,i].join(" ")}),this.chartBackground.attr({width:e,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),i=this.axisOffset,t=this.plotTop-i[0]-1,n=this.plotLeft-i[3]-1,e=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(i,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=n.addEvent,a=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,(function(t,n){a(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new d(this))}var i=[];t.compose=function(t){return-1===i.indexOf(t)&&(i.push(t),o(t,"init",n),o(t,"destroy",e)),t};var d=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,i=e.options.reversedStacks,r=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var o=n[i?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<r;t++)n[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,(function(t){c(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,(function(e){c(e,(function(n,i){l(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[i]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,i=this.stacks;t=r(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),c(i,(function(t){c(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=d}(i||(i={})),i})),e(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=n.format,l=a.correctFloat,c=a.defined,d=a.destroyObjectProperties,u=a.isArray,p=a.isNumber,h=a.objectEach,f=a.pick,m=function(){function t(t,e,n,i,r){var o=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e=e||{},this.x=i,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":n?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?n?"right":"left":"center")}return t.prototype.destroy=function(){d(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,i=n.format;i=i?s(i,this,e):n.formatter.call(this),this.label?this.label.attr({text:i,visibility:"hidden"}):(this.label=e.renderer.label(i,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),i={r:n.borderRadius||0,text:i,rotation:n.rotation,padding:f(n.padding,5),visibility:"hidden"},e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(i),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,i,o){var a=this.axis,s=a.chart;i=a.translate(a.stacking.usePercentage?100:i||this.total,0,0,0,1),n=a.translate(n||0),n=c(i)&&Math.abs(i-n),t=f(o,s.xAxis[0].translate(this.x))+t,a=c(i)&&this.getStackBox(s,this,t,i,e,n,a),e=this.label,n=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&a&&(o=e.getBBox(),i=e.padding,l="left"===l?s.inverted?-i:i:"right"===l?o.width:s.inverted&&"center"===l?o.width/2:s.inverted?n?o.width+i:-i:o.width/2,n=s.inverted?o.height/2:n?-i:o.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),a.x-=l,a.y-=n,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+n-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&r.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((s=p(e.x)&&p(e.y)&&s.isInsidePlot(e.x-i+e.width,e.y)&&s.isInsidePlot(e.x+i,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,n,i,r,o,a){var s=e.axis.reversed,l=t.inverted,c=a.height+a.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:l?e?i-a.right:i-o+a.pos-t.plotLeft:n+t.xAxis[0].transB-t.plotLeft,y:l?a.height-n-r:e?c-i-o:c-i,width:l?o:r,height:l?r:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var i=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,f(n.options.stack,""),e?i.top:i.left,e?i.height:i.width].join())}))},o.compose(t),r.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):t&&h(t.stacks,(function(e,n){"group"===n.slice(-5)&&(h(e,(function(t){return t.destroy()})),delete t.stacks[n])}))},r.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,i=this.processedYData,r=[],o=i.length,a=this.options,s=a.threshold,d=f(a.startFromThreshold&&s,0);a=a.stack;var p,h,g="-"+(t=t?this.type+","+e:this.stackKey),_=this.negStacks,v=this.yAxis,b=v.stacking.stacks,y=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,h=0;h<o;h++){var x=n[h],w=i[h],O=this.getStackIndicator(O,x,this.index),k=O.key,C=(p=_&&w<(d?0:s))?g:t;b[C]||(b[C]={}),b[C][x]||(y[C]&&y[C][x]?(b[C][x]=y[C][x],b[C][x].total=null):b[C][x]=new m(v,v.options.stackLabels,p,x,a)),C=b[C][x],null!==w?(C.points[k]=C.points[this.index]=[f(C.cumulative,d)],c(C.cumulative)||(C.base=k),C.touched=v.stacking.stacksTouched,0<O.index&&!1===this.singleStacks&&(C.points[k][0]=C.points[this.index+","+x+",0"][0])):C.points[k]=C.points[this.index]=null,"percent"===e?(p=p?t:g,_&&b[p]&&b[p][x]?(p=b[p][x],C.total=p.total=Math.max(p.total,C.total)+Math.abs(w)||0):C.total=l(C.total+(Math.abs(w)||0))):"group"===e?(u(w)&&(w=w[0]),null!==w&&(C.total=(C.total||0)+1)):C.total=l(C.total+(w||0)),C.cumulative="group"===e?(C.total||1)-1:f(C.cumulative,d)+(w||0),null!==w&&(C.points[k].push(C.cumulative),r[h]=C.cumulative,C.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=r),v.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var t,e=this,n=e.stackKey,i=e.yAxis.stacking.stacks,r=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var a,s,l=r.length;l--;)a=r[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=i[n]&&i[n][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,l)}))},r.prototype.percentStacker=function(t,e,n){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[n]=t[1]},r.prototype.getStackIndicator=function(t,e,n,i){return!c(t)||t.x!==e||i&&t.key!==i?t={x:e,index:0,key:i}:t.index++,t.key=[n,e,t.index].join(),t},i.StackItem=m,i.StackItem})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.defined,o=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode,r=[["graph","highcharts-graph"]];i||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(r=t.getZonesGraphs(r)).forEach((function(r,o){var a=r[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(t.group)),s&&!i&&(a={stroke:r[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},r[3]?a.dashstyle=r[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>o&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var i,o=this,a=o.options,s=[],l=[],c=a.step,d=(t=t||o.points).reversed;return d&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&d&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(d,u){var p=d.plotX,h=d.plotY,f=t[u-1];(d.leftCliff||f&&f.rightCliff)&&!n&&(i=!0),d.isNull&&!r(e)&&0<u?i=!a.connectNulls:d.isNull&&!e?i=!0:(0===u||i?u=[["M",d.plotX,d.plotY]]:o.getPointSpline?u=[o.getPointSpline(t,d,u)]:c?(u=1===c?[["L",f.plotX,h]]:2===c?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,h]]:[["L",p,f.plotY]]).push(["L",p,h]):u=[["L",p,h]],l.push(d.x),c&&(l.push(d.x),2===c&&l.push(d.x)),s.push.apply(s,u),i=!1)})),s.xMap=l,o.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=o(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=t.parse,a=n.seriesTypes.line;t=i.extend;var s=i.merge,l=i.objectEach,c=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(t,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||i.fillColor])})),r.forEach((function(t){var r=t[0],a=e[r],s=a?"animate":"attr",l={};a?(a.endX=e.preventGraphAnimation?null:n.xMap,a.animate({d:n})):(l.zIndex=0,(a=e[r]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=c(t[3],o(t[2]).setOpacity(c(i.fillOpacity,.75)).get())),a[s](l),a.startX=n.xMap,a.shiftUnit=i.step?2:1}))},e.prototype.getGraphPath=function(t){var e,n=a.prototype.getGraphPath,i=this.options,r=i.stacking,o=this.yAxis,s=[],l=[],d=this.index,u=o.stacking.stacks[this.stackKey],p=i.threshold,h=Math.round(o.getThreshold(i.threshold));i=c(i.connectNulls,"percent"===r);var f=function(e,n,i){var a=t[e];e=r&&u[a.x].points[d];var c=a[i+"Null"]||0;if(i=a[i+"Cliff"]||0,a=!0,i||c){var f=(c?e[0]:e[1])+i,m=e[0]+i;a=!!c}else!r&&t[n]&&t[n].isNull&&(f=m=p);void 0!==f&&(l.push({plotX:g,plotY:null===f?h:o.getThreshold(f),isNull:a,isCliff:!0}),s.push({plotX:g,plotY:null===m?h:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,r&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){r||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,g=c(t[e].rectPlotX,t[e].plotX),_=r?c(t[e].yBottom,h):h;m&&!i||(i||f(e,e-1,"left"),m&&!r&&i||(l.push(t[e]),s.push({x:e,plotX:g,plotY:_})),i||f(e,e+1,"right"))}return e=n.call(this,l,!0,!0),s.reversed=!0,(_=(m=n.call(this,s,!0,!0))[0])&&"M"===_[0]&&(m[0]=["L",_[1],_[2]]),(m=e.concat(m)).length&&m.push(["Z"]),n=n.call(this,l,!1,i),m.xMap=e.xMap,this.areaPath=m,n},e.prototype.getStackPoints=function(t){var e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},d=o.series,u=d.length,p=o.options.reversedStacks?1:-1,h=d.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,s[t[f].x]=t[f];l(a,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));var m=d.map((function(t){return t.visible}));i.forEach((function(t,l){var f,g,_=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",o=0,c=a[i[l+n]];if(c)for(var _=h;0<=_&&_<u;){var v=d[_].index;(f=c.points[v])||(v===e.index?s[t][r]=!0:m[_]&&(g=a[t].points[v])&&(o-=g[1]-g[0])),_+=p}s[t][1===n?"rightCliff":"leftCliff"]=o}));else{for(var v=h;0<=v&&v<u;){if(f=a[t].points[d[v].index]){_=f[1];break}v+=p}_=c(_,0),_=o.translate(_,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:_,yBottom:_})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(i.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",i),i})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes.line,r=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var i=e.plotX||0,r=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*i+(a.plotX||0))/2.5,d=(1.5*r+t)/2.5,u=(1.5*r+n)/2.5;(s=(1.5*i+s)/2.5)!==c&&(l=(u-d)*(s-i)/(s-c)+r-u),u+=l,(d+=l)>t&&d>r?u=2*r-(d=Math.max(t,r)):d<t&&d<r&&(u=2*r-(d=Math.min(t,r))),u>n&&u>r?d=2*r-(u=Math.max(n,r)):u<n&&u<r&&(d=2*r-(u=Math.min(n,r))),e.rightContX=s,e.rightContY=u}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(c,i,0),o(d,r,0),i,r],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=r(i.defaultOptions),e}(i),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Area/AreaSeries.js"],n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.prototype,s=r.extend,l=r.merge;return s((r=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(i,n),i.defaultOptions=l(e.defaultOptions,t.defaultOptions),i}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:n.drawRectangle}),i.registerSeriesType("areaspline",r),r})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=t.animObject,c=e.parse,d=n.hasTouch;t=n.noop;var u=a.clamp,p=a.css,h=a.defined,f=a.extend,m=a.fireEvent,g=a.isArray,_=a.isNumber,v=a.merge,b=a.pick,y=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,i=e.options,r=this.chart.inverted,o={},a=r?"translateX":"translateY";if(t)o.scaleY=.001,t=u(n.toPixels(i.threshold),n.pos,n.pos+n.len),r?o.translateX=t-n.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,i){e.group&&(o[a]=s+i.pos*(n.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var i=this;(e=i.chart).hasRendered&&e.series.forEach((function(t){t.type===i.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,i=t.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&i.len===n.len&&i.pos===n.pos){if(r.stacking&&"group"!==r.stacking){o=e.stackKey,void 0===a[o]&&(a[o]=s++);var l=a[o]}else!1!==r.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*e.groupPadding,d=(l-2*c)/(s||1);return e=Math.min(e.maxPointWidth||n.len,b(e.pointWidth,d*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(d-e)/2+(c+((t.columnIndex||0)+(r?1:0))*d-l/2)*(r?-1:1),paddedWidth:d,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,i){var r=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),i=Math.round(e+i)+o,a=.5>=Math.abs(e)&&.5<i,i-=e=Math.round(e)+o,a&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},e.prototype.adjustForMissingColumns=function(t,e,n,i){var r=this,o=this.options.stacking;if(!n.isNull&&1<i.columnCount){var a=0,s=0;y(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof n.x&&(t=t[n.x.toString()])){var e=t.points[r.index],i=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):g(e)&&(a=e[1],s=i||0)}})),t=(n.plotX||0)+((s-1)*i.paddedWidth+e)/2-e-a*i.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=b(n.borderWidth,i?0:1);var o=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=b(n.minPointLength,5),d=t.getColumnMetrics(),p=d.width,f=t.pointXOffset=d.offset,m=t.dataMin,g=t.dataMax,v=t.barW=Math.max(p,1+2*i);e.inverted&&(l-=.5),n.pointPadding&&(v=Math.ceil(v)),r.prototype.translate.apply(t),t.points.forEach((function(i){var r=b(i.yBottom,l),y=999+Math.abs(r),x=i.plotX||0;y=u(i.plotY,-y,a.len+y);var w=Math.min(y,r),O=Math.max(y,r)-w,k=p,C=x+f,E=v;c&&Math.abs(O)<c&&(O=c,x=!a.reversed&&!i.negative||a.reversed&&i.negative,_(s)&&_(g)&&i.y===s&&g<=s&&(a.min||0)<s&&(m!==g||(a.max||0)<=s)&&(x=!x),w=Math.abs(w-l)>c?r-c:l-(x?c:0)),h(i.options.pointWidth)&&(k=E=Math.ceil(i.options.pointWidth),C-=Math.round((k-p)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,k,i,d)),i.barX=C,i.pointWidth=k,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-y,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-C-E/2,O]:[o.left-e.plotLeft+C+E/2,u(y+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[C,l,E,0]:[C,w,E,O])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||a;i=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,d=b(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var u=t.getZone();a=t.options.color||u&&(u.color||t.nonZonedColor)||this.color,u&&(s=u.borderColor||s,i=u.dashStyle||i,l=u.borderWidth||l)}return e&&t&&(e=(t=v(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&c(a).brighten(t.brightness).get()||a,s=t[r]||s,l=t[o]||l,i=t.dashStyle||i,d=b(t.opacity,d)),r={fill:a,stroke:s,"stroke-width":l,opacity:d},i&&(r.dashstyle=i),r},e.prototype.drawPoints=function(){var t,e=this,n=this.chart,i=e.options,r=n.renderer,o=i.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount<o?"animate":"attr";_(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=r[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&n.hasRendered&&n.pointCount<o&&(s.attr({x:a.startXPos}),l=!0,c="animate"),s&&l&&s[c](v(t)),i.borderRadius&&s[c]({r:i.borderRadius}),n.styledMode||s[c](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&i.shadow,null,i.stacking&&!i.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,n=e.chart,i=n.pointer,r=function(t){var e=i.getPointFromEvent(t);void 0!==e&&(i.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){i.onTrackerMouseOut(t)})),d&&e[t].on("touchstart",r),!n.styledMode&&e.options.cursor&&e[t].css(p).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)},e.defaultOptions=v(r.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(r),f(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:i.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=e.format,a=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,d=n.merge,u=n.objectEach,p=n.pick,h=n.splat;return function(t){function e(t,e,n,i,r){var o=this,a=this.chart,l=this.isCartesian&&a.inverted,c=this.enabledDataSorting,d=p(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),u=p(t.plotY,-9999),h=e.getBBox(),f=n.rotation,m=n.align,g=a.isInsidePlot(d,Math.round(u),{inverted:l,paneCoordinates:!0,series:o}),_=function(n){c&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,g,n)},v="justify"===p(n.overflow,c?"none":"justify"),b=this.visible&&!1!==t.visible&&(t.series.forceDL||c&&!v||g||p(n.inside,!!this.options.stacking)&&i&&a.isInsidePlot(d,l?i.x+1:i.y+i.height-1,{inverted:l,paneCoordinates:!0,series:o}));if(b){var y=a.renderer.fontMetrics(a.styledMode?void 0:n.style.fontSize,e).b;i=s({x:l?this.yAxis.len-u:d,y:Math.round(l?this.xAxis.len-d:u),width:0,height:0},i),s(n,{width:h.width,height:h.height}),f?(v=!1,d=a.renderer.rotCorr(y,f),_(d={x:i.x+(n.x||0)+i.width/2+d.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height}),e[r?"attr":"animate"](d).attr({align:m}),_=180<(_=(f+720)%360)&&360>_,"left"===m?d.y-=_?h.height:0:"center"===m?(d.x-=h.width/2,d.y-=h.height/2):"right"===m&&(d.x-=h.width,d.y-=_?0:h.height),e.placed=!0,e.alignAttr=d):(_(i),e.align(n,void 0,i),d=e.alignAttr),v&&0<=i.height?this.justifyDataLabel(e,n,d,h,i,r):p(n.crop,!0)&&(b=a.isInsidePlot(d.x,d.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(d.x+h.width,d.y+h.height,{paneCoordinates:!0,series:o})),n.shape&&!f&&e[r?"attr":"animate"]({anchorX:l?a.plotWidth-t.plotY:t.plotX,anchorY:l?a.plotHeight-t.plotX:t.plotY})}r&&c&&(e.placed=!1),b||c&&!v||(e.hide(!0),e.placed=!1)}function n(){var t=this,e=t.chart,n=t.options,i=t.points,s=t.hasRendered||0,d=e.renderer,m=n.dataLabels,g=m.animation;if(g=m.defer?r(e,g,t):{defer:0,duration:0},m=f(f(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),l(this,"drawDataLabels"),c(m)||m.enabled||t._hasPointLabels){var _=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);_.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&_.show(!0),s[n.animation?"animate":"attr"]({opacity:1},g)),i.forEach((function(i){h(f(m,i.dlOptions||i.options&&i.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!i.isNull||i.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(i,r),c=i.connectors?i.connectors[s]:i.connector,h=i.dataLabels?i.dataLabels[s]:i.dataLabel,f=p(r.distance,i.labelDistance),m=!h;if(l){var g=i.getLabelConfig(),v=p(r[i.formatPrefix+"Format"],r.format);g=a(v)?o(v,g,e):(r[i.formatPrefix+"Formatter"]||r.formatter).call(g,r),v=r.style;var b=r.rotation;e.styledMode||(v.color=p(r.color,v.color,t.color,"#000000"),"contrast"===v.color?(i.contrastColor=d.getContrast(i.color||t.color),v.color=!a(f)&&r.inside||0>f||n.stacking?i.contrastColor:"#000000"):delete i.contrastColor,n.cursor&&(v.cursor=n.cursor));var y={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};e.styledMode||(y.fill=r.backgroundColor,y.stroke=r.borderColor,y["stroke-width"]=r.borderWidth),u(y,(function(t,e){void 0===t&&delete y[e]}))}!h||l&&a(g)&&!!h.div==!!r.useHTML||(i.dataLabel=h=i.dataLabel&&i.dataLabel.destroy(),i.dataLabels&&(1===i.dataLabels.length?delete i.dataLabels:delete i.dataLabels[s]),s||delete i.dataLabel,c&&(i.connector=i.connector.destroy(),i.connectors&&(1===i.connectors.length?delete i.connectors:delete i.connectors[s]))),l&&a(g)&&(h?y.text=g:(i.dataLabels=i.dataLabels||[],h=i.dataLabels[s]=b?d.text(g,0,-9999,r.useHTML).addClass("highcharts-data-label"):d.label(g,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),s||(i.dataLabel=h),h.addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),h.options=r,h.attr(y),e.styledMode||h.css(v).shadow(r.shadow),h.added||h.add(_),r.textPath&&!r.useHTML&&(h.setTextPath(i.getDataLabelPath&&i.getDataLabelPath(h)||i.graphic,r.textPath),i.dataLabelPath&&!r.textPath.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy())),t.alignDataLabel(i,h,r,null,m))}))}))}l(this,"afterDrawDataLabels")}function i(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,d=e.x;d=void 0===d?0:d;var u=e.y;u=void 0===u?0:u;var p=(n.x||0)+c;if(0>p){"right"===s&&0<=d?(e.align="left",e.inside=!0):d-=p;var h=!0}return(p=(n.x||0)+i.width-c)>a.plotWidth&&("left"===s&&0>=d?(e.align="right",e.inside=!0):d+=a.plotWidth-p,h=!0),0>(p=n.y+c)&&("bottom"===l&&0<=u?(e.verticalAlign="top",e.inside=!0):u-=p,h=!0),(p=(n.y||0)+i.height-c)>a.plotHeight&&("top"===l&&0>=u?(e.verticalAlign="bottom",e.inside=!0):u+=a.plotHeight-p,h=!0),h&&(e.x=d,e.y=u,t.placed=!o,t.align(e,void 0,r)),h}function f(t,e){var n,i=[];if(c(t)&&!c(e))i=t.map((function(t){return d(t,e)}));else if(c(e)&&!c(t))i=e.map((function(e){return d(t,e)}));else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=d(t[n],e[n]);else i=d(t,e);return i}function m(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?r.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var g=[];t.compose=function(t){if(-1===g.indexOf(t)){var r=t.prototype;g.push(t),r.alignDataLabel=e,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=m}}}(i||(i={})),i})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,i,s){var l=this.chart.inverted,c=t.series,d=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var u=t.dlBox||t.shapeArgs,p=a(t.below,t.plotY>a(this.translatedThreshold,c)),h=a(n.inside,!!this.options.stacking);u&&(0>(i=o(u)).y&&(i.height+=i.y,i.y=0),0<(u=i.y+i.height-c)&&u<i.height&&(i.height-=u),l&&(i={x:c-i.y-i.height,y:d-i.x-i.width,width:i.height,height:i.width}),h||(l?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))),n.align=a(n.align,!l||h?"center":p?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||h?"middle":p?"top":"bottom"),r.prototype.alignDataLabel.call(this,t,e,n,i,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var i=[];e.compose=function(e){t.compose(r),-1===i.indexOf(e)&&(i.push(e),e.prototype.alignDataLabel=n)}}(i||(i={})),i})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.extend,o=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions,{}),n}(t),r(n.prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeries.js",[n["Series/Column/ColumnSeries.js"],n["Series/Line/LineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.addEvent,a=i.extend,s=i.merge;return a((i=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!i.isNull){var l=t[o+"Axis"],c=e[o]*l.transA;if(l&&!l.isLog){var d=Math.max(0,i[s]-c);l=Math.min(l.len,i[s]+c),a=1e4*Math.sin(r+a*n),i[s]=d+(l-d)*(a-Math.floor(a)),"x"===o&&(i.clientX=i.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),n}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(i,"afterTranslate",(function(){this.applyJitter()})),n.registerSeriesType("scatter",i),i})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.deg2rad,o=n.isNumber,a=n.pick,s=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,i=2*(t.slicedOffset||0),r=n.plotWidth-2*i,o=n.plotHeight-2*i,l=t.center,c=Math.min(r,o),d=t.size,u=t.innerSize||0;for("string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u)),t=[a(l[0],"50%"),a(l[1],"50%"),a(d&&0>d?void 0:t.size,"100%"),a(u&&0>u?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)d=t[l],n=2>l||2===l&&/%$/.test(d),t[l]=s(d,[r,o,c,t[2]][l])+(n?i:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(i||(i={})),i})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,i=e.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,i=this.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,n){var i=this.series;r(n,i.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||o<e.x:o<t.x||o>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=t.getStartAndEndRadians;n=n.noop;var u=l.clamp,p=l.extend,h=l.fireEvent,f=l.merge,m=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(i,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return t=Math.asin(u((t-i[1])/(r+n.labelDistance),-1,1)),i[0]+(e?-1:1)*Math.cos(t)*(r+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||o.styledMode||(r.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var c={};if(e=l.graphic,!l.isNull&&e){var d=void 0;i=l.shapeArgs,t=l.getTranslate(),o.styledMode||(d=l.shadowGroup,s&&!d&&(d=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),d&&d.attr(t),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,d),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,c,n),f(!0,c,i,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,n=e.slicedOffset,i=n+(e.borderWidth||0),r=d(e.startAngle,e.endAngle),o=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=a.length,u=0;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var p=a[l],f=o+u*r;!p.isValid()||e&&!p.visible||(u+=p.percentage/100);var _=o+u*r,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*_)/1e3};p.shapeType="arc",p.shapeArgs=v,p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,s),p.labelDistance=g(p.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(_=(_+f)/2)>1.5*Math.PI?_-=2*Math.PI:_<-Math.PI/2&&(_+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(_)*n),translateY:Math.round(Math.sin(_)*n)},v=Math.cos(_)*t[2]/2;var b=Math.sin(_)*t[2]/2;p.tooltipPos=[t[0]+.7*v,t[1]+.7*b],p.half=_<-Math.PI/2||_>Math.PI/2?1:0,p.angle=_,f=Math.min(i,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+v+Math.cos(_)*p.labelDistance,y:t[1]+b+Math.sin(_)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(_)*f,y:t[1]+b+Math.sin(_)*f},touchingSliceAt:{x:t[0]+v,y:t[1]+b}}}}h(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint,r=0;for(t=0;t<n;t++){var o=e[t];!o.isValid()||i&&!o.visible||(r+=o.y)}for(this.total=r,t=0;t<n;t++)(o=e[t]).percentage=0<r&&(o.visible||!i)?o.y/r*100:0,o.total=r},e.defaultOptions=f(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:i.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",l),l})),e(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o,a=e.noop,s=n.distribute,l=i.series,c=r.arrayMax,d=r.clamp,u=r.defined,p=r.merge,h=r.pick,f=r.relativeLength;return function(e){function n(){var t,e,n,i,r,o,a,d,f,m,g,_,v=this,b=v.data,y=v.chart,x=v.options.dataLabels||{},w=x.connectorPadding,O=y.plotWidth,k=y.plotHeight,C=y.plotLeft,E=Math.round(y.chartWidth/3),S=v.center,j=S[2]/2,$=S[1],A=[[],[]],M=[0,0,0,0],P=v.dataLabelPositioners;v.visible&&(x.enabled||v._hasPointLabels)&&(b.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(v),b.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!u(x.style.width)&&!u(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,n){var l,c=e.length,p=[];if(c){if(v.sortByAngle(e,n-.5),0<v.maxLabelDistance){var b=Math.max(0,$-j-v.maxLabelDistance),E=Math.min($+j+v.maxLabelDistance,y.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,$-j-t.labelDistance),t.bottom=Math.min($+j+t.labelDistance,y.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},p.push(t.distributeBox))})),s(p,b=E+l-b,b/5)}for(g=0;g<c;g++){if(t=e[g],o=t.labelPosition,i=t.dataLabel,m=!1===t.visible?"hidden":"inherit",f=b=o.natural.y,p&&u(t.distributeBox)&&(void 0===t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,f=P.radialDistributionY(t))),delete t.positionIndex,x.justify)d=P.justify(t,j,S);else switch(x.alignTo){case"connectors":d=P.alignToConnectors(e,n,O,C);break;case"plotEdges":d=P.alignToPlotEdges(i,n,O,C);break;default:d=P.radialDistributionX(v,t,f,b)}i._attr={visibility:m,align:o.alignment},_=t.options.dataLabels||{},i._pos={x:d+h(_.x,x.x)+({left:w,right:-w}[o.alignment]||0),y:f+h(_.y,x.y)-10},o.final.x=d,o.final.y=f,h(x.crop,!0)&&(r=i.getBBox().width,b=null,d-r<w&&1===n?(b=Math.round(r-d+w),M[3]=Math.max(b,M[3])):d+r>O-w&&0===n&&(b=Math.round(d+r-O+w),M[1]=Math.max(b,M[1])),0>f-a/2?M[0]=Math.max(Math.round(a/2-f),M[0]):f+a/2>k&&(M[2]=Math.max(Math.round(f+a/2-k),M[2])),i.sideOverflow=b)}}})),0===c(M)||this.verifyDataLabelOverflow(M))&&(this.placeDataLabels(),this.points.forEach((function(t){var r;(_=p(x,t.options.dataLabels),e=h(_.connectorWidth,1))&&(n=t.connector,(i=t.dataLabel)&&i._pos&&t.visible&&0<t.labelDistance?(m=i._attr.visibility,(r=!n)&&(t.connector=n=y.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),y.styledMode||n.attr({"stroke-width":e,stroke:_.connectorColor||t.color||"#666666"})),n[r?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",m)):n&&(t.connector=n.destroy()))})))}function i(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function r(t){var e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=null!==n.size;if(!o){if(null!==i[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),r);else a=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==i[1]?a=d(a,r,e[2]-Math.max(t[0],t[2])):(a=d(a,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(f(n.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,i){return t.getX(n<e.top+2||n>e.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=i,e.verifyDataLabelOverflow=r)}}(o||(o={})),o})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var i=t.newOpacity;t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0}return n}var i=e.addEvent,r=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;i(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(i){var r=i.options.dataLabels;i.visible&&(!1!==r.enabled||i._hasPointLabels)&&((r=function(i){return i.forEach((function(i){i.visible&&(o(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach((function(r){var o=r.options;r.labelrank=l(o.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,t)):e.push(r)}))}))})(i.nodes||[]),r(i.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,i,o,s=this,l=t.length,c=s.renderer,d=!1,u=function(t){var e,n,i=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*i;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-e,width:t.width-2*i,height:t.height-2*i}}};for(i=0;i<l;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=u(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<l;i++){var p=(u=t[i])&&u.absoluteBox;for(e=i+1;e<l;++e){var h=(o=t[e])&&o.absoluteBox;!p||!h||u===o||0===u.newOpacity||0===o.newOpacity||h.x>=p.x+p.width||h.x+h.width<=p.x||h.y>=p.y+p.height||h.y+h.height<=p.y||((u.labelrank<o.labelrank?u:o).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(d=!0)})),d&&r(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.find,r=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,c=t.splat,d=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,u.prototype)),t};var u=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,i,a,l){var d;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&i[s])for(n=c(n),a[s]=[],d=0;d<Math.max(n.length,i[s].length);d++)i[s][d]&&(void 0===n[d]?a[s][d]=i[s][d]:(a[s][d]={},t(n[d],i[s][d],a[s][d],l+1)));else o(n)?(a[s]=r(n)?[]:{},t(n,i[s]||{},a[s],l+1)):a[s]=void 0===i[s]?null:i[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,r=this.options.responsive,o=this.currentResponsive,s=[];!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=d()),n.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return i((r||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(t,e,n,i,r,o,a,s,l,c,d,u,p,h,f,m,g,_,v,b,y,x,w,O,k,C,E,S,j,$,A,M,P){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=i.timers,t.AST=o,t.Axis=p,t.Chart=w,t.chart=w.chart,t.Fx=i,t.Legend=x,t.PlotLineOrBand=m,t.Point=v,t.Pointer=y.isRequired()?y:b,t.Series=O,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=P,t.Tooltip=_,t.Color=M,t.color=M.parse,u.compose(c),d.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=k.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(C),$.compose(O),h.compose(p),f.compose(p),j.compose(S),m.compose(p),A.compose(w),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"b",(function(){return z})),n.d(e,"c",(function(){return it})),n.d(e,"d",(function(){return Z})),n.d(e,"e",(function(){return K})),n.d(e,"f",(function(){return ot})),n.d(e,"g",(function(){return J})),n.d(e,"h",(function(){return rt})),n.d(e,"i",(function(){return at})),n.d(e,"j",(function(){return H})),n.d(e,"k",(function(){return M})),n.d(e,"l",(function(){return j})),n.d(e,"m",(function(){return tt})),n.d(e,"n",(function(){return E})),n.d(e,"o",(function(){return D})),n.d(e,"p",(function(){return lt})),n.d(e,"q",(function(){return ct})),n.d(e,"r",(function(){return dt})),n.d(e,"s",(function(){return A})),n.d(e,"t",(function(){return gt})),n.d(e,"u",(function(){return _t})),n.d(e,"v",(function(){return vt})),n.d(e,"w",(function(){return B})),n.d(e,"x",(function(){return yt})),n.d(e,"y",(function(){return F})),n.d(e,"z",(function(){return bt}));var i=n(56),r=n(21),o=n(44),a=n(35),s=n(36),l=n(37),c=n(38),d=n(39),u=n(4),p=n(6),h=n(0),f=n(20),m=n(28),g=n(13),_=n.n(g),v=n(49),b=n(29),y=n(60),x=n(99),w=n(100),O=n.n(w);function k(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,o=t.shouldScroll,a=t.isFixedPosition,s=t.theme.spacing,l=Object(b.a)(n),c={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect().height,u=n.getBoundingClientRect(),p=u.bottom,h=u.height,f=u.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,_=Object(b.b)(l),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),x=m-y,w=g-f,O=x+_,k=d-_-f,C=p-g+_+v,E=_+f-y;switch(r){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:e};if(k>=h&&!a)return o&&Object(b.c)(l,C,160),{placement:"bottom",maxHeight:e};if(!a&&k>=i||a&&w>=i)return o&&Object(b.c)(l,C,160),{placement:"bottom",maxHeight:a?w-v:k-v};if("auto"===r||a){var S=e,j=a?x:O;return j>=i&&(S=Math.min(j-v-s.controlHeight,e)),{placement:"top",maxHeight:S}}if("bottom"===r)return Object(b.m)(l,C),{placement:"bottom",maxHeight:e};break;case"top":if(x>=h)return{placement:"top",maxHeight:e};if(O>=h&&!a)return o&&Object(b.c)(l,E,160),{placement:"top",maxHeight:e};if(!a&&O>=i||a&&x>=i){var $=e;return(!a&&O>=i||a&&x>=i)&&($=a?x-y:O-y),o&&Object(b.c)(l,E,160),{placement:"top",maxHeight:$}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var C=function(t){return"auto"===t?"bottom":t},E=function(t){var e,n=t.placement,i=t.theme,r=i.borderRadius,o=i.spacing,a=i.colors;return e={label:"menu"},Object(p.a)(e,function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),Object(p.a)(e,"backgroundColor",a.neutral0),Object(p.a)(e,"borderRadius",r),Object(p.a)(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(p.a)(e,"marginBottom",o.menuGutter),Object(p.a)(e,"marginTop",o.menuGutter),Object(p.a)(e,"position","absolute"),Object(p.a)(e,"width","100%"),Object(p.a)(e,"zIndex",1),e},S=function(t){function e(){var t,n;Object(a.a)(this,e);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return n=Object(l.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(r))),Object(p.a)(Object(u.a)(Object(u.a)(n)),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getPlacement",(function(t){var e=n.props,i=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=n.context.getPortalPlacement;if(t){var d="fixed"===a,u=k({maxHeight:r,menuEl:t,minHeight:i,placement:o,shouldScroll:s&&!d,isFixedPosition:d,theme:l});c&&c(u),n.setState(u)}})),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getUpdatedProps",(function(){var t=n.props.menuPlacement,e=n.state.placement||C(t);return Object(o.a)({},n.props,{placement:e,maxHeight:n.state.maxHeight})})),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),e}(h.Component);Object(p.a)(S,"contextTypes",{getPortalPlacement:_.a.func});var j=function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},$=function(t){var e=t.theme,n=e.spacing.baseUnit;return{color:e.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},A=$,M=$,P=function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("noOptionsMessage",t),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),e)};P.defaultProps={children:"No options"};var T=function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("loadingMessage",t),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},a),e)};T.defaultProps={children:"Loading..."};var D=function(t){var e=t.rect,n=t.offset,i=t.position;return{left:e.left,position:i,top:n,width:e.width,zIndex:1}},L=function(t){function e(){var t,n;Object(a.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(l.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(r))),Object(p.a)(Object(u.a)(Object(u.a)(n)),"state",{placement:null}),Object(p.a)(Object(u.a)(Object(u.a)(n)),"getPortalPlacement",(function(t){var e=t.placement;e!==C(n.props.menuPlacement)&&n.setState({placement:e})})),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var t=this.props,e=t.appendTo,n=t.children,i=t.controlElement,r=t.menuPlacement,o=t.menuPosition,a=t.getStyles,s="fixed"===o;if(!e&&!s||!i)return null;var l=this.state.placement||C(r),c=Object(b.g)(i),d=s?0:window.pageYOffset,u={offset:c[l]+d,position:o,rect:c},p=Object(f.c)("div",{css:a("menuPortal",u)},n);return e?Object(m.createPortal)(p,e):p}}]),e}(h.Component);Object(p.a)(L,"childContextTypes",{getPortalPlacement:_.a.func});var N=Array.isArray,I=Object.keys,R=Object.prototype.hasOwnProperty;function F(t,e){try{return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==Object(v.a)(e)&&"object"==Object(v.a)(n)){var i,r,o,a=N(e),s=N(n);if(a&&s){if((r=e.length)!=n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(a!=s)return!1;var l=e instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return e.getTime()==n.getTime();var d=e instanceof RegExp,u=n instanceof RegExp;if(d!=u)return!1;if(d&&u)return e.toString()==n.toString();var p=I(e);if((r=p.length)!==I(n).length)return!1;for(i=r;0!=i--;)if(!R.call(n,p[i]))return!1;for(i=r;0!=i--;)if(!("_owner"===(o=p[i])&&e.$$typeof||t(e[o],n[o])))return!1;return!0}return e!=e&&n!=n}(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}var z=function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}},B=function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},W=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,i=t.cx,r=t.isMulti,o=t.getStyles,a=t.hasValue;return Object(f.c)("div",{css:o("valueContainer",this.props),className:i({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a},n)},e)}}]),e}(h.Component),H=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};function Y(){var t=Object(x.a)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return Y=function(){return t},t}var U={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},G=function(t){var e=t.size,n=Object(i.a)(t,["size"]);return Object(f.c)("svg",Object(r.a)({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:U},n))},X=function(t){return Object(f.c)(G,Object(r.a)({size:20},t),Object(f.c)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},V=function(t){return Object(f.c)(G,Object(r.a)({size:20},t),Object(f.c)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},q=function(t){var e=t.isFocused,n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:e?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",":hover":{color:e?r.neutral80:r.neutral40}}},K=q,Z=q,J=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:e?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i,width:1}},Q=Object(f.d)(Y()),tt=function(t){var e=t.isFocused,n=t.size,i=t.theme,r=i.colors,o=i.spacing.baseUnit;return{label:"loadingIndicator",color:e?r.neutral60:r.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},et=function(t){var e=t.delay,n=t.offset;return Object(f.c)("span",{css:Object(y.a)({animation:"".concat(Q," 1s ease-in-out ").concat(e,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},nt=function(t){var e=t.className,n=t.cx,i=t.getStyles,o=t.innerProps,a=t.isRtl;return Object(f.c)("div",Object(r.a)({},o,{css:i("loadingIndicator",t),className:n({indicator:!0,"loading-indicator":!0},e)}),Object(f.c)(et,{delay:0,offset:a}),Object(f.c)(et,{delay:160,offset:!0}),Object(f.c)(et,{delay:320,offset:!a}))};nt.defaultProps={size:4};var it=function(t){var e=t.isDisabled,n=t.isFocused,i=t.theme,r=i.colors,o=i.borderRadius,a=i.spacing;return{label:"control",alignItems:"center",backgroundColor:e?r.neutral5:r.neutral0,borderColor:e?r.neutral10:n?r.primary:r.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(r.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},rt=function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}},ot=function(t){var e=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}},at=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing,r=n.colors;return{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:e?"hidden":"visible",color:r.neutral80}},st=function(t){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:t?0:1,outline:0,padding:0,color:"inherit"}},lt=function(t){var e=t.theme,n=e.spacing,i=e.borderRadius;return{label:"multiValue",backgroundColor:e.colors.neutral10,borderRadius:i/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ct=function(t){var e=t.theme,n=e.borderRadius,i=e.colors,r=t.cropWithEllipsis;return{borderRadius:n/2,color:i.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},dt=function(t){var e=t.theme,n=e.spacing,i=e.borderRadius,r=e.colors;return{alignItems:"center",borderRadius:i/2,backgroundColor:t.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},ut=function(t){var e=t.children,n=t.innerProps;return Object(f.c)("div",n,e)},pt=ut,ht=ut,ft=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.innerProps;return Object(f.c)("div",n,e||Object(f.c)(X,{size:14}))}}]),e}(h.Component),mt=function(t){function e(){return Object(a.a)(this,e),Object(l.a)(this,Object(c.a)(e).apply(this,arguments))}return Object(d.a)(e,t),Object(s.a)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.children,i=e.className,r=e.components,a=e.cx,s=e.data,l=e.getStyles,c=e.innerProps,d=e.isDisabled,u=e.removeProps,p=e.selectProps,h=r.Container,m=r.Label,g=r.Remove;return Object(f.c)(f.b,null,(function(e){var r=e.css,_=e.cx;return Object(f.c)(h,{data:s,innerProps:Object(o.a)({},c,{className:_(r(l("multiValue",t.props)),a({"multi-value":!0,"multi-value--is-disabled":d},i))}),selectProps:p},Object(f.c)(m,{data:s,innerProps:{className:_(r(l("multiValueLabel",t.props)),a({"multi-value__label":!0},i))},selectProps:p},n),Object(f.c)(g,{data:s,innerProps:Object(o.a)({className:_(r(l("multiValueRemove",t.props)),a({"multi-value__remove":!0},i))},u),selectProps:p}))}))}}]),e}(h.Component);Object(p.a)(mt,"defaultProps",{cropWithEllipsis:!0});var gt=function(t){var e=t.isDisabled,n=t.isFocused,i=t.isSelected,r=t.theme,o=r.spacing,a=r.colors;return{label:"option",backgroundColor:i?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:i?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!e&&(i?a.primary:a.primary50)}}},_t=function(t){var e=t.theme,n=e.spacing;return{label:"placeholder",color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},vt=function(t){var e=t.isDisabled,n=t.theme,i=n.spacing,r=n.colors;return{label:"singleValue",color:e?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2,maxWidth:"calc(100% - ".concat(2*i.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},bt={ClearIndicator:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({},a,{css:o("clearIndicator",t),className:i({indicator:!0,"clear-indicator":!0},n)}),e||Object(f.c)(X,null))},Control:function(t){var e=t.children,n=t.cx,i=t.getStyles,o=t.className,a=t.isDisabled,s=t.isFocused,l=t.innerRef,c=t.innerProps,d=t.menuIsOpen;return Object(f.c)("div",Object(r.a)({ref:l,css:i("control",t),className:n({control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":d},o)},c),e)},DropdownIndicator:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({},a,{css:o("dropdownIndicator",t),className:i({indicator:!0,"dropdown-indicator":!0},n)}),e||Object(f.c)(V,null))},DownChevron:V,CrossIcon:X,Group:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.Heading,s=t.headingProps,l=t.label,c=t.theme,d=t.selectProps;return Object(f.c)("div",{css:o("group",t),className:i({group:!0},n)},Object(f.c)(a,Object(r.a)({},s,{selectProps:d,theme:c,getStyles:o,cx:i}),l),Object(f.c)("div",null,e))},GroupHeading:function(t){var e=t.className,n=t.cx,a=t.getStyles,s=t.theme,l=(t.selectProps,Object(i.a)(t,["className","cx","getStyles","theme","selectProps"]));return Object(f.c)("div",Object(r.a)({css:a("groupHeading",Object(o.a)({theme:s},l)),className:n({"group-heading":!0},e)},l))},IndicatorsContainer:function(t){var e=t.children,n=t.className,i=t.cx,r=t.getStyles;return Object(f.c)("div",{css:r("indicatorsContainer",t),className:i({indicators:!0},n)},e)},IndicatorSeparator:function(t){var e=t.className,n=t.cx,i=t.getStyles,o=t.innerProps;return Object(f.c)("span",Object(r.a)({},o,{css:i("indicatorSeparator",t),className:n({"indicator-separator":!0},e)}))},Input:function(t){var e=t.className,n=t.cx,a=t.getStyles,s=t.innerRef,l=t.isHidden,c=t.isDisabled,d=t.theme,u=(t.selectProps,Object(i.a)(t,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Object(f.c)("div",{css:a("input",Object(o.a)({theme:d},u))},Object(f.c)(O.a,Object(r.a)({className:n({input:!0},e),inputRef:s,inputStyle:st(l),disabled:c},u)))},LoadingIndicator:nt,Menu:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerRef,s=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("menu",t),className:i({menu:!0},n)},s,{ref:a}),e)},MenuList:function(t){var e=t.children,n=t.className,i=t.cx,r=t.getStyles,o=t.isMulti,a=t.innerRef;return Object(f.c)("div",{css:r("menuList",t),className:i({"menu-list":!0,"menu-list--is-multi":o},n),ref:a},e)},MenuPortal:L,LoadingMessage:T,NoOptionsMessage:P,MultiValue:mt,MultiValueContainer:pt,MultiValueLabel:ht,MultiValueRemove:ft,Option:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,s=t.isFocused,l=t.isSelected,c=t.innerRef,d=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("option",t),className:i({option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":l},n),ref:c},d),e)},Placeholder:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("placeholder",t),className:i({placeholder:!0},n)},a),e)},SelectContainer:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.innerProps,s=t.isDisabled,l=t.isRtl;return Object(f.c)("div",Object(r.a)({css:o("container",t),className:i({"--is-disabled":s,"--is-rtl":l},n)},a),e)},SingleValue:function(t){var e=t.children,n=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,s=t.innerProps;return Object(f.c)("div",Object(r.a)({css:o("singleValue",t),className:i({"single-value":!0,"single-value--is-disabled":a},n)},s),e)},ValueContainer:W},yt=function(t){return Object(o.a)({},bt,t.components)}},function(t,n){t.exports=e},function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return g})),n.d(e,"h",(function(){return m})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return a})),n.d(e,"k",(function(){return l})),n.d(e,"l",(function(){return r})),n.d(e,"m",(function(){return u}));var i=n(49),r=function(){};function o(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}function a(t,e,n){var i=[n];if(e&&t)for(var r in e)e.hasOwnProperty(r)&&e[r]&&i.push("".concat(o(t,r)));return i.filter((function(t){return t})).map((function(t){return String(t).trim()})).join(" ")}var s=function(t){return Array.isArray(t)?t.filter(Boolean):"object"===Object(i.a)(t)&&null!==t?[t]:[]};function l(t,e,n){if(n){var i=n(t,e);if("string"==typeof i)return i}return t}function c(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function d(t){return c(t)?window.pageYOffset:t.scrollTop}function u(t,e){c(t)?window.scrollTo(0,e):t.scrollTop=e}function p(t){var e=getComputedStyle(t),n="absolute"===e.position,i=/(auto|scroll)/,r=document.documentElement;if("fixed"===e.position)return r;for(var o=t;o=o.parentElement;)if(e=getComputedStyle(o),(!n||"static"!==e.position)&&i.test(e.overflow+e.overflowY+e.overflowX))return o;return r}function h(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,o=d(t),a=e-o,s=10,l=0;function c(){var e=h(l+=s,o,a,n);u(t,e),l<n?window.requestAnimationFrame(c):i(t)}c()}function m(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?u(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&u(t,Math.max(e.offsetTop-r,0))}function g(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function _(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}}function v(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(16);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.text,_=t.timezone,v=t.timestamp,b=t.showDate,y=void 0===b||b,x=t.showUser,w=void 0!==x&&x,O=t.hideUpdated,k=void 0!==O&&O,C=t.showTimezone,E=void 0!==C&&C,S=t.variant,j=void 0===S?"default":S,$=Object(s.a)(o),A=Object(s.c)(m),M=a()(Object(s.b)("pb_timestamp_kit",n,{dark:h,variant:j}),Object(l.c)(t),u),P=(new Date).getFullYear().toString(),T="".concat(c.a.toMonth(v,_)," ").concat(c.a.toDay(v,_)),D=1==w&&g.length>0,L=1==E&&_.length>0,N=k?"":"Last updated",I=D?" by ".concat(g):"",R="".concat(c.a.toHour(v,_),":").concat(c.a.toMinute(v,_)).concat(c.a.toMeridiem(v,_)),F=function(){return L&&(R="".concat(R," ").concat(c.a.toTimeZone(v,_))),R};return r.a.createElement("div",Object.assign({},$,A,{className:M}),r.a.createElement("div",{className:"pb_timestamp_kit"},r.a.createElement(d.a,{dark:h,size:"xs",text:function(){switch(j){case"updated":return"Last updated ".concat(I," on ").concat(T," at ").concat(R);case"elapsed":return"".concat(N," ").concat(I," ").concat(c.a.fromNow(v));default:return y?v?(t="".concat(c.a.toMonth(v,_)," ").concat(c.a.toDay(v,_)),c.a.toYear(v,_).toString()!==P&&(t="".concat(t,", ").concat(c.a.toYear(v,_))),"".concat(t," "," · "," ").concat(F())):g:F()}var t}()})))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=function(t){var e,n=t.aria,i=void 0===n?{}:n,o=t.children,c=t.className,d=t.collapse,u=void 0===d?"md":d,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.full,_=void 0!==g&&g,v=t.position,b=void 0===v?"left":v,y=t.responsive,x=void 0!==y&&y,w=t.size,O=void 0===w?"md":w,k=t.layout,C=void 0===k?"sidebar":k,E=t.variant,S=void 0===E?"light":E,j=t.transparent,$=void 0!==j&&j,A=x?"_responsive":"",M=Object(s.a)(i),P=Object(s.c)(m),T="collection"==C?"pb_layout_kit_".concat(C):"kanban"==C?"pb_layout_kit_".concat(C).concat(A):Object(s.b)("pb_layout_kit_".concat(C),"size_".concat(O),b,S,{dark:h,transparent:$,full:_}),D="collection"==C||"kanban"==C?"":Object(s.b)("layout",b,"collapse",u),L=r.a.Children.toArray(o),N=L.filter((function(t){var e;return"Side"!==(null===(e=t.type)||void 0===e?void 0:e.displayName)})),I=Object.assign({},t);return null==I||delete I.position,r.a.createElement("div",Object.assign({},M,P,{className:a()(T,D,c,Object(l.c)(I))}),(e="Side",L.filter((function(t){var n;return(null===(n=t.type)||void 0===n?void 0:n.displayName)===e})).map((function(t,n){return r.a.cloneElement(t,{key:"".concat(e.toLowerCase(),"-").concat(n)})}))),N)};c.Side=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_sidebar",Object(l.c)(t),n)},e)},c.Body=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_body",Object(l.c)(t),n)},e)},c.Item=function(t){var e=t.children,n=t.className,i=t.size,o="size_".concat(void 0===i?"sm":i);return r.a.createElement("div",{className:a()("layout_item",o,Object(l.c)(t),n)},e)},c.Header=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_header",Object(l.c)(t),n)},e)},c.Footer=function(t){var e=t.children,n=t.className;return r.a.createElement("div",{className:a()("layout_footer",Object(l.c)(t),n)},e)},e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var i=Math.max,r=Math.min,o=Math.round},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(160),d=n(7),u=n(16),p=n(12);e.a=function(t){t.plugins&&Object(l.a)("Date Picker",["plugins"]);var e=t.allowInput,n=void 0!==e&&e,o=t.aria,h=void 0===o?{}:o,f=t.className,m=t.dark,g=void 0!==m&&m,_=t.data,v=void 0===_?{}:_,b=t.defaultDate,y=void 0===b?"":b,x=t.disableDate,w=void 0===x?null:x,O=t.disableInput,k=t.disableRange,C=void 0===k?null:k,E=t.disableWeekdays,S=void 0===E?null:E,j=t.enableTime,$=void 0!==j&&j,A=t.error,M=t.format,P=void 0===M?"m/d/Y":M,T=t.hideIcon,D=void 0!==T&&T,L=t.hideLabel,N=void 0!==L&&L,I=t.id,R=t.inLine,F=void 0!==R&&R,z=t.inputAria,B=void 0===z?{}:z,W=t.inputData,H=void 0===W?{}:W,Y=t.inputOnChange,U=t.inputValue,G=t.label,X=void 0===G?"Date Picker":G,V=t.maxDate,q=t.minDate,K=t.mode,Z=void 0===K?"single":K,J=t.name,Q=t.onChange,tt=void 0===Q?function(){}:Q,et=t.onClose,nt=t.pickerId,it=t.placeholder,rt=void 0===it?"Select Date":it,ot=t.plugins,at=void 0!==ot&&ot,st=t.position,lt=t.positionElement,ct=t.scrollContainer,dt=t.selectionType,ut=void 0===dt?"":dt,pt=t.showTimezone,ht=void 0!==pt&&pt,ft=t.staticPosition,mt=void 0===ft||ft,gt=t.thisRangesEndToday,_t=void 0!==gt&&gt,vt=t.yearRange,bt=void 0===vt?[1900,2100]:vt,yt=Object(s.a)(h),xt=Object(s.c)(v),wt=Object(s.a)(B),Ot=Object(s.c)(H);Object(i.useEffect)((function(){Object(c.a)({allowInput:n,defaultDate:y,disableDate:w,disableRange:C,disableWeekdays:S,enableTime:$,format:P,hideIcon:D,inLine:F,maxDate:V,minDate:q,mode:Z,onChange:tt,onClose:et,pickerId:nt,plugins:at,position:st,positionElement:lt,selectionType:ut,showTimezone:ht,staticPosition:mt,thisRangesEndToday:_t,yearRange:bt,required:!1},ct)}));var kt=Object.assign({},t);null==kt||delete kt.position;var Ct=a()(Object(s.b)("pb_date_picker_kit"),Object(l.c)(kt),A?"error":null,f),Et=function(){var t="cal_icon_wrapper";return g&&(t+=" dark"),N&&(t+=" no_label_shift"),A&&(t+=" error"),t};return r.a.createElement("div",Object.assign({},yt,xt,{className:Ct,id:I}),r.a.createElement("div",Object.assign({},wt,Ot,{className:"input_wrapper"}),r.a.createElement(u.a,{className:"pb_date_picker_kit_label",text:N?null:X}),r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"date_picker_input_wrapper"},r.a.createElement("input",{autoComplete:"off",className:"date_picker_input",disabled:O,id:nt,name:J,onChange:Y,placeholder:rt,value:U}),A&&r.a.createElement(p.a,{status:"negative",text:A,variant:null})),!D&&r.a.createElement("div",{className:Et(),id:"cal-icon-".concat(nt)},r.a.createElement(d.a,{className:"cal_icon",icon:"calendar-alt"})),D&&F?r.a.createElement("div",null,r.a.createElement("div",{className:Et(),id:"".concat(nt,"-icon-plus")},r.a.createElement(d.a,{className:"date-picker-plus-icon",icon:"plus"})),r.a.createElement("div",{className:Et(),id:"".concat(nt,"-angle-down")},r.a.createElement(d.a,{className:"angle_down_icon",icon:"angle-down"}))):null)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(42),d=n(123);function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,p=t.data,h=void 0===p?{}:p,f=t.name,m=void 0===f?null:f,g=t.id,_=void 0===g?"":g,v=t.imageAlt,b=void 0===v?"":v,y=t.imageUrl,x=t.size,w=void 0===x?"md":x,O=t.status,k=void 0===O?null:O,C=t.dark,E=void 0!==C&&C,S=Object(s.c)(h),j=Object(s.a)(n),$=a()(Object(s.b)("pb_avatar_kit","size_".concat(w)),Object(l.c)(t),o),A=m&&function(t){return t.split(/\s/).map((function(t){return t[0]})).join("").substring(0,2)}(m);S["data-initials"]=A;var M=u(Object(i.useState)(!1),2),P=M[0],T=M[1],D=y&&!P;return r.a.createElement("div",Object.assign({},j,S,{className:$,id:_}),r.a.createElement("div",{className:"avatar_wrapper","data-initials":A},D&&r.a.createElement(c.a,{alt:b||m,onError:function(){return T(!0)},url:y})),k&&r.a.createElement(d.a,{className:"size_".concat(w),dark:E,status:k}))}},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(147);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Object(i.a)(r.key),r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(49),r=n(4);function o(t,e){if(e&&("object"===Object(i.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(t)}},function(t,e,n){"use strict";function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(145);function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Object(i.a)(t,e)}},function(t,e,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(10),d=n(17),u=n(16),p=n(12),h=n(7),f=function(t,e){var n=t.addOn,i=void 0===n?{icon:null,alignment:"right",border:!0}:n,o=t.aria,f=void 0===o?{}:o,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=t.error,w=t.id,O=t.inline,k=void 0!==O&&O,C=t.name,E=t.label,S=t.onChange,j=void 0===S?function(){}:S,$=t.placeholder,A=t.required,M=t.type,P=void 0===M?"text":M,T=t.value,D=void 0===T?"":T,L=t.children,N=void 0===L?null:L,I=Object(l.a)(f),R=Object(l.c)(b),F=i.alignment,z=i.border,B=i.icon,W="left"===F?"left":"right",H=!1===z?"off":"on",Y="border_".concat("left"===W?"right":"left","_").concat(H),U=null!==B,G=U?"text_input_wrapper_add_on":"",X=U&&_?"add-on-card-dark":"",V=a()(["pb_text_input_kit",k?"inline":"",x?"error":"",Object(s.c)(t),m]),q=r.a.createElement(h.a,{className:"add-on-icon",dark:_,fixedWidth:!1,icon:B}),K=r.a.createElement("input",Object.assign({},Object(s.b)(t),{className:"text_input",disabled:y,id:w,key:w,name:C,onChange:j,placeholder:$,ref:e,required:A,type:P,value:D})),Z=r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"add-on-".concat(W," ").concat(Y),vertical:"center"},"left"==W&&r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"".concat(X," add-on-card card-left-aligned"),dark:_},q),K),"left"!=W&&r.a.createElement(r.a.Fragment,null,K,r.a.createElement(d.a,{className:"".concat(X," add-on-card card-right-aligned"),dark:_},q)))),J=N||(U?Z:K);return r.a.createElement("div",Object.assign({},I,R,{className:V}),E&&r.a.createElement(u.a,{className:"pb_text_input_kit_label",text:E}),r.a.createElement("div",{className:"".concat(G," text_input_wrapper")},J,x&&r.a.createElement(p.a,{status:"negative",text:x,variant:null})))};e.a=Object(i.forwardRef)(f)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,c=t.className,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.onError,f=void 0===h?null:h,m=t.rounded,g=void 0!==m&&m,_=t.size,v=void 0===_?"":_,b=t.transition,y=void 0===b?"fade":b,x=t.url,w=void 0===x?"":x,O=Object(l.a)(o),k=a()(Object(l.b)("pb_image_kit",v?"size_".concat(v):null),"lazyload",y,{rounded:g},Object(s.c)(t),c),C=Object(l.c)(u);return r.a.createElement("img",Object.assign({},O,C,{alt:n,className:k,"data-src":w,id:p,onError:f,src:w}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[0]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(6);function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?Object(arguments[e]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach((function(e){Object(i.a)(t,e,n[e])}))}return t}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(157);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.children,d=t.className,u=t.collapse,p=void 0===u?"sm":u,h=t.container,f=void 0===h||h,m=t.dark,g=t.data,_=void 0===g?{}:g,v=t.dataTable,b=void 0!==v&&v,y=t.disableHover,x=void 0!==y&&y,w=t.id,O=t.responsive,k=void 0===O?"collapse":O,C=t.singleLine,E=void 0!==C&&C,S=t.size,j=void 0===S?"sm":S,$=t.sticky,A=void 0!==$&&$,M=t.verticalBorder,P=void 0!==M&&M,T=Object(s.a)(n),D=Object(s.c)(_),L="none"!==k?"table-collapse-".concat(p):"",N=P?"vertical-border":"";return Object(i.useEffect)((function(){(new c.a).connect()}),[]),r.a.createElement("table",Object.assign({},T,D,{className:a()("pb_table","table-".concat(j),"table-responsive-".concat(k),{"table-card":f,"table-dark":m,data_table:b,"single-line":E,"no-hover":x,"sticky-header":A},Object(l.c)(t),L,N,d),id:w}),o)}},function(t,e,n){"use strict";function i(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.tabIndex,h=Object(s.a)(n),f=Object(s.c)(d),m=a()(Object(s.b)("pb_item_kit"),Object(l.c)(t),o);return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",Object.assign({},h,f,{className:m,id:u,tabIndex:p}),i))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(23),d=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,u=t.data,p=void 0===u?{}:u,h=t.disabled,f=t.icon,m=t.id,g=t.onClick,_=void 0===g?s.d:g,v=t.type,b=t.link,y=t.newWindow,x=t.variant,w=Object(s.a)(n),O=Object(s.c)(p),k=a()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:m}),r.a.createElement(c.a,{dark:o,disabled:h,htmlType:v,link:b,newWindow:y,onClick:_,text:null,variant:x},r.a.createElement(d.a,{fixedWidth:!0,icon:f})))}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,d=t.children,u=t.className,p=t.data,h=void 0===p?{}:p,f=t.dark,m=void 0!==f&&f,g=t.highlight,_=void 0===g||g,v=t.id,b=t.link,y=void 0===b?"#":b,x=t.onClick,w=void 0===x?function(){}:x,O=t.orientation,k=void 0===O?"vertical":O,C=t.title,E=void 0===C?"":C,S=t.variant,j=void 0===S?"normal":S,$=Object(s.a)(n),A=Object(s.c)(h),M=a()(Object(s.b)("pb_nav_list",j,k,{highlight:_,borderless:o}),Object(l.c)(t),u);return r.a.createElement("nav",Object.assign({},$,A,{className:M,id:v}),E&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:y,onClick:w},r.a.createElement(c.a,{dark:m,size:"md",text:"".concat(E)}))),r.a.createElement("ul",null,d))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(24);function r(t){return((Object(i.a)(t)?t.ownerDocument:t.document)||window.document).documentElement}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.closeProps,d=void 0===o?{}:o,u=t.data,p=void 0===u?{}:u,h=t.id,f=t.removeIcon,m=void 0!==f&&f,g=t.removeOnClick,_=t.rounded,v=void 0!==_&&_,b=t.text,y=t.variant,x=void 0===y?"neutral":y,w=Object(l.a)(n),O=Object(l.c)(p),k=a()(Object(l.b)("pb_badge_kit","success"===x?"success_sm":x,v?"rounded":null),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:h}),r.a.createElement("span",null,b,m&&r.a.createElement("span",Object.assign({onClick:g,style:{cursor:"pointer"}},d),r.a.createElement(c.a,{fixedWidth:!0,icon:"times"}))))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(8),r=n.n(i),o=n(9),a=n.n(o),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.bg_dark],[1,r.a.bg_dark]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{type:"area",nullColor:r.a.text_lt_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_lt_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(a.a.text_small),fontWeight:a.a.bold,fontFamily:"".concat(a.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var i=n(22),r=function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},o=function(t){return Object(i.isEmpty)(t)?t:t.split(" ").map(r).join(" ")},a=function(t){return!Object(i.isEmpty)(t)},s=function(t,e){return Object(i.filter)(t,a).join(e)},l=function(t){return t.split(/([A-Z])/g).map((function(t,e){var n=e>0?"_":"";return t===t.toLowerCase()?t:n+t.toLowerCase()})).join("")}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,d=t.data,u=void 0===d?{}:d,p=t.id,h=t.lineStyle,f=void 0===h?"solid":h,m=t.orientation,g=void 0===m?"horizontal":m,_=t.text,v=t.dark,b=void 0!==v&&v,y=t.variant,x=void 0===y?"card":y,w=Object(s.a)(n),O=Object(s.c)(u),k=a()(Object(s.b)("pb_section_separator_kit",x,g,"dashed"===f?f:""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},w,O,{className:k,id:p}),i&&i||_&&r.a.createElement("span",null,r.a.createElement(c.a,{text:_,dark:b})))}},function(t,e,n){"use strict";function i(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(40);function r(t){return Object(i.a)(t).getComputedStyle(t)}},function(t,e,n){"use strict";function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(r=i.key,o=void 0,"symbol"==typeof(o=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"))?o:String(o)),i)}var r,o}n.d(e,"a",(function(){return u}));var s=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;o(this,t),this.matchDelegate=e,this.target=n}var e,n,r;return e=t,(n=[{key:"mutationObserver",get:function(){var t=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(e){return t.processMutationList(e)}))}},{key:"start",value:function(){this.mutationObserver.observe(this.target,{attributes:!0,childList:!0,subtree:!0}),this.catchup()}},{key:"stop",value:function(){this.mutationObserverdisconnect()}},{key:"catchup",value:function(){this.handleAdditions(this.matchDelegate.matches(this.target))}},{key:"processMutationList",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAttributeChange",value:function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=this.matchDelegate.matches(t);if(0===e.length)return this.matchDelegate.removeMatch(t);this.handleAdditions(e)}}},{key:"processRemovedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAddedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleRemovals",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.removeMatch(r)}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleAdditions",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.addMatch(r)}}catch(t){n.e(t)}finally{n.f()}}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(r=i.key,o=void 0,"symbol"==typeof(o=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"))?o:String(o)),i)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e}var e,n,i;return e=t,i=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new s(this)}},{key:"selector",get:function(){return console.warn("Define a static property for selector or redefine the matches function in a subclass.",this),null}},{key:"matches",value:function(t){if(!this.selector)return[];var e=[];return t.nodeType===Node.ELEMENT_NODE&&t.matches(this.selector)&&e.push(t),e.push.apply(e,l(t.querySelectorAll(this.selector))),e}},{key:"addMatch",value:function(t){if(!t._pbEnhanced&&!this.elements.has(t)){var e=new this(t);e.connect(),this.elements.set(t,e),t._pbEnhanced=e}}},{key:"removeMatch",value:function(t){this.elements.has(t)&&(this.elements.get(t).disconnect(),this.elements.delete(t))}},{key:"start",value:function(){this.observer.start()}},{key:"stop",value:function(){this.mutationObserver.stop()}}],(n=[{key:"connect",value:function(){console.warn("Redefine the connect function in a subclass.",this)}},{key:"disconnect",value:function(){}}])&&d(e.prototype,n),i&&d(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(16),u=n(14);function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var f={lg:1,md:3,sm:4};e.a=function(t){var e,n=t.abbreviate,i=void 0!==n&&n,o=t.align,h=void 0===o?"left":o,m=t.aria,g=void 0===m?{}:m,_=t.amount,v=t.data,b=void 0===v?{}:v,y=t.decimals,x=void 0===y?"default":y,w=t.emphasized,O=void 0===w||w,k=t.id,C=t.unit,E=t.className,S=t.label,j=void 0===S?"":S,$=t.size,A=void 0===$?"sm":$,M=t.symbol,P=void 0===M?"$":M,T=t.variant,D=void 0===T?"default":T,L=t.dark,N=void 0!==L&&L,I=O?"":"_deemphasized";"sm"===A&&("light"===D?e="_light":"bold"===D&&(e="_bold"));var R=p(_.split("."),2),F=R[0],z=R[1],B=void 0===z?"00":z,W=Object(l.a)(g),H=Object(l.c)(b),Y=a()(Object(l.b)("pb_currency_kit",h,A),Object(s.c)(t),E),U=function(t){var e,n="".concat((e=F.split(",").join(""),new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(e))),i="unit"===t;return"amount"===t?n.slice(0,-1):i?n.slice(-1):""},G="matching"===x?_:F,X="matching"===x?"":".".concat(B),V=i?U("amount"):G,q=i?U("unit"):null,K=i?"":X;return r.a.createElement("div",Object.assign({},W,H,{className:Y,id:k}),r.a.createElement(d.a,null,j),r.a.createElement("div",{className:"pb_currency_wrapper".concat(e||I)},r.a.createElement(c.a,{className:"dollar_sign",color:"light",dark:N},P),r.a.createElement(u.a,{className:"pb_currency_value",dark:N,size:f[A]},V),r.a.createElement(c.a,{className:"unit",color:"light",dark:N},q,C?r.a.createElement(r.a.Fragment,null,C):r.a.createElement(r.a.Fragment,null,K))))}},function(t,e,n){"use strict";var i=n(85);e.a=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Object(i.a)(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return Z}));var i=n(56),r=n(21),o=n(79),a=n(44),s=n(35),l=n(36),c=n(37),d=n(38),u=n(39),p=n(4),h=n(6),f=n(0),m=n.n(f),g=n(88),_=n(20),v=n(28),b=n(29),y=n(27),x=n(60),w=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],O=function(t){for(var e=0;e<w.length;e++)t=t.replace(w[e].letters,w[e].base);return t},k=function(t){return t.replace(/^\s+|\s+$/g,"")},C=function(t){return"".concat(t.label," ").concat(t.value)},E={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},S=function(t){return Object(_.c)("span",Object(r.a)({css:E},t))},j=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=(t.in,t.out,t.onExited,t.appear,t.enter,t.exit,t.innerRef),n=(t.emotion,Object(i.a)(t,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Object(_.c)("input",Object(r.a)({ref:e},n,{css:Object(x.a)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}}]),e}(f.Component),$=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(v.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),e}(f.Component),A=["boxSizing","height","overflow","paddingRight","position"],M={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function P(t){t.preventDefault()}function T(t){t.stopPropagation()}function D(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function L(){return"ontouchstart"in window||navigator.maxTouchPoints}var N=!(!window.document||!window.document.createElement),I=0,R=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"originalStyles",{}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"listenerOptions",{capture:!1,passive:!1}),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){var t=this;if(N){var e=this.props,n=e.accountForScrollbars,i=e.touchScrollTarget,r=document.body,o=r&&r.style;if(n&&A.forEach((function(e){var n=o&&o[e];t.originalStyles[e]=n})),n&&I<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+a||0;Object.keys(M).forEach((function(t){var e=M[t];o&&(o[t]=e)})),o&&(o.paddingRight="".concat(l,"px"))}r&&L()&&(r.addEventListener("touchmove",P,this.listenerOptions),i&&(i.addEventListener("touchstart",D,this.listenerOptions),i.addEventListener("touchmove",T,this.listenerOptions))),I+=1}}},{key:"componentWillUnmount",value:function(){var t=this;if(N){var e=this.props,n=e.accountForScrollbars,i=e.touchScrollTarget,r=document.body,o=r&&r.style;I=Math.max(I-1,0),n&&I<1&&A.forEach((function(e){var n=t.originalStyles[e];o&&(o[e]=n)})),r&&L()&&(r.removeEventListener("touchmove",P,this.listenerOptions),i&&(i.removeEventListener("touchstart",D,this.listenerOptions),i.removeEventListener("touchmove",T,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),e}(f.Component);Object(h.a)(R,"defaultProps",{accountForScrollbars:!0});var F={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},z=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"state",{touchScrollTarget:null}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(t){t!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.isEnabled,i=this.state.touchScrollTarget;return n?Object(_.c)("div",null,Object(_.c)("div",{onClick:this.blurSelectInput,css:F}),Object(_.c)($,{innerRef:this.getScrollTarget},e),i?Object(_.c)(R,{touchScrollTarget:i}):null):e}}]),e}(f.PureComponent),B=function(t){function e(){var t,n;Object(s.a)(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return n=Object(c.a)(this,(t=Object(d.a)(e)).call.apply(t,[this].concat(r))),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isBottom",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isTop",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"scrollTarget",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"touchStart",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"cancelScroll",(function(t){t.preventDefault(),t.stopPropagation()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"handleEventDelta",(function(t,e){var i=n.props,r=i.onBottomArrive,o=i.onBottomLeave,a=i.onTopArrive,s=i.onTopLeave,l=n.scrollTarget,c=l.scrollTop,d=l.scrollHeight,u=l.clientHeight,p=n.scrollTarget,h=e>0,f=d-u-c,m=!1;f>e&&n.isBottom&&(o&&o(t),n.isBottom=!1),h&&n.isTop&&(s&&s(t),n.isTop=!1),h&&e>f?(r&&!n.isBottom&&r(t),p.scrollTop=d,m=!0,n.isBottom=!0):!h&&-e>c&&(a&&!n.isTop&&a(t),p.scrollTop=0,m=!0,n.isTop=!0),m&&n.cancelScroll(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onWheel",(function(t){n.handleEventDelta(t,t.deltaY)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(t){n.touchStart=t.changedTouches[0].clientY})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(t){var e=n.touchStart-t.changedTouches[0].clientY;n.handleEventDelta(t,e)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(t){n.scrollTarget=t})),n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(t){t&&("function"==typeof t.addEventListener&&t.addEventListener("wheel",this.onWheel,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(t){"function"==typeof t.removeEventListener&&t.removeEventListener("wheel",this.onWheel,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return m.a.createElement($,{innerRef:this.getScrollTarget},this.props.children)}}]),e}(f.Component),W=function(t){function e(){return Object(s.a)(this,e),Object(c.a)(this,Object(d.a)(e).apply(this,arguments))}return Object(u.a)(e,t),Object(l.a)(e,[{key:"render",value:function(){var t=this.props,e=t.isEnabled,n=Object(i.a)(t,["isEnabled"]);return e?m.a.createElement(B,n):this.props.children}}]),e}(f.Component);Object(h.a)(W,"defaultProps",{isEnabled:!0});var H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isSearchable,i=e.isMulti,r=e.label,o=e.isDisabled;switch(t){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(r||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Y=function(t,e){var n=e.value,i=e.isDisabled;if(n)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,i?" is disabled. Select another option.":", selected.")}},U=function(t){return!!t.isDisabled},G={clearIndicator:y.d,container:y.b,control:y.c,dropdownIndicator:y.e,group:y.h,groupHeading:y.f,indicatorsContainer:y.j,indicatorSeparator:y.g,input:y.i,loadingIndicator:y.m,loadingMessage:y.k,menu:y.n,menuList:y.l,menuPortal:y.o,multiValue:y.p,multiValueLabel:y.q,multiValueRemove:y.r,noOptionsMessage:y.s,option:y.t,placeholder:y.u,singleValue:y.v,valueContainer:y.w};var X,V={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},q={backspaceRemovesValue:!0,blurInputOnSelect:Object(b.i)(),captureMenuScroll:!Object(b.i)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){var n=Object(a.a)({ignoreCase:!0,ignoreAccents:!0,stringify:C,trim:!0,matchFrom:"any"},X),i=n.ignoreCase,r=n.ignoreAccents,o=n.stringify,s=n.trim,l=n.matchFrom,c=s?k(e):e,d=s?k(o(t)):o(t);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),r&&(c=O(c),d=O(d)),"start"===l?d.substr(0,c.length)===c:d.indexOf(c)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:U,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(b.d)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},K=1,Z=function(t){function e(t){var n;Object(s.a)(this,e),n=Object(c.a)(this,Object(d.a)(e).call(this,t)),Object(h.a)(Object(p.a)(Object(p.a)(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blockOptionHover",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"isComposing",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"clearFocusValueOnUpdate",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"commonProps",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"components",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"hasGroups",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"initialTouchX",0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"initialTouchY",0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"inputIsHiddenAfterUpdate",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"instancePrefix",""),Object(h.a)(Object(p.a)(Object(p.a)(n)),"openAfterFocus",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"scrollToFocusedOptionOnUpdate",!1),Object(h.a)(Object(p.a)(Object(p.a)(n)),"userIsDragging",void 0),Object(h.a)(Object(p.a)(Object(p.a)(n)),"controlRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getControlRef",(function(t){n.controlRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"focusedOptionRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getFocusedOptionRef",(function(t){n.focusedOptionRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"menuListRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getMenuListRef",(function(t){n.menuListRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"inputRef",null),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getInputRef",(function(t){n.inputRef=t})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"cacheComponents",(function(t){n.components=Object(y.x)({components:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"focus",n.focusInput),Object(h.a)(Object(p.a)(Object(p.a)(n)),"blur",n.blurInput),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onChange",(function(t,e){var i=n.props,r=i.onChange,o=i.name;r(t,Object(a.a)({},e,{name:o}))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"setValue",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",i=arguments.length>2?arguments[2]:void 0,r=n.props,o=r.closeMenuOnSelect,a=r.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(t,{action:e,option:i})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"selectOption",(function(t){var e=n.props,i=e.blurInputOnSelect,r=e.isMulti,a=n.state.selectValue;if(r)if(n.isOptionSelected(t,a)){var s=n.getOptionValue(t);n.setValue(a.filter((function(t){return n.getOptionValue(t)!==s})),"deselect-option",t),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(t)}})}else n.isOptionDisabled(t,a)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t),isDisabled:!0}}):(n.setValue([].concat(Object(o.a)(a),[t]),"select-option",t),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}}));else n.isOptionDisabled(t,a)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t),isDisabled:!0}}):(n.setValue(t,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}}));i&&n.blurInput()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"removeValue",(function(t){var e=n.state.selectValue,i=n.getOptionValue(t),r=e.filter((function(t){return n.getOptionValue(t)!==i}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:t}),n.announceAriaLiveSelection({event:"remove-value",context:{value:t?n.getOptionLabel(t):""}}),n.focusInput()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"clearValue",(function(){var t=n.props.isMulti;n.onChange(t?[]:null,{action:"clear"})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"popValue",(function(){var t=n.state.selectValue,e=t[t.length-1],i=t.slice(0,t.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:e?n.getOptionLabel(e):""}}),n.onChange(i.length?i:null,{action:"pop-value",removedValue:e})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getOptionLabel",(function(t){return n.props.getOptionLabel(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getOptionValue",(function(t){return n.props.getOptionValue(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getStyles",(function(t,e){var i=G[t](e);i.boxSizing="border-box";var r=n.props.styles[t];return r?r(i,e):i})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getElementId",(function(t){return"".concat(n.instancePrefix,"-").concat(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"getActiveDescendentId",(function(){var t=n.props.menuIsOpen,e=n.state,i=e.menuOptions,r=e.focusedOption;if(r&&t){var o=i.focusable.indexOf(r),a=i.render[o];return a&&a.key}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveSelection",(function(t){var e=t.event,i=t.context;n.setState({ariaLiveSelection:Y(e,i)})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveContext",(function(t){var e=t.event,i=t.context;n.setState({ariaLiveContext:H(e,Object(a.a)({},i,{label:n.props["aria-label"]}))})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseDown",(function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),n.focusInput())})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseMove",(function(t){n.blockOptionHover=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onControlMouseDown",(function(t){var e=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==t.target.tagName&&n.onMenuClose():e&&n.openMenu("first"):(e&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==t.target.tagName&&t.preventDefault()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorMouseDown",(function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||n.props.isDisabled)){var e=n.props,i=e.isMulti,r=e.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!i,n.onMenuClose()):n.openMenu("first"),t.preventDefault(),t.stopPropagation()}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorMouseDown",(function(t){t&&"mousedown"===t.type&&0!==t.button||(n.clearValue(),t.stopPropagation(),n.openAfterFocus=!1,"touchend"===t.type?n.focusInput():setTimeout((function(){return n.focusInput()})))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onScroll",(function(t){"boolean"==typeof n.props.closeMenuOnScroll?t.target instanceof HTMLElement&&Object(b.e)(t.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(t)&&n.props.onMenuClose()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onCompositionStart",(function(){n.isComposing=!0})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onCompositionEnd",(function(){n.isComposing=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(t){var e=t.touches.item(0);e&&(n.initialTouchX=e.clientX,n.initialTouchY=e.clientY,n.userIsDragging=!1)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(t){var e=t.touches.item(0);if(e){var i=Math.abs(e.clientX-n.initialTouchX),r=Math.abs(e.clientY-n.initialTouchY);n.userIsDragging=i>5||r>5}})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onTouchEnd",(function(t){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(t.target)&&n.menuListRef&&!n.menuListRef.contains(t.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onControlTouchEnd",(function(t){n.userIsDragging||n.onControlMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorTouchEnd",(function(t){n.userIsDragging||n.onClearIndicatorMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorTouchEnd",(function(t){n.userIsDragging||n.onDropdownIndicatorMouseDown(t)})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"handleInputChange",(function(t){var e=t.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(e,{action:"input-change"}),n.onMenuOpen()})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onInputFocus",(function(t){var e=n.props,i=e.isSearchable,r=e.isMulti;n.props.onFocus&&n.props.onFocus(t),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:i,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onInputBlur",(function(t){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(t),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onOptionHover",(function(t){n.blockOptionHover||n.state.focusedOption===t||n.setState({focusedOption:t})})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"shouldHideSelectedOptions",(function(){var t=n.props,e=t.hideSelectedOptions,i=t.isMulti;return void 0===e?i:e})),Object(h.a)(Object(p.a)(Object(p.a)(n)),"onKeyDown",(function(t){var e=n.props,i=e.isMulti,r=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,l=e.isDisabled,c=e.menuIsOpen,d=e.onKeyDown,u=e.tabSelectsValue,p=e.openMenuOnFocus,h=n.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof d&&(d(t),t.defaultPrevented))){switch(n.blockOptionHover=!0,t.key){case"ArrowLeft":if(!i||a)return;n.focusValue("previous");break;case"ArrowRight":if(!i||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)n.removeValue(m);else{if(!r)return;i?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(t.shiftKey||!c||!u||!f||p&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===t.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&o&&n.clearValue();break;case" ":if(a)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}t.preventDefault()}}));var i=t.value;n.cacheComponents=Object(g.a)(n.cacheComponents,y.y).bind(Object(p.a)(Object(p.a)(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++K);var r=Object(b.f)(i),l=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=l,n.state.selectValue=r,n}return Object(u.a)(e,t),Object(l.a)(e,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=this.props,n=e.options,i=e.value,r=e.menuIsOpen,o=e.inputValue;if(this.cacheComponents(t.components),t.value!==i||t.options!==n||t.menuIsOpen!==r||t.inputValue!==o){var a=Object(b.f)(t.value),s=t.menuIsOpen?this.buildMenuOptions(t,a):{render:[],focusable:[]},l=this.getNextFocusedValue(a),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:a,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,i=e.menuIsOpen,r=this.state.isFocused;(r&&!n&&t.isDisabled||r&&i&&!t.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&Object(b.h)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var t=this.props,e=t.isSearchable,n=t.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:e,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this.state,n=e.menuOptions,i=e.selectValue,r=e.isFocused,o=this.props.isMulti,a="first"===t?0:n.focusable.length-1;if(!o){var s=n.focusable.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(t){var e=this.props,n=e.isMulti,i=e.isSearchable,r=this.state,o=r.selectValue,a=r.focusedValue;if(n){this.setState({focusedOption:null});var s=o.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=o.length-1,c=-1;if(o.length){switch(t){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:i,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state,i=n.focusedOption,r=n.menuOptions,o=r.focusable;if(o.length){var a=0,s=o.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===t?a=s>0?s-1:o.length-1:"down"===t?a=(s+1)%o.length:"pageup"===t?(a=s-e)<0&&(a=0):"pagedown"===t?(a=s+e)>o.length-1&&(a=o.length-1):"last"===t&&(a=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:U(o[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(V):Object(a.a)({},V,this.props.theme):V}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.getStyles,n=this.setValue,i=this.selectOption,r=this.props,o=r.classNamePrefix,a=r.isMulti,s=r.isRtl,l=r.options,c=this.state.selectValue,d=this.hasValue();return{cx:b.j.bind(null,o),clearValue:t,getStyles:e,getValue:function(){return c},hasValue:d,isMulti:a,isRtl:s,options:l,selectOption:i,setValue:n,selectProps:r,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(t){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var e=this.state,n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}},{key:"getNextFocusedOption",value:function(t){var e=this.state.focusedOption;return e&&t.indexOf(e)>-1?e:t[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(t,e)}},{key:"isOptionSelected",value:function(t,e){var n=this;if(e.indexOf(t)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(t,e);var i=this.getOptionValue(t);return e.some((function(t){return n.getOptionValue(t)===i}))}},{key:"filterOption",value:function(t,e){return!this.props.filterOption||this.props.filterOption(t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:i})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(t,e){var n=this,i=t.inputValue,r=void 0===i?"":i,o=t.options,a=function(t,i){var o=n.isOptionDisabled(t,e),a=n.isOptionSelected(t,e),s=n.getOptionLabel(t),l=n.getOptionValue(t);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:s,value:l,data:t},r))){var c=o?void 0:function(){return n.onOptionHover(t)},d=o?void 0:function(){return n.selectOption(t)},u="".concat(n.getElementId("option"),"-").concat(i);return{innerProps:{id:u,onClick:d,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:t,isDisabled:o,isSelected:a,key:u,label:s,type:"option",value:l}}};return o.reduce((function(t,e,i){if(e.options){n.hasGroups||(n.hasGroups=!0);var r=e.options.map((function(e,n){var r=a(e,"".concat(i,"-").concat(n));return r&&t.focusable.push(e),r})).filter(Boolean);if(r.length){var o="".concat(n.getElementId("group"),"-").concat(i);t.render.push({type:"group",key:o,data:e,options:r})}}else{var s=a(e,"".concat(i));s&&(t.render.push(s),t.focusable.push(e))}return t}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var t=this.state,e=t.ariaLiveContext,n=t.selectValue,i=t.focusedValue,r=t.focusedOption,o=this.props,a=o.options,s=o.menuIsOpen,l=o.inputValue,c=o.screenReaderStatus,d=i?function(t){var e=t.focusedValue,n=t.getOptionLabel,i=t.selectValue;return"value ".concat(n(e)," focused, ").concat(i.indexOf(e)+1," of ").concat(i.length,".")}({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:n}):"",u=r&&s?function(t){var e=t.focusedOption,n=t.getOptionLabel,i=t.options;return"option ".concat(n(e)," focused").concat(e.isDisabled?" disabled":"",", ").concat(i.indexOf(e)+1," of ").concat(i.length,".")}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:a}):"",p=function(t){var e=t.inputValue,n=t.screenReaderMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(d," ").concat(u," ").concat(p," ").concat(e)}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,i=t.inputId,o=t.inputValue,a=t.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,c=i||this.getElementId("input");if(!n)return m.a.createElement(j,{id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:b.l,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:a,value:""});var d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},u=this.commonProps,p=u.cx,h=u.theme,f=u.selectProps;return m.a.createElement(s,Object(r.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:e,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:f,spellCheck:"false",tabIndex:a,theme:h,type:"text",value:o},d))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.components,n=e.MultiValue,i=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,c=this.commonProps,d=this.props,u=d.controlShouldRenderValue,p=d.isDisabled,h=d.isMulti,f=d.inputValue,g=d.placeholder,_=this.state,v=_.selectValue,b=_.focusedValue,y=_.isFocused;if(!this.hasValue()||!u)return f?null:m.a.createElement(l,Object(r.a)({},c,{key:"placeholder",isDisabled:p,isFocused:y}),g);if(h)return v.map((function(e,s){var l=e===b;return m.a.createElement(n,Object(r.a)({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:t.getOptionValue(e),index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))}));if(f)return null;var x=v[0];return m.a.createElement(s,Object(r.a)({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.components.ClearIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return m.a.createElement(t,Object(r.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.components.LoadingIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!t||!o)return null;return m.a.createElement(t,Object(r.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.components,e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return m.a.createElement(n,Object(r.a)({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.components.DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return m.a.createElement(t,Object(r.a)({},e,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var t=this,e=this.components,n=e.Group,o=e.GroupHeading,a=e.Menu,s=e.MenuList,l=e.MenuPortal,c=e.LoadingMessage,d=e.NoOptionsMessage,u=e.Option,p=this.commonProps,h=this.state,f=h.focusedOption,g=h.menuOptions,_=this.props,v=_.captureMenuScroll,b=_.inputValue,x=_.isLoading,w=_.loadingMessage,O=_.minMenuHeight,k=_.maxMenuHeight,C=_.menuIsOpen,E=_.menuPlacement,S=_.menuPosition,j=_.menuPortalTarget,$=_.menuShouldBlockScroll,A=_.menuShouldScrollIntoView,M=_.noOptionsMessage,P=_.onMenuScrollToTop,T=_.onMenuScrollToBottom;if(!C)return null;var D,L=function(e){var n=f===e.data;return e.innerRef=n?t.getFocusedOptionRef:void 0,m.a.createElement(u,Object(r.a)({},p,e,{isFocused:n}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())D=g.render.map((function(e){if("group"===e.type){e.type;var a=Object(i.a)(e,["type"]),s="".concat(e.key,"-heading");return m.a.createElement(n,Object(r.a)({},p,a,{Heading:o,headingProps:{id:s},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return L(t)})))}if("option"===e.type)return L(e)}));else if(x){var N=w({inputValue:b});if(null===N)return null;D=m.a.createElement(c,p,N)}else{var I=M({inputValue:b});if(null===I)return null;D=m.a.createElement(d,p,I)}var R={minMenuHeight:O,maxMenuHeight:k,menuPlacement:E,menuPosition:S,menuShouldScrollIntoView:A},F=m.a.createElement(y.a,Object(r.a)({},p,R),(function(e){var n=e.ref,i=e.placerProps,o=i.placement,l=i.maxHeight;return m.a.createElement(a,Object(r.a)({},p,R,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:x,placement:o}),m.a.createElement(W,{isEnabled:v,onTopArrive:P,onBottomArrive:T},m.a.createElement(z,{isEnabled:$},m.a.createElement(s,Object(r.a)({},p,{innerRef:t.getMenuListRef,isLoading:x,maxHeight:l}),D))))}));return j||"fixed"===S?m.a.createElement(l,Object(r.a)({},p,{appendTo:j,controlElement:this.controlRef,menuPlacement:E,menuPosition:S}),F):F}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,i=e.isDisabled,r=e.isMulti,o=e.name,a=this.state.selectValue;if(o&&!i){if(r){if(n){var s=a.map((function(e){return t.getOptionValue(e)})).join(n);return m.a.createElement("input",{name:o,type:"hidden",value:s})}var l=a.length>0?a.map((function(e,n){return m.a.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})})):m.a.createElement("input",{name:o,type:"hidden"});return m.a.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return m.a.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?m.a.createElement(S,{"aria-live":"polite"},m.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),m.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var t=this.components,e=t.Control,n=t.IndicatorsContainer,i=t.SelectContainer,o=t.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,d=a.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return m.a.createElement(i,Object(r.a)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:u}),this.renderLiveRegion(),m.a.createElement(e,Object(r.a)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:u,menuIsOpen:d}),m.a.createElement(o,Object(r.a)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),m.a.createElement(n,Object(r.a)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),e}(f.Component);Object(h.a)(Z,"defaultProps",q)},function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));var i=n(11),r=n(40),o=n(51),a=n(103),s=n(143);var l=n(57),c=n(104),d=n(32);var u=n(108),p=n(78),h=n(24),f=n(73),m=n(83),g=n(144),_=n(46);function v(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function b(t,e,n){return e===i.o?v(function(t,e){var n=Object(r.a)(t),i=Object(o.a)(t),l=n.visualViewport,c=i.clientWidth,d=i.clientHeight,u=0,p=0;if(l){c=l.width,d=l.height;var h=Object(s.a)();(h||!h&&"fixed"===e)&&(u=l.offsetLeft,p=l.offsetTop)}return{width:c,height:d,x:u+Object(a.a)(t),y:p}}(t,n)):Object(h.a)(e)?function(t,e){var n=Object(f.a)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):v(function(t){var e,n=Object(o.a)(t),i=Object(c.a)(t),r=null==(e=t.ownerDocument)?void 0:e.body,s=Object(d.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Object(d.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),p=-i.scrollLeft+Object(a.a)(t),h=-i.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(p+=Object(d.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:u,x:p,y:h}}(Object(o.a)(t)))}function y(t,e,n,i){var r="clippingParents"===e?function(t){var e=Object(u.a)(Object(m.a)(t)),n=["absolute","fixed"].indexOf(Object(l.a)(t).position)>=0&&Object(h.b)(t)?Object(p.a)(t):t;return Object(h.a)(n)?e.filter((function(t){return Object(h.a)(t)&&Object(g.a)(t,n)&&"body"!==Object(_.a)(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(e,n){var r=b(t,n,i);return e.top=Object(d.a)(r.top,e.top),e.right=Object(d.b)(r.right,e.right),e.bottom=Object(d.b)(r.bottom,e.bottom),e.left=Object(d.a)(r.left,e.left),e}),b(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var x=n(137),w=n(140),O=n(142);function k(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=void 0===r?t.placement:r,s=n.strategy,l=void 0===s?t.strategy:s,c=n.boundary,d=void 0===c?i.d:c,u=n.rootBoundary,p=void 0===u?i.o:u,m=n.elementContext,g=void 0===m?i.i:m,_=n.altBoundary,b=void 0!==_&&_,k=n.padding,C=void 0===k?0:k,E=Object(w.a)("number"!=typeof C?C:Object(O.a)(C,i.b)),S=g===i.i?i.j:i.i,j=t.rects.popper,$=t.elements[b?S:g],A=y(Object(h.a)($)?$:$.contextElement||Object(o.a)(t.elements.popper),d,p,l),M=Object(f.a)(t.elements.reference),P=Object(x.a)({reference:M,element:j,strategy:"absolute",placement:a}),T=v(Object.assign({},j,P)),D=g===i.i?T:M,L={top:A.top-D.top+E.top,bottom:D.bottom-A.bottom+E.bottom,left:A.left-D.left+E.left,right:D.right-A.right+E.right},N=t.modifiersData.offset;if(g===i.i&&N){var I=N[a];Object.keys(L).forEach((function(t){var e=[i.k,i.c].indexOf(t)>=0?1:-1,n=[i.m,i.c].indexOf(t)>=0?"y":"x";L[t]+=I[n]*e}))}return L}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(7);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,d=void 0!==o&&o,u=t.data,p=void 0===u?{}:u,h=t.icon,f=t.id,m=t.size,g=void 0===m?"md":m,_=t.variant,v=void 0===_?"default":_,b=Object(s.a)(n),y=Object(s.c)(p),x=a()(Object(s.b)("pb_icon_circle_kit",g,v),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},b,y,{className:x,id:f}),r.a.createElement(c.a,{dark:d,icon:h}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(12),u=n(16),p=n(7);e.a=function(t){var e=t.align,n=t.className,i=t.date,o=t.showIcon,h=t.size,f=t.timeZone,m=t.unstyled,g=void 0!==m&&m,_=t.showTimezone,v=void 0===_||_,b=a()(Object(s.b)("pb_time_kit",e,h),Object(l.c)(t),n);return r.a.createElement("div",{className:b},o&&(g?r.a.createElement("span",null,r.a.createElement(p.a,{fixedWidth:!0,icon:"clock"})," "):r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{color:"light",tag:"span"},r.a.createElement(p.a,{fixedWidth:!0,icon:"clock",size:"md"===h?"":"sm"})," "))),r.a.createElement("time",{dateTime:i.toLocaleString()},r.a.createElement("span",null,g?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",null,c.a.toTimeWithMeridiem(i,f))," ",v&&r.a.createElement("span",null,c.a.toTimeZone(i,f))):"md"===h?r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"pb_time",tag:"span",text:c.a.toTimeWithMeridiem(i,f)})," ",v&&r.a.createElement(d.a,{color:"light",tag:"span",text:c.a.toTimeZone(i,f)})):r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{color:"light",tag:"span",text:c.a.toTimeWithMeridiem(i,f)})," ",v&&r.a.createElement(u.a,{color:"light",tag:"span",text:c.a.toTimeZone(i,f)})))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7),d=n(82),u=n(10),p=n(96),h=n(17);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.checked,f=void 0!==o&&o,m=t.className,g=t.customIcon,_=t.dark,v=void 0!==_&&_,b=t.data,y=void 0===b?{}:b,x=t.disabled,w=void 0!==x&&x,O=t.error,k=void 0!==O&&O,C=t.icon,E=void 0!==C&&C,S=t.inputId,j=void 0===S?null:S,$=t.multi,A=void 0===$||$,M=t.name,P=t.onChange,T=void 0===P?l.d:P,D=t.text,L=t.value,N=t.variant,I=void 0===N?"default":N,R=Object(l.a)(n),F=Object(l.c)(y),z=a()(Object(l.b)("pb_selectable_card_kit",{checked:f,disabled:w,enabled:!w}),{error:k},v?"dark":"",m),B=Object(i.useRef)(null),W=A?"checkbox":"radio",H=null!==j?j:M,Y=A?d.a:p.a,U=Object.assign({},t);null==U||delete U.inputId,null==U||delete U.children,null==U||delete U.icon,null==U||delete U.error,null==U||delete U.dark,null==U||delete U.multi,null==U||delete U.customIcon;var G="displayInput"===I?Object.assign(Object.assign({},U),{padding:"none"}):Object.assign({},U);return r.a.createElement("div",Object.assign({},R,F,{className:z}),r.a.createElement("input",Object.assign({checked:f,disabled:w,id:H,name:M,onChange:T,ref:B,type:W,value:L},U)),r.a.createElement("label",{className:Object(s.c)(G),htmlFor:H},r.a.createElement("div",{className:"buffer"},"displayInput"===I?r.a.createElement(u.a,{vertical:"center"},r.a.createElement(u.a,{orientation:"column",padding:"sm",paddingRight:"xs",vertical:"center"},r.a.createElement(Y,{dark:v},r.a.createElement("input",{checked:f,disabled:w,onClick:function(){B.current.click()},readOnly:!0,type:W}))),r.a.createElement("div",{className:"separator"}),r.a.createElement("div",{className:"psuedo_separator"}),r.a.createElement(h.a,{borderNone:!0,dark:v,padding:"sm",status:k?"negative":null},D||t.children)):D||t.children,function(){if(!0===E)return r.a.createElement("div",{className:"pb_selectable_card_circle"},r.a.createElement(c.a,{customIcon:g,fixedWidth:!0,icon:"check"}))}())))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(18),d=n(16),u=n(14),p={sm:4,md:3};e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.bold,o=void 0!==i&&i,h=t.reverse,f=void 0!==h&&h,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.date,b=t.data,y=void 0===b?{}:b,x=t.size,w=void 0===x?"sm":x,O=a()(Object(s.b)("pb_date_stacked_kit",n,w,{dark:_,reverse:f}),Object(l.c)(t),m),k=(new Date).getFullYear(),C=c.a.toYear(v),E=Object(s.c)(y);return r.a.createElement(r.a.Fragment,null,0==o?r.a.createElement("div",Object.assign({},E,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(d.a,{text:c.a.toMonth(v).toUpperCase()}),r.a.createElement(u.a,{dark:_,size:p[w],text:c.a.toDay(v).toString()})),k!=C&&r.a.createElement(d.a,{size:"xs"},C)):r.a.createElement("div",Object.assign({},E,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(u.a,{bold:!0,dark:_,size:"4",text:c.a.toMonth(v)}),r.a.createElement(u.a,{bold:!0,dark:_,size:"4",text:c.a.toDay(v).toString()}),k!=C&&r.a.createElement(u.a,{size:"4"},C))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(7);e.a=function(t){var e=t.className,n=t.data,i=void 0===n?{}:n,o=t.status,c=void 0===o?"inactive":o,d=t.children,u=t.icon,p=void 0===u?"check":u,h=Object(s.b)("pb_progress_step_item",c),f=Object(s.c)(i);return r.a.createElement("li",Object.assign({},f,{className:a()(h,e)}),r.a.createElement("div",{className:"box"},r.a.createElement("div",{className:"circle"},r.a.createElement(l.a,{icon:p})),r.a.createElement("div",{className:"content"},d)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(66),c=n(63),d=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,l=t.data,c=void 0===l?{}:l,d=t.id,u=t.orientation,p=void 0===u?"horizontal":u,h=t.showDate,f=void 0!==h&&h,m=Object(s.a)(n),g=Object(s.c)(c),_=!0===f?"_with_date":"",v=Object(s.b)("pb_timeline_kit","_".concat(p),_);return r.a.createElement("div",Object.assign({},m,g,{className:a()(v,i),id:d}),o)};d.Item=function(t){var e=t.className,n=t.children,i=t.date,o=t.icon,d=void 0===o?"user":o,u=t.iconColor,p=void 0===u?"default":u,h=t.lineStyle,f=void 0===h?"solid":h,m=Object(s.b)("pb_timeline_item_kit",f);return r.a.createElement("div",{className:a()(m,e)},r.a.createElement("div",{className:"pb_timeline_item_left_block"},i&&r.a.createElement(l.a,{align:"center",date:i,size:"sm"})),r.a.createElement("div",{className:"pb_timeline_item_step"},r.a.createElement(c.a,{icon:d,size:"xs",variant:p}),r.a.createElement("div",{className:"pb_timeline_item_connector"})),r.a.createElement("div",{className:"pb_timeline_item_right_block"},n))};e.a=d},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(70),l=n.n(s),c=n(114),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71),g=n(5),_=n(2);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},x=function(t){var e=document.querySelector("#wrapper-circle-chart-".concat(t.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(t.target.renderTo.id));null!==e&&(e.style.height="".concat(t.target.chartHeight,"px"),e.style.width="".concat(t.target.chartWidth,"px"),n.firstChild.before(e))};e.a=function(t){var e=t.align,n=void 0===e?"center":e,o=t.aria,s=void 0===o?{}:o,c=t.rounded,u=void 0!==c&&c,b=t.borderColor,w=void 0===b?u?null:"":b,O=t.borderWidth,k=void 0===O?u?20:null:O,C=t.chartData,E=t.children,S=(t.className,t.colors),j=void 0===S?[]:S,$=t.dark,A=void 0!==$&&$,M=t.data,P=void 0===M?{}:M,T=t.dataLabelHtml,D=void 0===T?"<div>{point.name}</div>":T,L=t.dataLabels,N=void 0!==L&&L,I=t.height,R=t.id,F=t.innerSize,z=void 0===F?"md":F,B=t.legend,W=void 0!==B&&B,H=t.maxPointSize,Y=void 0===H?null:H,U=t.minPointSize,G=void 0===U?null:U,X=t.startAngle,V=void 0===X?null:X,q=t.style,K=void 0===q?"pie":q,Z=t.title,J=t.tooltipHtml,Q=t.useHtml,tt=void 0!==Q&&Q,et=t.zMin,nt=void 0===et?null:et,it=t.layout,rt=void 0===it?"horizontal":it,ot=t.verticalAlign,at=void 0===ot?"bottom":ot,st=t.x,lt=void 0===st?0:st,ct=t.y,dt=void 0===ct?0:ct,ut=y(t,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","dark","data","dataLabelHtml","dataLabels","height","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),pt=Object(_.a)(s),ht=Object(_.c)(P);d()(p.a);A?p.a.setOptions(f.a):p.a.setOptions(h.a),p.a.setOptions({tooltip:{headerFormat:null,pointFormat:J||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:tt}});var ft={sm:"35%",md:"50%",lg:"85%",none:"0%"},mt=v(Object(i.useState)({}),2),gt=mt[0],_t=mt[1];return Object(i.useEffect)((function(){var t,e=C.map((function(t){return t.y=t.value,delete t.value,t})),i={title:{text:Z},chart:{height:I,type:K,events:{render:function(t){return x(t)},redraw:function(t){return x(t)}}},legend:{align:n,verticalAlign:at,layout:rt,x:lt,y:dt},plotOptions:{pie:{colors:j.length>0?Object(m.a)(j):h.a.colors,dataLabels:{enabled:N,connectorShape:"straight",connectorWidth:3,format:D},showInLegend:W}},series:[{minPointSize:G,maxPointSize:Y,innerSize:20==k?"100%":(t=z,ft[t]),data:e,zMin:nt,startAngle:V,borderWidth:k,borderColor:w}],credits:!1};_t(Object.assign({},i))}),[C]),r.a.createElement(r.a.Fragment,null,E?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(R)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:a()("pb_circle_chart",Object(g.c)(ut)),id:R},pt),ht),highcharts:p.a,options:gt}),r.a.createElement("div",{className:"pb-circle-chart-block"},E)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:a()("pb_circle_chart",Object(g.c)(ut)),id:R},pt),ht),highcharts:p.a,options:gt}))}},function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n(0),function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"HighchartsReact",(function(){return d}));var s=n(1),l=n.n(s),c="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,d=Object(s.memo)(Object(s.forwardRef)((function(t,e){var n=Object(s.useRef)(),o=Object(s.useRef)(),d=Object(s.useRef)(t.constructorType),u=Object(s.useRef)(t.highcharts);return c((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,i=t.constructorType||"chart";e?e[i]?t.options?o.current=e[i](n.current,t.options,t.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(o.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==d.current||t.highcharts!==u.current)d.current=t.constructorType,u.current=t.highcharts,e();else if(!t.immutable&&o.current){var i;(i=o.current).update.apply(i,[t.options].concat(r(t.updateArgs||[!0,!0])))}else e()}else e()}),[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),c((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:n}}),[]),l.a.createElement("div",i({},t.containerProps,{ref:n}))})));e.default=d},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";var i=n(8),r=n.n(i);e.a=function(t){var e=/(data)\-[1-8]/;return t.map((function(t){return e.test(t)?"".concat(r.a["data_".concat(t[t.length-1])]):t}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[1]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(24),r=n(32),o=n(40),a=n(143);function s(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,c=1;e&&Object(i.b)(t)&&(l=t.offsetWidth>0&&Object(r.c)(s.width)/t.offsetWidth||1,c=t.offsetHeight>0&&Object(r.c)(s.height)/t.offsetHeight||1);var d=(Object(i.a)(t)?Object(o.a)(t):window).visualViewport,u=!Object(a.a)()&&n,p=(s.left+(u&&d?d.offsetLeft:0))/l,h=(s.top+(u&&d?d.offsetTop:0))/c,f=s.width/l,m=s.height/c;return{width:f,height:m,top:h,right:p+f,bottom:h+m,left:p,x:p,y:h}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(14),l=n(7),c=n(34),d=n(5);e.a=function(t){var e=t.className,n=t.id,i=t.text,o=t.name,u=t.onClick,p=void 0===u?function(){}:u,h=t.avatarUrl,f=t.closeProps,m=void 0===f?{}:f,g=t.size,_=void 0===g?"":g,v=t.textTransform,b=void 0===v?"none":v,y=a()("pb_form_pill_kit_".concat("primary"),Object(d.c)(t),e,"small"===_?"small":null,b);return r.a.createElement("div",{className:y,id:n},o&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{imageUrl:h,name:o,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:o})),i&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:i}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:p},m),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(t,e,n){"use strict";n(56),n(21),n(79),n(44);var i=n(35),r=n(36),o=n(37),a=n(38),s=n(39),l=n(4),c=n(6),d=n(0),u=n.n(d),p=n(88),h=n(20),f=(n(28),n(49),n(61)),m=(n(60),n(99),n(100),n(84)),g=n(115),_=(d.Component,Object(m.a)(f.a));e.a=_},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(28),a=n.n(o),s=i.createContext(),l=i.createContext();function c(t){var e=t.children,n=i.useState(null),r=n[0],o=n[1],a=i.useRef(!1);i.useEffect((function(){return function(){a.current=!0}}),[]);var c=i.useCallback((function(t){a.current||o(t)}),[]);return i.createElement(s.Provider,{value:r},i.createElement(l.Provider,{value:c},e))}var d=function(t){return Array.isArray(t)?t[0]:t},u=function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},p=function(t,e){if("function"==typeof t)return u(t,e);null!=t&&(t.current=e)},h=function(t){return t.reduce((function(t,e){var n=e[0],i=e[1];return t[n]=i,t}),{})},f="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,m=n(256),g=n(205),_=n.n(g),v=[],b=function(){},y=function(){return Promise.resolve(null)},x=[];function w(t){var e=t.placement,n=void 0===e?"bottom":e,r=t.strategy,a=void 0===r?"absolute":r,l=t.modifiers,c=void 0===l?x:l,u=t.referenceElement,g=t.onFirstUpdate,w=t.innerRef,O=t.children,k=i.useContext(s),C=i.useState(null),E=C[0],S=C[1],j=i.useState(null),$=j[0],A=j[1];i.useEffect((function(){p(w,E)}),[w,E]);var M=i.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:g,modifiers:[].concat(c,[{name:"arrow",enabled:null!=$,options:{element:$}}])}}),[n,a,g,c,$]),P=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||v},s=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],c=s[1],d=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);o.flushSync((function(){c({styles:h(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:h(n.map((function(t){return[t,e.attributes[t]]})))})}))},requires:["computeStyles"]}}),[]),u=i.useMemo((function(){var t={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[d,{name:"applyStyles",enabled:!1}])};return _()(r.current,t)?r.current||t:(r.current=t,t)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,d]),p=i.useRef();return f((function(){p.current&&p.current.setOptions(u)}),[u]),f((function(){if(null!=t&&null!=e){var i=(n.createPopper||m.a)(t,e,u);return p.current=i,function(){i.destroy(),p.current=null}}}),[t,e,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(u||k,E,M),T=P.state,D=P.styles,L=P.forceUpdate,N=P.update,I=i.useMemo((function(){return{ref:S,style:D.popper,placement:T?T.placement:n,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:D.arrow,ref:A},forceUpdate:L||b,update:N||y}}),[S,A,n,T,D,N,L]);return d(O)(I)}var O=n(166),k=n.n(O);function C(t){var e=t.children,n=t.innerRef,r=i.useContext(l),o=i.useCallback((function(t){p(n,t),u(r,t)}),[n,r]);return i.useEffect((function(){return function(){return p(n,null)}}),[]),i.useEffect((function(){k()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),d(e)({ref:o})}var E=n(2),S=n(3),j=n.n(S),$=n(5),A=n(204),M=n.n(A);function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var D={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},L=function(t){var e=t.modifiers;return t.offset?e.concat([D.offset]):e},N=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,a=t.data,s=void 0===a?{}:a,l=t.id,c=t.modifiers,d=t.offset,u=t.placement,p=t.referenceElement,h=t.zIndex,f=t.maxHeight,m=t.maxWidth,g=t.minHeight,_=t.minWidth,v=t.targetId,b=Object($.c)(t).includes("dark")||!Object($.c)(t)?"p_sm":Object($.c)(t),y=f||m?"overflow_handling":"",x=h?{zIndex:h}:{},O=Object(E.a)(n),k=Object(E.c)(s),C=j()(Object(E.b)("pb_popover_kit"),Object($.c)(t),i);return r.a.createElement(w,{modifiers:L({modifiers:c,offset:d}),placement:u,referenceElement:p},(function(t){var e=t.placement,n=t.ref,i=t.style;return r.a.createElement("div",Object.assign({},O,k,{className:C,"data-placement":e,id:l,ref:n,style:Object.assign({},i,x)}),r.a.createElement("div",{className:j()("".concat(Object(E.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:j()("pb_popover_body",b,y),id:v,style:Object.assign({},f?{maxHeight:f}:{},m?{maxWidth:m}:{},g?{minHeight:g}:{},_?{minWidth:_}:{})},o)))}))};e.a=function(t){var e=P(Object(i.useState)(M()("id-")),1)[0],n=t.className,o=t.children,s=t.modifiers,l=void 0===s?[]:s,d=t.offset,u=void 0!==d&&d,p=t.placement,h=void 0===p?"left":p,f=t.portal,m=void 0===f?"body":f,g=t.reference,_=t.referenceElement,v=t.show,b=void 0!==v&&v,y=t.usePortal,x=void 0===y||y,w=t.zIndex,O=t.maxHeight,k=t.maxWidth,S=t.minHeight,j=t.minWidth;Object(i.useEffect)((function(){var n=t.closeOnClick,i=t.shouldClosePopover,r=void 0===i?E.d:i;n&&document.body.addEventListener("click",(function(t){var i=t.target,o=null!==i.closest("#"+e),a=null!==i.closest("#reference-"+e);switch(n){case"outside":o||a||r(!0);break;case"inside":o&&r(!0);break;case"any":(o||!o&&!a)&&r(!0)}}),{capture:!0})}),[]);var $=r.a.createElement(N,Object.assign({className:n,maxHeight:O,maxWidth:k,minHeight:S,minWidth:j,modifiers:l,offset:u,placement:h,referenceElement:_,targetId:e,zIndex:w},t),o);return r.a.createElement(c,null,r.a.createElement(r.a.Fragment,null,g&&!_&&r.a.createElement(C,null,(function(t){var n=t.ref;return r.a.createElement("span",{id:"reference-"+e,className:"pb_popover_reference_wrapper",ref:n},r.a.createElement(g.type,Object.assign({},g.props)))})),b&&(x?r.a.createElement(r.a.Fragment,null,a.a.createPortal($,document.querySelector(m))):{popoverComponent:$})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(8),r=n.n(i),o=n(9),a=n.n(o),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.card_light],[1,r.a.card_light]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,type:"area",nullColor:r.a.text_dk_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_dk_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(a.a.text_small),fontWeight:a.a.bold,fontFamily:"".concat(a.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(40),r=n(46),o=n(57),a=n(24);function s(t){return["table","td","th"].indexOf(Object(r.a)(t))>=0}var l=n(83),c=n(121);function d(t){return Object(a.b)(t)&&"fixed"!==Object(o.a)(t).position?t.offsetParent:null}function u(t){for(var e=Object(i.a)(t),n=d(t);n&&s(n)&&"static"===Object(o.a)(n).position;)n=d(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(o.a)(n).position)?e:n||function(t){var e=/firefox/i.test(Object(c.a)());if(/Trident/i.test(Object(c.a)())&&Object(a.b)(t)&&"fixed"===Object(o.a)(t).position)return null;var n=Object(l.a)(t);for(Object(a.c)(n)&&(n=n.host);Object(a.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var i=Object(o.a)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}},function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,c=t.children,d=t.className,u=t.dark,p=void 0!==u&&u,h=t.data,f=void 0===h?{}:h,m=t.id,g=t.layout,_=void 0===g?"":g,v=t.ordered,b=void 0!==v&&v,y=t.role,x=t.size,w=void 0===x?"":x,O=t.tabIndex,k=t.xpadding,C=void 0!==k&&k,E=t.variant,S=t.text,j=r.a.Children.map(c,(function(t){return r.a.cloneElement(t,{text:S,variant:E})})),$=Object(s.a)(n),A=Object(s.c)(f),M=a()(Object(s.b)("pb_list_kit",{left:"layout_left",right:"layout_right",default:""}[_],w,{dark:p,borderless:o,ordered:b,xpadding:C}),Object(l.c)(t),d);return r.a.createElement("div",{className:M},b?r.a.createElement("ol",Object.assign({},$,A,{className:d,id:m,role:y,tabIndex:O}),j):r.a.createElement("ul",Object.assign({},$,A,{className:d,id:m,role:y,tabIndex:O}),j))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(16),u=n(7),p=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},h=function(t,e){var n=t.aria,i=void 0===n?{}:n,o=t.blankSelection,h=t.children,f=t.className,m=t.compact,g=void 0!==m&&m,_=t.data,v=void 0===_?{}:_,b=t.disabled,y=void 0!==b&&b,x=t.error,w=t.label,O=t.inline,k=void 0!==O&&O,C=t.multiple,E=void 0!==C&&C,S=t.name,j=t.onChange,$=void 0===j?function(){}:j,A=t.options,M=void 0===A?[]:A,P=t.required,T=void 0!==P&&P,D=t.value,L=p(t,["aria","blankSelection","children","className","compact","data","disabled","error","label","inline","multiple","name","onChange","options","required","value"]),N=Object(s.a)(i),I=Object(s.c)(v),R=function(t){return t.map((function(t,e){return r.a.createElement("option",{disabled:t.disabled,key:e,value:t.value},t.text||t.value)}))}(M),F=k?"inline":null,z=g?"compact":null,B=a()(Object(s.b)("pb_select"),Object(l.c)(Object.assign(Object.assign({},L),{marginBottom:L.marginBottom||L.margin||"sm"})),f,F,z),W=a()(Object(s.b)("pb_select_kit_wrapper"),{error:x},f),H=h||r.a.createElement("select",Object.assign({},Object(l.b)(L),{disabled:y,id:S,multiple:E,name:S,onChange:$,ref:e,required:T,value:D}),o&&r.a.createElement("option",{value:""},o),R);return r.a.createElement("div",Object.assign({},N,I,{className:B}),w&&r.a.createElement("label",{className:"pb_select_kit_label",htmlFor:S},r.a.createElement(d.a,{text:w})),r.a.createElement("label",{className:W,htmlFor:S},H,!0!==E?r.a.createElement(u.a,{className:"pb_select_kit_caret",fixedWidth:!0,icon:"angle-down"}):null,x&&r.a.createElement(c.a,{status:"negative",text:x})))};e.a=Object(i.forwardRef)(h)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(12),a=n(7),s=n(2),l=n(3),c=n.n(l),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,l=t.checked,u=void 0!==l&&l,p=t.children,h=t.className,f=t.dark,m=void 0!==f&&f,g=t.data,_=void 0===g?{}:g,v=t.error,b=void 0!==v&&v,y=t.id,x=t.indeterminate,w=void 0!==x&&x,O=t.name,k=void 0===O?"":O,C=t.onChange,E=void 0===C?function(){}:C,S=t.tabIndex,j=t.text,$=void 0===j?"":j,A=t.value,M=void 0===A?"":A,P=Object(i.useRef)(null),T=Object(s.c)(_),D=Object(s.a)(n),L=c()(Object(s.b)("pb_checkbox_kit",u?"checked":null,b?"error":null,w?"indeterminate":null),Object(d.c)(t),h);Object(i.useEffect)((function(){P.current&&(P.current.checked=u,P.current.indeterminate=w)}),[w,u]);return r.a.createElement("label",Object.assign({},D,T,{className:L,id:y}),r.a.createElement(r.a.Fragment,null,p||r.a.createElement("input",{defaultChecked:u,name:k,onChange:E,ref:P,tabIndex:S,type:"checkbox",value:M})),!w&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(a.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),w&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(a.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(o.a,{className:"pb_checkbox_label",dark:m,status:b?"negative":null,variant:null},$))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(46),r=n(51),o=n(24);function a(t){return"html"===Object(i.a)(t)?t:t.assignedSlot||t.parentNode||(Object(o.c)(t)?t.host:null)||Object(r.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var i=n(56),r=n(21),o=n(35),a=n(36),s=n(37),l=n(38),c=n(39),d=n(4),u=n(6),p=n(0),h=n.n(p),f={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},m=function(t){var e,n;return n=e=function(e){function n(){var t,e;Object(o.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return e=Object(s.a)(this,(t=Object(l.a)(n)).call.apply(t,[this].concat(r))),Object(u.a)(Object(d.a)(Object(d.a)(e)),"select",void 0),Object(u.a)(Object(d.a)(Object(d.a)(e)),"state",{inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue}),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onChange",(function(t,n){e.callProp("onChange",t,n),e.setState({value:t})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onInputChange",(function(t,n){var i=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==i?i:t})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onMenuOpen",(function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})})),Object(u.a)(Object(d.a)(Object(d.a)(e)),"onMenuClose",(function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})})),e}return Object(c.a)(n,e),Object(a.a)(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(t){return void 0!==this.props[t]?this.props[t]:this.state[t]}},{key:"callProp",value:function(t){if("function"==typeof this.props[t]){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(e=this.props)[t].apply(e,i)}}},{key:"render",value:function(){var e=this,n=this.props,o=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Object(i.a)(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return h.a.createElement(t,Object(r.a)({},o,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(p.Component),Object(u.a)(e,"defaultProps",f),n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=function(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!=typeof t},c=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),d=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(a,(function(t,e,n){return p={name:e,styles:n,next:p},e}))}return 1===r[t]||s(t)||"number"!=typeof e||0===e?e:e+"px"};function u(t,e,n,i){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=u(t,e,n[r],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?i+=o+"{"+e[a]+"}":l(a)&&(i+=c(o)+":"+d(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=u(t,e,a,!1);switch(o){case"animation":case"animationName":i+=c(o)+":"+s+";";break;default:i+=o+"{"+s+"}"}}else for(var p=0;p<a.length;p++)l(a[p])&&(i+=c(o)+":"+d(o,a[p])+";")}return i}(t,e,n);case"function":if(void 0!==t){var o=p,a=n(t);return p=o,u(t,e,a,i)}break;case"string":}if(null==e)return n;var s=e[n];return void 0===s||i?n:s}var p,h=/label:\s*([^\s;\n{]+)\s*;/g;var f=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,o="";p=void 0;var a=t[0];null==a||void 0===a.raw?(r=!1,o+=u(n,e,a,!1)):o+=a[0];for(var s=1;s<t.length;s++)o+=u(n,e,t[s],46===o.charCodeAt(o.length-1)),r&&(o+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(o));)c+="-"+l[1];return{name:i(o)+c,styles:o,next:p}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.data,h=void 0===p?{}:p,f=t.detail,m=t.id,g=t.title,_=Object(l.a)(o),v=Object(l.c)(h),b=Object(l.b)("pb_title_detail_kit",n);return r.a.createElement("div",Object.assign({},_,v,{className:a()(b,Object(s.c)(t),u),id:m}),r.a.createElement(d.a,{size:4,text:g}),r.a.createElement(c.a,{color:"light",text:f}))}},function(t,e,n){"use strict";var i=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(t,e){return!1!==e.clone&&e.isMergeableObject(t)?d((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function a(t,e,n){return t.concat(e).map((function(t){return o(t,n)}))}function s(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function l(t,e){try{return e in t}catch(t){return!1}}function c(t,e,n){var i={};return n.isMergeableObject(t)&&s(t).forEach((function(e){i[e]=o(t[e],n)})),s(e).forEach((function(r){(function(t,e){return l(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(l(t,r)&&n.isMergeableObject(e[r])?i[r]=function(t,e){if(!e.customMerge)return d;var n=e.customMerge(t);return"function"==typeof n?n:d}(r,n)(t[r],e[r],n):i[r]=o(e[r],n))})),i}function d(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=o;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):c(t,e,n):o(e,n)}d.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return d(t,n,e)}),{})};var u=d;t.exports=u},function(t,e,n){"use strict";var i=function(t,e){return t===e};e.a=function(t,e){var n;void 0===e&&(e=i);var r,o=[],a=!1,s=function(t,n){return e(t,o[n],n)};return function(){for(var e=arguments.length,i=new Array(e),l=0;l<e;l++)i[l]=arguments[l];return a&&n===this&&i.length===o.length&&i.every(s)||(r=t.apply(this,i),a=!0,n=this,o=i),r}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(158),l=n(2),c=n(5),d=n(12),u=n(16),p=n(10),h=n(15),f=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},m=function(t,e){var n=t.aria,o=void 0===n?{}:n,m=t.characterCount,g=t.className,_=t.children,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=t.inline,w=void 0!==x&&x,O=t.resize,k=void 0===O?"none":O,C=t.error,E=t.label,S=t.maxCharacters,j=t.name,$=t.onChange,A=void 0===$?function(){}:$,M=t.placeholder,P=t.required,T=t.rows,D=void 0===T?4:T,L=t.value,N=f(t,["aria","characterCount","className","children","data","disabled","inline","resize","error","label","maxCharacters","name","onChange","placeholder","required","rows","value"]);e=Object(i.useRef)(null),Object(i.useEffect)((function(){e.current&&"auto"===k&&s.a.addMatch(e.current)}));var I=C?"error":null,R=w?"inline":"",F="resize_".concat(k),z=a()("pb_textarea_kit",I,R,F,Object(c.c)(N),g),B=void 0!==m,W=Object(l.a)(o),H=Object(l.c)(b),Y=function(){return S&&m?"".concat(U(m)," / ").concat(S):"".concat(U(m))},U=function(t){return 0==t?t.toString():t};return r.a.createElement("div",Object.assign({},W,H,{className:z}),r.a.createElement(u.a,{text:E}),_||r.a.createElement("textarea",Object.assign({className:"pb_textarea_kit",disabled:y,name:j,onChange:A,placeholder:M,ref:e,required:P,rows:D,value:L},N)),C?r.a.createElement(r.a.Fragment,null,m?r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(h.a,null,r.a.createElement(d.a,{margin:"none",status:"negative",text:C})),r.a.createElement(h.a,null,r.a.createElement(u.a,{margin:"none",size:"xs",text:Y()}))):r.a.createElement(d.a,{status:"negative",text:C})):B&&r.a.createElement(u.a,{margin:"none",size:"xs",text:Y()}))};e.a=Object(i.forwardRef)(m)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(10),d=n(64),u=n(181);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.className,h=t.data,f=void 0===h?{}:h,m=t.showDayOfWeek,g=void 0!==m&&m,_=t.datetime,v=t.id,b=t.showIcon,y=void 0!==b&&b,x=t.size,w=void 0===x?"md":x,O=t.timeZone,k=void 0===O?"America/New_York":O,C=Object(s.a)(o),E=Object(s.c)(f),S=a()(Object(s.b)("pb_date_time",w),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},C,E,{className:S,id:v}),r.a.createElement(c.a,{horizontal:n,vertical:"baseline"},r.a.createElement(u.a,{showDayOfWeek:g,size:w,value:_}),r.a.createElement(d.a,{date:_,marginLeft:"sm",showIcon:y,size:w,timeZone:k})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=n(32);function r(t,e,n){return Object(i.a)(t,Object(i.b)(e,n))}function o(t,e,n){var i=r(t,e,n);return i>n?n:i}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(7),c=n(14);function d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var h={success:"check",error:"exclamation-triangle",neutral:"info-circle",tip:"info-circle"};e.a=function(t){var e=u(Object(i.useState)(!0),2),n=e[0],o=e[1],p=t.autoClose,f=void 0===p?0:p,m=t.children,g=t.className,_=t.closeable,v=void 0!==_&&_,b=t.horizontal,y=t.multiLine,x=void 0!==y&&y,w=t.onClose,O=void 0===w?function(){}:w,k=t.open,C=void 0===k||k,E=t.status,S=void 0===E?"neutral":E,j=t.text,$=t.vertical,A=a()("pb_fixed_confirmation_toast_kit_".concat(S),{_multi_line:x},d({},"positioned_toast ".concat($," ").concat(b),$&&b),Object(s.c)(t),g),M=h[S];Object(i.useEffect)((function(){o(C),f&&C&&setTimeout((function(){o(!1),O()}),f)}),[C]);return r.a.createElement(r.a.Fragment,null,n&&r.a.createElement("div",{className:A,onClick:function(){o(!v),O()}},M&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!0,icon:M}),m&&m||j&&r.a.createElement(c.a,{className:"pb_fixed_confirmation_toast_text",size:4,text:j}),v&&r.a.createElement(l.a,{className:"pb_icon",cursor:"pointer",fixedWidth:!1,icon:"times"})))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(12),d=n(65),u=n(120);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.checkmark,o=void 0!==i&&i,p=t.checked,h=void 0!==p&&p,f=t.className,m=t.customIcon,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.disabled,x=void 0!==y&&y,w=t.icon,O=t.inputId,k=t.multi,C=void 0===k||k,E=t.name,S=t.titleText,j=t.bodyText,$=t.value,A=t.onChange,M=Object(l.a)(n),P=Object(l.c)(b),T=a()(Object(l.b)("pb_selectable_card_icon_kit",{checked:h,disabled:x,enabled:!x}),Object(s.c)(t),f);return r.a.createElement("div",Object.assign({},M,P,{className:T}),r.a.createElement(d.a,{checked:h,customIcon:m,dark:_,disabled:x,icon:o,inputId:O,multi:C,name:E,onChange:A,value:$},r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{customIcon:m,icon:w,inputId:"",inputs:"disabled",name:"",text:S}),r.a.createElement(c.a,{color:"light",dark:_,text:j}))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(54),c=n(34),d=n(12),u=n(16),p=n(63),h=n(14);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,f=void 0===o?{}:o,m=t.hideIcon,g=void 0!==m&&m,_=t.id,v=t.source,b=t.type,y=void 0===b?"inbound":b,x=t.user,w=void 0===x?{}:x,O=Object(s.c)(f),k=Object(s.a)(n),C=a()(["pb_source_kit",i]),E=function(){if(("user"===y||"referral"===y)&&void 0!==w.name){var t=Object.assign({},w);return t.size="sm",delete t.userId,t}},S=function(){return"user"!==y&&void 0===E()};return r.a.createElement("div",Object.assign({},k,O,{className:C,id:_}),r.a.createElement("div",{className:"pb__source_layout"},!1===g&&r.a.createElement(r.a.Fragment,null,S()&&r.a.createElement(p.a,{icon:{events:"calendar-alt",outbound:"sign-out",prospecting:"binoculars",referral:"handshake",retail:"shopping-bag",inbound:"sign-in"}[y],size:"sm"}),!S()&&r.a.createElement(c.a,Object.assign({},E()))),r.a.createElement("div",{className:"pb__source_content"},r.a.createElement(h.a,{size:4,tag:"h4",text:v}),r.a.createElement("div",{className:"pb__source_value"},r.a.createElement(d.a,{color:"light",text:"user"===y||"referral"===y&&void 0!==w.name?w.name:Object(l.c)(y)}),w.userId&&r.a.createElement(u.a,{text:w.userId})))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,c=void 0===o?{}:o,d=t.fullWidth,u=void 0!==d&&d,p=t.id,h=t.children,f=Object(s.a)(n),m=Object(s.c)(c),g=a()(Object(s.b)("pb_form_group_kit",{full:u}),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},f,m,{className:g,id:p}),h)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(12),a=n(3),s=n.n(a),l=n(2),c=n(5),d=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},u=function(t,e){var n=t.aria,i=void 0===n?{}:n,a=t.alignment,u=t.children,p=t.className,h=t.dark,f=void 0!==h&&h,m=t.data,g=void 0===m?{}:m,_=t.error,v=void 0!==_&&_,b=t.id,y=t.label,x=t.name,w=void 0===x?"radio_name":x,O=t.text,k=void 0===O?"Radio Text":O,C=t.value,E=void 0===C?"radio_text":C,S=t.onChange,j=void 0===S?function(){}:S,$=d(t,["aria","alignment","children","className","dark","data","error","id","label","name","text","value","onChange"]),A=Object(l.a)(i),M=Object(l.c)(g),P=s()(Object(l.b)("pb_radio_kit",a),f?"dark":null,v?"error":null,Object(c.c)($),p);return r.a.createElement("label",Object.assign({},A,M,{className:P,htmlFor:b}),r.a.createElement(r.a.Fragment,null,function(t){return u||r.a.createElement("input",Object.assign({id:b,name:w,onChange:j,ref:e,text:k,type:"radio",value:E},t))}($)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(o.a,{dark:f,status:v?"negative":null,text:y,variant:null}))};e.a=Object(i.forwardRef)(u)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(16),u=n(48),p=n(10),h=n(7),f=n(76),m=n(41);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,_=t.confirmation,v=void 0!==_&&_,b=t.data,y=void 0===b?{}:b,x=t.dark,w=void 0!==x&&x,O=t.id,k=t.inputProps,C=void 0===k?{}:k,E=t.label,S=void 0===E?v?"Confirm Passphrase":"Passphrase":E,j=t.onChange,$=void 0===j?function(){}:j,A=t.showTipsBelow,M=void 0===A?"always":A,P=t.tips,T=void 0===P?[]:P,D=t.uncontrolled,L=void 0!==D&&D,N=t.value,I=void 0===N?"":N,R=g(Object(i.useState)(""),2),F=R[0],z=R[1],B=g(Object(i.useState)(!1),2),W=B[0],H=B[1],Y=g(Object(i.useState)(!1),2),U=Y[0],G=Y[1],X=Object(i.useCallback)((function(t){return L?z(t.target.value):$(t)}),[L,$]),V=Object(i.useMemo)((function(){return L?F:I}),[I,F,L]),q=a()("passphrase-popover","always"===M?null:"show-below-".concat(M)),K=Object(s.a)(n),Z=a()(Object(s.b)("pb_passphrase"),Object(l.c)(t),o),J=Object(s.c)(y),Q=r.a.createElement(u.a,{className:q,dark:w,icon:"info-circle",onClick:function(){return H(!W)},variant:"link"});return r.a.createElement("div",Object.assign({},K,J,{className:Z,id:O}),r.a.createElement("label",null,r.a.createElement(p.a,{align:"baseline"},r.a.createElement(d.a,{className:"passphrase-label",text:S}),T.length>0&&!v&&r.a.createElement(f.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:Q,shouldClosePopover:function(t){H(!t)},show:W},r.a.createElement(p.a,{align:"center",orientation:"column"},r.a.createElement(d.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,T.map((function(t,e){return r.a.createElement(d.a,{key:e,marginBottom:"xs",size:"xs"},r.a.createElement(h.a,{icon:"shield-check",marginRight:"xs"}),t)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(m.a,Object.assign({className:"passphrase-text-input",dark:w,marginBottom:"xs",onChange:X,placeholder:"Enter a passphrase...",type:U?"text":"password",value:V},C)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(t){t.preventDefault(),G(!U)}},r.a.createElement(c.a,{className:U?"hide-icon":"",color:"light",dark:w},r.a.createElement(h.a,{icon:"eye-slash"})),r.a.createElement(c.a,{className:U?"":"hide-icon",color:"light",dark:w},r.a.createElement(h.a,{icon:"eye"}))))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(12),u=n(10),p=n(30),h=n(14),f=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.avatarName,o=t.avatarStatus,f=void 0===o?null:o,m=t.avatarUrl,g=t.children,_=t.className,v=t.data,b=void 0===v?{}:v,y=t.id,x=t.label,w=t.message,O=t.timestamp,k=t.timestampObject,C=t.timezone,E=t.alignTimestamp,S=void 0===E?"right":E,j=Object(s.a)(n),$=Object(s.c)(b),A=m||i,M=A?"pb_message_kit_avatar":"pb_message_kit",P=a()(Object(s.b)(M),Object(l.c)(t),_);return r.a.createElement("div",Object.assign({},j,$,{className:P,id:y}),A&&r.a.createElement(c.a,{imageUrl:m,name:i,size:"xs",status:f}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{justify:"left"===S?"none":"between",orientation:"row"},x&&r.a.createElement(h.a,{className:"message_title",size:4,text:x}),r.a.createElement(p.a,{className:"pull-".concat(S," ").concat(k?"message_humanized_time":null),text:O,timestamp:"",timezone:C}),k&&r.a.createElement(p.a,{className:"pull-".concat(S," message_timestamp"),text:"",timestamp:k,timezone:C})),w&&r.a.createElement(d.a,{className:"pb_message_body",text:w}),g))};f.Mention=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.variant,h=void 0===p?"user":p,f=Object(s.a)(n),m=Object(s.c)(d),g=a()(Object(s.b)("pb_message_mention",h),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},f,m,{className:g,id:u}),i)};e.a=f},function(t,e,n){"use strict";function i(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=l(o),s=l(n(13));function l(t){return t&&t.__esModule?t:{default:t}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},d=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],u=function(t,e){e.style.fontSize=t.fontSize,e.style.fontFamily=t.fontFamily,e.style.fontWeight=t.fontWeight,e.style.fontStyle=t.fontStyle,e.style.letterSpacing=t.letterSpacing,e.style.textTransform=t.textTransform},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),h=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},f=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.inputRef=function(t){n.input=t,"function"==typeof n.props.inputRef&&n.props.inputRef(t)},n.placeHolderSizerRef=function(t){n.placeHolderSizer=t},n.sizerRef=function(t){n.sizer=t},n.state={inputWidth:t.minWidth,inputId:t.id||h()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.id;e!==this.props.id&&this.setState({inputId:e||h()})}},{key:"componentDidUpdate",value:function(t,e){e.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var t=this.input&&window.getComputedStyle(this.input);t&&(u(t,this.sizer),this.placeHolderSizer&&u(t,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var t=void 0;t=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(t+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(t=this.props.minWidth),t!==this.state.inputWidth&&this.setState({inputWidth:t})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var t=this.props.injectStyles;return p&&t?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var t=[this.props.defaultValue,this.props.value,""].reduce((function(t,e){return null!=t?t:e})),e=i({},this.props.style);e.display||(e.display="inline-block");var n=i({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(this.props,[]);return function(t){d.forEach((function(e){return delete t[e]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",i({},r,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}(o.Component);f.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},f.defaultProps={minWidth:1,injectStyles:!0},e.default=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var i=n(73),r=n(104),o=n(40),a=n(24);var s=n(46),l=n(103),c=n(51),d=n(105),u=n(32);function p(t,e,n){void 0===n&&(n=!1);var p,h,f=Object(a.b)(e),m=Object(a.b)(e)&&function(t){var e=t.getBoundingClientRect(),n=Object(u.c)(e.width)/t.offsetWidth||1,i=Object(u.c)(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),g=Object(c.a)(e),_=Object(i.a)(t,m,n),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!n)&&(("body"!==Object(s.a)(e)||Object(d.a)(g))&&(v=(p=e)!==Object(o.a)(p)&&Object(a.b)(p)?{scrollLeft:(h=p).scrollLeft,scrollTop:h.scrollTop}:Object(r.a)(p)),Object(a.b)(e)?((b=Object(i.a)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):g&&(b.x=Object(l.a)(g))),{x:_.left+v.scrollLeft-b.x,y:_.top+v.scrollTop-b.y,width:_.width,height:_.height}}var h=n(106),f=n(108),m=n(78),g=n(11);function _(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var v={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function y(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?v:r;return function(t,e,n){void 0===n&&(n=o);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},v,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;y(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:Object(a.a)(t)?Object(f.a)(t):t.contextElement?Object(f.a)(t.contextElement):[],popper:Object(f.a)(e)};var s=function(t){var e=_(t);return g.g.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=s.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:l,name:e,instance:u,options:i});c.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!d){var t=l.elements,e=t.reference,n=t.popper;if(b(e,n)){l.rects={reference:p(e,Object(m.a)(n),"fixed"===l.options.strategy),popper:Object(h.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],o=r.fn,a=r.options,s=void 0===a?{}:a,c=r.name;"function"==typeof o&&(l=o({state:l,options:s,name:c,instance:u})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(l)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){y(),d=!0}};if(!b(t,e))return u;function y(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(n).then((function(t){!d&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}},function(t,e,n){"use strict";function i(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(73),r=n(51),o=n(104);function a(t){return Object(i.a)(Object(r.a)(t)).left+Object(o.a)(t).scrollLeft}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(40);function r(t){var e=Object(i.a)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(57);function r(t){var e=Object(i.a)(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(73);function r(t){var e=Object(i.a)(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(14),l=n(2),c=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,d=void 0===o?{}:o,u=t.id,p=t.text,h=t.variant,f=void 0===h?"neutral":h,m=t.textTransform,g=void 0===m?"lowercase":m,_=Object(l.a)(n),v=Object(l.c)(d),b=a()(Object(l.b)("pb_pill_kit",f,g),Object(c.c)(t),i);return r.a.createElement("div",Object.assign({},_,v,{className:b,id:u}),r.a.createElement(s.a,{className:"pb_pill_text",size:4,tag:"div",text:p}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(83),r=n(105),o=n(46),a=n(24);var s=n(40);function l(t,e){var n;void 0===e&&(e=[]);var c=function t(e){return["html","body","#document"].indexOf(Object(o.a)(e))>=0?e.ownerDocument.body:Object(a.b)(e)&&Object(r.a)(e)?e:t(Object(i.a)(e))}(t),d=c===(null==(n=t.ownerDocument)?void 0:n.body),u=Object(s.a)(c),p=d?[u].concat(u.visualViewport||[],Object(r.a)(c)?c:[]):c,h=e.concat(p);return d?h:h.concat(l(Object(i.a)(p)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(70),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71),g=n(209),_=n.n(g);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,c=void 0===o?{}:o,u=t.chartData,g=t.colors,b=t.dark,x=void 0!==b&&b,w=t.drillable,O=void 0!==w&&w,k=t.grouped,C=void 0!==k&&k,E=t.height,S=t.id,j=t.title,$=void 0===j?"":j,A=t.tooltipHtml,M=void 0===A?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':A,P=t.type,T=void 0===P?"treemap":P,D=y(t,["aria","data","chartData","colors","dark","drillable","grouped","height","id","title","tooltipHtml","type"]),L=Object(l.a)(n),N=Object(l.c)(c);_()(p.a),x?p.a.setOptions(f.a):p.a.setOptions(h.a);var I={title:{text:$},chart:{height:E,type:T},credits:!1,series:[{data:u}],plotOptions:{treemap:{tooltip:{pointFormat:M},allowTraversingTree:O,colorByPoint:!C,colors:void 0!==g&&g.length>0?Object(m.a)(g):h.a.colors}}},R=v(Object(i.useState)({}),2),F=R[0],z=R[1];return Object(i.useEffect)((function(){z(Object.assign({},I))}),[u]),r.a.createElement(d.a,{containerProps:Object.assign(Object.assign({className:a()(Object(s.c)(D),"pb_treemap_chart"),id:S},L),N),highcharts:p.a,options:F})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(75),a=n(56),s=n(21),l=n(79),c=n(44),d=n(35),u=n(36),p=n(37),h=n(38),f=n(39),m=n(4),g=n(6),_=(n(20),n(28),n(49),n(29)),v=n(61),b=(n(60),n(99),n(100),n(84)),y={cacheOptions:!1,defaultOptions:!1,filterOption:null},x=function(t){var e,n;return n=e=function(e){function n(t){var e;return Object(d.a)(this,n),e=Object(p.a)(this,Object(h.a)(n).call(this)),Object(g.a)(Object(m.a)(Object(m.a)(e)),"select",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"lastRequest",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"mounted",!1),Object(g.a)(Object(m.a)(Object(m.a)(e)),"optionsCache",{}),Object(g.a)(Object(m.a)(Object(m.a)(e)),"handleInputChange",(function(t,n){var i=e.props,r=i.cacheOptions,o=i.onInputChange,a=Object(_.k)(t,n,o);if(!a)return delete e.lastRequest,void e.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(r&&e.optionsCache[a])e.setState({inputValue:a,loadedInputValue:a,loadedOptions:e.optionsCache[a],isLoading:!1,passEmptyOptions:!1});else{var s=e.lastRequest={};e.setState({inputValue:a,isLoading:!0,passEmptyOptions:!e.state.loadedInputValue},(function(){e.loadOptions(a,(function(t){e.mounted&&(t&&(e.optionsCache[a]=t),s===e.lastRequest&&(delete e.lastRequest,e.setState({isLoading:!1,loadedInputValue:a,loadedOptions:t||[],passEmptyOptions:!1})))}))}))}return a})),e.state={defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0,inputValue:void 0!==t.inputValue?t.inputValue:"",isLoading:!0===t.defaultOptions,loadedOptions:[],passEmptyOptions:!1},e}return Object(f.a)(n,e),Object(u.a)(n,[{key:"componentDidMount",value:function(){var t=this;this.mounted=!0;var e=this.props.defaultOptions,n=this.state.inputValue;!0===e&&this.loadOptions(n,(function(e){if(t.mounted){var n=!!t.lastRequest;t.setState({defaultOptions:e||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),t.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(t,e){var n=this.props.loadOptions;if(!n)return e();var i=n(t,e);i&&"function"==typeof i.then&&i.then(e,(function(){return e()}))}},{key:"render",value:function(){var e=this,n=this.props,i=(n.loadOptions,Object(a.a)(n,["loadOptions"])),o=this.state,l=o.defaultOptions,c=o.inputValue,d=o.isLoading,u=o.loadedInputValue,p=o.loadedOptions,h=o.passEmptyOptions?[]:c&&u?p:l||[];return r.a.createElement(t,Object(s.a)({},i,{ref:function(t){e.select=t},options:h,isLoading:d,onInputChange:this.handleInputChange}))}}]),n}(i.Component),Object(g.a)(e,"defaultProps",y),n},w=x(Object(b.a)(v.a)),O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=String(t).toLowerCase(),i=String(e.value).toLowerCase(),r=String(e.label).toLowerCase();return i===n||r===n},k={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n){return!(!t||e.some((function(e){return O(t,e)}))||n.some((function(e){return O(t,e)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}},C=Object(c.a)({allowCreateWhileLoading:!1,createOptionPosition:"last"},k),E=function(t){var e,n;return n=e=function(e){function n(t){var e;Object(d.a)(this,n),e=Object(p.a)(this,Object(h.a)(n).call(this,t)),Object(g.a)(Object(m.a)(Object(m.a)(e)),"select",void 0),Object(g.a)(Object(m.a)(Object(m.a)(e)),"onChange",(function(t,n){var i=e.props,r=i.getNewOptionData,o=i.inputValue,a=i.isMulti,s=i.onChange,c=i.onCreateOption,d=i.value,u=i.name;if("select-option"!==n.action)return s(t,n);var p=e.state.newOption,h=Array.isArray(t)?t:[t];if(h[h.length-1]!==p)s(t,n);else if(c)c(o);else{var f=r(o,o),m={action:"create-option",name:u};s(a?[].concat(Object(l.a)(Object(_.f)(d)),[f]):f,m)}}));var i=t.options||[];return e.state={newOption:void 0,options:i},e}return Object(f.a)(n,e),Object(u.a)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.allowCreateWhileLoading,n=t.createOptionPosition,i=t.formatCreateLabel,r=t.getNewOptionData,o=t.inputValue,a=t.isLoading,s=t.isValidNewOption,c=t.value,d=t.options||[],u=this.state.newOption;u=s(o,Object(_.f)(c),d)?r(o,i(o)):void 0,this.setState({newOption:u,options:!e&&a||!u?d:"first"===n?[u].concat(Object(l.a)(d)):[].concat(Object(l.a)(d),[u])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,n=this.state.options;return r.a.createElement(t,Object(s.a)({},this.props,{ref:function(t){e.select=t},options:n,onChange:this.onChange}))}}]),n}(i.Component),Object(g.a)(e,"defaultProps",C),n},S=E(v.a),j=Object(b.a)(S),$=E(v.a),A=x(Object(b.a)($)),M=n(22),P=n(5),T=n(3),D=n.n(T),L=n(27),N=n(10),I=n(41),R=function(t){return r.a.createElement("div",{className:"pb_typeahead_wrapper"},r.a.createElement(I.a,{dark:t.selectProps.dark,error:t.selectProps.error,label:t.selectProps.label},r.a.createElement(N.a,null,r.a.createElement(L.z.Control,Object.assign({className:"text_input"},t)))))},F=function(t){var e=t.selectProps,n=t.clearValue;return Object(i.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(e.id,":clear"),n)}),[!0]),r.a.createElement(L.z.ClearIndicator,Object.assign({className:"clear_indicator"},t))},z=function(t){return r.a.createElement(L.z.IndicatorsContainer,Object.assign({className:"text_input_indicators"},t))},B=function(t){return r.a.createElement(L.z.MenuList,Object.assign({},t),t.children)},W=n(52),H=n(74),Y=function(t){var e=t.removeProps,n=t.data,i=n.imageUrl,o=n.label,a=t.selectProps.multiKit;return"string"==typeof i&&({marginRight:"xs",name:o,avatarUrl:""}.avatarUrl=i),r.a.createElement(L.z.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},t),"badge"===a&&r.a.createElement(W.a,{closeProps:e,removeIcon:!0,text:o,variant:"primary"}),"badge"!==a&&i&&r.a.createElement(H.a,{avatarUrl:i,closeProps:e,marginRight:"xs",name:o,size:"smallPill"===a?"small":"",text:""}),"badge"!==a&&!i&&r.a.createElement(H.a,{closeProps:e,marginRight:"xs",name:"",size:"smallPill"===a?"small":"",text:o}))},U=n(116),G=function(t){var e=t.data.imageUrl,n=t.selectProps.valueComponent;return r.a.createElement(L.z.Option,Object.assign({},t),r.a.createElement(r.a.Fragment,null,!n&&e&&r.a.createElement(U.a,{align:"left",avatarUrl:e,dark:t.selectProps.dark,name:t.label,orientation:"horizontal"}),n&&n(t.data),!n&&!e&&t.label))},X=n(7),V=function(t){return r.a.createElement(r.a.Fragment,null,r.a.createElement(N.a,{align:"center",className:"placeholder"},r.a.createElement(L.z.IndicatorsContainer,Object.assign({},t)),t.selectProps.plusIcon&&r.a.createElement(X.a,{className:"typeahead-plus-icon",icon:"plus"})))},q=function(t){return r.a.createElement(L.z.ValueContainer,Object.assign({className:"text_input_value_container"},t))},K=n(2),Z=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.async,n=t.className,i=t.components,a=void 0===i?{}:i,s=t.createable,l=t.error,c=void 0===l?"":l,d=t.data,u=void 0===d?{}:d,p=t.getOptionLabel,h=t.getOptionValue,f=t.id,m=t.loadOptions,g=void 0===m?K.d:m,_=Z(t,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","id","loadOptions"]),v=Object.assign({cacheOptions:!0,components:Object.assign({Control:R,ClearIndicator:F,IndicatorsContainer:z,IndicatorSeparator:null,MenuList:B,MultiValue:Y,Option:G,Placeholder:V,ValueContainer:q},a),loadOptions:Object(M.isString)(g)?Object(M.get)(window,g):g,getOptionLabel:Object(M.isString)(p)?Object(M.get)(window,p):p,getOptionValue:Object(M.isString)(h)?Object(M.get)(window,h):h,defaultOptions:!0,id:f||Object(M.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(t){}},_),b=s?e?A:j:e?w:o.a,y=Object(K.c)(u),x=D()("pb_typeahead_kit react-select",Object(P.c)(_),n),O=v.inline?"inline":null;return r.a.createElement("div",Object.assign({},y,{className:D()(x,O)}),r.a.createElement(b,Object.assign({classNamePrefix:"typeahead-kit-select",error:c,onChange:function(t,e){var n=e.action,i=e.option,r=e.removedValue;if("select-option"===n){v.onMultiValueClick&&v.onMultiValueClick(i);var o=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-option-select"),{detail:i||t});document.dispatchEvent(o)}if("remove-value"===n||"pop-value"===n){var a=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-option-remove"),{detail:r});document.dispatchEvent(a)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(v.id,"-result-clear"));document.dispatchEvent(s)}}},v)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(156),l=n(5),c=n(2),d=Object(i.createContext)({}),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},p=function(t){var e=t.children,n=t.className,o=u(t,["children","className"]),s=Object(i.useContext)(d),p=Object(c.b)("pb_collapsible_content_kit"),h=Object(l.c)(o),f=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t;f.current&&(s.collapsed?((t=f.current).style.height=t.scrollHeight+"px",window.setTimeout((function(){t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0"}),1),window.setTimeout((function(){t.classList.remove("is-visible")}),300)):function(t){t.style.display="block";var e=t.scrollHeight+"px";t.style.height=e,t.classList.add("is-visible"),window.setTimeout((function(){t.style.height=""}),300)}(f.current))}),[s.collapsed]),r.a.createElement("div",{ref:f,"data-collapsible-content":"true",className:a()(p,h,"toggle-content",n)},e)},h=n(10),f=n(15),m=n(7),g=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},_={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"},v=function(t){var e=t.collapsed,n=t.icon,i=t.iconSize,o=t.iconColor,a=t.onIconClick,s=_[o],l=function(t){return"string"==typeof t?[t,t]:t},c=function(t){a&&(t.stopPropagation(),a())};return r.a.createElement(r.a.Fragment,null,e?r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[0]:"chevron-down",style:{verticalAlign:"middle",color:s},onClick:function(t){return c(t)}},r.a.createElement(m.a,{icon:n?l(n)[0]:"chevron-down",size:i})):r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[1]:"chevron-up",style:{verticalAlign:"middle",color:s},onClick:function(t){return c(t)}},r.a.createElement(m.a,{icon:n?l(n)[1]:"chevron-up",size:i})))},b=function(t){var e=t.children,n=t.className,o=t.cursor,s=void 0===o?"pointer":o,u=g(t,["children","className","cursor"]),p=Object(i.useContext)(d),m=p.collapsed,_=p.toggle,b=p.icon,y=p.iconSize,x=p.iconColor,w=p.onIconClick,O=p.onClick,k=Object(c.b)("pb_collapsible_main_kit"),C=Object(l.c)(u,{cursor:s});return r.a.createElement("div",{className:a()(k,n,C)},r.a.createElement("div",{onClick:function(){_(),O&&O()}},r.a.createElement(h.a,{spacing:"between",vertical:"center"},r.a.createElement(f.a,null,e),r.a.createElement(f.a,null,r.a.createElement(v,{collapsed:m,iconColor:x,iconSize:y,icon:b,onIconClick:w})))))};function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},O=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,u=t.children,h=void 0===u?[]:u,f=t.collapsed,m=void 0===f||f,g=t.data,_=void 0===g?{}:g,v=t.icon,x=t.iconColor,O=void 0===x?"default":x,k=t.iconSize,C=t.onIconClick,E=t.onClick,S=t.id,j=w(t,["aria","className","children","collapsed","data","icon","iconColor","iconSize","onIconClick","onClick","id"]),$=y(Object(s.a)(m),3),A=$[0],M=$[1],P=$[2];Object(i.useEffect)((function(){P(m)}),[m]);var T=r.a.Children.toArray(h);if(2!==T.length)throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.");var D=T[0],L=T[1],N=D.props,I=N.children,R=w(N,["children"]),F=L.props,z=F.children,B=w(F,["children"]),W=Object(c.a)(n),H=Object(c.c)(_),Y=a()(Object(c.b)("pb_collapsible_kit"),Object(l.c)(j),o);return r.a.createElement(d.Provider,{value:{collapsed:A,toggle:M,icon:v,iconSize:k,iconColor:O,onIconClick:C,onClick:E}},r.a.createElement("div",Object.assign({},W,H,{className:Y,id:S}),r.a.createElement(b,Object.assign({},R),I),r.a.createElement(p,Object.assign({},B),z)))};O.Main=b,O.Content=p;e.a=O},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,d=void 0===c?{}:c,u=t.id,p=t.sideHighlightColor,h=void 0===p?"windows":p,f=Object(s.a)(n),m=Object(s.c)(d),g=""!=h?"side_highlight_".concat(h):null,_=a()(Object(s.b)("pb_table_row_kit",g),Object(l.c)(t),o);return r.a.createElement("tr",Object.assign({},f,m,{className:_,id:u}),i)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(5),a=n(2),s=n(70),l=n.n(s),c=n(26),d=n.n(c),u=n(53),p=n(77),h=n(71),f=n(3),m=n.n(f);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,s=t.data,c=void 0===s?{}:s,f=t.align,_=void 0===f?"center":f,b=t.axisTitle,y=t.dark,x=void 0!==y&&y,w=t.chartData,O=t.className,k=void 0===O?"pb_bar_graph":O,C=t.colors,E=t.id,S=t.pointStart,j=t.subTitle,$=t.type,A=void 0===$?"column":$,M=t.title,P=void 0===M?"Title":M,T=t.xAxisCategories,D=t.yAxisMin,L=t.yAxisMax,N=t.legend,I=void 0!==N&&N,R=t.toggleLegendClick,F=void 0===R||R,z=t.height,B=t.layout,W=void 0===B?"horizontal":B,H=t.verticalAlign,Y=void 0===H?"bottom":H,U=t.x,G=void 0===U?0:U,X=t.y,V=void 0===X?0:X,q=v(t,["aria","data","align","axisTitle","dark","chartData","className","colors","id","pointStart","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),K=Object(a.a)(n),Z=Object(a.c)(c);x?d.a.setOptions(p.a):d.a.setOptions(u.a);var J={title:{text:P},chart:{height:z,type:A},subtitle:{text:j},yAxis:{min:D,max:L,title:{text:b}},xAxis:{categories:T},legend:{enabled:I,align:_,verticalAlign:Y,layout:W,x:G,y:V},colors:void 0!==C&&C.length>0?Object(h.a)(C):u.a.colors,plotOptions:{series:{pointStart:S,events:{},dataLabels:{enabled:!1}}},series:w,credits:!1};F||(J.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=g(Object(i.useState)({}),2),tt=Q[0],et=Q[1];return Object(i.useEffect)((function(){et(Object.assign({},J))}),[w]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:m()(Object(o.c)(q),k),id:E},K),Z),highcharts:d.a,options:tt})}},function(t,e,n){"use strict";var i,r;!function(o){t.exports?(o.default=o,t.exports=o):(i=[n(26)],void 0===(r=function(t){return o(t),o.Highcharts=t,o}.apply(e,i))||(t.exports=r))}((function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(t,e,n){return Math.sqrt(Math.pow(t-n[0],2)+Math.pow(e-n[1],2))<=n[2]/2}var a=r.addEvent,s=r.extend,l=r.merge,c=r.pick,d=r.splat;return t.prototype.collectionsWithUpdate.push("pane"),r=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=d(e),t=Math.max(e.length,this.background.length||0),n=0;n<t;n++)e[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,e[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},t.prototype.renderBackground=function(t,e){var n="animate",i={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||s(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),n="attr"),this.background[e][n]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){l(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,n=this;return t&&n.pane.forEach((function(i){var r=t.chartX-n.plotLeft,a=t.chartY-n.plotTop;o(n.inverted?a:r,n.inverted?r:a,i.center)&&(e=i)})),e},a(t,"afterIsInsidePlot",(function(t){this.polar&&(t.isInsidePlot=this.pane.some((function(e){return o(t.x,t.y,e.center)})))})),a(i,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(n){return n.visible&&!(!t.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!e.hoverPane||n.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(i,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!o(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),n.Pane=r,n.Pane})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=n.noop,s=i.addEvent,l=i.correctFloat,c=i.defined,d=i.extend,u=i.fireEvent,p=i.merge,h=i.pick,f=i.relativeLength,m=i.wrap;return function(e){function n(){this.autoConnect=this.isCircular&&void 0===h(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function i(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function r(){return a}function g(t,e,n){var i=this.pane.center,r=t.value;if(this.isCircular){if(c(r))t.point&&((o=t.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x));else{var o=t.chartX||0,a=t.chartY||0;r=this.translate(Math.atan2(a-n,o-e)-this.startAngleRad,!0)}o=(t=this.getPosition(r)).x,a=t.y}else c(r)||(o=t.chartX,a=t.chartY),c(o)&&c(a)&&(n=i[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(o-e,2)+Math.pow(a-n,2)),i[2]/2)-i[3]/2,!0));return[r,o||0,a||0]}function _(t,e,n){t=this.pane.center;var i=this.chart,r=this.left||0,o=this.top||0,a=h(e,t[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(a+=n),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(r+t[0],o+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+t[0]],e.yBounds=[o+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+i.plotLeft,this.center[1]+i.plotTop],["L",e.x,e.y]]),e}function v(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function b(t,e,n){var i=this.chart,r=function(t){if("string"==typeof t){var e=parseInt(t,10);return u.test(t)&&(e=e*s/100),e}return t},o=this.center,a=this.startAngleRad,s=o[2]/2,l=Math.min(this.offset,0),c=this.left||0,d=this.top||0,u=/%$/,p=this.isCircular,f=h(r(n.outerRadius),s),m=r(n.innerRadius);if(r=h(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),p||(f=t||0,m=e||0),"circle"!==n.shape&&p)n=a+(t||0),a+=e||0;else{n=-Math.PI/2,a=1.5*Math.PI;var g=!0}f-=l,l=i.renderer.symbols.arc(c+o[0],d+o[1],f,f,{start:Math.min(n,a),end:Math.max(n,a),innerR:h(m,f-(r-l)),open:g}),p&&(p=(a+n)/2,c=c+o[0]+o[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[c,i.plotWidth]:[0,c],l.yBounds=[d+o[1]+o[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function y(t){var e=this,n=this.pane.center,i=this.chart,r=i.inverted,o=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=a.innerRadius||"0%",l=a.outerRadius||"100%",c=n[0]+i.plotLeft,d=n[1]+i.plotTop,u=this.height,p=t.isCrosshair;a=n[3]/2;var h,m=t.value,g=this.getPosition(m),_=g.x;if(g=g.y,p&&(m=(g=this.getCrosshairPosition(t,c,d))[0],_=g[1],g=g[2]),this.isCircular)m=Math.sqrt(Math.pow(_-c,2)+Math.pow(g-d,2)),o="string"==typeof s?f(s,1):s/m,i="string"==typeof l?f(l,1):l/m,n&&a&&(o<(a/=m)&&(o=a),i<a&&(i=a)),n=[["M",c+o*(_-c),d-o*(d-g)],["L",_-(1-i)*(_-c),g+(1-i)*(d-g)]];else if((m=this.translate(m))&&(0>m||m>u)&&(m=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,m,a);else if(n=[],i[r?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(h=t)})),h)for(c=h.tickPositions,h.autoConnect&&(c=c.concat([c[0]])),o&&(c=c.slice().reverse()),m&&(m+=a),d=0;d<c.length;d++)a=h.getPosition(c[d],m),n.push(d?["L",a.x,a.y]:["M",a.x,a.y]);return n}function x(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,h(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function w(){var t=this.center,e=this.chart,n=this.options.title;return{x:e.plotLeft+t[0]+(n.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[n.align]*t[2]+(n.y||0)}}function O(t){t.beforeSetTickPositions=n,t.createLabelCollector=i,t.getCrosshairPosition=g,t.getLinePath=_,t.getOffset=v,t.getPlotBandPath=b,t.getPlotLinePath=y,t.getPosition=x,t.getTitlePosition=w,t.postTranslate=M,t.setAxisSize=T,t.setAxisTranslation=D,t.setOptions=L}function k(){var t=this.chart,e=this.options,n=this.pane,i=n&&n.options;t.angular&&this.isXAxis||!n||!t.angular&&!t.polar||(this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=(i.startAngle-90)*Math.PI/180,this.endAngleRad=(h(i.endAngle,i.startAngle+360)-90)*Math.PI/180,this.offset=e.offset||0)}function C(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function E(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function S(e){var n,i=this.chart,o=i.inverted,s=i.angular,l=i.polar,c=this.isXAxis,d=this.coll,u=s&&c,h=i.options;e=e.userOptions.pane||0,e=this.pane=i.pane&&i.pane[e],"colorAxis"===d?this.isRadial=!1:(s?(u?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=a,this.render=this.redraw=P,this.setTitle=this.setCategories=this.setScale=a):O(this),(n=!c)&&(this.defaultPolarOptions=F)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?R:p("xAxis"===d?t.defaultXAxisOptions:t.defaultYAxisOptions,z),o&&"yAxis"===d&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,h.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&n&&(e.axis=this),this.isCircular=n)}function j(){this.isRadial&&this.beforeSetTickPositions()}function $(t){var e=this.label;if(e){var n=this.axis,i=e.getBBox(),r=n.options.labels,o=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(o),s=c(r.y)?0:.3*-i.height,l=r.y,d=20,u=r.align,p="end",m=0>a?a+360:a,g=m,_=0,v=0;if(n.isRadial){var b=n.getPosition(this.pos,n.center[2]/2+f(h(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?e.attr({rotation:o}):c(l)||(l=n.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-i.height/2),c(u)||(n.isCircular?(i.width>n.len*n.tickInterval/(n.max-n.min)&&(d=0),u=o>d&&o<180-d?"left":o>180+d&&o<360-d?"right":"center"):u="center",e.attr({align:u})),"auto"===u&&2===n.tickPositions.length&&n.isCircular&&(90<m&&180>m?m=180-m:270<m&&360>=m&&(m=540-m),180<g&&360>=g&&(g=360-g),n.pane.options.startAngle!==a&&n.pane.options.startAngle!==a+360&&n.pane.options.startAngle!==a-360||(p="start"),u=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===p?"right":"left":"start"===p?"left":"right",70<g&&110>g&&(u="center"),15>m||180<=m&&195>m?_=.3*i.height:15<=m&&35>=m?_="start"===p?0:.75*i.height:195<=m&&215>=m?_="start"===p?.75*i.height:0:35<m&&90>=m?_="start"===p?.25*-i.height:i.height:215<m&&270>=m&&(_="start"===p?i.height:.25*-i.height),15>g?v="start"===p?.15*-i.height:.15*i.height:165<g&&180>=g&&(v="start"===p?.15*i.height:.15*-i.height),e.attr({align:u}),e.translate(v,_+s)),t.pos.x=b.x+(r.x||0),t.pos.y=b.y+(l||0)}}}function A(t){this.axis.getPosition&&d(t.pos,this.axis.getPosition(this.pos))}function M(t,e){var n=this.chart,i=this.center;return t=this.startAngleRad+t,{x:n.plotLeft+i[0]+Math.cos(t)*e,y:n.plotTop+i[1]+Math.sin(t)*e}}function P(){this.isDirty=!1}function T(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*h(this.sector,1)/2}}function D(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function L(t){(t=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,o[this.coll],t)).plotBands||(t.plotBands=[]),u(this,"afterSetOptions")}function N(t,e,n,i,r,o,a){var s=this.axis;return s.isRadial?e=["M",e,n,"L",(t=s.getPosition(this.pos,s.center[2]/2+i)).x,t.y]:e=t.call(this,e,n,i,r,o,a),e}var I=[],R={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},F={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};e.compose=function(t,e){return-1===I.indexOf(t)&&(I.push(t),s(t,"afterInit",k),s(t,"autoLabelAlign",C),s(t,"destroy",E),s(t,"init",S),s(t,"initialAxisTranslation",j)),-1===I.indexOf(e)&&(I.push(e),s(e,"afterGetLabelPosition",$),s(e,"afterGetPosition",A),m(e.prototype,"getMarkPath",N)),t}}(r||(r={})),r})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Series/Area/AreaSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.prototype,o=n.defined,a=n.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.high=void 0,e.low=void 0,e.options=void 0,e.plotHigh=void 0,e.plotLow=void 0,e.plotHighX=void 0,e.plotLowX=void 0,e.plotX=void 0,e.series=void 0,e}return i(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,n=e.chart.polar;o(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),o(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),r.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),r.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(e=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(r.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return a(this.low)&&a(this.high)},e}(t.prototype.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Series/Area/AreaSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a){var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=e.prototype,c=n.prototype;n=i.noop;var d=r.prototype,u=a.defined,p=a.extend,h=a.isArray,f=a.pick,m=a.merge;return r=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return s(n,t),n.prototype.toYData=function(t){return[t.low,t.high]},n.prototype.highToXY=function(t){var e=this.chart,n=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-t.plotHigh);t.plotHighX=n.x-e.plotLeft,t.plotHigh=n.y-e.plotTop,t.plotLowX=t.plotX},n.prototype.translate=function(){var t=this,e=t.yAxis;l.translate.apply(t),t.points.forEach((function(n){var i=n.high,r=n.plotY;n.isNull?n.plotY=null:(n.plotLow=r,n.plotHigh=e.translate(t.dataModify?t.dataModify.modifyValue(i):i,0,1,0,1),t.dataModify&&(n.yBottom=n.plotHigh))})),this.chart.polar&&this.points.forEach((function(e){t.highToXY(e),e.tooltipPos=[(e.plotHighX+e.plotLowX)/2,(e.plotHigh+e.plotLow)/2]}))},n.prototype.getGraphPath=function(t){var e,n=[],i=[],r=l.getGraphPath,o=this.options,a=this.chart.polar,s=a&&!1!==o.connectEnds,c=o.connectNulls,d=o.step;for(e=(t=t||this.points).length;e--;){var u=t[e],p=a?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||s||c||t[e+1]&&!t[e+1].isNull||i.push(p);var h={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:f(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull};i.push(h),n.push(h),u.isNull||s||c||t[e-1]&&!t[e-1].isNull||i.push(p)}return t=r.call(this,t),d&&(!0===d&&(d="left"),o.step={left:"right",center:"center",right:"left"}[d]),n=r.call(this,n),i=r.call(this,i),o.step=d,o=[].concat(t,n),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=o,this.areaPath=t.concat(i),o.isArea=!0,o.xMap=t.xMap,this.areaPath.xMap=t.xMap,o},n.prototype.drawDataLabels=function(){var t,e,n=this.points,i=n.length,r=[],o=this.options.dataLabels,a=this.chart.inverted;if(o){if(h(o))var s=o[0]||{enabled:!1},l=o[1]||{enabled:!1};else(s=p({},o)).x=o.xHigh,s.y=o.yHigh,(l=p({},o)).x=o.xLow,l.y=o.yLow;if(s.enabled||this._hasPointLabels){for(t=i;t--;)if(e=n[t]){var c=s.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow;e.y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,r[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=c,a?s.align||(s.align=c?"right":"left"):s.verticalAlign||(s.verticalAlign=c?"top":"bottom")}for(this.options.dataLabels=s,d.drawDataLabels&&d.drawDataLabels.apply(this,arguments),t=i;t--;)(e=n[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=r[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(l.enabled||this._hasPointLabels){for(t=i;t--;)(e=n[t])&&(c=l.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow,e.below=!c,a?l.align||(l.align=c?"left":"right"):l.verticalAlign||(l.verticalAlign=c?"bottom":"top"));this.options.dataLabels=l,d.drawDataLabels&&d.drawDataLabels.apply(this,arguments)}if(s.enabled)for(t=i;t--;)(e=n[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=o}},n.prototype.alignDataLabel=function(){c.alignDataLabel.apply(this,arguments)},n.prototype.drawPoints=function(){var t,e=this.points.length;for(d.drawPoints.apply(this,arguments),t=0;t<e;){var n=this.points[t];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,u(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=f(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),t++}for(d.drawPoints.apply(this,arguments),t=0;t<e;)(n=this.points[t]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(p(n,n.origProps),delete n.origProps),t++},n.defaultOptions=m(e.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),n}(e),p(r.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:t,setStackedPoints:n}),o.registerSeriesType("arearange",r),r})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes.spline,o=n.merge;n=n.extend;var a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions),n}(t);return n(a.prototype,{getPointSpline:r.prototype.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=i.extend,a=i.merge,s=i.pick;return o((i=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var t=this.yAxis,n=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){n.forEach((function(n){null!==e[n]&&(e[n+"Plot"]=t.translate(e[n],0,1,0,1))})),e.plotHigh=e.highPlot}))},n.prototype.drawPoints=function(){var t,e,n,i,r,o,a,l,c,d,u,p=this,h=p.options,f=p.chart,m=f.renderer,g=0,_=!1!==p.doQuartiles,v=p.options.whiskerLength;p.points.forEach((function(b){var y=b.graphic,x=y?"animate":"attr",w=b.shapeArgs,O={},k={},C={},E={},S=b.color||p.color;void 0!==b.plotY&&(a=Math.round(w.width),l=Math.floor(w.x),c=l+a,d=Math.round(a/2),t=Math.floor(_?b.q1Plot:b.lowPlot),e=Math.floor(_?b.q3Plot:b.lowPlot),n=Math.floor(b.highPlot),i=Math.floor(b.lowPlot),y||(b.graphic=y=m.g("point").add(p.group),b.stem=m.path().addClass("highcharts-boxplot-stem").add(y),v&&(b.whiskers=m.path().addClass("highcharts-boxplot-whisker").add(y)),_&&(b.box=m.path(void 0).addClass("highcharts-boxplot-box").add(y)),b.medianShape=m.path(void 0).addClass("highcharts-boxplot-median").add(y)),f.styledMode||(k.stroke=b.stemColor||h.stemColor||S,k["stroke-width"]=s(b.stemWidth,h.stemWidth,h.lineWidth),k.dashstyle=b.stemDashStyle||h.stemDashStyle||h.dashStyle,b.stem.attr(k),v&&(C.stroke=b.whiskerColor||h.whiskerColor||S,C["stroke-width"]=s(b.whiskerWidth,h.whiskerWidth,h.lineWidth),C.dashstyle=b.whiskerDashStyle||h.whiskerDashStyle||h.dashStyle,b.whiskers.attr(C)),_&&(O.fill=b.fillColor||h.fillColor||S,O.stroke=h.lineColor||S,O["stroke-width"]=h.lineWidth||0,O.dashstyle=b.boxDashStyle||h.boxDashStyle||h.dashStyle,b.box.attr(O)),E.stroke=b.medianColor||h.medianColor||S,E["stroke-width"]=s(b.medianWidth,h.medianWidth,h.lineWidth),E.dashstyle=b.medianDashStyle||h.medianDashStyle||h.dashStyle,b.medianShape.attr(E)),o=b.stem.strokeWidth()%2/2,y=[["M",g=l+d+o,e],["L",g,n],["M",g,t],["L",g,i]],b.stem[x]({d:y}),_&&(o=b.box.strokeWidth()%2/2,t=Math.floor(t)+o,e=Math.floor(e)+o,y=[["M",l+=o,e],["L",l,t],["L",c+=o,t],["L",c,e],["L",l,e],["Z"]],b.box[x]({d:y})),v&&(o=b.whiskers.strokeWidth()%2/2,n+=o,i+=o,u=/%$/.test(v)?d*parseFloat(v)/100:v/2,y=[["M",g-u,n],["L",g+u,n],["M",g-u,i],["L",g+u,i]],b.whiskers[x]({d:y})),r=Math.round(b.medianPlot),o=b.medianShape.strokeWidth()%2/2,y=[["M",l,r+=o],["L",c,r]],b.medianShape[x]({d:y}))}))},n.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},n.defaultOptions=a(t.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(t)).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),n.registerSeriesType("boxplot",i),i})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=n.noop,a=i.arrayMax,s=i.arrayMin,l=i.isNumber,c=i.merge,d=i.pick,u=i.stableSort;return function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=this.options,i=d(t.options.itemDistance,20),r=n.ranges,o=n.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(n.labels.style.fontSize),r&&r.length&&l(r[0].value)?(u(r,(function(t,e){return e.value-t.value})),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),o=0<(o=o-r+t.width)?o:0,this.maxLabel=t,this.movementX="left"===n.labels.align?o:0,this.legendItemWidth=e+o+i,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],i=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,u=this.chart.styledMode;t.forEach((function(p,h){u||(o.stroke=d(p.borderColor,e.borderColor,n.color),o.fill=d(p.color,e.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=d(p.connectorColor,e.connectorColor,n.color)),t[h].radius=this.getRangeRadius(p.value),t[h]=c(t[h],{center:t[0].radius-t[h].radius+i}),u||c(!0,t[h],{bubbleAttribs:c(o),connectorAttribs:c(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach((function(t){t.value>=e&&this.renderRange(t)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,i=this.chart,r=i.series[e.seriesIndex],o=i.renderer,a=this.symbols;i=a.labels;var s=t.center,l=Math.abs(t.radius),c=e.connectorDistance||0,d=n.align,u=e.connectorWidth,p=this.ranges[0].radius||0,h=s-l-e.borderWidth/2+u/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var m=o.styledMode;c=this.legend.options.rtl||"left"===d?-c:c,"center"===d&&(c=0,e.connectorDistance=0,t.labelAttribs.align="center"),d=h+e.labels.y;var g=p+c+e.labels.x;a.bubbleItems.push(o.circle(p,s+((h%1?1:.5)-(u%2?0:.5)),l).attr(m?{}:t.bubbleAttribs).addClass((m?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),a.connectors.push(o.path(o.crispLine([["M",p,h],["L",p+c,h]],e.connectorWidth)).attr(m?{}:t.connectorAttribs).addClass((m?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=o.text(this.formatLabel(t),g,d+f).attr(m?{}:t.labelAttribs).css(m?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),i.push(t),t.placed=!0,t.alignAttr={x:g,y:d+f}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,i=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?e.format(n,t):i?i.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&((t=e.zData.filter(l)).length&&(i=d(e.options.zMin,Math.min(i,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),r=d(e.options.zMax,Math.max(r,a(t)))))}));var o=i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&o.reverse(),o.forEach((function(t,e){n&&n[e]&&(o[e]=c(n[e],t))})),o},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,i=n.floating,r=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,o=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(a,o);return s=s.options.maxSize,i||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(c+r-e.h/2)*s/100/(s/100+1),(n&&a-e>=o||!n&&o-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}()})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=n.setOptions,a=i.addEvent,s=i.objectEach,l=i.wrap;return function(n){function i(t,e,n){var i=this.legend,o=0<=r(this);if(i&&i.options.enabled&&i.bubbleLegend&&i.options.bubbleLegend.autoRanges&&o){var a=i.bubbleLegend.options;o=i.bubbleLegend.predictBubbleSizes(),i.bubbleLegend.updateRanges(o[0],o[1]),a.placed||(i.group.placed=!1,i.allItems.forEach((function(t){t.legendGroup.translateY=null}))),i.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),a.placed||(t.setScale(),t.updateNames(),s(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),a.placed=!0,this.getMargins(),t.call(this,e,n),i.bubbleLegend.correctSizes(),p(i,c(i))}else t.call(this,e,n),i&&i.options.enabled&&i.bubbleLegend&&(i.render(),p(i,c(i)))}function r(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function c(t){var e,n=[],i=(t=t.allItems).length,r=0;for(e=0;e<i;e++)if(t[e].legendItemHeight&&(t[e].itemHeight=t[e].legendItemHeight),t[e]===t[i-1]||t[e+1]&&t[e]._legendItemPos[1]!==t[e+1]._legendItemPos[1]){n.push({height:0});for(var o=n[n.length-1];r<=e;r++)t[r].itemHeight>o.height&&(o.height=t[r].itemHeight);o.step=e}return n}function d(t){var n=this.bubbleLegend,i=this.options,o=i.bubbleLegend,a=r(this.chart);n&&n.ranges&&n.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&i.enabled&&o.enabled&&(o.seriesIndex=a,this.bubbleLegend=new e(o,this),this.bubbleLegend.addToLegend(t.allItems))}function u(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=r(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function p(t,e){var n,i,r,o=t.options.rtl,a=0;t.allItems.forEach((function(t,s){n=t.legendGroup.translateX,i=t._legendItemPos[1],((r=t.movementX)||o&&t.ranges)&&(r=o?n-t.options.maxSize/2:n+r,t.legendGroup.attr({translateX:r})),s>e[a].step&&a++,t.legendGroup.attr({translateY:Math.round(i+e[a].height/2)}),t._legendItemPos[1]=i+e[a].height/2}))}var h=[];n.compose=function(e,n,r){-1===h.indexOf(e)&&(h.push(e),o({legend:{bubbleLegend:t}}),l(e.prototype,"drawChartBox",i)),-1===h.indexOf(n)&&(h.push(n),a(n,"afterGetAllItems",d)),-1===h.indexOf(r)&&(h.push(r),a(r,"legendItemClick",u))}}(r||(r={})),r})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return(n=n.extend)((e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Core/Axis/Axis.js"],t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=i.parse;i=r.noop;var d=a.seriesTypes;r=d.column;var u=d.scatter;d=s.addEvent;var p=s.arrayMax,h=s.arrayMin,f=s.clamp,m=s.extend,g=s.isNumber,_=s.merge,v=s.pick;return s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.maxPxSize=void 0,e.minPxSize=void 0,e.options=void 0,e.points=void 0,e.radii=void 0,e.yData=void 0,e.zData=void 0,e}return l(n,t),n.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},n.prototype.getRadii=function(){var t=this,e=this.zData,n=this.yData,i=[],r=this.chart.bubbleZExtremes,o=this.getPxExtremes(),a=o.minPxSize,s=o.maxPxSize;if(!r){var l,c=Number.MAX_VALUE,d=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=e.getZExtremes())&&(c=Math.min(c||e.zMin,e.zMin),d=Math.max(d||e.zMax,e.zMax),l=!0)})),l?(r={zMin:c,zMax:d},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var u=0;for(o=e.length;u<o;u++){var p=e[u];i.push(this.getRadius(r.zMin,r.zMax,a,s,p,n[u]))}this.radii=i},n.prototype.getRadius=function(t,e,n,i,r,o){var a=this.options,s="width"!==a.sizeBy,l=a.zThreshold,c=e-t,d=.5;if(null===o||null===r)return null;if(g(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-l),c=Math.max(e-l,Math.abs(t-l)),t=0),r<t)return n/2-1;0<c&&(d=(r-t)/c)}return s&&0<=d&&(d=Math.sqrt(d)),Math.ceil(n+d*(i-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(t,e){var n=this.options.marker.fillOpacity;return t=o.prototype.pointAttribs.call(this,t,e),1!==n&&(t.fill=c(t.fill).setOpacity(n).get("rgba")),t},n.prototype.translate=function(){t.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,n=this.getPxExtremes().minPxSize,i=t.length;i--;){var r=t[i],o=e?e[i]:0;g(o)&&o>=n/2?(r.marker=m(r.marker,{radius:o,width:2*o,height:2*o}),r.dlBox={x:r.plotX-o,y:r.plotY-o,width:2*o,height:2*o}):r.shapeArgs=r.plotY=r.dlBox=void 0}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(v(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(v(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(g);if(e.length){var n=v(t.zMin,f(h(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=v(t.zMax,p(e)),g(n)&&g(t))return{zMin:n,zMax:t}}},n.compose=e.compose,n.defaultOptions=_(u.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return g(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(u),m(s.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),d(s,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),t.prototype.beforePadding=function(){var t,e=this,n=this.len,i=this.chart,r=0,o=n,a=this.isXAxis,s=a?"xData":"yData",l=this.min,c=this.max-l,d=n/c;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!i.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var u=n[s];if(a&&n.getRadii(0,0,n),0<c)for(var p=u.length;p--;)if(g(u[p])&&e.dataMin<=u[p]&&u[p]<=e.max){var h=n.radii&&n.radii[p]||0;r=Math.min((u[p]-l)*d-h,r),o=Math.max((u[p]-l)*d+h,o)}}})),t&&0<c&&!this.logarithmic&&(o-=n,d*=(n+Math.max(0,r)-Math.min(o,n))/n,[["min","userMin",r],["max","userMax",o]].forEach((function(t){void 0===v(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/d)})))},a.registerSeriesType("bubble",s),s})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes;t=i.column.prototype.pointClass;var r=e.extend,o=e.isNumber;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.series=void 0,e.options=void 0,e.barX=void 0,e.pointWidth=void 0,e.shapeType=void 0,e}return n(e,t),e.prototype.isValid=function(){return o(this.low)},e}(i.arearange.prototype.pointClass),r(e.prototype,{setState:t.prototype.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.arearange,s=o.column,l=s.prototype,c=a.prototype,d=i.clamp,u=i.merge,p=i.pick;i=i.extend;var h={pointRange:null,marker:null,states:{hover:{halo:!1}}};return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return r(e,t),e.prototype.setOptions=function(){return u(!0,arguments[0],{stacking:void 0}),c.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,n=this,i=n.yAxis,r=n.xAxis,o=r.startAngleRad,a=n.chart,s=n.xAxis.isRadial,c=Math.max(a.chartWidth,a.chartHeight)+999;l.translate.apply(n),n.points.forEach((function(l){var u=l.shapeArgs||{},h=n.options.minPointLength;l.plotHigh=e=d(i.translate(l.high,0,1,0,1),-c,c),l.plotLow=d(l.plotY,-c,c);var f=e,m=p(l.rectPlotY,l.plotY)-e;Math.abs(m)<h?(m+=h-=m,f-=h/2):0>m&&(f-=m*=-1),s?(t=l.barX+o,l.shapeType="arc",l.shapeArgs=n.polarArc(f+m,f,t,t+l.pointWidth)):(u.height=m,u.y=f,h=void 0===(h=u.x)?0:h,u=void 0===(u=u.width)?0:u,l.tooltipPos=a.inverted?[i.len+i.pos-a.plotLeft-f-m/2,r.len+r.pos-a.plotTop-h-u/2,m]:[r.left-a.plotLeft+h+u/2,i.pos-a.plotTop+f+m/2,m])}))},e.prototype.crispCol=function(){return l.crispCol.apply(this,arguments)},e.prototype.drawPoints=function(){return l.drawPoints.apply(this,arguments)},e.prototype.drawTracker=function(){return l.drawTracker.apply(this,arguments)},e.prototype.getColumnMetrics=function(){return l.getColumnMetrics.apply(this,arguments)},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.adjustForMissingColumns=function(){return l.adjustForMissingColumns.apply(this,arguments)},e.prototype.animate=function(){return l.animate.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=u(s.defaultOptions,a.defaultOptions,h),e}(a),i(o.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:e,getSymbol:e,polarArc:function(){return l.polarArc.apply(this,arguments)},pointClass:t}),n.registerSeriesType("columnrange",o),o})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.prototype,o=n.clamp,a=n.merge,s=n.pick;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=s(n.borderWidth,i?0:1);var a=t.yAxis,l=n.threshold,c=t.translatedThreshold=a.getThreshold(l),d=s(n.minPointLength,5),u=t.getColumnMetrics(),p=u.width,h=t.barW=Math.max(p,1+2*i),f=t.pointXOffset=u.offset;e.inverted&&(c-=.5),n.pointPadding&&(h=Math.ceil(h)),r.translate.apply(t),t.points.forEach((function(i){var r=s(i.yBottom,c),u=999+Math.abs(r),m=o(i.plotY,-u,a.len+u);u=i.plotX+f;var g,_=h/2,v=Math.min(m,r);r=Math.max(m,r)-v,i.barX=u,i.pointWidth=p,i.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-m,t.xAxis.len-u-_,r]:[u+_,m+a.pos-e.plotTop,r],m=l+(i.total||i.y),"percent"===n.stacking&&(m=l+(0>i.y)?-100:100),m=a.toPixels(m,!0);var b=(g=e.plotHeight-m-(e.plotHeight-c))?_*(v-m)/g:0,y=g?_*(v+r-m)/g:0;g=u-b+_,b=u+b+_;var x=u+y+_;y=u-y+_;var w=v-d,O=v+r;0>i.y&&(w=v,O=v+r+d),e.inverted&&(y=_*(m-((x=a.width-v)-r))/(g=m-(a.width-c)),b=(g=u+_+(b=_*(m-x)/g))-2*b,x=u-y+_,y=u+y+_,w=v,O=v+r-d,0>i.y&&(O=v+r+d)),i.shapeType="path",i.shapeArgs={x:g,y:w,width:b-g,height:r,d:[["M",g,w],["L",b,w],["L",x,O],["L",y,O],["Z"]]}}))},n.defaultOptions=a(t.defaultOptions,{}),n}(t),e.registerSeriesType("columnpyramid",n),n})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=n.seriesTypes.arearange,a=i.merge;i=i.extend;var s=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(i,n),i.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},i.prototype.drawDataLabels=function(){var t=this.pointValKey;o&&(o.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},i.prototype.toYData=function(t){return[t.low,t.high]},i.defaultOptions=a(t.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),i}(t);return i(s.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",s),s})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(n,t),n.prototype.setState=function(t){this.state=t},n}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.series,a=n.seriesTypes.column,s=i.clamp,l=i.isNumber,c=i.extend,d=i.merge,u=i.pick,p=i.pInt;return c((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return r(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,n=t.center;this.generatePoints(),this.points.forEach((function(i){var r=d(e.dial,i.dial),o=p(u(r.radius,"80%"))*n[2]/200,a=p(u(r.baseLength,"70%"))*o/100,c=p(u(r.rearLength,"10%"))*o/100,h=r.baseWidth||3,f=r.topWidth||1,m=e.overshoot,g=t.startAngleRad+t.translate(i.y,null,null,null,!0);(l(m)||!1===e.wrap)&&(m=l(m)?m/180*Math.PI:0,g=s(g,t.startAngleRad-m,t.endAngleRad+m)),g=180*g/Math.PI,i.shapeType="path",i.shapeArgs={d:r.path||[["M",-c,-h/2],["L",a,-h/2],["L",o,-f/2],["L",o,f/2],["L",a,h/2],["L",-c,h/2],["Z"]],translateX:n[0],translateY:n[1],rotation:g},i.plotX=n[0],i.plotY=n[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.center,i=t.pivot,r=t.options,o=r.pivot,a=e.renderer;t.points.forEach((function(n){var i=n.graphic,o=n.shapeArgs,s=o.d,l=d(r.dial,n.dial);i?(i.animate(o),o.d=s):n.graphic=a[n.shapeType](o).attr({rotation:o.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||n.graphic[i?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})})),i?i.animate({translateX:n[0],translateY:n[1]}):(t.pivot=a.circle(0,0,u(o.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(t.group),e.styledMode||t.pivot.attr({"stroke-width":o.borderWidth||0,stroke:o.borderColor||"#cccccc",fill:o.backgroundColor||"#000000"}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var n=t.graphic;n&&(n.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),n.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),o.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){o.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),u(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=d(o.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),e}(o)).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",i),i})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return i(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var n=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=n}else e.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,e.prototype.select.apply(this,arguments),n.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/Networkgraph/DraggableNodes.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=n.addEvent;e.dragNodesMixin={onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var n=this.chart,i=n.pointer.normalize(e);e=t.fixedPosition.chartX-i.chartX,i=t.fixedPosition.chartY-i.chartY;var r=void 0,o=void 0,a=n.graphLayoutsLookup;(5<Math.abs(e)||5<Math.abs(i))&&(r=t.fixedPosition.plotX-e,o=t.fixedPosition.plotY-i,n.isInsidePlot(r,o)&&(t.plotX=r,t.plotY=o,t.hasDragged=!0,this.redrawHalo(t),a.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},i(t,"load",(function(){var t,e,n,r=this;r.container&&(t=i(r.container,"mousedown",(function(t){var o=r.hoverPoint;o&&o.series&&o.series.hasDraggableNodes&&o.series.options.draggable&&(o.series.onMouseDown(o,t),e=i(r.container,"mousemove",(function(t){return o&&o.series&&o.series.onMouseMove(o,t)})),n=i(r.container.ownerDocument,"mouseup",(function(t){return e(),n(),o&&o.series&&o.series.onMouseUp(o,t)})))}))),i(r,"destroy",(function(){t()}))}))})),e(t,"Series/Networkgraph/Integrations.js",[t["Core/Globals.js"]],(function(t){t.networkgraphIntegrations={verlet:{attractiveForceFunction:function(t,e){return(e-t)/t},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,n=(n-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=n/t.mass/t.degree)}))},repulsive:function(t,e,n){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=n.x*e,t.plotY+=n.y*e)},attractive:function(t,e,n){var i=t.getMass(),r=-n.x*e*this.diffTemperature;e=-n.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=r*i.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*i.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*i.toNode/t.toNode.degree,t.toNode.plotY+=e*i.toNode/t.toNode.degree)},integrate:function(t,e){var n=-t.options.friction,i=t.options.maxSpeed,r=(e.plotX+e.dispX-e.prevX)*n;n*=e.plotY+e.dispY-e.prevY;var o=Math.abs,a=o(r)/(r||1);o=o(n)/(n||1),r=a*Math.min(i,Math.abs(r)),n=o*Math.min(i,Math.abs(n)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=r,e.plotY+=n,e.temperature=t.vectorLength({x:r,y:n})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)}},euler:{attractiveForceFunction:function(t,e){return t*t/e},repulsiveForceFunction:function(t,e){return e*e/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(i){if(!i.fixedPosition){var r=i.getDegree();r*=1+r/2,i.dispX+=(e-i.plotX)*t*r/i.degree,i.dispY+=(n-i.plotY)*t*r/i.degree}}))},repulsive:function(t,e,n,i){t.dispX+=n.x/i*e/t.degree,t.dispY+=n.y/i*e/t.degree},attractive:function(t,e,n,i){var r=t.getMass(),o=n.x/i*e;e*=n.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=o*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*r.toNode/t.toNode.degree,t.toNode.dispY+=e*r.toNode/t.toNode.degree)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var n=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==n&&(e.plotX+=e.dispX/n*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/n*Math.min(Math.abs(e.dispY),t.temperature))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)}}}})),e(t,"Series/Networkgraph/QuadTree.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){e=e.extend;var n=t.QuadTreeNode=function(t){this.box=t,this.boxSize=Math.min(t.width,t.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};e(n.prototype,{insert:function(t,e){this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((e=new n({top:t.plotX,left:t.plotY,width:.1,height:.1})).body=t,e.isInternal=!1,this.nodes.push(e)):(this.isInternal=!1,this.body=t))},updateMassAndCenter:function(){var t=0,e=0,n=0;this.isInternal?(this.nodes.forEach((function(i){i.isEmpty||(t+=i.mass,e+=i.plotX*i.mass,n+=i.plotY*i.mass)})),e/=t,n/=t):this.body&&(t=this.body.mass,e=this.body.plotX,n=this.body.plotY),this.mass=t,this.plotX=e,this.plotY=n},divideBox:function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new n({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new n({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+e,width:t,height:e})},getBoxPosition:function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2}}),e((t=t.QuadTree=function(t,e,i,r){this.box={left:t,top:e,width:i,height:r},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(t){t.forEach((function(t){this.root.insert(t,this.maxDepth)}),this)},visitNodeRecursive:function(t,e,n){var i;t||(t=this.root),t===this.root&&e&&(i=e(t)),!1!==i&&(t.nodes.forEach((function(t){if(t.isInternal){if(e&&(i=e(t)),!1===i)return;this.visitNodeRecursive(t,e,n)}else t.body&&e&&e(t.body);n&&n(t)}),this),t===this.root&&n&&n(t))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))}})})),e(t,"Series/Networkgraph/Layouts.js",[t["Core/Chart/Chart.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=e.setAnimation;e=i.addEvent;var o=i.clamp,a=i.defined,s=i.extend,l=i.isFunction,c=i.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},updateSimulation:function(t){this.enableSimulation=c(t,this.options.enableSimulation)},start:function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},step:function(){var t=this,e=this.series;t.currentStep++,"barnes-hut"===t.approximation&&(t.createQuadTree(),t.quadTree.calculateMassAndCenter()),t.forces.forEach((function(e){t[e+"Forces"](t.temperature)})),t.applyLimits(t.temperature),t.temperature=t.coolDown(t.startTemperature,t.diffTemperature,t.currentStep),t.prevSystemTemperature=t.systemTemperature,t.systemTemperature=t.getSystemTemperature(),t.enableSimulation&&(e.forEach((function(t){t.chart&&t.render()})),t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()?(t.simulation&&n.win.cancelAnimationFrame(t.simulation),t.simulation=n.win.requestAnimationFrame((function(){t.step()}))):t.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(t,e,n,i){this.box={left:t,top:e,width:n,height:i}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(t,e){t.forEach((function(t){-1===e.indexOf(t)&&e.push(t)}))},removeElementFromCollection:function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(t){this.maxIterations=c(t,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(t){this.initialRendering=t},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var t=this.options.initialPositions;l(t)?(t.call(this),this.nodes.forEach((function(t){a(t.prevX)||(t.prevX=t.plotX),a(t.prevY)||(t.prevY=t.plotY),t.dispX=0,t.dispY=0}))):"circle"===t?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var t=this.box,e=this.nodes,n=2*Math.PI/(e.length+1),i=e.filter((function(t){return 0===t.linksTo.length})),r=[],o={},a=this.options.initialPositionRadius;i.forEach((function(t){r.push(t),function t(e){e.linksFrom.forEach((function(e){o[e.toNode.id]||(o[e.toNode.id]=!0,r.push(e.toNode),t(e.toNode))}))}(t)})),r.length?e.forEach((function(t){-1===r.indexOf(t)&&r.push(t)})):r=e,r.forEach((function(e,i){e.plotX=e.prevX=c(e.plotX,t.width/2+a*Math.cos(i*n)),e.plotY=e.prevY=c(e.plotY,t.height/2+a*Math.sin(i*n)),e.dispX=0,e.dispY=0}))},setRandomPositions:function(){function t(t){return(t=t*t/Math.PI)-Math.floor(t)}var e=this.box,n=this.nodes,i=n.length+1;n.forEach((function(n,r){n.plotX=n.prevX=c(n.plotX,e.width*t(r)),n.plotY=n.prevY=c(n.plotY,e.height*t(i+r)),n.dispX=0,n.dispY=0}))},force:function(t){this.integration[t].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var t=0,e=0,n=0;return this.nodes.forEach((function(i){e+=i.plotX*i.mass,n+=i.plotY*i.mass,t+=i.mass})),this.barycenter={x:e,y:n,xFactor:e/t,yFactor:n/t}},barnesHutApproximation:function(t,e){var n=this.getDistXY(t,e),i=this.vectorLength(n);if(t!==e&&0!==i)if(e.isInternal)if(e.boxSize/i<this.options.theta&&0!==i){var r=this.repulsiveForce(i,this.k);this.force("repulsive",t,r*e.mass,n,i);var o=!1}else o=!0;else r=this.repulsiveForce(i,this.k),this.force("repulsive",t,r*e.mass,n,i);return o},repulsiveForces:function(){var t=this;"barnes-hut"===t.approximation?t.nodes.forEach((function(e){t.quadTree.visitNodeRecursive(null,(function(n){return t.barnesHutApproximation(e,n)}))})):t.nodes.forEach((function(e){t.nodes.forEach((function(n){if(e!==n&&!e.fixedPosition){var i=t.getDistXY(e,n),r=t.vectorLength(i);if(0!==r){var o=t.repulsiveForce(r,t.k);t.force("repulsive",e,o*n.mass,i,r)}}}))}))},attractiveForces:function(){var t,e,n,i=this;i.links.forEach((function(r){r.fromNode&&r.toNode&&(t=i.getDistXY(r.fromNode,r.toNode),0!==(e=i.vectorLength(t))&&(n=i.attractiveForce(e,i.k),i.force("attractive",r,n,t,e)))}))},applyLimits:function(){var t=this;t.nodes.forEach((function(e){e.fixedPosition||(t.integration.integrate(t,e),t.applyLimitBox(e,t.box),e.dispX=0,e.dispY=0)}))},applyLimitBox:function(t,e){var n=t.radius;t.plotX=o(t.plotX,e.left+n,e.width-n),t.plotY=o(t.plotY,e.top+n,e.height-n)},coolDown:function(t,e,n){return t-e*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(t,e){return t+e.temperature}),0)},vectorLength:function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},getDistR:function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},getDistXY:function(t,e){var n=t.plotX-e.plotX;return{x:n,y:t=t.plotY-e.plotY,absX:Math.abs(n),absY:Math.abs(t)}}}),e(t,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))})),e(t,"render",(function(){function t(t){t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()&&!t.enableSimulation&&(t.beforeStep&&t.beforeStep(),t.step(),n=!1,e=!0)}var e=!1;if(this.graphLayoutsLookup){for(r(!1,this),this.graphLayoutsLookup.forEach((function(t){t.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(t)}e&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}})),e(t,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())})),e(t,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw()}))})),e(t,"Series/PackedBubble/PackedBubbleComposition.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=e.layouts["reingold-fruchterman"],r=n.addEvent,o=n.extendClass,a=n.pick;t.prototype.getSelectedParentNodes=function(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t},e.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(t,e,n,i){return Math.min(t,(n.marker.radius+i.marker.radius)/2)},barycenter:function(){var t,e,n=this,i=n.options.gravitationalConstant,r=n.box,o=n.nodes;o.forEach((function(a){n.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=r.width/2,e=r.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*i/(a.mass*Math.sqrt(o.length)),a.plotY-=(a.plotY-e)*i/(a.mass*Math.sqrt(o.length)))}))},repulsive:function(t,e,n,i){var r=e*this.diffTemperature/t.mass/t.degree;e=n.x*r,n=n.y*r,t.fixedPosition||(t.plotX+=e,t.plotY+=n),i.fixedPosition||(i.plotX-=e,i.plotY-=n)},integrate:e.networkgraphIntegrations.verlet.integrate,getK:e.noop},e.layouts.packedbubble=o(i,{beforeStep:function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},isStable:function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},setCircularPositions:function(){var t,e,n=this,i=n.box,r=n.nodes,o=2*Math.PI/(r.length+1),s=n.options.initialPositionRadius;r.forEach((function(r,l){n.options.splitSeries&&!r.isParentNode?(t=r.series.parentNode.plotX,e=r.series.parentNode.plotY):(t=i.width/2,e=i.height/2),r.plotX=r.prevX=a(r.plotX,t+s*Math.cos(r.index||l*o)),r.plotY=r.prevY=a(r.plotY,e+s*Math.sin(r.index||l*o)),r.dispX=0,r.dispY=0}))},repulsiveForces:function(){var t,e,n,i=this,r=i.options.bubblePadding;i.nodes.forEach((function(o){o.degree=o.mass,o.neighbours=0,i.nodes.forEach((function(a){t=0,o===a||o.fixedPosition||!i.options.seriesInteraction&&o.series!==a.series||(n=i.getDistXY(o,a),0>(e=i.vectorLength(n)-(o.marker.radius+a.marker.radius+r))&&(o.degree+=.01,o.neighbours++,t=i.repulsiveForce(-e/Math.sqrt(o.neighbours),i.k,o,a)),i.force("repulsive",o,t*a.mass,n,a,e))}))}))},applyLimitBox:function(t){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var e=this.getDistXY(t,t.series.parentNode),n=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(e);0>n&&n>-2*t.marker.radius&&(t.plotX-=.01*e.x,t.plotY-=.01*e.y)}i.prototype.applyLimitBox.apply(this,arguments)}}),r(t,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.parse,s=i.series,l=i.seriesTypes.bubble,c=r.addEvent,d=r.clamp,u=r.defined,p=r.extend,h=r.fireEvent,f=r.isArray,m=r.isNumber,g=r.merge,_=r.pick,v=e.dragNodesMixin;return t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.points=void 0,e.xData=void 0,e}return o(n,t),n.prototype.accumulateAllPoints=function(t){var e,n,i=t.chart,r=[];for(e=0;e<i.series.length;e++)if((t=i.series[e]).is("packedbubble")&&t.visible||!i.options.chart.ignoreHiddenSeries)for(n=0;n<t.yData.length;n++)r.push([null,null,t.yData[n],t.index,n,{id:n,marker:{radius:0}}]);return r},n.prototype.addLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=i=[]);var o=n[t.type];o||(t.enableSimulation=u(r.forExport)?!r.forExport:t.enableSimulation,n[t.type]=o=new e.layouts[t.type],o.init(t),i.splice(o.index,0,o)),this.layout=o,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),o.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),o.addElementsToCollection([this],o.series),o.addElementsToCollection(this.points,o.nodes)},n.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=g(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),o=n[t.type+"-series"];o||(n[t.type+"-series"]=o=new e.layouts[t.type],o.init(r),i.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=d(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,n=1/0,i=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){u(t)&&(t>i&&(i=t),t<n&&(n=t))}))})),[t=_(t,n),e=_(e,i)])},n.prototype.checkOverlap=function(t,e){var n=t[0]-e[0],i=t[1]-e[1];return-.001>Math.sqrt(n*n+i*i)-Math.abs(t[2]+e[2])},n.prototype.createParentNodes=function(){var t,e=this,n=e.chart,i=e.parentNodeLayout,r=e.parentNode,o=e.pointClass,s=e.layout.options,l={radius:e.parentNodeRadius,lineColor:e.color,fillColor:a(e.color).brighten(.4).get()};s.parentNodeOptions&&(l=g(s.parentNodeOptions.marker||{},l)),e.parentNodeMass=0,e.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),e.calculateParentRadius(),i.nodes.forEach((function(n){n.seriesIndex===e.index&&(t=!0)})),i.setArea(0,0,n.plotWidth,n.plotHeight),t||(r||(r=(new o).init(this,{mass:e.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:e.parentNodeRadius,isParentNode:!0,seriesIndex:e.index})),e.parentNode&&(r.plotX=e.parentNode.plotX,r.plotY=e.parentNode.plotY),e.parentNode=r,i.addElementsToCollection([e],i.series),i.addElementsToCollection([r],i.nodes))},n.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(t){t.removeElementFromCollection(this,t.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),s.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var t=this.options.dataLabels.textPath,e=this.points;s.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,s.prototype.drawDataLabels.apply(this,arguments),this.points=e,this.options.dataLabels.textPath=t)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker,n={fill:e.fillColor||a(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":_(e.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),e=g({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(e)}},n.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var n=f(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),n.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},n.prototype.getPointRadius=function(){var t,e,n,i,r=this,o=r.chart,a=r.options,s=a.useSimulation,l=Math.min(o.plotWidth,o.plotHeight),c={},u=[],p=o.allDataPoints;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),n=/%$/.test(a[t]);c[t]=n?l*e/100:e*Math.sqrt(p.length)})),o.minRadius=t=c.minSize/Math.sqrt(p.length),o.maxRadius=e=c.maxSize/Math.sqrt(p.length);var h=s?r.calculateZExtremes():[t,e];(p||[]).forEach((function(o,a){n=s?d(o[2],h[0],h[1]):o[2],0===(i=r.getRadius(h[0],h[1],t,e,n))&&(i=null),p[a][2]=i,u.push(i)})),r.radii=u},n.prototype.init=function(){return s.prototype.init.apply(this,arguments),this.eventsToUnbind.push(c(this,"updatedData",(function(){this.chart.series.forEach((function(t){t.type===this.type&&(t.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(t){if(t.fixedPosition&&!t.removed){var e,n=this.layout,i=this.parentNodeLayout;i&&n.options.dragBetweenSeries&&i.nodes.forEach((function(i){t&&t.marker&&i!==t.series.parentNode&&(e=n.getDistXY(t,i),0>n.vectorLength(e)-i.marker.radius-t.marker.radius&&(i.series.addPoint(g(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),n.removeElementFromCollection(t,n.nodes),t.remove()))})),v.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(t){var e,n=this.checkOverlap,i=this.positionBubble,r=[],o=1,a=0,s=0,l=[];if((t=t.sort((function(t,e){return e[2]-t[2]}))).length){if(r.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(r.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,n(l=i(r[o][a],r[o-1][s],t[e]),r[o][0])?(r.push([]),s=0,r[o+1].push(i(r[o][a],r[o][0],t[e])),o++,a=0):1<o&&r[o-1][s+1]&&n(l,r[o-1][s+1])?(s++,r[o].push(i(r[o][a],r[o-1][s],t[e])),a++):(a++,r[o].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(t,e){var n=this.options,i=n.marker;return t&&t.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(i=n.layoutAlgorithm.parentNodeOptions.marker),n=i.fillOpacity,t=s.prototype.pointAttribs.call(this,t,e),1!==n&&(t["fill-opacity"]=n),t},n.prototype.positionBubble=function(t,e,n){var i=Math.sqrt,r=Math.asin,o=Math.acos,a=Math.pow,s=Math.abs;return i=i(a(t[0]-e[0],2)+a(t[1]-e[1],2)),o=o((a(i,2)+a(n[2]+e[2],2)-a(n[2]+t[2],2))/(2*(n[2]+e[2])*i)),r=r(s(t[0]-e[0])/i),t=(0>t[1]-e[1]?0:Math.PI)+o+r*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+n[2])*Math.sin(t),e[1]-(e[2]+n[2])*Math.cos(t),n[2],n[3],n[4]]},n.prototype.render=function(){var t=[];s.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){f(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},n.prototype.resizeRadius=function(){var t,e,n,i=this.chart,r=i.rawPositions,o=Math.min,a=Math.max,s=i.plotLeft,l=i.plotTop,c=i.plotHeight,d=i.plotWidth,u=t=Number.POSITIVE_INFINITY,p=e=Number.NEGATIVE_INFINITY;for(n=0;n<r.length;n++){var h=r[n][2];u=o(u,r[n][0]-h),p=a(p,r[n][0]+h),t=o(t,r[n][1]-h),e=a(e,r[n][1]+h)}if(n=[p-u,e-t],o=o.apply([],[(d-s)/n[0],(c-l)/n[1]]),1e-10<Math.abs(o-1)){for(n=0;n<r.length;n++)r[n][2]*=o;this.placeBubbles(r)}else i.diffY=c/2+l-t-(e-t)/2,i.diffX=d/2+s-u-(p-u)/2},n.prototype.seriesBox=function(){var t,e=this.chart,n=Math.max,i=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){u(e.plotX)&&u(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=i(r[0],e.plotX-t),r[1]=n(r[1],e.plotX+t),r[2]=i(r[2],e.plotY-t),r[3]=n(r[3],e.plotY+t))})),m(r.width/r.height)?r:null},n.prototype.setVisible=function(){var t=this;s.prototype.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},n.prototype.translate=function(){var t,e=this.chart,n=this.data,i=this.index,r=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),u(e.allDataPoints)||(e.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),r)var o=e.allDataPoints;else o=this.placeBubbles(e.allDataPoints),this.options.draggable=!1;for(t=0;t<o.length;t++)if(o[t][3]===i){var a=n[o[t][4]],s=_(o[t][2],void 0);r||(a.plotX=o[t][0]-e.plotLeft+e.diffX,a.plotY=o[t][1]-e.plotTop+e.diffY),m(s)&&(a.marker=p(a.marker,{radius:s,width:2*s,height:2*s}),a.radius=s)}r&&this.deferLayout(),h(this,"afterTranslate")},n.defaultOptions=g(l.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.value;return m(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(l),p(t.prototype,{alignDataLabel:s.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:v.onMouseDown,onMouseMove:v.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:v.redrawHalo,requireSorting:!1,searchPoint:e.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),i.registerSeriesType("packedbubble",t),t})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();t=t.noop;var o=n.series,a=n.seriesTypes,s=a.area,l=a.line,c=a.scatter;a=i.extend;var d=i.merge;return a((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},e.defaultOptions=d(c.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(c)).prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:o.prototype.drawTracker,setStackedPoints:t}),n.registerSeriesType("polygon",i),i})),e(t,"Core/Axis/WaterfallAxis.js",[t["Extensions/Stacking.js"],t["Core/Utilities.js"]],(function(t,e){var n,i=e.addEvent,r=e.objectEach;return function(e){function n(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function o(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,n=e.length;n--;)e[n].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,n=e.waterfall.stacks,i=e.stacking&&e.stacking.stackTotalGroup,o=new t(e,e.options.stackLabels,!1,0,void 0);this.dummyStackItem=o,r(n,(function(e){r(e,(function(e){o.total=e.stackTotal,e.label&&(o.label=e.label),t.prototype.render.call(o,i),e.label=o.label,delete o.label}))})),o.total=null},e}();e.Composition=l,e.compose=function(t,e){i(t,"init",s),i(t,"afterBuildStacks",n),i(t,"afterRender",o),i(e,"beforeRedraw",a)}}(n||(n={})),n})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.isNumber;return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(n,t),n.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,n,i,r,o){var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=n.seriesTypes,l=s.column,c=s.line,d=i.arrayMax,u=i.arrayMin,p=i.correctFloat;s=i.extend;var h=i.isNumber,f=i.merge,m=i.objectEach,g=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){var t;l.prototype.generatePoints.apply(this);var e=0;for(t=this.points.length;e<t;e++){var n=this.points[e],i=this.processedYData[e];(n.isIntermediateSum||n.isSum)&&(n.y=p(i))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,n=g(t.minPointLength,5),i=n/2,r=t.threshold||0,o=r,a=r;t=t.stacking;var s=e.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var c=this.points,d=0;d<c.length;d++){var u=c[d],p=this.processedYData[d],f=u.shapeArgs;if(f&&h(p)){var m=[0,p],_=u.y;if(t){if(s){if(m=s[d],"overlap"===t){var v=m.stackState[m.stateIndex--];v=0<=_?v:v-_,Object.hasOwnProperty.call(m,"absolutePos")&&delete m.absolutePos,Object.hasOwnProperty.call(m,"absoluteNeg")&&delete m.absoluteNeg}else 0<=_?(v=m.threshold+m.posTotal,m.posTotal-=_):(v=m.threshold+m.negTotal,m.negTotal-=_,v-=_),!m.posTotal&&Object.hasOwnProperty.call(m,"absolutePos")&&(m.posTotal=m.absolutePos,delete m.absolutePos),!m.negTotal&&Object.hasOwnProperty.call(m,"absoluteNeg")&&(m.negTotal=m.absoluteNeg,delete m.absoluteNeg);u.isSum||(m.connectorThreshold=m.threshold+m.stackTotal),e.reversed?(p=0<=_?v-_:v+_,_=v):(p=v,_=v-_),u.below=p<=r,f.y=e.translate(p,!1,!0,!1,!0)||0,f.height=Math.abs(f.y-(e.translate(_,!1,!0,!1,!0)||0)),(_=e.waterfall.dummyStackItem)&&(_.x=d,_.label=s[d].label,_.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[d],this.stackedYPos[d]))}}else v=Math.max(o,o+_)+m[0],f.y=e.translate(v,!1,!0,!1,!0)||0,u.isSum?(f.y=e.translate(m[1],!1,!0,!1,!0)||0,f.height=Math.min(e.translate(m[0],!1,!0,!1,!0)||0,e.len)-f.y,u.below=m[1]<=r):u.isIntermediateSum?(0<=_?(p=m[1]+a,_=a):(p=a,_=m[1]+a),e.reversed&&(p^=_,p^=_^=p),f.y=e.translate(p,!1,!0,!1,!0)||0,f.height=Math.abs(f.y-Math.min(e.translate(_,!1,!0,!1,!0)||0,e.len)),a+=m[1],u.below=p<=r):(f.height=0<p?(e.translate(o,!1,!0,!1,!0)||0)-f.y:(e.translate(o,!1,!0,!1,!0)||0)-(e.translate(o-p,!1,!0,!1,!0)||0),o+=p,u.below=o<r),0>f.height&&(f.y+=f.height,f.height*=-1);u.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),u.yBottom=f.y+f.height,f.height<=n&&!u.isNull?(f.height=n,f.y-=i,u.plotY=f.y,u.minPointLengthOffset=0>u.y?-i:i):(u.isNull&&(f.width=0),u.minPointLengthOffset=0),_=u.plotY+(u.negative?f.height:0),u.below&&(u.plotY+=f.height),u.tooltipPos&&(this.chart.inverted?u.tooltipPos[0]=e.len-_:u.tooltipPos[1]=_)}}},e.prototype.processData=function(e){var n,i,r,o,a,s=this.options,l=this.yData,c=s.data,d=l.length,u=s.threshold||0;for(a=i=n=r=o=0;a<d;a++){var h=l[a],f=c&&c[a]?c[a]:{};"sum"===h||f.isSum?l[a]=p(i):"intermediateSum"===h||f.isIntermediateSum?(l[a]=p(n),n=0):(i+=h,n+=h),r=Math.min(i,r),o=Math.max(i,o)}t.prototype.processData.call(this,e),s.stacking||(this.dataMin=r+u,this.dataMax=o)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,n){t.prototype.updateParallelArrays.call(this,e,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var n=this.options.upColor;return n&&!t.options.color&&(t.color=0<t.y?n:null),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,n=this.yAxis,i=e.length,r=Math.round(this.graph.strokeWidth())%2/2,o=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(t=1;t<i;t++){var d=e[t].shapeArgs,u=e[t-1],p=e[t-1].shapeArgs,h=n.waterfall.stacks[this.stackKey],f=0<u.y?-p.height:0;h&&p&&d&&(h=h[t-1],l?(h=h.connectorThreshold,f=Math.round(n.translate(h,0,1,0,1)+(s?f:0))-r):f=p.y+u.minPointLengthOffset+o-r,c.push(["M",(p.x||0)+(a?0:p.width||0),f],["L",(d.x||0)+(a&&d.width||0),f])),p&&c.length&&(!l&&0>u.y&&!s||0<u.y&&s)&&((u=c[c.length-2])&&"number"==typeof u[2]&&(u[2]+=p.height||0),(u=c[c.length-1])&&"number"==typeof u[2]&&(u[2]+=p.height||0))}return c},e.prototype.drawGraph=function(){c.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,n,i){if(y)for(;n<y;n++)g.stackState[n]+=i;else g.stackState[0]=t,y=g.stackState.length;g.stackState.push(g.stackState[y-1]+e)}var e,n,i,r=this.options,o=this.yAxis.waterfall.stacks,a=r.threshold,s=a||0,l=s,c=this.stackKey,d=this.xData,u=d.length;this.yAxis.stacking.usePercentage=!1;var p=n=i=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var h=o.changed;(e=o.alreadyChanged)&&0>e.indexOf(c)&&(h=!0),o[c]||(o[c]={}),e=o[c];for(var f=0;f<u;f++){var m=d[f];e[m]&&!h||(e[m]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:h&&e[m]?e[m].label:void 0});var g=e[m],_=this.yData[f];0<=_?g.posTotal+=_:g.negTotal+=_;var v=r.data[f];m=g.absolutePos=g.posTotal;var b=g.absoluteNeg=g.negTotal;g.stackTotal=m+b;var y=g.stackState.length;v&&v.isIntermediateSum?(t(i,n,0,i),i=n,n=a,s^=l,s^=l^=s):v&&v.isSum?(t(a,p,y),s=a):(t(s,_,0,p),v&&(p+=_,n+=_)),g.stateIndex++,g.threshold=s,s+=g.stackTotal}o.changed=!1,o.alreadyChanged||(o.alreadyChanged=[]),o.alreadyChanged.push(c)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var n=this.stackedYNeg=[],i=this.stackedYPos=[];return m(e[this.stackKey],"overlap"===t?function(t){n.push(u(t.stackState)),i.push(d(t.stackState))}:function(t){n.push(t.negTotal+t.threshold),i.push(t.posTotal+t.threshold)}),{dataMin:u(n),dataMax:d(i)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),s(i.prototype,{getZonesGraphs:c.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:o}),n.registerSeriesType("waterfall",i),r.compose(t,e),i})),e(t,"Extensions/Polar.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Pointer.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var c=t.animObject;a=a.seriesTypes;var d=l.addEvent,u=l.defined,p=l.find,h=l.isNumber,f=l.pick,m=l.splat,g=l.uniqueKey;t=l.wrap;var _=o.prototype;r=r.prototype,_.searchPointByAngle=function(t){var e=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-n[0]-e.plotLeft,t.chartY-n[1]-e.plotTop)})},_.getConnectors=function(t,e,n,i){var r=i?1:0,o=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0;e=0>o-1?t.length-(1+r):o-1,r=o+1>t.length-1?r:o+1;var a=t[e];r=t[r];var s=a.plotX;a=a.plotY;var l=r.plotX,c=r.plotY;s=(1.5*(r=t[o].plotX)+s)/2.5,a=(1.5*(o=t[o].plotY)+a)/2.5,l=(1.5*r+l)/2.5;var d=(1.5*o+c)/2.5;c=Math.sqrt(Math.pow(s-r,2)+Math.pow(a-o,2));var u=Math.sqrt(Math.pow(l-r,2)+Math.pow(d-o,2));return s=Math.atan2(a-o,s-r),d=Math.PI/2+(s+Math.atan2(d-o,l-r))/2,Math.abs(s-d)>Math.PI/2&&(d-=Math.PI),s=r+Math.cos(d)*c,a=o+Math.sin(d)*c,r={rightContX:l=r+Math.cos(Math.PI+d)*u,rightContY:d=o+Math.sin(Math.PI+d)*u,leftContX:s,leftContY:a,plotX:r,plotY:o},n&&(r.prevPointCont=this.getConnectors(t,e,!1,i)),r},_.toXY=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis,r=t.plotX,o=t.plotY,a=t.series,s=e.inverted,l=t.y,c=s?r:i.len-o;s&&a&&!a.isRadialBar&&(t.plotY=o="number"==typeof l&&i.translate(l)||0),t.rectPlotX=r,t.rectPlotY=o,i.center&&(c+=i.center[3]/2),h(o)&&(i=s?i.postTranslate(o,c):n.postTranslate(r,c),t.plotX=t.polarPlotX=i.x-e.plotLeft,t.plotY=t.polarPlotY=i.y-e.plotTop),this.kdByAngle?(0>(e=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},a.spline&&(t(a.spline.prototype,"getPointSpline",(function(t,e,n,i){return this.chart.polar?i?(e=(t=this.getConnectors(e,i,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,n=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",h(e)?e:t.plotX,h(n)?n:t.plotY,h(t.leftContX)?t.leftContX:t.plotX,h(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",n.plotX,n.plotY]:t=t.call(this,e,n,i),t})),a.areasplinerange&&(a.areasplinerange.prototype.getPointSpline=a.spline.prototype.getPointSpline)),d(o,"afterTranslate",(function(){var t=this.chart;if(t.polar&&this.xAxis){if((this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var e=this.points,i=e.length;i--;)this.toXY(e[i]),!t.hasParallelCoordinates&&!this.yAxis.reversed&&e[i].y<this.yAxis.min&&(e[i].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(d(this,"afterRender",(function(){if(t.polar){var e=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2}):this.clipCircle=t.renderer.clipCircle(e[0],e[1],e[2]/2,e[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop}}))))}}),{order:2}),t(a.line.prototype,"getGraphPath",(function(t,e){var n,i=this;if(this.chart.polar){for(e=e||this.points,n=0;n<e.length;n++)if(!e[n].isNull){var r=n;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,e.splice(e.length,0,e[r]);var o=!0}e.forEach((function(t){void 0===t.polarPlotY&&i.toXY(t)}))}return n=t.apply(this,[].slice.call(arguments,1)),o&&e.pop(),n}));var v=function(t,e){var i,r,o,a,s=this,l=this.chart,d=this.options.animation,u=this.group,p=this.markerGroup,h=this.xAxis&&this.xAxis.center,m=l.plotLeft,g=l.plotTop;if(l.polar){if(s.isRadialBar)e||(s.startAngleRad=f(s.translatedThreshold,s.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(s,e));else if(l.renderer.isSVG)if(d=c(d),s.is("column")){if(!e){var _=h[3]/2;s.points.forEach((function(t){i=t.graphic,o=(r=t.shapeArgs)&&r.r,a=r&&r.innerR,i&&r&&(i.attr({r:_,innerR:_}),i.animate({r:o,innerR:a},s.options.animation))}))}}else e?(t={translateX:h[0]+m,translateY:h[1]+g,scaleX:.001,scaleY:.001},u.attr(t),p&&p.attr(t)):(t={translateX:m,translateY:g,scaleX:1,scaleY:1},u.animate(t,d),p&&p.animate(t,d))}else t.call(this,e)};if(t(_,"animate",v),a.column){var b=a.arearange.prototype;(a=a.column.prototype).polarArc=function(t,e,n,i){var r=this.xAxis.center,o=this.yAxis.len,a=r[3]/2;return e=o-e+a,t=o-f(t,o)+a,this.yAxis.reversed&&(0>e&&(e=a),0>t&&(t=a)),{x:r[0],y:r[1],r:e,innerR:t,start:n,end:i}},t(a,"animate",v),t(a,"translate",(function(t){var e=this.options,n=e.stacking,i=this.chart,r=this.xAxis,o=this.yAxis,a=o.reversed,s=o.center,c=r.startAngleRad,d=r.endAngleRad-c;if(this.preventPostTranslate=!0,t.call(this),r.isRadial){r=(t=this.points).length;var p=o.translate(o.min),f=o.translate(o.max);if(e=e.threshold||0,i.inverted&&h(e)){var m=o.translate(e);u(m)&&(0>m?m=0:m>d&&(m=d),this.translatedThreshold=m+c)}for(;r--;){var g=(e=t[r]).barX,_=e.x,v=e.y;if(e.shapeType="arc",i.inverted){if(e.plotY=o.translate(v),n&&o.stacking){if(v=o.stacking.stacks[(0>v?"-":"")+this.stackKey],this.visible&&v&&v[_]&&!e.isNull){var b=v[_].points[this.getStackIndicator(void 0,_,this.index).key],y=o.translate(b[0]);b=o.translate(b[1]),u(y)&&(y=l.clamp(y,0,d))}}else y=m,b=e.plotY;y>b&&(b=[y,y=b][0]),a?b>p?b=p:y<f?y=f:(y>p||b<f)&&(y=b=d):y<p?y=p:b>f?b=f:(b<p||y>f)&&(y=b=0),o.min>o.max&&(y=b=a?d:0),y+=c,b+=c,s&&(e.barX=g+=s[3]/2),_=Math.max(g,0),v=Math.max(g+e.pointWidth,0),e.shapeArgs={x:s&&s[0],y:s&&s[1],r:v,innerR:_,start:y,end:b},e.opacity=y===b?0:void 0,e.plotY=(u(this.translatedThreshold)&&(y<this.translatedThreshold?y:b))-c}else y=g+c,e.shapeArgs=this.polarArc(e.yBottom,e.plotY,y,y+e.pointWidth);this.toXY(e),i.inverted?(g=o.postTranslate(e.rectPlotY,g+e.pointWidth/2),e.tooltipPos=[g.x-i.plotLeft,g.y-i.plotTop]):e.tooltipPos=[e.plotX,e.plotY],s&&(e.ttBelow=e.plotY>s[1])}}})),a.findAlignments=function(t,e){return null===e.align&&(e.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===e.verticalAlign&&(e.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle"),e},b&&(b.findAlignments=a.findAlignments),t(a,"alignDataLabel",(function(t,e,n,i,r,o){var a=this.chart,s=f(i.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,Math.round(e.plotY)),s&&e.shapeArgs?(r=e.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:r.y-a.plotTop}):e.tooltipPos&&(r={x:e.tooltipPos[0],y:e.tooltipPos[1]}),i.align=f(i.align,"center"),i.verticalAlign=f(i.verticalAlign,"middle")):this.findAlignments&&(i=this.findAlignments(t,i)),_.alignDataLabel.call(this,e,n,i,r,o),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end&&n.hide(!0)):t.call(this,e,n,i,r,o)}))}t(r,"getCoordinates",(function(t,e){var n=this.chart,i={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(t){var r=t.isXAxis,o=t.center;if("colorAxis"!==t.coll){var a=e.chartX-o[0]-n.plotLeft;o=e.chartY-o[1]-n.plotTop,i[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,o):Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),!0)})}})):i=t.call(this,e),i})),s.prototype.clipCircle=function(t,e,n,i){var r=g(),o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=i?this.arc(t,e,n,i,0,2*Math.PI).add(o):this.circle(t,e,n).add(o)).id=r,t.clipPath=o,t},d(e,"getAxes",(function(){this.pane||(this.pane=[]),this.options.pane=m(this.options.pane),this.options.pane.forEach((function(t){new i(t,this)}),this)})),d(e,"afterDrawChartBox",(function(){this.pane.forEach((function(t){t.render()}))})),d(o,"afterInit",(function(){var t=this.chart;t.inverted&&t.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))})),t(e.prototype,"get",(function(t,e){return p(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}))})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Axis/RadialAxis.js"],t["Series/Bubble/BubbleSeries.js"]],(function(t,e,n){e.compose(t.Axis,t.Tick),n.compose(t.Chart,t.Legend,t.Series)}))}))},function(t,e,n){"use strict";var i=n(146);var r=function(t){function e(t,e,i){var r=e.trim().split(f);e=r;var o=r.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<o;++s)e[s]=n(t,e[s],i).trim();break;default:var l=s=0;for(e=[];s<o;++s)for(var c=0;c<a;++c)e[l++]=n(t[c]+" ",r[s],i).trim()}return e}function n(t,e,n){var i=e.charCodeAt(0);switch(33>i&&(i=(e=e.trim()).charCodeAt(0)),i){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function i(t,e,n,o){var a=t+";",s=2*e+3*n+4*o;if(944===s){t=a.indexOf(":",9)+1;var l=a.substring(t,a.length-1).trim();return l=a.substring(0,t).trim()+l+";",1===$||2===$&&r(l,1)?"-webkit-"+l+l:l}if(0===$||2===$&&!r(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(u,":-webkit-")+a.replace(u,":-moz-")+a:a;case 1e3:switch(e=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(l=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(w,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(w,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(t))return 115===(l=t.substring(t.indexOf(":")+1)).charCodeAt(0)?i(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function r(t,e){var n=t.indexOf(1===e?":":"{"),i=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),T(2!==e?i:i.replace(O,"$1"),n,e)}function o(t,e){var n=i(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(x," or ($1)").substring(4):"("+e+")"}function a(t,e,n,i,r,o,a,s,c,d){for(var u,p=0,h=e;p<P;++p)switch(u=M[p].call(l,t,h,n,i,r,o,a,s,c,d)){case void 0:case!1:case!0:case null:break;default:h=u}if(h!==e)return h}function s(t){return void 0!==(t=t.prefix)&&(T=null,t?"function"!=typeof t?$=1:($=2,T=t):$=0),s}function l(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<P){var l=a(-1,n,s,s,S,E,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var u=function t(n,s,l,u,p){for(var h,f,m,b,x,w=0,O=0,k=0,C=0,M=0,T=0,L=m=h=0,N=0,I=0,R=0,F=0,z=l.length,B=z-1,W="",H="",Y="",U="";N<z;){if(f=l.charCodeAt(N),N===B&&0!==O+C+k+w&&(0!==O&&(f=47===O?10:47),C=k=w=0,z++,B++),0===O+C+k+w){if(N===B&&(0<I&&(W=W.replace(d,"")),0<W.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:W+=l.charAt(N)}f=59}switch(f){case 123:for(h=(W=W.trim()).charCodeAt(0),m=1,F=++N;N<z;){switch(f=l.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(N+1)){case 42:case 47:t:{for(L=N+1;L<B;++L)switch(l.charCodeAt(L)){case 47:if(42===f&&42===l.charCodeAt(L-1)&&N+2!==L){N=L+1;break t}break;case 10:if(47===f){N=L+1;break t}}N=L}}break;case 91:f++;case 40:f++;case 34:case 39:for(;N++<B&&l.charCodeAt(N)!==f;);}if(0===m)break;N++}switch(m=l.substring(F,N),0===h&&(h=(W=W.replace(c,"").trim()).charCodeAt(0)),h){case 64:switch(0<I&&(W=W.replace(d,"")),f=W.charCodeAt(1)){case 100:case 109:case 115:case 45:I=s;break;default:I=A}if(F=(m=t(s,I,m,f,p+1)).length,0<P&&(x=a(3,m,I=e(A,W,R),s,S,E,F,f,p,u),W=I.join(""),void 0!==x&&0===(F=(m=x.trim()).length)&&(f=0,m="")),0<F)switch(f){case 115:W=W.replace(y,o);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(g,"$1 $2"))+"{"+m+"}",m=1===$||2===$&&r("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===u&&(H+=m,m="")}else m="";break;default:m=t(s,e(s,W,R),m,u,p+1)}Y+=m,m=R=I=L=h=0,W="",f=l.charCodeAt(++N);break;case 125:case 59:if(1<(F=(W=(0<I?W.replace(d,""):W).trim()).length))switch(0===L&&(h=W.charCodeAt(0),45===h||96<h&&123>h)&&(F=(W=W.replace(" ",":")).length),0<P&&void 0!==(x=a(1,W,s,n,S,E,H.length,u,p,u))&&0===(F=(W=x.trim()).length)&&(W="\0\0"),h=W.charCodeAt(0),f=W.charCodeAt(1),h){case 0:break;case 64:if(105===f||99===f){U+=W+l.charAt(N);break}default:58!==W.charCodeAt(F-1)&&(H+=i(W,h,f,W.charCodeAt(2)))}R=I=L=h=0,W="",f=l.charCodeAt(++N)}}switch(f){case 13:case 10:47===O?O=0:0===1+h&&107!==u&&0<W.length&&(I=1,W+="\0"),0<P*D&&a(0,W,s,n,S,E,H.length,u,p,u),E=1,S++;break;case 59:case 125:if(0===O+C+k+w){E++;break}default:switch(E++,b=l.charAt(N),f){case 9:case 32:if(0===C+w+O)switch(M){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===C+O+w&&(I=R=1,b="\f"+b);break;case 108:if(0===C+O+w+j&&0<L)switch(N-L){case 2:112===M&&58===l.charCodeAt(N-3)&&(j=M);case 8:111===T&&(j=T)}break;case 58:0===C+O+w&&(L=N);break;case 44:0===O+k+C+w&&(I=1,b+="\r");break;case 34:case 39:0===O&&(C=C===f?0:0===C?f:C);break;case 91:0===C+O+k&&w++;break;case 93:0===C+O+k&&w--;break;case 41:0===C+O+w&&k--;break;case 40:if(0===C+O+w){if(0===h)switch(2*M+3*T){case 533:break;default:h=1}k++}break;case 64:0===O+k+C+w+L+m&&(m=1);break;case 42:case 47:if(!(0<C+w+k))switch(O){case 0:switch(2*f+3*l.charCodeAt(N+1)){case 235:O=47;break;case 220:F=N,O=42}break;case 42:47===f&&42===M&&F+2!==N&&(33===l.charCodeAt(F+2)&&(H+=l.substring(F,N+1)),b="",O=0)}}0===O&&(W+=b)}T=M,M=f,N++}if(0<(F=H.length)){if(I=s,0<P&&(void 0!==(x=a(2,H,I,n,S,E,F,u,p,u))&&0===(H=x).length))return U+H+Y;if(H=I.join(",")+"{"+H+"}",0!=$*j){switch(2!==$||r(H,2)||(j=0),j){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(_,"::-webkit-input-$1")+H.replace(_,"::-moz-$1")+H.replace(_,":-ms-input-$1")+H}j=0}}return U+H+Y}(A,s,n,0,0);return 0<P&&(void 0!==(l=a(-2,u,s,s,S,E,u.length,0,0,0))&&(u=l)),"",j=0,E=S=1,u}var c=/^\0+/g,d=/[\0\r\f]/g,u=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,f=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,_=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,w=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,E=1,S=1,j=0,$=1,A=[],M=[],P=0,T=null,D=0;return l.use=function t(e){switch(e){case void 0:case null:P=M.length=0;break;default:if("function"==typeof e)M[P++]=e;else if("object"==typeof e)for(var n=0,i=e.length;n<i;++n)t(e[n]);else D=0|!!e}return t},l.set=s,void 0!==t&&s(t),l};function o(t){t&&a.current.insert(t+"}")}var a={current:null},s=function(t,e,n,i,r,s,l,c,d,u){switch(t){case 1:switch(e.charCodeAt(0)){case 64:return a.current.insert(e+";"),"";case 108:if(98===e.charCodeAt(2))return""}break;case 2:if(0===c)return e+"/*|*/";break;case 3:switch(c){case 102:case 112:return a.current.insert(n[0]+e),"";default:return e+(0===u?"/*|*/":"")}case-2:e.split("/*|*/}").forEach(o)}};e.a=function(t){void 0===t&&(t={});var e,n=t.key||"css";void 0!==t.prefix&&(e={prefix:t.prefix});var o=new r(e);var l,c={};l=t.container||document.head;var d,u=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(u,(function(t){t.getAttribute("data-emotion-"+n).split(" ").forEach((function(t){c[t]=!0})),t.parentNode!==l&&l.appendChild(t)})),o.use(t.stylisPlugins)(s),d=function(t,e,n,i){var r=e.name;a.current=n,o(t,e.styles),i&&(p.inserted[r]=!0)};var p={key:n,sheet:new i.a({key:n,container:l,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:c,registered:{},insert:d};return p}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(12),u=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.avatar,h=void 0!==p&&p,f=t.avatarUrl,m=t.className,g=t.dark,_=void 0!==g&&g,v=t.data,b=void 0===v?{}:v,y=t.id,x=t.name,w=t.orientation,O=void 0===w?"horizontal":w,k=t.size,C=void 0===k?"sm":k,E=t.subtitle,S=t.territory,j=void 0===S?"":S,$=t.title,A=void 0===$?"":$,M=Object(s.c)(b),P=Object(s.a)(o),T=a()(Object(s.b)("pb_user_kit",n,O,C),Object(l.c)(t),m),D=h||f;return r.a.createElement("div",Object.assign({},P,M,{className:T,id:y}),D&&r.a.createElement(c.a,{imageUrl:f,name:x,size:C,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{dark:_,size:"lg"==C?3:4,text:x}),r.a.createElement(d.a,{color:"light",dark:_,variant:null},""===j?A:"".concat(j," • ").concat(A)),"string"==typeof E&&r.a.createElement(d.a,{color:"light",dark:_,text:E,variant:null}),"string"!=typeof E&&r.a.createElement(r.a.Fragment,null,E)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(34),d=n(7);e.a=function(t){var e=t.action,n=void 0===e?"add":e,i=t.aria,o=void 0===i?{}:i,u=t.linkAriaLabel,p=t.className,h=t.dark,f=void 0!==h&&h,m=t.data,g=void 0===m?{}:m,_=t.id,v=t.imageAlt,b=void 0===v?"":v,y=t.imageUrl,x=t.linkUrl,w=t.name,O=t.onClick,k=t.placement,C=void 0===k?"bottom left":k,E=t.size,S=void 0===E?"md":E,j=Object(s.a)(o),$=Object(s.c)(g),A=a()(Object(s.b)("pb_avatar_action_button_kit",n,C,S),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},j,$,{className:A,id:_}),r.a.createElement("a",{"aria-label":u,href:x,onClick:O},r.a.createElement(c.a,{imageAlt:b,imageUrl:y,name:w,size:S}),r.a.createElement("div",{className:"icon ".concat(f?"dark":"")},r.a.createElement(d.a,{dark:f,icon:{add:"plus-circle",remove:"times-circle"}[n]}))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(14);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,u=t.className,p=t.dark,h=void 0!==p&&p,f=t.data,m=void 0===f?{}:f,g=t.count,_=t.id,v=t.title,b=t.size,y=void 0===b?"sm":b,x=Object(s.a)(o),w=Object(s.c)(m),O=a()(Object(s.b)("pb_title_count_kit",n,y),Object(l.c)(t),u),k=g.toLocaleString();return r.a.createElement("div",Object.assign({},x,w,{className:O,id:_}),r.a.createElement(d.a,{className:void 0!==v?"pb_title_count_text":"",dark:h,size:"lg"===y?3:4,text:v}),r.a.createElement(c.a,{color:"light",dark:h},g&&k))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,c=t.color,d=t.data,u=void 0===d?{}:d,p=t.orientation,h=void 0===p?"horizontal":p,f=t.icon,m=void 0!==f&&f,g=t.showIcon,_=void 0!==g&&g,v=t.variant,b=Object(s.a)(n),y=Object(s.c)(u),x=!0===m||!0===_?"icon":"",w=Object(s.b)("pb_progress_step_kit",h,x,v,c);return r.a.createElement("ul",Object.assign({},b,y,{className:a()(w,Object(l.c)(t),i)}),o)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(7),d=n(14),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.checked,p=void 0!==o&&o,h=t.customIcon,f=t.data,m=void 0===f?{}:f,g=t.disabled,_=void 0!==g&&g,v=t.icon,b=t.inputId,y=t.inputs,x=void 0===y?"enabled":y,w=t.multi,O=void 0===w||w,k=t.name,C=t.text,E=t.value,S=u(t,["aria","className","checked","customIcon","data","disabled","icon","inputId","inputs","multi","name","text","value"]),j=Object(l.a)(n),$=Object(l.c)(m),A=a()(Object(l.b)("pb_selectable_icon_kit",{checked:p,disabled:_,enabled:!_}),Object(s.c)(S),i),M=!1===O?"radio":"checkbox",P=null!==b?b:k;return r.a.createElement("div",Object.assign({},j,$,{className:A}),"disabled"===x&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{customIcon:h,icon:v,size:"2x"}),r.a.createElement(d.a,{size:4,tag:"h4",text:C})),"enabled"===x&&r.a.createElement(r.a.Fragment,null,r.a.createElement("input",Object.assign({},S,{checked:p,disabled:_,id:P,name:k,type:M,value:E})),r.a.createElement("label",{htmlFor:P},r.a.createElement(c.a,{customIcon:h,icon:v,size:"2x"}),r.a.createElement(d.a,{size:4,tag:"h4",text:C}))))}},function(t,e,n){"use strict";function i(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(16),d=n(14),u=n(18),p=function(t,e){if("day_only"===e)return u.a.toDay(t).toString();var n="expanded"===e?"expanded":"month_day";return u.a.toCustomFormat(t,n)};e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,h=t.className,f=t.dark,m=void 0!==f&&f,g=t.data,_=void 0===g?{}:g,v=t.date,b=void 0===v?new Date:v,y=t.id,x=t.variant,w=void 0===x?"month_day":x,O=t.compact,k=void 0!==O&&O,C=Object(l.a)(o),E=Object(l.c)(_),S=a()(Object(l.b)("pb_weekday_stacked_kit",n),Object(s.c)(t),h);return r.a.createElement("div",Object.assign({},C,E,{className:S,id:y}),r.a.createElement(c.a,{dark:m},function(t,e){return e?u.a.toDayAbbr(t):u.a.toWeekday(t)}(b,k)),r.a.createElement(d.a,{dark:m,size:4,tag:"span",text:p(b,w)}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,c=void 0===o?{}:o,d=t.id,u=t.status,p=void 0===u?"offline":u;n.label=p;var h=Object(l.a)(n),f=Object(l.c)(c),m=a()(Object(l.b)("pb_online_status_kit",p),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},h,f,{className:m,id:d}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,c=t.backgroundColor,d=void 0===c?"light":c,u=t.backgroundPosition,p=void 0===u?"":u,h=t.backgroundRepeat,f=void 0===h?"initial":h,m=t.backgroundSize,g=void 0===m?"cover":m,_=t.children,v=t.className,b=t.customColor,y=t.data,x=void 0===y?{}:y,w=t.id,O=t.imageUrl,k=void 0===O?"":O,C=t.tag,E=void 0===C?"div":C,S=t.transition,j=void 0===S?"":S,$=Object(s.a)(o),A=Object(s.c)(x),M={backgroundImage:"url(".concat(k,")"),backgroundRepeat:"".concat(f),backgroundSize:"".concat(g),backgroundPosition:p},P={backgroundColor:b||null,backgroundPosition:"".concat(p)},T=b?"pb_background_custom_color":"pb_background_color_".concat(d),D=a()(Object(s.b)("pb_background_kit"),"lazyload",M,j,Object(l.c)(t),T,v),L="".concat(E);return r.a.createElement(r.a.Fragment,null,k?r.a.createElement(L,Object.assign({alt:n,style:M},$,A,{className:D,id:w}),_):r.a.createElement(L,Object.assign({},$,A,{className:D,id:w,style:P}),_))}},function(t,e,n){"use strict";var i=n(200),r=n.n(i),o=n(0),a=n.n(o),s=n(3),l=n.n(s),c=n(5);e.a=function(t){var e=t.children,n=t.className,i=void 0===n?"pb_highlight_kit":n,o=t.data,s=void 0===o?{}:o,d=t.highlightedText,u=void 0===d?["highlight"]:d,p=t.id,h=void 0===p?"":p,f=t.text,m=(void 0===f?"":f)||e;return a.a.createElement(r.a,{autoEscape:!0,data:s,highlightClassName:l()(Object(c.c)(t),i),highlightTag:"mark",id:h,searchWords:u,textToHighlight:m})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(70),d=n.n(c),u=n(26),p=n.n(u),h=n(53),f=n(77),m=n(71);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,c=void 0===o?{}:o,u=t.align,_=void 0===u?"center":u,b=t.className,y=void 0===b?"pb_bar_graph":b,x=t.dark,w=void 0!==x&&x,O=(t.gradient,t.type),k=void 0===O?"line":O,C=t.id,E=t.legend,S=void 0!==E&&E,j=t.toggleLegendClick,$=void 0===j||j,A=t.layout,M=void 0===A?"horizontal":A,P=t.verticalAlign,T=void 0===P?"bottom":P,D=t.x,L=void 0===D?0:D,N=t.y,I=void 0===N?0:N,R=t.axisTitle,F=t.xAxisCategories,z=t.yAxisMin,B=t.yAxisMax,W=t.chartData,H=t.pointStart,Y=t.subTitle,U=t.title,G=t.height,X=t.colors,V=void 0===X?[]:X,q=v(t,["aria","data","align","className","dark","gradient","type","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),K=Object(l.a)(n),Z=Object(l.c)(c);w?p.a.setOptions(f.a):p.a.setOptions(h.a);var J={title:{text:U},chart:{height:G,type:k},subtitle:{text:Y},yAxis:{min:z,max:B,title:{text:R}},xAxis:{categories:F},legend:{enabled:S,align:_,verticalAlign:T,layout:M,x:L,y:I},colors:void 0!==V&&V.length>0?Object(m.a)(V):h.a.colors,plotOptions:{series:{pointStart:H,events:{},dataLabels:{enabled:!1}}},series:W,credits:!1};$||(J.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=g(Object(i.useState)({}),2),tt=Q[0],et=Q[1];return Object(i.useEffect)((function(){et(Object.assign({},J))}),[W]),r.a.createElement(d.a,{containerProps:Object.assign(Object.assign({className:a()(Object(s.c)(q),y),id:C},K),Z),highcharts:p.a,options:tt})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var s=n(3),l=n.n(s),c=n(2),d=n(5),u=r.a.createContext({}),p=n(48),h=n(16),f=n(10),m=n(15),g=n(14),_=n(23),v=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.children,a=t.className,s=t.data,v=void 0===s?{}:s,b=t.onClickRight,y=t.spacing,x=void 0===y?"between":y,w=t.text,O=t.navRight,k=t.title,C=t.closeable,E=void 0===C||C,S=t.icon,j=void 0===S?"times":S,$=Object(c.a)(n),A=Object(c.c)(v),M=Object(i.useContext)(u),P=Object(c.b)("lightbox_header"),T=Object(d.c)(t,{paddingY:"sm"}),D=function(){return M.onClose()},L=function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{flex:"1",marginLeft:"sm"},r.a.createElement(p.a,{onClick:D,dark:!0,variant:"link",icon:j})),k&&w&&r.a.createElement(m.a,{flex:"5"},r.a.createElement(f.a,{justify:"center"},r.a.createElement(f.a,{align:"center",orientation:"column"},"string"==typeof k?r.a.createElement(g.a,{dark:!0,paddingBottom:"xxs",size:4,text:k}):r.a.createElement(f.a,{justify:"center",className:"custom-header"},k),"string"==typeof w?r.a.createElement(h.a,{dark:!0},w):r.a.createElement(f.a,{justify:"center",className:"custom-header"},w)))),r.a.createElement(m.a,{flex:"1"},r.a.createElement(f.a,{justify:"end"},r.a.createElement(_.a,{className:"nav-right-btn",htmlType:"button",onClick:b,dark:!0,variant:"link",text:O}))))};return r.a.createElement("div",{className:"carousel-header"},r.a.createElement(f.a,Object.assign({},$,A,{className:l()(P,T,a),spacing:x}),E&&r.a.createElement(L,null),o))},b=n(22),y=function(t,e){return Number(t.toFixed(e))},x=function(t,e,n){n&&"function"==typeof n&&n(t,e)},w={easeOut:function(t){return-Math.cos(t*Math.PI)/2+.5},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},O=function(t){"number"==typeof t&&cancelAnimationFrame(t)},k=function(t){t.mounted&&(O(t.animation),t.animate=!1,t.animation=null,t.velocity=null)};function C(t,e,n,i){if(t.mounted){var r=(new Date).getTime();k(t),t.animation=function(){if(!t.mounted)return O(t.animation);var o=(new Date).getTime()-r,a=(0,w[e])(o/n);o>=n?(i(1),t.animation=null):t.animation&&(i(a),requestAnimationFrame(t.animation))},requestAnimationFrame(t.animation)}}function E(t,e,n,i){var r=function(t){var e=t.scale,n=t.positionX,i=t.positionY;return!(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(i))}(e);if(t.mounted&&r){var o=t.setTransformState,a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY,d=e.scale-s,u=e.positionX-l,p=e.positionY-c;0===n?o(e.scale,e.positionX,e.positionY):C(t,i,n,(function(t){o(s+d*t,l+u*t,c+p*t)}))}}var S=function(t,e){var n=t.wrapperComponent,i=t.contentComponent,r=t.setup.centerZoomedOut;if(!n||!i)throw new Error("Components are not mounted");var o=function(t,e,n){var i=t.offsetWidth,r=t.offsetHeight,o=e.offsetWidth*n,a=e.offsetHeight*n;return{wrapperWidth:i,wrapperHeight:r,newContentWidth:o,newDiffWidth:i-o,newContentHeight:a,newDiffHeight:r-a}}(n,i,e),a=o.wrapperWidth,s=o.wrapperHeight;return function(t,e,n,i,r,o,a){var s=t>e?n*(a?1:.5):0,l=i>r?o*(a?1:.5):0;return{minPositionX:t-e-s,maxPositionX:s,minPositionY:i-r-l,maxPositionY:l}}(a,o.newContentWidth,o.newDiffWidth,s,o.newContentHeight,o.newDiffHeight,Boolean(r))},j=function(t,e,n,i){return y(i?t<e?e:t>n?n:t:t,2)},$=function(t,e){var n=S(t,e);return t.bounds=n,n};function A(t,e,n,i,r,o,a){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,d=n.maxPositionY,u=0,p=0;return a&&(u=r,p=o),{x:j(t,s-u,c+u,i),y:j(e,l-p,d+p,i)}}function M(t,e,n,i,r,o){var a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY,d=i-s;return"number"!=typeof e||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):A(l-e*d,c-n*d,r,o,0,0,null)}function P(t,e,n,i,r){var o=e-(r?i:0);return!Number.isNaN(n)&&t>=n?n:!Number.isNaN(e)&&t<=o?o:t}var T=function(t,e){var n=t.setup.panning.excluded,i=t.isInitialized,r=t.wrapperComponent,o=e.target,a=null==r?void 0:r.contains(o);return!!(i&&o&&a)&&!ct(o,n)},D=function(t){var e=t.isInitialized,n=t.isPanning,i=t.setup.panning.disabled;return!(!e||!n||i)};var L=function(t,e){var n=t.setup,i=t.transformState.scale,r=n.minScale,o=n.disablePadding;return e>0&&i>=r&&!o?e:0};function N(t,e,n,i,r,o,a,s,l,c){if(r){var d;if(e>a&&n>a)return(d=a+(t-a)*c)>l?l:d<a?a:d;if(e<o&&n<o)return(d=o+(t-o)*c)<s?s:d>o?o:d}return i?e:j(t,o,a,r)}function I(t,e){if(function(t){var e=t.mounted,n=t.setup,i=n.disabled,r=n.velocityAnimation,o=t.transformState.scale;return!(r.disabled&&!(o>1)&&i&&!e)}(t)){var n=t.lastMousePosition,i=t.velocityTime,r=t.setup,o=t.wrapperComponent,a=r.velocityAnimation.equalToMove,s=Date.now();if(n&&i&&o){var l=function(t,e){return e?Math.min(1,t.offsetWidth/window.innerWidth):1}(o,a),c=e.x-n.x,d=e.y-n.y,u=c/l,p=d/l,h=s-i,f=c*c+d*d,m=Math.sqrt(f)/h;t.velocity={velocityX:u,velocityY:p,total:m}}t.lastMousePosition=e,t.velocityTime=s}}function R(t,e){var n=t.transformState.scale;k(t),$(t,n),void 0!==window.TouchEvent&&e instanceof TouchEvent?function(t,e){var n=e.touches,i=t.transformState,r=i.positionX,o=i.positionY;if(t.isPanning=!0,1===n.length){var a=n[0].clientX,s=n[0].clientY;t.startCoords={x:a-r,y:s-o}}}(t,e):function(t,e){var n=t.transformState,i=n.positionX,r=n.positionY;t.isPanning=!0;var o=e.clientX,a=e.clientY;t.startCoords={x:o-i,y:a-r}}(t,e)}function F(t){var e=t.transformState.scale,n=t.setup,i=n.minScale,r=n.alignmentAnimation,o=r.disabled,a=r.sizeX,s=r.sizeY,l=r.animationTime,c=r.animationType;if(!(o||e<i||!a&&!s)){var d=function(t){var e=t.transformState,n=e.positionX,i=e.positionY,r=e.scale,o=t.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,c=t.wrapperComponent;if(!a&&c&&t.bounds){var d=t.bounds,u=d.maxPositionX,p=d.minPositionX,h=d.maxPositionY,f=d.minPositionY,m=n>u||n<p,g=i>h||i<f,_=M(t,n>u?c.offsetWidth:t.setup.minPositionX||0,i>h?c.offsetHeight:t.setup.minPositionY||0,r,t.bounds,s||l),v=_.x,b=_.y;return{scale:r,positionX:m?v:n,positionY:g?b:i}}}(t);d&&E(t,d,l,c)}}function z(t,e,n){var i=t.startCoords,r=t.setup.alignmentAnimation,o=r.sizeX,a=r.sizeY;if(i){var s=function(t,e,n){var i=t.startCoords,r=t.transformState,o=t.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=r.positionX,c=r.positionY;if(!i)return{x:l,y:c};var d=e-i.x,u=n-i.y;return{x:a?l:d,y:s?c:u}}(t,e,n),l=s.x,c=s.y,d=L(t,o),u=L(t,a);I(t,{x:l,y:c}),function(t,e,n,i,r){var o=t.setup.limitToBounds,a=t.wrapperComponent,s=t.bounds,l=t.transformState,c=l.scale,d=l.positionX,u=l.positionY;if(null!==a&&null!==s&&(e!==d||n!==u)){var p=A(e,n,s,o,i,r,a),h=p.x,f=p.y;t.setTransformState(c,h,f)}}(t,l,c,d,u)}}function B(t){if(t.isPanning){var e=t.setup.panning.velocityDisabled,n=t.velocity,i=t.wrapperComponent,r=t.contentComponent;t.isPanning=!1,t.animate=!1,t.animation=null;var o=null==i?void 0:i.getBoundingClientRect(),a=null==r?void 0:r.getBoundingClientRect(),s=(null==o?void 0:o.width)||0,l=(null==o?void 0:o.height)||0,c=(null==a?void 0:a.width)||0,d=(null==a?void 0:a.height)||0,u=s<c||l<d;!e&&n&&(null==n?void 0:n.total)>.1&&u?function(t){var e=t.velocity,n=t.bounds,i=t.setup,r=t.wrapperComponent;if(function(t){var e=t.mounted,n=t.velocity,i=t.bounds,r=t.setup,o=r.disabled,a=r.velocityAnimation,s=t.transformState.scale;return!(a.disabled&&!(s>1)&&o&&!e)&&!(!n||!i)}(t)&&e&&n&&r){var o=e.velocityX,a=e.velocityY,s=e.total,l=n.maxPositionX,c=n.minPositionX,d=n.maxPositionY,u=n.minPositionY,p=i.limitToBounds,h=i.alignmentAnimation,f=i.zoomAnimation,m=i.panning,g=m.lockAxisY,_=m.lockAxisX,v=f.animationType,b=h.sizeX,y=h.sizeY,x=h.velocityAlignmentTime,O=function(t,e){var n=t.setup.velocityAnimation,i=n.equalToMove,r=n.animationTime,o=n.sensitivity;return i?r*e*o:r}(t,s),k=Math.max(O,x),E=L(t,b),S=L(t,y),j=E*r.offsetWidth/100,$=S*r.offsetHeight/100,A=l+j,M=c-j,P=d+$,T=u-$,D=t.transformState,I=(new Date).getTime();C(t,v,k,(function(e){var n=t.transformState,i=n.scale,r=n.positionX,s=n.positionY,f=((new Date).getTime()-I)/x,m=1-(0,w[h.animationType])(Math.min(1,f)),v=1-e,b=r+o*v,y=s+a*v,O=N(b,D.positionX,r,_,p,c,l,M,A,m),k=N(y,D.positionY,s,g,p,u,d,T,P,m);r===b&&s===y||t.setTransformState(i,O,k)}))}}(t):F(t)}}function W(t,e,n,i){var r=t.setup,o=r.minScale,a=r.maxScale,s=r.limitToBounds,l=P(y(e,2),o,a,0,!1),c=M(t,n,i,l,$(t,l),s);return{scale:l,positionX:c.x,positionY:c.y}}function H(t,e,n){var i=t.transformState.scale,r=t.wrapperComponent,o=t.setup,a=o.minScale,s=o.limitToBounds,l=o.zoomAnimation,c=l.disabled,d=l.animationTime,u=l.animationType,p=c||i>=a;if((i>=1||s)&&F(t),!p&&r&&t.mounted){var h=W(t,a,e||r.offsetWidth/2,n||r.offsetHeight/2);h&&E(t,h,d,u)}}var Y=function(){return(Y=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function U(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var G=1,X=0,V=0,q={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},K=function(t){var e,n,i,r;return{previousScale:null!==(e=t.initialScale)&&void 0!==e?e:G,scale:null!==(n=t.initialScale)&&void 0!==n?n:G,positionX:null!==(i=t.initialPositionX)&&void 0!==i?i:X,positionY:null!==(r=t.initialPositionY)&&void 0!==r?r:V}},Z=function(t){var e=Y({},q);return Object.keys(t).forEach((function(n){var i=void 0!==t[n];if(void 0!==q[n]&&i){var r=Object.prototype.toString.call(q[n]),o="[object Object]"===r,a="[object Array]"===r;e[n]=o?Y(Y({},q[n]),t[n]):a?U(U([],q[n],!0),t[n],!0):t[n]}})),e},J=function(t,e,n){var i=t.transformState.scale,r=t.wrapperComponent,o=t.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation.size;if(!r)throw new Error("Wrapper is not mounted");var c=i*Math.exp(e*n);return P(y(c,3),s,a,l,!1)};function Q(t,e,n,i,r){var o=t.wrapperComponent,a=t.transformState,s=a.scale,l=a.positionX,c=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=(o.offsetWidth/2-l)/s,u=(o.offsetHeight/2-c)/s,p=W(t,J(t,e,n),d,u);if(!p)return console.error("Error during zoom event. New transformation state was not calculated.");E(t,p,i,r)}function tt(t,e,n,i){var r=t.setup,o=t.wrapperComponent,a=r.limitToBounds,s=K(t.props),l=t.transformState,c=l.scale,d=l.positionX,u=l.positionY;if(o){var p=S(t,s.scale),h=A(s.positionX,s.positionY,p,a,0,0,o),f={scale:s.scale,positionX:h.x,positionY:h.y};c===s.scale&&d===s.positionX&&u===s.positionY||(null==i||i(),E(t,f,e,n))}}var et=function(t){return function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),Q(t,1,e,n,i)}},nt=function(t){return function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),Q(t,-1,e,n,i)}},it=function(t){return function(e,n,i,r,o){void 0===r&&(r=300),void 0===o&&(o="easeOut");var a=t.transformState,s=a.positionX,l=a.positionY,c=a.scale,d=t.wrapperComponent,u=t.contentComponent;if(!t.setup.disabled&&d&&u){var p={positionX:Number.isNaN(e)?s:e,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(i)?c:i};E(t,p,r,o)}}},rt=function(t){return function(e,n){void 0===e&&(e=200),void 0===n&&(n="easeOut"),tt(t,e,n)}},ot=function(t){return function(e,n,i){void 0===n&&(n=200),void 0===i&&(i="easeOut");var r=t.transformState,o=t.wrapperComponent,a=t.contentComponent;if(o&&a){var s=ut(e||r.scale,o,a);E(t,s,n,i)}}},at=function(t){return function(e,n,i,r){void 0===i&&(i=600),void 0===r&&(r="easeOut"),k(t);var o=t.wrapperComponent,a="string"==typeof e?document.getElementById(e):e;if(o&&a&&o.contains(a)){var s=function(t,e,n){var i=t.wrapperComponent,r=t.contentComponent,o=t.transformState,a=t.setup,s=a.limitToBounds,l=a.minScale,c=a.maxScale;if(!i||!r)return o;var d,u,p,h,f,m,g,_,v=i.getBoundingClientRect(),b=e.getBoundingClientRect(),y=(d=i,u=r,p=o,h=e.getBoundingClientRect(),f=d.getBoundingClientRect(),m=u.getBoundingClientRect(),g=f.x*p.scale,_=f.y*p.scale,{x:(h.x-m.x+g)/p.scale,y:(h.y-m.y+_)/p.scale}),x=y.x,w=y.y,O=b.width/o.scale,k=b.height/o.scale,C=i.offsetWidth/O,E=i.offsetHeight/k,j=P(n||Math.min(C,E),l,c,0,!1),$=(v.width-O*j)/2,M=(v.height-k*j)/2,T=A((v.left-x)*j+$,(v.top-w)*j+M,S(t,j),s,0,0,i);return{positionX:T.x,positionY:T.y,scale:j}}(t,a,n);E(t,s,i,r)}}},st=function(t){return{instance:t,state:t.transformState,zoomIn:et(t),zoomOut:nt(t),setTransform:it(t),resetTransform:rt(t),centerView:ot(t),zoomToElement:at(t)}};function lt(){try{return{get passive(){return!0,!1}}}catch(t){return!1}}var ct=function(t,e){var n=t.tagName.toUpperCase();return!!e.find((function(t){return t.toUpperCase()===n}))||!!e.find((function(e){return t.classList.contains(e)}))},dt=function(t){t&&clearTimeout(t)},ut=function(t,e,n){var i=n.offsetWidth*t,r=n.offsetHeight*t;return{scale:t,positionX:(e.offsetWidth-i)/2,positionY:(e.offsetHeight-r)/2}};function pt(t,e,n){var i=e.getBoundingClientRect(),r=0,o=0;if("clientX"in t)r=(t.clientX-i.left)/n,o=(t.clientY-i.top)/n;else{var a=t.touches[0];r=(a.clientX-i.left)/n,o=(a.clientY-i.top)/n}return(Number.isNaN(r)||Number.isNaN(o))&&console.error("No mouse or touch offset found"),{x:r,y:o}}var ht=function(t){return Math.sqrt(Math.pow(t.touches[0].pageX-t.touches[1].pageX,2)+Math.pow(t.touches[0].pageY-t.touches[1].pageY,2))},ft=function(t,e){var n=t.props,i=n.onWheel,r=n.onZoom,o=t.contentComponent,a=t.setup,s=t.transformState.scale,l=a.limitToBounds,c=a.centerZoomedOut,d=a.zoomAnimation,u=a.wheel,p=a.disablePadding,h=d.size,f=d.disabled,m=u.step;if(!o)throw new Error("Component not mounted");e.preventDefault(),e.stopPropagation();var g=function(t,e,n,i,r){var o=t.transformState.scale,a=t.wrapperComponent,s=t.setup,l=s.maxScale,c=s.minScale,d=s.zoomAnimation,u=s.disablePadding,p=d.size,h=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var f=o+e*(o-o*n)*n;if(r)return f;var m=!i&&!h;return P(y(f,3),c,l,p,m&&!u)}(t,function(t,e){var n,i,r=function(t){return t?t.deltaY<0?1:-1:0}(t);return i=r,"number"==typeof(n=e)?n:i}(e,null),m,!e.ctrlKey);if(s!==g){var _=$(t,g),v=pt(e,o,s),b=l&&(f||0===h||c||p),w=M(t,v.x,v.y,g,_,b),O=w.x,k=w.y;t.previousWheelEvent=e,t.setTransformState(g,O,k),x(st(t),e,i),x(st(t),e,r)}},mt=function(t,e){var n=t.props,i=n.onWheelStop,r=n.onZoomStop;dt(t.wheelAnimationTimer),t.wheelAnimationTimer=setTimeout((function(){t.mounted&&(H(t,e.x,e.y),t.wheelAnimationTimer=null)}),100),function(t,e){var n=t.previousWheelEvent,i=t.transformState.scale,r=t.setup,o=r.maxScale,a=r.minScale;return!!n&&(i<o||i>a||(Math.sign(n.deltaY)!==Math.sign(e.deltaY)||(n.deltaY>0&&n.deltaY<e.deltaY||(n.deltaY<0&&n.deltaY>e.deltaY||Math.sign(n.deltaY)!==Math.sign(e.deltaY)))))}(t,e)&&(dt(t.wheelStopEventTimer),t.wheelStopEventTimer=setTimeout((function(){t.mounted&&(t.wheelStopEventTimer=null,x(st(t),e,i),x(st(t),e,r))}),160))},gt=function(t,e){var n=t.contentComponent,i=t.pinchStartDistance,r=t.transformState.scale,o=t.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,c=l.disabled,d=l.size;if(null!==i&&n){var u=function(t,e,n){var i=n.getBoundingClientRect(),r=t.touches,o=y(r[0].clientX-i.left,5),a=y(r[0].clientY-i.top,5);return{x:(o+y(r[1].clientX-i.left,5))/2/e,y:(a+y(r[1].clientY-i.top,5))/2/e}}(e,r,n);if(Number.isFinite(u.x)&&Number.isFinite(u.y)){var p=ht(e),h=function(t,e){var n=t.pinchStartScale,i=t.pinchStartDistance,r=t.setup,o=r.maxScale,a=r.minScale,s=r.zoomAnimation,l=r.disablePadding,c=s.size,d=s.disabled;if(!n||null===i||!e)throw new Error("Pinch touches distance was not provided");return e<0?t.transformState.scale:P(y(e/i*n,2),a,o,c,!d&&!l)}(t,p);if(h!==r){var f=$(t,h),m=a&&(c||0===d||s),g=M(t,u.x,u.y,h,f,m),_=g.x,v=g.y;t.pinchMidpoint=u,t.lastDistance=p,t.setTransformState(h,_,v)}}}},_t=function(t,e){var n=t.props.onZoomStop,i=t.setup.doubleClick.animationTime;dt(t.doubleClickStopEventTimer),t.doubleClickStopEventTimer=setTimeout((function(){t.doubleClickStopEventTimer=null,x(st(t),e,n)}),i)};function vt(t,e){var n=t.setup,i=t.doubleClickStopEventTimer,r=t.transformState,o=t.contentComponent,a=r.scale,s=t.props,l=s.onZoomStart,c=s.onZoom,d=n.doubleClick,u=d.disabled,p=d.mode,h=d.step,f=d.animationTime,m=d.animationType;if(!u&&!i){if("reset"===p)return function(t,e){var n=t.props,i=n.onZoomStart,r=n.onZoom,o=t.setup.doubleClick,a=o.animationTime,s=o.animationType;x(st(t),e,i),tt(t,a,s,(function(){return x(st(t),e,r)})),_t(t,e)}(t,e);if(!o)return console.error("No ContentComponent found");var g=J(t,"zoomOut"===p?-1:1,h);if(a!==g){x(st(t),e,l);var _=pt(e,o,a),v=W(t,g,_.x,_.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");x(st(t),e,c),E(t,v,f,m),_t(t,e)}}}var bt=function(t){var e=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){e.initializeWindowEvents()},this.unmount=function(){e.cleanupWindowEvents()},this.update=function(t){$(e,e.transformState.scale),e.setup=Z(t)},this.initializeWindowEvents=function(){var t,n=lt(),i=null===(t=e.wrapperComponent)||void 0===t?void 0:t.ownerDocument,r=null==i?void 0:i.defaultView;null==r||r.addEventListener("mousedown",e.onPanningStart,n),null==r||r.addEventListener("mousemove",e.onPanning,n),null==r||r.addEventListener("mouseup",e.onPanningStop,n),null==i||i.addEventListener("mouseleave",e.clearPanning,n),null==r||r.addEventListener("keyup",e.setKeyUnPressed,n),null==r||r.addEventListener("keydown",e.setKeyPressed,n)},this.cleanupWindowEvents=function(){var t,n,i=lt(),r=null===(t=e.wrapperComponent)||void 0===t?void 0:t.ownerDocument,o=null==r?void 0:r.defaultView;null==o||o.removeEventListener("mousedown",e.onPanningStart,i),null==o||o.removeEventListener("mousemove",e.onPanning,i),null==o||o.removeEventListener("mouseup",e.onPanningStop,i),null==r||r.removeEventListener("mouseleave",e.clearPanning,i),null==o||o.removeEventListener("keyup",e.setKeyUnPressed,i),null==o||o.removeEventListener("keydown",e.setKeyPressed,i),document.removeEventListener("mouseleave",e.clearPanning,i),k(e),null===(n=e.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(t){var n=lt();t.addEventListener("wheel",e.onWheelZoom,n),t.addEventListener("dblclick",e.onDoubleClick,n),t.addEventListener("touchstart",e.onTouchPanningStart,n),t.addEventListener("touchmove",e.onTouchPanning,n),t.addEventListener("touchend",e.onTouchPanningStop,n)},this.handleInitialize=function(t){var n=e.setup.centerOnInit;e.applyTransformation(),n&&(e.setCenter(),e.observer=new ResizeObserver((function(){var t;e.setCenter(),null===(t=e.observer)||void 0===t||t.disconnect()})),e.observer.observe(t))},this.onWheelZoom=function(t){e.setup.disabled||function(t,e){var n=t.setup.wheel,i=n.disabled,r=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=t.isInitialized,l=t.isPanning,c=e.target;return!(!s||l||i||!c||r&&!e.ctrlKey||o&&e.ctrlKey||ct(c,a))}(e,t)&&e.isPressingKeys(e.setup.wheel.activationKeys)&&(function(t,e){var n=t.props,i=n.onWheelStart,r=n.onZoomStart;t.wheelStopEventTimer||(k(t),x(st(t),e,i),x(st(t),e,r))}(e,t),ft(e,t),mt(e,t))},this.onPanningStart=function(t){var n=e.setup.disabled,i=e.props.onPanningStart;n||T(e,t)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(t.preventDefault(),t.stopPropagation(),k(e),R(e,t),x(st(e),t,i))},this.onPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;n||D(e)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(t.preventDefault(),t.stopPropagation(),z(e,t.clientX,t.clientY),x(st(e),t,i))},this.onPanningStop=function(t){var n=e.props.onPanningStop;e.isPanning&&(B(e),x(st(e),t,n))},this.onPinchStart=function(t){var n=e.setup.disabled,i=e.props,r=i.onPinchingStart,o=i.onZoomStart;n||function(t,e){var n=t.setup.pinch,i=n.disabled,r=n.excluded,o=t.isInitialized,a=e.target;return!(!o||i||!a||ct(a,r))}(e,t)&&(function(t,e){var n=ht(e);t.pinchStartDistance=n,t.lastDistance=n,t.pinchStartScale=t.transformState.scale,t.isPanning=!1,k(t)}(e,t),k(e),x(st(e),t,r),x(st(e),t,o))},this.onPinch=function(t){var n=e.setup.disabled,i=e.props,r=i.onPinching,o=i.onZoom;n||function(t){var e=t.setup.pinch.disabled,n=t.isInitialized,i=t.pinchStartDistance;return!(!n||e||!i)}(e)&&(t.preventDefault(),t.stopPropagation(),gt(e,t),x(st(e),t,r),x(st(e),t,o))},this.onPinchStop=function(t){var n,i,r=e.props,o=r.onPinchingStop,a=r.onZoomStop;e.pinchStartScale&&(i=(n=e).pinchMidpoint,n.velocity=null,n.lastDistance=null,n.pinchMidpoint=null,n.pinchStartScale=null,n.pinchStartDistance=null,H(n,null==i?void 0:i.x,null==i?void 0:i.y),x(st(e),t,o),x(st(e),t,a))},this.onTouchPanningStart=function(t){var n=e.setup.disabled,i=e.props.onPanningStart;if(!n&&T(e,t))if(e.lastTouch&&+new Date-e.lastTouch<200&&1===t.touches.length)e.onDoubleClick(t);else{e.lastTouch=+new Date,k(e);var r=t.touches,o=1===r.length,a=2===r.length;o&&(k(e),R(e,t),x(st(e),t,i)),a&&e.onPinchStart(t)}},this.onTouchPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;if(e.isPanning&&1===t.touches.length){if(n)return;if(!D(e))return;t.preventDefault(),t.stopPropagation();var r=t.touches[0];z(e,r.clientX,r.clientY),x(st(e),t,i)}else t.touches.length>1&&e.onPinch(t)},this.onTouchPanningStop=function(t){e.onPanningStop(t),e.onPinchStop(t)},this.onDoubleClick=function(t){e.setup.disabled||function(t,e){var n=t.isInitialized,i=t.setup,r=t.wrapperComponent,o=i.doubleClick,a=o.disabled,s=o.excluded,l=e.target,c=null==r?void 0:r.contains(l);return!(!(n&&l&&c)||a||ct(l,s))}(e,t)&&vt(e,t)},this.clearPanning=function(t){e.isPanning&&e.onPanningStop(t)},this.setKeyPressed=function(t){e.pressedKeys[t.key]=!0},this.setKeyUnPressed=function(t){e.pressedKeys[t.key]=!1},this.isPressingKeys=function(t){return!t.length||Boolean(t.find((function(t){return e.pressedKeys[t]})))},this.setTransformState=function(t,n,i){var r=e.props.onTransformed;if(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(i))console.error("Detected NaN set state values");else{t!==e.transformState.scale&&(e.transformState.previousScale=e.transformState.scale,e.transformState.scale=t),e.transformState.positionX=n,e.transformState.positionY=i;var o=st(e);e.onChangeCallbacks.forEach((function(t){return t(o)})),x(o,{scale:t,positionX:n,positionY:i},r),e.applyTransformation()}},this.setCenter=function(){if(e.wrapperComponent&&e.contentComponent){var t=ut(e.transformState.scale,e.wrapperComponent,e.contentComponent);e.setTransformState(t.scale,t.positionX,t.positionY)}},this.handleTransformStyles=function(t,n,i){return e.props.customTransform?e.props.customTransform(t,n,i):function(t,e,n){return"translate(".concat(t,"px, ").concat(e,"px) scale(").concat(n,")")}(t,n,i)},this.applyTransformation=function(){if(e.mounted&&e.contentComponent){var t=e.transformState,n=t.scale,i=t.positionX,r=t.positionY,o=e.handleTransformStyles(i,r,n);e.contentComponent.style.transform=o}},this.getContext=function(){return st(e)},this.onChange=function(t){return e.onChangeCallbacks.has(t)||e.onChangeCallbacks.add(t),function(){e.onChangeCallbacks.delete(t)}},this.init=function(t,n){e.cleanupWindowEvents(),e.wrapperComponent=t,e.contentComponent=n,$(e,e.transformState.scale),e.handleInitializeWrapperEvents(t),e.handleInitialize(n),e.initializeWindowEvents(),e.isInitialized=!0,x(st(e),void 0,e.props.onInit)},this.props=t,this.setup=Z(this.props),this.transformState=K(this.props)},yt=r.a.createContext(null),xt=r.a.forwardRef((function(t,e){var n=Object(i.useState)(0)[1],o=t.children,a=Object(i.useRef)(new bt(t)).current,s=function(t,e){return"function"==typeof t?t(e):t}(t.children,st(a)),l=Object(i.useCallback)((function(){"function"==typeof o&&n((function(t){return t+1}))}),[o]);return Object(i.useImperativeHandle)(e,(function(){return st(a)}),[a]),Object(i.useEffect)((function(){a.update(t)}),[a,t]),Object(i.useEffect)((function(){return a.onChange(l)}),[a,t,l]),r.a.createElement(yt.Provider,{value:a},s)}));var wt="transform-component-module_wrapper__7HFJe",Ot="transform-component-module_content__uCDPE";!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}(".transform-component-module_wrapper__7HFJe {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: hidden;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n margin: 0;\n padding: 0;\n}\n.transform-component-module_content__uCDPE {\n display: flex;\n flex-wrap: wrap;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n margin: 0;\n padding: 0;\n transform-origin: 0% 0%;\n}\n.transform-component-module_content__uCDPE img {\n pointer-events: none;\n}\n");var kt=function(t){var e=t.children,n=t.wrapperClass,o=void 0===n?"":n,a=t.contentClass,s=void 0===a?"":a,l=t.wrapperStyle,c=t.contentStyle,d=t.wrapperProps,u=void 0===d?{}:d,p=t.contentProps,h=void 0===p?{}:p,f=Object(i.useContext)(yt).init,m=Object(i.useRef)(null),g=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t=m.current,e=g.current;null!==t&&null!==e&&f&&f(t,e)}),[]),r.a.createElement("div",Y({},u,{ref:m,className:"react-transform-wrapper ".concat(wt," ").concat(o),style:l}),r.a.createElement("div",Y({},h,{ref:g,className:"react-transform-component ".concat(Ot," ").concat(s),style:c}),e))},Ct=(r.a.forwardRef((function(t,e){var n,o=Object(i.useRef)(null),a=Object(i.useContext)(yt);return Object(i.useEffect)((function(){return a.onChange((function(t){if(o.current){o.current.style.transform=a.handleTransformStyles(0,0,1/t.state.scale)}}))}),[a]),r.a.createElement("div",Y({},t,{ref:(n=[o,e],function(t){n.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))})}))})),n(42));function Et(t){var e=t.alt,n=t.onClick,i=void 0===n?b.noop:n,o=t.onZoom,a=void 0===o?b.noop:o,s=t.url,l=t.zooming,c=void 0!==l&&l;return r.a.createElement(xt,{doubleClick:{mode:"reset"},initialScale:1,onPinchingStop:function(t){var e=t.state.scale>1;a(e)},panning:{disabled:!c}},r.a.createElement("button",{className:"Slide",onClick:i,onDoubleClick:function(){return a(!1)},tabIndex:-1},r.a.createElement(kt,{wrapperClass:"TransformComponent"},r.a.createElement(Ct.a,{alt:e,url:s,zIndex:3}))))}function St(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $t(t){var e=t.urls,n=void 0===e?[]:e,o=t.current,a=void 0===o?0:o,s=t.onChange,l=void 0===s?b.noop:s,c=t.setIndex,d=St(Object(i.useState)(!1),2),u=d[0],h=d[1],f=St(Object(i.useState)(null),2),m=f[0],g=f[1],_=St(Object(i.useState)(null),2),v=_[0],y=_[1];return r.a.createElement("div",{className:"Slides",onTouchStart:function(t){y(null),g(t.targetTouches[0].clientX)},onTouchMove:function(t){return y(t.targetTouches[0].clientX)},onTouchEnd:function(){if(m&&v){var t=m-v,e=t<-40;t>40?c(a<n.length-1?a+1:n.length-1):e&&c(a>0?a-1:0)}}},n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-left",dark:!0,icon:"chevron-left",onClick:function(){return c(a>0?a-1:0)},variant:"link"}),r.a.createElement(Et,{onClick:function(){return l(a)},onZoom:function(t){return h(t)},url:n[a],zooming:u}),n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-right",dark:!0,icon:"chevron-right",onClick:function(){return c(a<n.length-1?a+1:n.length-1)},variant:"link"}))}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Mt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Pt(t){var e=t.active,n=void 0!==e&&e,i=t.alt,o=t.width,a=t.url,s=t.onClick,c=void 0===s?function(){}:s,d=t.buttonRef,u=l()("Thumbnail",{active:n});return r.a.createElement("button",{className:l()(u),onClick:c,ref:d,style:{width:o},type:"button"},r.a.createElement(Ct.a,{alt:i,size:"sm",url:a}))}function Tt(t){var e,n,o,a=t.current,s=void 0===a?0:a,c=t.onChange,d=void 0===c?b.noop:c,u=t.urls,p=void 0===u?[]:u,h=(e=At(Object(i.useState)({width:window.innerWidth,height:window.innerHeight}),2),n=e[0],o=e[1],Object(i.useEffect)((function(){var t=function(){o({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",t),t(),function(){return window.removeEventListener("resize",t)}}),[]),n),f=h.width/8*p.length<.9*h.width,m=l()("Thumbnails",{centered:f}),g={},_=r.a.createRef();return Object(i.useLayoutEffect)((function(){var t,e,n;if(!f){var i=g.buttonRef.current.clientWidth,r=i*s,o=_.current.querySelector(".Thumbnail:first-child"),a=_.current.querySelector(".Thumbnail:last-child");o.style.marginLeft="".concat((null===(t=_.current)||void 0===t?void 0:t.clientWidth)/2-i/2,"px"),a.style.marginRight="".concat((null===(e=_.current)||void 0===e?void 0:e.clientWidth)/2-i/2,"px"),null===(n=_.current)||void 0===n||n.scrollTo(r,0)}})),r.a.createElement("div",{className:m,ref:_},p.map((function(t,e){var n=e===s;return n&&(g.buttonRef=r.a.createRef()),r.a.createElement(Pt,Object.assign({active:n,alt:e.toString(),key:e,onClick:function(){return d(e)},url:t},g))})))}function Dt(t){var e=t.currentIndex,n=t.photos,o=t.onClick,a=void 0===o?function(){}:o,s=t.onChange,l=void 0===s?function(){}:s,c=t.setIndex;Object(i.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}}),[]);var d=function(t){l(t)};return r.a.createElement("div",{className:"Lightbox"},r.a.createElement($t,{setIndex:c,current:e,onChange:d,onClick:a,urls:n.map((function(t){return t.url}))}),n.length>1?r.a.createElement(Tt,{current:e,onChange:d,urls:n.map((function(t){return t.thumbnail}))}):null)}function Lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Nt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var It=function t(e){var n=e.aria,a=void 0===n?{}:n,s=e.children,p=e.className,h=e.currentPhotoIndex,f=e.data,m=void 0===f?{}:f,g=e.description,_=e.id,v=void 0===_?"":_,b=e.initialPhoto,y=void 0===b?0:b,x=e.photos,w=e.onChange,O=void 0===w?function(){}:w,k=e.onClose,C=e.onClickRight,E=e.icon,S=void 0===E?"times":E,j=e.navRight,$=e.title,A=Lt(Object(i.useState)(y),2),M=A[0],P=A[1];Object(i.useEffect)((function(){O(M)}),[M]),Object(i.useEffect)((function(){null!=h&&P(h)}),[h]);var T=Object(c.a)(a),D=Object(c.c)(m),L=l()(Object(c.b)("pb_lightbox_kit"),Object(d.c)(e),p),N=Object(i.useMemo)((function(){return x.map((function(t){return{url:t,thumbnail:t}}))}),[x]),I={onClose:k,onArrowLeft:function(){P(M>0?M-1:0)},onArrowRight:function(){var t=M<x.length-1?M+1:x.length-1;P(t)}};!function(t){var e=o(Object(i.useState)(""),2),n=e[0],r=e[1];Object(i.useEffect)((function(){var e=function(e){var n=e.key.toLowerCase();switch(r(n),n){case"escape":t.onClose();break;case"arrowleft":t.onArrowLeft();break;case"arrowright":t.onArrowRight()}};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t])}(I);var R=Object(i.useRef)();return r.a.createElement(i.Fragment,null,r.a.createElement(u.Provider,{value:I},r.a.createElement("div",Object.assign({},T,D,{className:L,id:v,ref:R}),r.a.createElement("div",{className:"carousel"},r.a.createElement(t.Header,{icon:S,onClose:k,onClickRight:C,text:g,navRight:j,title:$}),s,r.a.createElement(Dt,{setIndex:P,currentIndex:M,onChange:function(t){P(t)},photos:N})))))};It.Header=v;e.a=It},function(t,e,n){"use strict";function i(t){return function(e){return typeof e===t}}n.d(e,"a",(function(){return y}));var r=i("function"),o=function(t){return"RegExp"===Object.prototype.toString.call(t).slice(8,-1)},a=function(t){return!s(t)&&!function(t){return null===t}(t)&&(r(t)||"object"==typeof t)},s=i("undefined"),l=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(t,e){if(t===e)return!0;if(t&&a(t)&&e&&a(e)){if(t.constructor!==e.constructor)return!1;if(Array.isArray(t)&&Array.isArray(e))return function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=n;0!=i--;)if(!c(t[i],e[i]))return!1;return!0}(t,e);if(t instanceof Map&&e instanceof Map)return function(t,e){var n,i,r,o;if(t.size!==e.size)return!1;try{for(var a=l(t.entries()),s=a.next();!s.done;s=a.next()){var d=s.value;if(!e.has(d[0]))return!1}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}try{for(var u=l(t.entries()),p=u.next();!p.done;p=u.next()){if(!c((d=p.value)[1],e.get(d[0])))return!1}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return!0}(t,e);if(t instanceof Set&&e instanceof Set)return function(t,e){var n,i;if(t.size!==e.size)return!1;try{for(var r=l(t.entries()),o=r.next();!o.done;o=r.next()){var a=o.value;if(!e.has(a[0]))return!1}}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return!0}(t,e);if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e))return function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var n=new DataView(t.buffer),i=new DataView(e.buffer),r=t.byteLength;r--;)if(n.getUint8(r)!==i.getUint8(r))return!1;return!0}(t,e);if(o(t)&&o(e))return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var r=n.length;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;for(r=n.length;0!=r--;){var s=n[r];if(("_owner"!==s||!t.$$typeof)&&!c(t[s],e[s]))return!1}return!0}return!(!Number.isNaN(t)||!Number.isNaN(e))||t===e}var d=n(19);function u(t,e,n){var i=n.actual,r=n.key,o=n.previous,a=n.type,s=b(t,r),l=b(e,r),c=[s,l].every(d.a.number)&&("increased"===a?s<l:s>l);return d.a.undefined(i)||(c=c&&l===i),d.a.undefined(o)||(c=c&&s===o),c}function p(t,e,n){var i=n.key,r=n.type,o=n.value,a=b(t,i),s=b(e,i),l="added"===r?a:s,u="added"===r?s:a;return d.a.nullOrUndefined(o)?[a,s].every(d.a.array)?!u.every(_(l)):[a,s].every(d.a.plainObject)?function(t,e){return e.some((function(e){return!t.includes(e)}))}(Object.keys(l),Object.keys(u)):![a,s].every((function(t){return d.a.primitive(t)&&d.a.defined(t)}))&&("added"===r?!d.a.defined(a)&&d.a.defined(s):d.a.defined(a)&&!d.a.defined(s)):d.a.defined(l)?!(!d.a.array(l)&&!d.a.plainObject(l))&&function(t,e,n){return!!v(t,e)&&([t,e].every(d.a.array)?!t.some(m(n))&&e.some(m(n)):[t,e].every(d.a.plainObject)?!Object.entries(t).some(f(n))&&Object.entries(e).some(f(n)):e===n)}(l,u,o):c(u,o)}function h(t,e,n){var i=(void 0===n?{}:n).key,r=b(t,i),o=b(e,i);if(!v(r,o))throw new TypeError("Inputs have different types");if(!function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.every((function(t){return d.a.string(t)||d.a.array(t)||d.a.plainObject(t)}))}(r,o))throw new TypeError("Inputs don't have length");return[r,o].every(d.a.plainObject)&&(r=Object.keys(r),o=Object.keys(o)),[r,o]}function f(t){return function(e){var n=e[0],i=e[1];return d.a.array(t)?c(t,i)||t.some((function(t){return c(t,i)||d.a.array(i)&&_(i)(t)})):d.a.plainObject(t)&&t[n]?!!t[n]&&c(t[n],i):c(t,i)}}function m(t){return function(e){return d.a.array(t)?t.some((function(t){return c(t,e)||d.a.array(e)&&_(e)(t)})):c(t,e)}}function g(t,e){return d.a.array(t)?t.some((function(t){return c(t,e)})):c(t,e)}function _(t){return function(e){return t.some((function(t){return c(t,e)}))}}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.every(d.a.array)||t.every(d.a.number)||t.every(d.a.plainObject)||t.every(d.a.string)}function b(t,e){return d.a.plainObject(t)||d.a.array(t)?d.a.string(e)?e.split(".").reduce((function(t,e){return t&&t[e]}),t):d.a.number(e)?t[e]:t:t}function y(t,e){if([t,e].some(d.a.nullOrUndefined))throw new Error("Missing required parameters");if(![t,e].every((function(t){return d.a.plainObject(t)||d.a.array(t)})))throw new Error("Expected plain objects or array");var n=function(n,i,r){try{var o=b(t,n),a=b(e,n),s=d.a.defined(i),l=d.a.defined(r);if(s||l){var u=l?g(r,o):!g(i,o),p=g(i,a);return u&&p}return[o,a].every(d.a.array)||[o,a].every(d.a.plainObject)?!c(o,a):o!==a}catch(t){return!1}};return{added:function(n,i){try{return p(t,e,{key:n,type:"added",value:i})}catch(t){return!1}},changed:n,changedFrom:function(n,i,r){if(!d.a.defined(n))return!1;try{var o=b(t,n),a=b(e,n),s=d.a.defined(r);return g(i,o)&&(s?g(r,a):!s)}catch(t){return!1}},changedTo:function(t,e){return!!d.a.defined(t)&&n(t,e)},decreased:function(n,i,r){if(!d.a.defined(n))return!1;try{return u(t,e,{key:n,actual:i,previous:r,type:"decreased"})}catch(t){return!1}},emptied:function(n){try{var i=h(t,e,{key:n}),r=i[0],o=i[1];return!!r.length&&!o.length}catch(t){return!1}},filled:function(n){try{var i=h(t,e,{key:n}),r=i[0],o=i[1];return!r.length&&!!o.length}catch(t){return!1}},increased:function(n,i,r){if(!d.a.defined(n))return!1;try{return u(t,e,{key:n,actual:i,previous:r,type:"increased"})}catch(t){return!1}},removed:function(n,i){try{return p(t,e,{key:n,type:"removed",value:i})}catch(t){return!1}}}}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(2),c=n(82),d=n(7),u=n(74),p=n(48),h=n(22);function f(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=g(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function g(t,e){if(t){if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,e):void 0}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t,e){var n=[];return function t(e,i){var r,o=m(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.id.toLowerCase()===i.toLowerCase())return void n.push(a);a.children&&a.children.length>0&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n},b=function t(e){var n=[];if(Array.isArray(e))return e.forEach((function(e){if(e.checked&&n.push(e),e.children&&e.children.length>0){var i=t(e.children);n.push.apply(n,f(i))}})),n},y=function(t){var e=[];return function t(n){Array.isArray(n)&&n.forEach((function(i){if(i.checked)if(i.children&&i.children.length>0){if(0===i.children.filter((function(t){return!t.checked})).length)return void e.push(i)}else{var r=n.find((function(t){return t.id===i.parentId}));r&&r.checked||e.push(i)}i.children&&i.children.length>0&&t(i.children)}))}(t),e};function x(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||O(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,g=t.data,_=void 0===g?{}:g,O=t.id,k=t.inputDisplay,C=void 0===k?"pills":k,E=t.name,S=t.returnAllSelected,j=void 0!==S&&S,$=t.treeData,A=t.onSelect,M=void 0===A?function(){}:A,P=t.selectedIds,T=Object(l.a)(n),D=Object(l.c)(_),L=a()(Object(l.b)("pb_multi_level_select"),Object(s.c)(t),o),N=Object(i.useRef)(null),I=w(Object(i.useState)(!0),2),R=I[0],F=I[1],z=w(Object(i.useState)(""),2),B=z[0],W=z[1],H=w(Object(i.useState)([]),2),Y=H[0],U=H[1],G=w(Object(i.useState)([]),2),X=G[0],V=G[1],q=w(Object(i.useState)([]),2),K=q[0],Z=q[1],J=function(t,e){var n=[];return function t(i){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=0;o<i.length;o++){var a=i[o],s=[].concat(f(r),[a]);if(a.expanded&&n.push(a.id),e&&e.length&&e.includes(a.id)&&n.push.apply(n,f(s.map((function(t){return t.id})))),Array.isArray(a.children)){var l=a.children.some((function(t){return t.checked}));l&&n.push.apply(n,f(s.map((function(t){return t.id})))),t(a.children,s)}}}(t),n}($,P),Q=w(Object(i.useState)(J),2),tt=Q[0],et=Q[1];Object(i.useEffect)((function(){V(st($,P))}),[$,P]),Object(i.useEffect)((function(){j?U(b(X)):Z(y(X))}),[X]),Object(i.useEffect)((function(){var t=function(t){N.current&&!N.current.contains(t.target)&&F(!0)};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[]);var nt=function t(e,n){if(Array.isArray(e))return e.map((function(e){return e.checked=n,e.children=t(e.children,n),e}))},it=function t(e,n,i){if(Array.isArray(n))return n.map((function(n){return n.id!=e?n.children=t(e,n.children,i):(n.checked=i,n.children=nt(n.children,i)),n}))},rt=function(t){var e=Object(h.cloneDeep)(X);return j?it(t.id,e,!0):function t(e,n){if(null!==e.parent_id){var i=v(n,e.parent_id);if(i[0].children.every((function(t){return t.checked})))i[0].checked=!0,null!==i[0].parent_id&&t(i[0],n)}return n}(t,it(t.id,e,!0))},ot=function(t){var e=Object(h.cloneDeep)(X);return j?it(t.id,e,!1):function t(e,n){if(n.parent_id){var i=v(e,n.parent_id);i[0].checked=!1,i[0].parent_id&&t(e,i[0])}return e}(it(t.id,e,!1),t)},at=function(t,e){var n=e?rt(t):ot(t);return V(n),n},st=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(Array.isArray(e))return e.map((function(e){var o=Object.assign(Object.assign({},e),{checked:n&&n.length&&n.includes(e.id),parent_id:i,depth:r});if(o.children&&o.children.length>0){var a=e.checked&&!j?nt(e.children,!0):e.children;o.children=t(a,n,o.id,r+1)}return o}))},lt=function(t,e){t.stopPropagation();var n=at(e,!1);M(j?b(n):y(n))},ct=function(t){return tt.indexOf(t.id)>-1},dt=function(){var t;return j&&Y&&Y.length?t=Y.length:!j&&K&&K.length&&(t=K.length),t};return r.a.createElement("div",Object.assign({},T,D,{className:L,id:O}),r.a.createElement("div",{ref:N,className:"wrapper"},r.a.createElement("div",{className:"input_wrapper",onClick:function(t){t.stopPropagation(),"multiselect_input"===t.target.id||t.target.classList.contains("pb_form_pill_tag")||F(!R)}},r.a.createElement("div",{className:"input_inner_container"},0!==Y.length&&j?Y.map((function(t){return r.a.createElement("input",{type:"hidden",name:"".concat(E,"[]"),value:t.id})})):null,0!==Y.length&&"pills"===C&&j?Y.map((function(t,e){return r.a.createElement(u.a,{key:e,text:t.label,size:"small",onClick:function(e){return lt(e,t)}})})):null,j||0===K.length||"pills"!==C?null:K.map((function(t,e){return r.a.createElement(u.a,{key:e,text:t.label,size:"small",onClick:function(e){return lt(e,t)}})})),0!==Y.length&&j&&"pills"===C&&r.a.createElement("br",null),0!==K.length&&!j&&"pills"===C&&r.a.createElement("br",null),r.a.createElement("input",{id:"multiselect_input",onChange:function(t){W(t.target.value)},placeholder:"none"===C&&dt()?"".concat(dt()," ").concat(1===dt()?"item":"items"," selected"):"Start typing...",value:B,onClick:function(){return F(!1)}})),R?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(d.a,{icon:"chevron-down",size:"xs"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(d.a,{icon:"chevron-up",size:"xs"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(R?"close":"open")},function t(e){return r.a.createElement("ul",null,Array.isArray(e)&&e.map((function(e){return r.a.createElement("div",{key:e.id},r.a.createElement("li",{className:"dropdown_item","data-name":e.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},r.a.createElement("div",{key:ct(e)?"chevron-down":"chevron-right"},r.a.createElement(p.a,{icon:ct(e)?"chevron-down":"chevron-right",className:e.children&&e.children.length>0?"":"toggle_icon",onClick:function(t){return function(t,e){e.stopPropagation();var n=v(X,t);if(n){var i=x(tt);ct(n[0])?i=i.filter((function(t){return t!=n[0].id})):i.push(n[0].id),et(i)}}(e.id,t)},variant:"link"})),r.a.createElement(c.a,{text:e.label,id:e.id},r.a.createElement("input",{checked:e.checked,type:"checkbox",name:e.label,value:e.label,onChange:function(t){!function(t,e){var n=t.target.parentNode.id;W("");var i=v(X,n),r=at(i[0],e);M(j?b(r):y(r))}(t,!e.checked)}}))),ct(e)&&e.children&&e.children.length>0&&!B&&r.a.createElement("div",null,t(e.children))))})))}(B?function(t,e){var n=[];return function t(e,i){var r,o=m(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.label.toLowerCase().includes(i.toLowerCase())&&n.push(a),a.children&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n}(X,B):X))))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(5),l=n(14);e.a=function(t){var e=t.className,n=t.id,i=t.unit,o=t.value,c=void 0===o?0:o;return r.a.createElement("div",{className:a()("pb_stat_value_kit",Object(s.c)(t),e),id:n},r.a.createElement("div",{className:"pb_stat_value_wrapper"},function(t){if(t||0===t)return r.a.createElement(l.a,{size:1,tag:"span",text:"".concat(t)})}(c)," ",function(t){if(t)return r.a.createElement(l.a,{size:3,tag:"span",text:t})}(i)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(54),l=n(5),c=n(12),d=n(182),u=n(14),p=n(2);e.a=function(t){var e=t.address,n=t.addressCont,i=t.aria,o=void 0===i?{}:i,h=t.city,f=t.className,m=t.data,g=void 0===m?{}:m,_=t.dark,v=void 0!==_&&_,b=t.emphasis,y=void 0===b?"street":b,x=t.homeId,w=t.homeUrl,O=t.newWindow,k=t.houseStyle,C=t.state,E=t.zipcode,S=t.territory,j=Object(p.c)(g),$=Object(p.a)(o);return r.a.createElement("div",Object.assign({className:function(e,n){return a()({pb_home_address_street:!n,pb_home_address_street_dark:n},Object(l.c)(t),e)}(f,v)},$,j),"street"==y&&r.a.createElement("div",null,r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4},Object(s.b)([Object(s.c)(e),k]," · ")),r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4},Object(s.c)(n)),r.a.createElement(c.a,{color:"light"},"".concat(Object(s.c)(h),", ").concat(C," ").concat(E))),"city"==y&&r.a.createElement("div",null,r.a.createElement(c.a,{color:"light"},Object(s.b)([Object(s.c)(e),k]," · ")),r.a.createElement(c.a,{color:"light"},Object(s.c)(n)),r.a.createElement("div",null,r.a.createElement(u.a,{className:"pb_home_address_street_address",dark:v,size:4,tag:"span"},"".concat(Object(s.c)(h),", ").concat(C)),r.a.createElement(c.a,{color:"light",tag:"span"}," ".concat(E)))),x&&r.a.createElement(d.a,{classname:"home-hashtag",dark:v,marginRight:"xxs",newWindow:O,text:x,type:"home",url:w||"#"}),r.a.createElement(c.a,{color:"light",tag:"span"},r.a.createElement("small",null,S)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(16),d=n(169),u=n(167);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.contacts,p=void 0===o?[]:o,h=t.data,f=void 0===h?{}:h,m=t.firstName,g=t.id,_=t.lastName,v=Object(s.a)(n),b=Object(s.c)(f),y=a()(Object(s.b)("pb_person_contact_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},v,b,{className:y,id:g}),r.a.createElement(u.a,{firstName:m,lastName:_}),p.filter((function(t){return"wrong-phone"!==t.contactType})).map((function(t,e){return r.a.createElement(d.a,{contactDetail:t.contactDetail,contactType:t.contactType,contactValue:t.contactValue,key:"valid-contact-".concat(e)})})),p.filter((function(t){return"wrong-phone"===t.contactType})).map((function(t,e){return r.a.createElement("div",{key:"wrong-contact-caption-wrapper-".concat(e)},r.a.createElement(c.a,{className:"wrong_numbers",key:"wrong-contact-caption-".concat(e),text:"wrong number"}),r.a.createElement(d.a,{contactType:t.contactType,contactValue:t.contactValue,key:"wrong-contact-".concat(e)}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(0),r=n.n(i).a.createContext(null)},function(t,e,n){"use strict";var i=n(40),r={passive:!0};e.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,a=o.scroll,s=void 0===a||a,l=o.resize,c=void 0===l||l,d=Object(i.a)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",n.update,r)})),c&&d.addEventListener("resize",n.update,r),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",n.update,r)})),c&&d.removeEventListener("resize",n.update,r)}},data:{}}},function(t,e,n){"use strict";var i=n(137);e.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Object(i.a)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(43),r=n(72),o=n(102),a=n(11);function s(t){var e,n=t.reference,s=t.element,l=t.placement,c=l?Object(i.a)(l):null,d=l?Object(r.a)(l):null,u=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case a.m:e={x:u,y:n.y-s.height};break;case a.c:e={x:u,y:n.y+n.height};break;case a.k:e={x:n.x+n.width,y:p};break;case a.f:e={x:n.x-s.width,y:p};break;default:e={x:n.x,y:n.y}}var h=c?Object(o.a)(c):null;if(null!=h){var f="y"===h?"height":"width";switch(d){case a.l:e[h]=e[h]-(n[f]/2-s[f]/2);break;case a.e:e[h]=e[h]+(n[f]/2-s[f]/2)}}return e}},function(t,e,n){"use strict";var i=n(11),r=n(78),o=n(40),a=n(51),s=n(57),l=n(43),c=n(72),d=n(32),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(t){var e,n=t.popper,l=t.popperRect,c=t.placement,p=t.variation,h=t.offsets,f=t.position,m=t.gpuAcceleration,g=t.adaptive,_=t.roundOffsets,v=t.isFixed,b=h.x,y=void 0===b?0:b,x=h.y,w=void 0===x?0:x,O="function"==typeof _?_({x:y,y:w}):{x:y,y:w};y=O.x,w=O.y;var k=h.hasOwnProperty("x"),C=h.hasOwnProperty("y"),E=i.f,S=i.m,j=window;if(g){var $=Object(r.a)(n),A="clientHeight",M="clientWidth";if($===Object(o.a)(n)&&($=Object(a.a)(n),"static"!==Object(s.a)($).position&&"absolute"===f&&(A="scrollHeight",M="scrollWidth")),$=$,c===i.m||(c===i.f||c===i.k)&&p===i.e)S=i.c,w-=(v&&$===j&&j.visualViewport?j.visualViewport.height:$[A])-l.height,w*=m?1:-1;if(c===i.f||(c===i.m||c===i.c)&&p===i.e)E=i.k,y-=(v&&$===j&&j.visualViewport?j.visualViewport.width:$[M])-l.width,y*=m?1:-1}var P,T=Object.assign({position:f},g&&u),D=!0===_?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Object(d.c)(e*i)/i||0,y:Object(d.c)(n*i)/i||0}}({x:y,y:w}):{x:y,y:w};return y=D.x,w=D.y,m?Object.assign({},T,((P={})[S]=C?"0":"",P[E]=k?"0":"",P.transform=(j.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",P)):Object.assign({},T,((e={})[S]=C?w+"px":"",e[E]=k?y+"px":"",e.transform="",e))}e.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,d=void 0===s||s,u={placement:Object(l.a)(e.placement),variation:Object(c.a)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,p(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,p(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},function(t,e,n){"use strict";var i=n(46),r=n(24);e.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},a=e.elements[t];Object(r.b)(a)&&Object(i.a)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Object(r.b)(o)&&Object(i.a)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(141);function r(t){return Object.assign({},Object(i.a)(),t)}},function(t,e,n){"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(121);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(i.a)())}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(24);function r(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Object(i.c)(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(t,e,n){"use strict";function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(t){this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.before=null}var e=t.prototype;return e.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var e,n=function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e}(this);e=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,e),this.tags.push(n)}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(i);try{var o=105===t.charCodeAt(1)&&64===t.charCodeAt(0);r.insertRule(t,o?0:r.cssRules.length)}catch(t){0}}else i.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(49);function r(t){var e=function(t,e){if("object"!==Object(i.a)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Object(i.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(i.a)(e)?e:String(e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(5),c=n(12),d=n(180),u=n(131);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,p=t.className,h=t.data,f=void 0===h?{}:h,m=t.id,g=t.statChange,_=void 0===g?{}:g,v=t.statLabel,b=t.statValue,y=void 0===b?{}:b,x=Object(s.a)(o),w=Object(s.c)(f),O=a()(Object(s.b)("pb_dashboard_value_kit",n),Object(l.c)(t),p);return r.a.createElement("div",Object.assign({},x,w,{className:O,id:m}),v&&r.a.createElement(c.a,{color:"light"},v),y&&r.a.createElement(u.a,{unit:y.unit,value:y.value}),_&&r.a.createElement(d.a,{change:_.change,value:_.value}))}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i;
15
15
  /*!
16
16
  Copyright (c) 2015 Jed Watson.
17
17
  Based on code that is Copyright 2013-2015, Facebook, Inc.