import*as gt from"react";import oe,{createContext as Or,useReducer as bl,useEffect as qt,useMemo as _e,useContext as fi,createElement as Pr,useState as Nt,useRef as de,forwardRef as Ie,useCallback as ee,useImperativeHandle as Cl,useLayoutEffect as kr,Component as Sl,Fragment as ar}from"react";import{i as pe,l as te,j as Ne,h as Ct,t as Ot,k as wl,m as Ol,n as Pl}from"./lib.js";import*as cs from"react-dom";import hs,{createPortal as kl}from"react-dom";function me(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i0&&r[r.length-1])&&(_[0]===6||_[0]===2)){o=0;continue}if(_[0]===3&&(!r||_[1]>r[0]&&_[1]0)&&!(i=n.next()).done;)r.push(i.value)}catch(b){u={error:b}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(u)throw u.error}}return r}function Qf(){for(var e=[],t=0;tObject.keys(t).reduce((o,n)=>(o[`${e}-${n}`]=t[n],o),{}),kn=()=>{},zt=e=>ms("aria",e),Bt=e=>ms("data",e),Dt=(...e)=>Pt(e).replace(/\s/g,"_"),It=e=>{const t={};return Object.keys(e).forEach(o=>{t[o]=e[o]}),t},Dl=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase(),Jf=e=>te.isEmpty(e)?e:e.split(" ").map(Dl).join(" "),Bl=e=>!te.isEmpty(e),t2=(e,t)=>te.filter(e,Bl).join(t),We=e=>e.split(/([A-Z])/g).map((t,o)=>{const n=o>0?"_":"";return t===t.toLowerCase()?t:n+t.toLowerCase()}).join(""),eo=[0,1],fe=(e,t)=>Object.keys(e).map(n=>{const i=typeof e[n]=="string"?We(e[n]):e[n];return`${t}_${n}_${i}`}).join(" "),Wi=(e,t)=>{let o="";return typeof t=="string"?o+=`${e}_${t}`:typeof t=="object"&&t.inset?o+=`${e}_${t.value}_inset`:typeof t=="object"&&(o+=`${e}_${t.value}`),o},io={hoverProps:({hover:e})=>{let t="";return e&&(t+=e.shadow?`hover_shadow_${e.shadow} `:"",t+=e.background?`hover_background_${e.background} `:"",t+=e.scale?`hover_scale_${e.scale} `:"",t+=e.color?`hover_color_${e.color} `:""),t},spacingProps:({marginRight:e,marginLeft:t,marginTop:o,marginBottom:n,marginX:i,marginY:r,margin:u,paddingRight:b,paddingLeft:C,paddingTop:_,paddingBottom:N,paddingX:S,paddingY:P,padding:x})=>{let p="";const c={marginRight:e,marginLeft:t,marginTop:o,marginBottom:n,marginX:i,marginY:r,margin:u,paddingRight:b,paddingLeft:C,paddingTop:_,paddingBottom:N,paddingX:S,paddingY:P,padding:x},h=["xs","sm","md","lg","xl"];function s(y,v){let w="";const $=y.break||"on",k=y.default||null;return Object.entries(y).forEach(([A,g])=>{h.includes(A)&&(w+=`break_${$}_${A}:${v}_${g} `)}),k&&(w+=`${v}_${k} `),w}function d(y){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"}[y]}return Object.entries(c).forEach(([y,v])=>{if(v)if(typeof v=="object")p+=s(v,d(y));else{const w=d(y);p+=`${w}_${v} `}}),p.trim()},borderRadiusProps:({borderRadius:e})=>{let t="";return t+=e?`border_radius_${e} `:"",t},overflowProps:({overflow:e,overflowX:t,overflowY:o})=>{let n="";return n+=e?`overflow_${e}`:"",n+=t?`overflow_x_${t}`:"",n+=o?`overflow_y_${o}`:"",n},truncateProps:({truncate:e})=>typeof e=="object"?"":e?`truncate_${e}`:"",darkProps:({dark:e})=>e?"dark":"",numberSpacingProps:({numberSpacing:e})=>{let t="";return t+=e?`ns_${e} `:"",t},maxWidthProps:({maxWidth:e})=>{let t="";return t+=e?`max_width_${e} `:"",t},zIndexProps:e=>{let t="";return Object.entries(e).forEach(o=>{o[0]=="zIndex"&&(typeof o[1]=="number"?t+=`z_index_${o[1]} `:typeof o[1]=="object"&&Object.entries(o[1]).forEach(n=>{t+=`z_index_${n[0]}_${n[1]} `}))}),t},shadowProps:({shadow:e})=>{let t="";return t+=e?`shadow_${e} `:"",t},lineHeightProps:({lineHeight:e})=>{let t="";return t+=e?`line_height_${e} `:"",t},displayProps:e=>{let t="";return Object.entries(e).forEach(o=>{o[0]=="display"&&(typeof o[1]=="string"?t+=`display_${o[1]} `:typeof o[1]=="object"&&Object.entries(o[1]).forEach(n=>{t+=`display_${n[0]}_${n[1]} `}))}),t},cursorProps:({cursor:e})=>{let t="";return t+=e?`cursor_${We(e)}`:"",t},alignContentProps:({alignContent:e})=>typeof e=="object"?fe(e,"align_content"):e?`align_content_${We(e)}`:"",alignItemsProps:({alignItems:e})=>typeof e=="object"?fe(e,"align_items"):e?`align_items_${We(e)}`:"",alignSelfProps:({alignSelf:e})=>typeof e=="object"?fe(e,"align_self"):e?`align_self_${e}`:"",flexDirectionProps:({flexDirection:e})=>typeof e=="object"?fe(e,"flex_direction"):e?`flex_direction_${We(e)}`:"",flexWrapProps:({flexWrap:e})=>typeof e=="object"?fe(e,"flex_wrap"):e?`flex_wrap_${We(e)}`:"",flexProps:({flex:e})=>typeof e=="object"?fe(e,"flex"):e?`flex_${e}`:"",flexGrowProps:({flexGrow:e})=>typeof e=="object"?fe(e,"flex_grow"):eo.includes(e)?`flex_grow_${e}`:"",flexShrinkProps:({flexShrink:e})=>typeof e=="object"?fe(e,"flex_shrink"):eo.includes(e)?`flex_shrink_${e}`:"",justifyContentProps:({justifyContent:e})=>typeof e=="object"?fe(e,"justify_content"):e?`justify_content_${We(e)}`:"",justifySelfProps:({justifySelf:e})=>typeof e=="object"?fe(e,"justify_self"):e?`justify_self_${e}`:"",orderProps:({order:e})=>typeof e=="object"?fe(e,"flex_order"):e?`flex_order_${e}`:"",positionProps:({position:e})=>{let t="";return t+=e&&e!=="static"?`position_${e}`:"",t},topProps:({top:e})=>Wi("top",e),rightProps:({right:e})=>Wi("right",e),bottomProps:({bottom:e})=>Wi("bottom",e),leftProps:({left:e})=>Wi("left",e),textAlignProps:({textAlign:e})=>typeof e=="object"?fe(e,"text_align"):e?`text_align_${e} `:"",verticalAlignProps:({verticalAlign:e})=>typeof e=="object"?fe(e,"vertical_align"):e?`vertical_align_${e} `:""},Tt=(e,t={})=>{const o=Object.assign(Object.assign({},e),t);return Object.keys(io).map(n=>io[n](o)).filter(n=>(n==null?void 0:n.length)>0).join(" ")},Fl=e=>{const t=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return te.omit(e,t)},ne=e=>{const{align:t="none",children:o,className:n,data:i={},inline:r=!1,horizontal:u="left",htmlOptions:b={},justify:C="none",orientation:_="row",spacing:N="none",gap:S="none",rowGap:P="none",columnGap:x="none",reverse:p=!1,vertical:c="top",wrap:h=!1,alignSelf:s="none"}=e,d=_!==void 0?`orientation_${_}`:"",y=C!=="none"?`justify_content_${C}`:`justify_content_${u}`,v=t!=="none"?`align_items_${t}`:`align_items_${c}`,w=r===!0?"inline":"",$=N!==void 0?`spacing_${N}`:"",k=S!=="none"?`gap_${S}`:"",A=P!=="none"?`rowGap_${P}`:"",g=x!=="none"?`columnGap_${x}`:"",T=h===!0?"wrap":"",a=p===!0?"reverse":"",O=s!=="none"?`align_self_${s}`:"",m=Bt(i),j=It(b);return tt.jsx("div",Object.assign({className:Pt(Dt("pb_flex_kit",d,y,v,w,a,T,$,k,A,g,O),Tt(e),n)},m,j,{children:o}),void 0)},on=e=>{const{children:t,className:o,fixedSize:n,grow:i,htmlOptions:r={},shrink:u,flex:b="none",order:C="none",alignSelf:_,displayFlex:N}=e,S=i===!0?"grow":"",P=N===!0?`display_flex_${N}`:"",x=b!=="none"?`flex_${b}`:"",p=u===!0?"shrink":"",c=_?`align_self_${_}`:"",h=n!==void 0?{flexBasis:`${n}`}:null,s=C!=="none"?`order_${C}`:null,d=It(r);return tt.jsx("div",Object.assign({},d,{className:Pt(Dt("pb_flex_item_kit",S,p,x,P),s,c,Tt(e),o),style:h},{children:t}),void 0)},sn=e=>new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u").test(e),zl={"arrow-alt-circle-right":"circle-right","angles-down":"angle-double-down","arrow-alt-down":"down","arrow-alt-up":"up","arrow-right-long":"long-arrow-right","arrow-to-bottom":"arrow-down-to-line","arrows-h":"arrows-left-right","calendar-days":"calendar-alt","circle-arrow-right":"arrow-circle-right","clock-rotate-left":"history",close:["times","xmark"],"ellipsis-h":"ellipsis","exclamation-circle":"circle-exclamation","external-link":"arrow-up-right-from-square","file-lines":"file-alt",gear:"cog",home:"house","info-circle":"circle-info","map-o":"map",message:"comment-alt","minus-circle":"circle-minus",money:"money-bill","mouse-pointer":"arrow-pointer",nitro:"nitro-n","play-circle":"circle-play","plus-circle":"circle-plus","plus-square":"square-plus",powergon:"powergon-p","question-circle":"circle-question",roofing:"product-roofing",shelves:"inventory","th-list":"table-list"},Hl={aliases:zl},Wl=Hl,Vl={horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},Gl=e=>{const t=Wl.aliases[e];return t?Array.isArray(t)?t[0]:t:e},Ut=e=>{const{aria:t={},border:o=!1,className:n,customIcon:i,data:r={},fixedWidth:u=!0,flip:b="none",htmlOptions:C={},icon:_="",id:N,inverse:S=!1,listItem:P=!1,pull:x,pulse:p=!1,rotation:c,size:h,fontStyle:s="far",spin:d=!1}=e,y=Gl(_);let v=typeof y=="object"?y:null;const w={"fa-border":o,"fa-fw":u,"fa-inverse":S,"fa-li":P,"fa-pulse":p,"fa-spin":d,[`fa-${h}`]:h,[`fa-pull-${x}`]:x,[`fa-rotate-${c}`]:c};if(!i&&!v){const O=window.PB_ICONS?window.PB_ICONS[y]:null;O?v=tt.jsx(O,{},void 0):w[`fa-${y}`]=y}const $=Pt(Vl[b],!v&&!i?"pb_icon_kit":"",v||i?"pb_custom_icon":s,v?"svg-inline--fa":"",w,Tt(e),n),k=Pt("pb_icon_kit_emoji",Tt(e),n);t.label||(t.label=`${y} icon`);const A=zt(t),g=Bt(r),T=It(C),a=O=>v||O?tt.jsx(tt.Fragment,{children:oe.cloneElement(v||O,Object.assign(Object.assign(Object.assign({},g),T),{className:$,id:N,width:"auto",height:"auto"}))},void 0):sn(y)?tt.jsx(tt.Fragment,{children:tt.jsx("span",Object.assign({},g,T,{className:k,id:N},{children:y}),void 0)},void 0):tt.jsxs(tt.Fragment,{children:[tt.jsx("i",Object.assign({},g,T,{className:$,id:N}),void 0),tt.jsx("span",Object.assign({},A,{hidden:!0}),void 0)]},void 0);return tt.jsx(tt.Fragment,{children:a(i)},void 0)};var vs={exports:{}};(function(e){e.exports=function(t){var o={};function n(i){if(o[i])return o[i].exports;var r=o[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=o,n.p="",n(0)}([function(t,o,n){t.exports=n(1)},function(t,o,n){Object.defineProperty(o,"__esModule",{value:!0});function i(b){return b&&b.__esModule?b:{default:b}}var r=n(2),u=i(r);o.default=u.default,t.exports=o.default},function(t,o,n){Object.defineProperty(o,"__esModule",{value:!0});var i=Object.assign||function(p){for(var c=1;c=0||Object.prototype.hasOwnProperty.call(p,s)&&(h[s]=p[s]);return h}var b=n(3),C=n(4),_=r(C),N=n(14),S=n(15),P=r(S);x.propTypes={activeClassName:_.default.string,activeIndex:_.default.number,activeStyle:_.default.object,autoEscape:_.default.bool,className:_.default.string,findChunks:_.default.func,highlightClassName:_.default.oneOfType([_.default.object,_.default.string]),highlightStyle:_.default.object,highlightTag:_.default.oneOfType([_.default.node,_.default.func,_.default.string]),sanitize:_.default.func,searchWords:_.default.arrayOf(_.default.oneOfType([_.default.string,_.default.instanceOf(RegExp)])).isRequired,textToHighlight:_.default.string.isRequired,unhighlightTag:_.default.oneOfType([_.default.node,_.default.func,_.default.string]),unhighlightClassName:_.default.string,unhighlightStyle:_.default.object};function x(p){var c=p.activeClassName,h=c===void 0?"":c,s=p.activeIndex,d=s===void 0?-1:s,y=p.activeStyle,v=p.autoEscape,w=p.caseSensitive,$=w===void 0?!1:w,k=p.className,A=p.findChunks,g=p.highlightClassName,T=g===void 0?"":g,a=p.highlightStyle,O=a===void 0?{}:a,m=p.highlightTag,j=m===void 0?"mark":m,f=p.sanitize,M=p.searchWords,I=p.textToHighlight,E=p.unhighlightTag,B=E===void 0?"span":E,U=p.unhighlightClassName,q=U===void 0?"":U,D=p.unhighlightStyle,l=u(p,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),L=(0,b.findAll)({autoEscape:v,caseSensitive:$,findChunks:A,sanitize:f,searchWords:M,textToHighlight:I}),H=j,G=-1,W="",R=void 0,F=function(V){var X={};for(var Y in V)X[Y.toLowerCase()]=V[Y];return X},z=(0,P.default)(F);return(0,N.createElement)("span",i({className:k},l,{children:L.map(function(K,V){var X=I.substr(K.start,K.end-K.start);if(K.highlight){G++;var Y=void 0;typeof T=="object"?$?Y=T[X]:(T=z(T),Y=T[X.toLowerCase()]):Y=T;var Z=G===+d;W=Y+" "+(Z?h:""),R=Z===!0&&y!=null?Object.assign({},O,y):O;var et={children:X,className:W,key:V,style:R};return typeof H!="string"&&(et.highlightIndex=G),(0,N.createElement)(H,et)}else return(0,N.createElement)(B,{children:X,className:q,key:V,style:D})})}))}t.exports=o.default},function(t,o){t.exports=function(n){var i={};function r(u){if(i[u])return i[u].exports;var b=i[u]={exports:{},id:u,loaded:!1};return n[u].call(b.exports,b,b.exports,r),b.loaded=!0,b.exports}return r.m=n,r.c=i,r.p="",r(0)}([function(n,i,r){n.exports=r(1)},function(n,i,r){Object.defineProperty(i,"__esModule",{value:!0});var u=r(2);Object.defineProperty(i,"combineChunks",{enumerable:!0,get:function(){return u.combineChunks}}),Object.defineProperty(i,"fillInChunks",{enumerable:!0,get:function(){return u.fillInChunks}}),Object.defineProperty(i,"findAll",{enumerable:!0,get:function(){return u.findAll}}),Object.defineProperty(i,"findChunks",{enumerable:!0,get:function(){return u.findChunks}})},function(n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.findAll=function(S){var P=S.autoEscape,x=S.caseSensitive,p=x===void 0?!1:x,c=S.findChunks,h=c===void 0?u:c,s=S.sanitize,d=S.searchWords,y=S.textToHighlight;return b({chunksToHighlight:r({chunks:h({autoEscape:P,caseSensitive:p,sanitize:s,searchWords:d,textToHighlight:y})}),totalLength:y?y.length:0})};var r=i.combineChunks=function(S){var P=S.chunks;return P=P.sort(function(x,p){return x.start-p.start}).reduce(function(x,p){if(x.length===0)return[p];var c=x.pop();if(p.start<=c.end){var h=Math.max(c.end,p.end);x.push({start:c.start,end:h})}else x.push(c,p);return x},[]),P},u=function(S){var P=S.autoEscape,x=S.caseSensitive,p=S.sanitize,c=p===void 0?C:p,h=S.searchWords,s=S.textToHighlight;return s=c(s),h.filter(function(d){return d}).reduce(function(d,y){y=c(y),P&&(y=_(y));for(var v=new RegExp(y,x?"g":"gi"),w=void 0;w=v.exec(s);){var $=w.index,k=v.lastIndex;k>$&&d.push({start:$,end:k}),w.index==v.lastIndex&&v.lastIndex++}return d},[])};i.findChunks=u;var b=i.fillInChunks=function(S){var P=S.chunksToHighlight,x=S.totalLength,p=[],c=function(d,y,v){y-d>0&&p.push({start:d,end:y,highlight:v})};if(P.length===0)c(0,x,!1);else{var h=0;P.forEach(function(s){c(h,s.start,!1),c(s.start,s.end,!0),h=s.end}),c(h,x,!1)}return p};function C(N){return N}function _(N){return N.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(t,o,n){(function(i){if(i.env.NODE_ENV!=="production"){var r=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,u=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===r},b=!0;t.exports=n(6)(u,b)}else t.exports=n(13)()}).call(o,n(5))},function(t,o){var n=t.exports={},i,r;function u(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?i=setTimeout:i=u}catch{i=u}try{typeof clearTimeout=="function"?r=clearTimeout:r=b}catch{r=b}})();function C(d){if(i===setTimeout)return setTimeout(d,0);if((i===u||!i)&&setTimeout)return i=setTimeout,setTimeout(d,0);try{return i(d,0)}catch{try{return i.call(null,d,0)}catch{return i.call(this,d,0)}}}function _(d){if(r===clearTimeout)return clearTimeout(d);if((r===b||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(d);try{return r(d)}catch{try{return r.call(null,d)}catch{return r.call(this,d)}}}var N=[],S=!1,P,x=-1;function p(){!S||!P||(S=!1,P.length?N=P.concat(N):x=-1,N.length&&c())}function c(){if(!S){var d=C(p);S=!0;for(var y=N.length;y;){for(P=N,N=[];++x1)for(var v=1;v"u"||D===null)return""+D;var l=E(D);if(l==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return l}function U(D){var l=B(D);switch(l){case"array":case"object":return"an "+l;case"boolean":case"date":case"regexp":return"a "+l;default:return l}}function q(D){return!D.constructor||!D.constructor.name?h:D.constructor.name}return s.checkPropTypes=N,s.PropTypes=s,s}}).call(o,n(5))},function(t,o){function n(r){return function(){return r}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(r){return r},t.exports=i},function(t,o,n){(function(i){var r=function(C){};i.env.NODE_ENV!=="production"&&(r=function(C){if(C===void 0)throw new Error("invariant requires an error message argument")});function u(b,C,_,N,S,P,x,p){if(r(C),!b){var c;if(C===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[_,N,S,P,x,p],s=0;c=new Error(C.replace(/%s/g,function(){return h[s++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}t.exports=u}).call(o,n(5))},function(t,o,n){(function(i){var r=n(7),u=r;if(i.env.NODE_ENV!=="production"){var b=function(_){for(var N=arguments.length,S=Array(N>1?N-1:0),P=1;P2?S-2:0),x=2;x1&&arguments[1]!==void 0?arguments[1]:n,b=void 0,C=[],_=void 0,N=!1,S=function(p,c){return u(p,C[c])},P=function(){for(var p=arguments.length,c=Array(p),h=0;h{const{children:t,className:o="pb_highlight_kit",data:n={},highlightedText:i=["highlight"],htmlOptions:r={},id:u="",text:b=""}=e,C=It(r),_=b||t;return tt.jsx(Xl,Object.assign({autoEscape:!0,data:n,highlightClassName:Pt(Tt(e),o),highlightTag:"mark",id:u,searchWords:i,textToHighlight:_},C),void 0)},Ee=e=>{e.variant;const{aria:t={},children:o,className:n,color:i="",data:r={},highlightedText:u=[],highlighting:b=!1,htmlOptions:C={},id:_="",status:N=null,tag:S="div",text:P="",variant:x=null}=e,p=zt(t),c=Bt(r),h=It(C),s=Pt(Dt("pb_body_kit",i,x,N),Tt(e),n),d=`${S}`;return tt.jsxs(d,Object.assign({},p,c,h,{className:s,id:_},{children:[b&&tt.jsx(Yl,Object.assign({highlightedText:u,text:P},{children:o}),void 0),!b&&(P||o)]}),void 0)},Xe=e=>{e.variant;const{aria:t={},children:o,className:n,color:i,data:r={},htmlOptions:u={},id:b,size:C="md",tag:_="div",text:N,variant:S=null}=e,x=["h1","h2","h3","h4","h5","h6","p","span","div","caption"].includes(_)?_:"div",p=zt(t),c=Bt(r),h=It(u),s=Pt(Dt("pb_caption_kit",C,S,i),Tt(e),n);return tt.jsx(x,Object.assign({},p,c,h,{className:s,id:b},{children:N||o}),void 0)},no=(e,t)=>{let o={};switch(t){case"xxs":case"xs":o={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":o={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":o={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":o={"top-right":{top:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-left":{bottom:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"top-left":{top:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"bottom-right":{bottom:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break}return o[e]||{}},an=e=>{const{alt:t="",aria:o={},className:n,data:i={},htmlOptions:r={},id:u,onError:b=null,rounded:C=!1,size:_="",transition:N="fade",url:S=""}=e,P=zt(o),x=Pt(Dt("pb_image_kit",_?`size_${_}`:null),"lazyload",N,{rounded:C},Tt(e),n),p=Bt(i),c=It(r);return tt.jsx("img",Object.assign({},P,p,c,{alt:t,className:x,"data-src":S,id:u,onError:b,src:S}),void 0)},Kl=e=>{const{aria:t={},className:o,data:n={},htmlOptions:i={},id:r,status:u="offline"}=e;t.label=u;const b=zt(t),C=Bt(n),_=It(i),N=Pt(Dt("pb_online_status_kit",u),Tt(e),o);return tt.jsx("div",Object.assign({},b,C,_,{className:N,id:r}),void 0)},ys=e=>{const{aria:t={},className:o,closeProps:n={},data:i={},htmlOptions:r={},id:u,removeIcon:b=!1,removeOnClick:C,rounded:_=!1,text:N,variant:S="neutral"}=e,P=zt(t),x=Bt(i),p=It(r),c=Pt(Dt("pb_badge_kit",S==="success"?"success_sm":S,_?"rounded":null),Tt(e),o);return tt.jsx("div",Object.assign({},P,x,p,{className:c,id:u},{children:tt.jsxs("span",{children:[N,b&&tt.jsx("span",Object.assign({onClick:C,style:{cursor:"pointer"}},n,{children:tt.jsx(Ut,{fixedWidth:!0,icon:"times"},void 0)}),void 0)]},void 0)}),void 0)},xs=e=>{const{aria:t={},className:o,dark:n=!1,data:i={},htmlOptions:r={},icon:u,id:b,size:C="md",variant:_="default"}=e,N=zt(t),S=Bt(i),P=It(r),x=Pt(Dt("pb_icon_circle_kit",`size_${C}`,_),Tt(e),o);return tt.jsx("div",Object.assign({},N,S,P,{className:x,id:b},{children:tt.jsx(Ut,{dark:n,icon:u},void 0)}),void 0)},ql={items:[],dragData:{id:"",initialGroup:""},isDragging:"",activeContainer:""},Zl=(e,t)=>{switch(t.type){case"SET_ITEMS":return Object.assign(Object.assign({},e),{items:t.payload});case"SET_DRAG_DATA":return Object.assign(Object.assign({},e),{dragData:t.payload});case"SET_IS_DRAGGING":return Object.assign(Object.assign({},e),{isDragging:t.payload});case"SET_ACTIVE_CONTAINER":return Object.assign(Object.assign({},e),{activeContainer:t.payload});case"CHANGE_CATEGORY":return Object.assign(Object.assign({},e),{items:e.items.map(o=>o.id===t.payload.itemId?Object.assign(Object.assign({},o),{container:t.payload.container}):o)});case"REORDER_ITEMS":{const{dragId:o,targetId:n}=t.payload,i=[...e.items],r=i.find(C=>C.id===o),u=i.indexOf(r),b=i.findIndex(C=>C.id===n);return i.splice(u,1),i.splice(b,0,r),Object.assign(Object.assign({},e),{items:i})}default:return e}},$s=Or({}),bs=()=>fi($s),e2=({children:e,initialItems:t,onReorder:o,onDragStart:n,onDragEnter:i,onDragEnd:r,onDrop:u,onDragOver:b})=>{const[C,_]=bl(Zl,ql);qt(()=>{_({type:"SET_ITEMS",payload:t})},[t]),qt(()=>{o(C.items)},[C.items]);const N=(s,d)=>{_({type:"SET_DRAG_DATA",payload:{id:s,initialGroup:d}}),_({type:"SET_IS_DRAGGING",payload:s}),n&&n(s,d)},S=(s,d)=>{C.dragData.id!==s&&(_({type:"REORDER_ITEMS",payload:{dragId:C.dragData.id,targetId:s}}),_({type:"SET_DRAG_DATA",payload:{id:C.dragData.id,initialGroup:d}})),i&&i(s,d)},P=()=>{_({type:"SET_IS_DRAGGING",payload:""}),_({type:"SET_ACTIVE_CONTAINER",payload:""}),r&&r()},x=(s,d)=>{_({type:"CHANGE_CATEGORY",payload:{itemId:s,container:d}})},p=s=>{_({type:"SET_IS_DRAGGING",payload:""}),_({type:"SET_ACTIVE_CONTAINER",payload:""}),x(C.dragData.id,s),u&&u(s)},c=(s,d)=>{s.preventDefault(),_({type:"SET_ACTIVE_CONTAINER",payload:d}),b&&b(s,d)},h=_e(()=>({items:C.items,dragData:C.dragData,isDragging:C.isDragging,activeContainer:C.activeContainer,handleDragStart:N,handleDragEnter:S,handleDragEnd:P,handleDrop:p,handleDragOver:c}),[C]);return tt.jsx($s.Provider,Object.assign({value:h},{children:e}),void 0)},Ql=e=>{const{aria:t={},children:o,className:n,container:i,data:r={},htmlOptions:u={},id:b}=e,{handleDragOver:C,handleDrop:_,activeContainer:N}=bs(),S=zt(t),P=Bt(r),x=It(u),p=Pt(Dt("pb_draggable_container"),`${N===i?"active":""}`,Tt(e),n);return Pr("div",Object.assign({},S,P,x,{className:p,id:b,key:i,onDragOver:c=>C(c,i),onDrop:()=>_(i)}),o)},Jl=e=>{const{aria:t={},children:o,className:n,container:i,data:r={},htmlOptions:u={},id:b,dragId:C}=e,{isDragging:_,handleDragStart:N,handleDragEnter:S,handleDragEnd:P}=bs(),x=zt(t),p=Bt(r),c=It(u),h=Pt(Dt("pb_draggable_item"),`${_===C?"is_dragging":""}`,Tt(e),n);return Pr("div",Object.assign({},x,p,c,{className:h,draggable:!0,id:b,key:C,onDragEnd:()=>P(),onDragEnter:()=>S(C,i),onDragStart:()=>N(C,i)}),o)},Mr=e=>{const{aria:t={},className:o,children:n,data:i={},htmlOptions:r={},id:u}=e,b=zt(t),C=Bt(i),_=It(r),N=Pt(Dt("pb_draggable"),Tt(e),o);return tt.jsx("div",Object.assign({},b,C,_,{className:N,id:u},{children:n}),void 0)};Mr.Container=Ql;Mr.Item=Jl;const td=e=>{const{children:t,className:o,headerColor:n="category_1",headerColorStriped:i=!1}=e,r=Dt("pb_card_header_kit",`${n}`,i?"striped":""),u=Tt(e);return tt.jsx("div",Object.assign({className:Pt(r,u,o)},{children:t}),void 0)},ed=e=>{const{children:t,className:o}=e,n=Dt("pb_card_body_kit"),i=Tt(e);return tt.jsx("div",Object.assign({className:Pt(n,i,o)},{children:t}),void 0)},di=e=>{const{aria:t={},background:o="none",borderNone:n=!1,borderRadius:i="md",children:r,className:u,data:b={},dragId:C,dragHandle:_=!0,draggableItem:N=!1,highlight:S={},htmlOptions:P={},selected:x=!1,tag:p="div"}=e,c=n==!0?"border_none":"",h=x==!0?"selected":"deselected",s=o=="none"?"":`background_${o}`,d=Dt("pb_card_kit",h,c,`border_radius_${i}`,s,{[`highlight_${S.position}`]:S.position,[`highlight_${S.color}`]:S.color}),y=zt(t),v=Bt(b),w=It(P),$=oe.Children.toArray(r),k=a=>$.filter(O=>te.get(O,"type.displayName")===a).map((O,m)=>{if(oe.isValidElement(O))return oe.cloneElement(O,{key:`${a.toLowerCase()}-${m}`})}),A=$.filter(a=>te.get(a,"type.displayName")!=="Header"),T=["div","section","footer","header","article","aside","main","nav"].includes(p)?p:"div";return tt.jsx(tt.Fragment,{children:N?tt.jsx(Mr.Item,Object.assign({dragId:C},{children:tt.jsxs(T,Object.assign({},y,v,w,{className:Pt(d,Tt(e),u)},{children:[k("Header"),_?tt.jsxs(ne,{children:[tt.jsx("span",Object.assign({className:"card_draggable_handle"},{children:tt.jsx(Ut,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),tt.jsx("div",Object.assign({style:{width:"100%"}},{children:A}),void 0)]},void 0):A]}),void 0)}),C):tt.jsxs(T,Object.assign({},y,v,w,{className:Pt(d,Tt(e),u)},{children:[k("Header"),A]}),void 0)},void 0)};di.Header=td;di.Body=ed;const id=e=>e.split(/\s/).map(t=>t[0]).join("").substring(0,2),Cs=e=>{const{aria:t={},className:o,data:n={},htmlOptions:i={},name:r=void 0,componentOverlay:u,id:b="",imageAlt:C="",imageUrl:_,size:N="md",status:S=null,dark:P=!1}=e,x=Bt(n),p=zt(t),c=It(i),h=Pt(Dt("pb_avatar_kit",`size_${N}`),Tt(e),o),s=r&&id(r);x["data-initials"]=s;const[d,y]=Nt(!1),v=()=>y(!0),w=_&&!d;return tt.jsx("div",Object.assign({},p,x,c,{className:h,id:b},{children:u?tt.jsxs(ne,Object.assign({display:"display_inline_block",position:"relative"},{children:[tt.jsx("div",Object.assign({className:"avatar_wrapper","data-initials":s},{children:w&&tt.jsx(an,{alt:C||r,onError:v,url:_},void 0)}),void 0),u.component==="badge"&&tt.jsx(di,Object.assign({borderNone:!0,borderRadius:"rounded",padding:"none",position:"absolute"},no(u.placement,N),{children:tt.jsx(ys,{rounded:!0,text:u.text,variant:u.variant},void 0)}),void 0),u.component==="iconCircle"&&tt.jsx(di,Object.assign({borderNone:!0,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute"},no(u.placement,N),{children:tt.jsx(xs,{icon:u.icon,size:"xxs",variant:u.variant},void 0)}),void 0)]}),void 0):tt.jsxs(tt.Fragment,{children:[tt.jsx("div",Object.assign({className:"avatar_wrapper","data-initials":s},{children:w&&tt.jsx(an,{alt:C||r,onError:v,url:_},void 0)}),void 0),S&&tt.jsx(Kl,{className:`size_${N}`,dark:P,status:S},void 0)]},void 0)}),void 0)},nd={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"},ke=e=>{if(typeof e=="string")return e;for(const[t,o]of Object.entries(e||{}))if(t!=="default"&&window.matchMedia(nd[t]).matches)return o;return(e==null?void 0:e.default)||void 0},rd=e=>{const{alt:t=void 0,aria:o={},backgroundColor:n="light",backgroundPosition:i="",backgroundRepeat:r="initial",backgroundSize:u="cover",children:b,className:C,customColor:_,data:N={},htmlOptions:S={},id:P,imageUrl:x="",tag:p="div",transition:c=""}=e,[h,s]=Nt({backgroundSize:ke(u),backgroundPosition:ke(i),backgroundRepeat:ke(r),backgroundColor:ke(n),imageUrl:ke(x)});qt(()=>{const m=()=>{s({backgroundSize:ke(e.backgroundSize),backgroundPosition:ke(e.backgroundPosition),backgroundRepeat:ke(e.backgroundRepeat),backgroundColor:ke(e.backgroundColor),imageUrl:ke(e.imageUrl)})};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[e]);const{backgroundColor:d,backgroundPosition:y,backgroundRepeat:v,backgroundSize:w,imageUrl:$}=h,k=Pt(Dt("pb_background_kit"),"lazyload",Tt(e),c,{[`pb_background_color_${d}`]:d&&!_,pb_background_custom_color:!!_},C),A=Object.assign({backgroundColor:_||void 0},$!==""?{backgroundImage:$?`url(${$})`:void 0,backgroundRepeat:v||void 0,backgroundPosition:y||void 0,backgroundSize:w||void 0}:{}),g=`${p}`,T=zt(o),a=Bt(N),O=It(S);return tt.jsx(g,Object.assign({},T,a,O,{alt:t,className:k,id:P,style:A},{children:b}),void 0)};var Ss={exports:{}};(function(e,t){(function(o,n){e.exports=n(oe)})(typeof self<"u"?self:Ne,function(o){return function(n){function i(u){if(r[u])return r[u].exports;var b=r[u]={i:u,l:!1,exports:{}};return n[u].call(b.exports,b,b.exports,i),b.l=!0,b.exports}var r={};return i.m=n,i.c=r,i.d=function(u,b,C){i.o(u,b)||Object.defineProperty(u,b,{configurable:!1,enumerable:!0,get:C})},i.n=function(u){var b=u&&u.__esModule?function(){return u.default}:function(){return u};return i.d(b,"a",b),b},i.o=function(u,b){return Object.prototype.hasOwnProperty.call(u,b)},i.p="",i(i.s=0)}([function(n,i,r){function u(){return u=Object.assign?Object.assign.bind():function(d){for(var y=1;yd.length)&&(y=d.length);for(var v=0,w=new Array(y);v"u"?"undefined":x(window))==="object"&&window.Highcharts,a=d.constructorType||"chart";T?T[a]?d.options?w.current=T[a](v.current,d.options,d.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(w.current){if(d.allowChartUpdate!==!1)if(d.constructorType!==$.current||d.highcharts!==k.current)$.current=d.constructorType,k.current=d.highcharts,A();else if(!d.immutable&&w.current){var g;(g=w.current).update.apply(g,[d.options].concat(b(d.updateArgs||[!0,!0])))}else A()}else A()},[d.options,d.allowChartUpdate,d.updateArgs,d.containerProps,d.highcharts,d.constructorType]),h(function(){return function(){w.current&&(w.current.destroy(),w.current=null)}},[]),Object(p.useImperativeHandle)(y,function(){return{get chart(){return w.current},container:v}},[]),c.a.createElement("div",u({},d.containerProps,{ref:v}))}));i.default=s},function(n,i){n.exports=o}])})})(Ss);var od=Ss.exports;const ci=pe(od);var ws={exports:{}};(function(e){(function(t,o){e.exports?(o.default=o,e.exports=t.document?o(t):o):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=o(t))})(typeof window<"u"?window:Ne,function(t){function o(i,r,u,b){i.hasOwnProperty(r)||(i[r]=b.apply(null,u),typeof CustomEvent=="function"&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:r,module:i[r]}})))}var n={};return o(n,"Core/Globals.js",[],function(){var i;return function(r){r.SVG_NS="http://www.w3.org/2000/svg",r.product="Highcharts",r.version="10.3.3",r.win=typeof t<"u"?t:{},r.doc=r.win.document,r.svg=r.doc&&r.doc.createElementNS&&!!r.doc.createElementNS(r.SVG_NS,"svg").createSVGRect,r.userAgent=r.win.navigator&&r.win.navigator.userAgent||"",r.isChrome=r.userAgent.indexOf("Chrome")!==-1,r.isFirefox=r.userAgent.indexOf("Firefox")!==-1,r.isMS=/(edge|msie|trident)/i.test(r.userAgent)&&!r.win.opera,r.isSafari=!r.isChrome&&r.userAgent.indexOf("Safari")!==-1,r.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(r.userAgent),r.isWebKit=r.userAgent.indexOf("AppleWebKit")!==-1,r.deg2rad=2*Math.PI/360,r.hasBidiBug=r.isFirefox&&4>parseInt(r.userAgent.split("Firefox/")[1],10),r.hasTouch=!!r.win.TouchEvent,r.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],r.noop=function(){},r.supportsPassiveEvents=function(){var u=!1;if(!r.isMS){var b=Object.defineProperty({},"passive",{get:function(){u=!0}});r.win.addEventListener&&r.win.removeEventListener&&(r.win.addEventListener("testPassive",r.noop,b),r.win.removeEventListener("testPassive",r.noop,b))}return u}(),r.charts=[],r.dateFormats={},r.seriesTypes={},r.symbolSizes={},r.chartCount=0}(i||(i={})),i}),o(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(i){function r(f,M,I,E){var B=M?"Highcharts error":"Highcharts warning";f===32&&(f=""+B+": Deprecated member");var U=x(f),q=U?""+B+" #"+f+": www.highcharts.com/errors/"+f+"/":f.toString();if(typeof E<"u"){var D="";U&&(q+="?"),$(E,function(l,L){D+=` - `.concat(L,": ").concat(l),U&&(q+=encodeURI(L)+"="+encodeURI(l))}),q+=D}A(i,"displayError",{chart:I,code:f,message:q,params:E},function(){if(M)throw Error(q);a.console&&r.messages.indexOf(q)===-1&&console.warn(q)}),r.messages.push(q)}function u(f,M){var I={};return $(f,function(E,B){N(f[B],!0)&&!f.nodeType&&M[B]?(E=u(f[B],M[B]),Object.keys(E).length&&(I[B]=E)):(N(f[B])||f[B]!==M[B]||B in f&&!(B in M))&&(I[B]=f[B])}),I}function b(f,M){return parseInt(f,M||10)}function C(f){return typeof f=="string"}function _(f){return f=Object.prototype.toString.call(f),f==="[object Array]"||f==="[object Array Iterator]"}function N(f,M){return!!f&&typeof f=="object"&&(!M||!_(f))}function S(f){return N(f)&&typeof f.nodeType=="number"}function P(f){var M=f&&f.constructor;return!(!N(f,!0)||S(f)||!M||!M.name||M.name==="Object")}function x(f){return typeof f=="number"&&!isNaN(f)&&1/0>f&&-1/0=M-1&&(M=Math.floor(I)),Math.max(0,M-(E(f,"padding-left",!0)||0)-(E(f,"padding-right",!0)||0));if(M==="height")return Math.max(0,Math.min(f.offsetHeight,f.scrollHeight)-(E(f,"padding-top",!0)||0)-(E(f,"padding-bottom",!0)||0));if(a.getComputedStyle||r(27,!0),f=a.getComputedStyle(f,void 0)){var B=f.getPropertyValue(M);s(I,M!=="opacity")&&(B=b(B))}return B}function $(f,M,I){for(var E in f)Object.hasOwnProperty.call(f,E)&&M.call(I||f[E],f[E],E,f)}function k(f,M,I){function E(D,l){var L=f.removeEventListener||i.removeEventListenerPolyfill;L&&L.call(f,D,l,!1)}function B(D){var l;if(f.nodeName){if(M){var L={};L[M]=!0}else L=D;$(L,function(H,G){if(D[G])for(l=D[G].length;l--;)E(G,D[G][l].fn)})}}var U=typeof f=="function"&&f.prototype||f;if(Object.hasOwnProperty.call(U,"hcEvents")){var q=U.hcEvents;M?(U=q[M]||[],I?(q[M]=U.filter(function(D){return I!==D.fn}),E(M,I)):(B(q),q[M]=[])):(B(q),delete U.hcEvents)}}function A(f,M,I,E){if(I=I||{},T.createEvent&&(f.dispatchEvent||f.fireEvent&&f!==i)){var B=T.createEvent("Events");B.initEvent(M,!0,!0),I=h(B,I),f.dispatchEvent?f.dispatchEvent(I):f.fireEvent(M,I)}else if(f.hcEvents){I.target||h(I,{preventDefault:function(){I.defaultPrevented=!0},target:f,type:M}),B=[];for(var U=f,q=!1;U.hcEvents;)Object.hasOwnProperty.call(U,"hcEvents")&&U.hcEvents[M]&&(B.length&&(q=!0),B.unshift.apply(B,U.hcEvents[M])),U=Object.getPrototypeOf(U);q&&B.sort(function(D,l){return D.order-l.order}),B.forEach(function(D){D.fn.call(f,I)===!1&&I.preventDefault()})}E&&!I.defaultPrevented&&E.call(f,I)}var g=i.charts,T=i.doc,a=i.win;(r||(r={})).messages=[],Math.easeInOutSine=function(f){return-.5*(Math.cos(Math.PI*f)-1)};var O=Array.prototype.find?function(f,M){return f.find(M)}:function(f,M){var I,E=f.length;for(I=0;II&&(I=f[M]);return I},arrayMin:function(f){for(var M=f.length,I=f[0];M--;)f[M]M?f"u"||I==="__proto__"||(M=M[I],!p(M)||typeof M=="function"||typeof M.nodeType=="number"||M===a))return}return M},getStyle:w,inArray:function(f,M,I){return r(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),M.indexOf(f,I)},isArray:_,isClass:P,isDOMElement:S,isFunction:function(f){return typeof f=="function"},isNumber:x,isObject:N,isString:C,keys:function(f){return r(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(f)},merge:function(){var f,M=arguments,I={},E=function(U,q){return typeof U!="object"&&(U={}),$(q,function(D,l){l!=="__proto__"&&l!=="constructor"&&(!N(D,!0)||P(D)||S(D)?U[l]=q[l]:U[l]=E(U[l]||{},D))}),U};M[0]===!0&&(I=M[1],M=Array.prototype.slice.call(M,2));var B=M.length;for(f=0;f=I&&(M=[1/I]))),E=0;E=f||!B&&q<=(M[E]+(M[E+1]||M[E]))/2));E++);return U=v(U*I,-Math.round(Math.log(.001)/Math.LN10))},objectEach:$,offset:function(f){var M=T.documentElement;return f=f.parentElement||f.parentNode?f.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:f.top+(a.pageYOffset||M.scrollTop)-(M.clientTop||0),left:f.left+(a.pageXOffset||M.scrollLeft)-(M.clientLeft||0),width:f.width,height:f.height}},pad:function(f,M,I){return Array((M||2)+1-String(f).replace("-","").length).join(I||"0")+f},pick:s,pInt:b,relativeLength:function(f,M,I){return/%$/.test(f)?M*parseFloat(f)/100+(I||0):parseFloat(f)},removeEvent:k,splat:function(f){return _(f)?f:[f]},stableSort:function(f,M){var I=f.length,E,B;for(B=0;B>16,(x&65280)>>8,x&255,1]:P===4&&(S=[(x&3840)>>4|(x&3840)>>8,(x&240)>>4|x&240,(x&15)<<4|x&15,1])}if(!S)for(x=_.parsers.length;x--&&!S;){var p=_.parsers[x];(P=p.regex.exec(N))&&(S=p.parse(P))}}S&&(this.rgba=S)},_.prototype.get=function(N){var S=this.input,P=this.rgba;if(typeof S=="object"&&typeof this.stops<"u"){var x=b(S);return x.stops=[].slice.call(x.stops),this.stops.forEach(function(p,c){x.stops[c]=[x.stops[c][0],p.get(N)]}),x}return P&&u(P[0])?N==="rgb"||!N&&P[3]===1?"rgb("+P[0]+","+P[1]+","+P[2]+")":N==="a"?"".concat(P[3]):"rgba("+P.join(",")+")":S},_.prototype.brighten=function(N){var S=this.rgba;if(this.stops)this.stops.forEach(function(x){x.brighten(N)});else if(u(N)&&N!==0)for(var P=0;3>P;P++)S[P]+=C(255*N),0>S[P]&&(S[P]=0),255g?"AM":"PM",P:12>g?"am":"pm",S:x(A.getSeconds()),L:x(Math.floor(w%1e3),3)},i.dateFormats),P(A,function(I,E){for(;v.indexOf("%"+E)!==-1;)v=v.replace("%"+E,typeof I=="function"?I.call(k,w):I)}),$?v.substr(0,1).toUpperCase()+v.substr(1):v},y.prototype.resolveDTLFormat=function(v){return N(v,!0)?v:(v=c(v),{main:v[0],from:v[1],to:v[2]})},y.prototype.getTimeTicks=function(v,w,$,k){var A=this,g=[],T={},a=new A.Date(w),O=v.unitRange,m=v.count||1,j;if(k=p(k,1),b(w)){if(A.set("Milliseconds",a,O>=h.second?0:m*Math.floor(A.get("Milliseconds",a)/m)),O>=h.second&&A.set("Seconds",a,O>=h.minute?0:m*Math.floor(A.get("Seconds",a)/m)),O>=h.minute&&A.set("Minutes",a,O>=h.hour?0:m*Math.floor(A.get("Minutes",a)/m)),O>=h.hour&&A.set("Hours",a,O>=h.day?0:m*Math.floor(A.get("Hours",a)/m)),O>=h.day&&A.set("Date",a,O>=h.month?1:Math.max(1,m*Math.floor(A.get("Date",a)/m))),O>=h.month){A.set("Month",a,O>=h.year?0:m*Math.floor(A.get("Month",a)/m));var f=A.get("FullYear",a)}O>=h.year&&A.set("FullYear",a,f-f%m),O===h.week&&(f=A.get("Day",a),A.set("Date",a,A.get("Date",a)-f+k+(f4*h.month||A.getTimezoneOffset(w)!==A.getTimezoneOffset($)),w=a.getTime(),a=1;w<$;)g.push(w),w=O===h.year?A.makeTime(f+a*m,0):O===h.month?A.makeTime(f,k+a*m):!j||O!==h.day&&O!==h.week?j&&O===h.hour&&1g.length&&g.forEach(function(E){E%18e5===0&&A.dateFormat("%H%M%S%L",E)==="000000000"&&(T[E]="day")})}return g.info=_(v,{higherRanks:T,totalRange:O*m}),g},y.prototype.getDateFormat=function(v,w,$,k){var A=this.dateFormat("%m-%d %H:%M:%S.%L",w),g={millisecond:15,second:12,minute:9,hour:6,day:3},T="millisecond";for(a in h){if(v===h.week&&+this.dateFormat("%w",w)===$&&A.substr(6)==="00:00:00.000"){var a="week";break}if(h[a]>v){a=T;break}if(g[a]&&A.substr(g[a])!=="01-01 00:00:00.000".substr(g[a]))break;a!=="week"&&(T=a)}return this.resolveDTLFormat(k[a]).main},y}(),r}),o(n,"Core/Defaults.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(i,r,u,b,C,_){r=r.parse;var N=_.merge,S={colors:b.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:i,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:u.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:u.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:r("#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 P=new C(N(S.global,S.time));return i={defaultOptions:S,defaultTime:P,getOptions:function(){return S},setOptions:function(x){return N(!0,S,x),(x.time||x.global)&&(u.time?u.time.update(N(S.global,S.time,x.global,x.time)):u.time=P),S}},i}),o(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(i,r,u){var b=i.parse,C=r.win,_=u.isNumber,N=u.objectEach;return function(){function S(P,x,p){this.pos=NaN,this.options=x,this.elem=P,this.prop=p}return S.prototype.dSetter=function(){var P=this.paths,x=P&&P[0];P=P&&P[1];var p=this.now||0,c=[];if(p!==1&&x&&P)if(x.length===P.length&&1>p)for(var h=0;h=s+this.startTime){this.now=this.end,this.pos=1,this.update();var y=d[this.prop]=!0;N(d,function(v){v!==!0&&(y=!1)}),y&&h&&h.call(c),P=!1}else this.pos=p.easing((x-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),P=!0;return P},S.prototype.initPath=function(P,x,p){function c(A,g){for(;A.length"u"&&(x=[])}if(x.length&&_(w)){var k=p.length+w*v;$?(c(x,p),h(p,x)):(c(p,x),h(x,p))}return[x,p]},S.prototype.fillSetter=function(){S.prototype.strokeSetter.apply(this,arguments)},S.prototype.strokeSetter=function(){this.elem.attr(this.prop,b(this.start).tweenTo(b(this.end),this.pos),void 0,!0)},S.timers=[],S}()}),o(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],function(i,r){function u(h){return P(h)?x({duration:500,defer:0},h):{duration:h?500:0,defer:0}}function b(h,s){for(var d=i.timers.length;d--;)i.timers[d].elem!==h||s&&s!==i.timers[d].prop||(i.timers[d].stopped=!0)}var C=r.defined,_=r.getStyle,N=r.isArray,S=r.isNumber,P=r.isObject,x=r.merge,p=r.objectEach,c=r.pick;return{animate:function(h,s,d){var y,v="",w,$;if(!P(d)){var k=arguments;d={duration:k[2],easing:k[3],complete:k[4]}}S(d.duration)||(d.duration=400),d.easing=typeof d.easing=="function"?d.easing:Math[d.easing]||Math.easeInOutSine,d.curAnim=x(s),p(s,function(A,g){b(h,g),$=new i(h,d,g),w=void 0,g==="d"&&N(s.d)?($.paths=$.initPath(h,h.pathArray,s.d),$.toD=s.d,y=0,w=1):h.attr?y=h.attr(g):(y=parseFloat(_(h,g))||0,g!=="opacity"&&(v="px")),w||(w=A),typeof w=="string"&&w.match("px")&&(w=w.replace(/px/g,"")),$.run(y,w,v)})},animObject:u,getDeferredAnimation:function(h,s,d){var y=u(s),v=0,w=0;return(d?[d]:h.series).forEach(function($){$=u($.options.animation),v=s&&C(s.defer)?y.defer:Math.max(v,$.duration+$.defer),w=Math.min(y.duration,$.duration)}),h.renderer.forExport&&(v=0),{defer:Math.max(0,v-w),duration:Math.min(v,w)}},setAnimation:function(h,s){s.renderer.globalAnimation=c(h,s.options.chart.animation,!0)},stop:b}}),o(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(i,r){var u=i.SVG_NS,b=r.attr,C=r.createElement,_=r.css,N=r.error,S=r.isFunction,P=r.isString,x=r.objectEach,p=r.splat,c=(r=i.win.trustedTypes)&&S(r.createPolicy)&&r.createPolicy("highcharts",{createHTML:function(d){return d}}),h=c?c.createHTML(""):"";try{var s=!!new DOMParser().parseFromString(h,"text/html")}catch{s=!1}return S=function(){function d(y){this.nodes=typeof y=="string"?this.parseMarkup(y):y}return d.filterUserAttributes=function(y){return x(y,function(v,w){var $=!0;d.allowedAttributes.indexOf(w)===-1&&($=!1),["background","dynsrc","href","lowsrc","src"].indexOf(w)!==-1&&($=P(v)&&d.allowedReferences.some(function(k){return v.indexOf(k)===0})),$||(N(33,!1,void 0,{"Invalid attribute in config":"".concat(w)}),delete y[w]),P(v)&&y[w]&&(y[w]=v.replace(/y[1]){var w=p+ +y[1];0<=w?(y[0]=(+y[0]).toExponential(w).split("e")[0],p=w):(y[0]=y[0].split(".")[0]||0,x=20>p?(y[0]*Math.pow(10,y[1])).toFixed(p):0,y[1]=0)}w=(Math.abs(y[1]?y[0]:x)+Math.pow(10,-Math.max(p,d)-1)).toFixed(p),d=String(P(w));var $=3x?"-":"")+($?d.substr(0,$)+h:""),x=0>+y[1]&&!v?"0":x+d.substr($).replace(/(\d{3})(?=\d)/g,"$1"+h),p&&(x+=c+w.slice(-p)),y[1]&&+x!=0&&(x+="e"+y[1]),x}var b=i.defaultOptions,C=i.defaultTime,_=r.getNestedProperty,N=r.isNumber,S=r.pick,P=r.pInt;return{dateFormat:function(x,p,c){return C.dateFormat(x,p,c)},format:function(x,p,c){var h="{",s=!1,d=/f$/,y=/\.([0-9])/,v=b.lang,w=c&&c.time||C;c=c&&c.numberFormatter||u;for(var $=[];x;){var k=x.indexOf(h);if(k===-1)break;var A=x.slice(0,k);if(s){if(A=A.split(":"),h=_(A.shift()||"",p),A.length&&typeof h=="number")if(A=A.join(":"),d.test(A)){var g=parseInt((A.match(y)||["","-1"])[1],10);h!==null&&(h=c(h,g,v.decimalPoint,-1c){for(b(S,h),w=d=0;w<=c;)w+=S[d].size,d++;v=S.splice(d-1,S.length)}for(b(S,s),S=S.map(function($){return{size:$.size,targets:[$.target],align:u($.align,.5)}});y;){for(d=S.length;d--;)c=S[d],h=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=r(h-c.size*c.align,0,P-c.size);for(d=S.length,y=!1;d--;)0S[d].pos&&(S[d-1].size+=S[d].size,S[d-1].targets=S[d-1].targets.concat(S[d].targets),S[d-1].align=.5,S[d-1].pos+S[d-1].size>P&&(S[d-1].pos=P-S[d-1].size),S.splice(d,1),y=!0)}return p.push.apply(p,v),d=0,S.some(function($){var k=0;return($.targets||[]).some(function(){return p[d].pos=$.pos+k,typeof x<"u"&&Math.abs(p[d].pos-p[d].target)>x?(p.slice(0,d+1).forEach(function(A){return delete A.pos}),p.reducedLen=(p.reducedLen||P)-.1*P,p.reducedLen>.1*P&&N(p,P,x),!0):(k+=p[d].size,d++,!1)})}),b(p,s),p}_.distribute=N}(C||(C={})),C}),o(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(i,r,u,b){var C=i.animate,_=i.animObject,N=i.stop,S=u.deg2rad,P=u.doc,x=u.svg,p=u.SVG_NS,c=u.win,h=b.addEvent,s=b.attr,d=b.createElement,y=b.css,v=b.defined,w=b.erase,$=b.extend,k=b.fireEvent,A=b.isArray,g=b.isFunction,T=b.isString,a=b.merge,O=b.objectEach,m=b.pick,j=b.pInt,f=b.syncTimeout,M=b.uniqueKey;return i=function(){function I(){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 I.prototype._defaultGetter=function(E){return E=m(this[E+"Value"],this[E],this.element?this.element.getAttribute(E):null,0),/^[\-0-9\.]+$/.test(E)&&(E=parseFloat(E)),E},I.prototype._defaultSetter=function(E,B,U){U.setAttribute(B,E)},I.prototype.add=function(E){var B=this.renderer,U=this.element;if(E&&(this.parentGroup=E),typeof this.textStr<"u"&&this.element.nodeName==="text"&&B.buildText(this),this.added=!0,!E||E.handleZ||this.zIndex)var q=this.zIndexSetter();return q||(E?E.element:B.box).appendChild(U),this.onAdd&&this.onAdd(),this},I.prototype.addClass=function(E,B){var U=B?"":this.attr("class")||"";return E=(E||"").split(/ /g).reduce(function(q,D){return U.indexOf(D)===-1&&q.push(D),q},U?[U]:[]).join(" "),E!==U&&this.attr("class",E),this},I.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},I.prototype.align=function(E,B,U){var q={},D=this.renderer,l=D.alignedObjects,L,H,G;E?(this.alignOptions=E,this.alignByTranslate=B,(!U||T(U))&&(this.alignTo=L=U||"renderer",w(l,this),l.push(this),U=void 0)):(E=this.alignOptions,B=this.alignByTranslate,L=this.alignTo),U=m(U,D[L],L==="scrollablePlotBox"?D.plotBox:void 0,D),L=E.align;var W=E.verticalAlign;return D=(U.x||0)+(E.x||0),l=(U.y||0)+(E.y||0),L==="right"?H=1:L==="center"&&(H=2),H&&(D+=(U.width-(E.width||0))/H),q[B?"translateX":"x"]=Math.round(D),W==="bottom"?G=1:W==="middle"&&(G=2),G&&(l+=(U.height-(E.height||0))/G),q[B?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](q),this.placed=!0,this.alignAttr=q,this},I.prototype.alignSetter=function(E){var B={left:"start",center:"middle",right:"end"};B[E]&&(this.alignValue=E,this.element.setAttribute("text-anchor",B[E]))},I.prototype.animate=function(E,B,U){var q=this,D=_(m(B,this.renderer.globalAnimation,!0));return B=D.defer,m(P.hidden,P.msHidden,P.webkitHidden,!1)&&(D.duration=0),D.duration!==0?(U&&(D.complete=U),f(function(){q.element&&C(q,E,D)},B)):(this.attr(E,void 0,U||D.complete),O(E,function(l,L){D.step&&D.step.call(this,l,{prop:L,pos:1,elem:this})},this)),this},I.prototype.applyTextOutline=function(E){var B=this.element;E.indexOf("contrast")!==-1&&(E=E.replace(/contrast/g,this.renderer.getContrast(B.style.fill)));var U=E.split(" ");if(E=U[U.length-1],(U=U[0])&&U!=="none"&&u.svg){this.fakeTS=!0,U=U.replace(/(^[\d\.]+)(.*?)$/g,function(l,L,H){return 2*Number(L)+H}),this.removeTextOutline();var q=P.createElementNS(p,"tspan");s(q,{class:"highcharts-text-outline",fill:E,stroke:E,"stroke-width":U,"stroke-linejoin":"round"}),E=B.querySelector("textPath")||B,[].forEach.call(E.childNodes,function(l){var L=l.cloneNode(!0);L.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(H){return L.removeAttribute(H)}),q.appendChild(L)});var D=0;[].forEach.call(E.querySelectorAll("text tspan"),function(l){D+=Number(l.getAttribute("dy"))}),U=P.createElementNS(p,"tspan"),U.textContent="​",s(U,{x:Number(B.getAttribute("x")),dy:-D}),q.appendChild(U),E.insertBefore(q,E.firstChild)}},I.prototype.attr=function(E,B,U,q){var D=this.element,l=this.symbolCustomAttribs,L,H=this,G,W;if(typeof E=="string"&&typeof B<"u"){var R=E;E={},E[R]=B}return typeof E=="string"?H=(this[E+"Getter"]||this._defaultGetter).call(this,E,D):(O(E,function(F,z){G=!1,q||N(this,z),this.symbolName&&l.indexOf(z)!==-1&&(L||(this.symbolAttr(E),L=!0),G=!0),!this.rotation||z!=="x"&&z!=="y"||(this.doTransform=!0),G||(W=this[z+"Setter"]||this._defaultSetter,W.call(this,F,z,D),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(z)&&this.updateShadows(z,F,W))},this),this.afterSetters()),U&&U.call(this),H},I.prototype.clip=function(E){return this.attr("clip-path",E?"url("+this.renderer.url+"#"+E.id+")":"none")},I.prototype.crisp=function(E,B){B=B||E.strokeWidth||0;var U=Math.round(B)%2/2;return E.x=Math.floor(E.x||this.x||0)+U,E.y=Math.floor(E.y||this.y||0)+U,E.width=Math.floor((E.width||this.width||0)-2*U),E.height=Math.floor((E.height||this.height||0)-2*U),v(E.strokeWidth)&&(E.strokeWidth=B),E},I.prototype.complexColor=function(E,B,U){var q=this.renderer,D,l,L,H,G,W,R,F,z,K,V=[],X;k(this.renderer,"complexColor",{args:arguments},function(){if(E.radialGradient?l="radialGradient":E.linearGradient&&(l="linearGradient"),l){if(L=E[l],G=q.gradients,W=E.stops,z=U.radialReference,A(L)&&(E[l]=L={x1:L[0],y1:L[1],x2:L[2],y2:L[3],gradientUnits:"userSpaceOnUse"}),l==="radialGradient"&&z&&!v(L.gradientUnits)&&(H=L,L=a(L,q.getRadialAttr(z,H),{gradientUnits:"userSpaceOnUse"})),O(L,function(Z,et){et!=="id"&&V.push(et,Z)}),O(W,function(Z){V.push(Z)}),V=V.join(","),G[V])K=G[V].attr("id");else{L.id=K=M();var Y=G[V]=q.createElement(l).attr(L).add(q.defs);Y.radAttr=H,Y.stops=[],W.forEach(function(Z){Z[1].indexOf("rgba")===0?(D=r.parse(Z[1]),R=D.get("rgb"),F=D.get("a")):(R=Z[1],F=1),Z=q.createElement("stop").attr({offset:Z[0],"stop-color":R,"stop-opacity":F}).add(Y),Y.stops.push(Z)})}X="url("+q.url+"#"+K+")",U.setAttribute(B,X),U.gradient=V,E.toString=function(){return X}}})},I.prototype.css=function(E){var B=this.styles,U={},q=this.element,D=!B;if(E.color&&(E.fill=E.color),B&&O(E,function(H,G){B&&B[G]!==H&&(U[G]=H,D=!0)}),D){if(B&&(E=$(B,U)),E.width===null||E.width==="auto")delete this.textWidth;else if(q.nodeName.toLowerCase()==="text"&&E.width)var l=this.textWidth=j(E.width);this.styles=E,l&&!x&&this.renderer.forExport&&delete E.width;var L=a(E);q.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(H){return L&&delete L[H]}),y(q,L),this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),E.textOutline&&this.applyTextOutline(E.textOutline))}return this},I.prototype.dashstyleSetter=function(E){var B=this["stroke-width"];if(B==="inherit"&&(B=1),E=E&&E.toLowerCase()){var U=E.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(E=U.length;E--;)U[E]=""+j(U[E])*m(B,NaN);E=U.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",E)}},I.prototype.destroy=function(){var E=this,B=E.element||{},U=E.renderer,q=B.ownerSVGElement,D=U.isSVG&&B.nodeName==="SPAN"&&E.parentGroup||void 0;if(B.onclick=B.onmouseout=B.onmouseover=B.onmousemove=B.point=null,N(E),E.clipPath&&q){var l=E.clipPath;[].forEach.call(q.querySelectorAll("[clip-path],[CLIP-PATH]"),function(L){-1F.width)&&(F={x:0,y:0,width:0,height:0})}else F=this.htmlGetBBox();if(D.isSVG&&(D=F.width,E=F.height,W&&(F.height=E={"11px,17":14,"13px,20":16}[""+(R||"")+",".concat(Math.round(E))]||E),B)){W=Number(q.getAttribute("y")||0)-F.y,U={right:1,center:.5}[U||0]||0,l=B*S,R=(B-90)*S;var V=D*Math.cos(l);B=D*Math.sin(l),K=Math.cos(R),l=Math.sin(R),D=F.x+U*(D-V)+W*K,R=D+V,K=R-E*K,V=K-V,W=F.y+W-U*B+W*l,U=W+B,E=U-E*l,B=E-B,F.x=Math.min(D,R,K,V),F.y=Math.min(W,U,E,B),F.width=Math.max(D,R,K,V)-F.x,F.height=Math.max(W,U,E,B)-F.y}if(z&&(L===""||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},I.prototype.toFront=function(){var E=this.element;return E.parentNode.appendChild(E),this},I.prototype.translate=function(E,B){return this.attr({translateX:E,translateY:B})},I.prototype.updateShadows=function(E,B,U){var q=this.shadows;if(q)for(var D=q.length;D--;)U.call(q[D],E==="height"?Math.max(B-(q[D].cutHeight||0),0):E==="d"?this.d:B,E,q[D])},I.prototype.updateTransform=function(){var E=this.element,B=this.matrix,U=this.rotation;U=U===void 0?0:U;var q=this.scaleX,D=this.scaleY,l=this.translateX,L=this.translateY;l=["translate("+(l===void 0?0:l)+","+(L===void 0?0:L)+")"],v(B)&&l.push("matrix("+B.join(",")+")"),U&&l.push("rotate("+U+" "+m(this.rotationOriginX,E.getAttribute("x"),0)+" "+m(this.rotationOriginY,E.getAttribute("y")||0)+")"),(v(q)||v(D))&&l.push("scale("+m(q,1)+" "+m(D,1)+")"),l.length&&!(this.text||this).textPath&&E.setAttribute("transform",l.join(" "))},I.prototype.visibilitySetter=function(E,B,U){E==="inherit"?U.removeAttribute(B):this[B]!==E&&U.setAttribute(B,E),this[B]=E},I.prototype.xGetter=function(E){return this.element.nodeName==="circle"&&(E==="x"?E="cx":E==="y"&&(E="cy")),this._defaultGetter(E)},I.prototype.zIndexSetter=function(E,B){var U=this.renderer,q=this.parentGroup,D=(q||U).element||U.box,l=this.element;U=D===U.box;var L=!1,H=this.added,G;if(v(E)?(l.setAttribute("data-z-index",E),E=+E,this[B]===E&&(H=!1)):v(this[B])&&l.removeAttribute("data-z-index"),this[B]=E,H){for((E=this.zIndex)&&q&&(q.handleZ=!0),B=D.childNodes,G=B.length-1;0<=G&&!L;G--){q=B[G],H=q.getAttribute("data-z-index");var W=!v(H);q!==l&&(0>E&&W&&!U&&!G?(D.insertBefore(l,B[G]),L=!0):(j(H)<=E||W&&(!v(E)||0<=E))&&(D.insertBefore(l,B[G+1]||null),L=!0))}L||(D.insertBefore(l,B[U?3:0]||null),L=!0)}return L},I}(),i.prototype.strokeSetter=i.prototype.fillSetter,i.prototype.yGetter=i.prototype.xGetter,i.prototype.matrixSetter=i.prototype.rotationOriginXSetter=i.prototype.rotationOriginYSetter=i.prototype.rotationSetter=i.prototype.scaleXSetter=i.prototype.scaleYSetter=i.prototype.translateXSetter=i.prototype.translateYSetter=i.prototype.verticalAlignSetter=function(I,E){this[E]=I,this.doTransform=!0},i}),o(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],function(i){var r;return function(u){u.rendererTypes={};var b;u.getRendererType=function(C){return C===void 0&&(C=b),u.rendererTypes[C]||u.rendererTypes[b]},u.registerRendererType=function(C,_,N){u.rendererTypes[C]=_,(!b||N)&&(b=C,i.Renderer=_)}}(r||(r={})),r}),o(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(i,r){var u=this&&this.__extends||function(){var x=function(p,c){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,s){h.__proto__=s}||function(h,s){for(var d in s)s.hasOwnProperty(d)&&(h[d]=s[d])},x(p,c)};return function(p,c){function h(){this.constructor=p}x(p,c),p.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),b=r.defined,C=r.extend,_=r.isNumber,N=r.merge,S=r.pick,P=r.removeEvent;return function(x){function p(c,h,s,d,y,v,w,$,k,A){var g=x.call(this)||this;g.paddingLeftSetter=g.paddingSetter,g.paddingRightSetter=g.paddingSetter,g.init(c,"g"),g.textStr=h,g.x=s,g.y=d,g.anchorX=v,g.anchorY=w,g.baseline=k,g.className=A,g.addClass(A==="button"?"highcharts-no-tooltip":"highcharts-label"),A&&g.addClass("highcharts-"+A),g.text=c.text(void 0,0,0,$).attr({zIndex:1});var T;return typeof y=="string"&&((T=/^url\((.*?)\)$/.test(y))||g.renderer.symbols[y])&&(g.symbolKey=y),g.bBox=p.emptyBBox,g.padding=3,g.baselineOffset=0,g.needsBox=c.styledMode||T,g.deferredAttr={},g.alignFactor=0,g}return u(p,x),p.prototype.alignSetter=function(c){c={left:0,center:.5,right:1}[c],c!==this.alignFactor&&(this.alignFactor=c,this.bBox&&_(this.xSetting)&&this.attr({x:this.xSetting}))},p.prototype.anchorXSetter=function(c,h){this.anchorX=c,this.boxAttr(h,Math.round(c)-this.getCrispAdjust()-this.xSetting)},p.prototype.anchorYSetter=function(c,h){this.anchorY=c,this.boxAttr(h,c-this.ySetting)},p.prototype.boxAttr=function(c,h){this.box?this.box.attr(c,h):this.deferredAttr[c]=h},p.prototype.css=function(c){if(c){var h={};c=N(c),p.textProps.forEach(function(s){typeof c[s]<"u"&&(h[s]=c[s],delete c[s])}),this.text.css(h),"fontSize"in h||"fontWeight"in h?this.updateTextPadding():("width"in h||"textOverflow"in h)&&this.updateBoxSize()}return i.prototype.css.call(this,c)},p.prototype.destroy=function(){P(this.element,"mouseenter"),P(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),i.prototype.destroy.call(this)},p.prototype.fillSetter=function(c,h){c&&(this.needsBox=!0),this.fill=c,this.boxAttr(h,c)},p.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var c=this.padding,h=S(this.paddingLeft,c);return{width:this.width,height:this.height,x:this.bBox.x-h,y:this.bBox.y-c}},p.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},p.prototype.heightSetter=function(c){this.heightSetting=c},p.prototype.onAdd=function(){this.text.add(this),this.attr({text:S(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&b(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},p.prototype.paddingSetter=function(c,h){_(c)?c!==this[h]&&(this[h]=c,this.updateTextPadding()):this[h]=void 0},p.prototype.rSetter=function(c,h){this.boxAttr(h,c)},p.prototype.shadow=function(c){return c&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(c)),this},p.prototype.strokeSetter=function(c,h){this.stroke=c,this.boxAttr(h,c)},p.prototype["stroke-widthSetter"]=function(c,h){c&&(this.needsBox=!0),this["stroke-width"]=c,this.boxAttr(h,c)},p.prototype["text-alignSetter"]=function(c){this.textAlign=c},p.prototype.textSetter=function(c){typeof c<"u"&&this.text.attr({text:c}),this.updateTextPadding()},p.prototype.updateBoxSize=function(){var c=this.text,h=c.element.style,s={},d=this.padding,y=this.bBox=_(this.widthSetting)&&_(this.heightSetting)&&!this.textAlign||!b(c.textStr)?p.emptyBBox:c.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||y.height||0)+2*d,h=this.renderer.fontMetrics(h&&h.fontSize,c),this.baselineOffset=d+Math.min((this.text.firstLineMetrics||h).b,y.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-h.h)/2),this.needsBox&&!c.textPath&&(this.box||(c=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),c.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),c.add(this)),c=this.getCrispAdjust(),s.x=c,s.y=(this.baseline?-this.baselineOffset:0)+c,s.width=Math.round(this.width),s.height=Math.round(this.height),this.box.attr(C(s,this.deferredAttr)),this.deferredAttr={})},p.prototype.updateTextPadding=function(){var c=this.text;if(!c.textPath){this.updateBoxSize();var h=this.baseline?0:this.baselineOffset,s=S(this.paddingLeft,this.padding);b(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(s+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s!==c.x||h!==c.y)&&(c.attr("x",s),c.hasBoxWidthChanged&&(this.bBox=c.getBBox(!0)),typeof h<"u"&&c.attr("y",h)),c.x=s,c.y=h}},p.prototype.widthSetter=function(c){this.widthSetting=_(c)?c:void 0},p.prototype.getPaddedWidth=function(){var c=this.padding,h=S(this.paddingLeft,c);return c=S(this.paddingRight,c),(this.widthSetting||this.bBox.width||0)+h+c},p.prototype.xSetter=function(c){this.x=c,this.alignFactor&&(c-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(c),this.attr("translateX",this.xSetting)},p.prototype.ySetter=function(c){this.ySetting=this.y=Math.round(c),this.attr("translateY",this.ySetting)},p.emptyBBox={width:0,height:0,x:0,y:0},p.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),p}(i)}),o(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],function(i){function r(S,P,x,p,c){var h=[];if(c){var s=c.start||0,d=N(c.r,x);x=N(c.r,p||x);var y=(c.end||0)-.001;p=c.innerR;var v=N(c.open,.001>Math.abs((c.end||0)-s-2*Math.PI)),w=Math.cos(s),$=Math.sin(s),k=Math.cos(y),A=Math.sin(y);s=N(c.longArc,.001>y-s-Math.PI?0:1),h.push(["M",S+d*w,P+x*$],["A",d,x,0,s,N(c.clockwise,1),S+d*k,P+x*A]),C(p)&&h.push(v?["M",S+p*k,P+p*A]:["L",S+p*k,P+p*A],["A",p,p,0,s,C(c.clockwise)?1-c.clockwise:0,S+p*w,P+p*$]),v||h.push(["Z"])}return h}function u(S,P,x,p,c){return c&&c.r?b(S,P,x,p,c):[["M",S,P],["L",S+x,P],["L",S+x,P+p],["L",S,P+p],["Z"]]}function b(S,P,x,p,c){return c=c&&c.r||0,[["M",S+c,P],["L",S+x-c,P],["C",S+x,P,S+x,P,S+x,P+c],["L",S+x,P+p-c],["C",S+x,P+p,S+x,P+p,S+x-c,P+p],["L",S+c,P+p],["C",S,P+p,S,P+p,S,P+p-c],["L",S,P+c],["C",S,P,S,P,S+c,P]]}var C=i.defined,_=i.isNumber,N=i.pick;return{arc:r,callout:function(S,P,x,p,c){var h=Math.min(c&&c.r||0,x,p),s=h+6,d=c&&c.anchorX;c=c&&c.anchorY||0;var y=b(S,P,x,p,{r:h});return _(d)&&(S+d>=x?c>P+s&&c=S+d?c>P+s&&cp&&d>S+s&&dc&&d>S+s&&d/g,A=[v,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(A!==s.textCache){for(s.textCache=A,delete s.actualWidth,A=$.length;A--;)d.removeChild($[A]);w||this.ellipsis||this.width||s.textPath||v.indexOf(" ")!==-1&&(!this.noWrap||k.test(v))?v!==""&&(y&&y.appendChild(d),v=new i(v),this.modifyTree(v.nodes),v.addToDOM(d),this.modifyDOM(),this.ellipsis&&(d.textContent||"").indexOf("…")!==-1&&s.attr("title",this.unescapeEntities(s.textStr||"",["<",">"])),y&&y.removeChild(d)):d.appendChild(b.createTextNode(this.unescapeEntities(v))),x(this.textOutline)&&s.applyTextOutline&&s.applyTextOutline(this.textOutline)}},h.prototype.modifyDOM=function(){var s=this,d=this.svgElement,y=N(d.element,"x");d.firstLineMetrics=void 0;for(var v;(v=d.element.firstChild)&&/^[\s\u200B]*$/.test(v.textContent||" ");)d.element.removeChild(v);[].forEach.call(d.element.querySelectorAll("tspan.highcharts-br"),function(A,g){A.nextSibling&&A.previousSibling&&(g===0&&A.previousSibling.nodeType===1&&(d.firstLineMetrics=d.renderer.fontMetrics(void 0,A.previousSibling)),N(A,{dy:s.getLineHeight(A.nextSibling),x:y}))});var w=this.width||0;if(w){var $=function(A,g){var T=A.textContent||"",a=T.replace(/([^\^])-/g,"$1- ").split(" "),O=!s.noWrap&&(1"u")if(B.getSubStringLength)try{T[E]=v+B.getSubStringLength(0,y?E+1:E)}catch{}else A.getSpanWidth&&(s.textContent=$(d||y,I),T[E]=v+A.getSpanWidth(k,s));return T[E]};k.rotation=0;var M=f(s.textContent.length);if(v+M>w){for(;a<=O;)m=Math.ceil((a+O)/2),y&&(j=$(y,m)),M=f(m,j&&j.length-1),a===O?a=O+1:M>w?O=m-1:a=m;O===0?s.textContent="":d&&O===d.length-1||(s.textContent=j||$(d||y,m))}y&&y.splice(0,m),k.actualWidth=M,k.rotation=g},h.prototype.unescapeEntities=function(s,d){return p(this.renderer.escapes,function(y,v){d&&d.indexOf(y)!==-1||(s=s.toString().replace(new RegExp(y,"g"),v))}),s},h}()}),o(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(i,r,u,b,C,_,N,S,P){var x=u.charts,p=u.deg2rad,c=u.doc,h=u.isFirefox,s=u.isMS,d=u.isWebKit,y=u.noop,v=u.SVG_NS,w=u.symbolSizes,$=u.win,k=P.addEvent,A=P.attr,g=P.createElement,T=P.css,a=P.defined,O=P.destroyObjectProperties,m=P.extend,j=P.isArray,f=P.isNumber,M=P.isObject,I=P.isString,E=P.merge,B=P.pick,U=P.pInt,q=P.uniqueKey,D;return u=function(){function l(L,H,G,W,R,F,z){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(L,H,G,W,R,F,z)}return l.prototype.init=function(L,H,G,W,R,F,z){var K=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),V=K.element;z||K.css(this.getStyle(W)),L.appendChild(V),A(L,"dir","ltr"),L.innerHTML.indexOf("xmlns")===-1&&A(V,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=V,this.boxWrapper=K,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(c.createTextNode("Created with Highcharts 10.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=F,this.forExport=R,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(H,G,!1);var X;h&&L.getBoundingClientRect&&(H=function(){T(L,{left:0,top:0}),X=L.getBoundingClientRect(),T(L,{left:Math.ceil(X.left)-X.left+"px",top:Math.ceil(X.top)-X.top+"px"})},H(),this.unSubPixelFix=k($,"resize",H))},l.prototype.definition=function(L){return new i([L]).addToDOM(this.defs.element)},l.prototype.getReferenceURL=function(){if((h||d)&&c.getElementsByTagName("base").length){if(!a(D)){var L=q();L=new i([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:L},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(L,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(c.body),T(L,{position:"fixed",top:0,left:0,zIndex:9e5});var H=c.elementFromPoint(6,6);D=(H&&H.id)==="hitme",c.body.removeChild(L)}if(D)return $.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},l.prototype.getStyle=function(L){return this.style=m({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},L)},l.prototype.setStyle=function(L){this.boxWrapper.css(this.getStyle(L))},l.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},l.prototype.destroy=function(){var L=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),O(this.gradients||{}),this.gradients=null,L&&(this.defs=L.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},l.prototype.createElement=function(L){var H=new this.Element;return H.init(this,L),H},l.prototype.getRadialAttr=function(L,H){return{cx:L[0]-L[2]/2+(H.cx||0)*L[2],cy:L[1]-L[2]/2+(H.cy||0)*L[2],r:(H.r||0)*L[2]}},l.prototype.buildText=function(L){new S(L).buildSVG()},l.prototype.getContrast=function(L){return L=r.parse(L).rgba.map(function(H){return H/=255,.03928>=H?H/12.92:Math.pow((H+.055)/1.055,2.4)}),L=.2126*L[0]+.7152*L[1]+.0722*L[2],1.05/(L+.05)>(L+.05)/.05?"#FFFFFF":"#000000"},l.prototype.button=function(L,H,G,W,R,F,z,K,V,X){R===void 0&&(R={});var Y=this.label(L,H,G,V,void 0,void 0,X,void 0,"button"),Z=this.styledMode;L=R.states||{};var et=0;R=E(R),delete R.states;var nt=E({color:"#333333",cursor:"pointer",fontWeight:"normal"},R.style);delete R.style;var at=i.filterUserAttributes(R);if(Y.attr(E({padding:8,r:2},at)),!Z){at=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},at),F=E(at,{fill:"#e6e6e6"},i.filterUserAttributes(F||L.hover||{}));var ct=F.style;delete F.style,z=E(at,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},i.filterUserAttributes(z||L.select||{}));var dt=z.style;delete z.style,K=E(at,{style:{color:"#cccccc"}},i.filterUserAttributes(K||L.disabled||{}));var ut=K.style;delete K.style}return k(Y.element,s?"mouseover":"mouseenter",function(){et!==3&&Y.setState(1)}),k(Y.element,s?"mouseout":"mouseleave",function(){et!==3&&Y.setState(et)}),Y.setState=function(st){st!==1&&(Y.state=et=st),Y.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][st||0]),Z||(Y.attr([at,F,z,K][st||0]),st=[nt,ct,dt,ut][st||0],M(st)&&Y.css(st))},Z||(Y.attr(at).css(m({cursor:"default"},nt)),X&&Y.text.css({pointerEvents:"none"})),Y.on("touchstart",function(st){return st.stopPropagation()}).on("click",function(st){et!==3&&W.call(Y,st)})},l.prototype.crispLine=function(L,H,G){G===void 0&&(G="round");var W=L[0],R=L[1];return a(W[1])&&W[1]===R[1]&&(W[1]=R[1]=Math[G](W[1])-H%2/2),a(W[2])&&W[2]===R[2]&&(W[2]=R[2]=Math[G](W[2])+H%2/2),L},l.prototype.path=function(L){var H=this.styledMode?{}:{fill:"none"};return j(L)?H.d=L:M(L)&&m(H,L),this.createElement("path").attr(H)},l.prototype.circle=function(L,H,G){return L=M(L)?L:typeof L>"u"?{}:{x:L,y:H,r:G},H=this.createElement("circle"),H.xSetter=H.ySetter=function(W,R,F){F.setAttribute("c"+R,W)},H.attr(L)},l.prototype.arc=function(L,H,G,W,R,F){return M(L)?(W=L,H=W.y,G=W.r,L=W.x):W={innerR:W,start:R,end:F},L=this.symbol("arc",L,H,G,G,W),L.r=G,L},l.prototype.rect=function(L,H,G,W,R,F){R=M(L)?L.r:R;var z=this.createElement("rect");return L=M(L)?L:typeof L>"u"?{}:{x:L,y:H,width:Math.max(G,0),height:Math.max(W,0)},this.styledMode||(typeof F<"u"&&(L["stroke-width"]=F,L=z.crisp(L)),L.fill="none"),R&&(L.r=R),z.rSetter=function(K,V,X){z.r=K,A(X,{rx:K,ry:K})},z.rGetter=function(){return z.r||0},z.attr(L)},l.prototype.setSize=function(L,H,G){this.width=L,this.height=H,this.boxWrapper.animate({width:L,height:H},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:B(G,!0)?void 0:0}),this.alignElements()},l.prototype.g=function(L){var H=this.createElement("g");return L?H.attr({class:"highcharts-"+L}):H},l.prototype.image=function(L,H,G,W,R,F){var z={preserveAspectRatio:"none"},K=function(X,Y){X.setAttributeNS?X.setAttributeNS("http://www.w3.org/1999/xlink","href",Y):X.setAttribute("hc-svg-href",Y)};f(H)&&(z.x=H),f(G)&&(z.y=G),f(W)&&(z.width=W),f(R)&&(z.height=R);var V=this.createElement("image").attr(z);return H=function(X){K(V.element,L),F.call(V,X)},F?(K(V.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),G=new $.Image,k(G,"load",H),G.src=L,G.complete&&H({})):K(V.element,L),V},l.prototype.symbol=function(L,H,G,W,R,F){var z=this,K=/^url\((.*?)\)$/,V=K.test(L),X=!V&&(this.symbols[L]?L:"circle"),Y=X&&this.symbols[X],Z;if(Y){typeof H=="number"&&(Z=Y.call(this.symbols,Math.round(H||0),Math.round(G||0),W||0,R||0,F));var et=this.path(Z);z.styledMode||et.attr("fill","none"),m(et,{symbolName:X||void 0,x:H,y:G,width:W,height:R}),F&&m(et,F)}else if(V){var nt=L.match(K)[1],at=et=this.image(nt);at.imgwidth=B(w[nt]&&w[nt].width,F&&F.width),at.imgheight=B(w[nt]&&w[nt].height,F&&F.height);var ct=function(dt){return dt.attr({width:dt.width,height:dt.height})};["width","height"].forEach(function(dt){at[dt+"Setter"]=function(ut,st){this[st]=ut,ut=this.alignByTranslate;var J=this.element,Q=this.width,ot=this.height,lt=this.imgwidth,ht=this.imgheight,pt=this["img"+st];if(a(pt)){var mt=1;F&&F.backgroundSize==="within"&&Q&&ot?(mt=Math.min(Q/lt,ot/ht),pt=Math.round(pt*mt),A(J,{width:Math.round(lt*mt),height:Math.round(ht*mt)})):J&&J.setAttribute(st,pt),ut||this.translate(((Q||0)-pt*mt)/2,((ot||0)-pt*mt)/2)}}}),a(H)&&at.attr({x:H,y:G}),at.isImg=!0,a(at.imgwidth)&&a(at.imgheight)?ct(at):(at.attr({width:0,height:0}),g("img",{onload:function(){var dt=x[z.chartIndex];this.width===0&&(T(this,{position:"absolute",top:"-999em"}),c.body.appendChild(this)),w[nt]={width:this.width,height:this.height},at.imgwidth=this.width,at.imgheight=this.height,at.element&&ct(at),this.parentNode&&this.parentNode.removeChild(this),z.imgCount--,!z.imgCount&&dt&&!dt.hasLoaded&&dt.onload()},src:nt}),this.imgCount++)}return et},l.prototype.clipRect=function(L,H,G,W){var R=q()+"-",F=this.createElement("clipPath").attr({id:R}).add(this.defs);return L=this.rect(L,H,G,W,0).add(F),L.id=R,L.clipPath=F,L.count=0,L},l.prototype.text=function(L,H,G,W){var R={};return W&&(this.allowHTML||!this.forExport)?this.html(L,H,G):(R.x=Math.round(H||0),G&&(R.y=Math.round(G)),a(L)&&(R.text=L),L=this.createElement("text").attr(R),(!W||this.forExport&&!this.allowHTML)&&(L.xSetter=function(F,z,K){for(var V=K.getElementsByTagName("tspan"),X=K.getAttribute(z),Y=0,Z;YL?L+3:Math.round(1.2*L),{h:H,b:Math.round(.8*H),f:L}},l.prototype.rotCorr=function(L,H,G){var W=L;return H&&G&&(W=Math.max(W*Math.cos(H*p),4)),{x:-L/3*Math.sin(H*p),y:W}},l.prototype.pathToSegments=function(L){for(var H=[],G=[],W={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},R=0;R":">","'":"'",'"':"""},symbols:N,draw:y}),b.registerRendererType("svg",u,!0),u}),o(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(i,r,u){var b=this&&this.__extends||function(){var s=function(d,y){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var $ in w)w.hasOwnProperty($)&&(v[$]=w[$])},s(d,y)};return function(d,y){function v(){this.constructor=d}s(d,y),d.prototype=y===null?Object.create(y):(v.prototype=y.prototype,new v)}}(),C=i.isFirefox,_=i.isMS,N=i.isWebKit,S=i.win,P=u.css,x=u.defined,p=u.extend,c=u.pick,h=u.pInt;return function(s){function d(){return s!==null&&s.apply(this,arguments)||this}return b(d,s),d.compose=function(y){if(d.composedClasses.indexOf(y)===-1){d.composedClasses.push(y);var v=d.prototype,w=y.prototype;w.getSpanCorrection=v.getSpanCorrection,w.htmlCss=v.htmlCss,w.htmlGetBBox=v.htmlGetBBox,w.htmlUpdateTransform=v.htmlUpdateTransform,w.setSpanRotation=v.setSpanRotation}return y},d.prototype.getSpanCorrection=function(y,v,w){this.xCorr=-y*w,this.yCorr=-v},d.prototype.htmlCss=function(y){var v=this.element.tagName==="SPAN"&&y&&"width"in y,w=c(v&&y.width,void 0);if(v){delete y.width,this.textWidth=w;var $=!0}return y&&y.textOverflow==="ellipsis"&&(y.whiteSpace="nowrap",y.overflow="hidden"),this.styles=p(this.styles,y),P(this.element,y),$&&this.htmlUpdateTransform(),this},d.prototype.htmlGetBBox=function(){var y=this.element;return{x:y.offsetLeft,y:y.offsetTop,width:y.offsetWidth,height:y.offsetHeight}},d.prototype.htmlUpdateTransform=function(){if(this.added){var y=this.renderer,v=this.element,w=this.translateX||0,$=this.translateY||0,k=this.x||0,A=this.y||0,g=this.textAlign||"left",T={left:0,center:.5,right:1}[g],a=this.styles;if(a=a&&a.whiteSpace,P(v,{marginLeft:w,marginTop:$}),!y.styledMode&&this.shadows&&this.shadows.forEach(function(I){P(I,{marginLeft:w+1,marginTop:$+1})}),this.inverted&&[].forEach.call(v.childNodes,function(I){y.invertChild(I,v)}),v.tagName==="SPAN"){var O=this.rotation,m=this.textWidth&&h(this.textWidth),j=[O,g,v.innerHTML,this.textWidth,this.textAlign].join(),f=void 0;if(f=!1,m!==this.oldTextWidth){if(this.textPxLength)var M=this.textPxLength;else P(v,{width:"",whiteSpace:a||"nowrap"}),M=v.offsetWidth;(m>this.oldTextWidth||M>m)&&(/[ \-]/.test(v.textContent||v.innerText)||v.style.textOverflow==="ellipsis")&&(P(v,{width:M>m||O?m+"px":"auto",display:"block",whiteSpace:a||"normal"}),this.oldTextWidth=m,f=!0)}this.hasBoxWidthChanged=f,j!==this.cTT&&(f=y.fontMetrics(v.style.fontSize,v).b,!x(O)||O===(this.oldRotation||0)&&g===this.oldAlign||this.setSpanRotation(O,T,f),this.getSpanCorrection(!x(O)&&this.textPxLength||v.offsetWidth,f,T,O,g)),P(v,{left:k+(this.xCorr||0)+"px",top:A+(this.yCorr||0)+"px"}),this.cTT=j,this.oldRotation=O,this.oldAlign=g}}else this.alignOnAdd=!0},d.prototype.setSpanRotation=function(y,v,w){var $={},k=_&&!/Edge/.test(S.navigator.userAgent)?"-ms-transform":N?"-webkit-transform":C?"MozTransform":S.opera?"-o-transform":void 0;k&&($[k]=$.transform="rotate("+y+"deg)",$[k+(C?"Origin":"-origin")]=$.transformOrigin=100*v+"% "+w+"px",P(this.element,$))},d.composedClasses=[],d}(r)}),o(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(i,r,u,b){var C=this&&this.__extends||function(){var x=function(p,c){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,s){h.__proto__=s}||function(h,s){for(var d in s)s.hasOwnProperty(d)&&(h[d]=s[d])},x(p,c)};return function(p,c){function h(){this.constructor=p}x(p,c),p.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),_=b.attr,N=b.createElement,S=b.extend,P=b.pick;return function(x){function p(){return x!==null&&x.apply(this,arguments)||this}return C(p,x),p.compose=function(c){return p.composedClasses.indexOf(c)===-1&&(p.composedClasses.push(c),c.prototype.html=p.prototype.html),c},p.prototype.html=function(c,h,s){var d=this.createElement("span"),y=d.element,v=d.renderer,w=v.isSVG,$=function(k,A){["opacity","visibility"].forEach(function(g){k[g+"Setter"]=function(T,a,O){var m=k.div?k.div.style:A;r.prototype[g+"Setter"].call(this,T,a,O),m&&(m[a]=T)}}),k.addedSetters=!0};return d.textSetter=function(k){k!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,i.setElementHTML(this.element,P(k,"")),this.textStr=k,d.doTransform=!0)},w&&$(d,d.element.style),d.xSetter=d.ySetter=d.alignSetter=d.rotationSetter=function(k,A){A==="align"?d.alignValue=d.textAlign=k:d[A]=k,d.doTransform=!0},d.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},d.attr({text:c,x:Math.round(h),y:Math.round(s)}).css({position:"absolute"}),v.styledMode||d.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),y.style.whiteSpace="nowrap",d.css=d.htmlCss,w&&(d.add=function(k){var A=v.box.parentNode,g=[];if(this.parentGroup=k){var T=k.div;if(!T){for(;k;)g.push(k),k=k.parentGroup;g.reverse().forEach(function(a){function O(M,I){a[I]=M,I==="translateX"?f.left=M+"px":f.top=M+"px",a.doTransform=!0}var m=_(a.element,"class"),j=a.styles||{};T=a.div=a.div||N("div",m?{className:m}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:j.cursor,pointerEvents:j.pointerEvents,visibility:a.visibility},T||A);var f=T.style;S(a,{classSetter:function(M){return function(I){this.element.setAttribute("class",I),M.className=I}}(T),on:function(){return g[0].div&&d.on.apply({element:g[0].div,onEvents:a.onEvents},arguments),a},translateXSetter:O,translateYSetter:O}),a.addedSetters||$(a)})}}else T=A;return T.appendChild(y),d.added=!0,d.alignOnAdd&&d.htmlUpdateTransform(),d}),d},p.composedClasses=[],p}(u)}),o(n,"Core/Axis/AxisDefaults.js",[],function(){var i;return function(r){r.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"},r.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(){var u=this.axis.chart.numberFormatter;return u(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},r.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},r.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},r.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},r.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(i||(i={})),i}),o(n,"Core/Foundation.js",[n["Core/Utilities.js"]],function(i){var r=i.addEvent,u=i.isFunction,b=i.objectEach,C=i.removeEvent,_;return function(N){N.registerEventOptions=function(S,P){S.eventOptions=S.eventOptions||{},b(P.events,function(x,p){S.eventOptions[p]!==x&&(S.eventOptions[p]&&(C(S,p,S.eventOptions[p]),delete S.eventOptions[p]),u(x)&&(S.eventOptions[p]=x,r(S,p,x)))})}}(_||(_={})),_}),o(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(i,r,u){var b=r.deg2rad,C=u.clamp,_=u.correctFloat,N=u.defined,S=u.destroyObjectProperties,P=u.extend,x=u.fireEvent,p=u.isNumber,c=u.merge,h=u.objectEach,s=u.pick;return r=function(){function d(y,v,w,$,k){this.isNewLabel=this.isNew=!0,this.axis=y,this.pos=v,this.type=w||"",this.parameters=k||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,x(this,"init"),w||$||this.addLabel()}return d.prototype.addLabel=function(){var y=this,v=y.axis,w=v.options,$=v.chart,k=v.categories,A=v.logarithmic,g=v.names,T=y.pos,a=s(y.options&&y.options.labels,w.labels),O=v.tickPositions,m=T===O[0],j=T===O[O.length-1],f=(!a.step||a.step===1)&&v.tickInterval===1;O=O.info;var M=y.label,I;if(k=this.parameters.category||(k?s(k[T],g[T],T):T),A&&p(k)&&(k=_(A.lin2log(k))),v.dateTime)if(O)var E=$.time.resolveDTLFormat(w.dateTimeLabelFormats[!w.grid&&O.higherRanks[T]||O.unitName]),B=E.main;else p(k)&&(B=v.dateTime.getXDateFormat(k,w.dateTimeLabelFormats||{}));y.isFirst=m,y.isLast=j;var U={axis:v,chart:$,dateTimeLabelFormat:B,isFirst:m,isLast:j,pos:T,tick:y,tickPositionInfo:O,value:k};x(this,"labelFormat",U);var q=function(l){return a.formatter?a.formatter.call(l,l):a.format?(l.text=v.defaultLabelFormatter.call(l,l),i.format(a.format,l,$)):v.defaultLabelFormatter.call(l,l)};w=q.call(U,U);var D=E&&E.list;y.shortenLabel=D?function(){for(I=0;Ia&&$-O*mA&&(E=Math.round((k-$)/Math.cos(a*b))):(k=$+(1-O)*m,$-O*mA&&(M=A-y.x+M*O,I=-1),M=Math.min(j,M),MM||v.autoRotation&&(T.styles||{}).width)&&(E=M)),E&&(this.shortenLabel?this.shortenLabel():(f.width=Math.floor(E)+"px",(w.style||{}).textOverflow||(f.textOverflow="ellipsis"),T.css(f)))},d.prototype.moveLabel=function(y,v){var w=this,$=w.label,k=w.axis,A=k.reversed,g=!1;if($&&$.textStr===y?(w.movedLabel=$,g=!0,delete w.label):h(k.ticks,function(a){g||a.isNew||a===w||!a.label||a.label.textStr!==y||(w.movedLabel=a.label,g=!0,a.labelPos=w.movedLabel.xy,delete a.label)}),!g&&(w.labelPos||$)){var T=w.labelPos||$.xy;$=k.horiz?A?0:k.width+k.left:T.x,k=k.horiz?T.y:A?k.width+k.left:0,w.movedLabel=w.createLabel({x:$,y:k},y,v),w.movedLabel&&w.movedLabel.attr({opacity:0})}},d.prototype.render=function(y,v,w){var $=this.axis,k=$.horiz,A=this.pos,g=s(this.tickmarkOffset,$.tickmarkOffset);A=this.getPosition(k,A,g,v),g=A.x;var T=A.y;$=k&&g===$.pos+$.len||!k&&T===$.pos?-1:1,k=s(w,this.label&&this.label.newOpacity,1),w=s(w,1),this.isActive=!0,this.renderGridLine(v,w,$),this.renderMark(A,w,$),this.renderLabel(A,v,k,y),this.isNew=!1,x(this,"afterRender")},d.prototype.renderGridLine=function(y,v,w){var $=this.axis,k=$.options,A={},g=this.pos,T=this.type,a=s(this.tickmarkOffset,$.tickmarkOffset),O=$.chart.renderer,m=this.gridLine,j=k.gridLineWidth,f=k.gridLineColor,M=k.gridLineDashStyle;this.type==="minor"&&(j=k.minorGridLineWidth,f=k.minorGridLineColor,M=k.minorGridLineDashStyle),m||($.chart.styledMode||(A.stroke=f,A["stroke-width"]=j||0,A.dashstyle=M),T||(A.zIndex=1),y&&(v=0),this.gridLine=m=O.path().attr(A).addClass("highcharts-"+(T?T+"-":"")+"grid-line").add($.gridGroup)),m&&(w=$.getPlotLinePath({value:g+a,lineWidth:m.strokeWidth()*w,force:"pass",old:y,acrossPanes:!1}))&&m[y||this.isNew?"attr":"animate"]({d:w,opacity:v})},d.prototype.renderMark=function(y,v,w){var $=this.axis,k=$.options,A=$.chart.renderer,g=this.type,T=$.tickSize(g?g+"Tick":"tick"),a=y.x;y=y.y;var O=s(k[g!=="minor"?"tickWidth":"minorTickWidth"],!g&&$.isXAxis?1:0);k=k[g!=="minor"?"tickColor":"minorTickColor"];var m=this.mark,j=!m;T&&($.opposite&&(T[0]=-T[0]),m||(this.mark=m=A.path().addClass("highcharts-"+(g?g+"-":"")+"tick").add($.axisGroup),$.chart.styledMode||m.attr({stroke:k,"stroke-width":O})),m[j?"attr":"animate"]({d:this.getMarkPath(a,y,T[0],m.strokeWidth()*w,$.horiz,A),opacity:v}))},d.prototype.renderLabel=function(y,v,w,$){var k=this.axis,A=k.horiz,g=k.options,T=this.label,a=g.labels,O=a.step;k=s(this.tickmarkOffset,k.tickmarkOffset);var m=y.x;y=y.y;var j=!0;T&&p(m)&&(T.xy=y=this.getLabelPosition(m,y,T,A,a,k,$,O),this.isFirst&&!this.isLast&&!g.showFirstLabel||this.isLast&&!this.isFirst&&!g.showLastLabel?j=!1:!A||a.step||a.rotation||v||w===0||this.handleOverflow(y),O&&$%O&&(j=!1),j&&p(y.y)?(y.opacity=w,T[this.isNewLabel?"attr":"animate"](y).show(!0),this.isNewLabel=!1):(T.hide(),this.isNewLabel=!0))},d.prototype.replaceMovedLabel=function(){var y=this.label,v=this.axis,w=v.reversed;if(y&&!this.isNew){var $=v.horiz?w?v.left:v.width+v.left:y.xy.x;w=v.horiz?y.xy.y:w?v.width+v.top:v.top,y.animate({x:$,y:w,opacity:0},void 0,y.destroy),delete this.label}v.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},d}(),r}),o(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],function(i,r,u,b,C,_,N,S){var P=i.animObject,x=b.defaultOptions,p=C.registerEventOptions,c=_.deg2rad,h=S.arrayMax,s=S.arrayMin,d=S.clamp,y=S.correctFloat,v=S.defined,w=S.destroyObjectProperties,$=S.erase,k=S.error,A=S.extend,g=S.fireEvent,T=S.isArray,a=S.isNumber,O=S.isString,m=S.merge,j=S.normalizeTickInterval,f=S.objectEach,M=S.pick,I=S.relativeLength,E=S.removeEvent,B=S.splat,U=S.syncTimeout,q=function(D,l){return j(l,void 0,void 0,M(D.options.allowDecimals,.5>l||D.tickAmount!==void 0),!!D.tickAmount)};return i=function(){function D(l,L){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.bottom=this.alternateBands=void 0,this.init(l,L)}return D.prototype.init=function(l,L){var H=L.isX;this.chart=l,this.horiz=l.inverted&&!this.isZAxis?!H:H,this.isXAxis=H,this.coll=this.coll||(H?"xAxis":"yAxis"),g(this,"init",{userOptions:L}),this.opposite=M(L.opposite,this.opposite),this.side=M(L.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(L);var G=this.options,W=G.labels,R=G.type;this.userOptions=L,this.minPixelPadding=0,this.reversed=M(G.reversed,this.reversed),this.visible=G.visible,this.zoomEnabled=G.zoomEnabled,this.hasNames=R==="category"||G.categories===!0,this.categories=G.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(G.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=G.minRange||G.maxZoom,this.range=G.range,this.offset=G.offset||0,this.min=this.max=null,L=M(G.crosshair,B(l.options.tooltip.crosshairs)[H?0:1]),this.crosshair=L===!0?{}:L,l.axes.indexOf(this)===-1&&(H?l.axes.splice(l.xAxis.length,0,this):l.axes.push(this),l[this.coll].push(this)),this.series=this.series||[],l.inverted&&!this.isZAxis&&H&&typeof this.reversed>"u"&&(this.reversed=!0),this.labelRotation=a(W.rotation)?W.rotation:void 0,p(this,G),g(this,"afterInit")},D.prototype.setOptions=function(l){this.options=m(r.defaultXAxisOptions,this.coll==="yAxis"&&r.defaultYAxisOptions,[r.defaultTopAxisOptions,r.defaultRightAxisOptions,r.defaultBottomAxisOptions,r.defaultLeftAxisOptions][this.side],m(x[this.coll],l)),g(this,"afterSetOptions",{userOptions:l})},D.prototype.defaultLabelFormatter=function(l){var L=this.axis;l=this.chart.numberFormatter;var H=a(this.value)?this.value:NaN,G=L.chart.time,W=this.dateTimeLabelFormat,R=x.lang,F=R.numericSymbols;R=R.numericSymbolMagnitude||1e3;var z=L.logarithmic?Math.abs(H):L.tickInterval,K=F&&F.length;if(L.categories)var V="".concat(this.value);else if(W)V=G.dateFormat(W,H);else if(K&&1e3<=z)for(;K--&&typeof V>"u";)L=Math.pow(R,K+1),z>=L&&10*H%L===0&&F[K]!==null&&H!==0&&(V=l(H/L,-1)+F[K]);return typeof V>"u"&&(V=1e4<=Math.abs(H)?l(H,-1):l(H,-1,void 0,"")),V},D.prototype.getSeriesExtremes=function(){var l=this,L=l.chart,H;g(this,"getSeriesExtremes",null,function(){l.hasVisibleSeries=!1,l.dataMin=l.dataMax=l.threshold=null,l.softThreshold=!l.isXAxis,l.series.forEach(function(G){if(G.visible||!L.options.chart.ignoreHiddenSeries){var W=G.options,R=W.threshold;if(l.hasVisibleSeries=!0,l.positiveValuesOnly&&0>=R&&(R=null),l.isXAxis){if(W=G.xData,W.length){W=l.logarithmic?W.filter(l.validatePositiveValue):W,H=G.getXExtremes(W);var F=H.min,z=H.max;a(F)||F instanceof Date||(W=W.filter(a),H=G.getXExtremes(W),F=H.min,z=H.max),W.length&&(l.dataMin=Math.min(M(l.dataMin,F),F),l.dataMax=Math.max(M(l.dataMax,z),z))}}else G=G.applyExtremes(),a(G.dataMin)&&(F=G.dataMin,l.dataMin=Math.min(M(l.dataMin,F),F)),a(G.dataMax)&&(z=G.dataMax,l.dataMax=Math.max(M(l.dataMax,z),z)),v(R)&&(l.threshold=R),(!W.softThreshold||l.positiveValuesOnly)&&(l.softThreshold=!1)}})}),g(this,"afterGetSeriesExtremes")},D.prototype.translate=function(l,L,H,G,W,R){var F=this.linkedParent||this,z=G&&F.old?F.old.min:F.min;if(!a(z))return NaN;var K=F.minPixelPadding;W=(F.isOrdinal||F.brokenAxis&&F.brokenAxis.hasBreaks||F.logarithmic&&W)&&F.lin2val;var V=1,X=0;return G=G&&F.old?F.old.transA:F.transA,G||(G=F.transA),H&&(V*=-1,X=F.len),F.reversed&&(V*=-1,X-=V*(F.sector||F.len)),L?(R=(l*V+X-K)/G+z,W&&(R=F.lin2val(R))):(W&&(l=F.val2lin(l)),l=V*(l-z)*G,R=(F.isRadial?l:y(l))+X+V*K+(a(R)?G*R:0)),R},D.prototype.toPixels=function(l,L){return this.translate(l,!1,!this.horiz,void 0,!0)+(L?0:this.pos)},D.prototype.toValue=function(l,L){return this.translate(l-(L?0:this.pos),!0,!this.horiz,void 0,!0)},D.prototype.getPlotLinePath=function(l){function L(st,J,Q){return et!=="pass"&&(stQ)&&(et?st=d(st,J,Q):ut=!0),st}var H=this,G=H.chart,W=H.left,R=H.top,F=l.old,z=l.value,K=l.lineWidth,V=F&&G.oldChartHeight||G.chartHeight,X=F&&G.oldChartWidth||G.chartWidth,Y=H.transB,Z=l.translatedValue,et=l.force,nt,at,ct,dt,ut;return l={value:z,lineWidth:K,old:F,force:et,acrossPanes:l.acrossPanes,translatedValue:Z},g(this,"getPlotLinePath",l,function(st){Z=M(Z,H.translate(z,void 0,void 0,F)),Z=d(Z,-1e5,1e5),nt=ct=Math.round(Z+Y),at=dt=Math.round(V-Z-Y),a(Z)?H.horiz?(at=R,dt=V-H.bottom,nt=ct=L(nt,W,W+H.width)):(nt=W,ct=X-H.right,at=dt=L(at,R,R+H.height)):(ut=!0,et=!1),st.path=ut&&!et?null:G.renderer.crispLine([["M",nt,at],["L",ct,dt]],K||1)}),l.path},D.prototype.getLinearTickPositions=function(l,L,H){var G=y(Math.floor(L/l)*l);H=y(Math.ceil(H/l)*l);var W=[],R;if(y(G+l)===G&&(R=20),this.single)return[L];for(L=G;L<=H&&(W.push(L),L=y(L+l,R),L!==F);)var F=L;return W},D.prototype.getMinorTickInterval=function(){var l=this.options;return l.minorTicks===!0?M(l.minorTickInterval,"auto"):l.minorTicks===!1?null:l.minorTickInterval},D.prototype.getMinorTickPositions=function(){var l=this.options,L=this.tickPositions,H=this.minorTickInterval,G=this.pointRangePadding||0,W=this.min-G;G=this.max+G;var R=G-W,F=[];if(R&&R/H"u"&&!L&&(v(l.min)||v(l.max)||v(l.floor)||v(l.ceiling)?this.minRange=null:(this.series.forEach(function(Z){if(z=Z.xData,K=Z.xIncrement?1:z.length-1,1=this.minRange,X=this.minRange,Y=(X-G+H)/2;Y=[H-Y,M(l.min,H-Y)],V&&(Y[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),H=h(Y),G=[H+X,M(l.max,H+X)],V&&(G[2]=L?L.log2lin(this.dataMax):this.dataMax),G=s(G),G-H=Z)at=Z,X=0;else if(this.dataMax<=Z){var ct=Z;V=0}}this.min=M(et,at,this.dataMin),this.max=M(nt,ct,this.dataMax)}if(H&&(this.positiveValuesOnly&&!l&&0>=Math.min(this.min,M(this.dataMin,this.min))&&k(10,1,L),this.min=y(H.log2lin(this.min),16),this.max=y(H.log2lin(this.max),16)),this.range&&v(this.max)&&(this.userMin=this.min=et=Math.max(this.dataMin,this.minFromRange()),this.userMax=nt=this.max,this.range=null),g(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(z||this.axisPointRange||this.stacking&&this.stacking.usePercentage||R)&&v(this.min)&&v(this.max)&&(L=this.max-this.min)&&(!v(et)&&X&&(this.min-=L*X),!v(nt)&&V&&(this.max+=L*V)),a(this.userMin)||(a(G.softMin)&&G.softMinthis.max&&(this.max=nt=G.softMax),a(G.ceiling)&&(this.max=Math.min(this.max,G.ceiling))),K&&v(this.dataMin)&&(Z=Z||0,!v(et)&&this.min=Z?this.min=this.options.minRange?Math.min(Z,this.max-this.minRange):Z:!v(nt)&&this.max>Z&&this.dataMax<=Z&&(this.max=this.options.minRange?Math.max(Z,this.min+this.minRange):Z)),a(this.min)&&a(this.max)&&!this.chart.polar&&this.min>this.max&&(v(this.options.min)?this.max=this.min:v(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||typeof this.min>"u"||typeof this.max>"u"?1:R&&this.linkedParent&&!Y&&F===this.linkedParent.options.tickPixelInterval?Y=this.linkedParent.tickInterval:M(Y,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,z?1:(this.max-this.min)*F/Math.max(this.len,F)),W&&!l){var dt=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(ut){ut.forceCrop=ut.forceCropping&&ut.forceCropping(),ut.processData(dt)}),g(this,"postProcessData",{hasExtremesChanged:dt})}this.setAxisTranslation(),g(this,"initialAxisTranslation"),this.pointRange&&!Y&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),l=M(G.minTickInterval,this.dateTime&&!this.series.some(function(ut){return ut.noSharedTooltip})?this.closestPointRange:0),!Y&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)R=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,l.units),this.min,this.max,l.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)R=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(G=l=this.tickInterval;G<=2*l&&(R=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&R.length>this.tickAmount);)this.tickInterval=q(this,G*=1.1);else R=[this.min,this.max],k(19,!1,this.chart);R.length>this.len&&(R=[R[0],R[R.length-1]],R[0]===R[1]&&(R.length=1)),H&&(this.tickPositions=R,(z=H.apply(this,[this.min,this.max]))&&(R=z))}this.tickPositions=R,this.paddedTicks=R.slice(0),this.trimTicks(R,F,W),!this.isLinked&&a(this.min)&&a(this.max)&&(this.single&&2>R.length&&!this.categories&&!this.series.some(function(K){return K.is("heatmap")&&K.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),L||z||this.adjustTickAmount()),g(this,"afterSetTickPositions")},D.prototype.trimTicks=function(l,L,H){var G=l[0],W=l[l.length-1],R=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(L&&G!==-1/0)this.min=G;else for(;this.min-R>l[0];)l.shift();if(H)this.max=W;else for(;this.max+RH&&(this.finalTickAmt=H,H=5),this.tickAmount=H},D.prototype.adjustTickAmount=function(){var l=this,L=l.finalTickAmt,H=l.max,G=l.min,W=l.options,R=l.tickPositions,F=l.tickAmount,z=l.thresholdAlignment,K=R&&R.length,V=M(l.threshold,l.softThreshold?0:null),X=l.tickInterval;if(a(z)){var Y=.5>z?Math.ceil(z*(F-1)):Math.floor(z*(F-1));W.reversed&&(Y=F-1-Y)}if(l.hasData()&&a(G)&&a(H)){if(z=function(){l.transA*=(K-1)/(F-1),l.min=W.startOnTick?R[0]:Math.min(G,R[0]),l.max=W.endOnTick?R[R.length-1]:Math.max(H,R[R.length-1])},a(Y)&&a(l.threshold)){for(;R[Y]!==V||R.length!==F||R[0]>G||R[R.length-1]l.threshold?R.unshift(y(R[0]-X)):R.push(y(R[R.length-1]+X));if(X>8*l.tickInterval)break;X*=2}z()}else if(K=L&&0z&&(V=z)),v(W)&&(Xz&&(X=z))),H.displayBtn=typeof V<"u"||typeof X<"u",H.setExtremes(V,X,!1,void 0,{trigger:"zoom"})),K.zoomed=!0}),l.zoomed},D.prototype.setAxisSize=function(){var l=this.chart,L=this.options,H=L.offsets||[0,0,0,0],G=this.horiz,W=this.width=Math.round(I(M(L.width,l.plotWidth-H[3]+H[1]),l.plotWidth)),R=this.height=Math.round(I(M(L.height,l.plotHeight-H[0]+H[2]),l.plotHeight)),F=this.top=Math.round(I(M(L.top,l.plotTop+H[0]),l.plotHeight,l.plotTop));L=this.left=Math.round(I(M(L.left,l.plotLeft+H[3]),l.plotWidth,l.plotLeft)),this.bottom=l.chartHeight-R-F,this.right=l.chartWidth-W-L,this.len=Math.max(G?W:R,0),this.pos=G?L:F},D.prototype.getExtremes=function(){var l=this.logarithmic;return{min:l?y(l.lin2log(this.min)):this.min,max:l?y(l.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},D.prototype.getThreshold=function(l){var L=this.logarithmic,H=L?L.lin2log(this.min):this.min;return L=L?L.lin2log(this.max):this.max,l===null||l===-1/0?l=H:l===1/0?l=L:H>l?l=H:LL?H.align="right":195L&&(H.align="left")}),l.align},D.prototype.tickSize=function(l){var L=this.options,H=M(L[l==="tick"?"tickWidth":"minorTickWidth"],l==="tick"&&this.isXAxis&&!this.categories?1:0),G=L[l==="tick"?"tickLength":"minorTickLength"];if(H&&G){L[l+"Position"]==="inside"&&(G=-G);var W=[G,H]}return l={tickSize:W},g(this,"afterTickSize",l),l.tickSize},D.prototype.labelMetrics=function(){var l=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[l]&&this.ticks[l].label)},D.prototype.unsquish=function(){var l=this.options.labels,L=this.horiz,H=this.tickInterval,G=this.len/(((this.categories?1:0)+this.max-this.min)/H),W=l.rotation,R=this.labelMetrics(),F=Math.max(this.max-this.min,0),z=function(ct){var dt=ct/(G||1);return dt=1F&&ct!==1/0&&G!==1/0&&F&&(dt=Math.ceil(F/H)),y(dt*H)},K=H,V=Number.MAX_VALUE;if(L){if(!l.staggerLines)if(a(W))var X=[W];else G=nt)&&(L=z(Math.abs(R.h/Math.sin(c*nt))),Y=L+Math.abs(nt/360),YG.step)return G.rotation?0:(this.staggerLines||1)*this.len/W;if(!H){if(l=G.style.width,l!==void 0)return parseInt(String(l),10);if(R)return R-L.spacing[3]}return .33*L.chartWidth},D.prototype.renderUnsquish=function(){var l=this.chart,L=l.renderer,H=this.tickPositions,G=this.ticks,W=this.options.labels,R=W.style,F=this.horiz,z=this.getSlotWidth(),K=Math.max(1,Math.round(z-2*W.padding)),V={},X=this.labelMetrics(),Y=R.textOverflow,Z=0;if(O(W.rotation)||(V.rotation=W.rotation||0),H.forEach(function(ct){ct=G[ct],ct.movedLabel&&ct.replaceMovedLabel(),ct&&ct.label&&ct.label.textPxLength>Z&&(Z=ct.label.textPxLength)}),this.maxLabelLength=Z,this.autoRotation)Z>K&&Z>X.h?V.rotation=this.labelRotation:this.labelRotation=0;else if(z){var et=K;if(!Y){var nt="clip";for(K=H.length;!F&&K--;){var at=H[K];(at=G[at].label)&&(at.styles&&at.styles.textOverflow==="ellipsis"?at.css({textOverflow:"clip"}):at.textPxLength>z&&at.css({width:z+"px"}),at.getBBox().height>this.len/H.length-(X.h-X.f)&&(at.specificTextOverflow="ellipsis"))}}}V.rotation&&(et=Z>.5*l.chartHeight?.33*l.chartHeight:Z,Y||(nt="ellipsis")),(this.labelAlign=W.align||this.autoLabelAlign(this.labelRotation))&&(V.align=this.labelAlign),H.forEach(function(ct){var dt=(ct=G[ct])&&ct.label,ut=R.width,st={};dt&&(dt.attr(V),ct.shortenLabel?ct.shortenLabel():et&&!ut&&R.whiteSpace!=="nowrap"&&(et=this.min&&l<=this.max||this.grid&&this.grid.isColumn)&&(G[l]||(G[l]=new N(this,l)),H&&G[l].isNew&&G[l].render(L,!0,-1),G[l].render(L))},D.prototype.render=function(){var l=this,L=l.chart,H=l.logarithmic,G=l.options,W=l.isLinked,R=l.tickPositions,F=l.axisTitle,z=l.ticks,K=l.minorTicks,V=l.alternateBands,X=G.stackLabels,Y=G.alternateGridColor,Z=l.tickmarkOffset,et=l.axisLine,nt=l.showAxis,at=P(L.renderer.globalAnimation),ct,dt;if(l.labelEdge.length=0,l.overlap=!1,[z,K,V].forEach(function(st){f(st,function(J){J.isActive=!1})}),l.hasData()||W){var ut=l.chart.hasRendered&&l.old&&a(l.old.min);l.minorTickInterval&&!l.categories&&l.getMinorTickPositions().forEach(function(st){l.renderMinorTick(st,ut)}),R.length&&(R.forEach(function(st,J){l.renderTick(st,J,ut)}),Z&&(l.min===0||l.single)&&(z[-1]||(z[-1]=new N(l,-1,null,!0)),z[-1].render(-1))),Y&&R.forEach(function(st,J){dt=typeof R[J+1]<"u"?R[J+1]+Z:l.max-Z,J%2===0&&sth&&(!d||w<=s)&&typeof w<"u"&&$.push(w),w>s&&(g=!0),w=a}}}else h=this.lin2log(h),s=this.lin2log(s),c=d?y.getMinorTickInterval():w.tickInterval,c=b(c==="auto"?null:c,this.minorAutoInterval,w.tickPixelInterval/(d?5:1)*(s-h)/((d?v/y.tickPositions.length:v)||1)),c=u(c),$=y.getLinearTickPositions(c,h,s).map(this.log2lin),d||(this.minorAutoInterval=c/5);return d||(y.tickInterval=c),$},p.prototype.lin2log=function(c){return Math.pow(10,c)},p.prototype.log2lin=function(c){return Math.log(c)/Math.LN10},p}();_.Additions=x}(C||(C={})),C}),o(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],function(i){var r=i.erase,u=i.extend,b=i.isNumber,C;return function(_){var N=[],S;_.compose=function(x,p){return S||(S=x),N.indexOf(p)===-1&&(N.push(p),u(p.prototype,P.prototype)),p};var P=function(){function x(){}return x.prototype.getPlotBandPath=function(p,c,h){h===void 0&&(h=this.options);var s=this.getPlotLinePath({value:c,force:!0,acrossPanes:h.acrossPanes}),d=[],y=this.horiz;if(c=!b(this.min)||!b(this.max)||pthis.max&&c>this.max,p=this.getPlotLinePath({value:p,force:!0,acrossPanes:h.acrossPanes}),h=1,p&&s){if(c){var v=p.toString()===s.toString();h=0}for(c=0;c"u"&&(T=O.normalize(T)),g=[T.chartX-a,T.chartY-j];else if(g[0].tooltipPos)g=g[0].tooltipPos;else{var f=0,M=0;g.forEach(function(I){(I=I.pos(!0))&&(f+=I[0],M+=I[1])}),f/=g.length,M/=g.length,this.shared&&1dt-f?dt:dt-f);else if(ct)j[F]=Math.max(Y,X+f+K>z?X:X+f);else return!1},G=function(F,z,K,V,X){var Y;return Xz-m?Y=!1:j[F]=Xz-V/2?z-V-2:X-K/2,Y},W=function(F){var z=q;q=D,D=z,l=F},R=function(){H.apply(0,q)!==!1?G.apply(0,D)!==!1||l||(W(!0),R()):l?j.x=j.y=0:(W(!0),R())};return(O.inverted||1dt})&&(g=g.map(function(ct){var dt=a(ct.anchorX,ct.anchorY,ct.point.isHeader,ct.boxWidth,!1);return c(ct,{target:dt.y,x:dt.x})})),O.cleanSplit(),S(g,et);var nt=X,at=X;g.forEach(function(ct){var dt=ct.x,ut=ct.boxWidth;ct=ct.isHeader,ct||(O.outside&&X+dtat&&(at=X+dt))}),g.forEach(function(ct){var dt=ct.x,ut=ct.anchorX,st=ct.pos,J=ct.point.isHeader;if(st={visibility:typeof st>"u"?"hidden":"inherit",x:dt,y:(st||0)+Y,anchorX:ut,anchorY:ct.anchorY},O.outside&&dta[0]?Math.max(Math.abs(a[0]),m.width-a[0]):Math.max(Math.abs(a[0]),m.width),O.height=0>a[1]?Math.max(Math.abs(a[1]),m.height-Math.abs(a[1])):Math.max(Math.abs(a[1]),m.height),this.tracker?this.tracker.attr(O):(this.tracker=T.renderer.rect(O).addClass("highcharts-tracker").add(T),g.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},A.prototype.styledModeFormat=function(g){return g.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')},A.prototype.tooltipFooterHeaderFormatter=function(g,T){var a=g.series,O=a.tooltipOptions,m=a.xAxis,j=m&&m.dateTime;m={isFooter:T,labelConfig:g};var f=O.xDateFormat,M=O[T?"footerFormat":"headerFormat"];return h(this,"headerFormatter",m,function(I){j&&!f&&d(g.key)&&(f=j.getXDateFormat(g.key,O.dateTimeLabelFormats)),j&&f&&(g.point&&g.point.tooltipDateKeys||["key"]).forEach(function(E){M=M.replace("{point."+E+"}","{point."+E+":"+f+"}")}),a.chart.styledMode&&(M=this.styledModeFormat(M)),I.text=_(M,{point:g,series:a},this.chart)}),m.text},A.prototype.update=function(g){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,g),this.init(this.chart,v(!0,this.options,g))},A.prototype.updatePosition=function(g){var T=this.chart,a=this.distance,O=this.options,m=T.pointer,j=this.getLabel(),f=m.getChartPosition();m=f.left;var M=f.top,I=f.scaleX;f=f.scaleY;var E=(O.positioner||this.getPosition).call(this,j.width,j.height,g),B=(g.plotX||0)+T.plotLeft;g=(g.plotY||0)+T.plotTop,this.outside&&(O.positioner&&(E.x+=m-a,E.y+=M-a),a=O.borderWidth+2*a,this.renderer.setSize(j.width+a,j.height+a,!1),(I!==1||f!==1)&&(x(this.container,{transform:"scale(".concat(I,", ").concat(f,")")}),B*=I,g*=f),B+=m-E.x,g+=M-E.y),this.move(Math.round(E.x),Math.round(E.y||0),B,g)},A}(),i}),o(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],function(i,r,u,b,C){var _=r.animObject,N=u.defaultOptions,S=b.format,P=C.addEvent,x=C.defined,p=C.erase,c=C.extend,h=C.fireEvent,s=C.getNestedProperty,d=C.isArray,y=C.isFunction,v=C.isNumber,w=C.isObject,$=C.merge,k=C.objectEach,A=C.pick,g=C.syncTimeout,T=C.removeEvent,a=C.uniqueKey;return r=function(){function O(){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.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return O.prototype.animateBeforeDestroy=function(){var m=this,j={x:m.startXPos,opacity:0},f=m.getGraphicalProps();f.singular.forEach(function(M){m[M]=m[M].animate(M==="dataLabel"?{x:m[M].startXPos,y:m[M].startYPos,opacity:0}:j)}),f.plural.forEach(function(M){m[M].forEach(function(I){I.element&&I.animate(c({x:m.startXPos},I.startYPos?{x:I.startXPos,y:I.startYPos}:{}))})})},O.prototype.applyOptions=function(m,j){var f=this.series,M=f.options.pointValKey||f.pointValKey;return m=O.prototype.optionsToObject.call(this,m),c(this,m),this.options=this.options?c(this.options,m):m,m.group&&delete this.group,m.dataLabels&&delete this.dataLabels,M&&(this.y=O.prototype.getNestedProperty.call(this,M)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof j>"u"&&f.xAxis&&f.xAxis.hasNames&&(this.x=f.xAxis.nameToX(this)),typeof this.x>"u"&&f?this.x=typeof j>"u"?f.autoIncrement():j:v(m.x)&&f.options.relativeXValue&&(this.x=f.autoIncrement(m.x)),this},O.prototype.destroy=function(){function m(){(j.graphic||j.graphics||j.dataLabel||j.dataLabels)&&(T(j),j.destroyElements());for(B in j)j[B]=null}var j=this,f=j.series,M=f.chart;f=f.options.dataSorting;var I=M.hoverPoints,E=_(j.series.chart.renderer.globalAnimation),B;j.legendItem&&M.legend.destroyItem(j),I&&(j.setState(),p(I,j),I.length||(M.hoverPoints=null)),j===M.hoverPoint&&j.onMouseOut(),f&&f.enabled?(this.animateBeforeDestroy(),g(m,E.duration)):m(),M.pointCount--},O.prototype.destroyElements=function(m){var j=this;m=j.getGraphicalProps(m),m.singular.forEach(function(f){j[f]=j[f].destroy()}),m.plural.forEach(function(f){j[f].forEach(function(M){M&&M.element&&M.destroy()}),delete j[f]})},O.prototype.firePointEvent=function(m,j,f){var M=this,I=this.series.options;(I.point.events[m]||M.options&&M.options.events&&M.options.events[m])&&M.importEvents(),m==="click"&&I.allowPointSelect&&(f=function(E){M.select&&M.select(null,E.ctrlKey||E.metaKey||E.shiftKey)}),h(M,m,j,f)},O.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex<"u"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},O.prototype.getGraphicalProps=function(m){var j=this,f=[],M={singular:[],plural:[]},I;for(m=m||{graphic:1,dataLabel:1},m.graphic&&f.push("graphic","shadowGroup"),m.dataLabel&&f.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),I=f.length;I--;){var E=f[I];j[E]&&M.singular.push(E)}return["graphic","dataLabel","connector"].forEach(function(B){var U=B+"s";m[B]&&j[U]&&M.plural.push(U)}),M},O.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}},O.prototype.getNestedProperty=function(m){if(m)return m.indexOf("custom.")===0?s(m,this.options):this[m]},O.prototype.getZone=function(){var m=this.series,j=m.zones;m=m.zoneAxis||"y";var f,M=0;for(f=j[M];this[m]>=f.value;)f=j[++M];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=f&&f.color&&!this.options.color?f.color:this.nonZonedColor,f},O.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},O.prototype.init=function(m,j,f){return this.series=m,this.applyOptions(j,f),this.id=x(this.id)?this.id:a(),this.resolveColor(),m.chart.pointCount++,h(this,"afterInit"),this},O.prototype.isValid=function(){return this.x!==null&&v(this.y)},O.prototype.optionsToObject=function(m){var j=this.series,f=j.options.keys,M=f||j.pointArrayMap||["y"],I=M.length,E={},B=0,U=0;if(v(m)||m===null)E[M[0]]=m;else if(d(m))for(!f&&m.length>I&&(j=typeof m[0],j==="string"?E.name=m[0]:j==="number"&&(E.x=m[0]),B++);U"u"||(0O+j&&(U=O+j),qm+f&&(q=m+f),this.hasDragged=Math.sqrt(Math.pow(M-U,2)+Math.pow(I-q,2)),10m.options.findNearestPointBy.indexOf("y");if(m=m.searchPoint(a,j),(j=y(m,!0)&&m.series)&&!(j=!y(O,!0))){j=O.distX-m.distX;var f=O.dist-m.dist,M=(m.series.group&&m.series.group.zIndex)-(O.series.group&&O.series.group.zIndex);j=0<(j!==0&&T?j:f!==0?f:M!==0?M:O.series.index>m.series.index?-1:1)}j&&(O=m)}),O},A.prototype.getChartCoordinatesFromPoint=function(g,T){var a=g.series,O=a.xAxis;a=a.yAxis;var m=g.shapeArgs;if(O&&a){var j=$(g.clientX,g.plotX),f=g.plotY||0;return g.isNode&&m&&d(m.x)&&d(m.y)&&(j=m.x,f=m.y),T?{chartX:a.len+a.pos-f,chartY:O.len+O.pos-j}:{chartX:j+O.pos,chartY:f+a.pos}}if(m&&m.x&&m.y)return{chartX:m.x,chartY:m.y}},A.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var g=this.chart.container,T=w(g);this.chartPosition={left:T.left,top:T.top,scaleX:1,scaleY:1};var a=g.offsetWidth;return g=g.offsetHeight,2"u"||T)&&(this.zoomOption(g),T&&g.preventDefault&&g.preventDefault(),this.dragStart(g))},A.prototype.onContainerMouseLeave=function(g){var T=_[$(A.hoverChartIndex,-1)],a=this.chart.tooltip;g=this.normalize(g),T&&(g.relatedTarget||g.toElement)&&(T.pointer.reset(),T.pointer.chartPosition=void 0),a&&!a.isHidden&&this.reset()},A.prototype.onContainerMouseEnter=function(g){delete this.chartPosition},A.prototype.onContainerMouseMove=function(g){var T=this.chart,a=T.tooltip;g=this.normalize(g),this.setHoverChartIndex(),g.preventDefault||(g.returnValue=!1),(T.mouseIsDown==="mousedown"||this.touchSelect(g))&&this.drag(g),T.openMenu||!this.inClass(g.target,"highcharts-tracker")&&!T.isInsidePlot(g.chartX-T.plotLeft,g.chartY-T.plotTop,{visiblePlotOnly:!0})||a&&a.shouldStickOnContact(g)||(this.inClass(g.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(g))},A.prototype.onDocumentTouchEnd=function(g){var T=_[$(A.hoverChartIndex,-1)];T&&T.pointer.drop(g)},A.prototype.onContainerTouchMove=function(g){this.touchSelect(g)?this.onContainerMouseMove(g):this.touch(g)},A.prototype.onContainerTouchStart=function(g){this.touchSelect(g)?this.onContainerMouseDown(g):(this.zoomOption(g),this.touch(g,!0))},A.prototype.onDocumentMouseMove=function(g){var T=this.chart,a=T.tooltip,O=this.chartPosition;g=this.normalize(g,O),!O||T.isInsidePlot(g.chartX-T.plotLeft,g.chartY-T.plotTop,{visiblePlotOnly:!0})||a&&a.shouldStickOnContact(g)||this.inClass(g.target,"highcharts-tracker")||this.reset()},A.prototype.onDocumentMouseUp=function(g){var T=_[$(A.hoverChartIndex,-1)];T&&T.pointer.drop(g)},A.prototype.pinch=function(g){var T=this,a=T.chart,O=T.pinchDown,m=g.touches||[],j=m.length,f=T.lastValidTouch,M=T.hasZoom,I={},E=j===1&&(T.inClass(g.target,"highcharts-tracker")&&a.runTrackerClick||T.runChartClick),B={},U=T.chart.tooltip;U=j===1&&$(U&&U.options.followTouchMove,!0);var q=T.selectionMarker;1L.max&&(a=L.max-R,X=!0);X?(K-=.8*(K-f[E][0]),typeof V=="number"&&(V-=.8*(V-f[E][1])),T()):f[E]=[K,V],l||(j[E]=F-D,j[q]=R),j=l?1/z:z,m[q]=R,m[E]=a,O[l?g?"scaleY":"scaleX":"scale"+B]=z,O["translate"+B]=j*D+(K-j*G)},A.prototype.reset=function(g,T){var a=this.chart,O=a.hoverSeries,m=a.hoverPoint,j=a.hoverPoints,f=a.tooltip,M=f&&f.shared?j:m;g&&M&&k(M).forEach(function(I){I.series.isCartesian&&typeof I.plotX>"u"&&(g=!1)}),g?f&&M&&k(M).length&&(f.refresh(M),f.shared&&j?j.forEach(function(I){I.setState(I.state,!0),I.series.isCartesian&&(I.series.xAxis.crosshair&&I.series.xAxis.drawCrosshair(null,I),I.series.yAxis.crosshair&&I.series.yAxis.drawCrosshair(null,I))}):m&&(m.setState(m.state,!0),a.axes.forEach(function(I){I.crosshair&&m.series[I.coll]===I&&I.drawCrosshair(null,m)}))):(m&&m.onMouseOut(),j&&j.forEach(function(I){I.setState()}),O&&O.onMouseOut(),f&&f.hide(T),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),a.axes.forEach(function(I){I.hideCrosshair()}),this.hoverX=a.hoverPoints=a.hoverPoint=null)},A.prototype.runPointActions=function(g,T,a){var O=this.chart,m=O.tooltip&&O.tooltip.options.enabled?O.tooltip:void 0,j=m?m.shared:!1,f=T||O.hoverPoint,M=f&&f.series||O.hoverSeries;T=this.getHoverData(f,M,O.series,(!g||g.type!=="touchmove")&&(!!T||M&&M.directTouch&&this.isDirectTouch),j,g),f=T.hoverPoint,M=T.hoverSeries;var I=T.hoverPoints;T=M&&M.tooltipOptions.followPointer&&!M.tooltipOptions.split;var E=j&&M&&!M.noSharedTooltip;if(f&&(a||f!==O.hoverPoint||m&&m.isHidden)){if((O.hoverPoints||[]).forEach(function(B){I.indexOf(B)===-1&&B.setState()}),O.hoverSeries!==M&&M.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(B){B.setState("hover")}),O.hoverPoint&&O.hoverPoint.firePointEvent("mouseOut"),!f.series)return;O.hoverPoints=I,O.hoverPoint=f,f.firePointEvent("mouseOver",void 0,function(){m&&f&&m.refresh(E?I:f,g)})}else T&&m&&!m.isHidden&&(a=m.getAnchor([{}],g),O.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&m.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=S(O.container.ownerDocument,"mousemove",function(B){var U=_[A.hoverChartIndex];U&&U.pointer.onDocumentMouseMove(B)}),this.eventsToUnbind.push(this.unDocMouseMove)),O.axes.forEach(function(B){var U=$((B.crosshair||{}).snap,!0),q;U&&((q=O.hoverPoint)&&q.series[B.coll]===B||(q=h(I,function(D){return D.series&&D.series[B.coll]===B}))),q||!U?B.drawCrosshair(g,q):B.hideCrosshair()})},A.prototype.scaleGroups=function(g,T){var a=this.chart;a.series.forEach(function(O){var m=g||O.getPlotBox();O.group&&(O.xAxis&&O.xAxis.zoomEnabled||a.mapView)&&(O.group.attr(m),O.markerGroup&&(O.markerGroup.attr(m),O.markerGroup.clip(T?a.clipRect:null)),O.dataLabelsGroup&&O.dataLabelsGroup.attr(m))}),a.clipRect.attr(T||a.clipBox)},A.prototype.setDOMEvents=function(){var g=this,T=this.chart.container,a=T.ownerDocument;T.onmousedown=this.onContainerMouseDown.bind(this),T.onmousemove=this.onContainerMouseMove.bind(this),T.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(S(T,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(S(T,"mouseleave",this.onContainerMouseLeave.bind(this))),A.unbindDocumentMouseUp||(A.unbindDocumentMouseUp=S(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var O=this.chart.renderTo.parentElement;O&&O.tagName!=="BODY";)this.eventsToUnbind.push(S(O,"scroll",function(){delete g.chartPosition})),O=O.parentElement;r.hasTouch&&(this.eventsToUnbind.push(S(T,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(S(T,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),A.unbindDocumentTouchEnd||(A.unbindDocumentTouchEnd=S(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},A.prototype.setHoverChartIndex=function(){var g=this.chart,T=r.charts[$(A.hoverChartIndex,-1)];T&&T!==g&&T.pointer.onContainerMouseLeave({relatedTarget:g.container}),T&&T.mouseIsDown||(A.hoverChartIndex=g.index)},A.prototype.touch=function(g,T){var a=this.chart;if(this.setHoverChartIndex(),g.touches.length===1)if(g=this.normalize(g),a.isInsidePlot(g.chartX-a.plotLeft,g.chartY-a.plotTop,{visiblePlotOnly:!0})&&!a.openMenu){if(T&&this.runPointActions(g),g.type==="touchmove"){T=this.pinchDown;var O=T[0]?4<=Math.sqrt(Math.pow(T[0].chartX-g.chartX,2)+Math.pow(T[0].chartY-g.chartY,2)):!1}$(O,!0)&&this.pinch(g)}else T&&this.reset();else g.touches.length===2&&this.pinch(g)},A.prototype.touchSelect=function(g){return!(!this.chart.options.chart.zooming.singleTouch||!g.touches||g.touches.length!==1)},A.prototype.zoomOption=function(g){var T=this.chart,a=T.options.chart;T=T.inverted;var O=a.zooming.type||"";/touch/.test(g.type)&&(O=$(a.zooming.pinchType,O)),this.zoomX=g=/x/.test(O),this.zoomY=a=/y/.test(O),this.zoomHor=g&&!T||a&&T,this.zoomVert=a&&!T||g&&T,this.hasZoom=g||a},A}(),i}),o(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],function(i,r,u){function b(){var w=[];return w.item=function($){return this[$]},h(y,function($){w.push({pageX:$.pageX,pageY:$.pageY,target:$.target})}),w}function C(w,$,k,A){var g=N[r.hoverChartIndex||NaN];w.pointerType!=="touch"&&w.pointerType!==w.MSPOINTER_TYPE_TOUCH||!g||(g=g.pointer,A(w),g[$]({type:k,target:w.currentTarget,preventDefault:P,touches:b()}))}var _=this&&this.__extends||function(){var w=function($,k){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,g){A.__proto__=g}||function(A,g){for(var T in g)g.hasOwnProperty(T)&&(A[T]=g[T])},w($,k)};return function($,k){function A(){this.constructor=$}w($,k),$.prototype=k===null?Object.create(k):(A.prototype=k.prototype,new A)}}(),N=i.charts,S=i.doc,P=i.noop,x=i.win,p=u.addEvent,c=u.css,h=u.objectEach,s=u.pick,d=u.removeEvent,y={},v=!!x.PointerEvent;return function(w){function $(){return w!==null&&w.apply(this,arguments)||this}return _($,w),$.isRequired=function(){return!(i.hasTouch||!x.PointerEvent&&!x.MSPointerEvent)},$.prototype.batchMSEvents=function(k){k(this.chart.container,v?"pointerdown":"MSPointerDown",this.onContainerPointerDown),k(this.chart.container,v?"pointermove":"MSPointerMove",this.onContainerPointerMove),k(S,v?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},$.prototype.destroy=function(){this.batchMSEvents(d),w.prototype.destroy.call(this)},$.prototype.init=function(k,A){w.prototype.init.call(this,k,A),this.hasZoom&&c(k.container,{"-ms-touch-action":"none","touch-action":"none"})},$.prototype.onContainerPointerDown=function(k){C(k,"onContainerTouchStart","touchstart",function(A){y[A.pointerId]={pageX:A.pageX,pageY:A.pageY,target:A.currentTarget}})},$.prototype.onContainerPointerMove=function(k){C(k,"onContainerTouchMove","touchmove",function(A){y[A.pointerId]={pageX:A.pageX,pageY:A.pageY},y[A.pointerId].target||(y[A.pointerId].target=A.currentTarget)})},$.prototype.onDocumentPointerUp=function(k){C(k,"onDocumentTouchEnd","touchend",function(A){delete y[A.pointerId]})},$.prototype.setDOMEvents=function(){var k=this.chart.tooltip;w.prototype.setDOMEvents.call(this),(this.hasZoom||s(k&&k.options.followTouchMove,!0))&&this.batchMSEvents(p)},$}(r)}),o(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(i,r,u,b,C,_){var N=i.animObject,S=i.setAnimation,P=r.format,x=u.marginNames,p=C.distribute,c=_.addEvent,h=_.createElement,s=_.css,d=_.defined,y=_.discardElement,v=_.find,w=_.fireEvent,$=_.isNumber,k=_.merge,A=_.pick,g=_.relativeLength,T=_.stableSort,a=_.syncTimeout;return i=function(){function O(m,j){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=void 0,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=m,this.init(m,j)}return O.prototype.init=function(m,j){this.chart=m,this.setOptions(j),j.enabled&&(this.render(),c(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=c(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},O.prototype.setOptions=function(m){var j=A(m.padding,8);this.options=m,this.chart.styledMode||(this.itemStyle=m.itemStyle,this.itemHiddenStyle=k(this.itemStyle,m.itemHiddenStyle)),this.itemMarginTop=m.itemMarginTop||0,this.itemMarginBottom=m.itemMarginBottom||0,this.padding=j,this.initialItemY=j-5,this.symbolWidth=A(m.symbolWidth,16),this.pages=[],this.proximate=m.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},O.prototype.update=function(m,j){var f=this.chart;this.setOptions(k(!0,this.options,m)),this.destroy(),f.isDirtyLegend=f.isDirtyBox=!0,A(j,!0)&&f.redraw(),w(this,"afterUpdate")},O.prototype.colorizeItem=function(m,j){var f=m.legendItem||{},M=f.group,I=f.label,E=f.line;if(f=f.symbol,M&&M[j?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var B=this.options;M=this.itemHiddenStyle.color,B=j?B.itemStyle.color:M;var U=j&&m.color||M,q=m.options&&m.options.marker,D={fill:U};I&&I.css({fill:B,color:B}),E&&E.attr({stroke:U}),f&&(q&&f.isMarker&&(D=m.pointAttribs(),j||(D.stroke=D.fill=M)),f.attr(D))}w(this,"afterColorizeItem",{item:m,visible:j})},O.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},O.prototype.positionItem=function(m){var j=this,f=m.legendItem||{},M=f.group,I=f.x;I=I===void 0?0:I,f=f.y,f=f===void 0?0:f;var E=this.options,B=E.symbolPadding,U=!E.rtl;E=m.checkbox,M&&M.element&&(B={translateX:U?I:this.legendWidth-I-2*B-4,translateY:f},M[d(M.translateY)?"animate":"attr"](B,void 0,function(){w(j,"afterPositionItem",{item:m})})),E&&(E.x=I,E.y=f)},O.prototype.destroyItem=function(m){for(var j=m.checkbox,f=m.legendItem||{},M=0,I=["group","label","line","symbol"];MM-6&&B1.5*M?f.height:M))},O.prototype.layoutItem=function(m){var j=this.options,f=this.padding,M=j.layout==="horizontal",I=m.itemHeight,E=this.itemMarginBottom,B=this.itemMarginTop,U=M?A(j.itemDistance,20):0,q=this.maxLegendWidth;j=j.alignColumns&&this.totalItemWidth>q?this.maxItemWidth:m.itemWidth;var D=m.legendItem||{};M&&this.itemX-f+j>q&&(this.itemX=f,this.lastLineHeight&&(this.itemY+=B+this.lastLineHeight+E),this.lastLineHeight=0),this.lastItemY=B+this.itemY+E,this.lastLineHeight=Math.max(I,this.lastLineHeight),D.x=this.itemX,D.y=this.itemY,M?this.itemX+=j:(this.itemY+=B+I+E,this.lastLineHeight=I),this.offsetWidth=this.widthOption||Math.max((M?this.itemX-f-(m.checkbox?0:U):j)+f,this.offsetWidth)},O.prototype.getAllItems=function(){var m=[];return this.chart.series.forEach(function(j){var f=j&&j.options;j&&A(f.showInLegend,d(f.linkedTo)?!1:void 0,!0)&&(m=m.concat((j.legendItem||{}).labels||(f.legendType==="point"?j.data:j)))}),w(this,"afterGetAllItems",{allItems:m}),m},O.prototype.getAlignment=function(){var m=this.options;return this.proximate?m.align.charAt(0)+"tv":m.floating?"":m.align.charAt(0)+m.verticalAlign.charAt(0)+m.layout.charAt(0)},O.prototype.adjustMargins=function(m,j){var f=this.chart,M=this.options,I=this.getAlignment();I&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(E,B){E.test(I)&&!d(m[B])&&(f[x[B]]=Math.max(f[x[B]],f.legend[(B+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][B]*M[B%2?"x":"y"]+A(M.margin,12)+j[B]+(f.titleOffset[B]||0)))})},O.prototype.proximatePositions=function(){var m=this.chart,j=[],f=this.options.align==="left";this.allItems.forEach(function(U){var q,D=f;if(U.yAxis){U.xAxis.options.reversed&&(D=!D),U.points&&(q=v(D?U.points:U.points.slice(0).reverse(),function(L){return $(L.plotY)})),D=this.itemMarginTop+U.legendItem.label.getBBox().height+this.itemMarginBottom;var l=U.yAxis.top-m.plotTop;U.visible?(q=q?q.plotY:U.yAxis.height,q+=l-.3*D):q=l+U.yAxis.height,j.push({target:q,size:D,item:U})}},this);for(var M,I=0,E=p(j,m.plotHeight);IE&&D.enabled!==!1?(this.clipHeight=F=Math.max(E-20-this.titleHeight-U,0),this.currentPage=A(this.currentPage,1),this.fullHeight=m,G.forEach(function(Y,Z){K=Y.legendItem||{},Y=K.y||0;var et=Math.round(K.label.getBBox().height),nt=H.length;(!nt||Y-H[nt-1]>F&&(z||Y)!==H[nt-1])&&(H.push(z||Y),nt++),K.pageIx=nt-1,z&&((G[Z-1].legendItem||{}).pageIx=nt-1),Z===G.length-1&&Y+et-H[nt-1]>F&&et<=F&&(H.push(Y),K.pageIx=nt),Y!==z&&(z=Y)}),X||(X=j.clipRect=M.clipRect(0,U,9999,0),j.contentGroup.clip(X)),W(F),V||(this.nav=V=M.g().attr({zIndex:1}).add(this.group),this.up=M.symbol("triangle",0,0,L,L).add(V),R("upTracker").on("click",function(){j.scroll(-1,l)}),this.pager=M.text("",15,10).addClass("highcharts-legend-navigation"),!f.styledMode&&D.style&&this.pager.css(D.style),this.pager.add(V),this.down=M.symbol("triangle-down",0,0,L,L).add(V),R("downTracker").on("click",function(){j.scroll(1,l)})),j.scroll(0),m=E):V&&(W(),this.nav=V.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),m},O.prototype.scroll=function(m,j){var f=this,M=this.chart,I=this.pages,E=I.length,B=this.clipHeight,U=this.options.navigation,q=this.pager,D=this.padding,l=this.currentPage+m;l>E&&(l=E),0=Math.max(Et+pt,Ht.pos)&&wt<=Math.min(Et+pt+ht.width,Ht.pos+Ht.len)||(J.isInsidePlot=!1)}return!ot.ignoreY&&J.isInsidePlot&&(lt=ot.axis&&!ot.axis.isXAxis&&ot.axis||kt&&(lt?kt.xAxis:kt.yAxis)||{pos:mt,len:1/0},ot=ot.paneCoordinates?lt.pos+Q:mt+Q,ot>=Math.max(bt+mt,lt.pos)&&ot<=Math.min(bt+mt+ht.height,lt.pos+lt.len)||(J.isInsidePlot=!1)),W(this,"afterIsInsidePlot",J),J.isInsidePlot},st.prototype.redraw=function(J){W(this,"beforeRedraw");var Q=this.hasCartesianSeries?this.axes:this.colorAxis||[],ot=this.series,lt=this.pointer,ht=this.legend,pt=this.userOptions.legend,mt=this.renderer,wt=mt.isHidden(),Et=[],bt=this.isDirtyBox,kt=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),w(this.hasRendered?J:!1,this),wt&&this.temporaryDisplay(),this.layOutTitles(),J=ot.length;J--;){var Ht=ot[J];if(Ht.options.stacking||Ht.options.centerInCategory){var jt=!0;if(Ht.isDirty){var Ft=!0;break}}}if(Ft)for(J=ot.length;J--;)Ht=ot[J],Ht.options.stacking&&(Ht.isDirty=!0);ot.forEach(function(_t){_t.isDirty&&(_t.options.legendType==="point"?(typeof _t.updateTotals=="function"&&_t.updateTotals(),kt=!0):pt&&(pt.labelFormatter||pt.labelFormat)&&(kt=!0)),_t.isDirtyData&&W(_t,"updatedData")}),kt&&ht&&ht.options.enabled&&(ht.render(),this.isDirtyLegend=!1),jt&&this.getStacks(),Q.forEach(function(_t){_t.updateNames(),_t.setScale()}),this.getMargins(),Q.forEach(function(_t){_t.isDirty&&(bt=!0)}),Q.forEach(function(_t){var Zt=_t.min+","+_t.max;_t.extKey!==Zt&&(_t.extKey=Zt,Et.push(function(){W(_t,"afterSetExtremes",H(_t.eventArgs,_t.getExtremes())),delete _t.eventArgs})),(bt||jt)&&_t.redraw()}),bt&&this.drawChartBox(),W(this,"predraw"),ot.forEach(function(_t){(bt||_t.isDirty)&&_t.visible&&_t.redraw(),_t.isDirtyData=!1}),lt&<.reset(!0),mt.draw(),W(this,"redraw"),W(this,"render"),wt&&this.temporaryDisplay(!0),Et.forEach(function(_t){_t.call()})},st.prototype.get=function(J){function Q(pt){return pt.id===J||pt.options&&pt.options.id===J}for(var ot=this.series,lt=G(this.axes,Q)||G(this.series,Q),ht=0;!lt&&htQ.pointCount))},st.prototype.pan=function(J,Q){var ot=this,lt=ot.hoverPoints;Q=typeof Q=="object"?Q:{enabled:Q,type:"x"};var ht=ot.options.chart;ht&&ht.panning&&(ht.panning=Q);var pt=Q.type,mt;W(this,"pan",{originalEvent:J},function(){lt&<.forEach(function(bt){bt.setState()});var wt=ot.xAxis;pt==="xy"?wt=wt.concat(ot.yAxis):pt==="y"&&(wt=ot.yAxis);var Et={};wt.forEach(function(bt){if(bt.options.panningEnabled&&!bt.options.isInternal){var kt=bt.horiz,Ht=J[kt?"chartX":"chartY"];kt=kt?"mouseDownX":"mouseDownY";var jt=ot[kt],Ft=bt.minPointOffset||0,_t=bt.reversed&&!ot.inverted||!bt.reversed&&ot.inverted?-1:1,Zt=bt.getExtremes(),Yt=bt.toValue(jt-Ht,!0)+Ft*_t,Kt=bt.toValue(jt+bt.len-Ht,!0)-(Ft*_t||bt.isXAxis&&bt.pointRangePadding||0),re=Kt=_t&&Yt<=Kt&&(bt.setExtremes(jt,Yt,!1,!1,{trigger:"pan"}),!ot.resetZoomButton&&jt!==_t&&Yt!==Kt&&pt.match("y")&&(ot.showResetZoom(),bt.displayBtn=!1),mt=!0),Et[kt]=Ht)}}),Y(Et,function(bt,kt){ot[kt]=bt}),mt&&ot.redraw(!1),U(ot.container,{cursor:"move"})})},st}(),H(i.prototype,{callbacks:[],collectionsWithInit:{xAxis:[i.prototype.addAxis,[!0]],yAxis:[i.prototype.addAxis,[!1]],series:[i.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(" ")}),i}),o(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],function(i){var r=i.extend,u=i.merge,b=i.pick,C;return function(_){_.drawLineMarker=function(N){var S=this.legendItem=this.legendItem||{},P=this.options,x=N.symbolWidth,p=N.symbolHeight,c=p/2,h=this.chart.renderer,s=S.group;N=N.baseline-Math.round(.3*N.fontMetrics.b);var d={},y=P.marker,v=0;this.chart.styledMode||(d={"stroke-width":Math.min(P.lineWidth||0,24)},P.dashStyle?d.dashstyle=P.dashStyle:P.linecap!=="square"&&(d["stroke-linecap"]="round")),S.line=h.path().addClass("highcharts-graph").attr(d).add(s),d["stroke-linecap"]&&(v=Math.min(S.line.strokeWidth(),x)/2),S.line.attr({d:[["M",v,N],["L",x-v,N]]}),y&&y.enabled!==!1&&x&&(P=Math.min(b(y.radius,c),c),this.symbol.indexOf("url")===0&&(y=u(y,{width:p,height:p}),P=0),S.symbol=S=h.symbol(this.symbol,x/2-P,N-P,2*P,2*P,r({context:"legend"},y)).addClass("highcharts-point").add(s),S.isMarker=!0)},_.drawRectangle=function(N,S){S=S.legendItem||{};var P=N.symbolHeight,x=N.options.squareSymbol;S.symbol=this.chart.renderer.rect(x?(N.symbolWidth-P)/2:0,N.baseline-P+1,x?P:N.symbolWidth,P,b(N.options.symbolRadius,P/2)).addClass("highcharts-point").attr({zIndex:3}).add(S.group)}}(C||(C={})),C}),o(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",borderWidth:0,defer:!0,formatter:function(){var i=this.series.chart.numberFormatter;return typeof this.y!="number"?"":i(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"}}),o(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.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(i,r,u,b,C,_,N,S,P,x){var p=i.animObject,c=i.setAnimation,h=r.defaultOptions,s=u.registerEventOptions,d=b.hasTouch,y=b.svg,v=b.win,w=S.seriesTypes,$=x.arrayMax,k=x.arrayMin,A=x.clamp,g=x.cleanRecursively,T=x.correctFloat,a=x.defined,O=x.erase,m=x.error,j=x.extend,f=x.find,M=x.fireEvent,I=x.getNestedProperty,E=x.isArray,B=x.isNumber,U=x.isString,q=x.merge,D=x.objectEach,l=x.pick,L=x.removeEvent,H=x.splat,G=x.syncTimeout;return i=function(){function W(){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 W.prototype.init=function(R,F){M(this,"init",{options:F});var z=this,K=R.series;this.eventsToUnbind=[],z.chart=R,z.options=z.setOptions(F),F=z.options,z.linkedSeries=[],z.bindAxes(),j(z,{name:F.name,state:"",visible:F.visible!==!1,selected:F.selected===!0}),s(this,F);var V=F.events;(V&&V.click||F.point&&F.point.events&&F.point.events.click||F.allowPointSelect)&&(R.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(Y){z[Y+"Data"]||(z[Y+"Data"]=[])}),z.isCartesian&&(R.hasCartesianSeries=!0);var X;K.length&&(X=K[K.length-1]),z._i=l(X&&X._i,-1)+1,z.opacity=z.options.opacity,R.orderSeries(this.insert(K)),F.dataSorting&&F.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(F.data,!1),M(this,"afterInit")},W.prototype.is=function(R){return w[R]&&this instanceof w[R]},W.prototype.insert=function(R){var F=this.options.index,z;if(B(F)){for(z=R.length;z--;)if(F>=l(R[z].options.index,R[z]._i)){R.splice(z+1,0,this);break}z===-1&&R.unshift(this),z+=1}else R.push(this);return l(z,R.length-1)},W.prototype.bindAxes=function(){var R=this,F=R.options,z=R.chart,K;M(this,"bindAxes",null,function(){(R.axisTypes||[]).forEach(function(V){var X=0;z[V].forEach(function(Y){K=Y.options,(F[V]===X&&!K.isInternal||typeof F[V]<"u"&&F[V]===K.id||typeof F[V]>"u"&&K.index===0)&&(R.insert(Y.series),R[V]=Y,Y.isDirty=!0),K.isInternal||X++}),R[V]||R.optionalAxis===V||m(18,!0,z)})}),M(this,"afterBindAxes")},W.prototype.updateParallelArrays=function(R,F){var z=R.series,K=arguments,V=B(F)?function(X){var Y=X==="y"&&z.toYData?z.toYData(R):R[X];z[X+"Data"][F]=Y}:function(X){Array.prototype[F].apply(z[X+"Data"],Array.prototype.slice.call(K,2))};z.parallelArrays.forEach(V)},W.prototype.hasData=function(){return this.visible&&typeof this.dataMax<"u"&&typeof this.dataMin<"u"||this.visible&&this.yData&&0"u"&&B(K)&&(et=this.xData.indexOf(K,F)),et!==-1&&typeof et<"u"&&this.cropped&&(et=et>=this.cropStart?et-this.cropStart:et),!Z&&B(et)&&V[et]&&V[et].touched&&(et=void 0),et},W.prototype.updateData=function(R,F){var z=this.options,K=z.dataSorting,V=this.points,X=[],Y=this.requireSorting,Z=R.length===V.length,et,nt,at,ct=!0;if(this.xIncrement=null,R.forEach(function(dt,ut){var st=a(dt)&&this.pointClass.prototype.optionsToObject.call({series:this},dt)||{},J=st.x;st.id||B(J)?(st=this.findPointIndex(st,at),st===-1||typeof st>"u"?X.push(dt):V[st]&&dt!==z.data[st]?(V[st].update(dt,!1,null,!1),V[st].touched=!0,Y&&(at=st+1)):V[st]&&(V[st].touched=!0),(!Z||ut!==st||K&&K.enabled||this.hasDerivedData)&&(et=!0)):X.push(dt)},this),et)for(R=V.length;R--;)(nt=V[R])&&!nt.touched&&nt.remove&&nt.remove(!1,F);else!Z||K&&K.enabled?ct=!1:(R.forEach(function(dt,ut){dt!==V[ut].y&&V[ut].update&&V[ut].update(dt,!1,null,!1)}),X.length=0);return V.forEach(function(dt){dt&&(dt.touched=!1)}),ct?(X.forEach(function(dt){this.addPoint(dt,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=$(this.xData),this.autoIncrement()),!0):!1},W.prototype.setData=function(R,F,z,K){F===void 0&&(F=!0);var V=this,X=V.points,Y=X&&X.length||0,Z=V.options,et=V.chart,nt=Z.dataSorting,at=V.xAxis,ct=Z.turboThreshold,dt=this.xData,ut=this.yData,st=V.pointArrayMap;st=st&&st.length;var J=Z.keys,Q,ot=0,lt=1,ht=null;if(!et.options.chart.allowMutatingData){Z.data&&delete V.options.data,V.userOptions.data&&delete V.userOptions.data;var pt=q(!0,R)}if(R=pt||R||[],pt=R.length,nt&&nt.enabled&&(R=this.sortData(R)),et.options.chart.allowMutatingData&&K!==!1&&pt&&Y&&!V.cropped&&!V.hasGroupedData&&V.visible&&!V.boosted&&(Q=this.updateData(R,z)),!Q){if(V.xIncrement=null,V.colorCounter=0,this.parallelArrays.forEach(function(mt){V[mt+"Data"].length=0}),ct&&pt>ct)if(ht=V.getFirstValidPoint(R),B(ht))for(z=0;zV?1:0}).forEach(function(V,X){V.x=X},this),F.linkedSeries&&F.linkedSeries.forEach(function(V){var X=V.options,Y=X.data;X.dataSorting&&X.dataSorting.enabled||!Y||(Y.forEach(function(Z,et){Y[et]=K(V,Z),R[et]&&(Y[et].x=R[et].x,Y[et].index=et)}),V.setData(Y,!1))}),R},W.prototype.getProcessedData=function(R){var F=this.xAxis,z=this.options,K=z.cropThreshold,V=R||this.getExtremesFromAll||z.getExtremesFromAll,X=this.isCartesian;R=F&&F.val2lin,z=!(!F||!F.logarithmic);var Y=0,Z=this.xData,et=this.yData,nt=this.requireSorting,at=!1,ct=Z.length;if(F){at=F.getExtremes();var dt=at.min,ut=at.max;at=!(!F.categories||F.names.length)}if(X&&this.sorted&&!V&&(!K||ct>K||this.forceCrop)){if(Z[ct-1]ut)Z=[],et=[];else if(this.yData&&(Z[0]ut)){var st=this.cropData(this.xData,this.yData,dt,ut);Z=st.xData,et=st.yData,Y=st.start,st=!0}}for(K=Z.length||1;--K;)if(F=z?R(Z[K])-R(Z[K-1]):Z[K]-Z[K-1],0"u"||FF&&nt&&!at&&(m(15,!1,this.chart),nt=!1);return{xData:Z,yData:et,cropped:st,cropStart:Y,closestPointRange:J}},W.prototype.processData=function(R){var F=this.xAxis;if(this.isCartesian&&!this.isDirty&&!F.isDirty&&!this.yAxis.isDirty&&!R)return!1;R=this.getProcessedData(),this.cropped=R.cropped,this.cropStart=R.cropStart,this.processedXData=R.xData,this.processedYData=R.yData,this.closestPointRange=this.basePointRange=R.closestPointRange,M(this,"afterProcessData")},W.prototype.cropData=function(R,F,z,K,V){var X=R.length,Y,Z=0,et=X;for(V=l(V,this.cropShoulder),Y=0;Y=z){Z=Math.max(0,Y-V);break}for(z=Y;zK){et=z+V;break}return{xData:R.slice(Z,et),yData:F.slice(Z,et),start:Z,end:et}},W.prototype.generatePoints=function(){var R=this.options,F=this.processedData||R.data,z=this.processedXData,K=this.processedYData,V=this.pointClass,X=z.length,Y=this.cropStart||0,Z=this.hasGroupedData,et=R.keys,nt=[];R=R.dataGrouping&&R.dataGrouping.groupAll?Y:0;var at,ct,dt=this.data;if(!dt&&!Z){var ut=[];ut.length=F.length,dt=this.data=ut}for(et&&Z&&(this.options.keys=!1),ct=0;ct"u"||(dt[ut]=st=new V().init(this,F[ut],z[ct]));st&&(st.index=Z?R+ct:ut,nt[ct]=st)}if(this.options.keys=et,dt&&(X!==(at=dt.length)||Z))for(ct=0;ct=et&&(V[Z-Y]||ut)<=nt,st&&ut)if(st=dt.length)for(;st--;)B(dt[st])&&(X[at++]=dt[st]);else X[at++]=dt}return R={activeYData:X,dataMin:k(X),dataMax:$(X)},M(this,"afterGetExtremes",{dataExtremes:R}),R},W.prototype.applyExtremes=function(){var R=this.getExtremes();return this.dataMin=R.dataMin,this.dataMax=R.dataMax,R},W.prototype.getFirstValidPoint=function(R){for(var F=R.length,z=0,K=null;K===null&&z=mt&&(mt=void 0),Q.total=Q.stackTotal=l(lt.total),Q.percentage=a(Q.y)&<.total?Q.y/lt.total*100:void 0,Q.stackY=pt,this.irregularWidths||lt.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}if(Q.yBottom=a(mt)?A(X.translate(mt,0,1,0,1),-1e5,1e5):void 0,this.dataModify&&(pt=this.dataModify.modifyValue(pt,ut)),Q.plotY=void 0,B(pt)&&(lt=X.translate(pt,!1,!0,!1,!0),typeof lt<"u"&&(Q.plotY=A(lt,-1e5,1e5))),Q.isInside=this.isPointInside(Q),Q.clientX=nt?T(z.translate(ot,0,0,0,1,et)):st,Q.negative=Q[dt]<(R[dt+"Threshold"]||at||0),Q.category=l(K&&K[Q.x],Q.x),!Q.isNull&&Q.visible!==!1){typeof bt<"u"&&(J=Math.min(J,Math.abs(st-bt)));var bt=st}Q.zone=this.zones.length?Q.getZone():void 0,!Q.graphic&&this.group&&V&&(Q.isNew=!0)}this.closestPointRangePx=J,M(this,"afterTranslate")},W.prototype.getValidPoints=function(R,F,z){var K=this.chart;return(R||this.points||[]).filter(function(V){return F&&!K.isInsidePlot(V.plotX,V.plotY,{inverted:K.inverted})?!1:V.visible!==!1&&(z||!V.isNull)})},W.prototype.getClipBox=function(){var R=this.chart,F=this.xAxis,z=this.yAxis,K=q(R.clipBox);return F&&F.len!==R.plotSizeX&&(K.width=F.len),z&&z.len!==R.plotSizeY&&(K.height=z.len),K},W.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},W.prototype.setClip=function(){var R=this.chart,F=this.group,z=this.markerGroup,K=R.sharedClips;R=R.renderer;var V=this.getClipBox(),X=this.getSharedClipKey(),Y=K[X];Y?Y.animate(V):K[X]=Y=R.clipRect(V),F&&F.clip(this.options.clip===!1?void 0:Y),z&&z.clip()},W.prototype.animate=function(R){var F=this.chart,z=this.group,K=this.markerGroup,V=F.inverted,X=p(this.options.animation),Y=[this.getSharedClipKey(),X.duration,X.easing,X.defer].join(),Z=F.sharedClips[Y],et=F.sharedClips[Y+"m"];if(R&&z)X=this.getClipBox(),Z?Z.attr("height",X.height):(X.width=0,V&&(X.x=F.plotHeight),Z=F.renderer.clipRect(X),F.sharedClips[Y]=Z,et=F.renderer.clipRect({x:-99,y:-99,width:V?F.plotWidth+199:99,height:V?99:F.plotHeight+199}),F.sharedClips[Y+"m"]=et),z.clip(Z),K&&K.clip(et);else if(Z&&!Z.hasClass("highcharts-animating")){F=this.getClipBox();var nt=X.step;K&&K.element.childNodes.length&&(X.step=function(at,ct){nt&&nt.apply(ct,arguments),ct.prop==="width"&&et&&et.element&&et.attr(V?"height":"width",at+99)}),Z.addClass("highcharts-animating").animate(F,X)}},W.prototype.afterAnimate=function(){var R=this;this.setClip(),D(this.chart.sharedClips,function(F,z,K){F&&!R.chart.container.querySelector('[clip-path="url(#'.concat(F.id,')"]'))&&(F.destroy(),delete K[z])}),this.finishedAnimating=!0,M(this,"afterAnimate")},W.prototype.drawPoints=function(R){R===void 0&&(R=this.points);var F=this.chart,z=F.styledMode,K=this.colorAxis,V=this.options.marker,X=this[this.specialGroup||"markerGroup"],Y=this.xAxis,Z=l(V.enabled,!Y||Y.isRadial?!0:null,this.closestPointRangePx>=V.enabledThreshold*V.radius),et,nt;if(V.enabled!==!1||this._hasPointMarkers)for(et=0;et"u"||dt.enabled)&&!at.isNull&&at.visible!==!1){var st=l(dt.symbol,this.symbol,"rect"),J=this.markerAttribs(at,at.selected&&"select");this.enabledDataSorting&&(at.startXPos=Y.reversed?-(J.width||0):Y.width);var Q=at.isInside!==!1;!nt&&Q&&(0<(J.width||0)||at.hasImage)&&(at.graphic=nt=F.renderer.symbol(st,J.x,J.y,J.width,J.height,ut?dt:V).add(X),this.enabledDataSorting&&F.hasRendered&&(nt.attr({x:at.startXPos}),ct="animate")),nt&&ct==="animate"&&nt[Q?"show":"hide"](Q).animate(J),nt&&(dt=this.pointAttribs(at,z||!at.selected?void 0:"select"),z?K&&nt.css({fill:dt.fill}):nt[ct](dt)),nt&&nt.addClass(at.getClassName(),!0)}else nt&&(at.graphic=nt.destroy())}},W.prototype.markerAttribs=function(R,F){var z=this.options,K=z.marker,V=R.marker||{},X=V.symbol||K.symbol,Y={},Z=l(V.radius,K&&K.radius);return F&&(K=K.states[F],F=V.states&&V.states[F],Z=l(F&&F.radius,K&&K.radius,Z&&Z+(K&&K.radiusPlus||0))),R.hasImage=X&&X.indexOf("url")===0,R.hasImage&&(Z=0),R=R.pos(),B(Z)&&R&&(Y.x=R[0]-Z,Y.y=R[1]-Z,z.crisp&&(Y.x=Math.floor(Y.x))),Z&&(Y.width=Y.height=2*Z),Y},W.prototype.pointAttribs=function(R,F){var z=this.options.marker,K=R&&R.options,V=K&&K.marker||{},X=K&&K.color,Y=R&&R.color,Z=R&&R.zone&&R.zone.color,et=this.color;return R=l(V.lineWidth,z.lineWidth),K=1,et=X||Z||Y||et,X=V.fillColor||z.fillColor||et,Y=V.lineColor||z.lineColor||et,F=F||"normal",z=z.states[F]||{},F=V.states&&V.states[F]||{},R=l(F.lineWidth,z.lineWidth,R+l(F.lineWidthPlus,z.lineWidthPlus,0)),X=F.fillColor||z.fillColor||X,Y=F.lineColor||z.lineColor||Y,K=l(F.opacity,z.opacity,K),{stroke:Y,"stroke-width":R,fill:X,opacity:K}},W.prototype.destroy=function(R){var F=this,z=F.chart,K=/AppleWebKit\/533/.test(v.navigator.userAgent),V=F.data||[],X,Y,Z,et;for(M(F,"destroy",{keepEventsForUpdate:R}),this.removeEvents(R),(F.axisTypes||[]).forEach(function(nt){(et=F[nt])&&et.series&&(O(et.series,F),et.isDirty=et.forceRedraw=!0)}),F.legendItem&&F.chart.legend.destroyItem(F),Y=V.length;Y--;)(Z=V[Y])&&Z.destroy&&Z.destroy();F.clips&&F.clips.forEach(function(nt){return nt.destroy()}),x.clearTimeout(F.animationTimeout),D(F,function(nt,at){nt instanceof P&&!nt.survive&&(X=K&&at==="group"?"hide":"destroy",nt[X]())}),z.hoverSeries===F&&(z.hoverSeries=void 0),O(z.series,F),z.orderSeries(),D(F,function(nt,at){R&&at==="hcEvents"||delete F[at]})},W.prototype.applyZones=function(){var R=this,F=this.chart,z=F.renderer,K=this.zones,V=this.clips||[],X=this.graph,Y=this.area,Z=Math.max(F.plotWidth,F.plotHeight),et=this[(this.zoneAxis||"y")+"Axis"],nt=F.inverted,at,ct,dt,ut,st,J,Q,ot,lt=!1;if(K.length&&(X||Y)&&et&&typeof et.min<"u"){var ht=et.reversed,pt=et.horiz;X&&!this.showLine&&X.hide(),Y&&Y.hide();var mt=et.getExtremes();K.forEach(function(wt,Et){at=ht?pt?F.plotWidth:0:pt?0:et.toPixels(mt.min)||0,at=A(l(ct,at),0,Z),ct=A(Math.round(et.toPixels(l(wt.value,mt.max),!0)||0),0,Z),lt&&(at=ct=et.toPixels(mt.max)),ut=Math.abs(at-ct),st=Math.min(at,ct),J=Math.max(at,ct),et.isXAxis?(dt={x:nt?J:st,y:0,width:ut,height:Z},pt||(dt.x=F.plotHeight-dt.x)):(dt={x:0,y:nt?J:st,width:Z,height:ut},pt&&(dt.y=F.plotWidth-dt.y)),nt&&z.isVML&&(dt=et.isXAxis?{x:0,y:ht?st:J,height:dt.width,width:F.chartWidth}:{x:dt.y-F.plotLeft-F.spacingBox.x,y:0,width:dt.height,height:F.chartHeight}),V[Et]?V[Et].animate(dt):V[Et]=z.clipRect(dt),Q=R["zone-area-"+Et],ot=R["zone-graph-"+Et],X&&ot&&ot.clip(V[Et]),Y&&Q&&Q.clip(V[Et]),lt=wt.value>mt.max,R.resetZones&&ct===0&&(ct=void 0)}),this.clips=V}else R.visible&&(X&&X.show(),Y&&Y.show())},W.prototype.plotGroup=function(R,F,z,K,V){var X=this[R],Y=!X;return z={visibility:z,zIndex:K||.1},typeof this.opacity>"u"||this.chart.styledMode||this.state==="inactive"||(z.opacity=this.opacity),Y&&(this[R]=X=this.chart.renderer.g().add(V)),X.addClass("highcharts-"+F+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(a(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(X.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),X.attr(z)[Y?"attr":"animate"](this.getPlotBox(F)),X},W.prototype.getPlotBox=function(R){var F=this.xAxis,z=this.yAxis,K=this.chart;return R=K.inverted&&!K.polar&&F&&this.invertible!==!1&&R==="series",K.inverted&&(F=z,z=this.xAxis),{translateX:F?F.left:K.plotLeft,translateY:z?z.top:K.plotTop,rotation:R?90:0,rotationOriginX:R?(F.len-z.len)/2:0,rotationOriginY:R?(F.len+z.len)/2:0,scaleX:R?-1:1,scaleY:1}},W.prototype.removeEvents=function(R){R||L(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(F){F()}),this.eventsToUnbind.length=0)},W.prototype.render=function(){var R=this,F=R.chart,z=R.options,K=p(z.animation),V=R.visible?"inherit":"hidden",X=z.zIndex,Y=R.hasRendered,Z=F.seriesGroup;F=!R.finishedAnimating&&F.renderer.isSVG?K.duration:0,M(this,"render"),R.plotGroup("group","series",V,X,Z),R.markerGroup=R.plotGroup("markerGroup","markers",V,X,Z),z.clip!==!1&&R.setClip(),R.animate&&F&&R.animate(!0),R.drawGraph&&(R.drawGraph(),R.applyZones()),R.visible&&R.drawPoints(),R.drawDataLabels&&R.drawDataLabels(),R.redrawPoints&&R.redrawPoints(),R.drawTracker&&R.options.enableMouseTracking!==!1&&R.drawTracker(),R.animate&&F&&R.animate(),Y||(F&&K.defer&&(F+=K.defer),R.animationTimeout=G(function(){R.afterAnimate()},F||0)),R.isDirty=!1,R.hasRendered=!0,M(R,"afterRender")},W.prototype.redraw=function(){var R=this.isDirty||this.isDirtyData;this.translate(),this.render(),R&&delete this.kdTree},W.prototype.searchPoint=function(R,F){var z=this.xAxis,K=this.yAxis,V=this.chart.inverted;return this.searchKDTree({clientX:V?z.len-R.chartY+z.pos:R.chartX-z.pos,plotY:V?K.len-R.chartX+K.pos:R.chartY-K.pos},F,R)},W.prototype.buildKDTree=function(R){function F(V,X,Y){var Z=V&&V.length;if(Z){var et=z.kdAxisArray[X%Y];return V.sort(function(nt,at){return nt[et]-at[et]}),Z=Math.floor(Z/2),{point:V[Z],left:F(V.slice(0,Z),X+1,Y),right:F(V.slice(Z+1),X+1,Y)}}}this.buildingKdTree=!0;var z=this,K=-1ut?"left":"right",J=0>ut?"right":"left",nt[Q]&&(Q=K(et,nt[Q],at+1,ct),st=Q[Z]ut;)st--;this.updateParallelArrays(dt,"splice",st,0,0),this.updateParallelArrays(dt,st),et&&dt.name&&(et[ut]=dt.name),nt.splice(st,0,R),(ct||this.processedData)&&(this.data.splice(st,0,null),this.processData()),X.legendType==="point"&&this.generatePoints(),z&&(Y[0]&&Y[0].remove?Y[0].remove(!1):(Y.shift(),this.updateParallelArrays(dt,"shift"),nt.shift())),V!==!1&&M(this,"addPoint",{point:dt}),this.isDirtyData=this.isDirty=!0,F&&Z.redraw(K)},W.prototype.removePoint=function(R,F,z){var K=this,V=K.data,X=V[R],Y=K.points,Z=K.chart,et=function(){Y&&Y.length===V.length&&Y.splice(R,1),V.splice(R,1),K.options.data.splice(R,1),K.updateParallelArrays(X||{series:K},"splice",R,1),X&&X.destroy(),K.isDirty=!0,K.isDirtyData=!0,F&&Z.redraw()};c(z,Z),F=l(F,!0),X?X.firePointEvent("remove",null,et):et()},W.prototype.remove=function(R,F,z,K){function V(){X.destroy(K),Y.isDirtyLegend=Y.isDirtyBox=!0,Y.linkSeries(),l(R,!0)&&Y.redraw(F)}var X=this,Y=X.chart;z!==!1?M(X,"remove",null,V):V()},W.prototype.update=function(R,F){R=g(R,this.userOptions),M(this,"update",{options:R});var z=this,K=z.chart,V=z.userOptions,X=z.initialType||z.type,Y=K.options.plotOptions,Z=w[X].prototype,et=z.finishedAnimating&&{animation:!1},nt={},at=["eventOptions","navigatorSeries","baseSeries"],ct=R.type||V.type||K.options.chart.type,dt=!(this.hasDerivedData||ct&&ct!==this.type||typeof R.pointStart<"u"||typeof R.pointInterval<"u"||typeof R.relativeXValue<"u"||R.joinBy||R.mapData||z.hasOptionChanged("dataGrouping")||z.hasOptionChanged("pointStart")||z.hasOptionChanged("pointInterval")||z.hasOptionChanged("pointIntervalUnit")||z.hasOptionChanged("keys"));if(ct=ct||X,dt&&(at.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),R.visible!==!1&&at.push("area","graph"),z.parallelArrays.forEach(function(st){at.push(st+"Data")}),R.data&&(R.dataSorting&&j(z.options.dataSorting,R.dataSorting),this.setData(R.data,!1))),R=q(V,et,{index:typeof V.index>"u"?z.index:V.index,pointStart:l(Y&&Y.series&&Y.series.pointStart,V.pointStart,z.xData[0])},!dt&&{data:z.options.data},R),dt&&R.data&&(R.data=z.options.data),at=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(at),at.forEach(function(st){at[st]=z[st],delete z[st]}),Y=!1,w[ct]){if(Y=ct!==z.type,z.remove(!1,!1,!1,!0),Y)if(Object.setPrototypeOf)Object.setPrototypeOf(z,w[ct].prototype);else{et=Object.hasOwnProperty.call(z,"hcEvents")&&z.hcEvents;for(ut in Z)z[ut]=void 0;j(z,w[ct].prototype),et?z.hcEvents=et:delete z.hcEvents}}else m(17,!0,K,{missingModuleFor:ct});if(at.forEach(function(st){z[st]=at[st]}),z.init(K,R),dt&&this.points){if(R=z.options,R.visible===!1)nt.graphic=1,nt.dataLabel=1;else if(!z._hasPointLabels){Z=R.marker;var ut=R.dataLabels;V=V.marker||{},!Z||Z.enabled!==!1&&V.symbol===Z.symbol&&V.height===Z.height&&V.width===Z.width||(nt.graphic=1),ut&&ut.enabled===!1&&(nt.dataLabel=1)}for(V=0,Z=this.points;V"u"?!X:R)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(Z){z[Z]&&z[Z][Y]()}),(K.hoverSeries===z||(K.hoverPoint&&K.hoverPoint.series)===z)&&z.onMouseOut(),z.legendItem&&K.legend.colorizeItem(z,R),z.isDirty=!0,z.options.stacking&&K.series.forEach(function(Z){Z.options.stacking&&Z.visible&&(Z.isDirty=!0)}),z.linkedSeries.forEach(function(Z){Z.setVisible(R,!1)}),V&&(K.isDirtyBox=!0),M(z,Y),F!==!1&&K.redraw()},W.prototype.show=function(){this.setVisible(!0)},W.prototype.hide=function(){this.setVisible(!1)},W.prototype.select=function(R){this.selected=R=this.options.selected=typeof R>"u"?!this.selected:R,this.checkbox&&(this.checkbox.checked=R),M(this,R?"select":"unselect")},W.prototype.shouldShowTooltip=function(R,F,z){return z===void 0&&(z={}),z.series=this,z.visiblePlotOnly=!0,this.chart.isInsidePlot(R,F,z)},W.defaultOptions=N,W.types=S.seriesTypes,W.registerType=S.registerSeriesType,W}(),j(i.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:C.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:_,requireSorting:!0,sorted:!0}),S.series=i,i}),o(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(i,r,u,b,C,_){var N=i.stop,S=_.addEvent,P=_.createElement,x=_.defined,p=_.merge,c=_.pick;S(u,"afterSetChartSize",function(h){var s=this.options.chart.scrollablePlotArea,d=s&&s.minWidth;if(s=s&&s.minHeight,!this.renderer.forExport){if(d){if(this.scrollablePixelsX=d=Math.max(0,d-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=p(this.plotBox),this.plotBox.width=this.plotWidth+=d,this.inverted?this.clipBox.height+=d:this.clipBox.width+=d;var y={1:{name:"right",value:d}}}}else s&&(this.scrollablePixelsY=d=Math.max(0,s-this.chartHeight),x(d)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=p(this.plotBox),this.plotBox.height=this.plotHeight+=d,this.inverted?this.clipBox.width+=d:this.clipBox.height+=d,y={2:{name:"bottom",value:d}}));y&&!h.skipAxes&&this.axes.forEach(function(v){y[v.side]?v.getPlotLinePath=function(){var w=y[v.side].name,$=this[w];this[w]=$-y[v.side].value;var k=r.prototype.getPlotLinePath.apply(this,arguments);return this[w]=$,k}:(v.setAxisSize(),v.setAxisTranslation())})}}),S(u,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),u.prototype.setUpScrolling=function(){var h=this,s={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(s.overflowX="auto"),this.scrollablePixelsY&&(s.overflowY="auto"),this.scrollingParent=P("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=P("div",{className:"highcharts-scrolling"},s,this.scrollingParent);var d;S(this.scrollingContainer,"scroll",function(){h.pointer&&(delete h.pointer.chartPosition,h.hoverPoint&&(d=h.hoverPoint),h.pointer.runPointActions(void 0,d,!0))}),this.innerContainer=P("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},u.prototype.moveFixedElements=function(){var h=this.container,s=this.fixedRenderer,d=".highcharts-breadcrumbs-group .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(" "),y;this.scrollablePixelsX&&!this.inverted?y=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?y=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(y=".highcharts-yaxis"),y&&d.push(""+y+":not(.highcharts-radial-axis)",""+y+"-labels:not(.highcharts-radial-axis-labels)"),d.forEach(function(v){[].forEach.call(h.querySelectorAll(v),function(w){(w.namespaceURI===s.SVG_NS?s.box:s.box.parentNode).appendChild(w),w.style.pointerEvents="auto"})})},u.prototype.applyFixed=function(){var h=!this.fixedDiv,s=this.options.chart,d=s.scrollablePlotArea,y=C.getRendererType();h?(this.fixedDiv=P("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(s.style&&s.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=s=new y(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=s.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(d.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),S(this,"afterShowResetZoom",this.moveFixedElements),S(this,"afterApplyDrilldown",this.moveFixedElements),S(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||h)&&(this.scrollableDirty=!1,this.moveFixedElements()),s=this.chartWidth+(this.scrollablePixelsX||0),y=this.chartHeight+(this.scrollablePixelsY||0),N(this.container),this.container.style.width=s+"px",this.container.style.height=y+"px",this.renderer.boxWrapper.attr({width:s,height:y,viewBox:[0,0,s,y].join(" ")}),this.chartBackground.attr({width:s,height:y}),this.scrollingContainer.style.height=this.chartHeight+"px",h&&(d.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*d.scrollPositionX),d.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*d.scrollPositionY)),y=this.axisOffset,h=this.plotTop-y[0]-1,d=this.plotLeft-y[3]-1,s=this.plotTop+this.plotHeight+y[2]+1,y=this.plotLeft+this.plotWidth+y[1]+1;var v=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),w=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);h=this.scrollablePixelsX?[["M",0,h],["L",this.plotLeft-1,h],["L",this.plotLeft-1,s],["L",0,s],["Z"],["M",v,h],["L",this.chartWidth,h],["L",this.chartWidth,s],["L",v,s],["Z"]]:this.scrollablePixelsY?[["M",d,0],["L",d,this.plotTop-1],["L",y,this.plotTop-1],["L",y,0],["Z"],["M",d,w],["L",d,this.chartHeight],["L",y,this.chartHeight],["L",y,w],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d:h})},S(r,"afterInit",function(){this.chart.scrollableDirty=!0}),S(b,"show",function(){this.chart.scrollableDirty=!0})}),o(n,"Core/Axis/Stacking/StackItem.js",[n["Core/FormatUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(i,r,u){var b=i.format,C=r.series,_=u.destroyObjectProperties,N=u.pick,S=u.isNumber;return i=function(){function P(x,p,c,h,s){var d=x.chart.inverted,y=x.reversed;this.axis=x,x=this.isNegative=!!c!=!!y,this.options=p=p||{},this.x=h,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:p.align||(d?x?"left":"right":"center"),verticalAlign:p.verticalAlign||(d?"middle":x?"bottom":"top"),y:p.y,x:p.x},this.textAlign=p.textAlign||(d?x?"right":"left":"center")}return P.prototype.destroy=function(){_(this,this.axis)},P.prototype.render=function(x){var p=this.axis.chart,c=this.options,h=c.format;h=h?b(h,this,p):c.formatter.call(this),this.label?this.label.attr({text:h,visibility:"hidden"}):(this.label=p.renderer.label(h,null,void 0,c.shape,void 0,void 0,c.useHTML,!1,"stack-labels"),h={r:c.borderRadius||0,text:h,padding:N(c.padding,5),visibility:"hidden"},p.styledMode||(h.fill=c.backgroundColor,h.stroke=c.borderColor,h["stroke-width"]=c.borderWidth,this.label.css(c.style||{})),this.label.attr(h),this.label.added||this.label.add(x)),this.label.labelrank=p.plotSizeY},P.prototype.setOffset=function(x,p,c,h,s,d){var y=this.alignOptions,v=this.axis,w=this.label,$=this.options,k=this.textAlign,A=v.chart;x=this.getStackBox({xOffset:x,width:p,boxBottom:c,boxTop:h,defaultX:s,xAxis:d}),s=y.verticalAlign,w&&x&&(p=w.getBBox(),c=w.padding,h=N($.overflow,"justify")==="justify",y.x=$.x||0,y.y=$.y||0,s=this.adjustStackPosition({labelBox:p,verticalAlign:s,textAlign:k}),k=s.x,s=s.y,x.x-=k,x.y-=s,w.align(y,!1,x),(k=A.isInsidePlot(w.alignAttr.x+y.x+k,w.alignAttr.y+y.y+s))||(h=!1),h&&C.prototype.justifyDataLabel.call(v,w,y,w.alignAttr,p,x),w.attr({x:w.alignAttr.x,y:w.alignAttr.y,rotation:$.rotation,rotationOriginX:p.width/2,rotationOriginY:p.height/2}),N(!h&&$.crop,!0)&&(k=S(w.x)&&S(w.y)&&A.isInsidePlot(w.x-c+w.width,w.y)&&A.isInsidePlot(w.x+c,w.y)),w[k?"show":"hide"]())},P.prototype.adjustStackPosition=function(x){var p=x.labelBox,c={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:p.width/2+p.width/2*c[x.textAlign],y:p.height/2*c[x.verticalAlign]}},P.prototype.getStackBox=function(x){var p=this.axis,c=p.chart,h=x.boxTop,s=x.defaultX,d=x.xOffset,y=x.width,v=x.boxBottom;return h=p.stacking.usePercentage?100:N(h,this.total,0),h=p.toPixels(h),x=N(s,(x.xAxis||c.xAxis[0]).toPixels(this.x))+d,p=p.toPixels(v||0),p=Math.abs(h-p),v=this.isNegative,c.inverted?{x:(v?h:h-p)-c.plotLeft,y:x-c.plotTop,width:p,height:y}:{x:x-c.plotLeft,y:(v?h-p:h)-c.plotTop,width:y,height:p}},P}(),i}),o(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],function(i,r,u,b,C){function _(){var j=this,f=j.inverted;j.yAxis.forEach(function(M){M.stacking&&M.stacking.stacks&&M.hasVisibleSeries&&(M.stacking.oldStacks=M.stacking.stacks)}),j.series.forEach(function(M){var I=M.xAxis&&M.xAxis.options||{};!M.options.stacking||M.visible!==!0&&j.options.chart.ignoreHiddenSeries!==!1||(M.stackKey=[M.type,a(M.options.stack,""),f?I.top:I.left,f?I.height:I.width].join())})}function N(){var j=this.stacking;if(j){var f=j.stacks;T(f,function(M,I){$(M),f[I]=null}),j&&j.stackTotalGroup&&j.stackTotalGroup.destroy()}}function S(){this.coll!=="yAxis"||this.stacking||(this.stacking=new O(this))}function P(j,f,M,I){return!w(j)||j.x!==f||I&&j.stackKey!==I?j={x:f,index:0,key:I,stackKey:I}:j.index++,j.key=[M,f,j.index].join(),j}function x(){var j=this,f=j.stackKey,M=j.yAxis.stacking.stacks,I=j.processedXData,E=j[j.options.stacking+"Stacker"],B;E&&[f,"-"+f].forEach(function(U){for(var q=I.length,D,l;q--;)D=I[q],B=j.getStackIndicator(B,D,j.index,U),(l=(D=M[U]&&M[U][D])&&D.points[B.key])&&E.call(j,l,D,q)})}function p(j,f,M){f=f.total?100/f.total:0,j[0]=v(j[0]*f),j[1]=v(j[1]*f),this.stackedYData[M]=j[1]}function c(){var j=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1d&&x.shadow)),v&&(v.startX=p.xMap,v.isArea=p.isArea)})},S.prototype.getGraphPath=function(P,x,p){var c=this,h=c.options,s=[],d=[],y,v=h.step;P=P||c.points;var w=P.reversed;return w&&P.reverse(),(v={right:1,center:2}[v]||v&&3)&&w&&(v=4-v),P=this.getValidPoints(P,!1,!(h.connectNulls&&!x&&!p)),P.forEach(function($,k){var A=$.plotX,g=$.plotY,T=P[k-1];($.leftCliff||T&&T.rightCliff)&&!p&&(y=!0),$.isNull&&!C(x)&&0P&&w>h?(w=Math.max(P,h),$=2*h-w):wp&&$>h?($=Math.max(p,h),w=2*h-$):$"u"&&(M[I]=E++);var H=M[I]}else L.grouping!==!1&&(H=E++);D.columnIndex=H}});var B=Math.min(Math.abs(m.transA)*(m.ordinal&&m.ordinal.slope||O.pointRange||m.closestPointRange||m.tickInterval||1),m.len),U=B*O.groupPadding,q=(B-2*U)/(E||1);return O=Math.min(O.maxPointWidth||m.len,k(O.pointWidth,q*(1-2*O.pointPadding))),a.columnMetrics={width:O,offset:(q-O)/2+(U+((a.columnIndex||0)+(f?1:0))*q-B/2)*(f?-1:1),paddedWidth:q,columnCount:E},a.columnMetrics},T.prototype.crispCol=function(a,O,m,j){var f=this.chart,M=this.borderWidth,I=-(M%2?.5:0);return M=M%2?.5:1,f.inverted&&f.renderer.isVML&&(M+=1),this.options.crisp&&(m=Math.round(a+m)+I,a=Math.round(a)+I,m-=a),j=Math.round(O+j)+M,I=.5>=Math.abs(O)&&.5a.closestPointRange*a.xAxis.transA;j=a.borderWidth=k(m.borderWidth,j?0:1);var f=a.xAxis,M=a.yAxis,I=m.threshold,E=a.translatedThreshold=M.getThreshold(I),B=k(m.minPointLength,5),U=a.getColumnMetrics(),q=U.width,D=a.pointXOffset=U.offset,l=a.dataMin,L=a.dataMax,H=a.barW=Math.max(q,1+2*j);O.inverted&&(E-=.5),m.pointPadding&&(H=Math.ceil(H)),_.prototype.translate.apply(a),a.points.forEach(function(G){var W=k(G.yBottom,E),R=999+Math.abs(W),F=G.plotX||0;R=h(G.plotY,-R,M.len+R);var z=Math.min(R,W),K=Math.max(R,W)-z,V=q,X=F+D,Y=H;B&&Math.abs(K)B?W-B:E-(F?B:0)),s(G.options.pointWidth)&&(V=Y=Math.ceil(G.options.pointWidth),X-=Math.round((V-q)/2)),m.centerInCategory&&(X=a.adjustForMissingColumns(X,V,G,U)),G.barX=X,G.pointWidth=V,G.tooltipPos=O.inverted?[h(M.len+M.pos-O.plotLeft-R,M.pos-O.plotLeft,M.len+M.pos-O.plotLeft),f.len+f.pos-O.plotTop-X-Y/2,K]:[f.left-O.plotLeft+X+Y/2,h(R+M.pos-O.plotTop,M.pos-O.plotTop,M.len+M.pos-O.plotTop),K],G.shapeType=a.pointClass.prototype.shapeType||"rect",G.shapeArgs=a.crispCol.apply(a,G.isNull?[X,E,Y,0]:[X,z,Y,K])})},T.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},T.prototype.pointAttribs=function(a,O){var m=this.options,j=this.pointAttrToOptions||{},f=j.stroke||"borderColor",M=j["stroke-width"]||"borderWidth",I=a&&a.color||this.color,E=a&&a[f]||m[f]||I;j=a&&a.options.dashStyle||m.dashStyle;var B=a&&a[M]||m[M]||this[M]||0,U=k(a&&a.opacity,m.opacity,1);if(a&&this.zones.length){var q=a.getZone();I=a.options.color||q&&(q.color||a.nonZonedColor)||this.color,q&&(E=q.borderColor||E,j=q.dashStyle||j,B=q.borderWidth||B)}return O&&a&&(a=$(m.states[O],a.options.states&&a.options.states[O]||{}),O=a.brightness,I=a.color||typeof O<"u"&&p(I).brighten(a.brightness).get()||I,E=a[f]||E,B=a[M]||B,j=a.dashStyle||j,U=k(a.opacity,U)),f={fill:I,stroke:E,"stroke-width":B,opacity:U},j&&(f.dashstyle=j),f},T.prototype.drawPoints=function(a){a===void 0&&(a=this.points);var O=this,m=this.chart,j=O.options,f=m.renderer,M=j.animationLimit||250,I;a.forEach(function(E){var B=E.graphic,U=!!B,q=B&&m.pointCount"&&a>m||O==="<"&&a="&&a>=m||O==="<="&&a<=m||O==="=="&&a==m||O==="==="&&a===m):!0}function $(a){a===void 0&&(a=this.points);var O=this,m=O.chart,j=O.options,f=O.hasRendered||0,M=m.renderer,I=m.options.chart,E=I.backgroundColor;I=I.plotBackgroundColor;var B=M.getContrast(x(I)&&I||x(E)&&E||"#000000"),U=j.dataLabels,q;if(E=U.animation,E=U.defer?b(m,E,O):{defer:0,duration:0},U=A(A(m.options.plotOptions&&m.options.plotOptions.series&&m.options.plotOptions.series.dataLabels,m.options.plotOptions&&m.options.plotOptions[O.type]&&m.options.plotOptions[O.type].dataLabels),U),S(this,"drawDataLabels"),P(U)||U.enabled||O._hasPointLabels){var D=O.plotGroup("dataLabelsGroup","data-labels",f?"inherit":"hidden",U.zIndex||6);D.attr({opacity:+f}),!f&&(f=O.dataLabelsGroup)&&(O.visible&&D.show(),f[j.animation?"animate":"attr"]({opacity:1},E)),a.forEach(function(l){q=s(A(U,l.dlOptions||l.options&&l.options.dataLabels)),q.forEach(function(L,H){var G=L.enabled&&(!l.isNull||l.dataLabelOnNull)&&w(l,L),W=l.connectors?l.connectors[H]:l.connector,R=l.dataLabels?l.dataLabels[H]:l.dataLabel,F=!R,z=h(L.distance,l.labelDistance);if(G){var K=l.getLabelConfig(),V=h(L[l.formatPrefix+"Format"],L.format);K=_(V)?C(V,K,m):(L[l.formatPrefix+"Formatter"]||L.formatter).call(K,L),V=L.style;var X=L.rotation;m.styledMode||(V.color=h(L.color,V.color,O.color,"#000000"),V.color==="contrast"?(l.contrastColor=M.getContrast(l.color||O.color),V.color=!_(z)&&L.inside||0>z||j.stacking?l.contrastColor:B):delete l.contrastColor,j.cursor&&(V.cursor=j.cursor));var Y={r:L.borderRadius||0,rotation:X,padding:L.padding,zIndex:1};if(!m.styledMode){z=L.backgroundColor;var Z=L.borderColor;Y.fill=z==="auto"?l.color:z,Y.stroke=Z==="auto"?l.color:Z,Y["stroke-width"]=L.borderWidth}c(Y,function(et,nt){typeof et>"u"&&delete Y[nt]})}!R||G&&_(K)&&!!R.div==!!L.useHTML&&(R.rotation&&L.rotation||R.rotation===L.rotation)||(F=!0,l.dataLabel=R=l.dataLabel&&l.dataLabel.destroy(),l.dataLabels&&(l.dataLabels.length===1?delete l.dataLabels:delete l.dataLabels[H]),H||delete l.dataLabel,W&&(l.connector=l.connector.destroy(),l.connectors&&(l.connectors.length===1?delete l.connectors:delete l.connectors[H]))),G&&_(K)?(R?Y.text=K:(l.dataLabels=l.dataLabels||[],R=l.dataLabels[H]=X?M.text(K,0,0,L.useHTML).addClass("highcharts-data-label"):M.label(K,0,0,L.shape,null,null,L.useHTML,null,"data-label"),H||(l.dataLabel=R),R.addClass(" highcharts-data-label-color-"+l.colorIndex+" "+(L.className||"")+(L.useHTML?" highcharts-tracker":""))),R.options=L,R.attr(Y),m.styledMode||R.css(V).shadow(L.shadow),(H=L[l.formatPrefix+"TextPath"]||L.textPath)&&!L.useHTML&&(R.setTextPath(l.getDataLabelPath&&l.getDataLabelPath(R)||l.graphic,H),l.dataLabelPath&&!H.enabled&&(l.dataLabelPath=l.dataLabelPath.destroy())),R.added||R.add(D),O.alignDataLabel(l,R,L,null,F)):R&&R.hide()})})}S(this,"afterDrawDataLabels")}function k(a,O,m,j,f,M){var I=this.chart,E=O.align,B=O.verticalAlign,U=a.box?0:a.padding||0,q=O.x;q=q===void 0?0:q;var D=O.y;D=D===void 0?0:D;var l=(m.x||0)+U;if(0>l){E==="right"&&0<=q?(O.align="left",O.inside=!0):q-=l;var L=!0}return l=(m.x||0)+j.width-U,l>I.plotWidth&&(E==="left"&&0>=q?(O.align="right",O.inside=!0):q+=I.plotWidth-l,L=!0),l=m.y+U,0>l&&(B==="bottom"&&0<=D?(O.verticalAlign="top",O.inside=!0):D-=l,L=!0),l=(m.y||0)+j.height-U,l>I.plotHeight&&(B==="top"&&0>=D?(O.verticalAlign="bottom",O.inside=!0):D+=I.plotHeight-l,L=!0),L&&(O.x=q,O.y=D,a.placed=!M,a.align(O,void 0,f)),L}function A(a,O){var m=[],j;if(P(a)&&!P(O))m=a.map(function(f){return p(f,O)});else if(P(O)&&!P(a))m=O.map(function(f){return p(a,f)});else if(P(a)||P(O))for(j=Math.max(a.length,O.length);j--;)m[j]=p(a[j],O[j]);else m=p(a,O);return m}function g(a,O,m,j,f){var M=this.chart,I=M.inverted,E=this.xAxis,B=E.reversed,U=I?O.height/2:O.width/2;a=(a=a.pointWidth)?a/2:0,O.startXPos=I?f.x:B?-U-a:E.width-U+a,O.startYPos=I?B?this.yAxis.height-U+a:-U-a:f.y,j?O.visibility==="hidden"&&(O.show(),O.attr({opacity:0}).animate({opacity:1})):O.attr({opacity:1}).animate({opacity:0},void 0,O.hide),M.hasRendered&&(m&&O.attr({x:O.startXPos,y:O.startYPos}),O.placed=!0)}var T=[];y.compose=function(a){if(T.indexOf(a)===-1){var O=a.prototype;T.push(a),O.alignDataLabel=v,O.drawDataLabels=$,O.justifyDataLabel=k,O.setDataLabelStartPos=g}}}(d||(d={})),d}),o(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(i,r,u){var b=r.series,C=u.merge,_=u.pick,N;return function(S){function P(p,c,h,s,d){var y=this.chart.inverted,v=p.series,w=(v.xAxis?v.xAxis.len:this.chart.plotSizeX)||0;v=(v.yAxis?v.yAxis.len:this.chart.plotSizeY)||0;var $=p.dlBox||p.shapeArgs,k=_(p.below,p.plotY>_(this.translatedThreshold,v)),A=_(h.inside,!!this.options.stacking);$&&(s=C($),0>s.y&&(s.height+=s.y,s.y=0),$=s.y+s.height-v,0<$&&$ {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),o(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(i,r,u){var b=this&&this.__extends||function(){var x=function(p,c){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,s){h.__proto__=s}||function(h,s){for(var d in s)s.hasOwnProperty(d)&&(h[d]=s[d])},x(p,c)};return function(p,c){function h(){this.constructor=p}x(p,c),p.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),C=r.seriesTypes,_=C.column,N=C.line;C=u.addEvent;var S=u.extend,P=u.merge;return u=function(x){function p(){var c=x!==null&&x.apply(this,arguments)||this;return c.data=void 0,c.options=void 0,c.points=void 0,c}return b(p,x),p.prototype.applyJitter=function(){var c=this,h=this.options.jitter,s=this.points.length;h&&this.points.forEach(function(d,y){["x","y"].forEach(function(v,w){var $="plot"+v.toUpperCase();if(h[v]&&!d.isNull){var k=c[v+"Axis"],A=h[v]*k.transA;if(k&&!k.isLog){var g=Math.max(0,d[$]-A);k=Math.min(k.len,d[$]+A),w=1e4*Math.sin(y+w*s),d[$]=g+(k-g)*(w-Math.floor(w)),v==="x"&&(d.clientX=d.plotX)}}})})},p.prototype.drawGraph=function(){this.options.lineWidth?x.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},p.defaultOptions=P(N.defaultOptions,i),p}(N),S(u.prototype,{drawTracker:_.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),C(u,"afterTranslate",function(){this.applyJitter()}),r.registerSeriesType("scatter",u),u}),o(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(i,r,u){var b=i.deg2rad,C=u.fireEvent,_=u.isNumber,N=u.pick,S=u.relativeLength,P;return function(x){x.getCenter=function(){var p=this.options,c=this.chart,h=2*(p.slicedOffset||0),s=c.plotWidth-2*h,d=c.plotHeight-2*h,y=p.center,v=Math.min(s,d),w=p.thickness,$=p.size,k=p.innerSize||0;for(typeof $=="string"&&($=parseFloat($)),typeof k=="string"&&(k=parseFloat(k)),p=[N(y[0],"50%"),N(y[1],"50%"),N($&&0>$?void 0:p.size,"100%"),N(k&&0>k?void 0:p.innerSize||0,"0%")],!c.angular||this instanceof r||(p[3]=0),y=0;4>y;++y)$=p[y],c=2>y||y===2&&/%$/.test($),p[y]=S($,[s,d,v,p[2]][y])+(c?h:0);return p[3]>p[2]&&(p[3]=p[2]),_(w)&&2*wp&&360>c-p?c:p+360,{start:b*(p+-90),end:b*(c+-90)}}}(P||(P={})),P}),o(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(i,r,u){var b=this&&this.__extends||function(){var p=function(c,h){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var y in d)d.hasOwnProperty(y)&&(s[y]=d[y])},p(c,h)};return function(c,h){function s(){this.constructor=c}p(c,h),c.prototype=h===null?Object.create(h):(s.prototype=h.prototype,new s)}}(),C=i.setAnimation,_=u.addEvent,N=u.defined;i=u.extend;var S=u.isNumber,P=u.pick,x=u.relativeLength;return r=function(p){function c(){var h=p!==null&&p.apply(this,arguments)||this;return h.labelDistance=void 0,h.options=void 0,h.series=void 0,h}return b(c,p),c.prototype.getConnectorPath=function(){var h=this.labelPosition,s=this.series.options.dataLabels,d=this.connectorShapes,y=s.connectorShape;return d[y]&&(y=d[y]),y.call(this,{x:h.final.x,y:h.final.y,alignment:h.alignment},h.connectorPosition,s)},c.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},c.prototype.haloPath=function(h){var s=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(s.x,s.y,s.r+h,s.r+h,{innerR:s.r-1,start:s.start,end:s.end})},c.prototype.init=function(){var h=this;p.prototype.init.apply(this,arguments),this.name=P(this.name,"Slice");var s=function(d){h.slice(d.type==="select")};return _(this,"select",s),_(this,"unselect",s),this},c.prototype.isValid=function(){return S(this.y)&&0<=this.y},c.prototype.setVisible=function(h,s){var d=this,y=this.series,v=y.chart,w=y.options.ignoreHiddenPoint;s=P(s,w),h!==this.visible&&(this.visible=this.options.visible=h=typeof h>"u"?!this.visible:h,y.options.data[y.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function($){d[$]&&d[$][h?"show":"hide"](h)}),this.legendItem&&v.legend.colorizeItem(this,h),h||this.state!=="hover"||this.setState(""),w&&(y.isDirty=!0),s&&v.redraw())},c.prototype.slice=function(h,s,d){var y=this.series;C(d,y.chart),P(s,!0),this.sliced=this.options.sliced=N(h)?h:!this.sliced,y.options.data[y.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},c}(r),i(r.prototype,{connectorShapes:{fixedOffset:function(p,c,h){var s=c.breakAt;return c=c.touchingSliceAt,[["M",p.x,p.y],h.softConnector?["C",p.x+(p.alignment==="left"?-5:5),p.y,2*s.x-c.x,2*s.y-c.y,s.x,s.y]:["L",s.x,s.y],["L",c.x,c.y]]},straight:function(p,c){return c=c.touchingSliceAt,[["M",p.x,p.y],["L",c.x,c.y]]},crookedLine:function(p,c,h){c=c.touchingSliceAt;var s=this.series,d=s.center[0],y=s.chart.plotWidth,v=s.chart.plotLeft;s=p.alignment;var w=this.shapeArgs.r;return h=x(h.crookDistance,1),y=s==="left"?d+w+(y+v-d-w)*(1-h):v+(d-w)*h,h=["L",y,p.y],d=!0,(s==="left"?y>p.x||yc.x)&&(d=!1),p=[["M",p.x,p.y]],d&&p.push(h),p.push(["L",c.x,c.y]),p}}}),r}),o(n,"Series/Pie/PieSeriesDefaults.js",[],function(){return{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}}}}),o(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["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],function(i,r,u,b,C,_,N,S,P,x){var p=this&&this.__extends||function(){var $=function(k,A){return $=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,T){g.__proto__=T}||function(g,T){for(var a in T)T.hasOwnProperty(a)&&(g[a]=T[a])},$(k,A)};return function(k,A){function g(){this.constructor=k}$(k,A),k.prototype=A===null?Object.create(A):(g.prototype=A.prototype,new g)}}(),c=i.getStartAndEndRadians;u=u.noop;var h=x.clamp,s=x.extend,d=x.fireEvent,y=x.merge,v=x.pick,w=x.relativeLength;return x=function($){function k(){var A=$!==null&&$.apply(this,arguments)||this;return A.center=void 0,A.data=void 0,A.maxLabelDistance=void 0,A.options=void 0,A.points=void 0,A}return p(k,$),k.prototype.animate=function(A){var g=this,T=g.points,a=g.startAngleRad;A||T.forEach(function(O){var m=O.graphic,j=O.shapeArgs;m&&j&&(m.attr({r:v(O.startR,g.center&&g.center[3]/2),start:a,end:a}),m.animate({r:j.r,start:j.start,end:j.end},g.options.animation))})},k.prototype.drawEmpty=function(){var A=this.startAngleRad,g=this.endAngleRad,T=this.options;if(this.total===0&&this.center){var a=this.center[0],O=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(a,O,this.center[1]/2,0,A,g).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:P.arc(a,O,this.center[2]/2,0,{start:A,end:g,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":T.borderWidth,fill:T.fillColor||"none",stroke:T.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},k.prototype.drawPoints=function(){var A=this.chart.renderer;this.points.forEach(function(g){g.graphic&&g.hasNewShapeType()&&(g.graphic=g.graphic.destroy()),g.graphic||(g.graphic=A[g.shapeType](g.shapeArgs).add(g.series.group),g.delayedRendering=!0)})},k.prototype.generatePoints=function(){$.prototype.generatePoints.call(this),this.updateTotals()},k.prototype.getX=function(A,g,T){var a=this.center,O=this.radii?this.radii[T.index]||0:a[2]/2;return A=Math.asin(h((A-a[1])/(O+T.labelDistance),-1,1)),a[0]+(g?-1:1)*Math.cos(A)*(O+T.labelDistance)+(01.5*Math.PI?q-=2*Math.PI:q<-Math.PI/2&&(q+=2*Math.PI),B.slicedTranslation={translateX:Math.round(Math.cos(q)*T),translateY:Math.round(Math.sin(q)*T)},D=Math.cos(q)*A[2]/2;var l=Math.sin(q)*A[2]/2;B.tooltipPos=[A[0]+.7*D,A[1]+.7*l],B.half=q<-Math.PI/2||q>Math.PI/2?1:0,B.angle=q,U=Math.min(a,B.labelDistance/5),B.labelPosition={natural:{x:A[0]+D+Math.cos(q)*B.labelDistance,y:A[1]+l+Math.sin(q)*B.labelDistance},final:{},alignment:0>B.labelDistance?"center":B.half?"right":"left",connectorPosition:{breakAt:{x:A[0]+D+Math.cos(q)*U,y:A[1]+l+Math.sin(q)*U},touchingSliceAt:{x:A[0]+D,y:A[1]+l}}}}d(this,"afterTranslate")},k.prototype.updateTotals=function(){var A=this.points,g=A.length,T=this.options.ignoreHiddenPoint,a,O=0;for(a=0;aI&&(et.dataLabel.css({width:Math.round(.7*I)+"px"}),et.dataLabel.shortened=!0)):(et.dataLabel=et.dataLabel.destroy(),et.dataLabels&&et.dataLabels.length===1&&delete et.dataLabels))}),q.forEach(function(et,nt){var at=et.length,ct=[],dt;if(at){if(g.sortByAngle(et,nt-.5),0"u"?X="hidden":(z=L.distributeBox.size,V=l.radialDistributionY(L))),delete L.positionIndex,O.justify)K=l.justify(L,B,E);else switch(O.alignTo){case"connectors":K=l.alignToConnectors(et,nt,j,M);break;case"plotEdges":K=l.alignToPlotEdges(W,nt,j,M);break;default:K=l.radialDistributionX(g,L,V,ut)}W._attr={visibility:X,align:F.alignment},Z=L.options.dataLabels||{},W._pos={x:K+h(Z.x,O.x)+({left:m,right:-m}[F.alignment]||0),y:V+h(Z.y,O.y)-10},F.final.x=K,F.final.y=V,h(O.crop,!0)&&(R=W.getBBox().width,ut=null,K-Rj-m&&nt===0&&(ut=Math.round(K+R-j+m),D[1]=Math.max(ut,D[1])),0>V-z/2?D[0]=Math.max(Math.round(-V+z/2),D[0]):V+z/2>f&&(D[2]=Math.max(Math.round(V+z/2-f),D[2])),W.sideOverflow=ut)}}}),P(D)===0||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),this.points.forEach(function(et){if(Z=c(O,et.options.dataLabels),H=h(Z.connectorWidth,1)){var nt;G=et.connector,(W=et.dataLabel)&&W._pos&&et.visible&&0T.bottom-2?O:a,T.half,T)},justify:function(g,T,a){return a[0]+(g.half?-1:1)*(T+g.labelDistance)},alignToPlotEdges:function(g,T,a,O){return g=g.getBBox().width,T?g+O:a-g-O},alignToConnectors:function(g,T,a,O){var m=0,j;return g.forEach(function(f){j=f.dataLabel.getBBox().width,j>m&&(m=j)}),T?m+O:a-m-O}};y.compose=function(g){i.compose(S),k.indexOf(g)===-1&&(k.push(g),g=g.prototype,g.dataLabelPositioners=A,g.alignDataLabel=_,g.drawDataLabels=v,g.placeDataLabels=w,g.verifyDataLabelOverflow=$)}}(d||(d={})),d}),o(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],function(i,r){function u(x,p){var c=!1;if(x){var h=x.newOpacity;x.oldOpacity!==h&&(x.alignAttr&&x.placed?(x[h?"removeClass":"addClass"]("highcharts-data-label-hidden"),c=!0,x.alignAttr.opacity=h,x[x.isOld?"animate":"attr"](x.alignAttr,null,function(){p.styledMode||x.css({pointerEvents:h?"auto":"none"})}),C(p,"afterHideOverlappingLabel")):x.attr({opacity:h})),x.isOld=!0}return c}var b=r.addEvent,C=r.fireEvent,_=r.isArray,N=r.isNumber,S=r.objectEach,P=r.pick;b(i,"render",function(){var x=this,p=[];(this.labelCollectors||[]).forEach(function(c){p=p.concat(c())}),(this.yAxis||[]).forEach(function(c){c.stacking&&c.options.stackLabels&&!c.options.stackLabels.allowOverlap&&S(c.stacking.stacks,function(h){S(h,function(s){s.label&&p.push(s.label)})})}),(this.series||[]).forEach(function(c){var h=c.options.dataLabels;c.visible&&(h.enabled!==!1||c._hasPointLabels)&&(h=function(s){return s.forEach(function(d){d.visible&&(_(d.dataLabels)?d.dataLabels:d.dataLabel?[d.dataLabel]:[]).forEach(function(y){var v=y.options;y.labelrank=P(v.labelrank,d.labelrank,d.shapeArgs&&d.shapeArgs.height),v.allowOverlap?(y.oldOpacity=y.opacity,y.newOpacity=1,u(y,x)):p.push(y)})})},h(c.nodes||[]),h(c.points))}),this.hideOverlappingLabels(p)}),i.prototype.hideOverlappingLabels=function(x){var p=this,c=x.length,h=p.renderer,s,d,y,v=!1,w=function(A){var g,T=A.box?0:A.padding||0,a=g=0,O;if(A&&(!A.alignAttr||A.placed)){var m=A.alignAttr||{x:A.attr("x"),y:A.attr("y")},j=A.parentGroup;A.width||(g=A.getBBox(),A.width=g.width,A.height=g.height,g=h.fontMetrics(null,A.element).h);var f=A.width-2*T;return(O={left:"0",center:"0.5",right:"1"}[A.alignValue])?a=+O*f:N(A.x)&&Math.round(A.x)!==A.translateX&&(a=A.x-A.translateX),{x:m.x+(j.translateX||0)+T-(a||0),y:m.y+(j.translateY||0)+T-g,width:A.width-2*T,height:A.height-2*T}}};for(d=0;d=$.x+$.width||k.x+k.width<=$.x||k.y>=$.y+$.height||k.y+k.height<=$.y||((w.labelrank"u"?null:A[m]})}var w=this,$={};return v(y,this.options,$,0),$},d.prototype.matchResponsiveRule=function(y,v){var w=y.condition;(w.callback||function(){return this.chartWidth<=S(w.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=S(w.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=S(w.minWidth,0)&&this.chartHeight>=S(w.minHeight,0)}).call(this)&&v.push(y._id)},d.prototype.setResponsive=function(y,v){var w=this,$=this.options.responsive,k=this.currentResponsive,A=[];!v&&$&&$.rules&&$.rules.forEach(function(g){typeof g._id>"u"&&(g._id=x()),w.matchResponsiveRule(g,A)},this),v=_.apply(void 0,A.map(function(g){return u(($||{}).rules||[],function(T){return T._id===g})}).map(function(g){return g&&g.chartOptions})),v.isResponsiveOptions=!0,A=A.toString()||void 0,A!==(k&&k.ruleIds)&&(k&&this.update(k.undoOptions,y,!0),A?(k=this.currentOptions(v),k.isResponsiveOptions=!0,this.currentResponsive={ruleIds:A,mergedOptions:v,undoOptions:k},this.update(v,y,!0)):this.currentResponsive=void 0)},d}()}(p||(p={})),p}),o(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.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/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.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(i,r,u,b,C,_,N,S,P,x,p,c,h,s,d,y,v,w,$,k,A,g,T,a,O,m,j,f,M,I,E,B,U,q,D){return i.animate=C.animate,i.animObject=C.animObject,i.getDeferredAnimation=C.getDeferredAnimation,i.setAnimation=C.setAnimation,i.stop=C.stop,i.timers=b.timers,i.AST=_,i.Axis=h,i.Chart=T,i.chart=T.chart,i.Fx=b,i.Legend=g,i.PlotLineOrBand=y,i.Point=$,i.Pointer=A.isRequired()?A:k,i.Series=m,i.StackItem=O,i.SVGElement=P,i.SVGRenderer=x,i.Tick=v,i.Time=D,i.Tooltip=w,i.Color=q,i.color=q.parse,c.compose(x),p.compose(P),i.defaultOptions=u.defaultOptions,i.getOptions=u.getOptions,i.time=u.defaultTime,i.setOptions=u.setOptions,i.dateFormat=N.dateFormat,i.format=N.format,i.numberFormat=N.numberFormat,i.addEvent=r.addEvent,i.arrayMax=r.arrayMax,i.arrayMin=r.arrayMin,i.attr=r.attr,i.clearTimeout=r.clearTimeout,i.correctFloat=r.correctFloat,i.createElement=r.createElement,i.css=r.css,i.defined=r.defined,i.destroyObjectProperties=r.destroyObjectProperties,i.discardElement=r.discardElement,i.distribute=S.distribute,i.erase=r.erase,i.error=r.error,i.extend=r.extend,i.extendClass=r.extendClass,i.find=r.find,i.fireEvent=r.fireEvent,i.getMagnitude=r.getMagnitude,i.getStyle=r.getStyle,i.inArray=r.inArray,i.isArray=r.isArray,i.isClass=r.isClass,i.isDOMElement=r.isDOMElement,i.isFunction=r.isFunction,i.isNumber=r.isNumber,i.isObject=r.isObject,i.isString=r.isString,i.keys=r.keys,i.merge=r.merge,i.normalizeTickInterval=r.normalizeTickInterval,i.objectEach=r.objectEach,i.offset=r.offset,i.pad=r.pad,i.pick=r.pick,i.pInt=r.pInt,i.relativeLength=r.relativeLength,i.removeEvent=r.removeEvent,i.seriesType=j.seriesType,i.splat=r.splat,i.stableSort=r.stableSort,i.syncTimeout=r.syncTimeout,i.timeUnits=r.timeUnits,i.uniqueKey=r.uniqueKey,i.useSerialIds=r.useSerialIds,i.wrap=r.wrap,M.compose(f),B.compose(m),s.compose(h),d.compose(h),E.compose(I),y.compose(h),U.compose(T),a.compose(h,T,m),i}),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]})})(ws);var sd=ws.exports;const Qt=pe(sd),be={lang:{thousandsSep:","},colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:Ct.text_lt_default,fontFamily:Ot.font_family_base,fontWeight:Ot.bold,fontSize:Ot.heading_3}},subtitle:{style:{fontFamily:Ot.font_family_base,color:Ct.text_lt_light,fontWeight:Ot.regular,fontSize:Ot.text_base}},xAxis:{gridLineWidth:0,lineColor:Ct.border_light,tickColor:Ct.border_light,labels:{style:{fontFamily:Ot.font_family_base,color:Ct.text_lt_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}},title:{style:{color:Ct.text_lt_default,fontFamily:Ot.font_family_base,fontWeight:Ot.regular,fontSize:Ot.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:Ct.border_light,minorGridLineColor:Ct.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:Ot.font_family_base,color:Ct.text_lt_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}},title:{style:{fontFamily:Ot.font_family_base,color:Ct.text_lt_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:Ot.font_family_base,color:Ct.text_lt_light,fontWeight:Ot.regular,fontSize:Ot.text_smaller},itemHoverStyle:{color:Ct.text_lt_default},itemHiddenStyle:{color:Ct.text_lt_lighter}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,Ct.bg_dark],[1,Ct.bg_dark]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:Ot.font_family_base,color:Ct.text_dk_default,fontWeight:Ot.regular,fontSize:Ot.text_smaller}},pane:{background:{borderColor:Ct.border_light}},plotOptions:{series:{threshold:null},pie:{colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7],dataLabels:{style:{fontFamily:Ot.font_family_base,fontSize:Ot.text_smaller,color:Ct.text_lt_light,fontWeight:Ot.regular,textOutline:"2px $white"}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7,Ct.data_8],dataLabels:{enabled:!0,style:{fontFamily:Ot.font_family_base,fontWeight:Ot.bold,fontSize:Ot.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}},Ri={lang:{thousandsSep:","},colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:Ct.text_dk_default,fontFamily:Ot.font_family_base,fontWeight:Ot.bold,fontSize:Ot.heading_3}},subtitle:{style:{fontFamily:Ot.font_family_base,color:Ct.text_dk_light,fontWeight:Ot.regular,fontSize:Ot.text_base}},xAxis:{gridLineWidth:0,lineColor:Ct.border_dark,tickColor:Ct.border_dark,labels:{style:{fontFamily:Ot.font_family_base,color:Ct.text_dk_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}},title:{style:{color:Ct.text_dk_default,fontFamily:Ot.font_family_base,fontWeight:Ot.regular,fontSize:Ot.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:Ct.border_dark,minorGridLineColor:Ct.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:Ot.font_family_base,color:Ct.text_dk_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}},title:{style:{fontFamily:Ot.font_family_base,color:Ct.text_dk_lighter,fontWeight:Ot.bold,fontSize:Ot.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:Ot.font_family_base,color:Ct.text_dk_light,fontWeight:Ot.regular,fontSize:Ot.text_smaller},itemHoverStyle:{color:Ct.text_dk_default},itemHiddenStyle:{color:Ct.text_dk_lighter}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,Ct.card_light],[1,Ct.card_light]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:Ot.font_family_base,color:Ct.text_lt_default,fontWeight:Ot.regular,fontSize:Ot.text_smaller}},pane:{background:{borderColor:Ct.border_dark}},plotOptions:{series:{borderColor:Ct.bg_dark_card,borderWidth:2,threshold:null},pie:{colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7],dataLabels:{style:{fontFamily:Ot.font_family_base,fontSize:Ot.text_smaller,color:Ct.text_dk_light,fontWeight:Ot.regular}}},line:{dataLabels:{color:Ct.text_dk_light},marker:{lineColor:Ct.border_dark}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[Ct.data_1,Ct.data_2,Ct.data_3,Ct.data_4,Ct.data_5,Ct.data_6,Ct.data_7,Ct.data_8],dataLabels:{enabled:!0,style:{fontFamily:Ot.font_family_base,fontWeight:Ot.bold,fontSize:Ot.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}},hi=e=>{const t=/(data)\-[1-8]/;return e.map(n=>t.test(n)?`${Ct[`data_${n[n.length-1]}`]}`:n)},i2=e=>{var{aria:t={},data:o={},align:n="center",axisTitle:i,dark:r=!1,chartData:u,className:b="pb_bar_graph",colors:C,htmlOptions:_={},customOptions:N={},axisFormat:S,id:P,pointStart:x,stacking:p,subTitle:c,type:h="column",title:s="Title",xAxisCategories:d,yAxisMin:y,yAxisMax:v,legend:w=!1,toggleLegendClick:$=!0,height:k,layout:A="horizontal",verticalAlign:g="bottom",x:T=0,y:a=0}=e,O=me(e,["aria","data","align","axisTitle","dark","chartData","className","colors","htmlOptions","customOptions","axisFormat","id","pointStart","stacking","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]);const m=zt(t),j=Bt(o),f=It(_);(()=>{r?Qt.setOptions(Ri):Qt.setOptions(be)})();const I={title:{text:s},chart:{height:k,type:h},subtitle:{text:c},yAxis:[{labels:{format:typeof S=="string"?S:S&&S[0]?S[0].format:""},min:y,max:v,opposite:!1,title:{text:Array.isArray(i)?i.length>0?i[0].name:null:i},plotLines:typeof y<"u"&&y!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:d},legend:{enabled:w,align:n,verticalAlign:g,layout:A,x:T,y:a},colors:C!==void 0&&C.length>0?hi(C):be.colors,plotOptions:{series:{stacking:p,pointStart:x,borderWidth:p?0:"",events:{},dataLabels:{enabled:!1}}},series:u,credits:!1};Array.isArray(i)&&i.length>1&&i[1].name&&I.yAxis.push({labels:{format:typeof S=="string"?S:S[1].format},min:y,max:v,opposite:!0,title:{text:i[1].name},plotLines:typeof y<"u"&&y!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}),$||(I.plotOptions.series.events={legendItemClick:()=>!1});const E=Object.assign({},O);delete E.verticalAlign;const[B,U]=Nt({});return qt(()=>{U(te.merge(I,N))},[u]),tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt(Tt(E),b),id:P},m),j),f),highcharts:Qt,options:B},void 0)},ad=e=>{const{disabled:t=!1,fullWidth:o=!1,highlight:n,icon:i,loading:r=!1,type:u="inline",variant:b="primary",size:C=null}=e;let _="pb_button_kit";return _+=`${b!==null?`_${b}`:""}`,_+=`${u!==null?`_${u}`:""}`,_+=`${o?"_block":""}`,_+=t?"_disabled":"_enabled",_+=r?"_loading":"",_+=`${C!==null?` size_${C}`:""}`,_+=`${b==="reaction"&&!sn(i)?" reaction_default":""}`,_+=`${b==="reaction"&&n?" active":""}`,_},ln=e=>{const{aria:t={},children:o,className:n,count:i,data:r={},disabled:u,htmlOptions:b={},icon:C=null,iconRight:_=!1,id:N,loading:S=!1,onClick:P,tabIndex:x,link:p=null,newWindow:c=!1,target:h="",text:s,htmlType:d="button",value:y,variant:v,form:w=null}=e,$=zt(t),k=Bt(r),A=It(b),g=Pt(ad(e),Tt(e),n),T=tt.jsx("div",Object.assign({className:"loading-icon"},{children:tt.jsx(Ut,{fixedWidth:!0,icon:"spinner",pulse:!0},void 0)}),void 0),a=tt.jsxs("span",Object.assign({className:"pb_button_content"},{children:[C&&!_&&tt.jsx("i",{className:`pb_icon_kit far fa-${C} fa-fw button_with_icon`},void 0),tt.jsx("span",{children:s||o},void 0),C&&_&&tt.jsx("i",{className:`pb_icon_kit far fa-${C} fa-fw button_with_icon_right`},void 0)]}),void 0),O=()=>S?tt.jsx(tt.Fragment,{children:T},void 0):a,m=()=>h&&p?h:c?"_blank":null,j=()=>p?tt.jsx("a",Object.assign({},$,k,A,{className:g,href:p,id:N,rel:h!=="child"?"noreferrer":null,role:"link",tabIndex:x,target:m()},{children:O()}),void 0):v==="reaction"?tt.jsxs("button",Object.assign({},$,k,A,{className:g,disabled:u,form:w,id:N,onClick:P,role:"button",tabIndex:x,type:d,value:y},{children:[C&&sn(C)&&tt.jsxs(ne,Object.assign({align:"center"},{children:[tt.jsx(Ut,{icon:C},void 0),i&&tt.jsx(Xe,Object.assign({paddingLeft:"xxs",size:"xs"},{children:i}),void 0)]}),void 0),!sn(C)&&tt.jsx(Ut,{icon:C||"face-smile-plus"},void 0)]}),void 0):tt.jsx("button",Object.assign({},$,k,A,{className:g,disabled:u,form:w,id:N,onClick:P,role:"button",tabIndex:x,type:d,value:y},{children:O()}),void 0);return tt.jsx(tt.Fragment,{children:j()},void 0)},ld=e=>{const{aria:t={},checked:o=!1,children:n,className:i,dark:r=!1,data:u={},disabled:b=!1,error:C=!1,htmlOptions:_={},id:N,indeterminate:S=!1,name:P="",onChange:x=()=>{},tabIndex:p,text:c="",value:h=""}=e,s=de(null),d=zt(t),y=Bt(u),v=It(_),w=Pt(Dt("pb_checkbox_kit",o?"checked":null,C?"error":null,S?"indeterminate":null),Tt(e),i);qt(()=>{s.current&&(s.current.checked=o,s.current.indeterminate=S)},[S,o]);const $=()=>n||tt.jsx("input",{defaultChecked:o,disabled:b,name:P,onChange:x,ref:s,tabIndex:p,type:"checkbox",value:h},void 0);return tt.jsxs("label",Object.assign({},d,y,v,{className:w,id:N},{children:[tt.jsx(tt.Fragment,{children:$()},void 0),!S&&tt.jsx("span",Object.assign({className:"pb_checkbox_checkmark"},{children:tt.jsx(Ut,{className:"check_icon",fixedWidth:!0,icon:"check"},void 0)}),void 0),S&&tt.jsx("span",Object.assign({className:"pb_checkbox_indeterminate"},{children:tt.jsx(Ut,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"},void 0)}),void 0),tt.jsx(Ee,Object.assign({className:"pb_checkbox_label",dark:r,status:C?"negative":null,variant:null},{children:c}),void 0)]}),void 0)};var Os={exports:{}};(function(e){(function(t){e.exports?(t.default=t,e.exports=t):t(typeof Highcharts<"u"?Highcharts:void 0)})(function(t){function o(n,i,r,u){n.hasOwnProperty(i)||(n[i]=u.apply(null,r),typeof CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:n[i]}})))}t=t?t._modules:{},o(t,"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(n,i,r,u,b){function C(h,s,d,y,v){var w=!0,$=d[0],k=d[1],A=Math.sqrt(Math.pow(h-$,2)+Math.pow(s-k,2));return S(y)&&S(v)&&(h=Math.atan2(N(s-k,8),N(h-$,8)),v!==y&&(w=y>v?h>=y&&h<=Math.PI||h<=v&&h>=-Math.PI:h>=y&&h<=N(v,8))),A<=Math.ceil(d[2]/2)&&w}var _=b.addEvent,N=b.correctFloat,S=b.defined,P=b.extend,x=b.merge,p=b.pick,c=b.splat;return n.prototype.collectionsWithUpdate.push("pane"),b=function(){function h(s,d){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(s,d)}return h.prototype.init=function(s,d){this.chart=d,this.background=[],d.pane.push(this),this.setOptions(s)},h.prototype.setOptions=function(s){this.options=x(this.defaultOptions,this.chart.angular?{background:{}}:void 0,s)},h.prototype.render=function(){var s=this.options,d=this.options.background,y=this.chart.renderer;if(this.group||(this.group=y.g("pane-group").attr({zIndex:s.zIndex||0}).add()),this.updateCenter(),d)for(d=c(d),s=Math.max(d.length,this.background.length||0),y=0;y● {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};return u=function(y){function v(){var w=y!==null&&y.apply(this,arguments)||this;return w.data=void 0,w.options=void 0,w.points=void 0,w.lowerStateMarkerGraphic=void 0,w.xAxis=void 0,w}return b(v,y),v.prototype.toYData=function(w){return[w.low,w.high]},v.prototype.highToXY=function(w){var $=this.chart,k=this.xAxis.postTranslate(w.rectPlotX||0,this.yAxis.len-(w.plotHigh||0));w.plotHighX=k.x-$.plotLeft,w.plotHigh=k.y-$.plotTop,w.plotLowX=w.plotX},v.prototype.getGraphPath=function(w){var $=[],k=[],A=N.getGraphPath,g=this.options,T=this.chart.polar,a=T&&g.connectEnds!==!1,O=g.connectNulls,m,j=g.step;for(w=w||this.points,m=w.length;m--;){var f=w[m],M=T?{plotX:f.rectPlotX,plotY:f.yBottom,doCurve:!1}:{plotX:f.plotX,plotY:f.plotY,doCurve:!1};f.isNull||a||O||w[m+1]&&!w[m+1].isNull||k.push(M);var I={polarPlotY:f.polarPlotY,rectPlotX:f.rectPlotX,yBottom:f.yBottom,plotX:h(f.plotHighX,f.plotX),plotY:f.plotHigh,isNull:f.isNull};k.push(I),$.push(I),f.isNull||a||O||w[m-1]&&!w[m-1].isNull||k.push(M)}return w=A.call(this,w),j&&(j===!0&&(j="left"),g.step={left:"right",center:"center",right:"left"}[j]),$=A.call(this,$),k=A.call(this,k),g.step=j,g=[].concat(w,$),!this.chart.polar&&k[0]&&k[0][0]==="M"&&(k[0]=["L",k[0][1],k[0][2]]),this.graphPath=g,this.areaPath=w.concat(k),g.isArea=!0,g.xMap=w.xMap,this.areaPath.xMap=w.xMap,g},v.prototype.drawDataLabels=function(){var w=this.points,$=w.length,k=[],A=this.options.dataLabels,g=this.chart.inverted,T,a;if(A){if(p(A))var O=A[0]||{enabled:!1},m=A[1]||{enabled:!1};else O=x({},A),O.x=A.xHigh,O.y=A.yHigh,m=x({},A),m.x=A.xLow,m.y=A.yLow;if(O.enabled||this._hasPointLabels){for(T=$;T--;)if(a=w[T]){var j=a.plotHigh;j=j===void 0?0:j;var f=a.plotLow;f=f===void 0?0:f,f=O.inside?jf,a.y=a.high,a._plotY=a.plotY,a.plotY=j,k[T]=a.dataLabel,a.dataLabel=a.dataLabelUpper,a.below=f,g?O.align||(O.align=f?"right":"left"):O.verticalAlign||(O.verticalAlign=f?"top":"bottom")}for(this.options.dataLabels=O,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments),T=$;T--;)(a=w[T])&&(a.dataLabelUpper=a.dataLabel,a.dataLabel=k[T],delete a.dataLabels,a.y=a.low,a.plotY=a._plotY)}if(m.enabled||this._hasPointLabels){for(T=$;T--;)(a=w[T])&&(k=a.plotHigh,j=k===void 0?0:k,k=a.plotLow,f=k===void 0?0:k,f=m.inside?jf,a.below=!f,g?m.align||(m.align=f?"left":"right"):m.verticalAlign||(m.verticalAlign=f?"bottom":"top"));this.options.dataLabels=m,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments)}if(O.enabled)for(T=$;T--;)(a=w[T])&&(a.dataLabels=[a.dataLabelUpper,a.dataLabel].filter(function(M){return!!M}));this.options.dataLabels=A}},v.prototype.alignDataLabel=function(){S.alignDataLabel.apply(this,arguments)},v.prototype.drawPoints=function(){var w=this.points.length,$;for(N.drawPoints.apply(this,arguments),$=0;${series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),P}(n),C(u.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:i,setStackedPoints:i}),r.registerSeriesType("boxplot",u),u}),o(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}}),o(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,i,r,u){var b=n.parse,C=r.noop,_=u.arrayMax,N=u.arrayMin,S=u.isNumber,P=u.merge,x=u.pick,p=u.stableSort;return n=function(){function c(h,s){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=C,this.init(h,s)}return c.prototype.init=function(h,s){this.options=h,this.visible=!0,this.chart=s.chart,this.legend=s},c.prototype.addToLegend=function(h){h.splice(this.options.legendIndex,0,this)},c.prototype.drawLegendSymbol=function(h){var s=this.chart,d=x(h.options.itemDistance,20),y=this.legendItem||{},v=this.options,w=v.ranges,$=v.connectorDistance;this.fontMetrics=s.renderer.fontMetrics(v.labels.style.fontSize),w&&w.length&&S(w[0].value)?(p(w,function(k,A){return A.value-k.value}),this.ranges=w,this.setOptions(),this.render(),h=this.getMaxLabelSize(),w=this.ranges[0].radius,s=2*w,$=$-w+h.width,$=0<$?$:0,this.maxLabel=h,this.movementX=v.labels.align==="left"?$:0,y.labelWidth=s+$+d,y.labelHeight=s+this.fontMetrics.h/2):h.options.bubbleLegend.autoRanges=!0},c.prototype.setOptions=function(){var h=this.ranges,s=this.options,d=this.chart.series[s.seriesIndex],y=this.legend.baseline,v={zIndex:s.zIndex,"stroke-width":s.borderWidth},w={zIndex:s.zIndex,"stroke-width":s.connectorWidth},$={align:this.legend.options.rtl||s.labels.align==="left"?"right":"left",zIndex:s.zIndex},k=d.options.marker.fillOpacity,A=this.chart.styledMode;h.forEach(function(g,T){A||(v.stroke=x(g.borderColor,s.borderColor,d.color),v.fill=x(g.color,s.color,k!==1?b(d.color).setOpacity(k).get("rgba"):d.color),w.stroke=x(g.connectorColor,s.connectorColor,d.color)),h[T].radius=this.getRangeRadius(g.value),h[T]=P(h[T],{center:h[0].radius-h[T].radius+y}),A||P(!0,h[T],{bubbleAttribs:P(v),connectorAttribs:P(w),labelAttribs:$})},this)},c.prototype.getRangeRadius=function(h){var s=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,s.ranges[s.ranges.length-1].value,s.ranges[0].value,s.minSize,s.maxSize,h)},c.prototype.render=function(){var h=this.legendItem||{},s=this.chart.renderer,d=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),h.symbol=s.g("bubble-legend"),h.label=s.g("bubble-legend-item"),h.symbol.translateX=0,s=h.symbol.translateY=0;for(var y=this.ranges;s=d&&this.renderRange(v)}h.symbol.add(h.label),h.label.add(h.group),this.hideOverlappingLabels()},c.prototype.renderRange=function(h){var s=this.options,d=s.labels,y=this.chart,v=y.series[s.seriesIndex],w=y.renderer,$=this.symbols;y=$.labels;var k=h.center,A=Math.abs(h.radius),g=s.connectorDistance||0,T=d.align,a=s.connectorWidth,O=this.ranges[0].radius||0,m=k-A-s.borderWidth/2+a/2,j=this.fontMetrics;j=j.f/2-(j.h-j.f)/2;var f=w.styledMode;g=this.legend.options.rtl||T==="left"?-g:g,T==="center"&&(g=0,s.connectorDistance=0,h.labelAttribs.align="center"),T=m+s.labels.y;var M=O+g+s.labels.x;$.bubbleItems.push(w.circle(O,k+((m%1?1:.5)-(a%2?0:.5)),A).attr(f?{}:h.bubbleAttribs).addClass((f?"highcharts-color-"+v.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s.className||"")).add(this.legendItem.symbol)),$.connectors.push(w.path(w.crispLine([["M",O,m],["L",O+g,m]],s.connectorWidth)).attr(f?{}:h.connectorAttribs).addClass((f?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s.connectorClassName||"")).add(this.legendItem.symbol)),h=w.text(this.formatLabel(h),M,T+j).attr(f?{}:h.labelAttribs).css(f?{}:d.style).addClass("highcharts-bubble-legend-labels "+(s.labels.className||"")).add(this.legendItem.symbol),y.push(h),h.placed=!0,h.alignAttr={x:M,y:T+j}},c.prototype.getMaxLabelSize=function(){var h,s;return this.symbols.labels.forEach(function(d){s=d.getBBox(!0),h=h?s.width>h.width?s:h:s}),h||{}},c.prototype.formatLabel=function(h){var s=this.options,d=s.labels.formatter;s=s.labels.format;var y=this.chart.numberFormatter;return s?i.format(s,h):d?d.call(h):y(h.value,1)},c.prototype.hideOverlappingLabels=function(){var h=this.chart,s=this.symbols;!this.options.labels.allowOverlap&&s&&(h.hideOverlappingLabels(s.labels),s.labels.forEach(function(d,y){d.newOpacity?d.newOpacity!==d.oldOpacity&&s.connectors[y].show():s.connectors[y].hide()}))},c.prototype.getRanges=function(){var h=this.legend.bubbleLegend,s=h.options.ranges,d,y=Number.MAX_VALUE,v=-Number.MAX_VALUE;h.chart.series.forEach(function($){$.isBubble&&!$.ignoreSeries&&(d=$.zData.filter(S),d.length&&(y=x($.options.zMin,Math.min(y,Math.max(N(d),$.options.displayNegative===!1?$.options.zThreshold:-Number.MAX_VALUE))),v=x($.options.zMax,Math.max(v,_(d)))))});var w=y===v?[{value:v}]:[{value:y},{value:(y+v)/2},{value:v,autoRanges:!0}];return s.length&&s[0].radius&&w.reverse(),w.forEach(function($,k){s&&s[k]&&(w[k]=P(s[k],$))}),w},c.prototype.predictBubbleSizes=function(){var h=this.chart,s=this.fontMetrics,d=h.legend.options,y=d.floating,v=(d=d.layout==="horizontal")?h.legend.lastLineHeight:0,w=h.plotSizeX,$=h.plotSizeY,k=h.series[this.options.seriesIndex],A=k.getPxExtremes();h=Math.ceil(A.minPxSize),A=Math.ceil(A.maxPxSize);var g=Math.min($,w);return k=k.options.maxSize,y||!/%$/.test(k)?s=A:(k=parseFloat(k),s=(g+v-s.h/2)*k/100/(k/100+1),(d&&$-s>=w||!d&&w-s>=$)&&(s=A)),[h,Math.ceil(s)]},c.prototype.updateRanges=function(h,s){var d=this.legend.options.bubbleLegend;d.minSize=h,d.maxSize=s,d.ranges=this.getRanges()},c.prototype.correctSizes=function(){var h=this.legend,s=this.chart.series[this.options.seriesIndex].getPxExtremes();1k.height&&(k.height=d[$].itemHeight);k.step=w}}return y}function N(d){var y=this.bubbleLegend,v=this.options,w=v.bubbleLegend,$=C(this.chart);y&&y.ranges&&y.ranges.length&&(w.ranges.length&&(w.autoRanges=!!w.ranges[0].autoRanges),this.destroyItem(y)),0<=$&&v.enabled&&w.enabled&&(w.seriesIndex=$,this.bubbleLegend=new i(w,this),this.bubbleLegend.addToLegend(d.allItems))}function S(){var d=this.chart,y=this.visible,v=this.chart.legend;v&&v.bubbleLegend&&(this.visible=!y,this.ignoreSeries=y,d=0<=C(d),v.bubbleLegend.visible!==d&&(v.update({bubbleLegend:{enabled:d}}),v.bubbleLegend.visible=d),this.visible=y)}function P(d,y){var v=d.options.rtl,w,$,k,A,g=0;d.allItems.forEach(function(T,a){A=T.legendItem||{},A.group&&(w=A.group.translateX||0,$=A.y||0,((k=T.movementX)||v&&T.ranges)&&(k=v?w-T.options.maxSize/2:w+k,A.group.attr({translateX:k})),a>y[g].step&&g++,A.group.attr({translateY:Math.round($+y[g].height/2)}),A.y=$+y[g].height/2)})}var x=r.setOptions,p=u.addEvent,c=u.objectEach,h=u.wrap,s=[];return{compose:function(d,y,v){s.indexOf(d)===-1&&(s.push(d),x({legend:{bubbleLegend:n}}),h(d.prototype,"drawChartBox",b)),s.indexOf(y)===-1&&(s.push(y),p(y,"afterGetAllItems",N)),s.indexOf(v)===-1&&(s.push(v),p(v,"legendItemClick",S))}}}),o(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r){var u=this&&this.__extends||function(){var b=function(C,_){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,S){N.__proto__=S}||function(N,S){for(var P in S)S.hasOwnProperty(P)&&(N[P]=S[P])},b(C,_)};return function(C,_){function N(){this.constructor=C}b(C,_),C.prototype=_===null?Object.create(_):(N.prototype=_.prototype,new N)}}();return r=r.extend,i=function(b){function C(){var _=b!==null&&b.apply(this,arguments)||this;return _.options=void 0,_.series=void 0,_}return u(C,b),C.prototype.haloPath=function(_){return n.prototype.haloPath.call(this,_===0?0:(this.marker&&this.marker.radius||0)+_)},C}(i.seriesTypes.scatter.prototype.pointClass),r(i.prototype,{ttBelow:!1}),i}),o(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r,u,b,C){function _(){var k=this,A=this.len,g=this.chart,T=this.isXAxis,a=T?"xData":"yData",O=this.min,m=this.max-O,j=0,f=A,M=A/m,I;this.series.forEach(function(E){if(E.bubblePadding&&(E.visible||!g.options.chart.ignoreHiddenSeries)){I=k.allowZoomOutside=!0;var B=E[a];if(T&&((E.onPoint||E).getRadii(0,0,E),E.onPoint&&(E.radii=E.onPoint.radii)),0"u"&&(k[E[0]]+=E[2]/M)}))}var N=this&&this.__extends||function(){var k=function(A,g){return k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,a){T.__proto__=a}||function(T,a){for(var O in a)a.hasOwnProperty(O)&&(T[O]=a[O])},k(A,g)};return function(A,g){function T(){this.constructor=A}k(A,g),A.prototype=g===null?Object.create(g):(T.prototype=g.prototype,new T)}}(),S=r.parse;r=u.noop;var P=b.series,x=b.seriesTypes;u=x.column.prototype;var p=x.scatter;x=C.addEvent;var c=C.arrayMax,h=C.arrayMin,s=C.clamp,d=C.extend,y=C.isNumber,v=C.merge,w=C.pick,$=[];return C=function(k){function A(){var g=k!==null&&k.apply(this,arguments)||this;return g.data=void 0,g.maxPxSize=void 0,g.minPxSize=void 0,g.options=void 0,g.points=void 0,g.radii=void 0,g.yData=void 0,g.zData=void 0,g}return N(A,k),A.compose=function(g,T,a,O){n.compose(T,a,O),$.indexOf(g)===-1&&($.push(g),g.prototype.beforePadding=_)},A.prototype.animate=function(g){!g&&this.points.length=a/2?(m.marker=d(m.marker,{radius:j,width:2*j,height:2*j}),m.dlBox={x:m.plotX-j,y:m.plotY-j,width:2*j,height:2*j}):(m.shapeArgs=m.plotY=m.dlBox=void 0,m.isInside=!1)}},A.prototype.getPxExtremes=function(){var g=Math.min(this.chart.plotWidth,this.chart.plotHeight),T=function(O){if(typeof O=="string"){var m=/%$/.test(O);O=parseInt(O,10)}return m?g*O/100:O},a=T(w(this.options.minSize,8));return T=Math.max(T(w(this.options.maxSize,"20%")),a),{minPxSize:a,maxPxSize:T}},A.prototype.getZExtremes=function(){var g=this.options,T=(this.zData||[]).filter(y);if(T.length){var a=w(g.zMin,s(h(T),g.displayNegative===!1?g.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(g=w(g.zMax,c(T)),y(a)&&y(g))return{zMin:a,zMax:g}}},A.defaultOptions=v(p.defaultOptions,{dataLabels:{formatter:function(){var g=this.series.chart.numberFormatter,T=this.point.z;return y(T)?g(T,-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"}),A}(p),d(C.prototype,{alignDataLabel:u.alignDataLabel,applyZones:r,bubblePadding:!0,buildKDTree:r,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:i,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),x(C,"updatedData",function(k){delete k.target.chart.bubbleZExtremes}),x(C,"remove",function(k){delete k.target.chart.bubbleZExtremes}),b.registerSeriesType("bubble",C),C}),o(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i){var r=this&&this.__extends||function(){var _=function(N,S){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,x){P.__proto__=x}||function(P,x){for(var p in x)x.hasOwnProperty(p)&&(P[p]=x[p])},_(N,S)};return function(N,S){function P(){this.constructor=N}_(N,S),N.prototype=S===null?Object.create(S):(P.prototype=S.prototype,new P)}}(),u=n.seriesTypes;n=u.column.prototype.pointClass.prototype;var b=i.extend,C=i.isNumber;return i=function(_){function N(){var S=_!==null&&_.apply(this,arguments)||this;return S.options=void 0,S.series=void 0,S}return r(N,_),N.prototype.isValid=function(){return C(this.low)},N}(u.arearange.prototype.pointClass),b(i.prototype,{setState:n.setState}),i}),o(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r,u){var b=this&&this.__extends||function(){var s=function(d,y){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var $ in w)w.hasOwnProperty($)&&(v[$]=w[$])},s(d,y)};return function(d,y){function v(){this.constructor=d}s(d,y),d.prototype=y===null?Object.create(y):(v.prototype=y.prototype,new v)}}();i=i.noop;var C=r.seriesTypes,_=C.arearange,N=C.column,S=C.column.prototype,P=u.clamp;C=u.extend;var x=u.isNumber,p=u.merge,c=u.pick,h={pointRange:null,marker:null,states:{hover:{halo:!1}}};return u=function(s){function d(){return s!==null&&s.apply(this,arguments)||this}return b(d,s),d.prototype.setOptions=function(){return p(!0,arguments[0],{stacking:void 0}),_.prototype.setOptions.apply(this,arguments)},d.prototype.translate=function(){var y=this,v=this.yAxis,w=this.xAxis,$=w.startAngleRad,k=this.chart,A=this.xAxis.isRadial,g=Math.max(k.chartWidth,k.chartHeight)+999,T,a,O,m;S.translate.apply(this),this.points.forEach(function(j){var f=j.shapeArgs||{},M=y.options.minPointLength,I=j.plotY,E=v.translate(j.high,0,1,0,1);x(E)&&x(I)&&(j.plotHigh=P(E,-g,g),j.plotLow=P(I,-g,g),m=j.plotHigh,T=c(j.rectPlotY,j.plotY)-j.plotHigh,Math.abs(T)T&&(T*=-1,m-=T),A&&y.polar?(O=j.barX+$,j.shapeType="arc",j.shapeArgs=y.polar.arc(m+T,m,O,O+j.pointWidth)):(f.height=T,f.y=m,M=f.x,M=M===void 0?0:M,f=f.width,f=f===void 0?0:f,j.tooltipPos=k.inverted?[v.len+v.pos-k.plotLeft-m-T/2,w.len+w.pos-k.plotTop-M-f/2,T]:[w.left-k.plotLeft+M+f/2,v.pos-k.plotTop+m+T/2,T]))})},d.prototype.pointAttribs=function(){return S.pointAttribs.apply(this,arguments)},d.prototype.translate3dPoints=function(){return S.translate3dPoints.apply(this,arguments)},d.prototype.translate3dShapes=function(){return S.translate3dShapes.apply(this,arguments)},d.defaultOptions=p(N.defaultOptions,_.defaultOptions,h),d}(_),C(u.prototype,{directTouch:!0,pointClass:n,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:S.adjustForMissingColumns,animate:S.animate,crispCol:S.crispCol,drawGraph:i,drawPoints:S.drawPoints,getSymbol:i,drawTracker:S.drawTracker,getColumnMetrics:S.getColumnMetrics}),r.registerSeriesType("columnrange",u),u}),o(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r){var u=this&&this.__extends||function(){var S=function(P,x){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,c){p.__proto__=c}||function(p,c){for(var h in c)c.hasOwnProperty(h)&&(p[h]=c[h])},S(P,x)};return function(P,x){function p(){this.constructor=P}S(P,x),P.prototype=x===null?Object.create(x):(p.prototype=x.prototype,new p)}}(),b=n.prototype,C=r.clamp,_=r.merge,N=r.pick;return r=function(S){function P(){var x=S!==null&&S.apply(this,arguments)||this;return x.data=void 0,x.options=void 0,x.points=void 0,x}return u(P,S),P.prototype.translate=function(){var x=this,p=x.chart,c=x.options,h=x.dense=2>x.closestPointRange*x.xAxis.transA;h=x.borderWidth=N(c.borderWidth,h?0:1);var s=x.yAxis,d=c.threshold,y=x.translatedThreshold=s.getThreshold(d),v=N(c.minPointLength,5),w=x.getColumnMetrics(),$=w.width,k=x.barW=Math.max($,1+2*h),A=x.pointXOffset=w.offset;p.inverted&&(y-=.5),c.pointPadding&&(k=Math.ceil(k)),b.translate.apply(x),x.points.forEach(function(g){var T=N(g.yBottom,y),a=999+Math.abs(T),O=C(g.plotY,-a,s.len+a);a=g.plotX+A;var m=k/2,j=Math.min(O,T);T=Math.max(O,T)-j;var f;g.barX=a,g.pointWidth=$,g.tooltipPos=p.inverted?[s.len+s.pos-p.plotLeft-O,x.xAxis.len-a-m,T]:[a+m,O+s.pos-p.plotTop,T],O=d+(g.total||g.y),c.stacking==="percent"&&(O=d+(0>g.y)?-100:100),O=s.toPixels(O,!0);var M=(f=p.plotHeight-O-(p.plotHeight-y))?m*(j-O)/f:0,I=f?m*(j+T-O)/f:0;f=a-M+m,M=a+M+m;var E=a+I+m;I=a-I+m;var B=j-v,U=j+T;0>g.y&&(B=j,U=j+T+v),p.inverted&&(E=s.width-j,f=O-(s.width-y),M=m*(O-E)/f,I=m*(O-(E-T))/f,f=a+m+M,M=f-2*M,E=a-I+m,I=a+I+m,B=j,U=j+T-v,0>g.y&&(U=j+T+v)),g.shapeType="path",g.shapeArgs={x:f,y:B,width:M-f,height:T,d:[["M",f,B],["L",M,B],["L",E,U],["L",I,U],["Z"]]}})},P.defaultOptions=_(n.defaultOptions,{}),P}(n),i.registerSeriesType("columnpyramid",r),r}),o(t,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],function(){return{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:' {series.name}: {point.low} - {point.high}
'},whiskerWidth:null}}),o(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r,u,b){var C=this&&this.__extends||function(){var x=function(p,c){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,s){h.__proto__=s}||function(h,s){for(var d in s)s.hasOwnProperty(d)&&(h[d]=s[d])},x(p,c)};return function(p,c){function h(){this.constructor=p}x(p,c),p.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),_=u.seriesTypes.arearange,N=b.addEvent,S=b.merge;b=b.extend;var P=function(x){function p(){var c=x!==null&&x.apply(this,arguments)||this;return c.data=void 0,c.options=void 0,c.points=void 0,c}return C(p,x),p.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||i.prototype.getColumnMetrics.call(this)},p.prototype.drawDataLabels=function(){var c=this.pointValKey;_&&(_.prototype.drawDataLabels.call(this),this.data.forEach(function(h){h.y=h[c]}))},p.prototype.toYData=function(c){return[c.low,c.high]},p.defaultOptions=S(n.defaultOptions,r),p}(n);return N(P,"afterTranslate",function(){this.points.forEach(function(x){x.plotLow=x.plotY})},{order:0}),b(P.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),u.registerSeriesType("errorbar",P),P}),o(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],function(n){var i=this&&this.__extends||function(){var r=function(u,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var N in _)_.hasOwnProperty(N)&&(C[N]=_[N])},r(u,b)};return function(u,b){function C(){this.constructor=u}r(u,b),u.prototype=b===null?Object.create(b):(C.prototype=b.prototype,new C)}}();return function(r){function u(){var b=r!==null&&r.apply(this,arguments)||this;return b.options=void 0,b.series=void 0,b.shapeArgs=void 0,b}return i(u,r),u.prototype.setState=function(b){this.state=b},u}(n.series.prototype.pointClass)}),o(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r,u){var b=this&&this.__extends||function(){var h=function(s,d){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,v){y.__proto__=v}||function(y,v){for(var w in v)v.hasOwnProperty(w)&&(y[w]=v[w])},h(s,d)};return function(s,d){function y(){this.constructor=s}h(s,d),s.prototype=d===null?Object.create(d):(y.prototype=d.prototype,new y)}}();i=i.noop;var C=r.series,_=r.seriesTypes.column,N=u.clamp,S=u.isNumber,P=u.extend,x=u.merge,p=u.pick,c=u.pInt;return u=function(h){function s(){var d=h!==null&&h.apply(this,arguments)||this;return d.data=void 0,d.points=void 0,d.options=void 0,d.yAxis=void 0,d}return b(s,h),s.prototype.translate=function(){var d=this.yAxis,y=this.options,v=d.center;this.generatePoints(),this.points.forEach(function(w){var $=x(y.dial,w.dial),k=c($.radius)*v[2]/200,A=c($.baseLength)*k/100,g=c($.rearLength)*k/100,T=$.baseWidth,a=$.topWidth,O=y.overshoot,m=d.startAngleRad+d.translate(w.y,void 0,void 0,void 0,!0);(S(O)||y.wrap===!1)&&(O=S(O)?O/180*Math.PI:0,m=N(m,d.startAngleRad-O,d.endAngleRad+O)),m=180*m/Math.PI,w.shapeType="path",w.shapeArgs={d:$.path||[["M",-g,-T/2],["L",A,-T/2],["L",k,-a/2],["L",k,a/2],["L",A,T/2],["L",-g,T/2],["Z"]],translateX:v[0],translateY:v[1],rotation:m},w.plotX=v[0],w.plotY=v[1]})},s.prototype.drawPoints=function(){var d=this,y=d.chart,v=d.yAxis.center,w=d.pivot,$=d.options,k=$.pivot,A=y.renderer;d.points.forEach(function(g){var T=g.graphic,a=g.shapeArgs,O=a.d,m=x($.dial,g.dial);T?(T.animate(a),a.d=O):g.graphic=A[g.shapeType](a).attr({rotation:a.rotation,zIndex:1}).addClass("highcharts-dial").add(d.group),y.styledMode||g.graphic[T?"animate":"attr"]({stroke:m.borderColor,"stroke-width":m.borderWidth,fill:m.backgroundColor})}),w?w.animate({translateX:v[0],translateY:v[1]}):k&&(d.pivot=A.circle(0,0,k.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(v[0],v[1]).add(d.group),y.styledMode||d.pivot.attr({fill:k.backgroundColor,stroke:k.borderColor,"stroke-width":k.borderWidth}))},s.prototype.animate=function(d){var y=this;d||y.points.forEach(function(v){var w=v.graphic;w&&(w.attr({rotation:180*y.yAxis.startAngleRad/Math.PI}),w.animate({rotation:v.shapeArgs.rotation},y.options.animation))})},s.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),C.prototype.render.call(this),this.group.clip(this.chart.clipRect)},s.prototype.setData=function(d,y){C.prototype.setData.call(this,d,!1),this.processData(),this.generatePoints(),p(y,!0)&&this.chart.redraw()},s.prototype.hasData=function(){return!!this.points.length},s.defaultOptions=x(C.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),s}(C),P(u.prototype,{angular:!0,directTouch:!0,drawGraph:i,drawTracker:_.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:n,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("gauge",u),u}),o(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],function(n){function i(){var b=this,C,_,N;b.container&&(C=r(b.container,"mousedown",function(S){var P=b.hoverPoint;P&&P.series&&P.series.hasDraggableNodes&&P.series.options.draggable&&(P.series.onMouseDown(P,S),_=r(b.container,"mousemove",function(x){return P&&P.series&&P.series.onMouseMove(P,x)}),N=r(b.container.ownerDocument,"mouseup",function(x){return _(),N(),P&&P.series&&P.series.onMouseUp(P,x)}))})),r(b,"destroy",function(){C()})}var r=n.addEvent,u=[];return{compose:function(b){u.indexOf(b)===-1&&(u.push(b),r(b,"load",i))},onMouseDown:function(b,C){C=this.chart.pointer.normalize(C),b.fixedPosition={chartX:C.chartX,chartY:C.chartY,plotX:b.plotX,plotY:b.plotY},b.inDragMode=!0},onMouseMove:function(b,C){if(b.fixedPosition&&b.inDragMode){var _=this.chart,N=_.pointer.normalize(C);C=b.fixedPosition.chartX-N.chartX,N=b.fixedPosition.chartY-N.chartY;var S=_.graphLayoutsLookup,P=void 0,x=void 0;(5n?1:0)}}}),o(t,"Series/PackedBubble/PackedBubbleIntegration.js",[t["Core/Globals.js"],t["Series/Networkgraph/VerletIntegration.js"]],function(n,i){return{barycenter:function(){for(var r=this.options.gravitationalConstant,u=this.box,b=this.nodes,C,_,N=0;NMath.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},p.prototype.getSystemTemperature=function(){for(var c=0,h=0,s=this.nodes;hMath.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>c||0>=this.temperature},p.prototype.setCircularPositions=function(){for(var c=this.box,h=this.nodes,s=2*Math.PI/(h.length+1),d=this.options.initialPositionRadius,y,v,w=0,$=0;$d&&(v.degree+=.01,v.neighbours++,s=c.repulsiveForce(-d/Math.sqrt(v.neighbours),c.k,v,w)),c.force("repulsive",v,s*w.mass,y,w,d))})})},p.prototype.applyLimitBox=function(c,h){if(this.options.splitSeries&&!c.isParentNode&&this.options.parentNodeLimit){var s=this.getDistXY(c,c.series.parentNode),d=c.series.parentNodeRadius-c.marker.radius-this.vectorLength(s);0>d&&d>-2*c.marker.radius&&(c.plotX-=.01*s.x,c.plotY-=.01*s.y)}x.prototype.applyLimitBox.call(this,c,h)},p}(r),n.layouts.packedbubble=u}),o(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r,u,b,C,_,N,S){var P=this&&this.__extends||function(){var g=function(T,a){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,m){O.__proto__=m}||function(O,m){for(var j in m)m.hasOwnProperty(j)&&(O[j]=m[j])},g(T,a)};return function(T,a){function O(){this.constructor=T}g(T,a),T.prototype=a===null?Object.create(a):(O.prototype=a.prototype,new O)}}(),x=n.parse;n=u.noop;var p=N.series.prototype,c=N.seriesTypes.bubble,h=S.addEvent,s=S.clamp,d=S.defined,y=S.extend,v=S.fireEvent,w=S.isArray,$=S.isNumber,k=S.merge,A=S.pick;return S=function(g){function T(){var a=g!==null&&g.apply(this,arguments)||this;return a.chart=void 0,a.data=void 0,a.layout=void 0,a.options=void 0,a.parentNodeMass=0,a.points=void 0,a.xData=void 0,a}return P(T,g),T.compose=function(a,O,m,j){c.compose(a,O,m,j),i.compose(O),_.compose(O)},T.prototype.accumulateAllPoints=function(){for(var a=this.chart,O=[],m,j=0,f=a.series;jj&&(j=M),MMath.sqrt(m*m+j*j)-Math.abs(a[2]+O[2])},T.prototype.createParentNodes=function(){var a=this,O=this.pointClass,m=this.chart,j=this.parentNodeLayout,f=this.layout.options,M,I=this.parentNode,E={radius:this.parentNodeRadius,lineColor:this.color,fillColor:x(this.color).brighten(.4).get()};f.parentNodeOptions&&(E=k(f.parentNodeOptions.marker||{},E)),this.parentNodeMass=0,this.points.forEach(function(B){a.parentNodeMass+=Math.PI*Math.pow(B.marker.radius,2)}),this.calculateParentRadius(),j.nodes.forEach(function(B){B.seriesIndex===a.index&&(M=!0)}),j.setArea(0,0,m.plotWidth,m.plotHeight),M||(I||(I=new O().init(this,{mass:this.parentNodeRadius/2,marker:E,dataLabels:{inside:!1},states:{normal:{marker:E},hover:{marker:E}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(I.plotX=this.parentNode.plotX,I.plotY=this.parentNode.plotY),this.parentNode=I,j.addElementsToCollection([this],j.series),j.addElementsToCollection([I],j.nodes))},T.prototype.deferLayout=function(){var a=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),a.splitSeries&&this.addSeriesLayout())},T.prototype.destroy=function(){var a=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(O){O.removeElementFromCollection(a,O.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),p.destroy.apply(this,arguments)},T.prototype.drawDataLabels=function(){p.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",p.drawDataLabels.call(this,[this.parentNode]))},T.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a=this.chart,O=this.layout.options.parentNodeOptions.marker;O={fill:O.fillColor||x(this.color).brighten(.4).get(),opacity:O.fillOpacity,stroke:O.lineColor||this.color,"stroke-width":A(O.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var m=k({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},O);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a.renderer.symbol(O.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(m)}},T.prototype.drawTracker=function(){var a=this.parentNode;if(g.prototype.drawTracker.call(this),a){var O=w(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[];a.graphic&&(a.graphic.element.point=a),O.forEach(function(m){m.div?m.div.point=a:m.element.point=a})}},T.prototype.getPointRadius=function(){var a=this,O=this.chart,m=this.options,j=m.useSimulation,f=Math.min(O.plotWidth,O.plotHeight),M={},I=[],E=O.allDataPoints||[],B=E.length,U,q,D,l;["minSize","maxSize"].forEach(function(H){var G=parseInt(m[H],10),W=/%$/.test(m[H]);M[H]=W?f*G/100:G*Math.sqrt(B)}),O.minRadius=U=M.minSize/Math.sqrt(B),O.maxRadius=q=M.maxSize/Math.sqrt(B);var L=j?this.calculateZExtremes():[U,q];E.forEach(function(H,G){D=j?s(H[2],L[0],L[1]):H[2],l=a.getRadius(L[0],L[1],U,q,D),l===0&&(l=null),E[G][2]=l,I.push(l)}),this.radii=I},T.prototype.init=function(){return p.init.apply(this,arguments),this.eventsToUnbind.push(h(this,"updatedData",function(){var a=this;this.chart.series.forEach(function(O){O.type===a.type&&(O.isDirty=!0)},this)})),this},T.prototype.onMouseUp=function(a){var O=a;if(O.fixedPosition&&!O.removed){var m=this.layout,j=this.parentNodeLayout,f,M;j&&m.options.dragBetweenSeries&&j.nodes.forEach(function(I){O&&O.marker&&I!==O.series.parentNode&&(f=m.getDistXY(O,I),M=m.vectorLength(f)-I.marker.radius-O.marker.radius,0>M&&(I.series.addPoint(k(O.options,{plotX:O.plotX,plotY:O.plotY}),!1),m.removeElementFromCollection(O,m.nodes),O.remove()))}),i.onMouseUp.apply(this,arguments)}},T.prototype.placeBubbles=function(a){var O=this.checkOverlap,m=this.positionBubble,j=[],f=1,M=0,I=0,E=[],B;if(a=a.sort(function(U,q){return q[2]-U[2]}),a.length){if(j.push([[0,0,a[0][2],a[0][3],a[0][4]]]),1a[1]-O[1]?0:Math.PI)+M+f*(0>(a[0]-O[0])*(a[1]-O[1])?1:-1),[O[0]+(O[2]+m[2])*Math.sin(a),O[1]-(O[2]+m[2])*Math.cos(a),m[2],m[3],m[4]]},T.prototype.render=function(){var a=[];p.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach(function(O){w(O.dataLabels)&&O.dataLabels.forEach(function(m){a.push(m)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(a))},T.prototype.resizeRadius=function(){for(var a=this.chart,O=a.rawPositions,m=Math.min,j=Math.max,f=a.plotLeft,M=a.plotTop,I=a.plotHeight,E=a.plotWidth,B,U,q=B=Number.POSITIVE_INFINITY,D=U=Number.NEGATIVE_INFINITY,l=0;lE.height&&(E.y+=E.height,E.height*=-1);M.plotY=E.y=Math.round(E.y||0)-this.borderWidth%2/2,E.height=Math.max(Math.round(E.height||0),.001),M.yBottom=E.y+E.height,E.height<=A&&!M.isNull?(E.height=A,E.y-=g,M.plotY=E.y,M.minPointLengthOffset=0>M.y?-g:g):(M.isNull&&(E.width=0),M.minPointLengthOffset=0),U=M.plotY+(M.negative?E.height:0),M.below&&(M.plotY+=E.height),M.tooltipPos&&(this.chart.inverted?M.tooltipPos[0]=k.len-U:M.tooltipPos[1]=U),M.isInside=this.isPointInside(M)}}},w.prototype.processData=function($){var k=this.options,A=this.yData,g=k.data,T=A.length,a=k.threshold||0,O,m,j,f,M;for(M=m=O=j=f=0;MI.y&&!O||0I.indexOf(O)&&(B=!0),A[O]||(A[O]={}),I=A[O])for(var U=0;U"u"&&N(this.endAngleRad-this.startAngleRad)===N(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function w(){var V=this;return function(){if(V.isRadial&&V.tickPositions&&V.options.labels&&V.options.labels.allowOverlap!==!0)return V.tickPositions.map(function(X){return V.ticks[X]&&V.ticks[X].label}).filter(function(X){return!!X})}}function $(){return C}function k(V,X,Y){var Z=this.pane.center,et=V.value;if(this.isCircular){if(S(et))V.point&&(nt=V.point.shapeArgs||{},nt.start&&(et=this.chart.inverted?this.translate(V.point.rectPlotY,!0):V.point.x));else{var nt=V.chartX||0,at=V.chartY||0;et=this.translate(Math.atan2(at-Y,nt-X)-this.startAngleRad,!0)}V=this.getPosition(et),nt=V.x,at=V.y}else S(et)||(nt=V.chartX,at=V.chartY),S(nt)&&S(at)&&(Y=Z[1]+this.chart.plotTop,et=this.translate(Math.min(Math.sqrt(Math.pow(nt-X,2)+Math.pow(at-Y,2)),Z[2]/2)-Z[3]/2,!0));return[et,nt||0,at||0]}function A(V,X,Y){V=this.pane.center;var Z=this.chart,et=this.left||0,nt=this.top||0,at=c(X,V[2]/2-this.offset);return typeof Y>"u"&&(Y=this.horiz?0:this.center&&-this.center[3]/2),Y&&(at+=Y),this.isCircular||typeof X<"u"?(X=this.chart.renderer.symbols.arc(et+V[0],nt+V[1],at,at,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),X.xBounds=[et+V[0]],X.yBounds=[nt+V[1]-at]):(X=this.postTranslate(this.angleRad,at),X=[["M",this.center[0]+Z.plotLeft,this.center[1]+Z.plotTop],["L",X.x,X.y]]),X}function g(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function T(V,X,Y){var Z=this.chart,et=function(pt){if(typeof pt=="string"){var mt=parseInt(pt,10);return J.test(pt)&&(mt=mt*ct/100),mt}return pt},nt=this.center,at=this.startAngleRad,ct=nt[2]/2,dt=Math.min(this.offset,0),ut=this.left||0,st=this.top||0,J=/%$/,Q=this.isCircular,ot=c(et(Y.outerRadius),ct),lt=et(Y.innerRadius);if(et=c(et(Y.thickness),10),this.options.gridLineInterpolation==="polygon")dt=this.getPlotLinePath({value:V}).concat(this.getPlotLinePath({value:X,reverse:!0}));else{if(V=Math.max(V,this.min),X=Math.min(X,this.max),V=this.translate(V),X=this.translate(X),Q||(ot=V||0,lt=X||0),Y.shape!=="circle"&&Q)Y=at+(V||0),at+=X||0;else{Y=-Math.PI/2,at=1.5*Math.PI;var ht=!0}ot-=dt,dt=Z.renderer.symbols.arc(ut+nt[0],st+nt[1],ot,ot,{start:Math.min(Y,at),end:Math.max(Y,at),innerR:c(lt,ot-(et-dt)),open:ht}),Q&&(Q=(at+Y)/2,ut=ut+nt[0]+nt[2]/2*Math.cos(Q),dt.xBounds=Q>-Math.PI/2&&Q-Math.PI&&0>Q||Q>Math.PI?-10:10)}return dt}function a(V){var X=this,Y=this.pane.center,Z=this.chart,et=Z.inverted,nt=V.reverse,at=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},ct=at.innerRadius||"0%",dt=at.outerRadius||"100%",ut=Y[0]+Z.plotLeft,st=Y[1]+Z.plotTop,J=this.height,Q=V.isCrosshair;at=Y[3]/2;var ot=V.value,lt,ht=this.getPosition(ot),pt=ht.x;if(ht=ht.y,Q&&(ht=this.getCrosshairPosition(V,ut,st),ot=ht[0],pt=ht[1],ht=ht[2]),this.isCircular)ot=Math.sqrt(Math.pow(pt-ut,2)+Math.pow(ht-st,2)),nt=typeof ct=="string"?h(ct,1):ct/ot,Z=typeof dt=="string"?h(dt,1):dt/ot,Y&&at&&(at/=ot,ntot||ot>J)&&(ot=0),this.options.gridLineInterpolation==="circle")Y=this.getLinePath(0,ot,at);else if(Y=[],Z[et?"yAxis":"xAxis"].forEach(function(mt){mt.pane===X.pane&&(lt=mt)}),lt)for(ut=lt.tickPositions,lt.autoConnect&&(ut=ut.concat([ut[0]])),nt&&(ut=ut.slice().reverse()),ot&&(ot+=at),st=0;stV?0:V,this.center[2]/2)-this.offset)}function m(){var V=this.center,X=this.chart,Y=this.options.title;return{x:X.plotLeft+V[0]+(Y.x||0),y:X.plotTop+V[1]-{high:.5,middle:.25,low:0}[Y.align]*V[2]+(Y.y||0)}}function j(V){V.beforeSetTickPositions=v,V.createLabelCollector=w,V.getCrosshairPosition=k,V.getLinePath=A,V.getOffset=g,V.getPlotBandPath=T,V.getPlotLinePath=a,V.getPosition=O,V.getTitlePosition=m,V.postTranslate=D,V.setAxisSize=L,V.setAxisTranslation=H,V.setOptions=G}function f(){var V=this.chart,X=this.options,Y=this.pane,Z=Y&&Y.options;V.angular&&this.isXAxis||!Y||!V.angular&&!V.polar||(V=2*Math.PI,Y=(c(Z.startAngle,0)-90)*Math.PI/180,Z=(c(Z.endAngle,c(Z.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(X.angle||0)*Math.PI/180,this.startAngleRad=Y,this.endAngleRad=Z,this.offset=X.offset||0,X=(Y%V+V)%V,Z=(Z%V+V)%V,X>Math.PI&&(X-=V),Z>Math.PI&&(Z-=V),this.normalizedStartAngleRad=X,this.normalizedEndAngleRad=Z)}function M(V){this.isRadial&&(V.align=void 0,V.preventDefault())}function I(){if(this.chart&&this.chart.labelCollectors){var V=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=V&&this.chart.labelCollectors.splice(V,1)}}function E(V){var X=this.chart,Y=X.inverted,Z=X.angular,et=X.polar,nt=this.isXAxis,at=this.coll,ct=Z&&nt;V=V.userOptions.pane||0,V=this.pane=X.pane&&X.pane[V];var dt;at==="colorAxis"?this.isRadial=!1:(Z?(ct?(this.isHidden=!0,this.createLabelCollector=$,this.getOffset=C,this.render=this.redraw=l,this.setTitle=this.setCategories=this.setScale=C):j(this),(dt=!nt)&&(this.defaultPolarOptions=z)):et&&(j(this),this.defaultPolarOptions=(dt=this.horiz)?F:p(at==="xAxis"?n.defaultXAxisOptions:n.defaultYAxisOptions,K),Y&&at==="yAxis"&&(this.defaultPolarOptions.stackLabels=n.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),Z||et?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&X.labelCollectors.push(this.labelCollector)):this.isRadial=!1,V&&dt&&(V.axis=this),this.isCircular=dt)}function B(){this.isRadial&&this.beforeSetTickPositions()}function U(V){var X=this.label;if(X){var Y=this.axis,Z=X.getBBox(),et=Y.options.labels,nt=(Y.translate(this.pos)+Y.startAngleRad+Math.PI/2)/Math.PI*180%360,at=Math.round(nt),ct=S(et.y)?0:.3*-Z.height,dt=et.y,ut=20,st=et.align,J="end",Q=0>at?at+360:at,ot=Q,lt=0,ht=0;if(Y.isRadial){var pt=Y.getPosition(this.pos,Y.center[2]/2+h(c(et.distance,-25),Y.center[2]/2,-Y.center[2]/2));et.rotation==="auto"?X.attr({rotation:nt}):S(dt)||(dt=Y.chart.renderer.fontMetrics(X.styles&&X.styles.fontSize).b-Z.height/2),S(st)||(Y.isCircular?(Z.width>Y.len*Y.tickInterval/(Y.max-Y.min)&&(ut=0),st=nt>ut&&nt<180-ut?"left":nt>180+ut&&nt<360-ut?"right":"center"):st="center",X.attr({align:st})),st==="auto"&&Y.tickPositions.length===2&&Y.isCircular&&(90Q?Q=180-Q:270=Q&&(Q=540-Q),180=ot&&(ot=360-ot),(Y.pane.options.startAngle===at||Y.pane.options.startAngle===at+360||Y.pane.options.startAngle===at-360)&&(J="start"),st=-90<=at&&90>=at||-360<=at&&-270>=at||270<=at&&360>=at?J==="start"?"right":"left":J==="start"?"left":"right",70ot&&(st="center"),15>Q||180<=Q&&195>Q?lt=.3*Z.height:15<=Q&&35>=Q?lt=J==="start"?0:.75*Z.height:195<=Q&&215>=Q?lt=J==="start"?.75*Z.height:0:35=Q?lt=J==="start"?.25*-Z.height:Z.height:215=Q&&(lt=J==="start"?Z.height:.25*-Z.height),15>ot?ht=J==="start"?.15*-Z.height:.15*Z.height:165=ot&&(ht=J==="start"?.15*Z.height:.15*-Z.height),X.attr({align:st}),X.translate(ht,lt+ct)),V.pos.x=pt.x+(et.x||0),V.pos.y=pt.y+(dt||0)}}}function q(V){this.axis.getPosition&&P(V.pos,this.axis.getPosition(this.pos))}function D(V,X){var Y=this.chart,Z=this.center;return V=this.startAngleRad+V,{x:Y.plotLeft+Z[0]+Math.cos(V)*X,y:Y.plotTop+Z[1]+Math.sin(V)*X}}function l(){this.isDirty=!1}function L(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var V=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var X=this.postTranslate(this.angleRad,V[3]/2);V[0]=X.x-this.chart.plotLeft,V[1]=X.y-this.chart.plotTop}this.len=this.width=this.height=(V[2]-V[3])*c(this.sector,1)/2}}function H(){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 G(V){V=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,b[this.coll],V),V.plotBands||(V.plotBands=[]),x(this,"afterSetOptions")}function W(V,X,Y,Z,et,nt,at){var ct=this.axis;return ct.isRadial?(V=ct.getPosition(this.pos,ct.center[2]/2+Z),X=["M",X,Y,"L",V.x,V.y]):X=V.call(this,X,Y,Z,et,nt,at),X}var R=[],F={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},z={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},K={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};y.compose=function(V,X){return R.indexOf(V)===-1&&(R.push(V),_(V,"afterInit",f),_(V,"autoLabelAlign",M),_(V,"destroy",I),_(V,"init",E),_(V,"initialAxisTranslation",B)),R.indexOf(X)===-1&&(R.push(X),_(X,"afterGetLabelPosition",U),_(X,"afterGetPosition",q),s(X.prototype,"getMarkPath",W)),V}}(d||(d={})),d}),o(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],function(n,i,r,u,b){function C(D,l,L,H){var G=H?1:0,W=0<=l&&l<=D.length-1?l:0>l?D.length-1+l:0;l=0>W-1?D.length-(1+G):W-1;var R=D[l];G=D[W+1>D.length-1?G:W+1];var F=R.plotY,z=G.plotX,K=G.plotY;G=D[W].plotX,W=D[W].plotY,R=(1.5*G+R.plotX)/2.5,F=(1.5*W+F)/2.5,z=(1.5*G+z)/2.5;var V=(1.5*W+K)/2.5;K=Math.sqrt(Math.pow(R-G,2)+Math.pow(F-W,2));var X=Math.sqrt(Math.pow(z-G,2)+Math.pow(V-W,2));return R=Math.atan2(F-W,R-G),V=Math.PI/2+(R+Math.atan2(V-W,z-G))/2,Math.abs(R-V)>Math.PI/2&&(V-=Math.PI),R=G+Math.cos(V)*K,F=W+Math.sin(V)*K,z=G+Math.cos(Math.PI+V)*X,V=W+Math.sin(Math.PI+V)*X,G={rightContX:z,rightContY:V,leftContX:R,leftContY:F,plotX:G,plotY:W},L&&(G.prevPointCont=C(D,l,!1,H)),G}function _(){(this.pane||[]).forEach(function(D){D.render()})}function N(D){var l=D.args[0].xAxis,L=D.args[0].yAxis;D=D.args[0].chart,l&&L&&(L.gridLineInterpolation==="polygon"?(l.startOnTick=!0,l.endOnTick=!0):l.gridLineInterpolation==="polygon"&&D.inverted&&(L.startOnTick=!0,L.endOnTick=!0))}function S(){var D=this;this.pane||(this.pane=[]),this.options.pane=I(this.options.pane),this.options.pane.forEach(function(l){new r(l,D)},this)}function P(D){var l=D.args.marker,L=this.chart.xAxis[0],H=this.chart.yAxis[0],G=this.chart.inverted,W=G?H:L;if(L=G?L:H,this.chart.polar){D.preventDefault(),H=(l.attr?l.attr("start"):l.start)-W.startAngleRad,G=l.attr?l.attr("r"):l.r;var R=(l.attr?l.attr("end"):l.end)-W.startAngleRad;l=l.attr?l.attr("innerR"):l.innerR,D.result.x=H+W.pos,D.result.width=R-H,D.result.y=L.len+L.pos-l,D.result.height=l-G}}function x(D){var l=this.chart;if(l.polar&&l.hoverPane&&l.hoverPane.axis){D.preventDefault();var L=l.hoverPane.center,H=this.mouseDownX||0,G=this.mouseDownY||0,W=D.args.chartY,R=D.args.chartX,F=2*Math.PI,z=l.hoverPane.axis.startAngleRad,K=l.hoverPane.axis.endAngleRad,V=l.inverted?l.xAxis[0]:l.yAxis[0],X={},Y="arc";if(X.x=L[0]+l.plotLeft,X.y=L[1]+l.plotTop,this.zoomHor){var Z=0=et&&(et+=F),0>=nt&&(nt+=F),ntK+(F-Z)/2&&(nt=et,et=0>=z?z:0),F=X.start=Math.max(et+z,z),et=X.end=Math.min(nt+z,K),V.options.gridLineInterpolation==="polygon"&&(nt=l.hoverPane.axis,Z=F-nt.startAngleRad+nt.pos,et-=F,Y=V.getPlotLinePath({value:V.max}),F=nt.toValue(Z),Z=nt.toValue(Z+et),FL[2]/2&&(W=L[2]/2),Hthis.xAxis.max?(l[L].isNull=!0,l[L].plotY=NaN):l[L].isNull=l[L].isValid&&!l[L].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(O(this,"afterRender",function(){if(D.polar){var H=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:H[0],y:H[1],r:H[2]/2,innerR:H[3]/2});else{var G=D.renderer,W=H[0],R=H[1],F=H[2]/2,z=H[3]/2;H=E();var K=G.createElement("clipPath").attr({id:H}).add(G.defs);G=z?G.arc(W,R,F,z,0,2*Math.PI).add(K):G.circle(W,R,F).add(K),G.id=H,G.clipPath=K,this.clipCircle=G}this.group.clip(this.clipCircle),this.setClip=i.noop}})))}}function h(D){var l=this.chart,L=this.xAxis;return L=L.pane&&L.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(D.chartX-(L&&L[0]||0)-l.plotLeft,D.chartY-(L&&L[1]||0)-l.plotTop)})}function s(D,l,L,H){var G=H.tickInterval;H=H.tickPositions;var W=j(H,function(F){return F>=L}),R=j(T([],H,!0).reverse(),function(F){return F<=l});return m(W)||(W=H[H.length-1]),m(R)||(R=H[0],W+=G,D[0][0]="L",D.unshift(D[D.length-3])),D=D.slice(H.indexOf(R),H.indexOf(W)+1),D[0][0]="M",D}function d(D,l){return j(this.pane||[],function(L){return L.options.id===l})||D.call(this,l)}function y(D,l,L,H,G,W){var R=this.chart,F=M(H.inside,!!this.options.stacking);R.polar?(D=l.rectPlotX/Math.PI*180,R.inverted?(this.forceDL=R.isInsidePlot(l.plotX,l.plotY),F&&l.shapeArgs?(G=l.shapeArgs,G=this.yAxis.postTranslate(((G.start||0)+(G.end||0))/2-this.xAxis.startAngleRad,l.barX+l.pointWidth/2),G={x:G.x-R.plotLeft,y:G.y-R.plotTop}):l.tooltipPos&&(G={x:l.tooltipPos[0],y:l.tooltipPos[1]}),H.align=M(H.align,"center"),H.verticalAlign=M(H.verticalAlign,"middle")):(H.align===null&&(H.align=20D?"left":200D?"right":"center"),H.verticalAlign===null&&(H.verticalAlign=45>D||315D?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,l,L,H,G,W),this.isRadialBar&&l.shapeArgs&&l.shapeArgs.start===l.shapeArgs.end?L.hide():L.show()):D.call(this,l,L,H,G,W)}function v(D){var l=this.options,L=l.stacking,H=this.chart,G=this.xAxis,W=this.yAxis,R=W.reversed,F=W.center,z=G.startAngleRad,K=G.endAngleRad-z,V=0,X=0,Y=0;if(this.preventPostTranslate=!0,D.call(this),G.isRadial){D=this.points,G=D.length;var Z=W.translate(W.min),et=W.translate(W.max);for(l=l.threshold||0,H.inverted&&f(l)&&(V=W.translate(l),m(V)&&(0>V?V=0:V>K&&(V=K),this.translatedThreshold=V+z));G--;){l=D[G];var nt=l.barX,at=l.x,ct=l.y;l.shapeType="arc",H.inverted?(l.plotY=W.translate(ct),L&&W.stacking?(ct=W.stacking.stacks[(0>ct?"-":"")+this.stackKey],this.visible&&ct&&ct[at]&&!l.isNull&&(Y=ct[at].points[this.getStackIndicator(void 0,at,this.index).key],X=W.translate(Y[0]),Y=W.translate(Y[1]),m(X)&&(X=b.clamp(X,0,K)))):(X=V,Y=l.plotY),X>Y&&(Y=[X,X=Y][0]),R?Y>Z?Y=Z:XZ||Yet?Y=et:(Yet)&&(X=Y=0),W.min>W.max&&(X=Y=R?K:0),X+=z,Y+=z,F&&(l.barX=nt+=F[3]/2),at=Math.max(nt,0),ct=Math.max(nt+l.pointWidth,0),l.shapeArgs={x:F&&F[0],y:F&&F[1],r:ct,innerR:at,start:X,end:Y},l.opacity=X===Y?0:void 0,l.plotY=(m(this.translatedThreshold)&&(XF[1])}}}function w(D,l){var L=this;if(this.chart.polar){l=l||this.points;for(var H=0;H"u"&&L.polar.toXY(R)})}return G=D.apply(this,[].slice.call(arguments,1)),W&&l.pop(),G}function $(D,l){var L=this.chart,H={xAxis:[],yAxis:[]};return L.polar?L.axes.forEach(function(G){if(G.coll!=="colorAxis"){var W=G.isXAxis,R=G.center,F=l.chartX-R[0]-L.plotLeft;R=l.chartY-R[1]-L.plotTop,H[W?"xAxis":"yAxis"].push({axis:G,value:G.translate(W?Math.PI-Math.atan2(F,R):Math.sqrt(Math.pow(F,2)+Math.pow(R,2)),!0)})}}):H=D.call(this,l),H}function k(D,l){this.chart.polar||D.call(this,l)}function A(D,l){var L=this,H=this.chart,G=this.group,W=this.markerGroup,R=this.xAxis&&this.xAxis.center,F=H.plotLeft,z=H.plotTop,K=this.options.animation,V,X,Y,Z;if(H.polar){if(L.isRadialBar)l||(L.startAngleRad=M(L.translatedThreshold,L.xAxis.startAngleRad),i.seriesTypes.pie.prototype.animate.call(L,l));else if(H.renderer.isSVG)if(K=a(K),L.is("column")){if(!l){var et=R[3]/2;L.points.forEach(function(nt){V=nt.graphic,Y=(X=nt.shapeArgs)&&X.r,Z=X&&X.innerR,V&&X&&(V.attr({r:et,innerR:et}),V.animate({r:Y,innerR:Z},L.options.animation))})}}else l?(D={translateX:R[0]+F,translateY:R[1]+z,scaleX:.001,scaleY:.001},G.attr(D),W&&W.attr(D)):(D={translateX:F,translateY:z,scaleX:1,scaleY:1},G.animate(D,K),W&&W.animate(D,K))}else D.call(this,l)}function g(D,l,L,H){return this.chart.polar?H?(D=C(l,H,!0,this.connectEnds),l=D.prevPointCont&&D.prevPointCont.rightContX,L=D.prevPointCont&&D.prevPointCont.rightContY,D=["C",f(l)?l:D.plotX,f(L)?L:D.plotY,f(D.leftContX)?D.leftContX:D.plotX,f(D.leftContY)?D.leftContY:D.plotY,D.plotX,D.plotY]):D=["M",L.plotX,L.plotY]:D=D.call(this,l,L,H),D}var T=this&&this.__spreadArray||function(D,l,L){if(L||arguments.length===2)for(var H=0,G=l.length,W;HL&&(L=z),0>l&&(l=z)),{x:R[0],y:R[1],r:L,innerR:l,start:H,end:G}},D.prototype.toXY=function(l){var L=this.series,H=L.chart,G=L.xAxis,W=L.yAxis,R=l.plotX,F=H.inverted,z=l.y,K=l.plotY,V=F?R:W.len-K;F&&L&&!L.isRadialBar&&(l.plotY=K=f(z)?W.translate(z):0),l.rectPlotX=R,l.rectPlotY=K,W.center&&(V+=W.center[3]/2),f(K)&&(W=F?W.postTranslate(K,V):G.postTranslate(R,V),l.plotX=l.polarPlotX=W.x-H.plotLeft,l.plotY=l.polarPlotY=W.y-H.plotTop),L.kdByAngle?(L=(R/Math.PI*180+G.pane.options.startAngle)%360,0>L&&(L+=360),l.clientX=L):l.clientX=l.plotX},D}();return q}),o(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],function(n,i,r,u,b){r.compose(n.Axis,n.Chart,n.Legend,n.Series),u.compose(n.Axis,n.Chart,n.Legend,n.Series),b.compose(n.Axis,n.Chart,n.Pointer,n.Series,n.Tick,i.seriesTypes.areasplinerange,i.seriesTypes.column,i.seriesTypes.line,i.seriesTypes.spline)})})})(Os);var dd=Os.exports;const Ps=pe(dd),ro=e=>{const t=document.querySelector(`#wrapper-circle-chart-${e.target.renderTo.id} .pb-circle-chart-block`),o=document.querySelector(`#${e.target.renderTo.id}`);t!==null&&o!==null&&(t.style.height=`${e.target.chartHeight}px`,t.style.width=`${e.target.chartWidth}px`,o.firstChild!==null&&o.firstChild.before(t))},n2=e=>{var{align:t="center",aria:o={},rounded:n=!1,borderColor:i=n?null:"",borderWidth:r=n?20:null,chartData:u,children:b,className:C,colors:_=[],customOptions:N={},dark:S=!1,data:P={},dataLabelHtml:x="
{point.name}
",dataLabels:p=!1,height:c,htmlOptions:h={},id:s,innerSize:d="md",legend:y=!1,maxPointSize:v=null,minPointSize:w=null,startAngle:$=null,style:k="pie",title:A,tooltipHtml:g,useHtml:T=!1,zMin:a=null,layout:O="horizontal",verticalAlign:m="bottom",x:j=0,y:f=0}=e,M=me(e,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","customOptions","dark","data","dataLabelHtml","dataLabels","height","htmlOptions","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]);const I=zt(o),E=Bt(P),B=It(h);Ps(Qt),(()=>{S?Qt.setOptions(Ri):Qt.setOptions(be)})(),Qt.setOptions({tooltip:{headerFormat:null,pointFormat:g||'{point.name}: {point.y}',useHTML:T}});const q={sm:"35%",md:"50%",lg:"85%",none:"0%"},D=G=>q[G],l=Object.assign({},M);delete l.verticalAlign;const[L,H]=Nt({});return qt(()=>{const G=u.map(R=>(R.y=R.value,delete R.value,R)),W={title:{text:A},chart:{height:c,type:k,events:{render:R=>ro(R),redraw:R=>ro(R)}},legend:{align:t,verticalAlign:m,layout:O,x:j,y:f},plotOptions:{pie:{colors:_.length>0?hi(_):be.colors,dataLabels:{enabled:p,connectorShape:"straight",connectorWidth:3,format:x},showInLegend:y}},series:[{minPointSize:w,maxPointSize:v,innerSize:r==20?"100%":D(d),data:G,zMin:a,startAngle:$,borderWidth:r,borderColor:i}],credits:!1};H(te.merge(W,N))},[u]),tt.jsx(tt.Fragment,{children:b?tt.jsxs("div",Object.assign({id:`wrapper-circle-chart-${s}`},{children:[tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt("pb_circle_chart",Tt(l)),id:s},I),E),B),highcharts:Qt,options:L},void 0),tt.jsx("div",Object.assign({className:"pb-circle-chart-block"},{children:b}),void 0)]}),void 0):tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt("pb_circle_chart",Tt(l)),id:s},I),E),B),highcharts:Qt,options:L},void 0)},void 0)},ks=e=>{const{aria:t={},className:o,dark:n,data:i={},disabled:r,htmlOptions:u={},icon:b,id:C,onClick:_=kn,type:N,link:S,newWindow:P,variant:x}=e,p=zt(t),c=Bt(i),h=It(u),s=Pt(Dt("pb_circle_icon_button_kit"),Tt(e),o);return tt.jsx("div",Object.assign({},p,c,h,{className:s,id:C},{children:tt.jsx(ln,Object.assign({dark:n,disabled:r,htmlType:N,link:S,newWindow:P,onClick:_,text:null,variant:x},{children:tt.jsx(Ut,{fixedWidth:!0,icon:b},void 0)}),void 0)}),void 0)},cd=e=>{e.style.display="block";const t=e.scrollHeight+"px";e.style.height=t,e.classList.add("is-visible"),e.style.overflow="hidden",window.setTimeout(()=>{e.style.height="",e.style.overflow="visible"},300)},hd=e=>{e.style.height=e.scrollHeight+"px",window.setTimeout(()=>{e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.overflow="hidden"},1),window.setTimeout(()=>{e.classList.remove("is-visible"),e.style.overflow=""},300)},Tr=Or({}),Ms=e=>{var{children:t,className:o}=e,n=me(e,["children","className"]);const i=fi(Tr),r=Dt("pb_collapsible_content_kit"),u=Tt(n),b=de(null);return qt(()=>{b.current&&(i.collapsed?hd(b.current):cd(b.current))},[i.collapsed]),tt.jsx("div",Object.assign({className:Pt(r,u,"toggle-content",o),"data-collapsible-content":"true",ref:b},{children:t}),void 0)},ud={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"},Ts=({collapsed:e,icon:t,iconSize:o,iconColor:n,onIconClick:i})=>{const r=ud[n],u=C=>typeof C=="string"?[C,C]:C,b=C=>{i&&(C.stopPropagation(),i())};return tt.jsx(tt.Fragment,{children:e?tt.jsx("div",Object.assign({className:"icon_wrapper",onClick:C=>b(C),style:{verticalAlign:"middle",color:r}},{children:tt.jsx(Ut,{icon:t?u(t)[0]:"chevron-down",size:o},void 0)}),t?u(t)[0]:"chevron-down"):tt.jsx("div",Object.assign({className:"icon_wrapper",onClick:C=>b(C),style:{verticalAlign:"middle",color:r}},{children:tt.jsx(Ut,{icon:t?u(t)[1]:"chevron-up",size:o},void 0)}),t?u(t)[1]:"chevron-up")},void 0)},lr=e=>{var{children:t,className:o,cursor:n="pointer"}=e,i=me(e,["children","className","cursor"]);const{collapsed:r,toggle:u,icon:b,iconSize:C,iconColor:_,onIconClick:N,onClick:S}=fi(Tr),P=Dt("pb_collapsible_main_kit"),x=Tt(i,{cursor:n}),p=()=>{S&&S(),(S&&S())!==!0&&u()};return tt.jsx("div",Object.assign({className:Pt(P,x,o)},{children:tt.jsx("div",Object.assign({onClick:p},{children:tt.jsxs(ne,Object.assign({spacing:"between",vertical:"center"},{children:[tt.jsx(on,{children:t},void 0),tt.jsx(on,{children:tt.jsx(Ts,{collapsed:r,icon:b,iconColor:_,iconSize:C,onIconClick:N},void 0)},void 0)]}),void 0)}),void 0)}),void 0)},oi=e=>{var{aria:t={},className:o,children:n,collapsed:i=!0,data:r={},htmlOptions:u={},icon:b,iconColor:C="default",iconSize:_,onIconClick:N,onClick:S,id:P}=e,x=me(e,["aria","className","children","collapsed","data","htmlOptions","icon","iconColor","iconSize","onIconClick","onClick","id"]);const[p,c,h]=wl(i);if(qt(()=>{h(i)},[i]),n.length!==2)throw new Error("Collapsible requires and to function properly.");const s=n[0],d=s.type===lr?s:null,y=n[1],v=d?d.props:{},{children:w=null}=v,$=me(v,["children"]),k=y.props,{children:A}=k,g=me(k,["children"]),T=zt(t),a=Bt(r),O=It(u),m=Pt(Dt("pb_collapsible_kit"),Tt(x),o);return tt.jsx(Tr.Provider,Object.assign({value:{collapsed:p,toggle:c,icon:b,iconSize:_,iconColor:C,onIconClick:N,onClick:S}},{children:tt.jsxs("div",Object.assign({},T,a,O,{className:m,id:P},{children:[d?tt.jsx(lr,Object.assign({},$,{children:w}),void 0):s,tt.jsx(Ms,Object.assign({},g,{children:A}),void 0)]}),void 0)}),void 0)};oi.Main=lr;oi.Content=Ms;oi.Icon=Ts;const Pi=e=>{e.variant;const{aria:t={},children:o,className:n,color:i,data:r={},htmlOptions:u={},id:b,size:C=3,bold:_=!0,tag:N="h3",text:S,variant:P=null}=e,x=zt(t),p=Bt(r),c=It(u),h=_?"":"thin",s=typeof C=="number"||typeof C=="string",d=()=>{let w="";return s||Object.entries(C).forEach($=>{w+=`pb_title_kit_${$[0]}_${$[1]} `}),w.trim()},y=Pt(Dt("pb_title_kit",s?`size_${C}`:"",P,i,h),Tt(e),d(),n),v=`${N}`;return tt.jsx(v,Object.assign({},x,p,c,{className:y,id:b},{children:S||o}),void 0)},dn=e=>{const{aria:t={},children:o,className:n,data:i={},htmlOptions:r={},id:u,lineStyle:b="solid",orientation:C="horizontal",text:_,dark:N=!1,variant:S="card"}=e,P=zt(t),x=Bt(i),p=It(r),c=Pt(Dt("pb_section_separator_kit",S,C,b==="dashed"?b:""),Tt(e),n);return tt.jsx("div",Object.assign({},P,x,p,{className:c,id:u},{children:o&&o||_&&tt.jsx("span",{children:tt.jsx(Xe,{dark:N,text:_},void 0)},void 0)}),void 0)};var dr={exports:{}},qe={},_s={exports:{}},pd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fd=pd,gd=fd;function As(){}function Ls(){}Ls.resetWarningCache=As;var md=function(){function e(n,i,r,u,b,C){if(C!==gd){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ls,resetWarningCache:As};return o.PropTypes=o,o};_s.exports=md();var _r=_s.exports;const r2=pe(_r);var cr={exports:{}},we={},hr={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;/*! * Adapted from jQuery UI core * * http://jqueryui.com * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/category/ui-core/ */var o="none",n="contents",i=/input|select|textarea|button|object|iframe/;function r(S,P){return P.getPropertyValue("overflow")!=="visible"||S.scrollWidth<=0&&S.scrollHeight<=0}function u(S){var P=S.offsetWidth<=0&&S.offsetHeight<=0;if(P&&!S.innerHTML)return!0;try{var x=window.getComputedStyle(S),p=x.getPropertyValue("display");return P?p!==n&&r(S,x):p===o}catch{return console.warn("Failed to inspect element style"),!1}}function b(S){for(var P=S,x=S.getRootNode&&S.getRootNode();P&&P!==document.body;){if(x&&P===x&&(P=x.host.parentNode),u(P))return!1;P=P.parentNode}return!0}function C(S,P){var x=S.nodeName.toLowerCase(),p=i.test(x)&&!S.disabled||x==="a"&&S.href||P;return p&&b(S)}function _(S){var P=S.getAttribute("tabindex");P===null&&(P=void 0);var x=isNaN(P);return(x||P>=0)&&C(S,!x)}function N(S){var P=[].slice.call(S.querySelectorAll("*"),0).reduce(function(x,p){return x.concat(p.shadowRoot?N(p.shadowRoot):[p])},[]);return P.filter(_)}e.exports=t.default})(hr,hr.exports);var Es=hr.exports;Object.defineProperty(we,"__esModule",{value:!0});we.resetState=$d;we.log=bd;we.handleBlur=ki;we.handleFocus=Mi;we.markForFocusLater=Cd;we.returnFocus=Sd;we.popWithoutFocus=wd;we.setupScopedFocus=Od;we.teardownScopedFocus=Pd;var vd=Es,yd=xd(vd);function xd(e){return e&&e.__esModule?e:{default:e}}var ui=[],ei=null,ur=!1;function $d(){ui=[]}function bd(){}function ki(){ur=!0}function Mi(){if(ur){if(ur=!1,!ei)return;setTimeout(function(){if(!ei.contains(document.activeElement)){var e=(0,yd.default)(ei)[0]||ei;e.focus()}},0)}}function Cd(){ui.push(document.activeElement)}function Sd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{ui.length!==0&&(t=ui.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function wd(){ui.length>0&&ui.pop()}function Od(e){ei=e,window.addEventListener?(window.addEventListener("blur",ki,!1),document.addEventListener("focus",Mi,!0)):(window.attachEvent("onBlur",ki),document.attachEvent("onFocus",Mi))}function Pd(){ei=null,window.addEventListener?(window.removeEventListener("blur",ki),document.removeEventListener("focus",Mi)):(window.detachEvent("onBlur",ki),document.detachEvent("onFocus",Mi))}var pr={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var o=Es,n=i(o);function i(b){return b&&b.__esModule?b:{default:b}}function r(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return b.activeElement.shadowRoot?r(b.activeElement.shadowRoot):b.activeElement}function u(b,C){var _=(0,n.default)(b);if(!_.length){C.preventDefault();return}var N=void 0,S=C.shiftKey,P=_[0],x=_[_.length-1],p=r();if(b===p){if(!S)return;N=x}if(x===p&&!S&&(N=P),P===p&&S&&(N=x),N){C.preventDefault(),N.focus();return}var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),h=c!=null&&c[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(h){var s=_.indexOf(p);if(s>-1&&(s+=S?-1:1),N=_[s],typeof N>"u"){C.preventDefault(),N=S?x:P,N.focus();return}C.preventDefault(),N.focus()}}e.exports=t.default})(pr,pr.exports);var kd=pr.exports,Oe={},Md=function(){},js=Md;const Td=pe(js);var Ce={},Is={exports:{}};/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),o={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=o:window.ExecutionEnvironment=o})()})(Is);var Rs=Is.exports;const o2=pe(Rs);Object.defineProperty(Ce,"__esModule",{value:!0});Ce.canUseDOM=Ce.SafeNodeList=Ce.SafeHTMLCollection=void 0;var _d=Rs,Ad=Ld(_d);function Ld(e){return e&&e.__esModule?e:{default:e}}var Mn=Ad.default,Ed=Mn.canUseDOM?window.HTMLElement:{};Ce.SafeHTMLCollection=Mn.canUseDOM?window.HTMLCollection:{};Ce.SafeNodeList=Mn.canUseDOM?window.NodeList:{};Ce.canUseDOM=Mn.canUseDOM;Ce.default=Ed;Object.defineProperty(Oe,"__esModule",{value:!0});Oe.resetState=Dd;Oe.log=Bd;Oe.assertNodeList=Ns;Oe.setElement=Fd;Oe.validateElement=Ar;Oe.hide=zd;Oe.show=Hd;Oe.documentNotReadyOrSSRTesting=Wd;var jd=js,Id=Nd(jd),Rd=Ce;function Nd(e){return e&&e.__esModule?e:{default:e}}var xe=null;function Dd(){xe&&(xe.removeAttribute?xe.removeAttribute("aria-hidden"):xe.length!=null?xe.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(xe).forEach(function(e){return e.removeAttribute("aria-hidden")})),xe=null}function Bd(){}function Ns(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function Fd(e){var t=e;if(typeof t=="string"&&Rd.canUseDOM){var o=document.querySelectorAll(t);Ns(o,t),t=o}return xe=t||xe,xe}function Ar(e){var t=e||xe;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,Id.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function zd(e){var t=!0,o=!1,n=void 0;try{for(var i=Ar(e)[Symbol.iterator](),r;!(t=(r=i.next()).done);t=!0){var u=r.value;u.setAttribute("aria-hidden","true")}}catch(b){o=!0,n=b}finally{try{!t&&i.return&&i.return()}finally{if(o)throw n}}}function Hd(e){var t=!0,o=!1,n=void 0;try{for(var i=Ar(e)[Symbol.iterator](),r;!(t=(r=i.next()).done);t=!0){var u=r.value;u.removeAttribute("aria-hidden")}}catch(b){o=!0,n=b}finally{try{!t&&i.return&&i.return()}finally{if(o)throw n}}}function Wd(){xe=null}var gi={};Object.defineProperty(gi,"__esModule",{value:!0});gi.resetState=Vd;gi.log=Gd;var Si={},wi={};function oo(e,t){e.classList.remove(t)}function Vd(){var e=document.getElementsByTagName("html")[0];for(var t in Si)oo(e,Si[t]);var o=document.body;for(var n in wi)oo(o,wi[n]);Si={},wi={}}function Gd(){}var Ud=function(t,o){return t[o]||(t[o]=0),t[o]+=1,o},Xd=function(t,o){return t[o]&&(t[o]-=1),o},Yd=function(t,o,n){n.forEach(function(i){Ud(o,i),t.add(i)})},Kd=function(t,o,n){n.forEach(function(i){Xd(o,i),o[i]===0&&t.remove(i)})};gi.add=function(t,o){return Yd(t.classList,t.nodeName.toLowerCase()=="html"?Si:wi,o.split(" "))};gi.remove=function(t,o){return Kd(t.classList,t.nodeName.toLowerCase()=="html"?Si:wi,o.split(" "))};var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.log=Zd;mi.resetState=Qd;function qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ds=function e(){var t=this;qd(this,e),this.register=function(o){t.openInstances.indexOf(o)===-1&&(t.openInstances.push(o),t.emit("register"))},this.deregister=function(o){var n=t.openInstances.indexOf(o);n!==-1&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(o){t.subscribers.push(o)},this.emit=function(o){t.subscribers.forEach(function(n){return n(o,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},cn=new Ds;function Zd(){console.log("portalOpenInstances ----------"),console.log(cn.openInstances.length),cn.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function Qd(){cn=new Ds}mi.default=cn;var Lr={};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.resetState=ic;Lr.log=nc;var Jd=mi,tc=ec(Jd);function ec(e){return e&&e.__esModule?e:{default:e}}var he=void 0,$e=void 0,Ye=[];function ic(){for(var e=[he,$e],t=0;t0?(document.body.firstChild!==he&&document.body.insertBefore(he,document.body.firstChild),document.body.lastChild!==$e&&document.body.appendChild($e)):(he.parentElement&&he.parentElement.removeChild(he),$e.parentElement&&$e.parentElement.removeChild($e))}tc.default.subscribe(rc);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(j){for(var f=1;f0&&(O-=1,O===0&&x.show(B)),I.props.shouldFocusAfterRender&&(I.props.shouldReturnFocusAfterClose?(_.returnFocus(I.props.preventScroll),_.teardownScopedFocus()):_.popWithoutFocus()),I.props.onAfterClose&&I.props.onAfterClose(),y.default.deregister(I)},I.open=function(){I.beforeOpen(),I.state.afterOpen&&I.state.beforeClose?(clearTimeout(I.closeTimer),I.setState({beforeClose:!1})):(I.props.shouldFocusAfterRender&&(_.setupScopedFocus(I.node),_.markForFocusLater()),I.setState({isOpen:!0},function(){I.openAnimationFrame=requestAnimationFrame(function(){I.setState({afterOpen:!0}),I.props.isOpen&&I.props.onAfterOpen&&I.props.onAfterOpen({overlayEl:I.overlay,contentEl:I.content})})}))},I.close=function(){I.props.closeTimeoutMS>0?I.closeWithTimeout():I.closeWithoutTimeout()},I.focusContent=function(){return I.content&&!I.contentHasFocus()&&I.content.focus({preventScroll:!0})},I.closeWithTimeout=function(){var E=Date.now()+I.props.closeTimeoutMS;I.setState({beforeClose:!0,closesAt:E},function(){I.closeTimer=setTimeout(I.closeWithoutTimeout,I.state.closesAt-Date.now())})},I.closeWithoutTimeout=function(){I.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},I.afterClose)},I.handleKeyDown=function(E){T(E)&&(0,S.default)(I.content,E),I.props.shouldCloseOnEsc&&a(E)&&(E.stopPropagation(),I.requestClose(E))},I.handleOverlayOnClick=function(E){I.shouldClose===null&&(I.shouldClose=!0),I.shouldClose&&I.props.shouldCloseOnOverlayClick&&(I.ownerHandlesClose()?I.requestClose(E):I.focusContent()),I.shouldClose=null},I.handleContentOnMouseUp=function(){I.shouldClose=!1},I.handleOverlayOnMouseDown=function(E){!I.props.shouldCloseOnOverlayClick&&E.target==I.overlay&&E.preventDefault()},I.handleContentOnClick=function(){I.shouldClose=!1},I.handleContentOnMouseDown=function(){I.shouldClose=!1},I.requestClose=function(E){return I.ownerHandlesClose()&&I.props.onRequestClose(E)},I.ownerHandlesClose=function(){return I.props.onRequestClose},I.shouldBeClosed=function(){return!I.state.isOpen&&!I.state.beforeClose},I.contentHasFocus=function(){return document.activeElement===I.content||I.content.contains(document.activeElement)},I.buildClassName=function(E,B){var U=(typeof B>"u"?"undefined":n(B))==="object"?B:{base:g[E],afterOpen:g[E]+"--after-open",beforeClose:g[E]+"--before-close"},q=U.base;return I.state.afterOpen&&(q=q+" "+U.afterOpen),I.state.beforeClose&&(q=q+" "+U.beforeClose),typeof B=="string"&&B?q+" "+B:q},I.attributesFromObject=function(E,B){return Object.keys(B).reduce(function(U,q){return U[E+"-"+q]=B[q],U},{})},I.state={afterOpen:!1,beforeClose:!1},I.shouldClose=null,I.moveFromContentToOverlay=null,I}return i(f,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(I,E){this.props.isOpen&&!I.isOpen?this.open():!this.props.isOpen&&I.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!E.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var I=this.props,E=I.appElement,B=I.ariaHideApp,U=I.htmlOpenClassName,q=I.bodyOpenClassName,D=I.parentSelector,l=D&&D().ownerDocument||document;q&&c.add(l.body,q),U&&c.add(l.getElementsByTagName("html")[0],U),B&&(O+=1,x.hide(E)),y.default.register(this)}},{key:"render",value:function(){var I=this.props,E=I.id,B=I.className,U=I.overlayClassName,q=I.defaultStyles,D=I.children,l=B?{}:q.content,L=U?{}:q.overlay;if(this.shouldBeClosed())return null;var H={ref:this.setOverlayRef,className:this.buildClassName("overlay",U),style:o({},L,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},G=o({id:E,ref:this.setContentRef,style:o({},l,this.props.style.content),className:this.buildClassName("content",B),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),W=this.props.contentElement(G,D);return this.props.overlayElement(H,W)}}]),f}(r.Component);m.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},m.propTypes={isOpen:b.default.bool.isRequired,defaultStyles:b.default.shape({content:b.default.object,overlay:b.default.object}),style:b.default.shape({content:b.default.object,overlay:b.default.object}),className:b.default.oneOfType([b.default.string,b.default.object]),overlayClassName:b.default.oneOfType([b.default.string,b.default.object]),parentSelector:b.default.func,bodyOpenClassName:b.default.string,htmlOpenClassName:b.default.string,ariaHideApp:b.default.bool,appElement:b.default.oneOfType([b.default.instanceOf(s.default),b.default.instanceOf(h.SafeHTMLCollection),b.default.instanceOf(h.SafeNodeList),b.default.arrayOf(b.default.instanceOf(s.default))]),onAfterOpen:b.default.func,onAfterClose:b.default.func,onRequestClose:b.default.func,closeTimeoutMS:b.default.number,shouldFocusAfterRender:b.default.bool,shouldCloseOnOverlayClick:b.default.bool,shouldReturnFocusAfterClose:b.default.bool,preventScroll:b.default.bool,role:b.default.string,contentLabel:b.default.string,aria:b.default.object,data:b.default.object,children:b.default.node,shouldCloseOnEsc:b.default.bool,overlayRef:b.default.func,contentRef:b.default.func,id:b.default.string,overlayElement:b.default.func,contentElement:b.default.func,testId:b.default.string},t.default=m,e.exports=t.default})(cr,cr.exports);var oc=cr.exports;function Bs(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Fs(e){function t(o){var n=this.constructor.getDerivedStateFromProps(e,o);return n??null}this.setState(t.bind(this))}function zs(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}Bs.__suppressDeprecationWarning=!0;Fs.__suppressDeprecationWarning=!0;zs.__suppressDeprecationWarning=!0;function sc(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var o=null,n=null,i=null;if(typeof t.componentWillMount=="function"?o="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(o="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?i="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(i="UNSAFE_componentWillUpdate"),o!==null||n!==null||i!==null){var r=e.displayName||e.name,u=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. `+r+" uses "+u+" but also contains the following legacy lifecycles:"+(o!==null?` `+o:"")+(n!==null?` `+n:"")+(i!==null?` `+i:"")+` The above lifecycles should be removed. Learn more about this warning here: https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Bs,t.componentWillReceiveProps=Fs),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=zs;var b=t.componentDidUpdate;t.componentDidUpdate=function(_,N,S){var P=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:S;b.call(this,_,N,P)}}return e}const ac=Object.freeze(Object.defineProperty({__proto__:null,polyfill:sc},Symbol.toStringTag,{value:"Module"})),lc=Ol(ac);Object.defineProperty(qe,"__esModule",{value:!0});qe.bodyOpenClassName=qe.portalClassName=void 0;var ao=Object.assign||function(e){for(var t=1;t{const{onClose:t}=e;return tt.jsx("div",Object.assign({className:"pb_dialog_close_icon",onClick:t},{children:tt.jsx(Ut,{fixedWidth:!0,icon:"times"},void 0)}),void 0)},Ws=oe.createContext(null),wc=e=>{const{aria:t={},children:o,className:n,data:i={},htmlOptions:r={},spacing:u="between",closeable:b=!0,separator:C=!0}=e,_=zt(t),N=Bt(i),S=It(r),P=fi(Ws),x=Dt("dialog_header"),p=Tt(e);return tt.jsxs("div",Object.assign({className:"dialog_sticky_header"},{children:[tt.jsxs(ne,Object.assign({},_,N,S,{className:Pt(x,p,n),spacing:u},{children:[o,b&&tt.jsx(Sc,{onClose:P.onClose},void 0)]}),void 0),C&&tt.jsx(dn,{},void 0)]}),void 0)},Oc=e=>{const{children:t,className:o,htmlOptions:n={},spacing:i="between",separator:r=!1}=e,u=Dt("dialog_footer"),b=Tt(e),C=It(n);return tt.jsxs("div",Object.assign({},C,{children:[r&&tt.jsx(dn,{},void 0),tt.jsx("div",{className:"dialog-pseudo-footer"},void 0),tt.jsx(ne,Object.assign({className:Pt(u,b,o),spacing:i},{children:t}),void 0)]}),void 0)},Pc=e=>{const{children:t,className:o}=e,n=Dt("dialog_body"),i=Tt(e);return tt.jsx("div",Object.assign({className:Pt(n,i,o)},{children:t}),void 0)},Ge=e=>{const{aria:t={},cancelButton:o,confirmButton:n,className:i,data:r={},htmlOptions:u={},id:b,size:C="md",children:_,loading:N=!1,fullHeight:S=!1,opened:P,onCancel:x,onConfirm:p,onClose:c,placement:h="center",portalClassName:s,shouldCloseOnOverlayClick:d=!0,status:y,text:v,title:w,trigger:$}=e,k=zt(t),A=Bt(r),g=It(u),T={base:Pt("pb_dialog",Dt("pb_dialog",C,h)),afterOpen:"pb_dialog_after_open",beforeClose:"pb_dialog_before_close"},O={base:`pb_dialog_overlay ${S!==null&&(S?C==="xl"?"full_height_center":`full_height_${h}`:null)}`,afterOpen:"pb_dialog_overlay_after_open",beforeClose:"pb_dialog_overlay_before_close"},m=Pt(Dt("pb_dialog_wrapper"),Tt(e),i),[j,f]=Nt(!1),M=$?j:P,I={onClose:$?function(){f(!1)}:c};$&&document.querySelector($).addEventListener("click",()=>{f(!0),document.querySelector("#cancel-button").addEventListener("click",()=>{f(!1)})},{once:!0});const E={default:{icon:"exclamation-circle",variant:"default",size:"lg"},info:{icon:"info-circle",variant:"default",size:"lg"},caution:{icon:"exclamation-triangle",variant:"yellow",size:"lg"},delete:{icon:"trash-alt",variant:"red",size:"lg"},error:{icon:"times-circle",variant:"red",size:"lg"},success:{icon:"check-circle",variant:"green",size:"lg"}};return tt.jsx(Ws.Provider,Object.assign({value:I},{children:tt.jsx("div",Object.assign({},k,A,g,{className:m},{children:tt.jsx(Cc,Object.assign({ariaHideApp:!1,className:T,closeTimeoutMS:200,contentLabel:"Minimal Modal Example",id:b,isOpen:M,onRequestClose:c,overlayClassName:O,portalClassName:s,shouldCloseOnOverlayClick:d},{children:tt.jsxs(tt.Fragment,{children:[w&&!y?tt.jsx(Ge.Header,{children:w},void 0):null,!y&&v?tt.jsx(Ge.Body,{children:v},void 0):null,y&&tt.jsx(Ge.Body,Object.assign({className:"dialog_status_text_align",padding:"md"},{children:tt.jsxs(ne,Object.assign({align:"center",orientation:"column"},{children:[tt.jsx(xs,{icon:E[y].icon,size:E[y].size,variant:E[y].variant},void 0),tt.jsx(Pi,Object.assign({marginTop:"sm",size:3},{children:w}),void 0),tt.jsx(Ee,{marginTop:"xs",text:v},void 0)]}),void 0)}),void 0),o&&n?tt.jsxs(Ge.Footer,{children:[tt.jsx(ln,Object.assign({htmlType:"button",loading:N,onClick:p,variant:"primary"},{children:n}),void 0),tt.jsx(ln,Object.assign({htmlType:"button",id:"cancel-button",onClick:x,variant:"link"},{children:o}),void 0)]},void 0):null,_]},void 0)}),void 0)}),void 0)}),void 0)};Ge.Header=wc;Ge.Body=Pc;Ge.Footer=Oc;const kc=e=>e.map(t=>parseInt(t.toString().replace(/[^0-9.]/gi,""))),Mc=(e,t)=>{const n=(i=>i.reduce((r,u)=>r+u,0))(e);return e.map((i,r)=>tt.jsx("div",{className:Pt("pb_distribution_width",t[r]?`color_${t[r]}`:""),style:{width:`${i*100/n}%`}},r))},s2=e=>{const{htmlOptions:t={},size:o="lg",widths:n=[1],colors:i=[]}=e,r=kc(n),u=It(t);return tt.jsx("div",Object.assign({className:Pt(`pb_distribution_bar_${o}`,Tt(e))},u,{children:Mc(r,i)}),void 0)},Tc=(e,t)=>{const{addOn:o={icon:null,alignment:"right",border:!0},aria:n={},className:i,dark:r=!1,data:u={},disabled:b,error:C,htmlOptions:_={},id:N,inline:S=!1,name:P,label:x,onChange:p=()=>{},placeholder:c,required:h,type:s="text",value:d="",children:y=null}=e,v=zt(n),w=Bt(u),$=It(_),k=Object.assign({},e);k.marginBottom===void 0&&(k.marginBottom="sm");const{alignment:A,border:g,icon:T}=o,a=A==="left"?"left":"right",j=`border_${a==="left"?"right":"left"}_${g===!1?"off":"on"}`,f=T!==null,M=f?"text_input_wrapper_add_on":"",I=f&&r?"add-on-card-dark":"",E=Pt(["pb_text_input_kit",S?"inline":"",C?"error":"",Tt(k),i]),B=tt.jsx(Ut,{className:"add-on-icon",dark:r,fixedWidth:!1,icon:T},void 0),U=y?y.type==="input":void 0,q=U?oe.cloneElement(y,{className:"text_input"}):Pr("input",Object.assign({},Fl(e),{className:"text_input",disabled:b,id:N,key:N,name:P,onChange:p,placeholder:c,ref:t,required:h,type:s,value:d})),D=tt.jsx(oe.Fragment,{children:tt.jsxs(ne,Object.assign({className:`add-on-${a} ${j}`,vertical:"center"},{children:[a=="left"&&tt.jsxs(tt.Fragment,{children:[tt.jsx(di,Object.assign({className:`${I} add-on-card card-left-aligned`,dark:r},{children:B}),void 0),q]},void 0),a!="left"&&tt.jsxs(tt.Fragment,{children:[q,tt.jsx(di,Object.assign({className:`${I} add-on-card card-right-aligned`,dark:r},{children:B}),void 0)]},void 0)]}),void 0)},void 0),l=y&&!U?y:f?D:q;return tt.jsxs("div",Object.assign({},v,w,$,{className:E},{children:[x&&tt.jsx(Xe,{className:"pb_text_input_kit_label",text:x},void 0),tt.jsxs("div",Object.assign({className:`${M} text_input_wrapper`},{children:[l,C&&tt.jsx(Ee,{status:"negative",text:C,variant:null},void 0)]}),void 0)]}),void 0)},Er=Ie(Tc);var Vs=gt.createContext(),Gs=gt.createContext();function _c(e){var t=e.children,o=gt.useState(null),n=o[0],i=o[1],r=gt.useRef(!1);gt.useEffect(function(){return function(){r.current=!0}},[]);var u=gt.useCallback(function(b){r.current||i(b)},[]);return gt.createElement(Vs.Provider,{value:n},gt.createElement(Gs.Provider,{value:u},t))}var Us=function(t){return Array.isArray(t)?t[0]:t},Xs=function(t){if(typeof t=="function"){for(var o=arguments.length,n=new Array(o>1?o-1:0),i=1;it?e.concat([Rh.offset]):e,Dh=e=>{const{aria:t={},className:o,children:n,data:i={},htmlOptions:r={},id:u,modifiers:b,offset:C,placement:_,referenceElement:N,zIndex:S,maxHeight:P,maxWidth:x,minHeight:p,minWidth:c,targetId:h}=e,s=Tt(e).includes("dark")||!Tt(e)?"p_sm":Tt(e),d=P||x?"overflow_handling":"",y=S?{zIndex:S}:{},v=()=>Object.assign({},P?{maxHeight:P}:{},x?{maxWidth:x}:{},p?{minHeight:p}:{},c?{minWidth:c}:{}),w=zt(t),$=Bt(i),k=It(r),A=Pt(Dt("pb_popover_kit"),Tt(e),o);return tt.jsx(Hc,Object.assign({modifiers:Nh({modifiers:b,offset:C}),placement:_,referenceElement:N},{children:({placement:g,ref:T,style:a})=>tt.jsx("div",Object.assign({},w,$,k,{className:A,"data-placement":g,id:u,ref:T,style:Object.assign({},a,y)},{children:tt.jsx("div",Object.assign({className:Pt(`${Dt("pb_popover_tooltip")} show`)},{children:tt.jsx("div",Object.assign({className:Pt("pb_popover_body",s,d),id:h,style:v()},{children:n}),void 0)}),void 0)}),void 0)}),void 0)},Ir=e=>{const[t]=Nt(Ih("id-")),{className:o,children:n,modifiers:i=[],offset:r=!1,placement:u="left",portal:b="body",reference:C,referenceElement:_,show:N=!1,usePortal:S=!0,zIndex:P,maxHeight:x,maxWidth:p,minHeight:c,minWidth:h}=e;qt(()=>{const{closeOnClick:d,shouldClosePopover:y=kn}=e;d&&document.body.addEventListener("click",v=>{const w=v.target,$=w.closest("#"+t)!==null,k=w.closest("#reference-"+t)!==null,A=()=>{setTimeout(()=>y(!0),0)};switch(d){case"outside":!$&&!k&&A();break;case"inside":$&&A();break;case"any":($||!$&&!k)&&A();break}},{capture:!0})},[]);const s=tt.jsx(Dh,Object.assign({className:o,maxHeight:x,maxWidth:p,minHeight:c,minWidth:h,modifiers:i,offset:r,placement:u,referenceElement:_,targetId:t,zIndex:P},e,{children:n}),void 0);return tt.jsx(_c,{children:tt.jsxs(tt.Fragment,{children:[C&&!_&&tt.jsx(Wc,{children:({ref:d})=>tt.jsx("span",Object.assign({className:"pb_popover_reference_wrapper",id:"reference-"+t,ref:d},{children:tt.jsx(C.type,Object.assign({},C.props),void 0)}),void 0)},void 0),N&&(S?tt.jsx(tt.Fragment,{children:hs.createPortal(s,document.querySelector(b))},void 0):{popoverComponent:s})]},void 0)},void 0)},pn=e=>{const{className:t,htmlOptions:o={},id:n,text:i,name:r,onClick:u=()=>{},avatarUrl:b,closeProps:C={},size:_="",textTransform:N="none"}=e,S=Pt("pb_form_pill_kit_primary",Tt(e),t,_==="small"?"small":null,N),P=It(o);return tt.jsxs("div",Object.assign({className:S,id:n},P,{children:[r&&tt.jsxs(tt.Fragment,{children:[tt.jsx(Cs,{imageUrl:b,name:r,size:"xs",status:null},void 0),tt.jsx(Pi,{className:"pb_form_pill_text",size:4,text:r},void 0)]},void 0),i&&tt.jsx(Pi,{className:"pb_form_pill_tag",size:4,text:i},void 0),tt.jsx("div",Object.assign({className:"pb_form_pill_close",onClick:u},C,{children:tt.jsx(Ut,{fixedWidth:!0,icon:"times"},void 0)}),void 0)]}),void 0)};var qs={exports:{}};(function(e){(function(t){e.exports?(t.default=t,e.exports=t):t(typeof Highcharts<"u"?Highcharts:void 0)})(function(t){function o(n,i,r,u){n.hasOwnProperty(i)||(n[i]=u.apply(null,r),typeof CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:n[i]}})))}t=t?t._modules:{},o(t,"Core/Axis/SolidGaugeAxis.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(n,i){var r=n.parse,u=i.extend,b=i.merge,C;return function(_){var N={initDataClasses:function(S){var P=this.chart,x,p=0,c=this.options;this.dataClasses=x=[],S.dataClasses.forEach(function(h,s){h=b(h),x.push(h),h.color||(c.dataClassColor==="category"?(s=P.options.colors,h.color=s[p++],p===s.length&&(p=0)):h.color=r(c.minColor).tweenTo(r(c.maxColor),s/(S.dataClasses.length-1)))})},initStops:function(S){this.stops=S.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(P){P.color=r(P[1])})},toColor:function(S,P){var x=this.stops,p=this.dataClasses,c;if(p)for(c=p.length;c--;){var h=p[c],s=h.from;if(x=h.to,(typeof s>"u"||S>=s)&&(typeof x>"u"||S<=x)){var d=h.color;P&&(P.dataClass=c);break}}else{for(this.logarithmic&&(S=this.val2lin(S)),S=1-(this.max-S)/(this.max-this.min),c=x.length;c--&&!(S>x[c][0]););s=x[c]||x[c+1],x=x[c+1]||s,S=1-(x[0]-S)/(x[0]-s[0]||1),d=s.color.tweenTo(x.color,S)}return d}};_.init=function(S){u(S,N)}}(C||(C={})),C}),o(t,"Series/SolidGauge/SolidGaugeSeriesDefaults.js",[],function(){return{colorByPoint:!0,dataLabels:{y:0}}}),o(t,"Series/SolidGauge/SolidGaugeComposition.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(n){n=n.prototype;var i=n.symbols.arc;n.symbols.arc=function(r,u,b,C,_){return r=i(r,u,b,C,_),_&&_.rounded&&(b=((_.r||b)-(_.innerR||0))/2,u=r[0],_=r[2],u[0]==="M"&&_[0]==="L"&&(u=["A",b,b,0,1,1,u[1],u[2]],r[2]=["A",b,b,0,1,1,_[1],_[2]],r[4]=u)),r}}),o(t,"Series/SolidGauge/SolidGaugeSeries.js",[t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Axis/SolidGaugeAxis.js"],t["Series/SolidGauge/SolidGaugeSeriesDefaults.js"],t["Core/Utilities.js"]],function(n,i,r,u,b){var C=this&&this.__extends||function(){var d=function(y,v){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,$){w.__proto__=$}||function(w,$){for(var k in $)$.hasOwnProperty(k)&&(w[k]=$[k])},d(y,v)};return function(y,v){function w(){this.constructor=y}d(y,v),y.prototype=v===null?Object.create(v):(w.prototype=v.prototype,new w)}}(),_=i.seriesTypes,N=_.gauge,S=_.pie.prototype,P=b.clamp,x=b.extend,p=b.isNumber,c=b.merge,h=b.pick,s=b.pInt;return b=function(d){function y(){var v=d!==null&&d.apply(this,arguments)||this;return v.data=void 0,v.points=void 0,v.options=void 0,v.axis=void 0,v.yAxis=void 0,v.startAngleRad=void 0,v.thresholdAngleRad=void 0,v}return C(y,d),y.prototype.translate=function(){var v=this.yAxis;r.init(v),!v.dataClasses&&v.options.dataClasses&&v.initDataClasses(v.options),v.initStops(v.options),N.prototype.translate.call(this)},y.prototype.drawPoints=function(){var v=this.yAxis,w=v.center,$=this.options,k=this.chart.renderer,A=$.overshoot;A=p(A)?A/180*Math.PI:0;var g;p($.threshold)&&(g=v.startAngleRad+v.translate($.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=h(g,v.startAngleRad),g=0;for(var T=this.points;g2*Math.PI&&(I=j+2*Math.PI),a.shapeArgs=m={x:w[0],y:w[1],r:O,innerR:m,start:j,end:I,rounded:$.rounded},a.startR=O,M?(O=m.d,M.animate(x({fill:E},m)),O&&(m.d=O)):a.graphic=M=k.arc(m).attr({fill:E,"sweep-flag":0}).add(this.group),this.chart.styledMode||($.linecap!=="square"&&M.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),M.attr({stroke:$.borderColor||"none","stroke-width":$.borderWidth||0})),M&&M.addClass(a.getClassName(),!0)}}},y.prototype.animate=function(v){v||(this.startAngleRad=this.thresholdAngleRad,S.animate.call(this,v))},y.defaultOptions=c(N.defaultOptions,u),y}(N),x(b.prototype,{drawLegendSymbol:n.drawRectangle}),i.registerSeriesType("solidgauge",b),b}),o(t,"masters/modules/solid-gauge.src.js",[],function(){})})})(qs);var Bh=qs.exports;const Fh=pe(Bh),a2=e=>{var{aria:t={},chartData:o,customOptions:n={},dark:i=!1,data:r={},disableAnimation:u=!1,fullCircle:b=!1,height:C=null,htmlOptions:_={},id:N,max:S=100,min:P=0,prefix:x="",showLabels:p=!1,style:c="solidgauge",suffix:h="",title:s="",tooltipHtml:d='{point.name}: {point.y}',colors:y=[],minorTickInterval:v=null,circumference:w=b?[0,360]:[-100,100]}=e,$=me(e,["aria","chartData","customOptions","dark","data","disableAnimation","fullCircle","height","htmlOptions","id","max","min","prefix","showLabels","style","suffix","title","tooltipHtml","colors","minorTickInterval","circumference"]);const k=zt(t),A=Bt(r),g=It(_);Ps(Qt),Fh(Qt),(()=>{i?Qt.setOptions(Ri):Qt.setOptions(be)})(),Qt.setOptions({tooltip:{pointFormat:d,followPointer:!0}});const a=Dt({pb_gauge_kit:!0}),[O,m]=Nt({});return qt(()=>{const j=o.map(M=>(M.y=M.value,delete M.value,M)),f={chart:{events:{load(){setTimeout(this.reflow.bind(this),0)}},type:c,height:C},title:{text:s},yAxis:{min:P,max:S,lineWidth:0,tickWidth:0,minorTickInterval:v,tickAmount:2,tickPositions:[P,S],labels:{y:26,enabled:p}},credits:!1,series:[{data:j}],pane:{center:["50%","50%"],size:"90%",startAngle:w[0],endAngle:w[1],background:{borderWidth:20,innerRadius:"90%",outerRadius:"90%",shape:"arc",className:"gauge-pane"}},colors:y!==void 0&&y.length>0?hi(y):be.colors,plotOptions:{series:{animation:!u},solidgauge:{borderColor:y!==void 0&&y.length===1?hi(y).join():be.colors[0],borderWidth:20,radius:90,innerRadius:"90%",dataLabels:{borderWidth:0,color:Ct.text_lt_default,enabled:!0,format:`${x}{y:,f}${h}`,style:{fontFamily:Ot.font_family_base,fontWeight:Ot.regular,fontSize:Ot.heading_2},y:-26}}}};m(te.merge(f,n)),document.querySelector(".prefix")&&(document.querySelectorAll(".prefix").forEach(M=>{M.setAttribute("y","28")}),document.querySelectorAll(".fix").forEach(M=>M.setAttribute("y","38")))},[o]),tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt(a,Tt($)),id:N},k),A),g),highcharts:Qt,options:O},void 0)},l2=e=>{const{aria:t={},className:o,color:n="data_1",dark:i=!1,data:r={},htmlOptions:u={},id:b,prefixText:C,text:_}=e,N=zt(t),S=Bt(r),P=It(u),x=n.charAt(0)==="#"&&n,p={background:x},c=Pt(Dt("pb_legend_kit",x?"":n),Tt(e),o);return tt.jsx("div",Object.assign({},N,S,P,{className:c,id:b},{children:tt.jsxs(Ee,Object.assign({color:i?"lighter":"light"},{children:[tt.jsx("span",{className:`${x?"pb_legend_indicator_circle_custom":"pb_legend_indicator_circle"}`,style:p},void 0),C&&tt.jsx(Pi,{dark:i,size:4,tag:"span",text:` ${C} `},void 0),` ${_} `]}),void 0)}),void 0)},d2=e=>{var{aria:t={},data:o={},align:n="center",className:i="pb_bar_graph",customOptions:r={},dark:u=!1,gradient:b=!1,type:C="line",htmlOptions:_={},id:N,legend:S=!1,toggleLegendClick:P=!0,layout:x="horizontal",verticalAlign:p="bottom",x:c=0,y:h=0,axisTitle:s,xAxisCategories:d,yAxisMin:y,yAxisMax:v,chartData:w,pointStart:$,subTitle:k,title:A,height:g,colors:T=[]}=e,a=me(e,["aria","data","align","className","customOptions","dark","gradient","type","htmlOptions","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]);const O=zt(t),m=Bt(o),j=It(_);(()=>{u?Qt.setOptions(Ri):Qt.setOptions(be)})();const M={title:{text:A},chart:{height:g,type:C},subtitle:{text:k},yAxis:{min:y,max:v,title:{text:s}},xAxis:{categories:d},legend:{enabled:S,align:n,verticalAlign:p,layout:x,x:c,y:h},colors:T!==void 0&&T.length>0?hi(T):be.colors,plotOptions:{series:{pointStart:$,events:{},dataLabels:{enabled:!1}}},series:w,credits:!1};P||(M.plotOptions.series.events={legendItemClick:()=>!1});const I=Object.assign({},a);delete I.verticalAlign;const[E,B]=Nt({});return qt(()=>{B(te.merge(M,r))},[w]),tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt(Tt(I),i),id:N},O),m),j),highcharts:Qt,options:E},void 0)},zh=(e,t)=>{var{aria:o={},alignment:n,children:i,className:r,dark:u=!1,data:b={},disabled:C=!1,error:_=!1,htmlOptions:N={},id:S,label:P,name:x="radio_name",text:p="Radio Text",value:c="radio_text",onChange:h=()=>{}}=e,s=me(e,["aria","alignment","children","className","dark","data","disabled","error","htmlOptions","id","label","name","text","value","onChange"]);const d=zt(o),y=Bt(b),v=It(N),w=Pt(Dt("pb_radio_kit",n),u?"dark":null,_?"error":null,Tt(s),r),$=k=>i||tt.jsx("input",Object.assign({disabled:C,id:S,name:x,onChange:h,ref:t,text:p,type:"radio",value:c},k),void 0);return tt.jsxs("label",Object.assign({},d,y,v,{className:w,htmlFor:S},{children:[tt.jsx(tt.Fragment,{children:$(s)},void 0),tt.jsx("span",{className:"pb_radio_button"},void 0),tt.jsx(Ee,{dark:u,status:_?"negative":null,text:P,variant:null},void 0)]}),void 0)},Hh=Ie(zh),ii=(e,t)=>{const o=[],n=(i,r)=>{for(const u of i){if(u.id.toLowerCase()===r.toLowerCase()){o.push(u);return}u.children&&u.children.length>0&&n(u.children,r)}};return n(e,t),o},Wh=(e,t)=>{const o=[],n=(i,r)=>{for(const u of i)u.label.toLowerCase().includes(r.toLowerCase())&&o.push(u),u.children&&n(u.children,r)};return n(e,t),o},Zs=(e,t)=>{if(t.parent_id){const o=ii(e,t.parent_id);o[0].checked=!1,o[0].parent_id&&Zs(e,o[0])}return e},Zi=e=>{const t=[];if(Array.isArray(e))return e.forEach(o=>{if(o.checked&&t.push(o),o.children&&o.children.length>0){const n=Zi(o.children);t.push(...n)}}),t},Xn=e=>{const t=[],o=n=>{Array.isArray(n)&&n.forEach(i=>{if(i.checked)if(i.children&&i.children.length>0){if(i.children.filter(u=>!u.checked).length===0){t.push(i);return}}else{const r=n.find(u=>u.id===i.parentId);(!r||!r.checked)&&t.push(i)}i.children&&i.children.length>0&&o(i.children)})};return o(e),t},Qs=(e,t)=>{if(e.parent_id!==null){const o=ii(t,e.parent_id);o[0].children.every(i=>i.checked)&&(o[0].checked=!0,o[0].parent_id!==null&&Qs(o[0],t))}return t},Vh=(e,t)=>{const o=[],n=(i,r=[])=>{for(let u=0;u_.id)),Array.isArray(b.children)&&(b.children.some(N=>N.checked)&&o.push(...C.map(N=>N.id)),n(b.children,C))}};return n(e),o},c2=e=>{const{aria:t={},className:o,data:n={},htmlOptions:i={},id:r,inputDisplay:u="pills",inputName:b,name:C,returnAllSelected:_=!1,treeData:N,onSelect:S=()=>null,selectedIds:P,variant:x="multi"}=e,p=zt(t),c=Bt(n),h=It(i),s=Pt(Dt("pb_multi_level_select"),Tt(e),o),d=de(null),[y,v]=Nt(!0),[w,$]=Nt(""),[k,A]=Nt([]),[g,T]=Nt([]),[a,O]=Nt([]),m=Vh(N,P),[j,f]=Nt(m),[M,I]=Nt({id:[],value:"",item:[]}),E=(X,Y)=>{if(Array.isArray(X))return X.map(Z=>(Z.checked=Y,Z.children=E(Z.children,Y),Z))},B=(X,Y,Z=null,et=0)=>{if(Array.isArray(X))return X.map(nt=>{const at=Object.assign(Object.assign({},nt),{checked:!!(Y&&Y.length&&Y.includes(nt.id)),parent_id:Z,depth:et});if(at.children&&at.children.length>0){const ct=nt.checked&&!_?E(nt.children,!0):nt.children;at.children=B(ct,Y,at.id,et+1)}return at})};qt(()=>{const X=B(N,x==="single"?[P==null?void 0:P[0]]:P);if(A(X),x==="single"){if((P==null?void 0:P.length)===0||!(P!=null&&P.length))I({id:[],value:"",item:[]});else if((P==null?void 0:P.length)!==0&&!M.value){const Y=ii(X,P[0]);if(!Y.length)I({id:[],value:"",item:[]});else{const{id:Z,value:et}=Y[0];I({id:[Z],value:et,item:Y})}}}},[N,P]),qt(()=>{_?T(Zi(k)):O(x==="single"?M.item:Xn(k))},[k]),qt(()=>{const X=Y=>{d.current&&!d.current.contains(Y.target)&&v(!0)};return window.addEventListener("click",X),()=>{window.removeEventListener("click",X)}},[]);const U=(X,Y,Z)=>{if(Array.isArray(Y))return Y.map(et=>(et.id!=X?et.children=U(X,et.children,Z):(et.checked=Z,x==="single"?et.children=E(et.children,!Z):et.children=E(et.children,Z)),et))},q=X=>{const Y=te.cloneDeep(k);if(_)return U(X.id,Y,!0);{const Z=U(X.id,Y,!0);return Qs(X,Z)}},D=X=>{const Y=te.cloneDeep(k);if(_)return U(X.id,Y,!1);{const Z=U(X.id,Y,!1);return Zs(Z,X)}},l=(X,Y)=>{const Z=Y?q(X):D(X);return A(Z),Z},L=(X,Y)=>{X.stopPropagation();const Z=l(Y,!1);S(_?Zi(Z):Xn(Z))},H=X=>{X.stopPropagation(),!(X.target.id==="multiselect_input"||X.target.classList.contains("pb_form_pill_tag"))&&v(!y)},G=(X,Y)=>{const Z=X.target.parentNode.id;$("");const et=ii(k,Z),nt=l(et[0],Y);S(_?Zi(nt):Xn(nt))},W=X=>{const{id:Y,value:Z}=X.target,et=Y.match(/^[^-]*/)[0],nt=E(k,!1),at=U(et,nt,!0),ct=ii(at,et);A(at),I({id:[et],value:Z,item:ct}),$(""),v(!0),S(ct)},R=X=>{E(k,!1),O([]),I({id:[],value:X,item:[]}),$(X)},F=X=>j.indexOf(X.id)>-1,z=(X,Y)=>{Y.stopPropagation();const Z=ii(k,X);if(Z){let et=[...j];F(Z[0])?et=et.filter(at=>at!=Z[0].id):et.push(Z[0].id),f(et)}},K=()=>{let X;return _&&g&&g.length?X=g.length:!_&&a&&a.length&&(X=a.length),X},V=X=>tt.jsx("ul",{children:Array.isArray(X)&&X.map(Y=>tt.jsx("div",{children:tt.jsxs("li",Object.assign({className:"dropdown_item","data-name":Y.id},{children:[tt.jsxs("div",Object.assign({className:"dropdown_item_checkbox_row"},{children:[!Y.parent_id&&!Y.children?null:tt.jsx("div",{children:tt.jsx(ks,{className:Y.children&&Y.children.length>0?"":"toggle_icon",icon:F(Y)?"chevron-down":"chevron-right",onClick:Z=>z(Y.id,Z),variant:"link"},void 0)},F(Y)?"chevron-down":"chevron-right"),x==="single"?Y.hideRadio?tt.jsx(Ee,{children:Y.label},void 0):tt.jsx(Hh,{checked:Y.checked,id:`${Y.id}-${Y.label}`,label:Y.label,name:b,onChange:Z=>W(Z),padding:Y.children?"none":"xs",type:"radio",value:Y.label},void 0):tt.jsx(ld,Object.assign({id:Y.id,text:Y.label},{children:tt.jsx("input",{checked:Y.checked,name:Y.label,onChange:Z=>{G(Z,!Y.checked)},type:"checkbox",value:Y.label},void 0)}),void 0)]}),void 0),F(Y)&&Y.children&&Y.children.length>0&&(x==="single"||!w)&&tt.jsx("div",{children:V(Y.children)},void 0)]}),void 0)},Y.id))},void 0);return tt.jsx("div",Object.assign({},p,c,h,{className:s,id:r},{children:tt.jsxs("div",Object.assign({className:"wrapper",ref:d},{children:[tt.jsxs("div",Object.assign({className:"input_wrapper",onClick:H},{children:[tt.jsxs("div",Object.assign({className:"input_inner_container"},{children:[x==="single"&&a.length!==0?a.map(X=>tt.jsx("input",{name:`${C}[]`,type:"hidden",value:X.id},X.id)):null,x!=="single"&&tt.jsxs(tt.Fragment,{children:[_&&g.length!==0?g.map(X=>tt.jsx("input",{name:`${C}[]`,type:"hidden",value:X.id},X.id)):null,_&&g.length!==0&&u==="pills"?g.map((X,Y)=>tt.jsx(pn,{onClick:Z=>L(Z,X),size:"small",text:X.label},Y)):null,!_&&a.length!==0&&u==="pills"?a.map((X,Y)=>tt.jsx(pn,{onClick:Z=>L(Z,X),size:"small",text:X.label},Y)):null,_&&g.length!==0&&u==="pills"&&tt.jsx("br",{},void 0),!_&&a.length!==0&&u==="pills"&&tt.jsx("br",{},void 0)]},void 0),tt.jsx("input",{id:"multiselect_input",onChange:X=>{x==="single"?R(X.target.value):$(X.target.value)},onClick:()=>v(!1),placeholder:u==="none"&&K()?`${K()} ${K()===1?"item":"items"} selected`:"Start typing...",value:M.value||w},void 0)]}),void 0),y?tt.jsx("div",{children:tt.jsx(Ut,{icon:"chevron-down",size:"xs"},void 0)},"chevron-down"):tt.jsx("div",{children:tt.jsx(Ut,{icon:"chevron-up",size:"xs"},void 0)},"chevron-up")]}),void 0),tt.jsx("div",Object.assign({className:`dropdown_menu ${y?"close":"open"}`},{children:V(w?Wh(k,w):k)}),void 0)]}),void 0)}),void 0)},Js=e=>{const{aria:t={},borderless:o=!1,children:n,className:i,data:r={},dark:u=!1,highlight:b=!0,htmlOptions:C={},id:_,link:N="#",onClick:S,orientation:P="vertical",title:x="",variant:p="normal",itemSpacing:c}=e,h=zt(t),s=Bt(r),d=It(C),y=Pt(Dt("pb_nav_list",p,P,{highlight:b,borderless:o}),Tt(e),i),v=oe.Children.map(n,w=>{if(oe.isValidElement(w)){const $={orientation:P,variant:p,itemSpacing:c};return oe.cloneElement(w,$)}return w});return tt.jsxs("nav",Object.assign({},h,s,d,{className:y,id:_},{children:[x&&tt.jsx("div",Object.assign({className:"pb_nav_list_title"},{children:tt.jsx("a",Object.assign({className:"pb_nav_list_item_link_text",href:N,onClick:S},{children:tt.jsx(Xe,{dark:u,size:"md",text:`${x}`},void 0)}),void 0)}),void 0),tt.jsx("div",Object.assign({className:"pb_nav_wrapper"},{children:v}),void 0)]}),void 0)},ta=e=>{const t=(ut,st)=>ut==="horizontal"&&st==="subtle"?"regular":ut==="horizontal"&&st==="normal"?"bold":"regular",{active:o=!1,highlighted_border:n=!0,aria:i={},orientation:r,variant:u,fontWeight:b=t(r,u),children:C,className:_,collapsible:N,data:S={},dark:P=!1,fontSize:x="normal",htmlOptions:p={},iconLeft:c,iconRight:h,onIconRightClick:s,onIconLeftClick:d,id:y,imageUrl:v,link:w,onClick:$,target:k="_self",text:A="",collapsibleTrail:g,collapsed:T,itemSpacing:a,margin:O,marginBottom:m,marginTop:j,marginRight:f,marginLeft:M,marginX:I,marginY:E}=e,B={margin:O,marginBottom:m,marginTop:j,marginRight:f,marginLeft:M,marginX:I,marginY:E},U=ut=>{const st={},J={};for(const Q in ut)Q.startsWith("padding")?st[Q]=ut[Q]:Q.startsWith("margin")&&(J[Q]=ut[Q]);return{filteredPadding:st,filteredMargin:J}},{filteredPadding:q,filteredMargin:D}=U(a),l=Object.assign(Object.assign({},D||{}),Object.entries(B).reduce((ut,[st,J])=>(J&&(ut[st]=J),ut),{})),L=Object.assign({},e);L==null||delete L.margin,L==null||delete L.marginX,L==null||delete L.marginY,L==null||delete L.marginBottom,L==null||delete L.marginTop,L==null||delete L.marginRight,L==null||delete L.marginLeft;const H=w?"a":"div",G=o===!0?"active":"",W=o===!0&&n===!1?"highlighted_border_none":"",R=N&&g?"collapsible_trail":"",F={small:"font_size_small",normal:"font_size_normal"},z={bold:"font_bold",bolder:"font_bolder",regular:"font_regular"},K=F[x],V=z[b],X=zt(i),Y=Bt(S),Z=It(p),et=Pt(N?"pb_nav_list_item_link_collapsible":"pb_nav_list_item_link"),nt=Pt(Dt("pb_nav_list_kit_item",G,W),N?Dt("pb_collapsible_nav_item",G,W):"",K,V,et,N?Tt(L,Object.assign({},q)):Tt(e,Object.assign({},a)),_),at=ut=>{d&&(ut.stopPropagation(),d())},ct=oe.Children.map(C,ut=>{if(oe.isValidElement(ut)){const st={itemSpacing:a};return oe.cloneElement(ut,st)}return ut}),dt=Dt("collapsible_nav_wrapper",G,W,R);return tt.jsx(tt.Fragment,{children:N?tt.jsx(tt.Fragment,{children:tt.jsxs(oi,Object.assign({className:dt,collapsed:T,icon:h&&h,iconSize:"xs",id:y,onClick:$,onIconClick:s},{children:[tt.jsx(oi.Main,Object.assign({className:Tt(Object.assign({},l)),dark:P},{children:tt.jsxs(H,Object.assign({},X,Y,Z,{className:nt,href:w,id:y,target:k},{children:[v&&tt.jsx("div",Object.assign({className:"pb_nav_list_item_icon_section_collapsible",onClick:ut=>at(ut)},{children:tt.jsx(an,{className:"pb_nav_img_wrapper",url:v},void 0)}),v),c&&tt.jsx("div",Object.assign({className:"pb_nav_list_item_icon_section_collapsible",onClick:ut=>at(ut)},{children:tt.jsx(Ut,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:!0,icon:c},void 0)}),c),tt.jsx("span",Object.assign({className:"pb_nav_list_item_text_collapsible"},{children:A}),void 0)]}),void 0)}),void 0),tt.jsx(oi.Content,{children:ct},void 0)]}),void 0)},void 0):tt.jsxs(H,Object.assign({},X,Y,Z,{className:nt,href:w,id:y,onClick:$,target:k},{children:[v&&tt.jsx("div",Object.assign({className:"pb_nav_list_item_icon_section"},{children:tt.jsx(an,{className:"pb_nav_img_wrapper",url:v},void 0)}),v),c&&tt.jsx("div",Object.assign({className:"pb_nav_list_item_icon_section"},{children:tt.jsx(Ut,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:c},void 0)}),c),tt.jsx("span",Object.assign({className:"pb_nav_list_item_text"},{children:A||C}),void 0),h&&tt.jsx("div",Object.assign({className:"pb_nav_list_item_icon_section"},{children:tt.jsx(Ut,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:h},void 0)}),h)]}),void 0)},void 0)},h2=e=>{const{aria:t={},className:o,confirmation:n=!1,data:i={},dark:r=!1,htmlOptions:u={},id:b,inputProps:C={},label:_=n?"Confirm Passphrase":"Passphrase",onChange:N=()=>{},showTipsBelow:S="always",tips:P=[],uncontrolled:x=!1,value:p=""}=e,[c,h]=Nt(""),[s,d]=Nt(!1),[y,v]=Nt(!1),w=ee(M=>x?h(M.target.value):N(M),[x,N]),$=_e(()=>x?c:p,[p,c,x]),k=()=>d(!s),A=M=>{d(!M)},g=M=>{M.preventDefault(),v(!y)},T=Pt("passphrase-popover",S==="always"?null:`show-below-${S}`),a=zt(t),O=Pt(Dt("pb_passphrase"),Tt(e),o),m=Bt(i),j=It(u),f=tt.jsx(ks,{className:T,dark:r,icon:"info-circle",onClick:k,variant:"link"},void 0);return tt.jsx("div",Object.assign({},a,m,j,{className:O,id:b},{children:tt.jsxs("label",{children:[tt.jsxs(ne,Object.assign({align:"baseline"},{children:[tt.jsx(Xe,{className:"passphrase-label",text:_},void 0),P.length>0&&!n&&tt.jsx(Ir,Object.assign({className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:f,shouldClosePopover:A,show:s},{children:tt.jsxs(ne,Object.assign({align:"center",orientation:"column"},{children:[tt.jsx(Xe,{marginBottom:"xs",text:"Tips for a good passphrase"},void 0),tt.jsx("div",{children:P.map((M,I)=>tt.jsxs(Xe,Object.assign({marginBottom:"xs",size:"xs"},{children:[tt.jsx(Ut,{icon:"shield-check",marginRight:"xs"},void 0),M]}),I))},void 0)]}),void 0)}),void 0)]}),void 0),tt.jsxs("div",Object.assign({className:"passphrase-text-input-wrapper"},{children:[tt.jsx(Er,Object.assign({className:"passphrase-text-input",dark:r,marginBottom:"xs",onChange:w,placeholder:"Enter a passphrase...",type:y?"text":"password",value:$},C),void 0),tt.jsxs("span",Object.assign({className:"show-passphrase-icon",onClick:g},{children:[tt.jsx(Ee,Object.assign({className:y?"hide-icon":"",color:"light",dark:r},{children:tt.jsx(Ut,{icon:"eye-slash"},void 0)}),void 0),tt.jsx(Ee,Object.assign({className:y?"":"hide-icon",color:"light",dark:r},{children:tt.jsx(Ut,{icon:"eye"},void 0)}),void 0)]}),void 0)]}),void 0)]},void 0)}),void 0)};var ea={exports:{}};(function(e){(function(t){e.exports?e.exports=t():window.intlTelInput=t()})(function(t){return function(){for(var o=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua & Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria","at","43"],["Azerbaijan","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus","by","375"],["Belgium","be","32"],["Belize","bz","501"],["Benin","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia & Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros","km","269"],["Congo - Brazzaville","cg","242"],["Congo - Kinshasa","cd","243"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus","cy","357"],["Czech Republic","cz","420"],["Denmark","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands","fk","500"],["Faroe Islands","fo","298"],["Fiji","fj","679"],["Finland","fi","358",0],["France","fr","33"],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49"],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30"],["Greenland","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong","hk","852"],["Hungary","hu","36"],["Iceland","is","354"],["India","in","91"],["Indonesia","id","62"],["Iran","ir","98"],["Iraq","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel","il","972"],["Italy","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan","jo","962"],["Kazakhstan","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996"],["Laos","la","856"],["Latvia","lv","371"],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico","mx","52"],["Micronesia","fm","691"],["Moldova","md","373"],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco","ma","212",0],["Mozambique","mz","258"],["Myanmar (Burma)","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31"],["New Caledonia","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea","kp","850"],["North Macedonia","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway","no","47",0],["Oman","om","968"],["Pakistan","pk","92"],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63"],["Poland","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262",0],["Romania","ro","40"],["Russia","ru","7",0],["Rwanda","rw","250"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé & Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82"],["South Sudan","ss","211"],["Spain","es","34"],["Sri Lanka","lk","94"],["St Barthélemy","bl","590",1],["St Helena","sh","290"],["St Kitts & Nevis","kn","1",18,["869"]],["St Lucia","lc","1",19,["758"]],["St Martin","mf","590",2],["St Pierre & Miquelon","pm","508"],["St Vincent & Grenadines","vc","1",20,["784"]],["Sudan","sd","249"],["Suriname","sr","597"],["Svalbard & Jan Mayen","sj","47",1,["79"]],["Sweden","se","46"],["Switzerland","ch","41"],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad & Tobago","tt","1",22,["868"]],["Tunisia","tn","216"],["Turkey","tr","90"],["Turkmenistan","tm","993"],["Turks & Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["US Virgin Islands","vi","1",24,["340"]],["Uzbekistan","uz","998"],["Vanuatu","vu","678"],["Vatican City","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis & Futuna","wf","681"],["Western Sahara","eh","212",1,["5288","5289"]],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],n=0;nthis.countryCodeMaxLen&&(this.countryCodeMaxLen=k.length),this.countryCodes.hasOwnProperty(k)||(this.countryCodes[k]=[]);for(var g=0;g-1})}else if(this.options.excludeCountries.length){var k=this.options.excludeCountries.map(function(A){return A.toLowerCase()});this.countries=o.filter(function(A){return k.indexOf(A.iso2)===-1})}else this.countries=o}},{key:"_translateCountriesByLocale",value:function(){for(var $=0;$k.name?1:0}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var $=0;$")),m+="".concat(T.name,""),m+="+".concat(T.dialCode,""),O.insertAdjacentHTML("beforeend",m)}}},{key:"_setInitialState",value:function(){var $=this.telInput.getAttribute("value"),k=this.telInput.value,A=$&&$.charAt(0)==="+"&&(!k||k.charAt(0)!=="+"),g=A?$:k,T=this._getDialCode(g),a=this._isRegionlessNanp(g),O=this.options,m=O.initialCountry,j=O.autoInsertDialCode;if(T&&!a)this._updateFlagFromNumber(g);else if(m!=="auto"){var f=m&&this._getCountryData(m,!1,!0);f?this._setFlag(m.toLowerCase()):T&&a?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,g||this._setFlag(this.defaultCountry)),!g&&j&&(this.telInput.value="+".concat(this.selectedCountryData.dialCode))}g&&this._updateValFromNumber(g)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoInsertDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var $=this;this._handleHiddenInputSubmit=function(){$.hiddenInput.value=$.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var $=this.telInput;$&&$.tagName!=="LABEL";)$=$.parentNode;return $}},{key:"_initDropdownListeners",value:function(){var $=this;this._handleLabelClick=function(A){$.dropdownContent.classList.contains("iti__hide")?$.telInput.focus():A.preventDefault()};var k=this._getClosestLabel();k&&k.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){$.dropdownContent.classList.contains("iti__hide")&&!$.telInput.disabled&&!$.telInput.readOnly&&$._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(A){var g=$.dropdownContent.classList.contains("iti__hide");g&&["ArrowUp","ArrowDown"," ","Enter"].includes(A.key)&&(A.preventDefault(),A.stopPropagation(),$._showDropdown()),A.key==="Tab"&&$._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var $=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",function(){window.intlTelInputGlobals.loadUtils($.options.utilsScript)}):this.resolveUtilsScriptPromise(),this.options.initialCountry==="auto"?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,typeof this.options.geoIpLookup=="function"&&this.options.geoIpLookup(function($){window.intlTelInputGlobals.autoCountry=$.toLowerCase(),setTimeout(function(){return s("handleAutoCountry")})},function(){return s("rejectAutoCountryPromise")}))}},{key:"_initKeyListeners",value:function(){var $=this;this._handleKeyupEvent=function(){$._updateFlagFromNumber($.telInput.value)&&$._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout($._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function($){var k=this.telInput.getAttribute("maxlength");return k&&$.length>k?$.substr(0,k):$}},{key:"_initBlurListeners",value:function(){var $=this;this._handleSubmitOrBlurEvent=function(){$._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if(this.telInput.value.charAt(0)==="+"){var $=this._getNumeric(this.telInput.value);(!$||this.selectedCountryData.dialCode===$)&&(this.telInput.value="")}}},{key:"_getNumeric",value:function($){return $.replace(/\D/g,"")}},{key:"_trigger",value:function($){var k=document.createEvent("Event");k.initEvent($,!0,!0),this.telInput.dispatchEvent(k)}},{key:"_showDropdown",value:function(){this.options.fixDropdownWidth&&(this.dropdownContent.style.width="".concat(this.telInput.offsetWidth,"px")),this.dropdownContent.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.options.countrySearch?(this._highlightListItem(this.countryList.firstElementChild,!1),this.searchInput.focus()):this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function($,k,A){A&&!$.classList.contains(k)?$.classList.add(k):!A&&$.classList.contains(k)&&$.classList.remove(k)}},{key:"_setDropdownPosition",value:function(){var $=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.options.useFullscreenPopup){var k=this.telInput.getBoundingClientRect(),A=window.pageYOffset||document.documentElement.scrollTop,g=k.top+A,T=this.dropdownContent.offsetHeight,a=g+this.telInput.offsetHeight+TA,m=!this.options.countrySearch&&!a&&O;if(this._toggleClass(this.dropdownContent,"iti__dropdown-content--dropup",m),this.options.dropdownContainer){var j=m?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(g+j,"px"),this.dropdown.style.left="".concat(k.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return $._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function($){for(var k=$;k&&k!==this.countryList&&!k.classList.contains("iti__country");)k=k.parentNode;return k===this.countryList?null:k}},{key:"_bindDropdownListeners",value:function(){var $=this;this._handleMouseoverCountryList=function(O){var m=$._getClosestListItem(O.target);m&&$._highlightListItem(m,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(O){var m=$._getClosestListItem(O.target);m&&$._selectListItem(m)},this.countryList.addEventListener("click",this._handleClickCountryList);var k=!0;this._handleClickOffToClose=function(){k||$._closeDropdown(),k=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var A="",g=null;if(this._handleKeydownOnDropdown=function(O){["ArrowUp","ArrowDown","Enter","Escape"].includes(O.key)&&(O.preventDefault(),O.stopPropagation(),O.key==="ArrowUp"||O.key==="ArrowDown"?$._handleUpDownKey(O.key):O.key==="Enter"?$._handleEnterKey():O.key==="Escape"&&$._closeDropdown()),!$.options.countrySearch&&/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(O.key)&&(O.stopPropagation(),g&&clearTimeout(g),A+=O.key.toLowerCase(),$._searchForCountry(A),g=setTimeout(function(){A=""},1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown),this.options.countrySearch){var T=function(){var m=$.searchInput.value.trim();m?$._filterCountries(m.toLowerCase()):$._filterCountries(null,!0)},a=null;this._handleSearchChange=function(){a&&clearTimeout(a),a=setTimeout(function(){T(),a=null},100)},this.searchInput.addEventListener("input",this._handleSearchChange),this.searchInput.addEventListener("click",function(O){return O.stopPropagation()})}}},{key:"_filterCountries",value:function($){var k=arguments.length>1&&arguments[1]!==t?arguments[1]:!1,A=!0;this.countryList.innerHTML="";for(var g=0;g1&&(k=$==="ArrowUp"?this.countryList.lastElementChild:this.countryList.firstElementChild),k){var A=!this.options.countrySearch;this._highlightListItem(k,A),this.options.countrySearch&&this._scrollTo(k,!1)}}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function($){for(var k=0;kO){k&&(M+=I);var E=T-m;A.scrollTop=M-E}}},{key:"_updateDialCode",value:function($){var k=this.telInput.value,A="+".concat($),g;if(k.charAt(0)==="+"){var T=this._getDialCode(k);T?g=k.replace(T,A):g=A,this.telInput.value=g}else this.options.autoInsertDialCode&&(k?g=A+k:g=A,this.telInput.value=g)}},{key:"_getDialCode",value:function($,k){var A="";if($.charAt(0)==="+")for(var g="",T=0;T<$.length;T++){var a=$.charAt(T);if(!isNaN(parseInt(a,10))){if(g+=a,k)this.countryCodes[g]&&(A=$.substr(0,T+1));else if(this.dialCodes[g]){A=$.substr(0,T+1);break}if(g.length===this.countryCodeMaxLen)break}}return A}},{key:"_getFullNumber",value:function(){var $=this.telInput.value.trim(),k=this.selectedCountryData.dialCode,A,g=this._getNumeric($);return this.options.separateDialCode&&$.charAt(0)!=="+"&&k&&g?A="+".concat(k):A="",A+$}},{key:"_beforeSetNumber",value:function($){var k=$;if(this.options.separateDialCode){var A=this._getDialCode(k);if(A){A="+".concat(this.selectedCountryData.dialCode);var g=k[A.length]===" "||k[A.length]==="-"?A.length+1:A.length;k=k.substr(g)}}return this._cap(k)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){this.options.initialCountry==="auto"&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var $=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var k=this._getClosestLabel();k&&k.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&$&&$.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoInsertDialCode&&($&&$.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var A=this.telInput.parentNode;A.parentNode.insertBefore(this.telInput,A),A.parentNode.removeChild(A),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function($){if(window.intlTelInputUtils){var k=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),k,$)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var $=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),$)}return-99}},{key:"isValidNumber",value:function(){var $=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isValidNumber($,this.selectedCountryData.iso2):null}},{key:"isPossibleNumber",value:function(){var $=this._getFullNumber().trim();return window.intlTelInputUtils?intlTelInputUtils.isPossibleNumber($,this.selectedCountryData.iso2):null}},{key:"setCountry",value:function($){var k=$.toLowerCase();this.selectedCountryData.iso2!==k&&(this._setFlag(k),this._updateDialCode(this.selectedCountryData.dialCode),this._triggerCountryChange())}},{key:"setNumber",value:function($){var k=this._updateFlagFromNumber($);this._updateValFromNumber($),k&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function($){this.options.placeholderNumberType=$,this._updatePlaceholder()}}]),v}();P.getCountryData=function(){return o};var y=function(w,$,k){var A=document.createElement("script");A.onload=function(){s("handleUtils"),$&&$()},A.onerror=function(){s("rejectUtilsScriptPromise"),k&&k()},A.className="iti-load-utils",A.async=!0,A.src=w,document.body.appendChild(A)};return P.loadUtils=function(v){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,typeof Promise<"u")return new Promise(function(w,$){return y(v,w,$)});y(v)}return null},P.defaults=p,P.version="18.5.3",function(v,w){var $=new d(v,w);return $._init(),v.setAttribute("data-intl-tel-input-id",$.id),window.intlTelInputGlobals.instances[$.id]=$,$}}()})})(ea);var Gh=ea.exports,Uh=Gh;const Xh=pe(Uh);(function(){var e=this||self;function t(it,rt){it=it.split(".");var ft=e;it[0]in ft||typeof ft.execScript>"u"||ft.execScript("var "+it[0]);for(var vt;it.length&&(vt=it.shift());)it.length||rt===void 0?ft[vt]&&ft[vt]!==Object.prototype[vt]?ft=ft[vt]:ft=ft[vt]={}:ft[vt]=rt}function o(it,rt){function ft(){}ft.prototype=rt.prototype,it.$=rt.prototype,it.prototype=new ft,it.prototype.constructor=it,it.fa=function(vt,$t,yt){for(var xt=Array(arguments.length-2),St=2;Stit.length?!1:re(at,it)}function ut(it){return re(V,it)?J(it,G):J(it,H)}function st(it){var rt=ut(it.toString());it.i="",it.g(rt)}function J(it,rt){for(var ft=new O,vt,$t=it.length,yt=0;yt<$t;++yt)vt=it.charAt(yt),vt=rt[vt.toUpperCase()],vt!=null&&ft.g(vt);return ft.toString()}function Q(it){return it!=null&&isNaN(it)&&it.toUpperCase()in l}function ot(it,rt,ft){if(s(rt,2)==0&&rt.g[5]!=null){var vt=d(rt,5);if(0rt?2:yt[yt.length-1]=rt.i.length)throw Error("Phone number too short after IDD");t:{if(it=rt.toString(),it.length!=0&&it.charAt(0)!="0"){for($t=it.length,rt=1;3>=rt&&rt<=$t;++rt)if(ft=parseInt(it.substring(0,rt),10),ft in D){vt.g(it.substring(rt)),vt=ft;break t}}vt=0}if(vt!=0)return w(yt,1,vt),vt;throw Error("Invalid country calling code")}return ft!=null&&(xt=d(ft,10),St=""+xt,Wt=rt.toString(),Wt.lastIndexOf(St,0)==0&&(St=new O(Wt.substring(St.length)),Wt=s(ft,1),Wt=new RegExp(d(Wt,2)),Zt(St,ft,null),St=St.toString(),!re(Wt,rt.toString())&&re(Wt,St)||jt(it,rt.toString(),ft,-1)==3))?(vt.g(St),$t&&w(yt,6,10),w(yt,1,xt),xt):(w(yt,1,0),0)}function Zt(it,rt,ft){var vt=it.toString(),$t=vt.length,yt=s(rt,15);if($t!=0&&yt!=null&&yt.length!=0){var xt=new RegExp("^(?:"+yt+")");if($t=xt.exec(vt)){yt=new RegExp(d(s(rt,1),2));var St=re(yt,vt),Wt=$t.length-1;rt=s(rt,16),rt==null||rt.length==0||$t[Wt]==null||$t[Wt].length==0?(!St||re(yt,vt.substring($t[0].length)))&&(ft!=null&&0=rt.length)yt="";else{var xt=rt.indexOf(";",yt);yt=xt!==-1?rt.substring(yt,xt):rt.substring(yt)}var St=yt;if(St==null?xt=!0:St.length===0?xt=!1:(xt=X.exec(St),St=Y.exec(St),xt=xt!==null||St!==null),!xt||(yt!=null?(yt.charAt(0)==="+"&&$t.g(yt),yt=rt.indexOf("tel:"),$t.g(rt.substring(0<=yt?yt+4:0,rt.indexOf(";phone-context=")))):(yt=$t.g,xt=rt??"",St=xt.search(F),0<=St?(xt=xt.substring(St),xt=xt.replace(K,""),St=xt.search(z),0<=St&&(xt=xt.substring(0,St))):xt="",yt.call($t,xt)),yt=$t.toString(),xt=yt.indexOf(";isub="),0rt.i.length||(xt!=null&&(ft=new O,$t=new O(rt.toString()),Zt($t,xt,ft),it=jt(it,$t.toString(),xt,-1),it!=2&&it!=4&&it!=5&&(rt=$t,vt&&0it))throw Error("The string supplied is too short to be a phone number");if(17{try{const $t=L.g(),yt=Yt($t,it,rt);var vt=Ft($t,yt);return vt==0||vt==4?ot($t,yt,typeof ft>"u"?0:ft):it}catch{return it}}),t("intlTelInputUtils.getExampleNumber",(it,rt,ft)=>{try{const St=L.g();t:{var vt=St;if(Q(it)){var $t=mt(Et(vt,it),ft);try{if($t.g[6]!=null){var yt=s($t,6),xt=Kt(vt,yt,it,!1);break t}}catch{}}xt=null}return ot(St,xt,rt?2:1)}catch{return""}}),t("intlTelInputUtils.getExtension",(it,rt)=>{try{return s(Yt(L.g(),it,rt),3)}catch{return""}}),t("intlTelInputUtils.getNumberType",(it,rt)=>{try{const St=L.g();var ft=Yt(St,it,rt);it=St;var vt=kt(it,ft),$t=lt(it,d(ft,1),vt);if($t==null)var yt=-1;else{var xt=ht(ft);yt=wt(xt,$t)}return yt}catch{return-99}}),t("intlTelInputUtils.getValidationError",(it,rt)=>{try{const ft=L.g(),vt=Yt(ft,it,rt);return Ft(ft,vt)}catch(ft){return ft.message==="Invalid country calling code"?1:3>=it.length||ft.message==="Phone number too short after IDD"||ft.message==="The string supplied is too short to be a phone number"?2:ft.message==="The string supplied is too long to be a phone number"?3:-99}}),t("intlTelInputUtils.isValidNumber",(it,rt)=>{try{const Un=L.g();var ft=Yt(Un,it,rt);it=Un;var vt=kt(it,ft),$t=d(ft,1),yt=lt(it,$t,vt),xt;if(!(xt=yt==null)){var St;if(St=vt!="001"){var Wt=Et(it,vt);if(Wt==null)throw Error("Invalid region code: "+vt);var He=d(Wt,10);St=$t!=He}xt=St}if(xt)var Qe=!1;else{var $l=ht(ft);Qe=wt($l,yt)!=-1}return Qe}catch{return!1}}),t("intlTelInputUtils.isPossibleNumber",(it,rt)=>{try{const ft=L.g(),vt=Yt(ft,it,rt);return Ft(ft,vt)===0}catch{return!1}}),t("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),t("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),t("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})})();const Co=e=>Object.keys(e).length<1;var ni;(function(e){e[e.TooShort=2]="TooShort",e[e.TooLong=3]="TooLong",e[e.MissingAreaCode=4]="MissingAreaCode",e[e.SomethingWentWrong=-99]="SomethingWentWrong"})(ni||(ni={}));const Yh=e=>e.split("(")[0].trim(),ia=()=>{const e=window.intlTelInputGlobals.getCountryData();for(let t=0;t/^[()+\-\ .\d]*$/g.test(e),qh=(e,t)=>{const{aria:o={},className:n,dark:i=!1,data:r={},disabled:u=!1,htmlOptions:b={},id:C="",initialCountry:_="",isValid:N=()=>{},label:S="",name:P="",onChange:x=()=>{},onValidate:p=()=>null,onlyCountries:c=[],required:h=!1,preferredCountries:s=[],value:d=""}=e,y=zt(o),v=Bt(r),w=It(b),$=Pt(Dt("pb_phone_number_input"),Tt(e),n),k=de(),[A,g]=Nt(d),[T,a]=Nt(),[O,m]=Nt(e.error),[j,f]=Nt(!1),[M,I]=Nt();qt(()=>{(O==null?void 0:O.length)>0?p(!1):p(!0)},[O,p]),Cl(t,()=>({clearField(){g(""),m("")},inputNode(){return k.current}}));const E=(F="")=>{const z=T.getSelectedCountryData().name,K=F.length>0?` (${F})`:"";return m(`Invalid ${z} phone number${K}`),!0},B=F=>{if(F){if(F.getValidationError()===ni.TooLong)return E("too long");m("")}},U=F=>{if(F){if(F.getValidationError()===ni.TooShort)return E("too short");if(A.length===1)return E("too short");m("")}},q=F=>{if(F&&A&&!Kh(A))return E("enter numbers only")},D=F=>{if(!(!h||!F)&&F.getValidationError()===ni.SomethingWentWrong)return A.length===1?E("too short"):A.length===0?(m("Missing phone number"),!0):E()},l=F=>{if(!(!h||!F)&&F.getValidationError()===ni.MissingAreaCode)return E("missing area code"),!0},L=()=>{T&&N(T.isValidNumber()),!q(T)&&(B(T)||U(T)||D(T)||l(T))},H=(F,z)=>Object.assign(Object.assign({},F.getSelectedCountryData()),{number:z}),G=F=>{g(F.target.value);const z=H(T,F.target.value);I(z),x(z),N(T.isValidNumber())};qt(ia,[]),qt(()=>{const F=Xh(k.current,{separateDialCode:!0,preferredCountries:s,allowDropdown:!u,autoInsertDialCode:!1,initialCountry:_,onlyCountries:c});k.current.addEventListener("countrychange",z=>{const K=H(F,z.target.value);I(K),x(K),L()}),k.current.addEventListener("open:countrydropdown",()=>f(!0)),k.current.addEventListener("close:countrydropdown",()=>f(!1)),a(F)},[]);let W={className:j?"dropdown_open":"",dark:i,"data-phone-number":JSON.stringify(M),disabled:u,error:O,type:"tel",id:C,label:S,name:P,onBlur:L,onChange:G,value:A},R={className:$};return Co(o)||(W=Object.assign(Object.assign({},W),y)),Co(r)||(R=Object.assign(Object.assign({},R),v)),h&&(W.required=!0),tt.jsx("div",Object.assign({},R,w,{children:tt.jsx(Er,Object.assign({ref:F=>{t&&(t.current=F),k.current=F}},W),void 0)}),void 0)},u2=Ie(qh),So=()=>{const t=event.target.closest(".pb_rich_text_editor_kit");t.classList.contains("inline")&&t.classList.toggle("focused")},Yn=()=>{document.querySelectorAll(".focus-editor-targets trix-editor").forEach(t=>{const o=t.toolbarElement;t==document.activeElement?(t.classList.add("focused-editor"),o.style.display="block"):o.contains(document.activeElement)||(t.classList.remove("focused-editor"),o.style.display="none")})};var Rr={},Zh=Ne&&Ne.__extends||function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])},e(t,o)};return function(t,o){e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(Rr,"__esModule",{value:!0});var Je=oe,Qh=function(e){Zh(t,e);function t(o){var n=e.call(this,o)||this;return n.container=null,n.editor=null,n.d=null,n.id=n.generateId(),n.state={showMergeTags:!1,tags:[]},n}return t.prototype.generateId=function(){var o=new Date().getTime(),n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){var r=(o+Math.random()*16)%16|0;return o=Math.floor(o/16),(i=="x"?r:r&3|8).toString(16)});return"T"+n},t.prototype.componentDidMount=function(){var o=this,n=this.props;this.container=document.getElementById("editor-"+this.id),this.container?(this.container.addEventListener("trix-initialize",function(){o.editor=o.container.editor,o.editor||console.error("cannot find trix editor"),n.onEditorReady&&typeof n.onEditorReady=="function"&&n.onEditorReady(o.editor)},!1),this.container.addEventListener("trix-change",this.handleChange.bind(this),!1),n.uploadURL&&this.container.addEventListener("trix-attachment-add",this.handleUpload.bind(this))):console.error("editor not found")},t.prototype.componentWillUnmount=function(){this.container.removeEventListener("trix-initialize",this.handleChange),this.container.removeEventListener("trix-change",this.handleChange),this.props.uploadURL&&this.container.removeEventListener("trix-attachment-add",this.handleUpload)},t.prototype.handleChange=function(o){var n=this.props,i=this.state,r=o.target.innerText;n.onChange&&n.onChange(o.target.innerHTML,r);var u=this.editor.getSelectedRange();if(r&&u[0]==u[1]&&n.mergeTags){var b=u[0]-1;if(b>=0&&b=200&&r.status<300)return C=b=r.responseText,o.setAttributes({url:C,href:b})},r.send(i)},t.prototype.handleTagSelected=function(o,n){n.preventDefault();var i=this.state;i.showMergeTags=!1,this.setState(i),this.editor.expandSelectionInDirection("backward"),this.editor.insertString(o.tag)},t.prototype.renderTagSelector=function(o){var n=this;if(!o||!this.editor)return null;var i=document.getElementById("trix-editor-top-level-"+this.id).getBoundingClientRect(),r=this.editor.getClientRectAtPosition(this.editor.getSelectedRange()[0]),u={position:"absolute",top:r.top+25-i.top,left:r.left+25-i.left,width:"250px",boxSizing:"border-box",padding:0,margin:".2em 0 0",backgroundColor:"hsla(0,0%,100%,.9)",borderRadius:".3em",background:"linear-gradient(to bottom right, white, hsla(0,0%,100%,.8))",border:"1px solid rgba(0,0,0,.3)",boxShadow:".05em .2em .6em rgba(0,0,0,.2)",textShadow:"none"},b={display:"block",padding:".2em .5em",cursor:"pointer"};return Je.createElement("div",{style:u,className:"react-trix-suggestions"},o.map(function(C){return Je.createElement("a",{key:C.name,style:b,href:"#",onClick:n.handleTagSelected.bind(n,C)},C.name)}))},t.prototype.render=function(){var o=this,n=this.state,i=this.props,r={id:"editor-"+this.id,input:"input-"+this.id};i.className&&(r.class=i.className),i.autoFocus&&(r.autofocus=i.autoFocus.toString()),i.placeholder&&(r.placeholder=i.placeholder),i.toolbar&&(r.toolbar=i.toolbar);var u=null;return n.showMergeTags&&(u=this.renderTagSelector(n.tags)),Je.createElement("div",{id:"trix-editor-top-level-"+this.id,ref:function(b){return o.d=b},style:{position:"relative"}},Je.createElement("trix-editor",r),Je.createElement("input",{type:"hidden",id:"input-"+this.id,value:this.props.value}),u)},t}(Je.Component);Rr.TrixEditor=Qh;var Jh=Rr.TrixEditor;function Bi(e){return e.split("-")[1]}function Nr(e){return e==="y"?"height":"width"}function Ke(e){return e.split("-")[0]}function Fi(e){return["top","bottom"].includes(Ke(e))?"x":"y"}function wo(e,t,o){let{reference:n,floating:i}=e;const r=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,b=Fi(t),C=Nr(b),_=n[C]/2-i[C]/2,N=b==="x";let S;switch(Ke(t)){case"top":S={x:r,y:n.y-i.height};break;case"bottom":S={x:r,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:u};break;case"left":S={x:n.x-i.width,y:u};break;default:S={x:n.x,y:n.y}}switch(Bi(t)){case"start":S[b]-=_*(o&&N?-1:1);break;case"end":S[b]+=_*(o&&N?-1:1)}return S}const tu=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:u}=o,b=r.filter(Boolean),C=await(u.isRTL==null?void 0:u.isRTL(t));let _=await u.getElementRects({reference:e,floating:t,strategy:i}),{x:N,y:S}=wo(_,n,C),P=n,x={},p=0;for(let c=0;c({name:"arrow",options:e,async fn(t){const{element:o,padding:n=0}=e||{},{x:i,y:r,placement:u,rects:b,platform:C,elements:_}=t;if(o==null)return{};const N=na(n),S={x:i,y:r},P=Fi(u),x=Nr(P),p=await C.getDimensions(o),c=P==="y",h=c?"top":"left",s=c?"bottom":"right",d=c?"clientHeight":"clientWidth",y=b.reference[x]+b.reference[P]-S[P]-b.floating[x],v=S[P]-b.reference[P],w=await(C.getOffsetParent==null?void 0:C.getOffsetParent(o));let $=w?w[d]:0;$&&await(C.isElement==null?void 0:C.isElement(w))||($=_.floating[d]||b.floating[x]);const k=y/2-v/2,A=N[h],g=$-p[x]-N[s],T=$/2-p[x]/2+k,a=gr(A,T,g),O=Bi(u)!=null&&T!=a&&b.reference[x]/2-(Te.concat(t,t+"-start",t+"-end"),[]);const ru={left:"right",right:"left",bottom:"top",top:"bottom"};function gn(e){return e.replace(/left|right|bottom|top/g,t=>ru[t])}function ou(e,t,o){o===void 0&&(o=!1);const n=Bi(e),i=Fi(e),r=Nr(i);let u=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(u=gn(u)),{main:u,cross:gn(u)}}const su={start:"end",end:"start"};function Kn(e){return e.replace(/start|end/g,t=>su[t])}const au=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:n,middlewareData:i,rects:r,initialPlacement:u,platform:b,elements:C}=t,{mainAxis:_=!0,crossAxis:N=!0,fallbackPlacements:S,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:p=!0,...c}=e,h=Ke(n),s=Ke(u)===u,d=await(b.isRTL==null?void 0:b.isRTL(C.floating)),y=S||(s||!p?[gn(u)]:function(a){const O=gn(a);return[Kn(a),O,Kn(O)]}(u));S||x==="none"||y.push(...function(a,O,m,j){const f=Bi(a);let M=function(I,E,B){const U=["left","right"],q=["right","left"],D=["top","bottom"],l=["bottom","top"];switch(I){case"top":case"bottom":return B?E?q:U:E?U:q;case"left":case"right":return E?D:l;default:return[]}}(Ke(a),m==="start",j);return f&&(M=M.map(I=>I+"-"+f),O&&(M=M.concat(M.map(Kn)))),M}(u,p,x,d));const v=[u,...y],w=await ra(t,c),$=[];let k=((o=i.flip)==null?void 0:o.overflows)||[];if(_&&$.push(w[h]),N){const{main:a,cross:O}=ou(n,r,d);$.push(w[a],w[O])}if(k=[...k,{placement:n,overflows:$}],!$.every(a=>a<=0)){var A,g;const a=(((A=i.flip)==null?void 0:A.index)||0)+1,O=v[a];if(O)return{data:{index:a,overflows:k},reset:{placement:O}};let m=(g=k.filter(j=>j.overflows[0]<=0).sort((j,f)=>j.overflows[1]-f.overflows[1])[0])==null?void 0:g.placement;if(!m)switch(P){case"bestFit":{var T;const j=(T=k.map(f=>[f.placement,f.overflows.filter(M=>M>0).reduce((M,I)=>M+I,0)]).sort((f,M)=>f[1]-M[1])[0])==null?void 0:T[0];j&&(m=j);break}case"initialPlacement":m=u}if(n!==m)return{reset:{placement:m}}}return{}}}},lu=function(e){return{name:"offset",options:e,async fn(t){const{x:o,y:n}=t,i=await async function(r,u){const{placement:b,platform:C,elements:_}=r,N=await(C.isRTL==null?void 0:C.isRTL(_.floating)),S=Ke(b),P=Bi(b),x=Fi(b)==="x",p=["left","top"].includes(S)?-1:1,c=N&&x?-1:1,h=u;let{mainAxis:s,crossAxis:d,alignmentAxis:y}={mainAxis:h,crossAxis:0,alignmentAxis:null};return P&&typeof y=="number"&&(d=P==="end"?-1*y:y),x?{x:d*c,y:s*p}:{x:s*p,y:d*c}}(t,e);return{x:o+i.x,y:n+i.y,data:i}}}};function du(e){return e==="x"?"y":"x"}const cu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i}=t,{mainAxis:r=!0,crossAxis:u=!1,limiter:b={fn:h=>{let{x:s,y:d}=h;return{x:s,y:d}}},...C}=e,_={x:o,y:n},N=await ra(t,C),S=Fi(Ke(i)),P=du(S);let x=_[S],p=_[P];if(r){const h=S==="y"?"bottom":"right";x=gr(x+N[S==="y"?"top":"left"],x,x-N[h])}if(u){const h=P==="y"?"bottom":"right";p=gr(p+N[P==="y"?"top":"left"],p,p-N[h])}const c=b.fn({...t,[S]:x,[P]:p});return{...c,data:{x:c.x-o,y:c.y-n}}}}};function ge(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ae(e){return ge(e).getComputedStyle(e)}function oa(e){return e instanceof ge(e).Node}function ze(e){return oa(e)?(e.nodeName||"").toLowerCase():""}let Gi;function sa(){if(Gi)return Gi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Gi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Gi):navigator.userAgent}function Se(e){return e instanceof ge(e).HTMLElement}function Be(e){return e instanceof ge(e).Element}function Po(e){return typeof ShadowRoot>"u"?!1:e instanceof ge(e).ShadowRoot||e instanceof ShadowRoot}function Tn(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function hu(e){return["table","td","th"].includes(ze(e))}function mr(e){const t=/firefox/i.test(sa()),o=Ae(e),n=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!n&&n!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(i=>o.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const r=o.contain;return r!=null&&r.includes(i)})}function vr(){return/^((?!chrome|android).)*safari/i.test(sa())}function Dr(e){return["html","body","#document"].includes(ze(e))}const ko=Math.min,Oi=Math.max,mn=Math.round;function aa(e){const t=Ae(e);let o=parseFloat(t.width),n=parseFloat(t.height);const i=Se(e),r=i?e.offsetWidth:o,u=i?e.offsetHeight:n,b=mn(o)!==r||mn(n)!==u;return b&&(o=r,n=u),{width:o,height:n,fallback:b}}function la(e){return Be(e)?e:e.contextElement}const da={x:1,y:1};function si(e){const t=la(e);if(!Se(t))return da;const o=t.getBoundingClientRect(),{width:n,height:i,fallback:r}=aa(t);let u=(r?mn(o.width):o.width)/n,b=(r?mn(o.height):o.height)/i;return u&&Number.isFinite(u)||(u=1),b&&Number.isFinite(b)||(b=1),{x:u,y:b}}function Ti(e,t,o,n){var i,r;t===void 0&&(t=!1),o===void 0&&(o=!1);const u=e.getBoundingClientRect(),b=la(e);let C=da;t&&(n?Be(n)&&(C=si(n)):C=si(e));const _=b?ge(b):window,N=vr()&&o;let S=(u.left+(N&&((i=_.visualViewport)==null?void 0:i.offsetLeft)||0))/C.x,P=(u.top+(N&&((r=_.visualViewport)==null?void 0:r.offsetTop)||0))/C.y,x=u.width/C.x,p=u.height/C.y;if(b){const c=ge(b),h=n&&Be(n)?ge(n):n;let s=c.frameElement;for(;s&&n&&h!==c;){const d=si(s),y=s.getBoundingClientRect(),v=getComputedStyle(s);y.x+=(s.clientLeft+parseFloat(v.paddingLeft))*d.x,y.y+=(s.clientTop+parseFloat(v.paddingTop))*d.y,S*=d.x,P*=d.y,x*=d.x,p*=d.y,S+=y.x,P+=y.y,s=ge(s).frameElement}}return fn({width:x,height:p,x:S,y:P})}function Fe(e){return((oa(e)?e.ownerDocument:e.document)||window.document).documentElement}function _n(e){return Be(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ca(e){return Ti(Fe(e)).left+_n(e).scrollLeft}function _i(e){if(ze(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Po(e)&&e.host||Fe(e);return Po(t)?t.host:t}function ha(e){const t=_i(e);return Dr(t)?t.ownerDocument.body:Se(t)&&Tn(t)?t:ha(t)}function ua(e,t){var o;t===void 0&&(t=[]);const n=ha(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),r=ge(n);return i?t.concat(r,r.visualViewport||[],Tn(n)?n:[]):t.concat(n,ua(n))}function Mo(e,t,o){let n;if(t==="viewport")n=function(u,b){const C=ge(u),_=Fe(u),N=C.visualViewport;let S=_.clientWidth,P=_.clientHeight,x=0,p=0;if(N){S=N.width,P=N.height;const c=vr();(!c||c&&b==="fixed")&&(x=N.offsetLeft,p=N.offsetTop)}return{width:S,height:P,x,y:p}}(e,o);else if(t==="document")n=function(u){const b=Fe(u),C=_n(u),_=u.ownerDocument.body,N=Oi(b.scrollWidth,b.clientWidth,_.scrollWidth,_.clientWidth),S=Oi(b.scrollHeight,b.clientHeight,_.scrollHeight,_.clientHeight);let P=-C.scrollLeft+ca(u);const x=-C.scrollTop;return Ae(_).direction==="rtl"&&(P+=Oi(b.clientWidth,_.clientWidth)-N),{width:N,height:S,x:P,y:x}}(Fe(e));else if(Be(t))n=function(u,b){const C=Ti(u,!0,b==="fixed"),_=C.top+u.clientTop,N=C.left+u.clientLeft,S=Se(u)?si(u):{x:1,y:1};return{width:u.clientWidth*S.x,height:u.clientHeight*S.y,x:N*S.x,y:_*S.y}}(t,o);else{const u={...t};if(vr()){var i,r;const b=ge(e);u.x-=((i=b.visualViewport)==null?void 0:i.offsetLeft)||0,u.y-=((r=b.visualViewport)==null?void 0:r.offsetTop)||0}n=u}return fn(n)}function To(e,t){return Se(e)&&Ae(e).position!=="fixed"?t?t(e):e.offsetParent:null}function _o(e,t){const o=ge(e);if(!Se(e))return o;let n=To(e,t);for(;n&&hu(n)&&Ae(n).position==="static";)n=To(n,t);return n&&(ze(n)==="html"||ze(n)==="body"&&Ae(n).position==="static"&&!mr(n))?o:n||function(i){let r=_i(i);for(;Se(r)&&!Dr(r);){if(mr(r))return r;r=_i(r)}return null}(e)||o}function uu(e,t,o){const n=Se(t),i=Fe(t),r=Ti(e,!0,o==="fixed",t);let u={scrollLeft:0,scrollTop:0};const b={x:0,y:0};if(n||!n&&o!=="fixed")if((ze(t)!=="body"||Tn(i))&&(u=_n(t)),Se(t)){const C=Ti(t,!0);b.x=C.x+t.clientLeft,b.y=C.y+t.clientTop}else i&&(b.x=ca(i));return{x:r.left+u.scrollLeft-b.x,y:r.top+u.scrollTop-b.y,width:r.width,height:r.height}}const pu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const r=o==="clippingAncestors"?function(_,N){const S=N.get(_);if(S)return S;let P=ua(_).filter(h=>Be(h)&&ze(h)!=="body"),x=null;const p=Ae(_).position==="fixed";let c=p?_i(_):_;for(;Be(c)&&!Dr(c);){const h=Ae(c),s=mr(c);h.position==="fixed"?x=null:(p?s||x:s||h.position!=="static"||!x||!["absolute","fixed"].includes(x.position))?x=h:P=P.filter(d=>d!==c),c=_i(c)}return N.set(_,P),P}(t,this._c):[].concat(o),u=[...r,n],b=u[0],C=u.reduce((_,N)=>{const S=Mo(t,N,i);return _.top=Oi(S.top,_.top),_.right=ko(S.right,_.right),_.bottom=ko(S.bottom,_.bottom),_.left=Oi(S.left,_.left),_},Mo(t,b,i));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:n}=e;const i=Se(o),r=Fe(o);if(o===r)return t;let u={scrollLeft:0,scrollTop:0},b={x:1,y:1};const C={x:0,y:0};if((i||!i&&n!=="fixed")&&((ze(o)!=="body"||Tn(r))&&(u=_n(o)),Se(o))){const _=Ti(o);b=si(o),C.x=_.x+o.clientLeft,C.y=_.y+o.clientTop}return{width:t.width*b.x,height:t.height*b.y,x:t.x*b.x-u.scrollLeft*b.x+C.x,y:t.y*b.y-u.scrollTop*b.y+C.y}},isElement:Be,getDimensions:function(e){return aa(e)},getOffsetParent:_o,getDocumentElement:Fe,getScale:si,async getElementRects(e){let{reference:t,floating:o,strategy:n}=e;const i=this.getOffsetParent||_o,r=this.getDimensions;return{reference:uu(t,await i(o),n),floating:{x:0,y:0,...await r(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ae(e).direction==="rtl"},fu=(e,t,o)=>{const n=new Map,i={platform:pu,...o},r={...i.platform,_c:n};return tu(e,t,{...i,platform:r})},gu=e=>{const{element:t,padding:o}=e;function n(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return n(t)?t.current!=null?Oo({element:t.current,padding:o}).fn(i):{}:t?Oo({element:t,padding:o}).fn(i):{}}}};var Qi=typeof document<"u"?kr:qt;function vn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,n,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!vn(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){const r=i[n];if(!(r==="_owner"&&e.$$typeof)&&!vn(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}function Ao(e){const t=gt.useRef(e);return Qi(()=>{t.current=e}),t}function mu(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:n=[],platform:i,whileElementsMounted:r,open:u}=e,[b,C]=gt.useState({x:null,y:null,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[_,N]=gt.useState(n);vn(_,n)||N(n);const S=gt.useRef(null),P=gt.useRef(null),x=gt.useRef(b),p=Ao(r),c=Ao(i),[h,s]=gt.useState(null),[d,y]=gt.useState(null),v=gt.useCallback(T=>{S.current!==T&&(S.current=T,s(T))},[]),w=gt.useCallback(T=>{P.current!==T&&(P.current=T,y(T))},[]),$=gt.useCallback(()=>{if(!S.current||!P.current)return;const T={placement:t,strategy:o,middleware:_};c.current&&(T.platform=c.current),fu(S.current,P.current,T).then(a=>{const O={...a,isPositioned:!0};k.current&&!vn(x.current,O)&&(x.current=O,cs.flushSync(()=>{C(O)}))})},[_,t,o,c]);Qi(()=>{u===!1&&x.current.isPositioned&&(x.current.isPositioned=!1,C(T=>({...T,isPositioned:!1})))},[u]);const k=gt.useRef(!1);Qi(()=>(k.current=!0,()=>{k.current=!1}),[]),Qi(()=>{if(h&&d){if(p.current)return p.current(h,d,$);$()}},[h,d,$,p]);const A=gt.useMemo(()=>({reference:S,floating:P,setReference:v,setFloating:w}),[v,w]),g=gt.useMemo(()=>({reference:h,floating:d}),[h,d]);return gt.useMemo(()=>({...b,update:$,refs:A,elements:g,reference:v,floating:w}),[b,$,A,g,v,w])}var Ai=typeof document<"u"?kr:qt;let qn=!1,vu=0;const Lo=()=>"floating-ui-"+vu++;function yu(){const[e,t]=gt.useState(()=>qn?Lo():void 0);return Ai(()=>{e==null&&t(Lo())},[]),gt.useEffect(()=>{qn||(qn=!0)},[]),e}const xu=gt.useId,$u=xu||yu;function bu(){const e=new Map;return{emit(t,o){var n;(n=e.get(t))==null||n.forEach(i=>i(o))},on(t,o){e.set(t,[...e.get(t)||[],o])},off(t,o){var n;e.set(t,((n=e.get(t))==null?void 0:n.filter(i=>i!==o))||[])}}}const Cu=gt.createContext(null),Su=gt.createContext(null),wu=()=>{var e;return((e=gt.useContext(Cu))==null?void 0:e.id)||null},pa=()=>gt.useContext(Su);function bi(e){return(e==null?void 0:e.ownerDocument)||document}function fa(e){return bi(e).defaultView||window}function Ue(e){return e?e instanceof fa(e).Element:!1}function Ou(e){if(typeof ShadowRoot>"u")return!1;const t=fa(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ga(e,t){const o=["mouse","pen"];return o.push("",void 0),o.includes(e)}function Ji(e,t){if(!e||!t)return!1;const o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Ou(o)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Eo(e){const t=de(e);return Ai(()=>{t.current=e}),t}const jo="data-floating-ui-safe-polygon";function Zn(e,t,o){return o&&!ga(o)?0:typeof e=="number"?e:e==null?void 0:e[t]}const Pu=function(e,t){t===void 0&&(t={});const{open:o,onOpenChange:n,dataRef:i,events:r,elements:{domReference:u,floating:b},refs:C}=e,{enabled:_=!0,delay:N=0,handleClose:S=null,mouseOnly:P=!1,restMs:x=0,move:p=!0}=t,c=pa(),h=wu(),s=Eo(S),d=Eo(N),y=gt.useRef(),v=gt.useRef(),w=gt.useRef(),$=gt.useRef(),k=gt.useRef(!0),A=gt.useRef(!1),g=gt.useRef(()=>{}),T=gt.useCallback(()=>{var j;const f=(j=i.current.openEvent)==null?void 0:j.type;return(f==null?void 0:f.includes("mouse"))&&f!=="mousedown"},[i]);gt.useEffect(()=>{if(!_)return;function j(){clearTimeout(v.current),clearTimeout($.current),k.current=!0}return r.on("dismiss",j),()=>{r.off("dismiss",j)}},[_,r]),gt.useEffect(()=>{if(!_||!s.current||!o)return;function j(){T()&&n(!1)}const f=bi(b).documentElement;return f.addEventListener("mouseleave",j),()=>{f.removeEventListener("mouseleave",j)}},[b,o,n,_,s,i,T]);const a=gt.useCallback(function(j){j===void 0&&(j=!0);const f=Zn(d.current,"close",y.current);f&&!w.current?(clearTimeout(v.current),v.current=setTimeout(()=>n(!1),f)):j&&(clearTimeout(v.current),n(!1))},[d,n]),O=gt.useCallback(()=>{g.current(),w.current=void 0},[]),m=gt.useCallback(()=>{if(A.current){const j=bi(C.floating.current).body;j.style.pointerEvents="",j.removeAttribute(jo),A.current=!1}},[C]);return gt.useEffect(()=>{if(!_)return;function j(){return i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1}function f(E){if(clearTimeout(v.current),k.current=!1,P&&!ga(y.current)||x>0&&Zn(d.current,"open")===0)return;i.current.openEvent=E;const B=Zn(d.current,"open",y.current);B?v.current=setTimeout(()=>{n(!0)},B):n(!0)}function M(E){if(j())return;g.current();const B=bi(b);if(clearTimeout($.current),s.current){o||clearTimeout(v.current),w.current=s.current({...e,tree:c,x:E.clientX,y:E.clientY,onClose(){m(),O(),a()}});const q=w.current;B.addEventListener("mousemove",q),g.current=()=>{B.removeEventListener("mousemove",q)};return}(y.current==="touch"?!Ji(b,E.relatedTarget):!0)&&a()}function I(E){j()||s.current==null||s.current({...e,tree:c,x:E.clientX,y:E.clientY,onClose(){m(),O(),a()}})(E)}if(Ue(u)){const E=u;return o&&E.addEventListener("mouseleave",I),b==null||b.addEventListener("mouseleave",I),p&&E.addEventListener("mousemove",f,{once:!0}),E.addEventListener("mouseenter",f),E.addEventListener("mouseleave",M),()=>{o&&E.removeEventListener("mouseleave",I),b==null||b.removeEventListener("mouseleave",I),p&&E.removeEventListener("mousemove",f),E.removeEventListener("mouseenter",f),E.removeEventListener("mouseleave",M)}}},[u,b,_,e,P,x,p,a,O,m,n,o,c,d,s,i]),Ai(()=>{var j;if(_&&o&&(j=s.current)!=null&&j.__options.blockPointerEvents&&T()){const I=bi(b).body;if(I.setAttribute(jo,""),I.style.pointerEvents="none",A.current=!0,Ue(u)&&b){var f,M;const E=u,B=c==null||(f=c.nodesRef.current.find(U=>U.id===h))==null||(M=f.context)==null?void 0:M.elements.floating;return B&&(B.style.pointerEvents=""),E.style.pointerEvents="auto",b.style.pointerEvents="auto",()=>{E.style.pointerEvents="",b.style.pointerEvents=""}}}},[_,o,h,b,u,c,s,i,T]),Ai(()=>{o||(y.current=void 0,O(),m())},[o,O,m]),gt.useEffect(()=>()=>{O(),clearTimeout(v.current),clearTimeout($.current),m()},[_,O,m]),gt.useMemo(()=>{if(!_)return{};function j(f){y.current=f.pointerType}return{reference:{onPointerDown:j,onPointerEnter:j,onMouseMove(){o||x===0||(clearTimeout($.current),$.current=setTimeout(()=>{k.current||n(!0)},x))}},floating:{onMouseEnter(){clearTimeout(v.current)},onMouseLeave(){r.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),a(!1)}}}},[r,_,x,o,n,a])};function ku(e,t){let o=e.filter(i=>{var r;return i.parentId===t&&((r=i.context)==null?void 0:r.open)}),n=o;for(;n.length;)n=e.filter(i=>{var r;return(r=n)==null?void 0:r.some(u=>{var b;return i.parentId===u.id&&((b=i.context)==null?void 0:b.open)})}),o=o.concat(n);return o}function Mu(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Tu=gt.useInsertionEffect,_u=Tu||(e=>e());function Au(e){const t=gt.useRef(()=>{});return _u(()=>{t.current=e}),gt.useCallback(function(){for(var o=arguments.length,n=new Array(o),i=0;i=n!=S>=n&&o<=(N-C)*(n-_)/(S-_)+C&&(i=!i)}return i}function Eu(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function ju(e){let{restMs:t=0,buffer:o=.5,blockPointerEvents:n=!1}=e===void 0?{}:e,i,r=!1,u=!1;const b=C=>{let{x:_,y:N,placement:S,elements:P,onClose:x,nodeId:p,tree:c}=C;return function(s){function d(){clearTimeout(i),x()}if(clearTimeout(i),!P.domReference||!P.floating||S==null||_==null||N==null)return;const{clientX:y,clientY:v}=s,w=[y,v],$=Mu(s),k=s.type==="mouseleave",A=Ji(P.floating,$),g=Ji(P.domReference,$),T=P.domReference.getBoundingClientRect(),a=P.floating.getBoundingClientRect(),O=S.split("-")[0],m=_>a.right-a.width/2,j=N>a.bottom-a.height/2,f=Eu(w,T);if(A&&(u=!0,!k))return;if(g&&(u=!1),g&&!k){u=!0;return}if(k&&Ue(s.relatedTarget)&&Ji(P.floating,s.relatedTarget)||c&&ku(c.nodesRef.current,p).some(B=>{let{context:U}=B;return U==null?void 0:U.open}))return;if(O==="top"&&N>=T.bottom-1||O==="bottom"&&N<=T.top+1||O==="left"&&_>=T.right-1||O==="right"&&_<=T.left+1)return d();let M=[];switch(O){case"top":M=[[a.left,T.top+1],[a.left,a.bottom-1],[a.right,a.bottom-1],[a.right,T.top+1]],r=y>=a.left&&y<=a.right&&v>=a.top&&v<=T.top+1;break;case"bottom":M=[[a.left,a.top+1],[a.left,T.bottom-1],[a.right,T.bottom-1],[a.right,a.top+1]],r=y>=a.left&&y<=a.right&&v>=T.bottom-1&&v<=a.bottom;break;case"left":M=[[a.right-1,a.bottom],[a.right-1,a.top],[T.left+1,a.top],[T.left+1,a.bottom]],r=y>=a.left&&y<=T.left+1&&v>=a.top&&v<=a.bottom;break;case"right":M=[[T.right-1,a.bottom],[T.right-1,a.top],[a.left+1,a.top],[a.left+1,a.bottom]],r=y>=T.right-1&&y<=a.right&&v>=a.top&&v<=a.bottom;break}function I(B){let[U,q]=B;const D=a.width>T.width,l=a.height>T.height;switch(O){case"top":{const L=[D?U+o/2:m?U+o*4:U-o*4,q+o+1],H=[D?U-o/2:m?U+o*4:U-o*4,q+o+1],G=[[a.left,m||D?a.bottom-o:a.top],[a.right,m?D?a.bottom-o:a.top:a.bottom-o]];return[L,H,...G]}case"bottom":{const L=[D?U+o/2:m?U+o*4:U-o*4,q-o],H=[D?U-o/2:m?U+o*4:U-o*4,q-o],G=[[a.left,m||D?a.top+o:a.bottom],[a.right,m?D?a.top+o:a.bottom:a.top+o]];return[L,H,...G]}case"left":{const L=[U+o+1,l?q+o/2:j?q+o*4:q-o*4],H=[U+o+1,l?q-o/2:j?q+o*4:q-o*4];return[...[[j||l?a.right-o:a.left,a.top],[j?l?a.right-o:a.left:a.right-o,a.bottom]],L,H]}case"right":{const L=[U-o,l?q+o/2:j?q+o*4:q-o*4],H=[U-o,l?q-o/2:j?q+o*4:q-o*4],G=[[j||l?a.left+o:a.right,a.top],[j?l?a.left+o:a.right:a.left+o,a.bottom]];return[L,H,...G]}}}const E=r?M:I([_,N]);if(!r){if(u&&!f)return d();Lu([y,v],E)?t&&!u&&(i=setTimeout(d,t)):d()}}};return b.__options={blockPointerEvents:n},b}function Iu(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:o,nodeId:n}=e,i=mu(e),r=pa(),u=gt.useRef(null),b=gt.useRef({}),C=gt.useState(()=>bu())[0],_=$u(),[N,S]=gt.useState(null),P=gt.useCallback(d=>{const y=Ue(d)?{getBoundingClientRect:()=>d.getBoundingClientRect(),contextElement:d}:d;i.refs.setReference(y)},[i.refs]),x=gt.useCallback(d=>{(Ue(d)||d===null)&&(u.current=d,S(d)),(Ue(i.refs.reference.current)||i.refs.reference.current===null||d!==null&&!Ue(d))&&i.refs.setReference(d)},[i.refs]),p=gt.useMemo(()=>({...i.refs,setReference:x,setPositionReference:P,domReference:u}),[i.refs,x,P]),c=gt.useMemo(()=>({...i.elements,domReference:N}),[i.elements,N]),h=Au(o),s=gt.useMemo(()=>({...i,refs:p,elements:c,dataRef:b,nodeId:n,floatingId:_,events:C,open:t,onOpenChange:h}),[i,n,_,C,t,h,p,c]);return Ai(()=>{const d=r==null?void 0:r.nodesRef.current.find(y=>y.id===n);d&&(d.context=s)}),gt.useMemo(()=>({...i,context:s,refs:p,elements:c,reference:x,positionReference:P}),[i,p,c,s,x,P])}function Qn(e,t,o){const n=new Map;return{...o==="floating"&&{tabIndex:-1},...e,...t.map(i=>i?i[o]:null).concat(e).reduce((i,r)=>(r&&Object.entries(r).forEach(u=>{let[b,C]=u;if(b.indexOf("on")===0){if(n.has(b)||n.set(b,[]),typeof C=="function"){var _;(_=n.get(b))==null||_.push(C),i[b]=function(){for(var N,S=arguments.length,P=new Array(S),x=0;xp(...P)).find(p=>p!==void 0)}}}else i[b]=C}),i),{})}}const Ru=function(e){e===void 0&&(e=[]);const t=e,o=gt.useCallback(r=>Qn(r,e,"reference"),t),n=gt.useCallback(r=>Qn(r,e,"floating"),t),i=gt.useCallback(r=>Qn(r,e,"item"),e.map(r=>r==null?void 0:r.item));return gt.useMemo(()=>({getReferenceProps:o,getFloatingProps:n,getItemProps:i}),[o,n,i])},ma=Ie((e,t)=>{const{aria:o={},className:n,children:i,data:r={},delay:u=0,htmlOptions:b={},icon:C=null,interaction:_=!1,placement:N="top",position:S="absolute",text:P,showTooltip:x=!0,zIndex:p}=e,c=me(e,["aria","className","children","data","delay","htmlOptions","icon","interaction","placement","position","text","showTooltip","zIndex"]),h=Bt(r),s=zt(o),d=It(b),y=Pt(Tt(Object.assign({},c)),n),[v,w]=Nt(!1),$=de(null),{context:k,middlewareData:{arrow:{x:A,y:g}={}},placement:T,refs:a,strategy:O,x:m,y:j}=Iu({strategy:S,middleware:[gu({element:$}),au({fallbackPlacements:["top","right","bottom","left"],fallbackStrategy:"initialPlacement",flipAlignment:!1}),lu(10),cu()],open:v,onOpenChange(I){if(x)w(I);else return},placement:N}),{getFloatingProps:f}=Ru([Pu(k,{delay:u,handleClose:_?ju({blockPointerEvents:!1}):null})]),M={bottom:"top",left:"right",right:"left",top:"bottom"}[T.split("-")[0]];return tt.jsxs(tt.Fragment,{children:[tt.jsx("div",Object.assign({className:`pb_tooltip_kit ${y}`,ref:I=>{a.setReference(I),t&&(typeof t=="function"?t(I):typeof t=="object"&&(t.current=I))},role:"tooltip_trigger",style:{display:"inline-block"}},s,h,d,{children:i}),void 0),v&&tt.jsxs("div",Object.assign({},f({className:`tooltip_tooltip ${T} visible`,ref:a.setFloating,role:"tooltip",style:{position:O,top:j??0,left:m??0,zIndex:p??0}}),{children:[tt.jsxs(ne,Object.assign({align:"center",gap:"xs"},{children:[C&&tt.jsx("i",{className:`pb_icon_kit far fa-${C} fa-fw`},void 0),P]}),void 0),tt.jsx("div",{className:"arrow_bg",ref:$,style:{position:"absolute",left:A!=null?`${A}px`:"",top:g!=null?`${g}px`:"",[M]:"-5px"}},void 0)]}),void 0)]},void 0)});ma.displayName="Tooltip";const Br=({classname:e,disable:t,onclick:o,icon:n,text:i})=>tt.jsx(ma,Object.assign({delay:{open:2e3},interaction:!0,placement:"top",text:i},{children:tt.jsx("button",Object.assign({className:e,disabled:t,onClick:o,role:"button",type:"button"},{children:tt.jsx(ne,Object.assign({align:"center",className:"toolbar_button_icon",justify:"center"},{children:tt.jsx(Ut,{icon:n,size:"lg"},void 0)}),void 0)}),void 0)}),void 0),Nu=({editor:e})=>{const[t,o]=Nt(!1),n=[{node:"paragraph",icon:"paragraph",isActive:e.isActive("paragraph"),text:"Paragraph",onclick:()=>e.chain().focus().setParagraph().run()},{node:"heading-1",icon:"h1",isActive:e.isActive("heading",{level:1}),text:"Heading 1",onclick:()=>e.chain().focus().toggleHeading({level:1}).run()},{node:"heading-2",icon:"h2",isActive:e.isActive("heading",{level:2}),text:"Heading 2",onclick:()=>e.chain().focus().toggleHeading({level:2}).run()},{node:"heading-3",icon:"h3",isActive:e.isActive("heading",{level:3}),text:"Heading 3",onclick:()=>e.chain().focus().toggleHeading({level:3}).run()},{node:"bulletList",icon:"list",isActive:e.isActive("bulletList"),text:"Bullet List",onclick:()=>e.chain().focus().toggleBulletList().run()},{node:"orderedList",icon:"list-ol",isActive:e.isActive("orderedList"),text:"Ordered List",onclick:()=>e.chain().focus().toggleOrderedList().run()},{node:"blockquote",icon:"block-quote",isActive:e.isActive("blockquote"),text:"Block Quote",onclick:()=>e.chain().focus().toggleBlockquote().run()}],i=()=>{o(!0)},r=_=>{o(!_)};let u=0;const b=[];for(const{text:_,isActive:N,icon:S}of n)N&&(u++,b.push(tt.jsxs(ne,Object.assign({align:"center",gap:"xs"},{children:[tt.jsx(Ut,{icon:S,size:"lg"},void 0),tt.jsx("div",{children:_},void 0),tt.jsx(ne,Object.assign({className:t?"fa-flip-vertical":"",display:"inline_flex"},{children:tt.jsx(Ut,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"},void 0)}),void 0)]}),S)));const C=tt.jsx(ln,Object.assign({className:"editor-dropdown-button",onClick:i,variant:"secondary"},{children:u===2?b[1]:u===1?b[0]||null:tt.jsxs(ne,Object.assign({align:"center",gap:"xs"},{children:[tt.jsx(Ut,{icon:"paragraph",size:"lg"},void 0),tt.jsx("div",{children:"Paragraph"},void 0),tt.jsx(ne,Object.assign({className:t?"fa-flip-vertical":"",display:"inline_flex"},{children:tt.jsx(Ut,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"},void 0)}),void 0)]}),"paragraph")}),void 0);return tt.jsx(Ir,Object.assign({closeOnClick:"outside",padding:"none",placement:"bottom",reference:C,shouldClosePopover:r,show:t},{children:tt.jsx(Js,Object.assign({paddingBottom:"xs",paddingTop:"xs",variant:"subtle"},{children:n.map(({icon:_,text:N,onclick:S,isActive:P},x)=>tt.jsx(ta,{className:`pb_tiptap_toolbar_dropdown_list_item ${P?"is-active":""}`,cursor:"pointer",iconLeft:_,margin:"none",onClick:()=>{S(),o(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:N},`${N}_${x}`))}),void 0)}),void 0)},Du=({editor:e})=>{const t=ee(()=>{const n=e.getAttributes("link").href,i=window.prompt("URL",n);if(i!==null){if(i===""){e.chain().focus().extendMarkRange("link").unsetLink().run();return}e.chain().focus().extendMarkRange("link").setLink({href:i}).run()}},[e]),o=[{onclick:()=>e.chain().focus().toggleCodeBlock().run(),icon:"code",isActive:e.isActive("codeBlock"),text:"Codeblock"},{onclick:t,icon:"link",isActive:e.isActive("link"),text:"Link"}];return tt.jsx(tt.Fragment,{children:o.map(({onclick:n,icon:i,text:r,isActive:u},b)=>tt.jsx(Br,{classname:`toolbar_button ${u?"is-active":""}`,icon:i,onclick:n,text:r},b))},void 0)},Bu=({editor:e})=>{const t=[{classname:"toolbar_button",icon:"undo",text:"Undo",onclick:()=>e.chain().focus().undo().run(),disable:!e.can().chain().focus().undo().run()},{classname:"toolbar_button",icon:"redo",text:"Redo",onclick:()=>e.chain().focus().redo().run(),disable:!e.can().chain().focus().redo().run()}];return tt.jsx(tt.Fragment,{children:tt.jsx(on,Object.assign({displayFlex:!0},{children:t.map(({onclick:o,classname:n,disable:i,icon:r,text:u},b)=>tt.jsx(Br,{classname:n,disable:i,icon:r,onclick:o,text:u},b))}),void 0)},void 0)},Fu=({extensions:e})=>{const[t,o]=Nt(!1),n=()=>{o(!0)},i=u=>{o(!u)},r=tt.jsx("button",Object.assign({className:"toolbar_button",onClick:n,role:"button",type:"button"},{children:tt.jsx(ne,Object.assign({align:"center",className:"toolbar_button_icon",justify:"center"},{children:tt.jsx(Ut,{icon:"ellipsis",size:"lg"},void 0)}),void 0)}),void 0);return tt.jsx(Ir,Object.assign({closeOnClick:"outside",padding:"none",placement:"bottom",reference:r,shouldClosePopover:i,show:t},{children:tt.jsx(Js,Object.assign({paddingBottom:e.length>1?"xs":"none",paddingTop:e.length>1?"xs":"none",variant:"subtle"},{children:e&&e.map(({icon:u,text:b,onclick:C,isActive:_},N)=>tt.jsx(ta,{className:`pb_tiptap_toolbar_dropdown_list_item ${_?"is-active":""}`,cursor:"pointer",iconLeft:u,margin:"none",onClick:()=>{C(),o(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:b},`${b}_${N}`))}),void 0)}),void 0)},zu=({editor:e,extensions:t})=>{const o=[{icon:"bold",text:"Bold",classname:`toolbar_button ${e.isActive("bold")?"is-active":""}`,onclick:()=>e.chain().focus().toggleBold().run()},{icon:"italic",text:"Italic",classname:`toolbar_button ${e.isActive("italic")?"is-active":""}`,onclick:()=>e.chain().focus().toggleItalic().run()},{icon:"strikethrough",text:"Strikethrough",classname:`toolbar_button ${e.isActive("strike")?"is-active":""}`,onclick:()=>e.chain().focus().toggleStrike().run()}];return tt.jsx(rd,Object.assign({backgroundColor:"white",className:"toolbar"},{children:tt.jsxs(ne,Object.assign({flex:"0",justify:"between",paddingX:"sm",paddingY:"xxs"},{children:[tt.jsxs(on,Object.assign({className:"toolbar_block",displayFlex:!0},{children:[tt.jsx(Nu,{editor:e},void 0),tt.jsx(dn,{orientation:"vertical"},void 0),o&&o.map(({icon:n,text:i,classname:r,onclick:u},b)=>tt.jsx(Br,{classname:r,icon:n,onclick:u,text:i},b)),tt.jsx(dn,{orientation:"vertical"},void 0),tt.jsx(Du,{editor:e},void 0),t&&tt.jsx(tt.Fragment,{children:tt.jsx(Fu,{extensions:t},void 0)},void 0)]}),void 0),tt.jsx(Bu,{editor:e},void 0)]}),void 0)}),void 0)};try{const e=require("trix");e.config.textAttributes.inlineCode={tagName:"code",inheritable:!0}}catch{}const p2=e=>{const{aria:t={},advancedEditor:o,advancedEditorToolbar:n=!0,toolbarBottom:i=!1,children:r,className:u,data:b={},focus:C=!1,htmlOptions:_={},inline:N=!1,extensions:S,name:P,onChange:x=kn,placeholder:p,simple:c=!1,sticky:h=!1,template:s="",value:d="",maxWidth:y="md"}=e,v=zt(t),w=Bt(b),[$,k]=Nt(),A=It(_),g=E=>k(E),T=$==null?void 0:$.element;if($){const E=T.parentElement.querySelector("trix-toolbar"),B=E.querySelector("[data-trix-attribute=code]");let U=E.querySelector("[data-trix-attribute=inlineCode]");U||(U=B.cloneNode(!0),B.hidden=!0,U.dataset.trixAttribute="inlineCode",B.insertAdjacentElement("afterend",U)),i&&$.element.after(E),C&&(document.addEventListener("trix-focus",Yn),document.addEventListener("trix-blur",Yn),Yn()),document.addEventListener("trix-focus",So),document.addEventListener("trix-blur",So)}qt(()=>{!$||!s||($.loadHTML(""),$.setSelectedRange([0,0]),$.insertHTML(s))},[$,s]),qt(()=>{T&&T.addEventListener("click",({target:E})=>{if(!E.closest(".pb_rich_text_editor_kit"))return;const U=E.closest("a");U&&U.hasAttribute("href")&&window.open(U.href)})},[T]);const a="pb_rich_text_editor_kit",O=c?"simple":"",m=C?"focus-editor-targets":"",j=h?"sticky":"",f=N?"inline":"",M=i?"toolbar-bottom":"";let I=Pt(Tt(e,{maxWidth:y}),u);return I=Pt(a,O,m,j,f,M,I),tt.jsx("div",Object.assign({},v,w,A,{className:I},{children:o?tt.jsxs("div",Object.assign({className:Pt("pb_rich_text_editor_advanced_container",{"toolbar-active":n})},{children:[n&&tt.jsx(zu,{editor:o,extensions:S},void 0),r]}),void 0):tt.jsx(Jh,{className:"",fileParamName:P,mergeTags:[],onChange:x,onEditorReady:g,placeholder:p,value:d},void 0)}),void 0)};var va={exports:{}};(function(e){(function(t){e.exports?(t.default=t,e.exports=t):t(typeof Highcharts<"u"?Highcharts:void 0)})(function(t){function o(n,i,r,u){n.hasOwnProperty(i)||(n[i]=u.apply(null,r),typeof CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:n[i]}})))}t=t?t._modules:{},o(t,"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i){var r=n.seriesTypes.column.prototype,u=i.addEvent,b=i.defined,C;return function(_){function N(P){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:P&&P.state==="hover"?1:0})}var S=[];_.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return this.value!==null&&this.value!==1/0&&this.value!==-1/0&&(this.value===void 0||!isNaN(this.value))}},_.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(P){var x={};return!b(P.color)||P.state&&P.state!=="normal"||(x[this.colorProp||"fill"]=P.color),x},pointAttribs:r.pointAttribs},_.compose=function(P){var x=P.prototype.pointClass;return S.indexOf(x)===-1&&(S.push(x),u(x,"afterSetState",N)),P}}(C||(C={})),C}),o(t,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return function(){function n(i,r,u,b){this.height=i,this.width=r,this.plot=b,this.startDirection=this.direction=u,this.lH=this.nH=this.lW=this.nW=this.total=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(C,_){return Math.max(C/_,_/C)}}}return n.prototype.addElement=function(i){this.lP.total=this.elArr[this.elArr.length-1],this.total+=i,this.direction===0?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(i)},n.prototype.reset=function(){this.lW=this.nW=0,this.elArr=[],this.total=0},n}()}),o(t,"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(n){return{draw:function(i,r){var u=r.animatableAttribs,b=r.onComplete,C=r.css,_=r.renderer,N=i.series&&i.series.chart.hasRendered?void 0:i.series&&i.series.options.animation,S=i.graphic;if(r.attribs=r.attribs||{},r.attribs.class=i.getClassName(),i.shouldDraw())S||(i.graphic=S=r.shapeType==="text"?_.text():_[r.shapeType](r.shapeArgs||{}),S.add(r.group)),C&&S.css(C),S.attr(r.attribs).animate(u,r.isNew?!1:N,b);else if(S){var P=function(){i.graphic=S=S&&S.destroy(),typeof b=="function"&&b()};Object.keys(u).length?S.animate(u,void 0,function(){return P()}):P()}}}}),o(t,"Series/Treemap/TreemapPoint.js",[t["Series/DrawPointUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,i,r){var u=this&&this.__extends||function(){var P=function(x,p){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var s in h)h.hasOwnProperty(s)&&(c[s]=h[s])},P(x,p)};return function(x,p){function c(){this.constructor=x}P(x,p),x.prototype=p===null?Object.create(p):(c.prototype=p.prototype,new c)}}(),b=i.series.prototype.pointClass,C=i.seriesTypes;i=C.pie.prototype.pointClass;var _=r.extend,N=r.isNumber,S=r.pick;return r=function(P){function x(){var p=P!==null&&P.apply(this,arguments)||this;return p.name=void 0,p.node=void 0,p.options=void 0,p.series=void 0,p.shapeType="rect",p.value=void 0,p}return u(x,P),x.prototype.draw=function(p){n.draw(this,p)},x.prototype.getClassName=function(){var p=b.prototype.getClassName.call(this),c=this.series,h=c.options;return this.node.level<=c.nodeMap[c.rootNode].level?p+=" highcharts-above-level":this.node.isLeaf||S(h.interactByLeaf,!h.allowTraversingTree)?this.node.isLeaf||(p+=" highcharts-internal-node"):p+=" highcharts-internal-node-interactive",p},x.prototype.isValid=function(){return!(!this.id&&!N(this.value))},x.prototype.setState=function(p){b.prototype.setState.call(this,p),this.graphic&&this.graphic.attr({zIndex:p==="hover"?1:0})},x.prototype.shouldDraw=function(){return N(this.plotY)&&this.y!==null},x}(C.scatter.prototype.pointClass),_(r.prototype,{setVisible:i.prototype.setVisible}),r}),o(t,"Series/Treemap/TreemapUtilities.js",[t["Core/Utilities.js"]],function(n){var i=n.objectEach,r;return function(u){function b(C,_,N){N===void 0&&(N=this),C=_.call(N,C),C!==!1&&b(C,_,N)}u.AXIS_MAX=100,u.isBoolean=function(C){return typeof C=="boolean"},u.eachObject=function(C,_,N){N=N||this,i(C,function(S,P){_.call(N,S,P,C)})},u.recursive=b}(r||(r={})),r}),o(t,"Series/TreeUtilities.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(n,i){function r(P,x){var p=x.before,c=x.idRoot,h=x.mapIdToNode[c],s=x.points[P.i],d=s&&s.options||{},y=[],v=0;return P.levelDynamic=P.level-(x.levelIsConstant!==!1?0:h.level),P.name=S(s&&s.name,""),P.visible=c===P.id||x.visible===!0,typeof p=="function"&&(P=p(P,x)),P.children.forEach(function(w,$){var k=u({},x);u(k,{index:$,siblings:P.children.length,visible:P.visible}),w=r(w,k),y.push(w),w.visible&&(v+=w.val)}),p=S(d.value,v),P.visible=0<=p&&(0K.lP.lR&&G.algorithmCalcPoints(D,!1,K,H,R),F===z&&G.algorithmCalcPoints(D,!0,K,H,R),F+=1}),H},q.prototype.alignDataLabel=function(D,l,L){var H=L.style;H&&!T(H.textOverflow)&&l.text&&l.getBBox().width>l.text.textWidth&&l.css({textOverflow:"ellipsis",width:H.width+="px"}),d.prototype.alignDataLabel.apply(this,arguments),D.dataLabel&&D.dataLabel.attr({zIndex:(D.node.zIndex||0)+1})},q.prototype.calculateChildrenAreas=function(D,l){var L=this,H=L.options,G=L.mapOptionsToLevel[D.level+1],W=E(L[G&&G.layoutAlgorithm]&&G.layoutAlgorithm,H.layoutAlgorithm),R=H.alternateStartingDirection,F=[];D=D.children.filter(function(z){return!z.ignore}),G&&G.layoutStartingDirection&&(l.direction=G.layoutStartingDirection==="vertical"?0:1),F=L[W](l,D),D.forEach(function(z,K){K=F[K],z.values=I(K,{val:z.childrenTotal,direction:R?1-l.direction:l.direction}),z.pointValues=I(K,{x:K.x/L.axisRatio,y:N.AXIS_MAX-K.y-K.height,width:K.width/L.axisRatio}),z.children.length&&L.calculateChildrenAreas(z,z.values)})},q.prototype.createList=function(D){var l=this.chart,L=[];if(l.breadcrumbs){var H=0;L.push({level:H,levelOptions:l.series[0]}),l=D.target.nodeMap[D.newRootId];for(var G=[];l.parent||l.parent==="";)G.push(l),l=D.target.nodeMap[l.parent];G.reverse().forEach(function(W){L.push({level:++H,levelOptions:W})}),1>=L.length&&(L.length=0)}return L},q.prototype.drawDataLabels=function(){var D=this,l=D.mapOptionsToLevel,L,H;D.points.filter(function(G){return G.node.visible}).forEach(function(G){H=l[G.node.level],L={style:{}},G.node.isLeaf||(L.enabled=!1),H&&H.dataLabels&&(L=I(L,H.dataLabels),D._hasPointLabels=!0),G.shapeArgs&&(L.style.width=G.shapeArgs.width,G.dataLabel&&G.dataLabel.css({width:G.shapeArgs.width+"px"})),G.dlOptions=I(L,G.options.dataLabels)}),s.prototype.drawDataLabels.call(this)},q.prototype.drawPoints=function(D){D===void 0&&(D=this.points);var l=this,L=l.chart,H=L.renderer,G=L.styledMode,W=l.options,R=G?{}:W.shadow,F=W.borderRadius,z=L.pointCount"u"&&(H[G]=[]),H[G].push(W),H},{"":[]}),N.eachObject(l,function(H,G,W){G!==""&&L.indexOf(G)===-1&&(H.forEach(function(R){W[""].push(R)}),delete W[G])}),l},q.prototype.getTree=function(){var D=this.data.map(function(l){return l.id});return D=this.getListOfParents(this.data,D),this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,D)},q.prototype.buildTree=function(D,l,L,H,G){var W=this,R=[],F=W.points[l],z=0,K;(H[D]||[]).forEach(function(X){K=W.buildTree(W.points[X].id,X,L+1,H,D),z=Math.max(K.height+1,z),R.push(K)});var V=new W.NodeClass().init(D,l,R,z,L,W,G);return R.forEach(function(X){X.parentNode=V}),W.nodeMap[V.id]=V,W.nodeList.push(V),F&&(F.node=V,V.point=F),V},q.prototype.hasData=function(){return!!this.processedXData.length},q.prototype.init=function(D,l){var L=this,H=I(l.drillUpButton,l.breadcrumbs),G=A(L,"setOptions",function(W){W=W.userOptions,T(W.allowDrillToNode)&&!T(W.allowTraversingTree)&&(W.allowTraversingTree=W.allowDrillToNode,delete W.allowDrillToNode),T(W.drillUpButton)&&!T(W.traverseUpButton)&&(W.traverseUpButton=W.drillUpButton,delete W.drillUpButton)});s.prototype.init.call(L,D,l),delete L.opacity,L.eventsToUnbind.push(G),L.options.allowTraversingTree&&(L.eventsToUnbind.push(A(L,"click",L.onClickDrillToNode)),L.eventsToUnbind.push(A(L,"setRootNode",function(W){var R=L.chart;R.breadcrumbs&&R.breadcrumbs.updateProperties(L.createList(W))})),L.eventsToUnbind.push(A(L,"update",function(W,R){(R=this.chart.breadcrumbs)&&W.options.breadcrumbs&&R.update(W.options.breadcrumbs)})),L.eventsToUnbind.push(A(L,"destroy",function(W){var R=this.chart;R.breadcrumbs&&(R.breadcrumbs.destroy(),W.keepEventsForUpdate||(R.breadcrumbs=void 0))}))),D.breadcrumbs||(D.breadcrumbs=new P(D,H)),L.eventsToUnbind.push(A(D.breadcrumbs,"up",function(W){W=this.level-W.newLevel;for(var R=0;R{point.name}: {point.value}
"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:y?0:.1,halo:!1,opacity:.75,shadow:!1}}}),q}(v),O(S.prototype,{buildKDTree:n,colorAttribs:i.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:u.drawRectangle,getExtremesFromAll:!0,getSymbol:n,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:_,NodeClass:p,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:N.recursive}}),i.compose(S),b.registerSeriesType("treemap",S),S}),o(t,"masters/modules/treemap.src.js",[t["Core/Globals.js"],t["Extensions/Breadcrumbs.js"]],function(n,i){n.Breadcrumbs=i})})})(va);var Hu=va.exports;const Wu=pe(Hu),f2=e=>{var{aria:t={},data:o={},chartData:n,colors:i,customOptions:r={},dark:u=!1,drillable:b=!1,grouped:C=!1,height:_,htmlOptions:N={},id:S,title:P="",tooltipHtml:x='{point.name}: {point.value}',type:p="treemap"}=e,c=me(e,["aria","data","chartData","colors","customOptions","dark","drillable","grouped","height","htmlOptions","id","title","tooltipHtml","type"]);const h=zt(t),s=Bt(o),d=It(N),y=()=>{u?Qt.setOptions(Ri):Qt.setOptions(be)};Wu(Qt),y();const v={title:{text:P},chart:{height:_,type:p},credits:!1,series:[{data:n}],plotOptions:{treemap:{tooltip:{pointFormat:x},allowTraversingTree:b,colorByPoint:!C,colors:i!==void 0&&i.length>0?hi(i):be.colors}}},[w,$]=Nt({});return qt(()=>{$(te.merge(v,r))},[n]),tt.jsx(ci,{containerProps:Object.assign(Object.assign(Object.assign({className:Pt(Tt(c),"pb_treemap_chart"),id:S},h),s),d),highcharts:Qt,options:w},void 0)};function Ze(e){"@babel/helpers - typeof";return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(e)}function Vu(e,t){if(Ze(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ze(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ya(e){var t=Vu(e,"string");return Ze(t)=="symbol"?t:String(t)}function ri(e,t,o){return t=ya(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Io(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function Mt(e){for(var t=1;te.length)&&(t=e.length);for(var o=0,n=new Array(t);o=0)&&(o[i]=e[i]);return o}function Pe(e,t){if(e==null)return{};var o=Yu(e,t),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ku=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function An(e){var t=e.defaultInputValue,o=t===void 0?"":t,n=e.defaultMenuIsOpen,i=n===void 0?!1:n,r=e.defaultValue,u=r===void 0?null:r,b=e.inputValue,C=e.menuIsOpen,_=e.onChange,N=e.onInputChange,S=e.onMenuClose,P=e.onMenuOpen,x=e.value,p=Pe(e,Ku),c=Nt(b!==void 0?b:o),h=se(c,2),s=h[0],d=h[1],y=Nt(C!==void 0?C:i),v=se(y,2),w=v[0],$=v[1],k=Nt(x!==void 0?x:u),A=se(k,2),g=A[0],T=A[1],a=ee(function(E,B){typeof _=="function"&&_(E,B),T(E)},[_]),O=ee(function(E,B){var U;typeof N=="function"&&(U=N(E,B)),d(U!==void 0?U:E)},[N]),m=ee(function(){typeof P=="function"&&P(),$(!0)},[P]),j=ee(function(){typeof S=="function"&&S(),$(!1)},[S]),f=b!==void 0?b:s,M=C!==void 0?C:w,I=x!==void 0?x:g;return Mt(Mt({},p),{},{inputValue:f,menuIsOpen:M,onChange:a,onInputChange:O,onMenuClose:j,onMenuOpen:m,value:I})}function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?le(vi,--ue):0,pi--,ie===10&&(pi=1,En--),ie}function ve(){return ie=ue2||Ei(ie)>3?"":" "}function yp(e,t){for(;--t&&ve()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return zi(e,tn()+(t<6&&Le()==32&&ve()==32))}function br(e){for(;ve();)switch(ie){case e:return ue;case 34:case 39:e!==34&&e!==39&&br(ie);break;case 40:e===41&&br(e);break;case 92:ve();break}return ue}function xp(e,t){for(;ve()&&e+ie!==57;)if(e+ie===84&&Le()===47)break;return"/*"+zi(t,ue-1)+"*"+Ln(e===47?e:ve())}function $p(e){for(;!Ei(Le());)ve();return zi(e,ue)}function bp(e){return Pa(nn("",null,null,null,[""],e=Oa(e),0,[0],e))}function nn(e,t,o,n,i,r,u,b,C){for(var _=0,N=0,S=u,P=0,x=0,p=0,c=1,h=1,s=1,d=0,y="",v=i,w=r,$=n,k=y;h;)switch(p=d,d=ve()){case 40:if(p!=108&&le(k,S-1)==58){$r(k+=Gt(en(d),"&","&\f"),"&\f")!=-1&&(s=-1);break}case 34:case 39:case 91:k+=en(d);break;case 9:case 10:case 13:case 32:k+=vp(p);break;case 92:k+=yp(tn()-1,7);continue;case 47:switch(Le()){case 42:case 47:Ui(Cp(xp(ve(),tn()),t,o),C);break;default:k+="/"}break;case 123*c:b[_++]=Me(k)*s;case 125*c:case 59:case 0:switch(d){case 0:case 125:h=0;case 59+N:s==-1&&(k=Gt(k,/\f/g,"")),x>0&&Me(k)-S&&Ui(x>32?Do(k+";",n,o,S-1):Do(Gt(k," ","")+";",n,o,S-2),C);break;case 59:k+=";";default:if(Ui($=No(k,t,o,_,N,i,b,y,v=[],w=[],S),r),d===123)if(N===0)nn(k,t,$,$,v,r,S,b,w);else switch(P===99&&le(k,3)===110?100:P){case 100:case 108:case 109:case 115:nn(e,$,$,n&&Ui(No(e,$,$,0,0,i,b,y,i,v=[],S),w),i,w,S,b,n?v:w);break;default:nn(k,$,$,$,[""],w,0,b,w)}}_=N=x=0,c=s=1,y=k="",S=u;break;case 58:S=1+Me(k),x=p;default:if(c<1){if(d==123)--c;else if(d==125&&c++==0&&mp()==125)continue}switch(k+=Ln(d),d*c){case 38:s=N>0?1:(k+="\f",-1);break;case 44:b[_++]=(Me(k)-1)*s,s=1;break;case 64:Le()===45&&(k+=en(ve())),P=Le(),N=S=Me(y=k+=$p(tn())),d++;break;case 45:p===45&&Me(k)==2&&(c=0)}}return r}function No(e,t,o,n,i,r,u,b,C,_,N){for(var S=i-1,P=i===0?r:[""],x=Hr(P),p=0,c=0,h=0;p0?P[s]+" "+d:Gt(d,/&\f/g,P[s])))&&(C[h++]=y);return jn(e,t,o,i===0?Fr:b,C,_,N)}function Cp(e,t,o){return jn(e,t,o,ba,Ln(gp()),Li(e,2,-2),0)}function Do(e,t,o,n){return jn(e,t,o,zr,Li(e,0,n),Li(e,n+1,-1),n)}function li(e,t){for(var o="",n=Hr(e),i=0;i6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return Gt(e,/(.+:)(.+)-([^]+)/,"$1"+Vt+"$2-$3$1"+xn+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$r(e,"stretch")?ka(Gt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(le(e,t+1)!==115)break;case 6444:switch(le(e,Me(e)-3-(~$r(e,"!important")&&10))){case 107:return Gt(e,":",":"+Vt)+e;case 101:return Gt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Vt+(le(e,14)===45?"inline-":"")+"box$3$1"+Vt+"$2$3$1"+ce+"$2box$3")+e}break;case 5936:switch(le(e,t+11)){case 114:return Vt+e+ce+Gt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Vt+e+ce+Gt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Vt+e+ce+Gt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Vt+e+ce+e+e}return e}var Lp=function(t,o,n,i){if(t.length>-1&&!t.return)switch(t.type){case zr:t.return=ka(t.value,t.length);break;case Ca:return li([xi(t,{value:Gt(t.value,"@","@"+Vt)})],i);case Fr:if(t.length)return fp(t.props,function(r){switch(pp(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return li([xi(t,{props:[Gt(r,/:(read-\w+)/,":"+xn+"$1")]})],i);case"::placeholder":return li([xi(t,{props:[Gt(r,/:(plac\w+)/,":"+Vt+"input-$1")]}),xi(t,{props:[Gt(r,/:(plac\w+)/,":"+xn+"$1")]}),xi(t,{props:[Gt(r,/:(plac\w+)/,ce+"input-$1")]})],i)}return""})}},Ep=[Lp],jp=function(t){var o=t.key;if(o==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var h=c.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var i=t.stylisPlugins||Ep,r={},u,b=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(c){for(var h=c.getAttribute("data-emotion").split(" "),s=1;s=4;++n,i-=4)o=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Xp={animationIterationCount:1,aspectRatio: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},Yp=/[A-Z]|^ms/g,Kp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ea=function(t){return t.charCodeAt(1)===45},Fo=function(t){return t!=null&&typeof t!="boolean"},Jn=Pp(function(e){return Ea(e)?e:e.replace(Yp,"-$&").toLowerCase()}),zo=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(Kp,function(n,i,r){return Te={name:i,styles:r,next:Te},i})}return Xp[t]!==1&&!Ea(t)&&typeof o=="number"&&o!==0?o+"px":o};function ji(e,t,o){if(o==null)return"";if(o.__emotion_styles!==void 0)return o;switch(typeof o){case"boolean":return"";case"object":{if(o.anim===1)return Te={name:o.name,styles:o.styles,next:Te},o.name;if(o.styles!==void 0){var n=o.next;if(n!==void 0)for(;n!==void 0;)Te={name:n.name,styles:n.styles,next:Te},n=n.next;var i=o.styles+";";return i}return qp(e,t,o)}case"function":{if(e!==void 0){var r=Te,u=o(e);return Te=r,ji(e,t,u)}break}}return o}function qp(e,t,o){var n="";if(Array.isArray(o))for(var i=0;i({x:e,y:e});function c0(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ra(e){return Da(e)?(e.nodeName||"").toLowerCase():"#document"}function je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Na(e){var t;return(t=(Da(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Da(e){return e instanceof Node||e instanceof je(e).Node}function h0(e){return e instanceof Element||e instanceof je(e).Element}function Yr(e){return e instanceof HTMLElement||e instanceof je(e).HTMLElement}function Wo(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof je(e).ShadowRoot}function Ba(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=Kr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function u0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function p0(e){return["html","body","#document"].includes(Ra(e))}function Kr(e){return je(e).getComputedStyle(e)}function f0(e){if(Ra(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wo(e)&&e.host||Na(e);return Wo(t)?t.host:t}function Fa(e){const t=f0(e);return p0(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yr(t)&&Ba(t)?t:Fa(t)}function Cn(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=Fa(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),u=je(i);return r?t.concat(u,u.visualViewport||[],Ba(i)?i:[],u.frameElement&&o?Cn(u.frameElement):[]):t.concat(i,Cn(i,[],o))}function g0(e){const t=Kr(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=Yr(e),r=i?e.offsetWidth:o,u=i?e.offsetHeight:n,b=$n(o)!==r||$n(n)!==u;return b&&(o=r,n=u),{width:o,height:n,$:b}}function qr(e){return h0(e)?e:e.contextElement}function Vo(e){const t=qr(e);if(!Yr(t))return bn(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:r}=g0(t);let u=(r?$n(o.width):o.width)/n,b=(r?$n(o.height):o.height)/i;return(!u||!Number.isFinite(u))&&(u=1),(!b||!Number.isFinite(b))&&(b=1),{x:u,y:b}}const m0=bn(0);function v0(e){const t=je(e);return!u0()||!t.visualViewport?m0:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function y0(e,t,o){return!1}function Go(e,t,o,n){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),r=qr(e);let u=bn(1);t&&(u=Vo(e));const b=y0()?v0(r):bn(0);let C=(i.left+b.x)/u.x,_=(i.top+b.y)/u.y,N=i.width/u.x,S=i.height/u.y;if(r){const P=je(r),x=n;let p=P.frameElement;for(;p&&n&&x!==P;){const c=Vo(p),h=p.getBoundingClientRect(),s=Kr(p),d=h.left+(p.clientLeft+parseFloat(s.paddingLeft))*c.x,y=h.top+(p.clientTop+parseFloat(s.paddingTop))*c.y;C*=c.x,_*=c.y,N*=c.x,S*=c.y,C+=d,_+=y,p=je(p).frameElement}}return c0({width:N,height:S,x:C,y:_})}function x0(e,t){let o=null,n;const i=Na(e);function r(){clearTimeout(n),o&&o.disconnect(),o=null}function u(b,C){b===void 0&&(b=!1),C===void 0&&(C=1),r();const{left:_,top:N,width:S,height:P}=e.getBoundingClientRect();if(b||t(),!S||!P)return;const x=Xi(N),p=Xi(i.clientWidth-(_+S)),c=Xi(i.clientHeight-(N+P)),h=Xi(_),d={rootMargin:-x+"px "+-p+"px "+-c+"px "+-h+"px",threshold:d0(0,l0(1,C))||1};let y=!0;function v(w){const $=w[0].intersectionRatio;if($!==C){if(!y)return u();$?u(!1,$):n=setTimeout(()=>{u(!1,1e-7)},100)}y=!1}try{o=new IntersectionObserver(v,{...d,root:i.ownerDocument})}catch{o=new IntersectionObserver(v,d)}o.observe(e)}return u(!0),r}function $0(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:C=!1}=n,_=qr(e),N=i||r?[..._?Cn(_):[],...Cn(t)]:[];N.forEach(s=>{i&&s.addEventListener("scroll",o,{passive:!0}),r&&s.addEventListener("resize",o)});const S=_&&b?x0(_,o):null;let P=-1,x=null;u&&(x=new ResizeObserver(s=>{let[d]=s;d&&d.target===_&&x&&(x.unobserve(t),cancelAnimationFrame(P),P=requestAnimationFrame(()=>{x&&x.observe(t)})),o()}),_&&!C&&x.observe(_),x.observe(t));let p,c=C?Go(e):null;C&&h();function h(){const s=Go(e);c&&(s.x!==c.x||s.y!==c.y||s.width!==c.width||s.height!==c.height)&&o(),c=s,p=requestAnimationFrame(h)}return o(),()=>{N.forEach(s=>{i&&s.removeEventListener("scroll",o),r&&s.removeEventListener("resize",o)}),S&&S(),x&&x.disconnect(),x=null,C&&cancelAnimationFrame(p)}}var Sr=kr,b0=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Sn=function(){};function C0(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function S0(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),i=2;i-1}function O0(e){return Gn(e)?window.innerHeight:e.clientHeight}function Ha(e){return Gn(e)?window.pageYOffset:e.scrollTop}function On(e,t){if(Gn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function P0(e){var t=getComputedStyle(e),o=t.position==="absolute",n=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(o&&t.position==="static")&&n.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function k0(e,t,o,n){return o*((e=e/n-1)*e*e+1)+t}function Yi(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Sn,i=Ha(e),r=t-i,u=10,b=0;function C(){b+=u;var _=k0(b,i,r,o);On(e,_),bo.bottom?On(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):n.top-i1?o-1:0),i=1;i=p)return{placement:"bottom",maxHeight:t};if(g>=p&&!u)return r&&Yi(C,T,O),{placement:"bottom",maxHeight:t};if(!u&&g>=n||u&&k>=n){r&&Yi(C,T,O);var m=u?k-v:g-v;return{placement:"bottom",maxHeight:m}}if(i==="auto"||u){var j=t,f=u?$:A;return f>=n&&(j=Math.min(f-v-b,t)),{placement:"top",maxHeight:j}}if(i==="bottom")return r&&On(C,T),{placement:"bottom",maxHeight:t};break;case"top":if($>=p)return{placement:"top",maxHeight:t};if(A>=p&&!u)return r&&Yi(C,a,O),{placement:"top",maxHeight:t};if(!u&&A>=n||u&&$>=n){var M=t;return(!u&&A>=n||u&&$>=n)&&(M=u?$-w:A-w),r&&Yi(C,a,O),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return _}function D0(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Va=function(t){return t==="auto"?"bottom":t},B0=function(t,o){var n,i=t.placement,r=t.theme,u=r.borderRadius,b=r.spacing,C=r.colors;return Mt((n={label:"menu"},ri(n,D0(i),"100%"),ri(n,"position","absolute"),ri(n,"width","100%"),ri(n,"zIndex",1),n),o?{}:{backgroundColor:C.neutral0,borderRadius:u,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:b.menuGutter,marginTop:b.menuGutter})},Ga=Or(null),F0=function(t){var o=t.children,n=t.minMenuHeight,i=t.maxMenuHeight,r=t.menuPlacement,u=t.menuPosition,b=t.menuShouldScrollIntoView,C=t.theme,_=fi(Ga)||{},N=_.setPortalPlacement,S=de(null),P=Nt(i),x=se(P,2),p=x[0],c=x[1],h=Nt(null),s=se(h,2),d=s[0],y=s[1],v=C.spacing.controlHeight;return Sr(function(){var w=S.current;if(w){var $=u==="fixed",k=b&&!$,A=N0({maxHeight:i,menuEl:w,minHeight:n,placement:r,shouldScroll:k,isFixedPosition:$,controlHeight:v});c(A.maxHeight),y(A.placement),N==null||N(A.placement)}},[i,r,u,b,n,N,v]),o({ref:S,placerProps:Mt(Mt({},t),{},{placement:d||Va(r),maxHeight:p})})},z0=function(t){var o=t.children,n=t.innerRef,i=t.innerProps;return Lt("div",At({},Jt(t,"menu",{menu:!0}),{ref:n},i),o)},H0=z0,W0=function(t,o){var n=t.maxHeight,i=t.theme.spacing.baseUnit;return Mt({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},o?{}:{paddingBottom:i,paddingTop:i})},V0=function(t){var o=t.children,n=t.innerProps,i=t.innerRef,r=t.isMulti;return Lt("div",At({},Jt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},n),o)},Ua=function(t,o){var n=t.theme,i=n.spacing.baseUnit,r=n.colors;return Mt({textAlign:"center"},o?{}:{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},G0=Ua,U0=Ua,X0=function(t){var o=t.children,n=o===void 0?"No options":o,i=t.innerProps,r=Pe(t,I0);return Lt("div",At({},Jt(Mt(Mt({},r),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},Y0=function(t){var o=t.children,n=o===void 0?"Loading...":o,i=t.innerProps,r=Pe(t,R0);return Lt("div",At({},Jt(Mt(Mt({},r),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},K0=function(t){var o=t.rect,n=t.offset,i=t.position;return{left:o.left,position:i,top:n,width:o.width,zIndex:1}},q0=function(t){var o=t.appendTo,n=t.children,i=t.controlElement,r=t.innerProps,u=t.menuPlacement,b=t.menuPosition,C=de(null),_=de(null),N=Nt(Va(u)),S=se(N,2),P=S[0],x=S[1],p=_e(function(){return{setPortalPlacement:x}},[]),c=Nt(null),h=se(c,2),s=h[0],d=h[1],y=ee(function(){if(i){var k=M0(i),A=b==="fixed"?0:window.pageYOffset,g=k[P]+A;(g!==(s==null?void 0:s.offset)||k.left!==(s==null?void 0:s.rect.left)||k.width!==(s==null?void 0:s.rect.width))&&d({offset:g,rect:k})}},[i,b,P,s==null?void 0:s.offset,s==null?void 0:s.rect.left,s==null?void 0:s.rect.width]);Sr(function(){y()},[y]);var v=ee(function(){typeof _.current=="function"&&(_.current(),_.current=null),i&&C.current&&(_.current=$0(i,C.current,y,{elementResize:"ResizeObserver"in window}))},[i,y]);Sr(function(){v()},[v]);var w=ee(function(k){C.current=k,v()},[v]);if(!o&&b!=="fixed"||!s)return null;var $=Lt("div",At({ref:w},Jt(Mt(Mt({},t),{},{offset:s.offset,position:b,rect:s.rect}),"menuPortal",{"menu-portal":!0}),r),n);return Lt(Ga.Provider,{value:p},o?kl($,o):$)},Z0=function(t){var o=t.isDisabled,n=t.isRtl;return{label:"container",direction:n?"rtl":void 0,pointerEvents:o?"none":void 0,position:"relative"}},Q0=function(t){var o=t.children,n=t.innerProps,i=t.isDisabled,r=t.isRtl;return Lt("div",At({},Jt(t,"container",{"--is-disabled":i,"--is-rtl":r}),n),o)},J0=function(t,o){var n=t.theme.spacing,i=t.isMulti,r=t.hasValue,u=t.selectProps.controlShouldRenderValue;return Mt({alignItems:"center",display:i&&r&&u?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},o?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px")})},t1=function(t){var o=t.children,n=t.innerProps,i=t.isMulti,r=t.hasValue;return Lt("div",At({},Jt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),n),o)},e1=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},i1=function(t){var o=t.children,n=t.innerProps;return Lt("div",At({},Jt(t,"indicatorsContainer",{indicators:!0}),n),o)},Yo,n1=["size"],r1=["innerProps","isRtl","size"],o1={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Xa=function(t){var o=t.size,n=Pe(t,n1);return Lt("svg",At({height:o,width:o,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:o1},n))},Zr=function(t){return Lt(Xa,At({size:20},t),Lt("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"}))},Ya=function(t){return Lt(Xa,At({size:20},t),Lt("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"}))},Ka=function(t,o){var n=t.isFocused,i=t.theme,r=i.spacing.baseUnit,u=i.colors;return Mt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},o?{}:{color:n?u.neutral60:u.neutral20,padding:r*2,":hover":{color:n?u.neutral80:u.neutral40}})},s1=Ka,a1=function(t){var o=t.children,n=t.innerProps;return Lt("div",At({},Jt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),o||Lt(Ya,null))},l1=Ka,d1=function(t){var o=t.children,n=t.innerProps;return Lt("div",At({},Jt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),o||Lt(Zr,null))},c1=function(t,o){var n=t.isDisabled,i=t.theme,r=i.spacing.baseUnit,u=i.colors;return Mt({label:"indicatorSeparator",alignSelf:"stretch",width:1},o?{}:{backgroundColor:n?u.neutral10:u.neutral20,marginBottom:r*2,marginTop:r*2})},h1=function(t){var o=t.innerProps;return Lt("span",At({},o,Jt(t,"indicatorSeparator",{"indicator-separator":!0})))},u1=s0(Yo||(Yo=a0([` 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } `]))),p1=function(t,o){var n=t.isFocused,i=t.size,r=t.theme,u=r.colors,b=r.spacing.baseUnit;return Mt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},o?{}:{color:n?u.neutral60:u.neutral20,padding:b*2})},tr=function(t){var o=t.delay,n=t.offset;return Lt("span",{css:Xr({animation:"".concat(u1," 1s ease-in-out ").concat(o,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},f1=function(t){var o=t.innerProps,n=t.isRtl,i=t.size,r=i===void 0?4:i,u=Pe(t,r1);return Lt("div",At({},Jt(Mt(Mt({},u),{},{innerProps:o,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),o),Lt(tr,{delay:0,offset:n}),Lt(tr,{delay:160,offset:!0}),Lt(tr,{delay:320,offset:!n}))},g1=function(t,o){var n=t.isDisabled,i=t.isFocused,r=t.theme,u=r.colors,b=r.borderRadius,C=r.spacing;return Mt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:C.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},o?{}:{backgroundColor:n?u.neutral5:u.neutral0,borderColor:n?u.neutral10:i?u.primary:u.neutral20,borderRadius:b,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(u.primary):void 0,"&:hover":{borderColor:i?u.primary:u.neutral30}})},m1=function(t){var o=t.children,n=t.isDisabled,i=t.isFocused,r=t.innerRef,u=t.innerProps,b=t.menuIsOpen;return Lt("div",At({ref:r},Jt(t,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":b}),u,{"aria-disabled":n||void 0}),o)},v1=m1,y1=["data"],x1=function(t,o){var n=t.theme.spacing;return o?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},$1=function(t){var o=t.children,n=t.cx,i=t.getStyles,r=t.getClassNames,u=t.Heading,b=t.headingProps,C=t.innerProps,_=t.label,N=t.theme,S=t.selectProps;return Lt("div",At({},Jt(t,"group",{group:!0}),C),Lt(u,At({},b,{selectProps:S,theme:N,getStyles:i,getClassNames:r,cx:n}),_),Lt("div",null,o))},b1=function(t,o){var n=t.theme,i=n.colors,r=n.spacing;return Mt({label:"group",cursor:"default",display:"block"},o?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"})},C1=function(t){var o=za(t);o.data;var n=Pe(o,y1);return Lt("div",At({},Jt(t,"groupHeading",{"group-heading":!0}),n))},S1=$1,w1=["innerRef","isDisabled","isHidden","inputClassName"],O1=function(t,o){var n=t.isDisabled,i=t.value,r=t.theme,u=r.spacing,b=r.colors;return Mt(Mt({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},P1),o?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:b.neutral80})},qa={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},P1={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Mt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},qa)},k1=function(t){return Mt({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},qa)},M1=function(t){var o=t.cx,n=t.value,i=za(t),r=i.innerRef,u=i.isDisabled,b=i.isHidden,C=i.inputClassName,_=Pe(i,w1);return Lt("div",At({},Jt(t,"input",{"input-container":!0}),{"data-value":n||""}),Lt("input",At({className:o({input:!0},C),ref:r,style:k1(b),disabled:u},_)))},T1=M1,_1=function(t,o){var n=t.theme,i=n.spacing,r=n.borderRadius,u=n.colors;return Mt({label:"multiValue",display:"flex",minWidth:0},o?{}:{backgroundColor:u.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},A1=function(t,o){var n=t.theme,i=n.borderRadius,r=n.colors,u=t.cropWithEllipsis;return Mt({overflow:"hidden",textOverflow:u||u===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},o?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},L1=function(t,o){var n=t.theme,i=n.spacing,r=n.borderRadius,u=n.colors,b=t.isFocused;return Mt({alignItems:"center",display:"flex"},o?{}:{borderRadius:r/2,backgroundColor:b?u.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:u.dangerLight,color:u.danger}})},Za=function(t){var o=t.children,n=t.innerProps;return Lt("div",n,o)},E1=Za,j1=Za;function I1(e){var t=e.children,o=e.innerProps;return Lt("div",At({role:"button"},o),t||Lt(Zr,{size:14}))}var R1=function(t){var o=t.children,n=t.components,i=t.data,r=t.innerProps,u=t.isDisabled,b=t.removeProps,C=t.selectProps,_=n.Container,N=n.Label,S=n.Remove;return Lt(_,{data:i,innerProps:Mt(Mt({},Jt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),r),selectProps:C},Lt(N,{data:i,innerProps:Mt({},Jt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:C},o),Lt(S,{data:i,innerProps:Mt(Mt({},Jt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(o||"option")},b),selectProps:C}))},N1=R1,D1=function(t,o){var n=t.isDisabled,i=t.isFocused,r=t.isSelected,u=t.theme,b=u.spacing,C=u.colors;return Mt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},o?{}:{backgroundColor:r?C.primary:i?C.primary25:"transparent",color:n?C.neutral20:r?C.neutral0:"inherit",padding:"".concat(b.baseUnit*2,"px ").concat(b.baseUnit*3,"px"),":active":{backgroundColor:n?void 0:r?C.primary:C.primary50}})},B1=function(t){var o=t.children,n=t.isDisabled,i=t.isFocused,r=t.isSelected,u=t.innerRef,b=t.innerProps;return Lt("div",At({},Jt(t,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":r}),{ref:u,"aria-disabled":n},b),o)},F1=B1,z1=function(t,o){var n=t.theme,i=n.spacing,r=n.colors;return Mt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},o?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},H1=function(t){var o=t.children,n=t.innerProps;return Lt("div",At({},Jt(t,"placeholder",{placeholder:!0}),n),o)},W1=H1,V1=function(t,o){var n=t.isDisabled,i=t.theme,r=i.spacing,u=i.colors;return Mt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o?{}:{color:n?u.neutral40:u.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},G1=function(t){var o=t.children,n=t.isDisabled,i=t.innerProps;return Lt("div",At({},Jt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),o)},U1=G1,Re={ClearIndicator:d1,Control:v1,DropdownIndicator:a1,DownChevron:Ya,CrossIcon:Zr,Group:S1,GroupHeading:C1,IndicatorsContainer:i1,IndicatorSeparator:h1,Input:T1,LoadingIndicator:f1,Menu:H0,MenuList:V0,MenuPortal:q0,LoadingMessage:Y0,NoOptionsMessage:X0,MultiValue:N1,MultiValueContainer:E1,MultiValueLabel:j1,MultiValueRemove:I1,Option:F1,Placeholder:W1,SelectContainer:Q0,SingleValue:U1,ValueContainer:t1},X1=function(t){return Mt(Mt({},Re),t.components)},Ko=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Y1(e,t){return!!(e===t||Ko(e)&&Ko(t))}function K1(e,t){if(e.length!==t.length)return!1;for(var o=0;o1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return u?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var o=t.context,n=t.focused,i=t.options,r=t.label,u=r===void 0?"":r,b=t.selectValue,C=t.isDisabled,_=t.isSelected,N=t.isAppleDevice,S=function(c,h){return c&&c.length?"".concat(c.indexOf(h)+1," of ").concat(c.length):""};if(o==="value"&&b)return"value ".concat(u," focused, ").concat(S(b,n),".");if(o==="menu"&&N){var P=C?" disabled":"",x="".concat(_?" selected":"").concat(P);return"".concat(u).concat(x,", ").concat(S(i,n),".")}return""},onFilter:function(t){var o=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(o?" for search term "+o:"",".")}},tf=function(t){var o=t.ariaSelection,n=t.focusedOption,i=t.focusedValue,r=t.focusableOptions,u=t.isFocused,b=t.selectValue,C=t.selectProps,_=t.id,N=t.isAppleDevice,S=C.ariaLiveMessages,P=C.getOptionLabel,x=C.inputValue,p=C.isMulti,c=C.isOptionDisabled,h=C.isSearchable,s=C.menuIsOpen,d=C.options,y=C.screenReaderStatus,v=C.tabSelectsValue,w=C.isLoading,$=C["aria-label"],k=C["aria-live"],A=_e(function(){return Mt(Mt({},J1),S||{})},[S]),g=_e(function(){var f="";if(o&&A.onChange){var M=o.option,I=o.options,E=o.removedValue,B=o.removedValues,U=o.value,q=function(R){return Array.isArray(R)?null:R},D=E||M||q(U),l=D?P(D):"",L=I||B||void 0,H=L?L.map(P):[],G=Mt({isDisabled:D&&c(D,b),label:l,labels:H},o);f=A.onChange(G)}return f},[o,A,c,b,P]),T=_e(function(){var f="",M=n||i,I=!!(n&&b&&b.includes(n));if(M&&A.onFocus){var E={focused:M,label:P(M),isDisabled:c(M,b),isSelected:I,options:r,context:M===n?"menu":"value",selectValue:b,isAppleDevice:N};f=A.onFocus(E)}return f},[n,i,P,c,A,r,b,N]),a=_e(function(){var f="";if(s&&d.length&&!w&&A.onFilter){var M=y({count:r.length});f=A.onFilter({inputValue:x,resultsMessage:M})}return f},[r,x,s,A,d,y,w]),O=(o==null?void 0:o.action)==="initial-input-focus",m=_e(function(){var f="";if(A.guidance){var M=i?"value":s?"menu":"input";f=A.guidance({"aria-label":$,context:M,isDisabled:n&&c(n,b),isMulti:p,isSearchable:h,tabSelectsValue:v,isInitialFocus:O})}return f},[$,n,i,p,c,h,s,A,b,v,O]),j=Lt(ar,null,Lt("span",{id:"aria-selection"},g),Lt("span",{id:"aria-focused"},T),Lt("span",{id:"aria-results"},a),Lt("span",{id:"aria-guidance"},m));return Lt(ar,null,Lt(qo,{id:_},O&&j),Lt(qo,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!O&&j))},ef=tf,wr=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],nf=new RegExp("["+wr.map(function(e){return e.letters}).join("")+"]","g"),Qa={};for(var er=0;er-1}},af=["innerRef"];function lf(e){var t=e.innerRef,o=Pe(e,af),n=j0(o,"onExited","in","enter","exit","appear");return Lt("input",At({ref:t},n,{css:Xr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var df=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function cf(e){var t=e.isEnabled,o=e.onBottomArrive,n=e.onBottomLeave,i=e.onTopArrive,r=e.onTopLeave,u=de(!1),b=de(!1),C=de(0),_=de(null),N=ee(function(h,s){if(_.current!==null){var d=_.current,y=d.scrollTop,v=d.scrollHeight,w=d.clientHeight,$=_.current,k=s>0,A=v-w-y,g=!1;A>s&&u.current&&(n&&n(h),u.current=!1),k&&b.current&&(r&&r(h),b.current=!1),k&&s>A?(o&&!u.current&&o(h),$.scrollTop=v,g=!0,u.current=!0):!k&&-s>y&&(i&&!b.current&&i(h),$.scrollTop=0,g=!0,b.current=!0),g&&df(h)}},[o,n,i,r]),S=ee(function(h){N(h,h.deltaY)},[N]),P=ee(function(h){C.current=h.changedTouches[0].clientY},[]),x=ee(function(h){var s=C.current-h.changedTouches[0].clientY;N(h,s)},[N]),p=ee(function(h){if(h){var s=A0?{passive:!1}:!1;h.addEventListener("wheel",S,s),h.addEventListener("touchstart",P,s),h.addEventListener("touchmove",x,s)}},[x,P,S]),c=ee(function(h){h&&(h.removeEventListener("wheel",S,!1),h.removeEventListener("touchstart",P,!1),h.removeEventListener("touchmove",x,!1))},[x,P,S]);return qt(function(){if(t){var h=_.current;return p(h),function(){c(h)}}},[t,p,c]),function(h){_.current=h}}var Qo=["boxSizing","height","overflow","paddingRight","position"],Jo={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ts(e){e.preventDefault()}function es(e){e.stopPropagation()}function is(){var e=this.scrollTop,t=this.scrollHeight,o=e+this.offsetHeight;e===0?this.scrollTop=1:o===t&&(this.scrollTop=e-1)}function ns(){return"ontouchstart"in window||navigator.maxTouchPoints}var rs=!!(typeof window<"u"&&window.document&&window.document.createElement),$i=0,ti={capture:!1,passive:!1};function hf(e){var t=e.isEnabled,o=e.accountForScrollbars,n=o===void 0?!0:o,i=de({}),r=de(null),u=ee(function(C){if(rs){var _=document.body,N=_&&_.style;if(n&&Qo.forEach(function(p){var c=N&&N[p];i.current[p]=c}),n&&$i<1){var S=parseInt(i.current.paddingRight,10)||0,P=document.body?document.body.clientWidth:0,x=window.innerWidth-P+S||0;Object.keys(Jo).forEach(function(p){var c=Jo[p];N&&(N[p]=c)}),N&&(N.paddingRight="".concat(x,"px"))}_&&ns()&&(_.addEventListener("touchmove",ts,ti),C&&(C.addEventListener("touchstart",is,ti),C.addEventListener("touchmove",es,ti))),$i+=1}},[n]),b=ee(function(C){if(rs){var _=document.body,N=_&&_.style;$i=Math.max($i-1,0),n&&$i<1&&Qo.forEach(function(S){var P=i.current[S];N&&(N[S]=P)}),_&&ns()&&(_.removeEventListener("touchmove",ts,ti),C&&(C.removeEventListener("touchstart",is,ti),C.removeEventListener("touchmove",es,ti)))}},[n]);return qt(function(){if(t){var C=r.current;return u(C),function(){b(C)}}},[t,u,b]),function(C){r.current=C}}var uf=function(t){var o=t.target;return o.ownerDocument.activeElement&&o.ownerDocument.activeElement.blur()},pf={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ff(e){var t=e.children,o=e.lockEnabled,n=e.captureEnabled,i=n===void 0?!0:n,r=e.onBottomArrive,u=e.onBottomLeave,b=e.onTopArrive,C=e.onTopLeave,_=cf({isEnabled:i,onBottomArrive:r,onBottomLeave:u,onTopArrive:b,onTopLeave:C}),N=hf({isEnabled:o}),S=function(x){_(x),N(x)};return Lt(ar,null,o&&Lt("div",{onClick:uf,css:pf}),t(S))}var gf={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},mf=function(t){var o=t.name,n=t.onFocus;return Lt("input",{required:!0,name:o,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gf,value:"",onChange:function(){}})},vf=mf;function Qr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function yf(){return Qr(/^iPhone/i)}function tl(){return Qr(/^Mac/i)}function xf(){return Qr(/^iPad/i)||tl()&&navigator.maxTouchPoints>1}function $f(){return yf()||xf()}function bf(){return tl()||$f()}var Cf=function(t){return t.label},el=function(t){return t.label},il=function(t){return t.value},Sf=function(t){return!!t.isDisabled},wf={clearIndicator:l1,container:Z0,control:g1,dropdownIndicator:s1,group:x1,groupHeading:b1,indicatorsContainer:e1,indicatorSeparator:c1,input:O1,loadingIndicator:p1,loadingMessage:U0,menu:B0,menuList:W0,menuPortal:K0,multiValue:_1,multiValueLabel:A1,multiValueRemove:L1,noOptionsMessage:G0,option:D1,placeholder:z1,singleValue:V1,valueContainer:J0},Of={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%)"},Pf=4,nl=4,kf=38,Mf=nl*2,Tf={baseUnit:nl,controlHeight:kf,menuGutter:Mf},rr={borderRadius:Pf,colors:Of,spacing:Tf},_f={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Xo(),captureMenuScroll:!Xo(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:sf(),formatGroupLabel:Cf,getOptionLabel:el,getOptionValue:il,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Sf,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!T0(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var o=t.count;return"".concat(o," result").concat(o!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function os(e,t,o,n){var i=sl(e,t,o),r=al(e,t,o),u=ol(e,t),b=Pn(e,t);return{type:"option",data:t,isDisabled:i,isSelected:r,label:u,value:b,index:n}}function rn(e,t){return e.options.map(function(o,n){if("options"in o){var i=o.options.map(function(u,b){return os(e,u,t,b)}).filter(function(u){return as(e,u)});return i.length>0?{type:"group",data:o,options:i,index:n}:void 0}var r=os(e,o,t,n);return as(e,r)?r:void 0}).filter(L0)}function rl(e){return e.reduce(function(t,o){return o.type==="group"?t.push.apply(t,ai(o.options.map(function(n){return n.data}))):t.push(o.data),t},[])}function ss(e,t){return e.reduce(function(o,n){return n.type==="group"?o.push.apply(o,ai(n.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(n.index,"-").concat(i.index)}}))):o.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),o},[])}function Af(e,t){return rl(rn(e,t))}function as(e,t){var o=e.inputValue,n=o===void 0?"":o,i=t.data,r=t.isSelected,u=t.label,b=t.value;return(!dl(e)||!r)&&ll(e,{label:u,value:b,data:i},n)}function Lf(e,t){var o=e.focusedValue,n=e.selectValue,i=n.indexOf(o);if(i>-1){var r=t.indexOf(o);if(r>-1)return o;if(i-1?o:t[0]}var or=function(t,o){var n,i=(n=t.find(function(r){return r.data===o}))===null||n===void 0?void 0:n.id;return i||null},ol=function(t,o){return t.getOptionLabel(o)},Pn=function(t,o){return t.getOptionValue(o)};function sl(e,t,o){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,o):!1}function al(e,t,o){if(o.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,o);var n=Pn(e,t);return o.some(function(i){return Pn(e,i)===n})}function ll(e,t,o){return e.filterOption?e.filterOption(t,o):!0}var dl=function(t){var o=t.hideSelectedOptions,n=t.isMulti;return o===void 0?n:o},jf=1,Hi=function(e){Qu(o,e);var t=ep(o);function o(n){var i;if(qu(this,o),i=t.call(this,n),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=bf(),i.controlRef=null,i.getControlRef=function(C){i.controlRef=C},i.focusedOptionRef=null,i.getFocusedOptionRef=function(C){i.focusedOptionRef=C},i.menuListRef=null,i.getMenuListRef=function(C){i.menuListRef=C},i.inputRef=null,i.getInputRef=function(C){i.inputRef=C},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(C,_){var N=i.props,S=N.onChange,P=N.name;_.name=P,i.ariaOnChange(C,_),S(C,_)},i.setValue=function(C,_,N){var S=i.props,P=S.closeMenuOnSelect,x=S.isMulti,p=S.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:p}),P&&(i.setState({inputIsHiddenAfterUpdate:!x}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(C,{action:_,option:N})},i.selectOption=function(C){var _=i.props,N=_.blurInputOnSelect,S=_.isMulti,P=_.name,x=i.state.selectValue,p=S&&i.isOptionSelected(C,x),c=i.isOptionDisabled(C,x);if(p){var h=i.getOptionValue(C);i.setValue(x.filter(function(s){return i.getOptionValue(s)!==h}),"deselect-option",C)}else if(!c)S?i.setValue([].concat(ai(x),[C]),"select-option",C):i.setValue(C,"select-option");else{i.ariaOnChange(C,{action:"select-option",option:C,name:P});return}N&&i.blurInput()},i.removeValue=function(C){var _=i.props.isMulti,N=i.state.selectValue,S=i.getOptionValue(C),P=N.filter(function(p){return i.getOptionValue(p)!==S}),x=Ci(_,P,P[0]||null);i.onChange(x,{action:"remove-value",removedValue:C}),i.focusInput()},i.clearValue=function(){var C=i.state.selectValue;i.onChange(Ci(i.props.isMulti,[],null),{action:"clear",removedValues:C})},i.popValue=function(){var C=i.props.isMulti,_=i.state.selectValue,N=_[_.length-1],S=_.slice(0,_.length-1),P=Ci(C,S,S[0]||null);i.onChange(P,{action:"pop-value",removedValue:N})},i.getFocusedOptionId=function(C){return or(i.state.focusableOptionsWithIds,C)},i.getFocusableOptionsWithIds=function(){return ss(rn(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var C=arguments.length,_=new Array(C),N=0;Nx||P>x}},i.onTouchEnd=function(C){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(C.target)&&i.menuListRef&&!i.menuListRef.contains(C.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(C){i.userIsDragging||i.onControlMouseDown(C)},i.onClearIndicatorTouchEnd=function(C){i.userIsDragging||i.onClearIndicatorMouseDown(C)},i.onDropdownIndicatorTouchEnd=function(C){i.userIsDragging||i.onDropdownIndicatorMouseDown(C)},i.handleInputChange=function(C){var _=i.props.inputValue,N=C.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(N,{action:"input-change",prevInputValue:_}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(C){i.props.onFocus&&i.props.onFocus(C),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(C){var _=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(C),i.onInputChange("",{action:"input-blur",prevInputValue:_}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(C){if(!(i.blockOptionHover||i.state.focusedOption===C)){var _=i.getFocusableOptions(),N=_.indexOf(C);i.setState({focusedOption:C,focusedOptionId:N>-1?i.getFocusedOptionId(C):null})}},i.shouldHideSelectedOptions=function(){return dl(i.props)},i.onValueInputFocus=function(C){C.preventDefault(),C.stopPropagation(),i.focus()},i.onKeyDown=function(C){var _=i.props,N=_.isMulti,S=_.backspaceRemovesValue,P=_.escapeClearsValue,x=_.inputValue,p=_.isClearable,c=_.isDisabled,h=_.menuIsOpen,s=_.onKeyDown,d=_.tabSelectsValue,y=_.openMenuOnFocus,v=i.state,w=v.focusedOption,$=v.focusedValue,k=v.selectValue;if(!c&&!(typeof s=="function"&&(s(C),C.defaultPrevented))){switch(i.blockOptionHover=!0,C.key){case"ArrowLeft":if(!N||x)return;i.focusValue("previous");break;case"ArrowRight":if(!N||x)return;i.focusValue("next");break;case"Delete":case"Backspace":if(x)return;if($)i.removeValue($);else{if(!S)return;N?i.popValue():p&&i.clearValue()}break;case"Tab":if(i.isComposing||C.shiftKey||!h||!d||!w||y&&i.isOptionSelected(w,k))return;i.selectOption(w);break;case"Enter":if(C.keyCode===229)break;if(h){if(!w||i.isComposing)return;i.selectOption(w);break}return;case"Escape":h?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:x}),i.onMenuClose()):p&&P&&i.clearValue();break;case" ":if(x)return;if(!h){i.openMenu("first");break}if(!w)return;i.selectOption(w);break;case"ArrowUp":h?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":h?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!h)return;i.focusOption("pageup");break;case"PageDown":if(!h)return;i.focusOption("pagedown");break;case"Home":if(!h)return;i.focusOption("first");break;case"End":if(!h)return;i.focusOption("last");break;default:return}C.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++jf),i.state.selectValue=wn(n.value),n.menuIsOpen&&i.state.selectValue.length){var r=i.getFocusableOptionsWithIds(),u=i.buildFocusableOptions(),b=u.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=r,i.state.focusedOption=u[b],i.state.focusedOptionId=or(r,u[b])}return i}return Zu(o,[{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(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Uo(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var r=this.props,u=r.isDisabled,b=r.menuIsOpen,C=this.state.isFocused;(C&&!u&&i.isDisabled||C&&b&&!i.menuIsOpen)&&this.focusInput(),C&&u&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!C&&!u&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Uo(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(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,r){this.props.onInputChange(i,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var r=this,u=this.state,b=u.selectValue,C=u.isFocused,_=this.buildFocusableOptions(),N=i==="first"?0:_.length-1;if(!this.props.isMulti){var S=_.indexOf(b[0]);S>-1&&(N=S)}this.scrollToFocusedOptionOnUpdate=!(C&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:_[N],focusedOptionId:this.getFocusedOptionId(_[N])},function(){return r.onMenuOpen()})}},{key:"focusValue",value:function(i){var r=this.state,u=r.selectValue,b=r.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var C=u.indexOf(b);b||(C=-1);var _=u.length-1,N=-1;if(u.length){switch(i){case"previous":C===0?N=0:C===-1?N=_:N=C-1;break;case"next":C>-1&&C<_&&(N=C+1);break}this.setState({inputIsHidden:N!==-1,focusedValue:u[N]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props.pageSize,u=this.state.focusedOption,b=this.getFocusableOptions();if(b.length){var C=0,_=b.indexOf(u);u||(_=-1),i==="up"?C=_>0?_-1:b.length-1:i==="down"?C=(_+1)%b.length:i==="pageup"?(C=_-r,C<0&&(C=0)):i==="pagedown"?(C=_+r,C>b.length-1&&(C=b.length-1)):i==="last"&&(C=b.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:b[C],focusedValue:null,focusedOptionId:this.getFocusedOptionId(b[C])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(rr):Mt(Mt({},rr),this.props.theme):rr}},{key:"getCommonProps",value:function(){var i=this.clearValue,r=this.cx,u=this.getStyles,b=this.getClassNames,C=this.getValue,_=this.selectOption,N=this.setValue,S=this.props,P=S.isMulti,x=S.isRtl,p=S.options,c=this.hasValue();return{clearValue:i,cx:r,getStyles:u,getClassNames:b,getValue:C,hasValue:c,isMulti:P,isRtl:x,options:p,selectOption:_,selectProps:S,setValue:N,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,r=i.isClearable,u=i.isMulti;return r===void 0?u:r}},{key:"isOptionDisabled",value:function(i,r){return sl(this.props,i,r)}},{key:"isOptionSelected",value:function(i,r){return al(this.props,i,r)}},{key:"filterOption",value:function(i,r){return ll(this.props,i,r)}},{key:"formatOptionLabel",value:function(i,r){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,b=this.state.selectValue;return this.props.formatOptionLabel(i,{context:r,inputValue:u,selectValue:b})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{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:"renderInput",value:function(){var i=this.props,r=i.isDisabled,u=i.isSearchable,b=i.inputId,C=i.inputValue,_=i.tabIndex,N=i.form,S=i.menuIsOpen,P=i.required,x=this.getComponents(),p=x.Input,c=this.state,h=c.inputIsHidden,s=c.ariaSelection,d=this.commonProps,y=b||this.getElementId("input"),v=Mt(Mt(Mt({"aria-autocomplete":"list","aria-expanded":S,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":P,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},S&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?(s==null?void 0:s.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?gt.createElement(p,At({},d,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:r,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:_,form:N,type:"text",value:C},v)):gt.createElement(lf,At({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Sn,onFocus:this.onInputFocus,disabled:r,tabIndex:_,inputMode:"none",form:N,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,r=this.getComponents(),u=r.MultiValue,b=r.MultiValueContainer,C=r.MultiValueLabel,_=r.MultiValueRemove,N=r.SingleValue,S=r.Placeholder,P=this.commonProps,x=this.props,p=x.controlShouldRenderValue,c=x.isDisabled,h=x.isMulti,s=x.inputValue,d=x.placeholder,y=this.state,v=y.selectValue,w=y.focusedValue,$=y.isFocused;if(!this.hasValue()||!p)return s?null:gt.createElement(S,At({},P,{key:"placeholder",isDisabled:c,isFocused:$,innerProps:{id:this.getElementId("placeholder")}}),d);if(h)return v.map(function(A,g){var T=A===w,a="".concat(i.getOptionLabel(A),"-").concat(i.getOptionValue(A));return gt.createElement(u,At({},P,{components:{Container:b,Label:C,Remove:_},isFocused:T,isDisabled:c,key:a,index:g,removeProps:{onClick:function(){return i.removeValue(A)},onTouchEnd:function(){return i.removeValue(A)},onMouseDown:function(m){m.preventDefault()}},data:A}),i.formatOptionLabel(A,"value"))});if(s)return null;var k=v[0];return gt.createElement(N,At({},P,{data:k,isDisabled:c}),this.formatOptionLabel(k,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),r=i.ClearIndicator,u=this.commonProps,b=this.props,C=b.isDisabled,_=b.isLoading,N=this.state.isFocused;if(!this.isClearable()||!r||C||!this.hasValue()||_)return null;var S={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return gt.createElement(r,At({},u,{innerProps:S,isFocused:N}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),r=i.LoadingIndicator,u=this.commonProps,b=this.props,C=b.isDisabled,_=b.isLoading,N=this.state.isFocused;if(!r||!_)return null;var S={"aria-hidden":"true"};return gt.createElement(r,At({},u,{innerProps:S,isDisabled:C,isFocused:N}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator,u=i.IndicatorSeparator;if(!r||!u)return null;var b=this.commonProps,C=this.props.isDisabled,_=this.state.isFocused;return gt.createElement(u,At({},b,{isDisabled:C,isFocused:_}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator;if(!r)return null;var u=this.commonProps,b=this.props.isDisabled,C=this.state.isFocused,_={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return gt.createElement(r,At({},u,{innerProps:_,isDisabled:b,isFocused:C}))}},{key:"renderMenu",value:function(){var i=this,r=this.getComponents(),u=r.Group,b=r.GroupHeading,C=r.Menu,_=r.MenuList,N=r.MenuPortal,S=r.LoadingMessage,P=r.NoOptionsMessage,x=r.Option,p=this.commonProps,c=this.state.focusedOption,h=this.props,s=h.captureMenuScroll,d=h.inputValue,y=h.isLoading,v=h.loadingMessage,w=h.minMenuHeight,$=h.maxMenuHeight,k=h.menuIsOpen,A=h.menuPlacement,g=h.menuPosition,T=h.menuPortalTarget,a=h.menuShouldBlockScroll,O=h.menuShouldScrollIntoView,m=h.noOptionsMessage,j=h.onMenuScrollToTop,f=h.onMenuScrollToBottom;if(!k)return null;var M=function(l,L){var H=l.type,G=l.data,W=l.isDisabled,R=l.isSelected,F=l.label,z=l.value,K=c===G,V=W?void 0:function(){return i.onOptionHover(G)},X=W?void 0:function(){return i.selectOption(G)},Y="".concat(i.getElementId("option"),"-").concat(L),Z={id:Y,onClick:X,onMouseMove:V,onMouseOver:V,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:R};return gt.createElement(x,At({},p,{innerProps:Z,data:G,isDisabled:W,isSelected:R,key:Y,label:F,type:H,value:z,isFocused:K,innerRef:K?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(l.data,"menu"))},I;if(this.hasOptions())I=this.getCategorizedOptions().map(function(D){if(D.type==="group"){var l=D.data,L=D.options,H=D.index,G="".concat(i.getElementId("group"),"-").concat(H),W="".concat(G,"-heading");return gt.createElement(u,At({},p,{key:G,data:l,options:L,Heading:b,headingProps:{id:W,data:D.data},label:i.formatGroupLabel(D.data)}),D.options.map(function(R){return M(R,"".concat(H,"-").concat(R.index))}))}else if(D.type==="option")return M(D,"".concat(D.index))});else if(y){var E=v({inputValue:d});if(E===null)return null;I=gt.createElement(S,p,E)}else{var B=m({inputValue:d});if(B===null)return null;I=gt.createElement(P,p,B)}var U={minMenuHeight:w,maxMenuHeight:$,menuPlacement:A,menuPosition:g,menuShouldScrollIntoView:O},q=gt.createElement(F0,At({},p,U),function(D){var l=D.ref,L=D.placerProps,H=L.placement,G=L.maxHeight;return gt.createElement(C,At({},p,U,{innerRef:l,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:y,placement:H}),gt.createElement(ff,{captureEnabled:s,onTopArrive:j,onBottomArrive:f,lockEnabled:a},function(W){return gt.createElement(_,At({},p,{innerRef:function(F){i.getMenuListRef(F),W(F)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:i.getElementId("listbox")},isLoading:y,maxHeight:G,focusedOption:c}),I)}))});return T||g==="fixed"?gt.createElement(N,At({},p,{appendTo:T,controlElement:this.controlRef,menuPlacement:A,menuPosition:g}),q):q}},{key:"renderFormField",value:function(){var i=this,r=this.props,u=r.delimiter,b=r.isDisabled,C=r.isMulti,_=r.name,N=r.required,S=this.state.selectValue;if(N&&!this.hasValue()&&!b)return gt.createElement(vf,{name:_,onFocus:this.onValueInputFocus});if(!(!_||b))if(C)if(u){var P=S.map(function(c){return i.getOptionValue(c)}).join(u);return gt.createElement("input",{name:_,type:"hidden",value:P})}else{var x=S.length>0?S.map(function(c,h){return gt.createElement("input",{key:"i-".concat(h),name:_,type:"hidden",value:i.getOptionValue(c)})}):gt.createElement("input",{name:_,type:"hidden",value:""});return gt.createElement("div",null,x)}else{var p=S[0]?this.getOptionValue(S[0]):"";return gt.createElement("input",{name:_,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,r=this.state,u=r.ariaSelection,b=r.focusedOption,C=r.focusedValue,_=r.isFocused,N=r.selectValue,S=this.getFocusableOptions();return gt.createElement(ef,At({},i,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:b,focusedValue:C,isFocused:_,selectValue:N,focusableOptions:S,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),r=i.Control,u=i.IndicatorsContainer,b=i.SelectContainer,C=i.ValueContainer,_=this.props,N=_.className,S=_.id,P=_.isDisabled,x=_.menuIsOpen,p=this.state.isFocused,c=this.commonProps=this.getCommonProps();return gt.createElement(b,At({},c,{className:N,innerProps:{id:S,onKeyDown:this.onKeyDown},isDisabled:P,isFocused:p}),this.renderLiveRegion(),gt.createElement(r,At({},c,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:P,isFocused:p,menuIsOpen:x}),gt.createElement(C,At({},c,{isDisabled:P}),this.renderPlaceholderOrValue(),this.renderInput()),gt.createElement(u,At({},c,{isDisabled:P}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,r){var u=r.prevProps,b=r.clearFocusValueOnUpdate,C=r.inputIsHiddenAfterUpdate,_=r.ariaSelection,N=r.isFocused,S=r.prevWasFocused,P=r.instancePrefix,x=i.options,p=i.value,c=i.menuIsOpen,h=i.inputValue,s=i.isMulti,d=wn(p),y={};if(u&&(p!==u.value||x!==u.options||c!==u.menuIsOpen||h!==u.inputValue)){var v=c?Af(i,d):[],w=c?ss(rn(i,d),"".concat(P,"-option")):[],$=b?Lf(r,d):null,k=Ef(r,v),A=or(w,k);y={selectValue:d,focusedOption:k,focusedOptionId:A,focusableOptionsWithIds:w,focusedValue:$,clearFocusValueOnUpdate:!1}}var g=C!=null&&i!==u?{inputIsHidden:C,inputIsHiddenAfterUpdate:void 0}:{},T=_,a=N&&S;return N&&!a&&(T={value:Ci(s,d,d[0]||null),options:d,action:"initial-input-focus"},a=!S),(_==null?void 0:_.action)==="initial-input-focus"&&(T=null),Mt(Mt(Mt({},y),g),{},{prevProps:i,ariaSelection:T,prevWasFocused:a})}}]),o}(Sl);Hi.defaultProps=_f;var If=Ie(function(e,t){var o=An(e);return gt.createElement(Hi,At({ref:t},o))}),Rf=If,Nf=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function cl(e){var t=e.defaultOptions,o=t===void 0?!1:t,n=e.cacheOptions,i=n===void 0?!1:n,r=e.loadOptions;e.options;var u=e.isLoading,b=u===void 0?!1:u,C=e.onInputChange,_=e.filterOption,N=_===void 0?null:_,S=Pe(e,Nf),P=S.inputValue,x=de(void 0),p=de(!1),c=Nt(Array.isArray(o)?o:void 0),h=se(c,2),s=h[0],d=h[1],y=Nt(typeof P<"u"?P:""),v=se(y,2),w=v[0],$=v[1],k=Nt(o===!0),A=se(k,2),g=A[0],T=A[1],a=Nt(void 0),O=se(a,2),m=O[0],j=O[1],f=Nt([]),M=se(f,2),I=M[0],E=M[1],B=Nt(!1),U=se(B,2),q=U[0],D=U[1],l=Nt({}),L=se(l,2),H=L[0],G=L[1],W=Nt(void 0),R=se(W,2),F=R[0],z=R[1],K=Nt(void 0),V=se(K,2),X=V[0],Y=V[1];i!==X&&(G({}),Y(i)),o!==F&&(d(Array.isArray(o)?o:void 0),z(o)),qt(function(){return p.current=!0,function(){p.current=!1}},[]);var Z=ee(function(at,ct){if(!r)return ct();var dt=r(at,ct);dt&&typeof dt.then=="function"&&dt.then(ct,function(){return ct()})},[r]);qt(function(){o===!0&&Z(w,function(at){p.current&&(d(at||[]),T(!!x.current))})},[]);var et=ee(function(at,ct){var dt=w0(at,ct,C);if(!dt){x.current=void 0,$(""),j(""),E([]),T(!1),D(!1);return}if(i&&H[dt])$(dt),j(dt),E(H[dt]),T(!1),D(!1);else{var ut=x.current={};$(dt),T(!0),D(!m),Z(dt,function(st){p&&ut===x.current&&(x.current=void 0,T(!1),j(dt),E(st||[]),D(!1),G(st?Mt(Mt({},H),{},ri({},dt,st)):H))})}},[i,Z,m,H,C]),nt=q?[]:w&&m?I:s||[];return Mt(Mt({},S),{},{options:nt,isLoading:g||b,onInputChange:et,filterOption:N})}var Df=Ie(function(e,t){var o=cl(e),n=An(o);return gt.createElement(Hi,At({ref:t},n))}),Bf=Df,Ff=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],ls=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),r=String(n.getOptionValue(o)).toLowerCase(),u=String(n.getOptionLabel(o)).toLowerCase();return r===i||u===i},sr={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,o,n,i){return!(!t||o.some(function(r){return ls(t,r,i)})||n.some(function(r){return ls(t,r,i)}))},getNewOptionData:function(t,o){return{label:o,value:t,__isNew__:!0}}};function hl(e){var t=e.allowCreateWhileLoading,o=t===void 0?!1:t,n=e.createOptionPosition,i=n===void 0?"last":n,r=e.formatCreateLabel,u=r===void 0?sr.formatCreateLabel:r,b=e.isValidNewOption,C=b===void 0?sr.isValidNewOption:b,_=e.getNewOptionData,N=_===void 0?sr.getNewOptionData:_,S=e.onCreateOption,P=e.options,x=P===void 0?[]:P,p=e.onChange,c=Pe(e,Ff),h=c.getOptionValue,s=h===void 0?il:h,d=c.getOptionLabel,y=d===void 0?el:d,v=c.inputValue,w=c.isLoading,$=c.isMulti,k=c.value,A=c.name,g=_e(function(){return C(v,wn(k),x,{getOptionValue:s,getOptionLabel:y})?N(v,u(v)):void 0},[u,N,y,s,v,C,x,k]),T=_e(function(){return(o||!w)&&g?i==="first"?[g].concat(ai(x)):[].concat(ai(x),[g]):x},[o,i,w,g,x]),a=ee(function(O,m){if(m.action!=="select-option")return p(O,m);var j=Array.isArray(O)?O:[O];if(j[j.length-1]===g){if(S)S(v);else{var f=N(v,v),M={action:"create-option",name:A,option:f};p(Ci($,[].concat(ai(wn(k)),[f]),f),M)}return}p(O,m)},[N,v,$,A,g,S,p,k]);return Mt(Mt({},c),{},{options:T,onChange:a})}var zf=Ie(function(e,t){var o=An(e),n=hl(o);return gt.createElement(Hi,At({ref:t},n))}),Hf=zf,Wf=Ie(function(e,t){var o=cl(e),n=An(o),i=hl(n);return gt.createElement(Hi,At({ref:t},i))}),Vf=Wf;const ul=e=>tt.jsx("div",Object.assign({className:"pb_typeahead_wrapper"},{children:tt.jsx(Er,Object.assign({dark:e.selectProps.dark,error:e.selectProps.error,label:e.selectProps.label},{children:tt.jsx(ne,{children:tt.jsx(Re.Control,Object.assign({className:"text_input"},e),void 0)},void 0)}),void 0)}),void 0),pl=e=>{const{selectProps:t,clearValue:o}=e;return qt(()=>{document.addEventListener(`pb-typeahead-kit-${t.id}:clear`,o)},[!0]),tt.jsx(Re.ClearIndicator,Object.assign({className:"clear_indicator"},e),void 0)},fl=e=>tt.jsx(Re.IndicatorsContainer,Object.assign({className:"text_input_indicators"},e),void 0),gl=e=>tt.jsxs(Re.MenuList,Object.assign({},e,{children:[e.children,e.footer]}),void 0),ml=e=>{const{removeProps:t}=e,{imageUrl:o,label:n}=e.data,{multiKit:i}=e.selectProps;return tt.jsxs(Re.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},e,{children:[i==="badge"&&tt.jsx(ys,{closeProps:t,removeIcon:!0,text:n,variant:"primary"},void 0),i!=="badge"&&o&&tt.jsx(pn,{avatarUrl:o,closeProps:t,marginRight:"xs",name:n,size:i==="smallPill"?"small":"",text:""},void 0),i!=="badge"&&!o&&tt.jsx(pn,{closeProps:t,marginRight:"xs",name:"",size:i==="smallPill"?"small":"",text:n},void 0)]}),void 0)},Gf=e=>{const{align:t="left",aria:o={},avatar:n=!1,avatarUrl:i,className:r,dark:u=!1,data:b={},htmlOptions:C={},id:_,name:N,orientation:S="horizontal",size:P="sm",subtitle:x,territory:p="",title:c=""}=e,h=Bt(b),s=zt(o),d=It(C),y=Pt(Dt("pb_user_kit",t,S,P),Tt(e),r),v=n||i;return tt.jsxs("div",Object.assign({},s,h,d,{className:y,id:_},{children:[v&&tt.jsx(Cs,{imageUrl:i,name:N,size:P,status:null},void 0),tt.jsxs("div",Object.assign({className:"content_wrapper"},{children:[tt.jsx(Pi,{dark:u,size:P=="lg"?3:4,text:N},void 0),tt.jsx(Ee,Object.assign({color:"light",dark:u,variant:null},{children:p===""?c:`${p} • ${c}`}),void 0),typeof x=="string"&&tt.jsx(Ee,{color:"light",dark:u,text:x,variant:null},void 0),typeof x!="string"&&tt.jsx(tt.Fragment,{children:x},void 0)]}),void 0)]}),void 0)},vl=e=>{const{imageUrl:t}=e.data,{valueComponent:o}=e.selectProps;return tt.jsx(Re.Option,Object.assign({},e,{children:tt.jsxs(tt.Fragment,{children:[!o&&t&&tt.jsx(Gf,{align:"left",avatarUrl:t,dark:e.selectProps.dark,name:e.label,orientation:"horizontal"},void 0),o&&o(e.data),!o&&!t&&e.label]},void 0)}),void 0)},yl=e=>tt.jsx(tt.Fragment,{children:tt.jsxs(ne,Object.assign({align:"center",className:"placeholder"},{children:[tt.jsx(Re.IndicatorsContainer,Object.assign({},e),void 0),e.selectProps.plusIcon&&tt.jsx(Ut,{className:"typeahead-plus-icon",icon:"plus"},void 0)]}),void 0)},void 0),xl=e=>tt.jsx(Re.ValueContainer,Object.assign({className:"text_input_value_container"},e),void 0),ds=Object.freeze(Object.defineProperty({__proto__:null,ClearIndicator:pl,Control:ul,IndicatorsContainer:fl,MenuList:gl,MultiValue:ml,Option:vl,Placeholder:yl,ValueContainer:xl},Symbol.toStringTag,{value:"Module"})),Uf=e=>{var{async:t,className:o,components:n={},createable:i,error:r="",data:u={},getOptionLabel:b,getOptionValue:C,htmlOptions:_={},id:N,loadOptions:S=kn}=e,P=me(e,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","htmlOptions","id","loadOptions"]);const x=Object.assign({cacheOptions:!0,components:Object.assign({Control:ul,ClearIndicator:pl,IndicatorsContainer:fl,IndicatorSeparator:null,MenuList:gl,MultiValue:ml,Option:vl,Placeholder:yl,ValueContainer:xl},n),loadOptions:te.isString(S)?te.get(window,S):S,getOptionLabel:te.isString(b)?te.get(window,b):b,getOptionValue:te.isString(C)?te.get(window,C):C,defaultOptions:!0,id:N||te.uniqueId(),inline:!1,isClearable:!0,isSearchable:!0,name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:v=>{}},P),p=i?t?Vf:Hf:t?Bf:Rf,c=(v,{action:w,option:$,removedValue:k})=>{if(w==="select-option"){x.onMultiValueClick&&x.onMultiValueClick($);const A=new CustomEvent(`pb-typeahead-kit-${x.id}-result-option-select`,{detail:$||v});document.dispatchEvent(A)}if(w==="remove-value"||w==="pop-value"){const A=new CustomEvent(`pb-typeahead-kit-${x.id}-result-option-remove`,{detail:k});document.dispatchEvent(A)}if(w==="clear"){const A=new CustomEvent(`pb-typeahead-kit-${x.id}-result-clear`);document.dispatchEvent(A)}},h=Bt(u),s=It(_),d=Pt("pb_typeahead_kit react-select",Tt(P),o),y=x.inline?"inline":null;return tt.jsx("div",Object.assign({},h,s,{className:Pt(d,y)},{children:tt.jsx(p,Object.assign({classNamePrefix:"typeahead-kit-select",error:r,onChange:c},x),void 0)}),void 0)};Object.keys(ds).forEach(e=>{Uf[e]=ds[e]});export{rd as $,Cs as A,i2 as B,n2 as C,Ge as D,kn as E,ne as F,a2 as G,ks as H,Ut as I,Ir as J,ln as K,l2 as L,c2 as M,ys as N,t2 as O,h2 as P,Jf as Q,p2 as R,dn as S,f2 as T,xs as U,an as V,ld as W,Hh as X,o2 as Y,Fp as Z,me as _,Pc as a,oi as a0,e2 as a1,Gf as a2,pn as a3,Yl as a4,Js as a5,ta as a6,Kl as a7,ma as a8,Re as a9,Oc as b,wc as c,s2 as d,d2 as e,Uf as f,u2 as g,zt as h,Bt as i,It as j,Pt as k,Tt as l,tt as m,Dt as n,on as o,Ee as p,Xe as q,qf as r,Fl as s,Pi as t,Mr as u,Er as v,Zf as w,Qf as x,r2 as y,di as z};